query
stringlengths 7
33.1k
| document
stringlengths 7
335k
| metadata
dict | negatives
listlengths 3
101
| negative_scores
listlengths 3
101
| document_score
stringlengths 3
10
| document_rank
stringclasses 102
values |
---|---|---|---|---|---|---|
Total Product in Cart | @ModelAttribute("TotalProduct")
public int totalProduct(Authentication authentication){
int total = 0;
if (authentication != null){
String emailName = authentication.getName();
User user = userService.getUserFindByEmail(emailName);
List<Cart> listCart = user.getListCart();
for(int i = 0; i < listCart.size(); i++){
total = total + listCart.get(i).getQuantity();
}
}
return total;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private double totalPrice(){\n\n double sum = 0;\n\n for (CarComponent carComponent : componentsCart) {\n sum += (carComponent.getCompPrice() * carComponent.getCompQuantity()) ;\n }\n return sum;\n }",
"void calculateTotalPrice(){\n totalPrice = 0;\n cartContents.forEach(Product-> this.totalPrice = totalPrice + Product.getSellPrice());\n }",
"public int numberProduct() {\n\t\tint number = 0;\n\t\tfor (ItemCart item : listItemcart) {\n\t\t\tnumber += item.getQuantity();\n\t\t}\n\t\treturn number;\n\t}",
"public double getTotal() {\n double amount = 0;\n amount = (this.getQuantity() * product.getPrice().doubleValue());\n return amount;\n }",
"public double getTotalCartValue();",
"public double total(){\n\tdouble total=0;\n\tfor(Map.Entry<String, Integer> pro:proScan.getProducts().entrySet()){\n\t\tString proName=pro.getKey();\n\t\tint quantity=pro.getValue();\n\t\tProductCalculator proCal=priceRule.get(proName);\n\t\tif(proCal==null)\n\t\t\tthrow new MissingProduct(proName);\n\t\t\n\t\tProductCalculator cal=priceRule.get(proName);\n\t\tdouble subtotal=cal.getTotal(quantity);\n\t\ttotal+=subtotal;\n\t\t//System.out.println(total);\n\t}\n\t//round the total price to two digit\n\treturn round(total, 2);\n}",
"private double getProductsTotal() {\n\t\t\n\t\tdouble total = 0;\n\t\t\n\t\tif(!soldProducts.isEmpty()) {\n\t\t\t\n\t\t\tfor(Sellable product : soldProducts) {\n\t\t\t\t\n\t\t\t\ttotal += (product.getPrice() * product.getQuantitySold());\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\treturn total;\n\t}",
"public float getTotalAmount() {\n float amt = 0.0f;\n for (Item e : cart) {\n amt += e.getQuantity() * getPrice(e.getName());\n }\n return amt;\n }",
"public double totalPrice() {\n\t\tdouble result = 0.0;\n\t\tfor (ItemCart itemCart : listItemcart) {\n\t\t\tresult += itemCart.getQuantity() * itemCart.getP().getPrice();\n\t\t}\n\t\treturn result;\n\t}",
"public float getCartPrice() {\n float totalSum = 0.0F;\n for(Publication book : shoppingCart){\n totalSum += book.getPrice();\n }\n\n return totalSum;\n }",
"public synchronized double getTotal(){\n double totalPrice=0;\n \n for(ShoppingCartItem item : getItems()){\n totalPrice += item.getTotal();\n }\n \n return totalPrice;\n }",
"public int getQuantity(Product p){\n int count = 0;\n for (Product i : cartContents)\n {\n if (i.getProductID().equals(p.getProductID()))\n {\n count++;\n }\n }\n return count;\n }",
"public BigDecimal getTotal() {\n BigDecimal total = new BigDecimal(0);\n for (Item item : items){\n int quantity = item.getQuantity();\n BigDecimal subtotal = item.getPrice().multiply(new BigDecimal(quantity));\n total = total.add(subtotal);\n }\n return total;\n }",
"public float totalCost() {\r\n float total = 0;\r\n for (int i=0; i<numItems; i++) {\r\n total += cart[i].getPrice();\r\n }\r\n return total;\r\n }",
"long getTotalProductsCount();",
"private int countProductsInCart_UPDATED() {\n System.out.println(\"-=====================Shopping Cart List========================================-\");\n int count, value;\n count = 0;\n List<WebElement> cakes = getDriver().findElements(By.xpath(\"//*[text()='Edit Your Cake']\"));\n List<WebElement> sthAndCnC = getDriver().findElements(By.xpath(\"//*[starts-with(@id, 'basketBody_') and @type='number']\"));\n System.out.println(\" === adding \" + cakes.size() + \" cakes to count\");\n count += cakes.size();\n for (WebElement product : sthAndCnC) {\n if ((!product.getAttribute(\"value\").equals(\"\")) && (product.getAttribute(\"value\") != null)) {\n String checkForLB = product.getAttribute(\"data-qtyincrement\");\n if (checkForLB.contains(\"0.\")) { //To validate for LB(s) items\n value = 1;\n } else {\n value = Integer.valueOf(product.getAttribute(\"value\"));\n }\n System.out.println(\"=== adding \" + value + \" cnc or sth item to cart\");\n count += value;\n } else {\n System.out.println(\"=== error adding product quantity\");\n }\n }\n System.out.println(\" === Count was: \" + count);\n System.out.println(\"-=====================Shopping Cart List========================================-\");\n return count;\n }",
"public synchronized int getNumberOfItems(){\n int totalItems=0;\n \n for(ShoppingCartItem item : getItems()){\n //we sum the quantity of products for each item\n totalItems += item.getQuantity();\n }\n \n return totalItems;\n }",
"private BigDecimal calculateTotalAmount(Product product, int quantity) throws ScriptException {\n return eval(Expressions.EXPRESSION_TOTAL, product, quantity);\n }",
"public BigDecimal calculateTotal() {\r\n BigDecimal orderTotal = BigDecimal.ZERO;\r\n \r\n final Iterator<Item> iterator = myShoppingCart.keySet().iterator();\r\n \r\n while (iterator.hasNext()) {\r\n final BigDecimal currentOrderPrice = myShoppingCart.get(iterator.next());\r\n \r\n orderTotal = orderTotal.add(currentOrderPrice);\r\n }\r\n \r\n //if membership take %10 off the total cost\r\n if (myMembership) {\r\n if (orderTotal.compareTo(new BigDecimal(\"25.00\")) == 1) { //myOrderTotal > $25\r\n final BigDecimal discount = DISCOUNT_RATE.multiply(orderTotal); \r\n orderTotal = orderTotal.subtract(discount);\r\n }\r\n }\r\n \r\n return orderTotal.setScale(2, RoundingMode.HALF_EVEN);\r\n }",
"public int calculateTotalPrice(ArrayList<Product> basket) {\n int countPrice = 0;\n for (int i = 0; i < basket.size(); i++) {\n System.out.println(\"Je hebt 1 \" + basket.get(i).getNameProduct() + \" in je mandje gestopt\");\n countPrice += basket.get(i).getPriceProduct();\n }\n return countPrice;\n }",
"@Override\r\n\tpublic int getTotalPrice() {\n\t\treturn totalPrice;\r\n\t}",
"public double getTotal(){\n\t\tBigDecimal total =BigDecimal.valueOf(0);\n\t\tfor(CartItem cartItem : map.values()){\n\t\t\ttotal = total.add(BigDecimal.valueOf(cartItem.getSubtotal())) ;\n\t\t}\t\t\n\t\treturn total.doubleValue();\n\t}",
"private int getCartSize(List<Product> cartProducts) {\n int size = 0;\n\n for (Product product : cartProducts)\n size += product.getCount();\n\n return size;\n }",
"public int totalprice() {\n\t\tint totalPrice=0;\r\n\t\tfor (int i=0; i<arlist.size();i++) {\r\n\t\t\t totalPrice+=arlist.get(i).price;\r\n\t\t}\r\n\t\treturn totalPrice;\r\n\t}",
"public float getTotalValue()\n\t{\n\n\n\t\t// Placeholder for the overall inventory value\n\t\tfloat totalInventoryValue = 0;\n\n\t\tfor (Iterator it = myProductInventory.iterator(); it.hasNext(); )\n\t\t{\n\n\t\t\ttry\n\t\t\t{\n\n\t\t\t\t// Get product from the product inventory array list\n\t\t\t\tProduct currentProduct = (Product)it.next();\n\n\t\t\t\t// Add the total value of a Product to the overall Product inventory value\n\t\t\t\ttotalInventoryValue = totalInventoryValue + (float)currentProduct.getTotalValue();\n\n\t\t\t}\n\t\t\tcatch (Exception e)\n\t\t\t{\n\n\t\t\t\tSystem.out.println( e );\t// Output the exception message to the display\n\n\t\t\t}\n\n\t\t}\n\n\t\t// Return the overall Product inventory value for the supplied Product inventory array list\n\t\treturn totalInventoryValue;\n\n\n\t}",
"public int getTotal() {\r\n\r\n\t\treturn getAmount() + getPrice();\r\n\r\n\t}",
"public double getTotalValue(){\r\n return this.quantity * this.price;\r\n }",
"public int getCartQuantity() {\n return cartQuantity;\n }",
"public BigDecimal total() {\n return executor.calculateTotal(basket);\n }",
"public Integer getTotalprice() {\n return totalprice;\n }",
"@Test\r\n\tpublic void getTotal_oh_sk(){\n\t\tcart = new TourShoppingCart(MockRules.getRules());\r\n\t\t\r\n\t\tcart.add(new Item(ItemType.OH, BigDecimal.valueOf(300.00)) );\r\n\t\t\r\n\t\tcart.add(new Item(ItemType.SK, BigDecimal.valueOf(30.00)) );\r\n\t\t\r\n\t\tassert cart.total().equals(BigDecimal.valueOf(300.00));\r\n\t\tSystem.out.println(cart.total());\r\n\t}",
"@Override\r\n\tpublic int precioTotal() {\n\t\treturn this.precio;\r\n\t}",
"public int getSize() {\n return cart.size();\n }",
"public BigDecimal getSavedAmount(Product product){\n\t\tBigDecimal result = new BigDecimal(\"0\");\n\t\t\n\t\tif(items.containsKey(product)){\n\t\t\tBigDecimal amount = items.get(product);\n\t\t\tresult = (product.getUnitPrice().multiply(amount)).subtract(getPartialPrice(product));\n\t\t\tresult = result.setScale(2, RoundingMode.HALF_UP);\n\n\t\t}\n\t\t\n\t\treturn result;\n\t}",
"public static int getProductQuantity(Products product) {\n ShoppingCartEntry curEntry = cartMap.get(product);\n\n if (curEntry != null)\n return curEntry.getQuantity();\n\n return 0;\n }",
"public double getTotal() {\n double total = 0.0;\n for (OrderItem i : getOrderItems()) {\n total += i.getOrderQuantity() * i.getPrice();\n }\n return total;\n }",
"private double getOrderTotal() {\n double d = 0;\n\n for (Pizza p : pizzas) {\n d += p.calcTotalCost();\n }\n\n return d;\n }",
"public static int getProductQuantity(Product product) {\n ShoppingCartEntry curEntry = cartMap.get(product);\n\n if(curEntry != null)\n return curEntry.getQuantity();\n\n return 0;\n }",
"public static int calculateCartTotalFromProductList(List<Product> productListForCart) {\n\t\tint sum = 0;\n\n\t\tfor (Product p : productListForCart) {\n\t\t\tsum = sum + p.getPrice();\n\t\t}\n\n\t\treturn sum;\n\t}",
"public float valorTotalItem()\r\n {\r\n float total = (produto.getValor() - (produto.getValor() * desconto)) * quantidade;\r\n return total;\r\n }",
"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 int getTotalQuantity() {\n\t\treturn totalQuantity;\n\t}",
"public int getProductQuantity(String product) {\n //\n try {\n return shoppingBasket.get(product);\n } catch (NullPointerException exception) {\n throw exception;\n }\n }",
"private BigDecimal calculateSubtotal(List<CartItem> cartItems) {\n BigDecimal total = BigDecimal.ZERO;\n for (CartItem cartItem : cartItems) {\n total = total.add(cartItem.getSalePrice().multiply(new BigDecimal(cartItem.getQuantity())));\n }\n return total;\n }",
"public int getSize() {\n\t\treturn cart.size();\n\t}",
"@Override\r\n public int getProductQuantity(Product product) {\r\n int i = 0;\r\n for (Product p : this.productList) {\r\n if (p.getId() == product.getId()) {\r\n return this.productQuantity.get(i);\r\n }\r\n i++;\r\n }\r\n return -1;\r\n }",
"public int checkout(String items) throws ProductNotFoundException {\n Integer totalPrice = 0;\n\n HashMap<Character, Product> productTotalList = new HashMap<Character, Product>();\n for (Character c : items.toCharArray()) {\n if (productList.containsKey(c)) {\n Product product = (Product)productList.get(c);\n if (productTotalList.containsKey(c)) {\n Product totalProduct = productTotalList.get(c);\n totalProduct.setTotalNumberOfProducts(product.getTotalNumberOfProducts() + 1);\n }\n else {\n product.setTotalNumberOfProducts(product.getTotalNumberOfProducts() + 1);\n productTotalList.put(c, product);\n }\n }\n else {\n throw new ProductNotFoundException(\"Product '\" + c + \"' not found.\");\n }\n }\n\n for (Map.Entry<Character,Product> entry : productTotalList.entrySet()) {\n Product product = entry.getValue();\n totalPrice += product.calculateTotalPrice();\n }\n\n return totalPrice;\n }",
"public void updateTotals(ShoppingCartModel shoppingCart)\n {\n Global.CURRENT_ORDER.updateAllPriceTotals();\n }",
"static int calculateTotalOf(Set<Fruit> basket) {\n\t\tint totalPrice = 0;\n\t\tint Qty = 0;\n\t\tfor (Fruit fruit : basket) {\n\t\t\tQty = getQuantityOf(fruit);\n\t\t\tQty = Qty <= 0 ? 1 : Qty;\n\t\t\ttotalPrice = totalPrice + (fruit.price * Qty);\n\t\t}\n\t\tSystem.out.println(\"Total Price = \" + totalPrice);\n\t\treturn totalPrice;\n\t}",
"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 }",
"public Long getTotalprice() {\n return totalprice;\n }",
"public BigDecimal getTotal() {\n return total;\n }",
"public BigDecimal getTotal() {\n return total;\n }",
"private double calculateTotal(){\r\n double total = 0;\r\n for(int i = 0; i < orderList.size(); i++){\r\n total += orderList.getOrder(i).calculatePrice();\r\n }\r\n return total;\r\n }",
"private void sumarTotalVenta(int cantidad, double precioProducto) {\r\n\t\tdouble valorProductos = cantidad * precioProducto;\r\n\t\ttotalVenta += valorProductos;\r\n\t}",
"private double prixTotal() \r\n\t{\r\n\t\tdouble pt = getPrix() ; \r\n\t\t\r\n\t\tfor(Option o : option) \r\n\t\t\tpt += o.getPrix();\t\r\n\t\treturn pt;\r\n\t}",
"private double returnOrderTotalAmount(List<ProductVariation> productVariationList, long customerId)\n {\n double totalAmount = 0;\n\n for (ProductVariation productVariation: productVariationList) {\n\n int quantityFromCart = cartRepository.getQuantityForCustomerIdAndVariationId(customerId\n , productVariation.getId());\n totalAmount+=(productVariation.getPrice()*quantityFromCart);\n }\n return totalAmount;\n }",
"public double totalQuantity() {\r\n\t\tdouble t = 0;\r\n\t\tfor(int i=0;i<boxes[0];i++)\r\n\t\t\tfor(int j=0;j<boxes[1];j++)\r\n\t\t\t\tfor(int k=0;k<boxes[2];k++) t += quantity[i][j][k];\r\n\t\treturn t;\r\n\t}",
"public double calculateSubTotal() {\n return candy.getPrice() * quantity;\n\n }",
"public double calculatePrice() {\r\n\t\treturn menuItem.getPrice() * quantity;\t\r\n\t}",
"public int getTotalNumberOfSales(String product) {\n int totalValue = 0;\n LinkedList<Sale> temp = storageSale.get(product);\n totalValue = temp.size();\n return totalValue;\n }",
"public Double getTotalPrice()\n {\n Double total = 0.0;\n for(DrinkAndQuantity d : drinksAndQuantities){\n Drink drink = d.getDrink();\n double tempPrice = drink.getPrice();\n Integer quantity = d.getQuantity();\n total += (tempPrice * quantity);\n }\n\n return total;\n }",
"private int getTotalPrice() {\n int unitPrice = 0;\n if (((CheckBox) findViewById(R.id.whipped_cream_checkbox)).isChecked()) {\n unitPrice += Constants.PRICE_TOPPING_WHIPPED_CREAM;\n }\n\n if (((CheckBox) findViewById(R.id.chocolate_checkbox)).isChecked()) {\n unitPrice += Constants.PRICE_TOPPING_CHOCOLATE;\n }\n\n unitPrice += Constants.PRICE_PER_COFFEE;\n return getNumberOfCoffees() * unitPrice;\n }",
"void printTotalQuantity();",
"public BigDecimal getValorTotal() {\n\t\treturn itens.stream()\n\t\t\t\t.map(ItemDieta::getValorTotal)\n\t\t\t\t.reduce(BigDecimal::add)\n\t\t\t\t.orElse(BigDecimal.ZERO);\n\t}",
"public int getTotalPrice()\n {\n return totalPrice;\n }",
"BigDecimal getTotal();",
"BigDecimal getTotal();",
"public int getNumberOfProducts ()\n {\n return (numberOfProducts);\n }",
"Integer getNumberOfProducts(Basket basket, Category category);",
"@Override\n public double getTotalPrice() {\n return getTotalPrice(0);\n }",
"public int getTotalPrice() {\n\t\treturn this.totalPrice;\n\t}",
"private void updateTotal()\n {\n if(saleItems != null)\n {\n double tempVal = 0;\n\n for(int i = 0; i < saleItems.size(); i++)\n {\n if(saleItems.get(i) != null)\n {\n tempVal += saleItems.get(i).getPrice() * saleItems.get(i).getQuantity();\n }\n }\n totalText.setText(moneyFormat(String.valueOf(tempVal)));\n }\n }",
"@Override\r\n\tpublic double getCost() {\r\n\t\tdouble total = 0;\r\n\t\t\r\n\t\tfor(Product p: parts) {\r\n\t\t\ttotal += p.getCost();\r\n\t\t}\r\n\t\t\r\n\t\treturn total;\r\n\t}",
"public interface ShoppingCart {\n\t\n\t/**\n\t * Returns Total Count of Products User has added in the Shopping cart\n\t * @return Total Count of Products\n\t */\n\tpublic int getProductCount();\n\t\n\t/**\n\t * Adds a particular product in the Shopping Cart\n\t * @param product Product\n\t */\n\tpublic void addProduct(Product product);\n\t\n\t/**\n\t * The Total Value of all the products added in the Shopping cart\n\t * @return Total Value\n\t */\n\tpublic double getTotalCartValue();\n\t\n}",
"public double getTotal(){\n\t\tdouble Total = 0;\n\t\t\n\t\tfor(LineItem lineItem : lineItems){\n\t\t\tTotal += lineItem.getTotal();\t\n\t\t}\n\t\treturn Total;\n\t}",
"@Test\r\n\tpublic void getTotal_4bc(){\n\t\tcart = new TourShoppingCart(MockRules.getRules());\r\n\t\t\r\n\t\tcart.add(new Item(ItemType.BC, BigDecimal.valueOf(110.00)) );\r\n\t\tcart.add(new Item(ItemType.BC, BigDecimal.valueOf(110.00)) );\r\n\t\tcart.add(new Item(ItemType.BC, BigDecimal.valueOf(110.00)) );\r\n\t\tcart.add(new Item(ItemType.BC, BigDecimal.valueOf(110.00)) );\r\n\t\tcart.add(new Item(ItemType.BC, BigDecimal.valueOf(110.00)) );\r\n\t\t\r\n\t\tcart.add(new Item(ItemType.OH, BigDecimal.valueOf(300.00)) );\r\n\t\t\r\n\t\tassert cart.total().equals(BigDecimal.valueOf(760.00));\r\n\t\tSystem.out.println(cart.total());\r\n\t}",
"public int getNumberOfProducts(){\n return this.products.size();\n }",
"@Override\r\n\tpublic int countCart(String userid, int pnum) {\n\t\treturn 0;\r\n\t}",
"public float calcOrderTotal()\r\n\t{\r\n\t\tOrderItem temp;\r\n\t\tfloat total = 0;\r\n\t\t\r\n\t\t//iterate through list and get quantity and unit price of each item\r\n\t\t//then multiply together and add to running total\r\n\t\tfor (int x = 0; x < orderItemList.size(); x++)\r\n\t\t{\r\n\t\t\ttemp = orderItemList.get(x);\r\n\t\t\ttotal = total + (temp.getProductQuant() * temp.getProductPrice());\r\n\t\t}\r\n\t\t\r\n\t\treturn total;\r\n\t}",
"@Override\n public double getTotal() {\n return total;\n }",
"public void total() {\n\t\t\n\t}",
"public int getProductCount();",
"public int total() {\n return _total;\n }",
"private void getSum() {\n\t\tint sum =0;\r\n\t\t\r\n\t\tfor(int i=0; i<index; i++) {\r\n\t\t\tif(products[i] != null)\r\n\t\t\t\tsum += products[i].getPrice();\r\n\t\t}\r\n\t\tSystem.out.println(sum);\r\n\t}",
"public Long total() {\n return this.total;\n }",
"int getTotal(){\n\t\treturn this.orderTotal;\n\t}",
"@Override\n\tpublic void printCart() {\n\n\t\tint nSize = cartList.size();\n\t\tint intSum = 0;\n\n\t\tSystem.out.println(\"===================================================\");\n\t\tSystem.out.println(\"구매자\\t 상품명 수량\\t 단가\\t 합계\");\n\t\tSystem.out.println(\"---------------------------------------------------\");\n\n\t\tint i = 0;\n\t\tfor (i = 0; i < nSize; i++) {\n\t\t\tSystem.out.print(cartList.get(i).getUserName() + \"\\t \");\n\t\t\tSystem.out.print(cartList.get(i).getProductName() + \"\\t \");\n\t\t\tSystem.out.print(cartList.get(i).getQty() + \"\\t \");\n\t\t\tSystem.out.print(cartList.get(i).getPrice() + \"\\t \");\n\t\t\tSystem.out.println(cartList.get(i).getTotal() + \"\\t\");\n\n\t\t\tintSum += cartList.get(i).getTotal();\n\t\t}\n\n\t\tSystem.out.println(\"---------------------------------------------------\");\n\t\tSystem.out.printf(\"합계\\t%d가지\\t\\t\\t%d\\n\", i, intSum);\n\n\t}",
"public long getTotal() { return total; }",
"public long getTotal() { return total; }",
"public int getTotal() {\n return total;\n }",
"public void addTotal() {\n for (int i = 0; i < itemsInOrder.size(); i++) {\n this.dblTotal += itemsInOrder.get(i).getPrice();\n }\n }",
"public Integer total() {\n return this.total;\n }",
"public float calculateTotalPrice(ArrayList<Food> totalOrder) {\n totalPrice = 0.0f;\n for (Food itemOfFood : totalOrder) {\n totalPrice = totalPrice + itemOfFood.getPrice();\n }\n return totalPrice;\n }",
"public int total() {\n return this.total;\n }",
"public int getTotal () {\n return total;\n }",
"public float getTotalPrice(){\n return price * amount;\n }",
"private static String getTotal(ArrayList<CatalogItem> items) {\n double dTotal = 0.0;\n for (CatalogItem item : items) {\n dTotal += item.getPrice();\n }\n\n dTotal += dTotal*0.0825;\n return \"$\" + df.format(dTotal);\n }",
"public void totalPrice(){\n int total = 0;\n\n if (list_order.isEmpty()) {\n totalHarga.setText(\"Rp. \" + 0);\n }\n else {\n for (int i = 0; i < list_order.size(); i++) {\n total += list_order.get(i).getHarga();\n }\n totalHarga.setText(\"Rp. \" + total);\n }\n }",
"private double calculateTotal() {\n Log.d(\"Method\", \"calculateTotal()\");\n\n double extras = 0;\n CheckBox cb = (CheckBox) findViewById(R.id.whipped_checkbox_view);\n\n if (cb.isChecked()) {\n extras = coffeeCount * 0.75;\n }\n return (coffeeCount * coffeePrice) + extras;\n }"
]
| [
"0.78003865",
"0.7727704",
"0.7620494",
"0.751521",
"0.75042367",
"0.74948335",
"0.7493079",
"0.72967637",
"0.7269469",
"0.7253282",
"0.7207012",
"0.71750164",
"0.71462995",
"0.70980275",
"0.7075874",
"0.7040019",
"0.69911265",
"0.6968401",
"0.6947225",
"0.69389665",
"0.6892035",
"0.6887608",
"0.68849397",
"0.68581057",
"0.6793132",
"0.678741",
"0.675891",
"0.67521983",
"0.6693756",
"0.6679276",
"0.66731477",
"0.66695523",
"0.6662592",
"0.66567105",
"0.66480005",
"0.6638344",
"0.6635146",
"0.66149175",
"0.66117597",
"0.6590099",
"0.65899783",
"0.6588191",
"0.6577389",
"0.65760255",
"0.6562865",
"0.6556879",
"0.65537316",
"0.65515196",
"0.65129375",
"0.6511139",
"0.6505395",
"0.6504878",
"0.6504878",
"0.6503305",
"0.6495358",
"0.64686507",
"0.64603204",
"0.64592564",
"0.6447968",
"0.6437113",
"0.6415068",
"0.641136",
"0.64092594",
"0.6403416",
"0.6394675",
"0.63787663",
"0.63720304",
"0.63720304",
"0.63684845",
"0.6364928",
"0.63613033",
"0.6360692",
"0.6350899",
"0.63402873",
"0.6338032",
"0.63342184",
"0.6325843",
"0.6324655",
"0.6320868",
"0.6320155",
"0.6318025",
"0.6303403",
"0.6295888",
"0.6290289",
"0.6277898",
"0.62714314",
"0.6261551",
"0.62598807",
"0.62523067",
"0.62523067",
"0.6251591",
"0.62503445",
"0.62502205",
"0.6249205",
"0.6247431",
"0.62473834",
"0.62275803",
"0.62264746",
"0.6218525",
"0.62169063"
]
| 0.72894627 | 8 |
constructor which initializes the words | public Removalstops()
{
stopWords.add("am");
stopWords.add("my");
stopWords.add("at");
stopWords.add("a");
stopWords.add("i");
stopWords.add("is");
stopWords.add("of");
stopWords.add("have");
stopWords.add("--");
stopWords.add("do");
stopWords.add("the");
stopWords.add("was");
stopWords.add("iam");
stopWords.add("there");
stopWords.add("what");
stopWords.add("for");
stopWords.add("in");
stopWords.add("very");
stopWords.add("and");
stopWords.add("to");
stopWords.add("often");
stopWords.add("because");
stopWords.add("in");
stopWords.add("an");
stopWords.add("can");
stopWords.add("via");
stopWords.add("even");
stopWords.add("as");
stopWords.add("best");
stopWords.add("been");
stopWords.add("into");
stopWords.add("by");
stopWords.add("around");
stopWords.add("being");
stopWords.add("from");
stopWords.add("etc");
stopWords.add("his");
stopWords.add("do");
stopWords.add("have");
stopWords.add("had");
stopWords.add("able");
stopWords.add("about");
stopWords.add("above");
stopWords.add("abroad");
stopWords.add("according");
stopWords.add("accordingly");
stopWords.add("across");
stopWords.add("actually");
stopWords.add("adj");
stopWords.add("after");
stopWords.add("afterwards");
stopWords.add("again");
stopWords.add("against");
stopWords.add("ago");
stopWords.add("ahead");
stopWords.add("ain't");
stopWords.add("all");
stopWords.add("allow");
stopWords.add("allows");
stopWords.add("almost");
stopWords.add("alone");
stopWords.add("along");
stopWords.add("alongside");
stopWords.add("already");
stopWords.add("also");
stopWords.add("although");
stopWords.add("always");
stopWords.add("am");
stopWords.add("amid");
stopWords.add("amidst");
stopWords.add("among");
stopWords.add("amongst");
stopWords.add("an");
stopWords.add("and");
stopWords.add("another");
stopWords.add("any");
stopWords.add("anybody");
stopWords.add("anyhow");
stopWords.add("anyone");
stopWords.add("anything");
stopWords.add("anyway");
stopWords.add("anyways");
stopWords.add("anywhere");
stopWords.add("apart");
stopWords.add("appear");
stopWords.add("appreciate");
stopWords.add("appropriate");
stopWords.add("are");
stopWords.add("aren't");
stopWords.add("around");
stopWords.add("as");
stopWords.add("a's");
stopWords.add("aside");
stopWords.add("ask");
stopWords.add("asking");
stopWords.add("associated");
stopWords.add("at");
stopWords.add("available");
stopWords.add("away");
stopWords.add("awfully");
stopWords.add("back");
stopWords.add("backward");
stopWords.add("backwards");
stopWords.add("be");
stopWords.add("became");
stopWords.add("beacause");
stopWords.add("become");
stopWords.add("becomes");
stopWords.add("becoming");
stopWords.add("been");
stopWords.add("before");
stopWords.add("beforehand");
stopWords.add("begin");
stopWords.add("behind");
stopWords.add("being");
stopWords.add("believe");
stopWords.add("below");
stopWords.add("beside");
stopWords.add("besides");
stopWords.add("best");
stopWords.add("better");
stopWords.add("between");
stopWords.add("beyond");
stopWords.add("both");
stopWords.add("brief");
stopWords.add("but");
stopWords.add("by");
stopWords.add("came");
stopWords.add("can");
stopWords.add("cannot");
stopWords.add("cant");
stopWords.add("can't");
stopWords.add("caption");
stopWords.add("cause");
stopWords.add("causes");
stopWords.add("certain");
stopWords.add("cetrainly");
stopWords.add("changes");
stopWords.add("clearly");
stopWords.add("c'mon");
stopWords.add("co");
stopWords.add("co.");
stopWords.add("com");
stopWords.add("come");
stopWords.add("comes");
stopWords.add("concerning");
stopWords.add("consequently");
stopWords.add("consider");
stopWords.add("considering");
stopWords.add("could");
stopWords.add("couldn't");
stopWords.add("c's");
stopWords.add("currently");
stopWords.add("dare");
stopWords.add("daren't");
stopWords.add("definitely");
stopWords.add("described");
stopWords.add("despite");
stopWords.add("did");
stopWords.add("didn't");
stopWords.add("different");
stopWords.add("directly");
stopWords.add("do");
stopWords.add("does");
stopWords.add("doesn't");
stopWords.add("doing");
stopWords.add("done");
stopWords.add("don't");
stopWords.add("down");
stopWords.add("downwards");
stopWords.add("during");
stopWords.add("each");
stopWords.add("edu");
stopWords.add("eg");
stopWords.add("eight");
stopWords.add("eighty");
stopWords.add("either");
stopWords.add("else");
stopWords.add("elsewhere");
stopWords.add("end");
stopWords.add("ending");
stopWords.add("enough");
stopWords.add("entirely");
stopWords.add("especially");
stopWords.add("et");
stopWords.add("etc");
stopWords.add("even");
stopWords.add("evenmore");
stopWords.add("every");
stopWords.add("everybody");
stopWords.add("everyone");
stopWords.add("everything");
stopWords.add("everywhere");
stopWords.add("ex");
stopWords.add("exactly");
stopWords.add("example");
stopWords.add("except");
stopWords.add("fairly");
stopWords.add("far");
stopWords.add("farhter");
stopWords.add("few");
stopWords.add("fewer");
stopWords.add("fifth");
stopWords.add("first");
stopWords.add("five");
stopWords.add("followed");
stopWords.add("following");
stopWords.add("follows");
stopWords.add("for");
stopWords.add("forever");
stopWords.add("former");
stopWords.add("formerly");
stopWords.add("forth");
stopWords.add("forward");
stopWords.add("found");
stopWords.add("four");
stopWords.add("from");
stopWords.add("further");
stopWords.add("furthermore");
stopWords.add("get");
stopWords.add("gets");
stopWords.add("getting");
stopWords.add("given");
stopWords.add("gives");
stopWords.add("go");
stopWords.add("goes");
stopWords.add("going");
stopWords.add("gone");
stopWords.add("got");
stopWords.add("gotten");
stopWords.add("greetings");
stopWords.add("had");
stopWords.add("hadn't");
stopWords.add("half");
stopWords.add("happens");
stopWords.add("hardly");
stopWords.add("has");
stopWords.add("hasn't");
stopWords.add("have");
stopWords.add("haven't");
stopWords.add("having");
stopWords.add("he");
stopWords.add("he'd");
stopWords.add("he'll");
stopWords.add("hello");
stopWords.add("help");
stopWords.add("hence");
stopWords.add("her");
stopWords.add("here");
stopWords.add("hereafter");
stopWords.add("hereby");
stopWords.add("herein");
stopWords.add("here's");
stopWords.add("hereupon");
stopWords.add("hers");
stopWords.add("herself");
stopWords.add("he's");
stopWords.add("hi");
stopWords.add("him");
stopWords.add("himself");
stopWords.add("his");
stopWords.add("hither");
stopWords.add("hopefully");
stopWords.add("how");
stopWords.add("howbeit");
stopWords.add("however");
stopWords.add("however");
stopWords.add("hundred");
stopWords.add("i'd");
stopWords.add("ie");
stopWords.add("if");
stopWords.add("ignored");
stopWords.add("i'll");
stopWords.add("i'm");
stopWords.add("immediate");
stopWords.add("in");
stopWords.add("iansmuch");
stopWords.add("inc");
stopWords.add("inc.");
stopWords.add("indeed");
stopWords.add("indicate");
stopWords.add("indicated");
stopWords.add("indicates");
stopWords.add("inner");
stopWords.add("inside");
stopWords.add("insofar");
stopWords.add("into");
stopWords.add("inward");
stopWords.add("is");
stopWords.add("isn't");
stopWords.add("it");
stopWords.add("it'd");
stopWords.add("it'll");
stopWords.add("its");
stopWords.add("it's");
stopWords.add("itself");
stopWords.add("i've");
stopWords.add("just");
stopWords.add("k");
stopWords.add("keep");
stopWords.add("keeps");
stopWords.add("kept");
stopWords.add("know");
stopWords.add("knows");
stopWords.add("known");
stopWords.add("last");
stopWords.add("lately");
stopWords.add("later");
stopWords.add("latter");
stopWords.add("latterly");
stopWords.add("least");
stopWords.add("less");
stopWords.add("let");
stopWords.add("let's");
stopWords.add("like");
stopWords.add("liked");
stopWords.add("likely");
stopWords.add("likewise");
stopWords.add("little");
stopWords.add("look");
stopWords.add("looks");
stopWords.add("low");
stopWords.add("lower");
stopWords.add("ltd");
stopWords.add("made");
stopWords.add("mainly");
stopWords.add("make");
stopWords.add("makes");
stopWords.add("many");
stopWords.add("may");
stopWords.add("maybe");
stopWords.add("mayn't");
stopWords.add("me");
stopWords.add("mean");
stopWords.add("meanwhile");
stopWords.add("merely");
stopWords.add("might");
stopWords.add("mightn't");
stopWords.add("mine");
stopWords.add("minus");
stopWords.add("miss");
stopWords.add("more");
stopWords.add("moreover");
stopWords.add("most");
stopWords.add("mostly");
stopWords.add("mr");
stopWords.add("mrs");
stopWords.add("much");
stopWords.add("must");
stopWords.add("mustn't");
stopWords.add("my");
stopWords.add("myself");
stopWords.add("name");
stopWords.add("namely");
stopWords.add("nd");
stopWords.add("near");
stopWords.add("nearly");
stopWords.add("necessary");
stopWords.add("need");
stopWords.add("needn't");
stopWords.add("needs");
stopWords.add("neither");
stopWords.add("never");
stopWords.add("neverf");
stopWords.add("neverless");
stopWords.add("nevertheless");
stopWords.add("new");
stopWords.add("next");
stopWords.add("nine");
stopWords.add("ninety");
stopWords.add("no");
stopWords.add("nobody");
stopWords.add("non");
stopWords.add("none");
stopWords.add("nonetheless");
stopWords.add("noone");
stopWords.add("no-one");
stopWords.add("nor");
stopWords.add("normally");
stopWords.add("not");
stopWords.add("nothing");
stopWords.add("notwithstanding");
stopWords.add("novel");
stopWords.add("now");
stopWords.add("nowwhere");
stopWords.add("obviously");
stopWords.add("of");
stopWords.add("off");
stopWords.add("often");
stopWords.add("oh");
stopWords.add("ok");
stopWords.add("okay");
stopWords.add("old");
stopWords.add("on");
stopWords.add("once");
stopWords.add("one");
stopWords.add("ones");
stopWords.add("one's");
stopWords.add("only");
stopWords.add("onto");
stopWords.add("opposite");
stopWords.add("or");
stopWords.add("other");
stopWords.add("others");
stopWords.add("otherwise");
stopWords.add("ought");
stopWords.add("oughtn't");
stopWords.add("our");
stopWords.add("ourselves");
stopWords.add("out");
stopWords.add("outside");
stopWords.add("over");
stopWords.add("overall");
stopWords.add("own");
stopWords.add("particular");
stopWords.add("particularly");
stopWords.add("past");
stopWords.add("per");
stopWords.add("perhaps");
stopWords.add("placed");
stopWords.add("please");
stopWords.add("plus");
stopWords.add("possible");
stopWords.add("presumably");
stopWords.add("probably");
stopWords.add("provided");
stopWords.add("provides");
stopWords.add("que");
stopWords.add("quite");
stopWords.add("qv");
stopWords.add("rather");
stopWords.add("rd");
stopWords.add("re");
stopWords.add("really");
stopWords.add("reasonably");
stopWords.add("recent");
stopWords.add("recently");
stopWords.add("regarding");
stopWords.add("regardless");
stopWords.add("regards");
stopWords.add("relatively");
stopWords.add("respectively");
stopWords.add("right");
stopWords.add("round");
stopWords.add("said");
stopWords.add("same");
stopWords.add("saw");
stopWords.add("say");
stopWords.add("saying");
stopWords.add("says");
stopWords.add("second");
stopWords.add("secondly");
stopWords.add("see");
stopWords.add("seeing");
stopWords.add("seem");
stopWords.add("seemed");
stopWords.add("seeming");
stopWords.add("seems");
stopWords.add("seen");
stopWords.add("self");
stopWords.add("selves");
stopWords.add("sensible");
stopWords.add("sent");
stopWords.add("serious");
stopWords.add("seriously");
stopWords.add("seven");
stopWords.add("several");
stopWords.add("shall");
stopWords.add("shan't");
stopWords.add("she");
stopWords.add("she'd");
stopWords.add("she'll");
stopWords.add("she's");
stopWords.add("should");
stopWords.add("shouldn't");
stopWords.add("since");
stopWords.add("six");
stopWords.add("so");
stopWords.add("some");
stopWords.add("somebody");
stopWords.add("someday");
stopWords.add("somehow");
stopWords.add("someone");
stopWords.add("something");
stopWords.add("sometime");
stopWords.add("sometimes");
stopWords.add("somewhat");
stopWords.add("somewhere");
stopWords.add("soon");
stopWords.add("sorry");
stopWords.add("specified");
stopWords.add("specify");
stopWords.add("specifying");
stopWords.add("still");
stopWords.add("sub");
stopWords.add("such");
stopWords.add("sup");
stopWords.add("sure");
stopWords.add("take");
stopWords.add("taken");
stopWords.add("taking");
stopWords.add("tell");
stopWords.add("tends");
stopWords.add("th");
stopWords.add("than");
stopWords.add("thank");
stopWords.add("thanks");
stopWords.add("thanx");
stopWords.add("that");
stopWords.add("that'll");
stopWords.add("thats");
stopWords.add("that've");
stopWords.add("the");
stopWords.add("their");
stopWords.add("theirs");
stopWords.add("them");
stopWords.add("themselves");
stopWords.add("then");
stopWords.add("thence");
stopWords.add("there");
stopWords.add("thereafter");
stopWords.add("thereby");
stopWords.add("there'd");
stopWords.add("therefore");
stopWords.add("therein");
stopWords.add("ther'll");
stopWords.add("there're");
stopWords.add("theres");
stopWords.add("there's");
stopWords.add("thereupon");
stopWords.add("there've");
stopWords.add("these");
stopWords.add("they");
stopWords.add("they'd");
stopWords.add("they'll");
stopWords.add("they're");
stopWords.add("they've");
stopWords.add("thing");
stopWords.add("things");
stopWords.add("think");
stopWords.add("third");
stopWords.add("thirty");
stopWords.add("this");
stopWords.add("thorough");
stopWords.add("thoroughly");
stopWords.add("those");
stopWords.add("though");
stopWords.add("throughout");
stopWords.add("thru");
stopWords.add("thus");
stopWords.add("till");
stopWords.add("to");
stopWords.add("together");
stopWords.add("too");
stopWords.add("took");
stopWords.add("toward");
stopWords.add("towards");
stopWords.add("tried");
stopWords.add("tries");
stopWords.add("truly");
stopWords.add("try");
stopWords.add("trying");
stopWords.add("t's");
stopWords.add("twice");
stopWords.add("two");
stopWords.add("un");
stopWords.add("under");
stopWords.add("underneath");
stopWords.add("undoing");
stopWords.add("unfortunately");
stopWords.add("unless");
stopWords.add("unlike");
stopWords.add("unlikely");
stopWords.add("untill");
stopWords.add("unto");
stopWords.add("up");
stopWords.add("upon");
stopWords.add("upwards");
stopWords.add("us");
stopWords.add("use");
stopWords.add("used");
stopWords.add("useful");
stopWords.add("uses");
stopWords.add("using");
stopWords.add("usually");
stopWords.add("v");
stopWords.add("value");
stopWords.add("various");
stopWords.add("versus");
stopWords.add("very");
stopWords.add("via");
stopWords.add("viz");
stopWords.add("vs");
stopWords.add("want");
stopWords.add("wants");
stopWords.add("was");
stopWords.add("wasn't");
stopWords.add("way");
stopWords.add("we");
stopWords.add("we'd");
stopWords.add("welcome");
stopWords.add("well");
stopWords.add("we'll");
stopWords.add("went");
stopWords.add("were");
stopWords.add("we're");
stopWords.add("weren't");
stopWords.add("we've");
stopWords.add("what");
stopWords.add("whatever");
stopWords.add("what'll");
stopWords.add("what's");
stopWords.add("what've");
stopWords.add("when");
stopWords.add("whence");
stopWords.add("whenever");
stopWords.add("where");
stopWords.add("whereafter");
stopWords.add("whereas");
stopWords.add("whereby");
stopWords.add("wherein");
stopWords.add("where's");
stopWords.add("whereupon");
stopWords.add("whereever");
stopWords.add("whether");
stopWords.add("which");
stopWords.add("whichever");
stopWords.add("while");
stopWords.add("whilst");
stopWords.add("whither");
stopWords.add("who");
stopWords.add("who'd");
stopWords.add("whoever");
stopWords.add("whole");
stopWords.add("who'll");
stopWords.add("whom");
stopWords.add("whomever");
stopWords.add("who's");
stopWords.add("whose");
stopWords.add("why");
stopWords.add("will");
stopWords.add("willing");
stopWords.add("wish");
stopWords.add("with");
stopWords.add("within");
stopWords.add("without");
stopWords.add("wonder");
stopWords.add("won't");
stopWords.add("would");
stopWords.add("wouldn't");
stopWords.add("yes");
stopWords.add("yet");
stopWords.add("you");
stopWords.add("you'd");
stopWords.add("you'll");
stopWords.add("your");
stopWords.add("you're");
stopWords.add("yours");
stopWords.add("yourself");
stopWords.add("you've");
stopWords.add("zero");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public WordGenerator()\n {\n adjective1a = new ArrayList<String>();\n adjective1b = new ArrayList<String>();\n adjective1c = new ArrayList<String>();\n adjective2a = new ArrayList<String>();\n adjective2b = new ArrayList<String>();\n adjective2c = new ArrayList<String>();\n fillAdjectives();\n noun = \"\";\n adj1 = \"\";\n adj2 = \"\";\n }",
"public WordDictionary() {\n\n }",
"public WordDictionary() {\n\n }",
"public WordDictionary() {\n\n }",
"public WordDictionary() {\n }",
"public WordDictionary() {\n \n \n }",
"public WordList() {\t\t//Default constructor\n\t}",
"public Dictionary () {\n\t\tsuper();\n\t\t//words = new ArrayList < String > () ;\n\t}",
"public AllWordsCounter() {\n counters = new SingleWordCounter[MAX_WORDS];\n // TODO: initialize instance variable to hold MAX_WORDS objects\n\n }",
"public Dictionary() { //constructor\r\n try {\r\n createDictionary(); //create dictionary\r\n addCustomWords(); //add any user define words in it\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }",
"WordList(){\r\n\t\tm_words = new HashMap();\r\n\t}",
"public Generation(){\n\t\twords = new ArrayList<String>();\n\t}",
"public Word (String word){\n this.word = word;\n count = 0;\n }",
"public WordList() {\n\t\twordList = new ArrayList<>();\n\t\t// TODO Add your code here\n\t}",
"public WordDictionary() {\n\n }",
"private SpreedWord() {\n\n }",
"private WordCounting() {\r\n }",
"public WordCount()\n {\n //initializes common variables.\n lineNums = new CircularList();\n count = 1;\n }",
"private LowercaseWordList() {\n\n }",
"public WordCount() {\n }",
"public Word (String word) {\n\t\t// Call another constructor\n\t\tthis(word.length());\n\t\t// save the input word in this.theWord\n\t\tthis.theWord = word.toCharArray();\n\t}",
"private void initialiseWordsToSpell(){\n\t\t//normal quiz\n\t\tif(quiz_type==PanelID.Quiz){\n\t\t\twords_to_spell = parent_frame.getPreQuizHandler().getWordsForSpellingQuiz(parent_frame.getDataHandler().getNumWordsInQuiz(), PanelID.Quiz);\n\t\t} else { //review quiz\n\t\t\twords_to_spell = parent_frame.getPreQuizHandler().getWordsForSpellingQuiz(parent_frame.getDataHandler().getNumWordsInQuiz(), PanelID.Review);\n\t\t}\t\n\t}",
"public DoubleWord(){\n\t\tsuper();\n\t}",
"public WordDictionary() {\n letters = new WordDictionary[26];\n }",
"public WordTokenizer( char[] texts ) {\n\t\t// this constructor will tokenize the input texts (usually it is the char array for a whole document)\n\t\t\n\t\tString s=String.valueOf(texts);//convert character array to string\n\t\twords = s.split(\"\\\\W+\");//split string through various character\n\t\t// \\W means all the demoninate except [a-zA-Z0-9]\n\t}",
"public Word(String text) {\n\t\tsuper();\n\t\tthis.text = text;\n\t}",
"public WordDictionary() {\n root = new TrieNode('#');\n }",
"private void setWords() {\r\n words = new ArrayList<>();\r\n\r\n String line = null;\r\n try {\r\n // FileReader reads text files in the default encoding.\r\n FileReader fileReader = new FileReader(\"words.txt\");\r\n\r\n // Always wrap FileReader in BufferedReader.\r\n BufferedReader bufferedReader = new BufferedReader(fileReader);\r\n\r\n while((line = bufferedReader.readLine()) != null)\r\n words.add(line);\r\n\r\n // Always close files.\r\n bufferedReader.close();\r\n }\r\n catch(Exception ex) {\r\n ex.printStackTrace();\r\n System.out.println(\"Unable to open file '\");\r\n }\r\n }",
"public WordDictionary()\n {\n root = new TrieNode1();\n\n }",
"public WordDictionary() {\n root=new TrieNode();\n }",
"public WordDictionary() {\n root = new TrieNode(' ');\n maxLength = Integer.MIN_VALUE;\n }",
"public Dictionary ( ArrayList < String > listOfWords ) {\n\t\tsuper(listOfWords.get((listOfWords.size()-1)/2));\n\t\t\n\t\t//store words list as binary tree\n\t\t//starts with left side then with right\n\t\tint start = 0;\n\t\tint end = listOfWords.size()-1;\n\t\tint mid = (start+end)/2;\n\t\tmakeTree(listOfWords, start, mid-1);\n\t\tmakeTree(listOfWords, mid+1, end);\n\t\t\n\t\t\n\t\t/**old code written by Professor below\n\t\t * \n\t\t */\n\t\t//words = listOfWords;\n\t\t//if (null == words) {\n\t\t//\twords = new ArrayList <String> ();\n\t\t//}\n\t\t\n\n\t\t\n\t}",
"public Document()\n {\n index = 0;\n words = 0;\n sentences = 0;\n syllables = 0;\n }",
"public Stemmer ()\n {\n AllWords = new HashMap<String,String>();\n dictionary = Dictionary.getInstance();\n p = PointerUtils.getInstance();\n\n try\n {\n // JWNL.initialize(new FileInputStream(\"file_properties.xml\"));\n JWNLConnecter.initializeJWNL();\n dic = Dictionary.getInstance();\n morph = dic.getMorphologicalProcessor();\n // ((AbstractCachingDictionary)dic).\n //\tsetCacheCapacity (10000);\n IsInitialized = true;\n }\n catch (Exception e){\n System.err.println(e.getMessage());\n }\n /*catch ( FileNotFoundException e )\n {\n System.out.println ( \"Error initializing Stemmer: JWNLproperties.xml not found\" );\n }\n catch ( JWNLException e )\n {\n System.out.println ( \"Error initializing Stemmer: \"\n + e.toString() );\n }*/\n\n }",
"public WordDictionary() {\n root = new TrieNode();\n }",
"public WordDictionary() {\n root = new TrieNode();\n }",
"public WordDictionary() {\n root = new TrieNode();\n }",
"public WordDictionary() {\n\t\tthis.checker = new SpellChecker();\n\n\t\t\ttry {\n\t\t\t\tReader reader = new InputStreamReader(WordDictionary.class.getResourceAsStream(\"/english.txt\"));\n\t\t\t\tthis.checker.initialize(reader);\n\t\t\t} catch (Exception exception) {\n\t\t\t\tSystem.err.println(\"Wrong path to dictionary file\");\n\t\t\t\texception.printStackTrace();\n\t\t\t}\n\t}",
"WordCounter(){\r\n }",
"public WordDictionary() {\n \troot=new TrieNode(); \n \n }",
"private void addCustomWords() {\r\n\r\n }",
"public PorterStopWords()\r\n\t{\r\n\t\tstopWordsSet.addAll( porterStopWordsSet );\r\n\t}",
"public CaseInsensitiveDictionary() {\n words = new HashSet<>();\n }",
"public WordDictionary() {\n root = new TreeNode();\n }",
"private void addWords(){\n wordList.add(\"EGE\");\n wordList.add(\"ABBAS\");\n wordList.add(\"KAZIM\");\n }",
"WordCounter(String inputText){\r\n \r\n wordSource = inputText;\r\n }",
"public Sentence(){\n\t\tsentence = new ArrayList<TWord>();\n\t}",
"public Word(String word) throws Exception{\n\t\tsuper();\n\t\tif(!isWordValid(word))\n\t\t\tthrow new Exception();\t\t\n\t\tkey = word;\n\t\tdefinition = \"\";\n\t}",
"public HangmanManager(Set<String> words) {\r\n \tif (words == null || words.size() <= 0) {\r\n \t\tthrow new IllegalArgumentException();\r\n \t}\r\n \tthis.words = new HashSet<String>();\r\n \tfor (String s : words) {\r\n \t\tthis.activeWords.add(s);\r\n \t}\r\n }",
"public HangmanManager(Set<String> words) {\r\n \t//Check Preconditions\r\n \tif (words == null || words.size() <= 0) {\r\n \t\tthrow new IllegalArgumentException(\"pre: words != null, words.size() > 0\");\r\n \t}\r\n \t\r\n \t//Build Dictionary ArrayList using iterator\r\n \tdictionary = new ArrayList <String>();\r\n \tIterator<String> iterator = words.iterator();\r\n \twhile (iterator.hasNext()) {\r\n \t\tdictionary.add(iterator.next());\r\n \t}\r\n }",
"public WordsToGuess(String w)\n\t{\n\t\tword = w;\n\t}",
"public Word(String s) throws FileNotFoundException, IOException, ParseException {\r\n\t\tword = s;\r\n\t\tjsonOsFile = downloadJSON(\"https://en.wikipedia.org/w/api.php?action=opensearch&format=json&search=\");\r\n\t\tjsonOsFile.deleteOnExit();\r\n\t\tjsonPageFile = downloadJSON(\"https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&format=json&titles=\");\r\n\t\tjsonPageFile.deleteOnExit();\r\n\t\tjsonOsArray = (JSONArray)(new JSONParser().parse(new FileReader(\"JSON/\" + this.word + \"_opensearch.json\")));\r\n\t\tjsonPageObject = (JSONObject) (new JSONParser().parse(new FileReader(\"JSON/\" + this.word + \"_wikipage.json\")));\r\n\t\t\r\n\t\t//At this point, we have downloaded and saved our OpenSearch.json and Wikipage.json accordingly. \r\n\t\t\r\n\t\tjparse = new JParser();\r\n\t\trelPageStrings = jparse.getRelatedPages(jsonOsArray);\r\n\t\trelPageDesc = jparse.getRelatedPageDesc(jsonOsArray);\r\n\t\t\r\n\t\t//Retrieves all of the words on the wiki page. Still requires parsing into readable data. Pages are denoted by [[ ]] surrounding them.\r\n\t\twikipageArray = jparse.getPageContents(jsonPageObject);\r\n\t\t\r\n\t\tpageKeywords = jparse.getKeysOnPage(wikipageArray);\r\n\t\t\r\n\t}",
"public TrieWithWord() {\n root = new TrieNodeWithWord();\n }",
"private WordNet() {\n }",
"public WordsGame(DataGame dataGame) {\n this.dataGame = dataGame;\n wordsList = WordsLoader.getInstance().readFile(this.dataGame.getWordLengthMax()); \n }",
"@BeforeClass public static void beforeTests() {\r\n w1 = new Word(\"test\");\r\n w2 = new Word(\"Test\");\r\n w3 = new Word(\"testing\");\r\n w4 = new Word(\"test'ing\");\r\n w5 = new Word(\"Te/t\");\r\n w6 = new Word(\"test\");\r\n w7 = new Word(\"Text\");\r\n }",
"public void configureWord() {\n }",
"public HangmanManager(Set<String> words) {\r\n \t\t//setting the debugger to false\r\n \t\tthis(words, false);\r\n }",
"public q677() {\n hm = new HashMap<>();\n words = new HashMap<>();\n }",
"public LittleSearchEngine() {\n keywordsIndex = new HashMap<String, ArrayList<Occurrence>>(1000, 2.0f);\n noiseWords = new HashMap<String, String>(100, 2.0f);\n }",
"public WordCount(String _word, int lnNum)\n {\n //initializes common variables \n count = 1;\n lineNums = new CircularList();\n //initializes specific passed variables\n word = _word;\n addLineNum(lnNum);\n }",
"public InputParser(String sentence) {\n this.words = sentence.split(\" \");\n }",
"public Generator(String[] words, Random rng)\n throws NullPointerException, IllegalArgumentException {\n if (rng == null) {\n throw new NullPointerException(NULL_RNG_MESSAGE);\n }\n if (words == null) {\n throw new NullPointerException(NULL_WORDS_MESSAGE);\n }\n if (words.length == 0) {\n throw new IllegalArgumentException(EMPTY_WORDS_MESSAGE);\n }\n Set<String> pool = new HashSet<>();\n for (String word : words) {\n word = word.toLowerCase();\n if (!pool.contains(word)) {\n pool.add(word);\n }\n }\n this.words = pool.toArray(new String[pool.size()]);\n this.rng = rng;\n }",
"private void createDocWords() {\n\t\tArrayList<DocWords> docList=new ArrayList<>();\n\t\ttry {\n\t\t\tBufferedReader in = new BufferedReader(new FileReader(\"E:\\\\graduate\\\\cloud\\\\project\\\\data\\\\docWords.txt\"));\n\t\t\tString line = \"\";\n\t\t\twhile ((line = in.readLine()) != null) {\n\t\t\t\tString parts[] = line.split(\" \");\n\t\t\t\tDocWords docWords=new DocWords();\n\t\t\t\tdocWords.setDocName(parts[0].replace(\".txt\", \"\"));\n\t\t\t\tdocWords.setCount(Float.parseFloat(parts[1]));\n\t\t\t\tdocList.add(docWords);\n\t\t\t}\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tDBUtil.insertDocWords(docList);\n\t}",
"public Word(final String word1, final String level1,\n final String hint11, final String hint21) {\n\n\n this.word = word1;\n this.level = level1;\n this.hint1 = hint11;\n this.hint2 = hint21;\n }",
"public LessonImplementation(final ImmutableSet<Word> words) {\n this.words = Preconditions.checkNotNull(words);\n\n assert this.words != null : \"Words may not be 'null'\"; //$NON-NLS-1$\n }",
"public WordLinkedList() {\r\n\r\n head = new Node(null, null);\r\n listSize = 0;\r\n //constructor for a dummy node with nothing in the linked list\r\n\r\n }",
"private StopWords() {\r\n\t\tPath source = Paths.get(\"./dat/zaustavne_rijeci.txt\");\r\n\t\ttry {\r\n\t\t\tbody = new String(Files.readAllBytes(source),\r\n\t\t\t\t\tStandardCharsets.UTF_8);\r\n\t\t} catch (IOException ignorable) {\r\n\t\t}\r\n\t\twords = new LinkedHashSet<>();\r\n\t\tfillSet();\r\n\t}",
"public Node() {\n // set all values that indicate whether a word exists to false\n wordExists = new boolean[NUM_VALID_CHARS];\n for (boolean e : wordExists) {\n e = false;\n }\n\n // create the pointers to the next nodes\n nexts = new Node[NUM_VALID_CHARS];\n // set them all to null to avoid infinite recursion\n for (Node e : nexts) {\n e = null;\n }\n }",
"public NormalSwear(String word) {\n this.word = word;\n }",
"private void fillSet() {\r\n\t\tString regex = \"\\\\p{L}+\";\r\n\t\tMatcher matcher = Pattern.compile(regex).matcher(body);\r\n\t\twhile (matcher.find()) {\r\n\t\t\tif (!matcher.group().isEmpty()) {\r\n\t\t\t\twords.add(matcher.group());\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"private void init(){\r\n\t\t// already checked that this is a valid file and reader\r\n\t\ttokenizer = new StreamTokenizer(reader);\r\n\t\ttokenizer.slashSlashComments(true);\r\n\t\ttokenizer.slashStarComments(true);\r\n\t\ttokenizer.wordChars('_', '_');\r\n\t\ttokenizer.wordChars('.', '.');\r\n\t\ttokenizer.ordinaryChar('/');\r\n\t\ttokenizer.ordinaryChar('-');\r\n\t\tfillKeywords();\r\n\t\t//tokenChoose = new TokenChooser();\r\n\t}",
"public VocabularyTerms() {}",
"public Word(String englishWord, String otherWord, int imageId, int audioId) {\n this.englishWord = englishWord;\n this.otherWord = otherWord;\n this.imageId = imageId;\n this.audioId = audioId;\n }",
"private static void buildWordList(){\n\t\ttry {\n\t\t\t@SuppressWarnings(\"resource\")\n\t\t\tScanner inScanner = new Scanner(new FileReader(LIST_LOCATION));\n\t\t\tfor(int i = 0; i < collegiateWords.length ; i++){\n\t\t\t\tcollegiateWords[i] = inScanner.nextLine();\n\t\t\t}\n\t\t\t\n\t\t} catch (FileNotFoundException e1) {\n\t\t\t\n\t\t\te1.printStackTrace();\n\t\t}\t\n\t\tSystem.out.println(\"Word List Built.\");\n\t}",
"public Word(String str, ArrayList<Location> locations, ArrayList<Location> curlocations) {\n String curstr = \"\";\n for (Location loc : locations) {\n curstr += loc.getTile().getLetter();\n }\n this.str = curstr;\n this.locations = locations;\n this.curlocations = curlocations;\n }",
"public StringWordTokenizer(String s) {\n\t\tsuper(s);\n\t}",
"@Override\n public int getNumberOfWords() {\n return 0;\n }",
"public Word(String text, String postag) {\n\t\tsuper();\n\t\tthis.text = text;\n\t\tthis.postag = postag;\n\t}",
"public Terms() {}",
"public WordImplementation(final ImmutableMap<Locale, Translation> translations) {\n this.translations = Preconditions.checkNotNull(translations);\n }",
"public LittleSearchEngine() {\n\t\tkeywordsIndex = new HashMap<String,ArrayList<Occurrence>>(1000,2.0f);\n\t\tnoiseWords = new HashSet<String>(100,2.0f);\n\t}",
"public LittleSearchEngine() {\n\t\tkeywordsIndex = new HashMap<String,ArrayList<Occurrence>>(1000,2.0f);\n\t\tnoiseWords = new HashSet<String>(100,2.0f);\n\t}",
"public WordCount(String word, int count){\n this.word = word;\n this.count = count;\n }",
"public EfficientWordMarkov()\n\t{\n\t\tsuper();\n\t\tmyMap = new HashMap<WordGram , ArrayList<String>>();\n\t}",
"public BoggleSolver(String[] dictionary) {\n wordsSoFar = new ArrayList<String>();\n // 1. build the trie tree of the dictionary\n dict = new NewTrieSet();\n for (String s : dictionary) {\n if (s.length() >= MIN_WORD_LENGTH)\n dict.add(s);\n }\n }",
"public IndexEntry(String word) {\r\n\t\tdata = word;\r\n\t\tpage = new GenericLinkedList<Integer>();\r\n\t}",
"public StringWordTokenizer(WordFinder wf) {\n\t\tsuper(wf);\n\t}",
"public DocumentWordPosition() {}",
"@Override\n\tpublic void setTraining(String text) {\n\t\tmyWords = text.split(\"\\\\s+\");\n\t\tmyMap = new HashMap<String , ArrayList<String>>();\n\t\t\n\t\tfor (int i = 0; i <= myWords.length-myOrder; i++)\n\t\t{\n\t\t\tWordGram key = new WordGram(myWords, i, myOrder);\n\t\t\tif (!myMap.containsKey(key))\n\t\t\t{\n\t\t\t\tArrayList<String> list = new ArrayList<String>();\n\t\t\t\tif (i+myOrder != myWords.length)\n\t\t\t\t{\n\t\t\t\t\tlist.add(myWords[i+myOrder]);\n\t\t\t\t\tmyMap.put(key, list);\n\t\t\t\t} else {\n\t\t\t\t\tlist.add(PSEUDO_EOS);\n\t\t\t\t\tmyMap.put(key, list);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (i+myOrder != myWords.length)\n\t\t\t\t{\n\t\t\t\t\t((ArrayList<String>) myMap.get(key)).add(myWords[i+myOrder]);\n\t\t\t\t} else {\n\t\t\t\t\t((ArrayList<String>) myMap.get(key)).add(PSEUDO_EOS);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public DictionaryWord(String text){\n\t\tthis.text = text;\n\t\tisVisible = true;\n\t}",
"private Glossary() {\n\n }",
"SpellEx(Map<String, Integer> words) {\n\t\tdict = new HashMap<String, Integer>(words);\n\t}",
"public Word(String word, String meaning) throws Exception{\n\t\tsuper();\n\t\tif(!isWordValid(word))\n\t\t\tthrow new Exception();\n\t\tkey = word;\n\t\tdefinition = meaning;\n\t}",
"protected Sentence() {/* intentionally empty block */}",
"public WordsInfo() {\n\t\tWordsCount = 1;\n\t\tInMailsFound = 1;\n\t\tupdated = true;\n\t}",
"public void moodInitialize() {\n\t\t\n\t\tFile moodDirectory = new File(\"FoodMood/src/TextFiles/\");\n\t\tmoodArray = moodDirectory.list();\n\t\tString [] names = new String[moodArray.length];\n\t\tfor(int i = 0; i < moodArray.length;i++) {\n\t\t\tnames[i] = moodArray[i].replace(\".txt\", \"\");\n\t\t}\n\t\tfor (int i = 0; i < moodArray.length; i++) {\n\t\t\tmoods.add(names[i]);\n\t\t}\n\t}",
"public HotWordsAnalyzer (String hotWordsFileName, String docFileName){\r\n //Setting the filenames to the variables to make them easier to type\r\n doc = docFileName;\r\n hw = hotWordsFileName;\r\n \r\n //If opening of the file fails, an ioException will be thrown\r\n\t\ttry{\r\n hotword = new Scanner(Paths.get(hw));\r\n }\r\n catch (IOException ioException){\r\n System.err.println(\"Error opening file. Terminating.\");\r\n System.exit(1);\r\n }\r\n \r\n try{\r\n \r\n docs = new Scanner(Paths.get(doc));\r\n }\r\n catch (IOException ioException){\r\n System.err.println(\"Error opening file. Terminating.\");\r\n System.exit(1);\r\n }\r\n \r\n //Above opens both files\r\n \r\n //Goes through hotwords file and takes each word and pushes them to \r\n //the map words so they can be used to locate the hotwords in the document\r\n\t\ttry{\r\n while(hotword.hasNext()){\r\n String y;\r\n String x = hotword.next();\r\n y = x.toLowerCase();\r\n //sets hotword as key and 0 for the count of that hotword in the document\r\n words.put(y, 0);\r\n }\r\n }\r\n //The element doesn't exist- file must not be a file\r\n catch(NoSuchElementException elementException){\r\n System.err.println(\"Improper file. Terminating.\");\r\n System.exit(1);\r\n }\r\n //The file may not be readable or corrupt\r\n catch(IllegalStateException stateException){\r\n System.err.println(\"Error reading from file. Terminating.\");\r\n System.exit(1);\r\n }\r\n \r\n //Above gets words and puts them into the words map\r\n try{\r\n //reads the document and when it finds a hotword it increments the count in words\r\n while(docs.hasNext()){\r\n //gets next word\r\n String x = docs.next();\r\n String y = x.toLowerCase();\r\n //Gets rid of the commas and periods\r\n y = y.replace(\",\", \"\");\r\n y = y.replace(\".\", \"\");\r\n //If the word y is in the hotwords list\r\n if(words.containsKey(y)){\r\n //Adds to words map and increments count\r\n consec.add(y);\r\n int z;\r\n z = words.get(y);\r\n z++;\r\n words.put(y, z);\r\n }\r\n }\r\n }\r\n catch(NoSuchElementException elementException){\r\n System.err.println(\"Improper file. Terminating.\");\r\n System.exit(1);\r\n }\r\n catch(IllegalStateException stateException){\r\n System.err.println(\"Error reading from file. Terminating.\");\r\n System.exit(1);\r\n }\r\n \r\n \r\n\t\t\r\n\t}",
"private void initialize() {\n this.docTypeList = new ArrayList<>();\n this.problemTypeList = new ArrayList<>();\n\n // The add() function should be called in the order specified since together\n // they form a mapping mechanism,\n // for example 'ENCAPSULATED' before 'POSTSCRIPT' and 'RICH' before 'TEXT'.\n\n this.docTypeList.add(\"ENCAPSULATED\");\n this.problemTypeList.add(ProblemType.NON_ENCAPSULATED_POSTSCRIPT_FILE);\n\n this.docTypeList.add(\"EXCEL\");\n this.problemTypeList.add(ProblemType.NON_MSEXCEL_FILE);\n\n this.docTypeList.add(\"GIF\");\n this.problemTypeList.add(ProblemType.NON_GIF_FILE);\n\n this.docTypeList.add(\"HTML\");\n this.problemTypeList.add(ProblemType.NON_HTML_FILE);\n\n this.docTypeList.add(\"LATEX\");\n this.problemTypeList.add(ProblemType.NON_LATEX_FILE);\n\n this.docTypeList.add(\"MPEG\");\n this.problemTypeList.add(ProblemType.NON_MP4_FILE);\n\n this.docTypeList.add(\"POSTSCRIPT\");\n this.problemTypeList.add(ProblemType.NON_POSTSCRIPT_FILE);\n\n this.docTypeList.add(\"TIFF\");\n this.problemTypeList.add(ProblemType.NON_TIFF_FILE);\n\n this.docTypeList.add(\"WORD\");\n this.problemTypeList.add(ProblemType.NON_MSWORD_FILE);\n\n this.classInitialized = true;\n\n LOG.debug(\"initialize:this.docTypeList.size {}\", this.docTypeList.size());\n LOG.debug(\"initialize:this.problemTypeList.size {}\", this.problemTypeList.size());\n }",
"public HangmanManager(Set<String> words, boolean debugOn) {\r\n \tif (words == null || words.size() <= 0) {\r\n \t\tthrow new IllegalArgumentException();\r\n \t}\r\n \tthis.words = new HashSet<String>();\r\n \tfor (String s : words) {\r\n \t\tthis.words.add(s);\r\n \t}\r\n }"
]
| [
"0.76317644",
"0.7545281",
"0.7545281",
"0.7545281",
"0.752353",
"0.74651843",
"0.74460554",
"0.74453956",
"0.74395007",
"0.743902",
"0.74243635",
"0.74038893",
"0.7381507",
"0.73439866",
"0.7340342",
"0.72289604",
"0.7189924",
"0.7045309",
"0.701709",
"0.6976395",
"0.69688725",
"0.69098103",
"0.68586284",
"0.6842316",
"0.6809167",
"0.6765984",
"0.67257315",
"0.6723248",
"0.6719822",
"0.6715769",
"0.6709157",
"0.67090523",
"0.6693766",
"0.6692235",
"0.66770756",
"0.66770756",
"0.66770756",
"0.6667033",
"0.6612842",
"0.6601714",
"0.6600228",
"0.6536827",
"0.65320295",
"0.65018547",
"0.6493172",
"0.6477828",
"0.6467251",
"0.6447992",
"0.6438492",
"0.64373595",
"0.6435398",
"0.64238167",
"0.6384826",
"0.6380708",
"0.6378406",
"0.6371266",
"0.6364325",
"0.6360272",
"0.6354109",
"0.6345674",
"0.63285995",
"0.62964827",
"0.6280372",
"0.6273712",
"0.6253123",
"0.6245953",
"0.6235627",
"0.62218213",
"0.6218813",
"0.6216278",
"0.6214273",
"0.621155",
"0.6179",
"0.61755514",
"0.61753947",
"0.6172104",
"0.61698186",
"0.616532",
"0.6150727",
"0.61377287",
"0.6131628",
"0.6115708",
"0.6115708",
"0.61068934",
"0.6102077",
"0.61004406",
"0.6099379",
"0.6099337",
"0.6082764",
"0.60789216",
"0.60786766",
"0.60753036",
"0.6069692",
"0.6047159",
"0.6040489",
"0.60314876",
"0.6025908",
"0.6025701",
"0.6018843",
"0.6006414"
]
| 0.60988116 | 88 |
contans method of collection list will be called to check for possible presence of the String s | public int removings(String s)
{
if(stopWords.contains(s))
{
return 1;
}
else
{
return 0;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private boolean stringContainsList(String s, ArrayList<String> list){\n\t\tboolean flag = true;\n\t\tfor(String temp : list){\n\t\t\tif(!s.contains(temp)){\n\t\t\t\tflag = false;\n\t\t\t\treturn flag;\n\t\t\t}\n\t\t}\n\t\treturn flag;\n\t}",
"public boolean containsCaseInsensitive(String s, List<String> l) {\n\t\tfor (String string : l) {\n\t\t\tif (string.equalsIgnoreCase(s)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}",
"boolean any(String collection);",
"@Override\r\n\t\t\tpublic boolean matches(Object list) {\n\t\t\t\treturn ((List<String>) list).size() == 1;\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic boolean matches(Object list) {\n\t\t\t\treturn ((List<String>) list).size() == 1;\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic boolean matches(Object list) {\n\t\t\t\treturn ((List<String>) list).size() == 1;\r\n\t\t\t}",
"private void many(Set<String> s) {\n\t\twhile (!done() && s.contains(program.charAt(pos)+\"\"))\n\t\t\tpos++;\n }",
"public static void main(String[] args) {\n\n List<String> listOfStrings= new ArrayList<>();\n listOfStrings.add(\"Jeden\");\n listOfStrings.add(\"Dwa\");\n listOfStrings.add(\"Trzy\");\n listOfStrings.add(\"Cztery\");\n listOfStrings.add(\"Piec\");\n\n boolean contains=listOfStrings.contains(\"Jeden\");\n boolean notContains=listOfStrings.contains(\"Szesc\");\n System.out.println(contains);\n System.out.println(notContains);\n }",
"private static void testFind(String s, LinkedList list) {\n\t\tif (list.find(s) != null)\n\t\t\tSystem.out.println(\"found the string :)\");\n\t\telse\n\t\t\tSystem.out.println(\"we did not find the string :(\");\n\t}",
"private boolean checkInCashe(String s) {\n return true;\n }",
"public boolean contains(String value){\n if (value == null)\n return false;\n int index = clamp(value);\n if (linkedListStrings[index] == null)\n return false;\n else\n return linkedListStrings[index].contains(value);\n\n\n }",
"boolean hasScStr();",
"public static boolean hasToken(String s) {\n\t\tboolean founded=false;\n\t\tfor(int i = 0 ; i < dataList.size() ; i ++ ) {\n\t\t\tif(dataList.get(i).name.equals(s)) {\n\t\t\t\t\n\t\t\t\tfounded = true;\n\t\t\t}\n\t\t}\n\t\treturn founded;\n\t}",
"@Test\r\n\tvoid testContains() {\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\tif (list.contains(\"Item 1\") != true) {\r\n\t\t\tfail(\"Failed to find \\\"Item 1\\\"\");\r\n\t\t}\r\n\t\tif (list.contains(\"Item 2\") != true) {\r\n\t\t\tfail(\"Failed to find \\\"Item 2\\\"\");\r\n\t\t}\r\n\t\tif (list.contains(\"Item 3\") != true) {\r\n\t\t\tfail(\"Failed to find \\\"Item 3\\\"\");\r\n\t\t}\r\n\t\tif (list.contains(\"Item 4\") != true) {\r\n\t\t\tfail(\"Failed to find \\\"Item 4\\\"\");\r\n\t\t}\r\n\t}",
"private boolean anyOfSetInString(String inputStr, Set<String> items) {\n\n for (String s : items) {\n if (inputStr.contains(s)) {\n // Didn't use String.equals() as user can have the number saved with or without country code\n\n return true;\n }\n }\n\n return false;\n }",
"@Test\n public void existsItem(){\n List <Character> list = new ArrayList<>();\n list.add('a');\n list.add('b');\n list.add('c');\n\n assertTrue(list.contains('b'));\n }",
"public static boolean containsIgnoreCase(List<String> list, String str) {\n boolean strAvailable = false;\n if (list != null) {\n for (String s : list) {\n if (s.equalsIgnoreCase(str)) {\n strAvailable = true;\n break;\n }\n }\n }\n return strAvailable;\n }",
"@Test\r\n public void addAllFromSetWithStrings() throws Exception {\r\n TreeSet<String> s = new TreeSet<>();\r\n s.addAll(sStr);\r\n assertTrue(s.contains(\"kek\"));\r\n assertTrue(s.contains(\"lel\"));\r\n assertTrue(s.contains(\"lol\"));\r\n }",
"public boolean containsKey(String s){\r\n return this.get(s) != 0;\r\n }",
"@Override\r\n\t\t\tpublic boolean matches(Object list) {\n\t\t\t\treturn ((List<String>) list).size() == 2;\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic boolean matches(Object list) {\n\t\t\t\treturn ((List<String>) list).size() == 2;\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic boolean matches(Object list) {\n\t\t\t\treturn ((List<String>) list).size() == 2;\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic boolean matches(Object list) {\n\t\t\t\treturn ((List<String>) list).size() == 2;\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic boolean matches(Object list) {\n\t\t\t\treturn ((List<String>) list).size() == 2;\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic boolean matches(Object list) {\n\t\t\t\treturn ((List<String>) list).size() == 2;\r\n\t\t\t}",
"public boolean contains(Object o) {\n if (o instanceof String) {\n return set.contains(((String) o).toLowerCase());\n } else {\n return set.contains(o);\n }\n }",
"@Override\r\n\t\t\tpublic boolean matches(Object list) {\n\t\t\t\treturn ((List<String>) list).size() == 3;\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic boolean matches(Object list) {\n\t\t\t\treturn ((List<String>) list).size() == 3;\r\n\t\t\t}",
"@Test\r\n public void test_containEmpty_True3() {\r\n Collection<?> collection = Arrays.asList(new Object[] {1, new ArrayList<Object>()});\r\n boolean trimStrings = false;\r\n\r\n boolean res = Helper.containEmpty(collection, trimStrings);\r\n\r\n assertTrue(\"'containEmpty' should be correct.\", res);\r\n }",
"@Test\r\n public void test_containEmpty_True1() {\r\n Collection<?> collection = Arrays.asList(new Object[] {1, \"\"});\r\n boolean trimStrings = false;\r\n\r\n boolean res = Helper.containEmpty(collection, trimStrings);\r\n\r\n assertTrue(\"'containEmpty' should be correct.\", res);\r\n }",
"private static boolean m87480a(Object obj) {\n if (!(obj instanceof List)) {\n obj = null;\n }\n List list = (List) obj;\n if (list != null && !C6307b.m19566a((Collection<T>) list) && (list.get(0) instanceof Word)) {\n return true;\n }\n return false;\n }",
"@Test\n\tpublic void testIsContainedInSomeWord() {\n\n\t\tString[] words = {\"ne\", \"ned\", \"nes\", \"ning\", \"st\", \"sted\", \"sting\", \"sts\"};\n\t\tList<String> listWords = Arrays.asList(words);\n\n\t\tassertThat(\"Prefix contained\", StringUtils.containsPrefix(listWords, \"sti\"), equalTo(true));\n\t\tassertThat(\"Prefix contained\", StringUtils.containsPrefix(listWords, \"ne\"), equalTo(true));\n\t\tassertThat(\"Prefix contained\", StringUtils.containsPrefix(listWords, \"ni\"), equalTo(true));\n\t\tassertThat(\"Prefix contained\", StringUtils.containsPrefix(listWords, \"s\"), equalTo(true));\n\t\tassertThat(\"Prefix not contained\", StringUtils.containsPrefix(listWords, \"sta\"), equalTo(false));\n\t\tassertThat(\"Prefix not contained\", StringUtils.containsPrefix(listWords, \"a\"), equalTo(false));\n\t\tassertThat(\"Prefix not contained\", StringUtils.containsPrefix(listWords, \"no\"), equalTo(false));\n\t}",
"@Test\r\n public void test_containEmpty_True2() {\r\n Collection<?> collection = Arrays.asList(new Object[] {1, TestsHelper.EMPTY_STRING});\r\n boolean trimStrings = true;\r\n\r\n boolean res = Helper.containEmpty(collection, trimStrings);\r\n\r\n assertTrue(\"'containEmpty' should be correct.\", res);\r\n }",
"public boolean containsCustomer(String c){\n\t\tfor (int i = 0; i < this.list.size(); i++){\n\t\t\tif( c.equals(list.get(i).getUsername()) ){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}",
"public static boolean in(String str, String... strs) {\n\treturn null != strs && null != str && Arrays.asList(strs).contains(str);\n }",
"@Test\r\n public void test_containEmpty_False2() {\r\n List<Object> list = new ArrayList<Object>();\r\n list.add(new Object());\r\n Map<Object, Object> map = new HashMap<Object, Object>();\r\n map.put(new Object(), new Object());\r\n Collection<?> collection = Arrays.asList(new Object[] {1, list, map});\r\n boolean trimStrings = true;\r\n\r\n boolean res = Helper.containEmpty(collection, trimStrings);\r\n\r\n assertFalse(\"'containEmpty' should be correct.\", res);\r\n }",
"@Override\n\tpublic boolean containsAll(Collection<?> c) {\n\t\tthrow new NotImplementedException(\"Not yet implemented\"); \n\t}",
"@Override\n\tpublic boolean contains(String s) {\n\t\tif(s.contentEquals(value)) {\n\t\t\treturn true;\n\t\t}\n\t\tif(s.compareTo(value)<0) {\n\t\t\tif(left==null) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn left.contains(s);\n\t\t}\n\t\telse {\n\t\t\tif(right==null) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn right.contains(s);\n\t\t}\n\t\t\n\t\t\n\t}",
"protected abstract Set<String> _addToSet(String key, Collection<String> str);",
"public static void main(String[] args) {\n\n\t\t\nString[] stud= {\"marks\",\"steve\",\"jenny\",\"kevin\"};\n\t\t\n\tSystem.out.println(Arrays.asList(stud).contains(\"marks\"));//true\n\tSystem.out.println(Arrays.asList(stud).contains(\"henry\"));//false\n\t\n\t\n\t}",
"boolean contains();",
"boolean hasContains();",
"@Test\r\n public void test_containEmpty_True4() {\r\n Collection<?> collection = Arrays.asList(new Object[] {1, new HashMap<Object, Object>()});\r\n boolean trimStrings = false;\r\n\r\n boolean res = Helper.containEmpty(collection, trimStrings);\r\n\r\n assertTrue(\"'containEmpty' should be correct.\", res);\r\n }",
"public boolean contains(String target){\n\t\treturn list.contains(target);\n\t}",
"void contains(String str) {\n dictionary.add(str);\n assertEquals(words.contains(str), trie.contains(str));\n assertEquals(words.size(), trie.size());\n }",
"private static String bestMatch(String s,ArrayList<Token>list) {\n\t\tfor(int i = 0; i<list.size();i++){\n\t\t\tif(list.get(i).value.equals(s)){\n\t\t\t\treturn s;\n\t\t\t}\n\t\t}\n\t\treturn \"\";\n\t}",
"@Test\n\tpublic void test_validate_string_list() throws Exception {\n\t\tArrayList<Data> rawList = new ArrayList<Data>();\n\t\trawList.add(new Data(\"subData\", \"integer\", 12, false, false, false));\n\t\tData list = new Data(\"list\", \"description\", rawList, false, false, false);\n\t\t\n\t\tHashMap<String, Data> rawParent = new HashMap<String, Data>();\n\t\trawParent.put(\"list\", list);\n\t\t\n\t\tData parent = new Data(\"parent\", \"parent\", rawParent, false,false,false);\n\t\t\n\t\tChemistryProjectGlobalValidation c = new ChemistryProjectGlobalValidation();\n\t\t\n\t\t//fail becuase list contains an integer element\n\t\tassertNotEquals(null, c.containsStringList(parent, \"list\"));\n\t\t\n\t\t//fail because key doesnt exist\n\t\tassertNotEquals(null, c.containsStringList(parent, \"non existant \"));\n\t\t\n\t\t//fail because key exists but is not list type\n\t\tassertNotEquals(null, c.containsStringList(list, \"subData\"));\n\t}",
"@Test\n\tpublic void testListOperations() {\n\t\tassertFalse(streetAddresses.contains(s1PlusNine));\n\t\tassertTrue(streetAddresses.stream().anyMatch(s -> comparator.compare(s1PlusNine, s) == 0));\n\t}",
"static void add(String s) {\n if (s != null) {\n a.add(s);\n }\n }",
"boolean hasS1();",
"public boolean contains(String str) {\n\t\t\n\t\tif (director.contains(str)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn super.contains(str);\n\t}",
"boolean hasList();",
"public boolean hasString() {\n/* 800 */ return true;\n/* */ }",
"boolean hasString();",
"public boolean addAllStrings(final Collection<String> memberStrings) {\n return strings.addAll(memberStrings);\n }",
"public void updateResults(String s) {\n ArrayList<String> tempName = new ArrayList<String>();\n ArrayList<String> tempUid = new ArrayList<String>();\n for(int i=0;i<userName.size();i++){\n if(userName.get(i).toLowerCase().contains(s.toLowerCase())){\n tempName.add(userName.get(i));\n tempUid.add(uid.get(i));\n }\n }\n userName.clear();\n uid.clear();\n userName.addAll(tempName);\n uid.addAll(tempUid);\n }",
"public boolean containsAny(ISelect s){\r\n return false;\r\n }",
"boolean hasCsStr();",
"@Override // java.util.List, java.util.Collection\n public /* synthetic */ boolean add(String str) {\n throw new UnsupportedOperationException(\"Operation is not supported for read-only collection\");\n }",
"public CollectionFacadeSet(java.util.Collection<java.lang.String> collection) {\n this.collection = collection;\n for (String str : collection) {\n if (contains(str) || str == null) {\n continue;\n }\n add(str);\n }\n }",
"boolean hasCollectionName();",
"public interface SetOfStrings\n{\n\n /**\n * Determine if the set contains a particular string.\n */\n public boolean contains(String str);\n\n /**\n * Add an element to the set.\n * \n * @post contains(str)\n */\n public void add(String str);\n\n /**\n * Remove an element from the set.\n * \n * @post !contains(str)\n */\n public void remove(String str);\n}",
"public static void main(String[] args) {\n\t\n\t\tCollection<String> list = new ArrayList<>();\n\t\tlist.add(\"a\");\n\t\tlist.add(\"a\");\n\t\tlist.add(\"b\");\n\t\tlist.add(\"b\");\n\t\tlist.add(\"c\");\n\t\tSystem.out.println(\"a:\"+listTest(list, \"a\"));\t\n\t\tSystem.out.println(\"b:\"+listTest(list, \"b\"));\t\n\t\tSystem.out.println(\"c:\"+listTest(list, \"c\"));\n\t\tSystem.out.println(\"xxx:\"+listTest(list, \"xxx\"));\n\t\t\n\n\t}",
"public void containsString() {\n\t\t\tString name = \"martin\";\n\t\t\tboolean contains = name.contains(\"rti\");\n\t\t\tif(contains) {\n\t\t\t\tSystem.out.println(\"it contains\");\n\t\t\t}\n\t\t}",
"boolean isDependOnThemselves(List<String> l);",
"private boolean contains(Collection<CMNMove> c, int i) {\n\t\treturn c.contains(moveList.get(i));\n\t}",
"@Override\n\t\tpublic boolean containsAll(Collection<?> c) {\n\t\t\treturn false;\n\t\t}",
"@Override\n\t\t\tpublic boolean contains(String key) {\n\t\t\t\treturn false;\n\t\t\t}",
"public boolean mo131900c(String str) {\n return super.contains(str);\n }",
"private boolean has(String s) {\n\t\tboolean result = false;\n\t\tMyStack newBurger = new MyStack();\n\t\twhile (myBurger.size() != 0) {\n\t\t\tif (myBurger.peek().equals(s)) {\n\t\t\t\tresult = true;\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tnewBurger.push(myBurger.pop());\n\t\t\t}\n\t\t}\n\t\twhile (newBurger.size() != 0) {\n\t\t\tmyBurger.push(newBurger.pop());\n\t\t}\n\t\treturn result;\n\t}",
"boolean inCommunities(String element);",
"@Test\r\n public void test_containEmpty_False1() {\r\n Collection<?> collection = Arrays.asList(new Object[] {1, TestsHelper.EMPTY_STRING});\r\n boolean trimStrings = false;\r\n\r\n boolean res = Helper.containEmpty(collection, trimStrings);\r\n\r\n assertFalse(\"'containEmpty' should be correct.\", res);\r\n }",
"public boolean contains(List l) {\n if (lists.contains(l.obtainTitle())) return true;\n else return false;\n }",
"public static boolean in(String strs, String str) {\n\treturn null != strs && null != str && Arrays.asList(strs.split(\",\")).contains(str);\n }",
"@Test\n public void myTest() {\n // FIXME: Delete this function and add your own tests\n ech.put(\"c\");\n assertEquals(ech.contains(\"c\"),true);\n\n ech.put(\"d\");\n assertEquals(ech.contains(\"d\"),true);\n\n ArrayList<String> tmp = new ArrayList();\n tmp.add(\"d\");\n tmp.add(\"c\");\n assertEquals(tmp,ech.asList());\n\n ech.put(\"a\");\n ArrayList<String> tmp0 = new ArrayList();\n tmp0.add(\"d\");\n tmp0.add(\"a\");\n tmp0.add(\"c\");\n assertEquals(tmp0,ech.asList());\n\n ech.put(\"v\");\n ech.put(\"A\");\n ech.put(\"r\");\n ArrayList<String> tmp1 = new ArrayList();\n tmp1.add(\"d\");\n tmp1.add(\"A\");\n tmp1.add(\"a\");\n tmp1.add(\"v\");\n tmp1.add(\"c\");\n tmp1.add(\"r\");\n assertEquals(tmp1,ech.asList());\n\n ech.put(\"I LOVE 61B\");\n ArrayList<String> tmp2 = new ArrayList();\n tmp2.add(\"d\");\n tmp2.add(\"A\");\n tmp2.add(\"a\");\n tmp2.add(\"I LOVE 61B\");\n tmp2.add(\"v\");\n tmp2.add(\"c\");\n tmp2.add(\"r\");\n assertEquals(tmp2,ech.asList());\n assertEquals(true,ech.contains(\"I LOVE 61B\"));\n\n for(int i = 0;i<10000;i++){\n ech.put((Integer.toString(i)));\n }\n assertEquals(true,ech.contains(\"9999\"));\n }",
"public boolean contains(String title) {\n if (lists.contains(title)) return true;\n else return false;\n }",
"protected static boolean hasEntryInList(String key, String entry) {\n String entries = getSPreference(key);\n if (TextUtils.isEmpty(entries))\n return false;\n\n for (String e: entries.split(\":\"))\n if (e.equalsIgnoreCase(entry))\n return true;\n\n return false;\n }",
"@Test\r\n\tpublic void testContains() {\r\n\t\tAssert.assertTrue(list.contains(new Munitions(2, 3, \"iron\")));\r\n\t\tAssert.assertFalse(list.contains(new Munitions(2, 5, \"ferrum\")));\r\n\t}",
"@Override\n public boolean contains(Object o) {\n if (indexOf(o) == -1) {\n return false;\n } else {\n return true;\n }\n }",
"public boolean contains(String str);",
"public boolean contains(String s)\n {\n if(s==null)\n return false;\n\n if(s.isEmpty()) //base case\n return true;\n\n char first = s.charAt(0); //find next character\n if(childrenAdded.contains(first)) //if there is a trie for the character\n return children.get(first).contains(s.substring(1)); //search for the rest of the string in that trie\n else\n return false;\n }",
"@Override\n\tpublic boolean containsAll(Collection<?> c) {\n\t\treturn false;\n\t}",
"private static boolean fun3(List<String> res, List<String> ac1) {\n\t\tHashSet<String> hs=new HashSet<String>();\r\n\t\tfor(int i=0;i<res.size();i++){\r\n\t\t\ths.add(res.get(i));\r\n\t\t}\r\n\t\tfor(int i=0;i<ac1.size();i++){\r\n\t\t\tif(hs.contains(ac1.get(i)))\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}",
"public static boolean containsStringIgnoreCase(Collection strings, String toCheck) {\n if (toCheck == null) {\n return false;\n }\n\n //TODO: Find better way of doing this comparison.\n for (Iterator it = strings.iterator(); it.hasNext(); ) {\n if (toCheck.equalsIgnoreCase((String) it.next())) {\n return true;\n }\n }\n\n return false;\n }",
"public boolean hasList() {\n return msgCase_ == 5;\n }",
"public static boolean containsMatch(List<String> list, String str) {\n boolean strAvailable = false;\n final Pattern pattern = Pattern.compile(str, Pattern.CASE_INSENSITIVE | Pattern.CANON_EQ);\n if (list != null) {\n for (String s : list) {\n final Matcher matcher = pattern.matcher(s);\n if (matcher.find()) {\n strAvailable = true;\n break;\n }\n }\n }\n return strAvailable;\n }",
"@Test\r\n public void containsAll() throws Exception {\r\n ArrayList<Integer> l = new ArrayList<>();\r\n l.add(2);\r\n l.add(3);\r\n assertTrue(sInt.containsAll(l));\r\n l.add(7);\r\n assertFalse(sInt.containsAll(l));\r\n }",
"private static boolean m879a(Set<String> set) {\n return set.isEmpty() || (set.size() == 1 && set.contains(\"\"));\n }",
"@Override\n\tpublic boolean contains(Object value) {\n\t\tif (indexOf(value) != -1) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}",
"public final boolean contains(StringToStringTable s)\n {\n\n for (int i = 0; i < m_firstFree; i++)\n {\n if (m_map[i].equals(s))\n return true;\n }\n\n return false;\n }",
"boolean contains(String element);",
"@Test\r\n void matches_collection() {\n assertMatcherTrue(asList(\"1\", \"2\"), size(2));\r\n }",
"@Test\n public void test_range_String_Collection1() {\n populate_s1();\n Collection<String> actual = Selector.range(s1, \"B\", \"C\", new CompareStringAscending());\n Collection<String> expected = new ArrayList<String>();\n expected.add(\"B\");\n expected.add(\"C\");\n Assert.assertEquals(\"Did not find range correctly\", expected, actual);\n }",
"public boolean checkContains(String i) {\n\t\treturn (words.get(0).contains(i));\n\t}",
"@Test\n public void testContainsAll_Contains() {\n\n SegmentedOasisList<Integer> instance = new SegmentedOasisList<>();\n instance.add(3);\n instance.add(2);\n instance.add(1);\n instance.add(4);\n\n Collection c = Arrays.asList(1, 2, 3);\n\n boolean expResult = true;\n boolean result = instance.containsAll(c);\n assertEquals(expResult, result);\n }",
"Collection<? extends String> getHasCity();",
"public boolean checkInclusion(String s1, String s2) {\n int len1 = s1.length(), len2 = s2.length();\n if (len1 > len2) {\n return false;\n }\n\n int freq[] = new int[26];\n for (int i = 0; i < len1; ++i) {\n freq[s1.charAt(i) - 'a']++;\n freq[s2.charAt(i) - 'a']--;\n }\n if (isArrayEmpty(freq)) {\n return true;\n }\n\n for (int i = len1; i < len2; ++i) {\n freq[s2.charAt(i) - 'a']--;\n freq[s2.charAt(i - len1) - 'a']++;\n if (isArrayEmpty(freq)) {\n return true;\n }\n }\n return false;\n }",
"boolean contains(String value);",
"public static void main(String[] a){\n System.out.println(\"abc\".contains(\"a\"));//Verdadero\n\tSystem.out.println(\"abc\".contains(\"B\")); //Falso\n }",
"boolean belongsTo(String stringa) {\n\t\t stringGenerator.reinit();\n\t\t String current;\n\t\t do {\n\t\t\t current = stringGenerator.next();\n\t\t\t if (ric.belongsTo(current)) {\n\t\t\t\t if(current.equals(stringa)){\n\t\t\t\t \treturn true;\n\t\t\t\t }\n\t\t\t\t if(SLO.compare(current, stringa) > 0){\n\t\t\t\t \treturn false;\n\t\t\t\t }\n\t\t\t }\n\t\t }while (true);\n\t}",
"public static boolean searchItemInList(String text, List<IStringField> list){\n for(IStringField item : list){\n if(item.getStrValue().equals(text)){\n return true;\n }\n }\n return false;\n }"
]
| [
"0.68409455",
"0.6215611",
"0.6161457",
"0.6133119",
"0.6133119",
"0.6133119",
"0.59894645",
"0.59720945",
"0.59363633",
"0.5933077",
"0.5824974",
"0.58187085",
"0.58100516",
"0.5793222",
"0.5773933",
"0.57527435",
"0.5740498",
"0.5738124",
"0.57380855",
"0.57257605",
"0.57257605",
"0.57257605",
"0.57257605",
"0.57257605",
"0.57257605",
"0.57147044",
"0.56808853",
"0.56808853",
"0.56439424",
"0.56030303",
"0.5595409",
"0.55942565",
"0.5590802",
"0.5589506",
"0.556436",
"0.5563328",
"0.5551795",
"0.5537851",
"0.5533557",
"0.5529623",
"0.5515052",
"0.55087304",
"0.55086374",
"0.5493766",
"0.54908276",
"0.548739",
"0.5485629",
"0.5484494",
"0.5473594",
"0.54710346",
"0.5470997",
"0.5459698",
"0.544383",
"0.5437705",
"0.54265606",
"0.54264915",
"0.54195726",
"0.54179156",
"0.5404208",
"0.54017764",
"0.53913325",
"0.5383581",
"0.5380912",
"0.5380051",
"0.53755075",
"0.537077",
"0.53642124",
"0.5358579",
"0.53568226",
"0.5355281",
"0.5353232",
"0.53512156",
"0.53466946",
"0.5343553",
"0.53238386",
"0.5322012",
"0.5318298",
"0.53083557",
"0.53059053",
"0.53013957",
"0.5300103",
"0.528703",
"0.5281186",
"0.52741617",
"0.5270171",
"0.5269385",
"0.52685213",
"0.52671295",
"0.5260076",
"0.52560616",
"0.5253471",
"0.52486485",
"0.5248411",
"0.52484006",
"0.52414274",
"0.52304506",
"0.52278376",
"0.5224926",
"0.5222495",
"0.52154267",
"0.52059233"
]
| 0.0 | -1 |
Inflate the menu; this adds items to the action bar if it is present. | @Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.menu_set_location, menu);
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.actions, menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tgetMenuInflater().inflate(R.menu.actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.actions_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_actions, menu);\n\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\tinflater.inflate(R.menu.action_bar_menu, menu);\r\n\t\tmMenu = menu;\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.act_bar_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_actions, menu);\r\n\t\treturn true;\r\n //return super.onCreateOptionsMenu(menu);\r\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\r\n\t inflater.inflate(R.menu.action_bar_all, menu);\r\n\t return super.onCreateOptionsMenu(menu);\r\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\t super.onCreateOptionsMenu(menu);\n\t\tMenuInflater muu= getMenuInflater();\n\t\tmuu.inflate(R.menu.cool_menu, menu);\n\t\treturn true;\n\t\t\n\t\t\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.adventure_archive, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.archive_menu, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n \tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n \t\tinflater.inflate(R.menu.main, menu);\n \t\tsuper.onCreateOptionsMenu(menu, inflater);\n \t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.action_menu, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater bow=getMenuInflater();\n\t\tbow.inflate(R.menu.menu, menu);\n\t\treturn true;\n\t\t}",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.action_menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\t\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\t\t\n\t\t/* Inflate the menu; this adds items to the action bar if it is present */\n\t\tgetMenuInflater().inflate(R.menu.act_main, menu);\t\t\n\t\treturn true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflate = getMenuInflater();\n inflate.inflate(R.menu.menu, ApplicationData.amvMenu.getMenu());\n return true;\n }",
"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.menu, menu);\n\t\t\treturn true; \n\t\t\t\t\t\n\t\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.main, menu);\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) \n {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_bar, menu);\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_item, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.menu, menu);\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t \n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\t//menu.clear();\n\t\tinflater.inflate(R.menu.soon_to_be, menu);\n\t\t//getActivity().getActionBar().show();\n\t\t//getActivity().getActionBar().setBackgroundDrawable(\n\t\t\t\t//new ColorDrawable(Color.rgb(223, 160, 23)));\n\t\t//return true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n this.getMenuInflater().inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.main, menu);\n }",
"@Override\n\tpublic void onCreateOptionsMenu( Menu menu, MenuInflater inflater )\n\t{\n\t\tsuper.onCreateOptionsMenu( menu, inflater );\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}",
"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\r\n \t// We must call through to the base implementation.\r\n \tsuper.onCreateOptionsMenu(menu);\r\n \t\r\n MenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_menu, menu);\r\n\r\n return true;\r\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater= getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.inter_main, menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.action, menu);\n\t\treturn true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu (Menu menu){\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.custom_action_bar, menu);\n\t\treturn true;\n\t}",
"public void initMenubar() {\n\t\tremoveAll();\n\n\t\t// \"File\"\n\t\tfileMenu = new FileMenuD(app);\n\t\tadd(fileMenu);\n\n\t\t// \"Edit\"\n\t\teditMenu = new EditMenuD(app);\n\t\tadd(editMenu);\n\n\t\t// \"View\"\n\t\t// #3711 viewMenu = app.isApplet()? new ViewMenu(app, layout) : new\n\t\t// ViewMenuApplicationD(app, layout);\n\t\tviewMenu = new ViewMenuApplicationD(app, layout);\n\t\tadd(viewMenu);\n\n\t\t// \"Perspectives\"\n\t\t// if(!app.isApplet()) {\n\t\t// perspectivesMenu = new PerspectivesMenu(app, layout);\n\t\t// add(perspectivesMenu);\n\t\t// }\n\n\t\t// \"Options\"\n\t\toptionsMenu = new OptionsMenuD(app);\n\t\tadd(optionsMenu);\n\n\t\t// \"Tools\"\n\t\ttoolsMenu = new ToolsMenuD(app);\n\t\tadd(toolsMenu);\n\n\t\t// \"Window\"\n\t\twindowMenu = new WindowMenuD(app);\n\n\t\tadd(windowMenu);\n\n\t\t// \"Help\"\n\t\thelpMenu = new HelpMenuD(app);\n\t\tadd(helpMenu);\n\n\t\t// support for right-to-left languages\n\t\tapp.setComponentOrientation(this);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater blowUp=getMenuInflater();\n\t\tblowUp.inflate(R.menu.welcome_menu, menu);\n\t\treturn true;\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.listing, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.item, menu);\n return true;\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.resource, menu);\n\t\treturn true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater= getMenuInflater();\n inflater.inflate(R.menu.menu,menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.home_action_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.template, menu);\n\t\treturn true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n Log.d(\"onCreateOptionsMenu\", \"create menu\");\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.socket_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_menu, menu);//Menu Resource, Menu\n\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actionbar, menu);\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(toolbar_res, menu);\n updateMenuItemsVisibility(menu);\n return true;\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t// \n\t\tMenuInflater mi = getMenuInflater();\n\t\tmi.inflate(R.menu.thumb_actv_menu, menu);\n\t\t\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }",
"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}",
"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}",
"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.swag_list_activity_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\n\t\treturn true;\n\t}",
"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.jarvi, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"public void onCreateOptionsMenu(Menu menu, MenuInflater inflater){\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater menuInflater) {\n menuInflater.inflate(R.menu.main, menu);\n\n }",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.add__listing, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actmain, menu);\r\n return true;\r\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.buat_menu, menu);\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.layout.menu, menu);\n\t\treturn true;\n\t}",
"@Override\npublic boolean onCreateOptionsMenu(Menu menu) {\n\n\t\n\t\n\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\n\treturn super.onCreateOptionsMenu(menu);\n}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.ichat, menu);\n\t\treturn true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater)\n\t{\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\tinflater.inflate(R.menu.expenses_menu, menu);\n\t}",
"@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}",
"@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}",
"@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.action_bar, menu);\n return true;\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater blowUp = getMenuInflater();\n\t\tblowUp.inflate(R.menu.status, menu);\n\t\treturn true;\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.menu, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.ui_main, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_activity_actions, menu);\n return true;\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }"
]
| [
"0.7246102",
"0.7201358",
"0.7194834",
"0.7176498",
"0.71066517",
"0.7039537",
"0.7037961",
"0.70112145",
"0.70094734",
"0.69807225",
"0.6944953",
"0.69389373",
"0.6933199",
"0.6916928",
"0.6916928",
"0.6891486",
"0.68831646",
"0.68754137",
"0.68745375",
"0.68621665",
"0.68621665",
"0.68621665",
"0.68621665",
"0.68515885",
"0.68467957",
"0.68194443",
"0.6817494",
"0.6813087",
"0.6813087",
"0.6812847",
"0.6805774",
"0.6801204",
"0.6797914",
"0.6791314",
"0.6789091",
"0.67883503",
"0.6783642",
"0.6759701",
"0.6757412",
"0.67478645",
"0.6744127",
"0.6744127",
"0.67411774",
"0.6740183",
"0.6726017",
"0.6723245",
"0.67226785",
"0.67226785",
"0.67208904",
"0.67113477",
"0.67079866",
"0.6704564",
"0.6699229",
"0.66989094",
"0.6696622",
"0.66952467",
"0.66865396",
"0.6683476",
"0.6683476",
"0.6682188",
"0.6681209",
"0.6678941",
"0.66772443",
"0.6667702",
"0.66673946",
"0.666246",
"0.6657578",
"0.6657578",
"0.6657578",
"0.6656586",
"0.66544783",
"0.66544783",
"0.66544783",
"0.66524047",
"0.6651954",
"0.6650132",
"0.66487855",
"0.6647077",
"0.66467404",
"0.6646615",
"0.66464466",
"0.66449624",
"0.6644209",
"0.6643461",
"0.6643005",
"0.66421187",
"0.6638628",
"0.6634786",
"0.6633529",
"0.6632049",
"0.6632049",
"0.6632049",
"0.66315657",
"0.6628954",
"0.66281766",
"0.6627182",
"0.6626297",
"0.6624309",
"0.6619582",
"0.6618876",
"0.6618876"
]
| 0.0 | -1 |
Create a method that will accept a String ArrayList and return the largest Palindrome String from it => Assume there is no Strings with the same length and there will be at least one element > "dad" "abcab", "racecar","cat" | public static void main(String[] args) {
ArrayList<String> list = new ArrayList<>(Arrays.asList("racecar","dad","abcab","cat","level","Kayak"));
System.out.println(largestPalindrome(list));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static String maxString(ArrayList<String> array){\n \n String max = \"\";\n for(String s:array){\n \n if(s.length() > max.length()){\n max = s;\n }\n }\n return max;\n }",
"public String longestPalindrome(String s) {\n // string to hold the current max\n String max = \"\";\n // deal with edge cases where it is either empty or one letter\n if(s.length() < 2){\n return s;\n }\n // go through each possible string\n for(int i = 0; i < s.length(); ++i){\n \n for(int j = i + 1; j <= s.length(); ++j){\n // if the reversed substring is equal, its a palindrome \n if(s.substring(i,j).equals(reverse(s.substring(i,j)))){\n // if it is greater than the current max's length, it is the new max\n if(s.substring(i,j).length() > max.length() ){\n max = s.substring(i,j);\n }\n }\n }\n }\n // give them back the max\n return max;\n }",
"private static int longestString(List<String> arr) {\n\t\tList<String> ll=new ArrayList();\r\n\t\tlongestString(arr,0,\"\",ll);\r\n\t\tint max=0;\r\n\t\tfor(String a:ll) {\r\n\t\t\tint len=a.length();\r\n\t\t\tif(len>max) {\r\n\t\t\t\tmax=len;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn max;\r\n\t}",
"public String longestPalindrome(String s) {\n String ans = \"\";\n int maxLen = 0;\n for (int i = 0; i < s.length(); i++) {\n int[] pair = expand(s, i, i);\n if (pair[1] - pair[0] + 1 > maxLen) {\n maxLen = pair[1] - pair[0] + 1;\n ans = s.substring(pair[0], pair[1] + 1);\n }\n pair = expand(s, i, i + 1);\n if (pair[1] - pair[0] + 1 > maxLen) {\n maxLen = pair[1] - pair[0] + 1;\n ans = s.substring(pair[0], pair[1] + 1);\n }\n }\n return ans;\n }",
"public int maxLength(List<String> arr) {\n\n List<String> results = new ArrayList<>();\n\n results.add(\"\");\n\n for (String word : arr) {\n if (!isValid(word)) continue;\n\n List<String> tempResults = new ArrayList<>();\n for (String result : results) {\n String candidate = result + word;\n if (isValid(candidate)) tempResults.add(candidate);\n }\n results.addAll(tempResults);\n }\n\n String result = results.stream().max(Comparator.comparingInt(String::length)).orElse(\"\");\n\n return result.length();\n }",
"public void biggestPalindromeNumber() {\n\t\tint temp = 0;\n\t\tfor (int i = 0; i < palindromeNumbers.size(); i++) {\n\t\t\tfor (int j = 1; j < palindromeNumbers.size(); j++) {\n\t\t\t\tif (palindromeNumbers.get(j) > palindromeNumbers.get(i)) {\n\t\t\t\t\ttemp = palindromeNumbers.get(j);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"Largest Palindrome : \" + temp);\n\t}",
"public static void main(String[] args) {\n\n\n List<String> d = new ArrayList<>();\n d.add(\"ba\");\n d.add(\"ab\");\n d.add(\"a\");\n d.add(\"b\");\n System.out.println(findLongestWord(\"bab\", d));\n\n\n System.out.println(findLongestWord(\"aewfafwafjlwajflwajflwafj\", Arrays.asList(new String[]{\"apple\", \"ewaf\", \"awefawfwaf\", \"awef\", \"awefe\", \"ewafeffewafewf\"})));\n System.out.println(findLongestWord(\"apple\", Arrays.asList(new String[]{\"zxc\", \"vbn\"})));\n\n\n }",
"public String longestPalindrome(String s) {\n if(s.length() < 2) return s;\n\n for(int i = 0; i < s.length(); i++){\n isValidPalindrome(s, i, i);\n isValidPalindrome(s, i, i + 1);\n }\n return s.substring(start, maxLen + start);\n }",
"public String longestItemInList (String [] list, int count){\n \n String longestWord = list[0];\n \n for(int i = 0; i < count; i++){\n \n if (list[i].length() > longestWord.length())\n longestWord = list[i];\n \n }//End for loop\n \n return longestWord;\n }",
"public String longest(List<String> list){\n\t\tIterator<String> itr = list.iterator();\n\t\tString longest= itr.next();\n\t\twhile(itr.hasNext()){\n\t\t\tString a=itr.next();\n\t\t\tif(longest.length()<a.length()){\n\t\t\t\tlongest=a;\n\t\t\t}\n\t\t}\n\t\treturn longest;\n\t}",
"public String longestPalindrome(String s) {\n int start = 0;\n int end = 0;\n for (int i = 0; i < s.length(); i++) {\n int len1 = expand(s, i, i);\n int len2 = expand(s, i, i + 1);\n int len = Math.max(len1, len2);\n if (len > end - start) {\n start = i - (len - 1) / 2;\n end = i + len / 2;\n }\n }\n return s.substring(start, end + 1);\n }",
"static String longestPalin(String str) {\n\t\t// to check last word for palindrome\n\t\tstr = str + \" \";\n\n\t\t// to store each word\n\t\tString longestword = \"\", word = \"\";\n\n\t\tint length, length1 = 0;\n\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\tchar ch = str.charAt(i);\n\n\t\t\t// extracting each word\n\t\t\tif (ch != ' ')\n\t\t\t\tword = word + ch;\n\t\t\telse {\n\t\t\t\tlength = word.length();\n\t\t\t\tif (checkPalin(word) && length > length1) {\n\t\t\t\t\tlength1 = length;\n\t\t\t\t\tlongestword = word;\n\t\t\t\t}\n\n\t\t\t\tword = \"\";\n\t\t\t}\n\t\t}\n\n\t\treturn longestword;\n\t}",
"static void largestPalindrome(String s)\n{\n // String length\n int l = s.length();\n \n // map that marks the occurrence\n // of a number\n HashMap<Integer,\n Integer> m = new HashMap<>();\n \n for (int i = 0; i < l; i++)\n if(m.containsKey(s.charAt(i) - '0'))\n m.put(s.charAt(i) - '0',\n m.get(s.charAt(i) - '0') + 1);\n else\n m.put(s.charAt(i) - '0', 1);\n \n // check the possibility of a\n // palindromic number\n if (possibility(m, l, s) == false)\n {\n System.out.print(\"Palindrome cannot be formed\");\n return;\n }\n \n // String array that stores\n // the largest permuted\n // palindromic number\n char []largest = new char[l];\n \n // pointer of front\n int front = 0;\n \n // greedily start from 9 to 0\n // and place the greater number\n // in front and odd in the middle\n for (int i = 9; i >= 0; i--)\n {\n // if the occurrence of\n // number is odd\n if (m.containsKey(i) &&\n m.get(i)%2==1)\n {\n // place one odd occurring\n // number in the middle\n largest[l / 2] = (char)(i + 48);\n \n // decrease the count\n m.put(i, m.get(i)-1);\n \n // place the rest of\n // numbers greedily\n while (m.get(i) > 0)\n {\n largest[front] = (char)(i + 48);\n largest[l - front - 1] =\n (char)(i + 48);\n m.put(i, m.get(i) - 2);\n front++;\n }\n }\n else\n {\n // if all numbers occur even\n // times, then place greedily\n while (m.containsKey(i) &&\n m.get(i) > 0)\n {\n // place greedily at front\n largest[front] = (char)(i + 48);\n largest[l - front - 1] =\n (char)(i + 48);\n \n // 2 numbers are placed,\n // so decrease the count\n m.put(i, m.get(i) - 2);\n \n // increase placing position\n front++;\n }\n }\n }\n \n // print the largest String\n // thus formed\n for (int i = 0; i < l; i++)\n System.out.print(largest[i]);\n}",
"static int maxPalindrome(Node head) {\n\t\tint result = 0;\n\t\tNode prev = null, curr = head;\n\n\t\t// loop till the end of the linked list\n\t\twhile (curr != null) {\n\t\t\t// The sublist from head to current\n\t\t\t// reversed.\n\t\t\tNode next = curr.next;\n\t\t\tcurr.next = prev;\n\n\t\t\t// check for odd length\n\t\t\t// palindrome by finding\n\t\t\t// longest common list elements\n\t\t\t// beginning from prev and\n\t\t\t// from next (We exclude curr)\n\t\t\tresult = Math.max(result, 2 * countCommon(prev, next) + 1);\n\n\t\t\t// check for even length palindrome\n\t\t\t// by finding longest common list elements\n\t\t\t// beginning from curr and from next\n\t\t\tresult = Math.max(result, 2 * countCommon(curr, next));\n\n\t\t\t// update prev and curr for next iteration\n\t\t\tprev = curr;\n\t\t\tcurr = next;\n\t\t}\n\t\treturn result;\n\t}",
"private static String longestPalindrome (String s) {\n\n if (s.length() == 1) {\n return s;\n }\n String returnString = \"\";\n for (int mid = 1; mid < s.length() * 2 - 1; mid++) {\n int i, j;\n if (mid % 2 == 0) {\n i = (mid / 2) - 1;\n j = (mid / 2);\n int currentSize = 2;\n while (i >= 0 && j < s.length() && s.charAt(i) == s.charAt(j)) {\n i--;\n j++;\n currentSize += 2;\n }\n if (currentSize - 2 > returnString.length()) {\n returnString = s.substring(i+1, j);\n }\n } else {\n i = j = mid / 2;\n int currentSize = 1;\n while (i >= 0 && j < s.length() && s.charAt(i) == s.charAt(j)) {\n i--;\n j++;\n currentSize += 2;\n }\n if (currentSize - 2 > returnString.length()) {\n returnString = s.substring(i+1, j);\n }\n }\n }\n return returnString;\n }",
"public static void main(String[] args) {\n SolutionDp solution = new SolutionDp();\n System.out.println(solution.longestPalindrome(\"babad\"));\n System.out.println(solution.longestPalindrome(\"cbbd\"));\n System.out.println(solution.longestPalindrome(\"a\"));\n System.out.println(solution.longestPalindrome(\"ac\"));\n System.out.println(solution.longestPalindrome(\"aaabaaaa\"));\n System.out.println(solution.longestPalindrome(\"1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111\"));\n }",
"public static void getLongestPalindrome(char[] a) {\n\n int leftBound = 0, rightBound = 0;\n\n for (int i = 0; i < a.length; i++) {\n\n // Odd length palindrome\n leftBound = i - 1;\n rightBound = i + 1;\n int length = 0;\n while (leftBound >= 0 && rightBound < a.length && a[leftBound] == a[rightBound]) {\n if (maxLength < (rightBound - leftBound + 1)) {\n maxLength = (rightBound - leftBound + 1);\n start = leftBound;\n }\n --leftBound;\n ++rightBound;\n }\n\n // Even length palindrome\n leftBound = i - 1;\n rightBound = i;\n length = 0;\n while (leftBound >= 0 && rightBound < a.length && a[leftBound] == a[rightBound]) {\n if (maxLength < (rightBound - leftBound + 1)) {\n maxLength = (rightBound - leftBound + 1);\n start = leftBound;\n }\n --leftBound;\n ++rightBound;\n }\n\n }\n }",
"public String longestPalindrome(String s) {\n int len = s.length();\n if (len <= 1) {\n return s;\n }\n char[] chars = s.toCharArray();\n boolean[][] dp = new boolean[len][len];\n int begin = 0;\n int end = 0;\n int subLen = 1;\n for (int j = 1; j < len; j++) {\n for (int i = 0; i < j; i++) {\n if (chars[i] == chars[j]) {\n dp[i][j] = (j - i < 3) || dp[i + 1][j - 1];\n } else {\n dp[i][j] = false;\n }\n if (dp[i][j]) {\n if (j - i + 1 > subLen) {\n subLen = j - i + 1;\n begin = i;\n end = j;\n }\n }\n }\n }\n return s.substring(begin, end + 1);\n }",
"public String longestWord(String[] words) {\n String ans = \"\";\n\n Set<String> wordSet = new HashSet<String>();\n for (String w : words) {\n wordSet.add(w);\n }\n\n for (String w : words) {\n if (isValidWord(w, wordSet)) {\n System.out.println(w);\n if (w.length() > ans.length()) {\n ans = w;\n } else if (w.length() == ans.length() && w.compareTo(ans) > 0) {\n ans = w;\n }\n }\n }\n\n return ans;\n }",
"public static Object findLongestWord(List<String> words) {\n\t\tint longString = 0;\n\t\tString s= \"\";\n\t\tfor (int i = 0; i < words.size(); i++) {\n\t\t\tif (words.get(i).length()>longString) {\n\t\t\tlongString=words.get(i).length();\n\t\t\t\n\t\t\ts = words.get(i);\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\treturn s;\n\t\t//return null;\n\t}",
"public static void sortStringsLonger( ArrayList<String> lst )\n {\n PredicateStringPair p = (a, b) -> {\n if (a.length() > b.length()) return true;\n else return false;\n };\n sortStrings(lst, p);\n\n }",
"static String biggerIsGreater(String w) {\n int l = w.length();\n String[] strs = new String[w.length()];\n for (int i = 0; i < l; i++) {\n strs[i] = w.charAt(i)+\"\";\n }\n\n Arrays.sort(strs, Collections.reverseOrder());\n StringBuffer maxString = new StringBuffer();\n for (int i = 0; i < l; i++) {\n maxString.append(strs[i]);\n }\n StringBuffer s = new StringBuffer(w);\n if(s.toString().equals(maxString)){\n return \"no answer\";\n }\n boolean found = false;\n int i = l-1;\n int j = 0;\n while(!found && i>0 && s.toString().compareTo(maxString.toString()) <0){\n char qi = s.charAt(i);\n for (j = i-1; j >=0 ; j--) {\n char qj = s.charAt(j);\n if(qi > qj){\n s.setCharAt(i, qj);\n s.setCharAt(j, qi);\n found = true;\n break;\n }\n }\n i--;\n }\n String res = sort(s.toString(), j+1, s.length(), false);\n\n return found?res:\"no answer\";\n\n }",
"public static void main(String[] args) {\n String test = \"a\";\n String result = longestPalindrome(test);\n System.out.println(result);\n }",
"public static String longestPalindrome(String s) {\n\t\tif (s == null)\n\t\t\treturn \"\";\n\t\tif (s.length() == 1)\n\t\t\treturn s;\n\t\tboolean[][] isPalindrome = new boolean[s.length()][s.length()];\n\t\tfor (int i = 0; i < isPalindrome.length; i++) {\n\t\t\tisPalindrome[i][i] = true;\n\t\t\tif (i + 1 < isPalindrome.length) {\n\t\t\t\tif (s.charAt(i) == s.charAt(i + 1)) {\n\t\t\t\t\tisPalindrome[i][i + 1] = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int l = 3; l <= s.length(); l++) {\n\t\t\tfor (int i = 0; i < s.length() - l + 1; i++) {\n\t\t\t\tint j = i + l - 1;\n\t\t\t\tif (s.charAt(i) == s.charAt(j) && isPalindrome[i + 1][j - 1])\n\t\t\t\t\tisPalindrome[i][j] = true;\n\t\t\t\telse\n\t\t\t\t\tisPalindrome[i][j] = false;\n\t\t\t}\n\t\t}\n\t\tint start = 0;\n\t\tint end = 0;\n\t\tfor (int i = 0; i < isPalindrome.length; i++) {\n\t\t\tfor (int j = i; j < isPalindrome.length; j++) {\n\t\t\t\tif (isPalindrome[i][j]) {\n\t\t\t\t\tif (j - i > end - start) {\n\t\t\t\t\t\tstart = i;\n\t\t\t\t\t\tend = j;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn s.substring(start, end + 1);\n\t}",
"public static String longestPalindrome(String str) {\n\t\tString longest = \"\";\n\t\tfor(int i=0; i<str.length()-1; i++) {\n\t\t\tString s1 = expandAroundCenter(str, i, i); // Expand around a character\n\t\t\tif(s1.length() > longest.length()) {\n\t\t\t\tlongest = s1;\n\t\t\t}\n\n\t\t\tString s2 = expandAroundCenter(str, i, i+1); // Expand between two characters\n\t\t\tif(s2.length() > longest.length()) {\n\t\t\t\tlongest = s2;\n\t\t\t}\n\t\t}\n\n\t\treturn longest;\n\t}",
"public String findLongestWord(String s, List<String> d) {\n \n String ret = \"\";\n for(String str : d) {\n int j = 0;\n for(int i=0;i<s.length() && j <str.length(); i++) {\n if(str.charAt(j) == s.charAt(i)) {\n j++;\n }\n }\n \n if(j == str.length()) {\n if(ret.length() < j || (ret.length() == j && ret.compareTo(str) > 0)) {\n ret = str;\n }\n }\n }\n \n return ret;\n }",
"public static String findLongestWord(List<String> words) {\n\t\tString longestWord = words.get(0);\n\tfor (int i = 0; i < words.size(); i++) {\n\t\tif (words.get(i).length() > longestWord.length()) {\n\t\t\tlongestWord = words.get(i);\n\t\t\tbreak;\n\t\t}\n\t}\n\t\treturn longestWord;\n\t}",
"public String findLongestWord(String s, List<String> d) {\n String ans = new String();\n for(String word : d)\n {\n if(word.length() < ans.length() || word.length() > s.length()\n || (word.length() == ans.length() && word.compareTo(ans) > 0))\n continue; //Special case, no need to check.\n \n if(isSubSequence(s, word) && betterAns(word, ans))\n ans = word;\n }\n return ans;\n }",
"public static String LongestPalindromeImprove(String in){\r\n\t\tchar[] input = in.toCharArray();\r\n\t\tint longestStart = 0;\r\n\t\tint longestEnd = 0;\r\n\t\t// now the key is to scan from mid to both ends\r\n\t\tfor(int mid=0; mid<input.length;mid++) // we name it as mid for easy interpretation\r\n\t\t{\r\n\t\t\t//for odd case\r\n\t\t\tint left = mid;\r\n\t\t\tint right = mid; // for example 12321 when we chosse 3 as mid\r\n\t\t\twhile(left>=0 && right<input.length)// make sure both indexes are valid\r\n\t\t\t{\r\n\t\t\t\tif(input[left] ==input[right])// if still palindrome mathc by one step further each loop cycle\r\n\t\t\t\t{\r\n\t\t\t\t\t//we need decide if to update global start/end\r\n\t\t\t\t\tif(right-left>longestEnd-longestStart)//the longer is found!\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tlongestStart = left;\r\n\t\t\t\t\t\tlongestEnd = right;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\tleft--;\r\n\t\t\t\tright++;\r\n\t\t\t}\r\n\t\t\t//well for even case wee need replicate the previous code by makig one change\r\n\t\t\tleft = mid;\r\n\t\t\tright = mid+1; // for example 123321 when choose 33 as mid\r\n\t\t\twhile(left>=0 && right<input.length)// make sure both indexes are valid\r\n\t\t\t{\r\n\t\t\t\tif(input[left] ==input[right])// if still palindrome mathc by one step further each loop cycle\r\n\t\t\t\t{\r\n\t\t\t\t\t//we need decide if to update global start/end\r\n\t\t\t\t\tif(right-left>longestEnd-longestStart)//the longer is found!\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tlongestStart = left;\r\n\t\t\t\t\t\tlongestEnd = right;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\tleft--;\r\n\t\t\t\tright++;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn in.substring(longestStart, longestEnd+1);//notice we play with all valid indexes for longestEnd whine substring method reuturn the index not valid\r\n\t}",
"public static int longestPalindromeDP(String str) {\n\t\tint n = str.length();\n\n\t\t// Memo[i][j] where i is the starting character, j is the last character\n\t\tboolean memo[][] = new boolean[n][n];\n\t\tint maxLength = 1;\n\t\tint start = 0;\n\t\tint end = 0;\n\n\t\t// One character is considered a palindrome\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tmemo[i][i] = true;\n\t\t}\n\n\t\t// Checking if two consecutives characters are palindrome\n\t\tfor(int i=0; i<n-1; i++) {\n\t\t\tif(str.charAt(i) == str.charAt(i+1)) {\n\t\t\t\tmemo[i][i+1] = true;\n\t\t\t\tmaxLength = 2;\n\t\t\t\tstart = i;\n\t\t\t\tend = i+1;\n\t\t\t}\n\t\t}\n\n\t\t// If a palindrome is surrounded by two same characters then it is a palindrome\n\t\tfor(int l=2; l<n; l++) { // Length of substring\n\t\t\tfor(int i=0; i<n-l; i++) { // Check all substrings of length l\n\t\t\t\tif(memo[i+1][l-1+i] && str.charAt(i) == str.charAt(l+i)) {\n\t\t\t\t\tmemo[i][l+i] = true;\n\t\t\t\t\tmaxLength = l+1;\n\t\t\t\t\tstart = i;\n\t\t\t\t\tend = l+i;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(str.substring(start, end+1));\n\t\treturn maxLength;\n\t}",
"public int findLUSlength(String[] strs) { //O(n^2) time. O(1) space.\r\n\t\tif (strs.length == 0)\r\n\t\t\treturn 0;\r\n\t\tint max = -1;\r\n\t\tint i = 0;\r\n\t\t// Arrays.sort(strs, (a,b) -> b.length() - a.length());\r\n\t\tfor (int j = 0; j < strs.length; j++) {\r\n\t\t\tfor (i = 0; i < strs.length; i++) {\r\n\t\t\t\tif (j == i || !isSubsequence(strs[j], strs[i]))\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\telse\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tif (i == strs.length)\r\n\t\t\t\tmax = Math.max(strs[j].length(), max);\r\n\t\t}\r\n\t\treturn max;\r\n\t}",
"private static int longestPalindromicSubsequence(String str1) {\n\t\tStringBuilder str2 = new StringBuilder(str1);\n\t\tstr2.reverse().toString();\n\t\tString strtemp = str2.toString(); \n\t\treturn LCSDP(str1,strtemp,str1.length(),str1.length());\n\t}",
"public static void findMaxPalindromeBruteForce(Palindrome palind){\n\t\tfor (long i = Main.topLimit; i > Main.lowLimit; i--){\n\t\t\tfor (long j = i; j > Main.lowLimit; j--){\n\t\t\t\tlong mult = i * j;\n\t\t\t\tif (mult > palind.getMaxMultipl() && isPalindrome(mult + \"\")){\n\t\t\t\t\tpalind.setMaxMultipl(mult);\n\t\t\t\t\tpalind.setIMax(i);\n\t\t\t\t\tpalind.setJMax(j);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"private static String largestNumber(String[] a) {\n String result = \"\";\n\n List<String> strArr = new ArrayList<>(Arrays.asList(a));\n\n// Collections.sort(strArr, Collections.reverseOrder());\n\n int longestNumberLength = 0;\n for (int i = 0; i < strArr.size(); i++) {\n if (strArr.get(i).length() > longestNumberLength) {\n longestNumberLength = strArr.get(i).length();\n }\n }\n\n int nDigit = 0;\n int maxNDigit = 0;\n int maxFirstDigit = 0;\n int maxSecondDigit = 0;\n int maxThirdDigit = 0;\n int maxFourthDigit = 0;\n int maxFifthDigit = 0;\n for (int i = 0; i < strArr.size(); i++) {\n if (strArr.get(i).length() >= nDigit + 1 && (strArr.get(i).charAt(nDigit) - '0') > maxNDigit) {\n maxNDigit = strArr.get(i).charAt(nDigit) - '0';\n }\n }\n\n List<String> maxNDigitNumbers = new ArrayList<>();\n\n for (int i = 0; i < strArr.size(); i++) {\n if (strArr.get(i).length() >= nDigit + 1 && (strArr.get(i).charAt(nDigit) - '0') == maxNDigit) {\n maxNDigitNumbers.add(strArr.get(i));\n }\n }\n\n\n// for (String s : maxNDigitNumbers) {\n// result = new StringBuilder().append(result).append(s).toString();\n// }\n\n return result;\n }",
"public String findLongestWord1(String s, List<String> d) {\r\n String res = \"\";\r\n for (String str : d){\r\n if (isMatch2(str, s) && isBetter(str, res)){\r\n res = str;\r\n }\r\n }\r\n return res;\r\n }",
"@Test\n\tpublic void eg1() {\n\t\tString s=\"babad\";\n\t\tSystem.out.println(longestPalindromicSubString(s));\n\t\t\n\t}",
"public static void main(String[] args) {\n String str = \"aa\";\n\n String s = longestPalindrome(str);\n System.out.println(s);\n }",
"public static int maxLength(String arr[])\n {\n int maxL = 0;\n for (String s:arr) {\n if(s.length()>maxL){\n maxL=s.length();\n }\n }\n return maxL;\n }",
"public static String getLastWord(ArrayList<String> s) {\n int i = s.size();\n return s.get(i - 1);\n }",
"private static String getMaxLength(String input) {\n\t\tif(null == input || \"\".equals(input)){\n\t\t\treturn \"输入不能为空\";\n\t\t}\n\t\tString regex = \"\\\\s+\";\n\t\tString[] strArry = input.split(regex);\n\t\tString temp = \"\";\n\t\tfor (int i = 0; i < strArry.length; i++) {\n\t\t\tif(strArry[i].length() > temp.length()){\n\t\t\t\ttemp = strArry[i];\n\t\t\t}\n\t\t}\n\t\t\n//\t\treturn removePunctuation(temp);\n\t\treturn temp;\n\t}",
"public String longestWord(String[] words) {\n PriorityQueue<String> queue = new PriorityQueue<>(new Comparator<String>() {\n @Override\n public int compare(String o1, String o2) {\n if (o1.length() > o2.length())\n return -1;\n else if (o1.length() == o2.length())\n return o1.compareTo(o2);\n else\n return 1;\n }\n });\n \n Set<String> set = new HashSet<>();\n for (String s : words) {\n set.add(s);\n queue.add(s);\n }\n \n while (!queue.isEmpty()) {\n String w = queue.poll();\n boolean res = true;\n for (int i = 1; i < w.length() ; i++) {\n String sub = w.substring(0, i);\n if (!set.contains(sub)) {\n res = false;\n break;\n }\n }\n if (res)\n return w;\n }\n \n return \"\";\n }",
"public static void main(String args[]){\n String s=\"abcabcbb\";\n String s1=\"bbbbb\";\n String s2=\"pwwkew\";\n System.out.println(solution(s));\n System.out.println(solution(s1));\n System.out.println(solution(s2));\n System.out.println(maxNonrepeatingstring(s));\n System.out.println(maxNonrepeatingstring(s1));\n System.out.println(maxNonrepeatingstring(s2));\n }",
"public static void findLongestSubPalindramic(String s) {\n\t\tchar[] arr = s.toCharArray();\n\t\tint begin = -1;\n\t\tint end;\n\t\tint temp_begin;\n\t\tint maxLength = -1;\n\t\tboolean[][] table = new boolean[1000][1000];\n\n\t\tfor (int i = 0; i < table.length; i++) {\n\t\t\ttable[i][i] = true;\n\t\t}\n\t\tfor (int i = 0; i < s.length() - 1; i++) {\n\t\t\tif (arr[i] == arr[i + 1]) {\n\t\t\t\ttable[i][i + 1] = true;\n\t\t\t\tbegin = i;\n\t\t\t\tmaxLength = 2;\n\t\t\t}\n\t\t}\n\t\tfor (int len = 2; len < arr.length; len++) {\n\t\t\tfor (int i = 0; i < arr.length - len + 1; i++) {\n\t\t\t\tint j = len + i - 1;\n\t\t\t\tif (table[i + 1][j - 1] && (arr[i] == arr[j])) {\n\t\t\t\t\ttable[i][j] = true;\n\t\t\t\t\tif (j - i + 1 > maxLength) {\n\t\t\t\t\t\tbegin = i;\n\t\t\t\t\t\tmaxLength = maxLength + 2;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"begin:\" + begin + \", length:\" + maxLength);\n\t}",
"public static String LongestPalindromeNaive(String in){\n\t\tchar[] input = in.toCharArray();\r\n\t\tint longestStart = 0;\r\n\t\tint longestEnd = 0;\r\n\t\t//now we arbitrarily select start and end\r\n\t\tfor(int start=0; start<input.length;start++){\r\n\t\t\tfor(int end = start+1; end<=input.length;end++)//note we add one to end since substring in java\r\n\t\t\t\t//ends with endindex-1\r\n\t\t\t{\r\n\t\t\t\tif(ifPalindrome(input,start,end-1))//in order to use our support method to access char in array, need to -1 \r\n\t\t\t\t{\r\n\t\t\t\t\t//if it is a longer palindrome we update our glable longest palindrome\r\n\t\t\t\t\tif(end-start>longestEnd-longestStart){\r\n\t\t\t\t\t\tlongestEnd = end;\r\n\t\t\t\t\t\tlongestStart = start;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t// after the loop we return the longest palindrome\r\n\t\treturn in.substring(longestStart, longestEnd);\r\n\t}",
"public static String findLongestPalindromeSubstring(String s, int len){\n\n // variable to store max len palindromic substring\n // \"\" .. means string at start is empty\n String max_str= \"\",curr_str;\n\n // variable to store max len of palindromic substring\n // 0 means at start len is 0\n int max_len=0,curr_len;\n\n // now string can have length EVEN and ODD so\n // EVEN has two midpoint ans ODD has one midpoint\n //so we have to check both condition of even and odd\n\n\n //and now we have to take midpoint at every charachter\n //in string one by one and check palindromic substring\n // so loop will take one by one character from string and set it as midpoint\n for (int i=0; i < len; i++)\n {\n //find longest odd length palindrome str[i] as midpoint\n //as length is odd high and low pointer is at same position i(which is midpoint)\n // (s,i,i) bcoz same position pointer high and low at midpoint\n curr_str = expand(s,i,i);\n curr_len = curr_str.length();\n\n //update the substring and length of substring\n\n if ( curr_len > max_len ){\n\n max_len = curr_len;\n max_str = curr_str;\n }\n\n // now find even length longest palindrom Str[i] and str[i+1] as midpoint\n // as length is even there are two midpoint position of low and high at str[i] and str[i+1]\n //(s,i,i+1) bcoz two pos of two pointer high and low\n curr_str = expand(s,i,i+1);\n curr_len = curr_str.length();\n\n //update the substring and its length\n\n if (curr_len > max_len )\n {\n max_str = curr_str;\n max_len = curr_len;\n }\n }\n return max_str;\n }",
"public int longestPalindrome(String s) {\n int[] map = new int[128];\n for(char c: s.toCharArray()) map[c]++;\n\n int ret = 0;\n boolean hasOdd = false;\n for(int i=0;i<128;i++){\n if(map[i] % 2 == 0) ret += map[i];\n else {\n ret += map[i]-1;\n hasOdd = true;\n }\n }\n return hasOdd? ret + 1: ret;\n }",
"static List<Integer> longestBouncyList(List<Integer> arr) {\n List<Integer> results = new ArrayList<>();\r\n results.add(arr.get(0));\r\n \r\n // If the 1 element is the lowest 2, add the first 2 elements \r\n List<Integer> test = new ArrayList<>();\r\n if (arr.get(0) < arr.get(1)) {\r\n test.add(arr.get(0));\r\n test.add(arr.get(1));\r\n }\r\n\r\n // Traverse the arr\r\n for (int i = 1; i < arr.size() - 1; i++) {\r\n\r\n if (((arr.get(i) > arr.get(i - 1)) && (arr.get(i) > arr.get(i + 1)))\r\n || ((arr.get(i) < arr.get(i - 1)) && (arr.get(i) < arr.get(i + 1)))) {\r\n\r\n if (test.isEmpty()) {\r\n test.add(arr.get(i - 1));\r\n test.add(arr.get(i));\r\n }\r\n\r\n test.add(arr.get(i + 1));\r\n\r\n if (i == arr.size() - 2) {\r\n results = compareList(test, results);\r\n }\r\n\r\n } else {\r\n\r\n results = compareList(test, results);\r\n \r\n test = new ArrayList<>();\r\n }\r\n\r\n }\r\n return results;\r\n }",
"public static void main(String[] args){\n\t\tString st = \"attabababab\"; \n\t\t// finding the longest pallindrome from the given sequence \n\t\tSystem.out.println(findlongestpalindrome(st));\n\t\t//System.out.println(ispalindrome1(\"atata\"));\n\t}",
"public static void main(String[] args) {\n String s = \"Human brain is a biological learning machine\";\n String [] word = s.split(\" \");\n String maxlethWord = \"\";\n for(int i = 0; i < word.length; i++){\n if(word[i].length() >= maxlethWord.length()){\n maxlethWord = word[i];\n }\n }\n System.out.println(\"The length and longest word : \"+maxlethWord);\n\n }",
"public static Set<String> findLongestString(Set<String> strings) {\n \t Set<String> longests = new HashSet<String>();\n \t String longest = \"\";\n \t longests.add(longest);\n \t if(strings != null) {\n \t // for each string\n \t for(String s : strings) {\n \t // if longer than longest seen before\n \t if(s.length() > longest.length()) {\n \t // clear previous results\n \t longests.clear();\n \t // now this is the longest\n \t longest = s;\n \t // add to results\n \t longests.add(longest);\n \t }\n \t // if equal length to longest seen before\n \t else if(s.length() == longest.length()) {\n \t // add to results\n \t longests.add(s);\n \t }\n \t }\n \t }\n \t return longests;\n \t}",
"public static String maxValue(String[] strArr) {\r\n\t\tString temp;\r\n\t\tint strArrLength = strArr.length;\r\n\t\tfor (int i = 0; i < strArr.length; i++) {\r\n\t\t\tfor (int j = i + 1; j < strArr.length; j++) {\r\n\t\t\t\tif (strArr[j].compareTo(strArr[i]) < 0) {\r\n\t\t\t\t\ttemp = strArr[j];\r\n\t\t\t\t\tstrArr[j] = strArr[i];\r\n\t\t\t\t\tstrArr[i] = temp;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn strArr[strArrLength - 1];\r\n\t}",
"public static void main(String[] args) {\n System.out.println(\"result = \" + new Main().findLongestPalindrome(\"abcdcbac\"));\n }",
"public int lengthOfLongestWord(){\n int n=0;\n for(int i=0;i<size();i++)\n if(get(i).length()>n)n=get(i).length();\n return n;\n }",
"public String getLongestWordFromTextField(String [] arr){\n\t\tString longestWord = \"\";\n\t\tint [] count= new int[arr.length];\n\t\t//for each element it stores the length of each element\n\t\tfor(int i = 0; i < count.length; i++){\n\t\t\tcount[i] = arr[i].length();\t\t\t\n\t\t}\n\t\t//sorts the array from smallest to largest numbers\n\t\tArrays.sort(count);\n\t\tint longestWordLength = count[count.length - 1];\n\t\t//finds the word with the longest number of characters and stores it\n\t\tfor(int a = 0 ; a < arr.length; a++){\n\t\t\tif(arr[a].length() == longestWordLength){\n\t\t\t\tlongestWord += arr[a];\n\t\t\t}\n\t\t}\n\t\treturn longestWord;\n\n\t}",
"@org.junit.Test\n\tpublic void testingStringlargestFromLast() {\n\t\tString result=object.largestWordInString(\"I live in Pune\");\n\t\tassertEquals(\"Pune\",result );\n\t}",
"public String longestPalindrome_DP(String s) {\n int n = s.length();\n boolean[][] isPa = new boolean[n][n];\n int lo = 0, hi = 0, maxLen = 1;\n for(int l = 1; l <= n; l++) {\n for(int i = 0; i <= n-l; i++) {\n int j = i + l - 1;\n if(i == j) {\n isPa[i][j] = true;\n } else {\n if(s.charAt(i) == s.charAt(j)) {\n if(j-i == 1 || isPa[i+1][j-1]) {\n isPa[i][j] = true;\n int len = j - i + 1;\n if(len > maxLen) {\n lo = i;\n hi = j;\n maxLen = len;\n }\n } else {\n isPa[i][j] = false;\n }\n } else {\n isPa[i][j] = false;\n }\n }\n }\n }\n return s.substring(lo, hi+1);\n }",
"public int longestPalindromeSubseq(String s) {\n return lps(s, 0, s.length() - 1);\n }",
"public static void longestFirst(List<String> list) {\n\t\tlist.sort((s1, s2) -> s2.length() - s1.length());\n\t}",
"public static void main(String[] args) {\n\t\tString string1 = \"acbdfbdfacb\";\n\t\tint length = string1.length();\n\t\tString[] sub = new String[length*(length+1)/2];\n\t\tint temp = 0;\n\t\tfor(int i =0;i<length;i++) {\n\t\t\tfor(int j = i;j<length;j++) {\n\t\t\t\tString parts = string1.substring(i,j+1);\n\t\t\t\tsub[temp] = parts;\n\t\t\t\ttemp++;\n\t\t\t}\n\t\t}\n\t\tfor(int j =0;j<sub.length;j++) {\n\t\t\tSystem.out.println(sub[j]);\n\t\t}\n\t\tArrayList<String> rep = new ArrayList<String>();\n\t\tfor(int i=0;i<sub.length;i++) {\n\t\t\tfor(int j =i+1;j<sub.length;j++) {\n\t\t\t\tif(sub[i].equals(sub[j])) {\n\t\t\t\t\trep.add(sub[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tint largestString = 0;\n\t\tSystem.out.println(rep);\n\t\tfor(int k =0;k<rep.size();k++) {\n\t\t\tif(rep.get(k).length()>largestString) {\n\t\t\t\tlargestString = rep.get(k).length();\n\t\t\t}\t\t\n\t\t}\n\t\tfor(int k =0;k<rep.size();k++) {\n\t\tif(rep.get(k).length()==largestString) {\n\t\t\tSystem.out.println(\"the longest repeating sequence in a string : \"+rep.get(k));\n\t\t}\n\t\t}\n\t}",
"public static void main(String[] args) {\n int n = 0; // Number of real palindromes\n String s = \"\"; // Longest real palindrome\n\n Scanner sc = new Scanner(System.in, \"UTF-8\");\n\n while (sc.hasNextLine()) {\n String word = sc.nextLine();\n\n if (isRealPalindrome(word)) {\n n += 1; // Increment number of palindromes\n if (word.length() > s.length()) {\n s = word; // Update longest palindrome found\n }\n }\n }\n\n if (!s.equals(\"\")) {\n System.out.println(n + \" \" + s); // If at least one palindrome has been\n // found, give the answer\n }\n }",
"public static String findPalliondrom(String str){\n if(str==null || \"\".equals(str)){\n return \"\";\n }\n String longestP = str.substring(0);\n\n\n\n return longestP;\n }",
"public static int LongestName () {\n int result = 0;\r\n\r\n // LOOP THROUGH THE PLAYERS\r\n for (int i = 0; i < player_count; i++) {\r\n // DID WE FIND A LONGER NAME?\r\n if (player[i].GetName().length() > result)\r\n result = player[i].GetName().length();\r\n }\r\n\r\n // RETURN THE RESULT\r\n return result;\r\n }",
"public static String mostLowerCase( List<String> strings ) {\n\t\treturn strings\n\t\t\t.stream()\n\t\t\t.max( Comparator.comparing(Exersice0607::countOfLowerCase) )\n\t\t\t.get();\n\t}",
"public String longestPalindrome_TwoPointers(String s) {\n assert s != null;\n int n = s.length();\n int start = 0, maxLen = 1;\n int i = 0;\n while (i < n) {\n if(2*(n-i) < maxLen) { break; }\n int lo = i, hi = i;\n //skip duplicates\n while(hi < n-1 && s.charAt(hi) == s.charAt(hi+1)) { hi++; }\n i = hi + 1;\n //expand palindrome\n while (lo > 0 && hi < n-1 && s.charAt(lo-1) == s.charAt(hi+1)) {\n lo--;\n hi++;\n }\n int curLen = hi - lo + 1;\n if (curLen > maxLen) {\n start = lo;\n maxLen = curLen;\n }\n }\n return s.substring(start, start+maxLen);\n }",
"public int longestPalindromeSubseqV2(String s) {\n int n = s.length();\n Integer[][] memo = new Integer[n][n];\n return helper(s, memo, 0, n - 1);\n }",
"public static void main(String[]args) {\n\tint max = 0;\r\n\r\n\tfor(int i = 999; i >= 900; i--) {\r\n\tfor(int j = 999; j >= 900; j--) {\r\n\t\tif(isPalindrome(i*j) && i*j > max) max = i*j;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tSystem.out.println(\"The largest palindrome made from the product of two 3-digit numbers: \" + max);\r\n\t}",
"private static int substringPalindromes(String input) {\n // To check for duplicate palidromes we store them in hashset\n HashSet<String> palindromes = new HashSet<>();\n for(int i=0;i<input.length();i++){\n // For palidromes with odd length\n checkPalindrome(input,i,i,palindromes);\n // For palidromes with even length\n checkPalindrome(input,i,i+1,palindromes);\n }\n return palindromes.size();\n }",
"static String[] group_palindromes(String[] list) {\n\n int locnt = 0;\n int hicnt = list.length - 1;\n\n while (locnt <= hicnt) {\n\n while (is_palindrome(list[locnt]))\n locnt++;\n\n while (!is_palindrome(list[hicnt]))\n hicnt--;\n\n if (locnt <= hicnt) {\n String tmp = list[locnt];\n list[locnt] = list[hicnt];\n list[hicnt] = tmp;\n locnt++;\n hicnt--;\n }\n }\n return list;\n }",
"public static List<String> getPalindromes(List<String> strings)\n {\n StringBuilder sb = new StringBuilder(); //used to reverse s\n List<String> result = new ArrayList<String>();\n\n /*Read the next line and strip case*/\n for (String s : strings)\n {\n sb.append(s).reverse(); //append the string to the (empty) StringBuilder and reverse it.\n if (s.equals(sb.toString()))\n {\n result.add(s);\n }\n /*We don't know the expected capacity, so we'll reuse the same StringBuilder instance\n * and reset the length. The backing array will only get bigger if more space needs to\n * be allocated.*/\n sb.setLength(0);\n }\n return result;\n }",
"public static void main(String[] args) {\n // TODO Auto-generated method stub\n String test = \"abcabcbb\";\n int result = LongestSubStringWithoutRepeatingCharacters.solution(test);\n System.out.println(result);\n }",
"final private int getNextPalindrome() {\n // array for 99999 = 9*10^0+9*10^1+9*10^2+9*10^3+9*10^4 is {9, 9, 9, 9, 9}\n\n // find centerIndex - to modify palindrome\n // (e. g. 998899 -> 997799, 20002 -> 19991, 10001 -> 9999)\n int centerIndex = last.size() / 2;\n decrementMirrorIndexesOfLast(centerIndex, last.size());\n\n return getLast();\n }",
"public static void main(String args[]){\n\n //even number of everything\n //odd number of 1 thing MAX\n\n //sort string\n //check subsequent chars to count their numbers until length -1\n //break if 2 odd number chars\n System.out.println(isPalindromePermutation(\"22334455asdfdsa66\"));\n\n\n }",
"@Test\n public void testStringList(){\n Stream<String> stringStream = Stream.of(\"Aasd\",\"ssd\",\"as\");\n Optional<String> max = stringStream\n .peek(System.out::println)\n .max(Comparator.comparing(name -> getCount(name)));\n System.out.println(max.get());\n }",
"static int alternate(String s) {\n HashMap<Character,Integer>mapCharacter = new HashMap<>();\n LinkedList<String>twoChar=new LinkedList<>();\n LinkedList<Character>arr=new LinkedList<>();\n Stack<String>stack=new Stack<>();\n int largest=0;\n int counter=0;\n if (s.length()==1){\n return 0;\n }\n\n for (int i =0; i<s.length();i++){\n if (mapCharacter.get(s.charAt(i))==null)\n {\n mapCharacter.put(s.charAt(i),1);\n }\n }\n\n Iterator iterator=mapCharacter.entrySet().iterator();\n while (iterator.hasNext()){\n counter++;\n Map.Entry entry=(Map.Entry)iterator.next();\n arr.addFirst((Character) entry.getKey());\n }\n\n for (int i=0;i<arr.size();i++){\n for (int j=i;j<arr.size();j++){\n StringBuilder sb =new StringBuilder();\n for (int k=0;k<s.length();k++){\n if (s.charAt(k)==arr.get(i)||s.charAt(k)==arr.get(j)){\n sb.append(s.charAt(k));\n }\n }\n twoChar.addFirst(sb.toString());\n }\n }\n\n\n for (int b=0;b<twoChar.size();b++){\n String elementIn=twoChar.get(b);\n stack.push(elementIn);\n\n for (int i=0;i<elementIn.length()-1;i++){\n\n if (elementIn.charAt(i)==elementIn.charAt(i+1)){\n stack.pop();\n break;\n }\n }\n }\n\n int stackSize=stack.size();\n\n for (int j=0;j<stackSize;j++){\n String s1=stack.pop();\n int length=s1.length();\n if (length>largest){\n largest=length;\n\n }\n }\n return largest;\n\n\n\n\n }",
"public static void main(String[] args)\n\t{\n\t\tString s= \"abcbaaaaaa\";\n\t\tSystem.out.println(longestPalindromicSubstring(s));\n\t}",
"private static void longestString(List<String> arr, int i, String ans, List<String> ll) {\n\t\tif(i==arr.size()) {\r\n\t\t\tll.add(ans);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tif(checkString(ans,arr.get(i))) {\r\n\t\t\tString s=arr.get(i);\r\n\t\t\tlongestString(arr,i+1,ans+s,ll);\r\n\t\t\tlongestString(arr,i+1,ans,ll);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tlongestString(arr,i+1,ans,ll);\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}",
"include<stdio.h>\nint main()\n{\n char t[1000]; \n scanf(\"%s\",t); \n \n int i,j,len; \n len=strlen(t); \n i=0; \n j=len-1; \n while(i<=j)\n {\n if(t[i]!=t[j])\n { break; } \n j--; i++;\n } \n \n if(i<j)\n printf(\"%s is not a palindrome\",t); \n else\n printf(\"%s is a palindrome\",t); \n \n return 0;\n}",
"public static void main(String[] args) {\n\t\tSystem.out.println(isPalindrome(\"abcsfscba\"));\n\t\tSystem.out.println(longestPalindrome2(\"abcsfscba\"));\n\t}",
"public static String longestSubsequence(String givenWord, String words[]){\n LinkedList<String> subSeqList = findSubsequence(givenWord, words);\n String longestSeq = \"\";\n for(String word : subSeqList){\n if(longestSeq.length() < word.length()){\n longestSeq = word;\n\n }\n }\n return longestSeq;\n }",
"public static void main(String[] args) {\n\n\t\tSystem.out.println(\"longest palindrome \" + longestPalin(\"123101321012458\"));\n\t}",
"public void maxSubString(String subString){\n String word = subString;//abc, bca, cab, abcd, bcd,cd,d\n Map<Character,Integer> testMap=new HashMap<>();\n testMap.clear();\n char [] cw=word.toCharArray();\n Map<String,Integer> stringMap=new HashMap<>();\n stringMap.clear();\n\n for(int i=0;i<word.length();i++){\n String addedStrings=\"\";\n for(int j=i;j<word.length();j++) {\n Character ch = cw[j];\n if (!testMap.containsKey(ch)) {\n testMap.put(ch, 1);\n addedStrings =addedStrings+String.valueOf(ch);\n if(j==word.length()-1){\n stringMap.put(addedStrings,addedStrings.length());\n testMap.clear();\n }\n } else {\n stringMap.put(addedStrings,addedStrings.length());\n testMap.clear();\n break;\n }\n }\n }\n Integer maxString=Collections.max(stringMap.values());\n System.out.println(\"MAX STRING---------------\"+maxString);\n for(Map.Entry<String,Integer> collectedString: stringMap.entrySet()){\n if(maxString==collectedString.getValue()){\n System.out.println(collectedString.getKey());\n System.out.println(\"********************************\");\n System.out.println(collectedString.getValue());\n }\n }\n }",
"public int lengthOfLongestSubstring(String s) {\n int i = 0, j = 0, max = 0;\n Set<Character> set = new HashSet<>();\n \n while (j < s.length()) {\n if (!set.contains(s.charAt(j))) {\n set.add(s.charAt(j++));\n max = Math.max(max, set.size());\n } else {\n set.remove(s.charAt(i++));\n }\n }\n \n return max;\n}",
"public static void main(String args[]) {\n\t\t\n\t\tString input = \"ABCD\";\n\t\t\n\t\t\n\t\t\n\t\tStringBuilder builder = new StringBuilder();\n\t\tfor (int counter=input.length()-1;counter>=0;counter--) {\n\t\t\tbuilder.append(input.charAt(counter));\t\t\t\n\t\t}\n\t\t\n\t\tString reverseString = builder.toString();\n\t\t\n\t\tif(input.equals(reverseString)) { // if(input == reverseString)\n\t\t\tSystem.out.println(\"Given string is a Palindrome\");\n\t\t} else {\n\t\t\tSystem.out.println(\"Given string is not a Palindrome\");\n\t\t}\n\t\t\n\t\t\n\t}",
"private static int solution2(String s) {\r\n int n = s.length();\r\n int ans = 0;\r\n for (int i = 0; i < n; i++)\r\n for (int j = i + 1; j <= n; j++)\r\n if (allUnique(s, i, j)) ans = Math.max(ans, j - i);\r\n return ans;\r\n }",
"public static String findMaxSubStringAlpha(String str) {\n if (!str.equals(\"\")) {\n\n // Loop to find the maximum alphabetical substring in\n // the substring array \n String s = \"\"; \n for (int i = 0; i < str.length(); ++i) { \n // Using the compareTo method to compare each substring in array\n // source : https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html\n if (s.compareTo(str.substring(i)) <= 0) { \n s = str.substring(i); \n // See how we get there\n System.out.println(\"The string is: \" + s);\n } \n } \n\n return s; \n } else {\n throw new IllegalArgumentException(\"Please input a valid string.\");\n }\n }",
"public static void function4(Set<String> stringSet) {\n System.out.println(\"4 - The maximum (the last in alphabetical order) string in the list is:\");\n System.out.println(stringSet.stream().max(Comparator.comparing(String::toString)).get());\n }",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String[] list = scanner.nextLine().split(\" \");\n int count = 0;\n for (int i = 0; i < list.length - 1; i++) {\n if (list[i + 1].compareTo(list[i]) >= 0) {\n count++;\n }\n }\n if (count == list.length - 1) {\n System.out.println(\"true\");\n } else {\n System.out.println(\"false\");\n }\n }",
"public static void main(String[] args){\n\t\tint largest = 0;\n\t\tfor(int i = max; i >= min; i--)\n\t\t\tfor(int j = max; j >= min; j--)\n\t\t\t\tif(i*j > largest && isPalindrome(i*j))//Don't bother checking for palindromimity if the product is smaller than the current largest.\n\t\t\t\t\tlargest = i*j;\n\t\tSystem.out.println(\"The palindrome is: \" + largest);\n\t\t\t\t\n\t}",
"public static void main(String[] args) {\n\t\t// Longest Palindromic Substring Part I\n\t\tString s = \"adfsdaffadada\";\n\t\tfindLongestSubPalindramic(s);\n\n\t\tSystem.out.println(findLongestSubPalindramic2(s));\n\t}",
"public static Object findLongestWord(List<String> words) {\n\t\treturn null;\n\t}",
"public static void main(String[] args) {\n\r\n\t\tString str1 = \"madam\";\r\n\t\tString str2 = \"\";\r\n\t\tfor(int i = str1.length()-1;i>=0;i--) {\t\r\n\t\t\tchar[] rev = str1.toCharArray();\r\n\t\t\tstr2 =str2+ rev[i];\r\n\t\t}\r\n\t\tif(str1.equals(str2))System.out.println(\"The \"+str1+\" is a Palindrome\");\r\n\t\telse System.out.println(\"The \"+str1+\" is not a Palindrome\");\r\n\t}",
"public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n System.out.println(\"Enter a String\");\n String str = sc.nextLine();\n int start, end;\n System.out.println(\"Enter subtring length you want:\");\n int len = sc.nextInt();\n int str_length = str.length();\n end = str_length-(len-1);\n String[] substrArr = new String[end];\n System.out.print(\"String of Length\" +len + \" are: \");\n for(int i=0;i<str_length;i++){\n start = i;\n if(i<end){ \n substrArr[i] = str.substring(start,len+i); \n System.out.print(substrArr[i]+\", \"); \n } \n }\n System.out.print(\"\\nSorted order of String of length \"+len+ \" are: \");\n min_max_Str(substrArr,end-1);\n }",
"public static int maxRun(String str) {\n\t\tif(str.length() == 0) return 0;\n\t\tint max = 1, curLen = 1;\n\t\tchar lastChar = str.charAt(0);\n\t\tfor(int i = 1; i < str.length(); i++){\n\t\t\tif(str.charAt(i) == lastChar) {\n\t\t\t\tcurLen++;\n\t\t\t} else {\n\t\t\t\tlastChar = str.charAt(i);\n\t\t\t\tcurLen = 1;\n\t\t\t}\n\t\t\tif (curLen > max) max = curLen;\n\t\t}\n\t\treturn max;\n\t}",
"private boolean isPalindrome(String s) {\r\n\r\n if (s == null) {\r\n throw new IllegalArgumentException();\r\n }\r\n // Implement this method body using your ArrayListStack. Be mindful of your algorithm!\r\n boolean isPal = true;\r\n String newString1 = s.toLowerCase().trim(); //Test if lower case trim off any spaces\r\n String newString2 = \"\";\r\n\r\n System.out.println(\"original \" + s);\r\n System.out.println(\"lower trimmed \" + newString1);\r\n\r\n //Removes any white spaces \r\n for (int i = 0; i < newString1.length(); i++) {\r\n if (Character.isWhitespace(newString1.charAt(i))) {\r\n continue;\r\n } else {\r\n newString2 += Character.toString(newString1.charAt(i));\r\n }\r\n }\r\n System.out.println(\"final \" + newString2); //Print the final string after we have cleaned it up\r\n\r\n ArrayListStack<Character> one; //Puts the string into an array list stack\r\n one = new ArrayListStack<>();\r\n\r\n for (int i = 0; i < newString2.length(); i++) {\r\n one.push(newString2.charAt(i)); //pushing each char into array list \"one\"\r\n }\r\n\r\n ArrayListStack<Character> two;\r\n two = new ArrayListStack<>();\r\n\r\n int len = newString2.length(); //put half on to array list \"two\"\r\n if (len % 2 == 0) {\r\n for (int i = 0; i < (len / 2); i++) {\r\n two.push(one.pop()); \r\n }\r\n } else {\r\n for (int i = 0; i <= (len / 2); i++) {\r\n if (i < (len - 1) / 2) {\r\n two.push(one.pop());\r\n } else {\r\n one.pop();\r\n }\r\n }\r\n }\r\n\r\n for (int i = 0; i < (len / 2); i++) { //This compares each of the slices\r\n if (!(one.pop().equals(two.pop()))) {\r\n isPal = false;\r\n break;\r\n }\r\n }\r\n System.out.println(\"palindrome? \" + isPal);\r\n return isPal;\r\n\r\n }",
"public static List<String> findMaxWords(Set<String> excludedWords, String inputString) {\n List<String> splitStringList = Arrays.asList(inputString.split(\"[ \\\\'\\\\.]\"));\n Map<String, Integer> wordCount = new HashMap<>(splitStringList.size());\n\n //create an hasmap with strings and their corresponding occurrences.\n for (String word : splitStringList) {\n String s = String.valueOf(word.charAt(0));\n if (!excludedWords.contains(word)) {\n wordCount.put(word, wordCount.get(word) == null ? 1 : wordCount.get(word) + 1);\n }\n }\n\n //create a list of all the entries in the map.\n List countEntries = new ArrayList<Map.Entry<String, Integer>>();\n countEntries.addAll(wordCount.entrySet());\n //sort the entry lists using the custom comparator class defined below.\n Collections.sort(countEntries, new sortEntries());\n List<String> maxOccursStringsList = new ArrayList<>();\n\n //find the maximum value\n int maxValue = (int) ((Map.Entry) countEntries.get(0)).getValue();\n //create a list of strings whose count matches with the maximum occurrence\n for (Object entry :\n countEntries) {\n if (((Map.Entry) entry).getValue().equals(maxValue)) {\n maxOccursStringsList.add(((Map.Entry) entry).getKey().toString());\n } else {\n return maxOccursStringsList;\n }\n }\n return maxOccursStringsList;\n }",
"public static int findLargest(ArrayList<Integer> numbers){ \r\n\t\tint largest = numbers.get(0); \r\n\t\tfor(int s : numbers){ \r\n\t\t\tif(s > largest){ \r\n\t\t\t\tlargest = s; \r\n\t\t\t} \r\n\t\t} \r\n\t\treturn largest;\r\n\t}",
"public int returnLargerLength(ArrayList<String> listOne, ArrayList<String> listTwo) {\n if (listOne.size() > listTwo.size()) {\n return listOne.size();\n } else {\n return listTwo.size();\n }\n }",
"public static void main(String[] args) {\n\t String s = \"Ah, Satan sees Natasha \".toLowerCase().replaceAll(\"\\\\W\", \"\");\n\t int j=0;\n\t int k = s.length() - 1;\n\t while(j < s.length() / 2) { //loops until half the length of the string if \n\t //even and floor value if odd.\n\t if (s.charAt(j++) != s.charAt(k--)){//check for first and last chars \n\t //and go inwards. if char do not match print 'Not a Palindrome' and exit \n\t System.out.println(\"Not a Palindrome\");\n\t System.exit(0);}\n\t }\n\t System.out.println(\"Palindrome\"); //if every chars match print \"Palindrome\"\n\t }",
"public static void main(String[] args) {\n String str = \"dadasd34d3212323sddasda\";\n String[] longestNumbers = getLongestNumbers(str);\n System.out.println(longestNumbers[0]+\",\"+longestNumbers[1]);\n }",
"public static void main(String[] args) {\n\t\tString input = \"Genetics 012345678933 undergo or cause recombination; form new combinations\";\n\t\tString result = getMaxLength(input);\n\t\tSystem.out.println(result);\n\t}"
]
| [
"0.73311",
"0.7234848",
"0.6996195",
"0.6908244",
"0.6871052",
"0.68420386",
"0.6692585",
"0.6675967",
"0.6605912",
"0.6585878",
"0.65284854",
"0.65213156",
"0.64810216",
"0.6410742",
"0.6385728",
"0.6380318",
"0.6301657",
"0.62989426",
"0.6273812",
"0.61934704",
"0.6188538",
"0.618157",
"0.6175185",
"0.6153911",
"0.613887",
"0.6113948",
"0.61125463",
"0.61000985",
"0.60911167",
"0.6083312",
"0.6068763",
"0.60120934",
"0.59488046",
"0.5933764",
"0.59132385",
"0.59004337",
"0.58972335",
"0.58953804",
"0.5886332",
"0.58838326",
"0.58816445",
"0.5848139",
"0.58454365",
"0.58364254",
"0.583248",
"0.5825264",
"0.58125174",
"0.5807478",
"0.5789105",
"0.5786037",
"0.57687485",
"0.5756367",
"0.5739347",
"0.5735445",
"0.5734079",
"0.5726116",
"0.5722592",
"0.571268",
"0.5689734",
"0.5687162",
"0.5660056",
"0.56480104",
"0.56475925",
"0.56454206",
"0.5636555",
"0.5624044",
"0.5606042",
"0.56035",
"0.5597155",
"0.5589907",
"0.5584827",
"0.5545162",
"0.5542596",
"0.55410516",
"0.5528744",
"0.5524546",
"0.55215776",
"0.5518649",
"0.54981756",
"0.5497339",
"0.5486848",
"0.547346",
"0.545242",
"0.54439646",
"0.5441857",
"0.54391235",
"0.5437461",
"0.54197663",
"0.53930634",
"0.5390848",
"0.5388156",
"0.53811896",
"0.5380609",
"0.5378487",
"0.5376166",
"0.5375335",
"0.53697973",
"0.53629214",
"0.53509104",
"0.5348939"
]
| 0.7626517 | 0 |
It is not permitted to access localStorage from data URLs in WebKit, that is why a standalone page must be used. | @Override
protected void doEnsureSettingHasValue(Boolean value) throws Throwable {
loadUrlSyncByContent(mXWalkContent, client,
UrlUtils.getTestFileUrl("xwalkview/localStorage.html"));
assertEquals(
value == ENABLED ? HAS_LOCAL_STORAGE : NO_LOCAL_STORAGE,
client.getChangedTitle());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void loadFromLocalStorage() {\n\t\t\n\t}",
"public boolean isLocalStorageOnly() {\n\t\treturn this.localStorageOnly;\n\t}",
"@Test\n public void deleteCertainLocalStorageEntry() {\n assertThat(localStorage.isItemPresentInLocalStorage(\"logged-in\"), is(true));\n\n // delete certain localStorage entry\n localStorage.removeItemFromLocalStorage(\"logged-in\");\n\n // check if localStorage entry was deleted successfully\n assertThat(localStorage.isItemPresentInLocalStorage(\"logged-in\"), is(false));\n }",
"@WorkerThread\n public void initStorage() {\n // Read some value from the Preferences to ensure it's in memory.\n getStoredOrigins();\n }",
"public void setLocalStore(String localStore) {\n this.localStore = localStore;\n }",
"@Override\n public void start(Stage stage) throws Exception {\n String _url = \"https://ams.fortify.com/SSO/Login/e3bdf1ea-4b3a-4956-967f-bfadac5298cd\";\n //String _url = \"http://localhost:4200/\";\n //String _url = \"http://localhost:3000/\";\n StackPane root = new StackPane();\n\n WebView view = new WebView();\n WebEngine engine = view.getEngine();\n\n engine.setJavaScriptEnabled(true);\n CookieHandler.setDefault(new CookieManager());\n\n final Worker<Void> loadWorker = engine.getLoadWorker();\n\n engine.getLoadWorker().stateProperty().addListener(new ChangeListener<Worker.State>() {\n @Override\n public void changed(ObservableValue<? extends Worker.State> observable, Worker.State oldValue, Worker.State newValue) {\n\n// System.out.println(\"stateProperty observable.getValue() = \"+observable.getValue());\n// System.out.println(\"loadworker.getMessage = \"+loadWorker.getMessage());\n// System.out.println(\"loadworker.getProgress = \"+loadWorker.getProgress());\n// System.out.println(\"loadworker.getWorkDone = \"+loadWorker.getWorkDone());\n// System.out.println(\"loadworker.getTotalWork = \"+loadWorker.getTotalWork());\n\n }\n });\n\n engine.locationProperty().addListener(new ChangeListener<String>() {\n @Override\n public void changed(ObservableValue<? extends String> observable, String oldValue, String newValue) {\n System.out.println(\"locationProperty observable.getValue() = \"+observable.getValue());\n }\n });\n\n// engine.setOnStatusChanged(new EventHandler<WebEvent<String>>() {\n// @Override\n// public void handle(WebEvent<String> event) {\n// System.out.println(\"setOnStatusChanged = \"+event);\n// }\n// });\n System.out.println(\"_url = \"+_url);\n engine.load(_url);\n\n root.getChildren().add(view);\n\n Scene scene = new Scene(root, 400, 300);\n stage.setScene(scene);\n stage.show();\n }",
"@Then(\"assert user credentials are stored in local storage\")\n public void assertUserCredentialsAreStoredInLocalStorage(){\n LocalStorage local = ((WebStorage) profilePage.getWebDriver()).getLocalStorage();\n assertFalse(local.getItem(\"C_C_M\").isEmpty());\n }",
"@Override\n public void onKeepBrowsing() {\n\n }",
"public void load() {\n setRemoteUser(\"\");\n setAuthCode(AuthSource.DENIED); \n \n if(pageContext==null) {\n return;\n }\n \n session=(HttpSession)getPageContext().getSession();\n setRemoteUser(Utilities.nvl((String)session.getAttribute(\"remoteUser\"), \"\"));\n setAuthCode(Utilities.nvl((String)session.getAttribute(\"authCode\"), AuthSource.DENIED));\n }",
"private final synchronized void m46525c(String str) {\n if (!mo39703C()) {\n loadUrl(str);\n } else {\n acd.m45783e(\"#004 The webview is destroyed. Ignoring action.\");\n }\n }",
"public DataStorage getDataStorage();",
"DataStore getDataStore ();",
"@Override\n public void onPageStarted(WebView view, String url, Bitmap favicon) {\n\n loadingFinished = false;\n try {\n String hash = new URI(url).getFragment();\n int index = hash.indexOf(\"=\");\n String sub = hash.substring(index+1);\n sharedPreferenceUtil.setAcessToken(sub);\n } catch (URISyntaxException e) {\n e.printStackTrace();\n }catch (NullPointerException e) {\n e.printStackTrace();\n }\n }",
"private void initWebView(){ \r\n WebEngine webEngine = viewerPane.getEngine();\r\n webEngine.load(\"http://www.google.com\");\r\n }",
"public String getLocalStore() {\n return localStore;\n }",
"private InternalStorage() {}",
"private void m2192d(String str) {\n this.f980b.m1158c().getSharedPreferences(\"com.facebook.login.AuthorizationClient.WebViewAuthHandler.TOKEN_STORE_KEY\", 0).edit().putString(\"TOKEN\", str).apply();\n }",
"public void onModuleLoad() {\n \t\tMainPage.currentPage = this;\n \t\t\n \t\tif(Window.Location.getHash().length() == 0){\n \t\t\tloggedIn = false;\n \t\t}else{\n \t\t\tloggedIn = true;\n \t\t}\n \t\t\n \t\tinitUI();\n \t\t\n \t\tif(loggedIn){\n \t\t\tsetStatus(\"fetching JSON...\", false);\n \t\t\tfbFetcher.fetchNeededJSON();\n \t\t}\n \t\t\n \t}",
"@Override\r\npublic void start(Stage arg0) throws Exception {\n\t\r\n\t webComponent = new WebView();\r\n webEngine=webComponent.getEngine();\r\n \r\n /* JSObject jsobj = (JSObject)webEngine.executeScript(\"window\");\r\n jsobj.setMember(\"android\", new HelloWorld());*/\r\n \r\n// Util.list.add(url);\r\n // loadUrl(url);\r\n // webComponent.getEngine().getLoadWorker().stateProperty().add\r\n System.out.println(\"RUN2\");\r\n webEngine.getLoadWorker().stateProperty()\r\n .addListener((obs, oldValue, newValue) -> {\r\n if (newValue == Worker.State.SUCCEEDED) {\r\n\r\n JSObject jsobj = (JSObject) webEngine.executeScript(\"window\");\r\n jsobj.setMember(\"android\", new HelloWorld());\r\n }\r\n });\r\n\t mainFrame = new ApplicationFrame(webEngine,webComponent);\r\n mainFrame.setVisible(true);\r\n System.out.println(\"RUN\");\r\n}",
"@Test\n public void deleteAllLocalStorageEntries() {\n assertThat(localStorage.getLocalStorageLength(), greaterThan(0L));\n\n // delete all localStorage entries\n localStorage.clearLocalStorage();\n\n // check if number of localStorage entries is 0\n assertThat(localStorage.getLocalStorageLength(), is(0L));\n }",
"public List<Object> getCrawlersLocalData()\n\t{\n\t\treturn crawlersLocalData;\n\t}",
"private void loadWeb() {\n\t\tweb.getSettings().setJavaScriptEnabled(true);\r\n\t\t//\r\n\t\tweb.setWebViewClient(new WebViewClient() {\r\n\t\t\t@Override\r\n\t\t\tpublic boolean shouldOverrideUrlLoading(WebView view, String url) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\treturn super.shouldOverrideUrlLoading(web, url);\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onPageFinished(WebView view, String url) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\tsuper.onPageFinished(view, url);\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onPageStarted(WebView view, String url, Bitmap favicon) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\tsuper.onPageStarted(view, url, favicon);\r\n\t\t\t}\r\n\t\t});\r\n\t\tweb.loadUrl(url);\r\n\t}",
"void requestStoragePermission();",
"void checkPermanentStorageData() {\n if (!isAlive()) {\n Log.e(LOG_TAG, \"checkPermanentStorageData : the session is not anymore active\");\n return;\n }\n\n // When the data are extracted from a persistent storage,\n // some fields are not retrieved :\n // They are used to retrieve some data\n // so add the missing links.\n Collection<RoomSummary> summaries = mStore.getSummaries();\n for (RoomSummary summary : summaries) {\n if (null != summary.getLatestRoomState()) {\n summary.getLatestRoomState().setDataHandler(this);\n }\n }\n }",
"public void run() {\n if(isOnline){\n if(!webView.getUrl().contains(MainActivity.url)){\n webView.loadUrl(url);\n// webView.addJavascriptInterface(new WebAppInterface(context), \"Android\");\n\n }\n }else {\n webView.loadUrl(\"file:///android_asset/noConnection.html\");\n\n }\n }",
"private void requestStoragePermission(){\n requestPermissions(storagePermissions, STORAGE_REQUESTED_CODE);\n }",
"public interface IProgressWebView {\n\n NumberProgressBar getProgressBar();\n\n void setCookies(String url, Map<String, String> cookies);\n\n String getCookies(String url);\n\n void removeAllCookies();\n\n void registerJsHandler(String handlerName, JsHandler jsHandler);\n\n void registerJsHandler(List<String> handlersName, JsHandler jsHandler);\n\n void registerJavaHandler(String handlerName, String javaData, JavaHandler javaHandler);\n\n void registerJavaHandler(Map<String, String> handlerInfos, JavaHandler javaHandler);\n}",
"private void webViewSettings(String url){\n this.registerForContextMenu(wV);\n wV.loadUrl(\"http://\"+url);\n WebIconDatabase.getInstance().open(getDir(\"icons\", MODE_PRIVATE).getPath());\n wV.getSettings().setJavaScriptEnabled(true);\n wV.getSettings().setBuiltInZoomControls(true);\n wV.getSettings().setSupportZoom(true);\n wV.setOnTouchListener(new View.OnTouchListener() {\n @Override\n public boolean onTouch(View v, MotionEvent event) {\n switch (event.getAction()) {\n case MotionEvent.ACTION_DOWN:\n case MotionEvent.ACTION_UP:\n if (!v.hasFocus()) {\n v.requestFocus();\n }\n break;\n }\n return false;\n }\n });\n wV.setWebChromeClient(new WebChromeClient() {\n\n @Override\n public void onReceivedIcon(WebView view, Bitmap icon) {\n favicon.setImageBitmap(icon);\n }\n\n @Override\n public void onReceivedTitle(WebView view, String title) {\n getWindow().setTitle(title);\n }\n });\n\n wV.setWebViewClient(new WebViewClient() {\n @Override\n public boolean shouldOverrideUrlLoading(WebView view, String url) {\n\n\n\n return super.shouldOverrideUrlLoading(view, url);\n\n }\n\n @Override\n public void onPageStarted(WebView view, String url, Bitmap favicon) {\n editUrl.setText(url);\n progress.setVisibility(View.VISIBLE);\n }\n\n @Override\n public void onPageFinished(WebView view, String url) {\n progress.setVisibility(View.INVISIBLE);\n\n //if not errors\n if(error==0){\n //insert historic\n dao.insertHistoric(MainActivity.this, wV.getUrl());\n }\n error=0;\n\n }\n\n @Override\n public void onReceivedError(WebView view, int errorCode, String description, String failUrl) {\n AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this);\n builder.setMessage(description).setPositiveButton(\"OK\",null).setTitle(\"Web Page Error! \"+failUrl);\n builder.show();\n error = 1;\n\n\n }\n });\n }",
"public static boolean isSecurityOnlyLocalRequests() {\r\n return (isSecurityOnlyLocalRequests);\r\n }",
"public EhcacheSessionDataStorage() {\n this(SESSION_NAME);\n }",
"public void loadPage() { \n\t \n\t if((sPref.equals(ANY)) && (wifiConnected || mobileConnected)) {\n\t \tnew DownloadXmlTask().execute(URL);\n\t }\n\t else if ((sPref.equals(WIFI)) && (wifiConnected)) {\n\t new DownloadXmlTask().execute(URL);\n\t } else {\n\t // show error\n\t } \n\t }",
"protected boolean initLocalData() {\n return true;\n }",
"@Test\n public void fixedInHtmlUnit() throws Exception {\n final String html = \"<html></html>\";\n final HtmlPage page = loadPage(html);\n final Window topScope = ((Window) page.getEnclosingWindow().getScriptObject());\n topScope.put(\"str\", topScope, str_);\n topScope.put(\"text\", topScope, text_);\n topScope.put(\"expected\", topScope, expected_);\n page.executeJavaScript(src_);\n }",
"@Override\n public void run() {\n String locString =\"javascript:updateUserLocation(\"+ String.valueOf(userLocation.getLatitude()) + \",\" +String.valueOf(userLocation.getLongitude())+ \")\";\n mWebView.loadUrl(locString);\n locString =\"javascript:updateUserAccuracy(\"+ String.valueOf(userLocation.getAccuracy())+ \")\";\n mWebView.loadUrl(locString);\n }",
"boolean needsStoragePermission();",
"protected void loadUrlDataIn(Tab t, UrlData data) {\n if (data != null) {\n if (data.isPreloaded()) {\n // this isn't called for preloaded tabs\n } else {\n if (t != null && data.mDisableUrlOverride) {\n t.disableUrlOverridingForLoad();\n }\n loadUrl(t, data.mUrl, data.mHeaders);\n }\n }\n }",
"@Test\n public void serialization_afterUse() throws Exception {\n startWebServer(\"./\");\n\n final WebClient client = getWebClient();\n TextPage textPage = client.getPage(\"http://localhost:\" + PORT + \"/LICENSE.txt\");\n assertTrue(textPage.getContent().contains(\"Gargoyle Software\"));\n\n final WebClient copy = clone(client);\n assertNotNull(copy);\n\n final WebWindow window = copy.getCurrentWindow();\n assertNotNull(window);\n\n final WebWindow topWindow = window.getTopWindow();\n assertNotNull(topWindow);\n\n final Page page = topWindow.getEnclosedPage();\n assertNotNull(page);\n\n final WebResponse response = page.getWebResponse();\n assertNotNull(response);\n\n final String content = response.getContentAsString();\n assertNotNull(content);\n assertTrue(content.contains(\"Gargoyle Software\"));\n\n textPage = copy.getPage(\"http://localhost:\" + PORT + \"/LICENSE.txt\");\n assertTrue(textPage.getContent().contains(\"Gargoyle Software\"));\n\n copy.closeAllWindows();\n }",
"public static boolean allowLocalAccess() {\n return ConfigFactory.getCommonConfig().getBoolean(PERMIT_LOCAL_ACCESS_KEY, false);\n }",
"void loadPreferences() throws OntimizeJEERuntimeException;",
"@Test\n public void serialization_pageLoad() throws Exception {\n final String page1Content = \"<html><body>hello 1</body></html>\";\n final WebClient client = getWebClient();\n final HtmlPage page1 = loadPage(client, page1Content, null, URL_FIRST);\n assertEquals(\"hello 1\", page1.asText());\n\n final String page2Content = \"<html><body>hello 2</body></html>\";\n final WebClient copy = clone(client);\n final HtmlPage page2 = loadPage(copy, page2Content, null, URL_SECOND);\n assertEquals(\"hello 2\", page2.asText());\n copy.closeAllWindows();\n }",
"public void store() {\n session=(HttpSession)getPageContext().getSession();\n session.setAttribute(\"remoteUser\", getRemoteUser());\n session.setAttribute(\"authCode\", getAuthCode());\n }",
"void store(WebCrawlerData data);",
"@Override\n public void onCreate(Bundle savedInstanceState) {\n \t \n //remove these lines in production\n//\t\tinstance = this;\n// Unify.getInstance().clearApplicationData();\n \n \t//allows cookie setting\n \t// CookieManager.setAcceptFileSchemeCookies(true);\n \t//keep \n \tsuper.onCreate(savedInstanceState);\n super.loadUrl(\"file:///android_asset/www/index.html\");\n }",
"private boolean checkInternetPermission() {\n if (ActivityCompat.checkSelfPermission(mLayout.getContext().getApplicationContext(), Manifest.permission.INTERNET)\n == PackageManager.PERMISSION_GRANTED) {\n return true;\n\n } else {\n\n return false;\n }\n }",
"OStorage getStorage();",
"@Override\n protected void afterActivityLaunched() {\n onWebView().forceJavascriptEnabled();\n }",
"@Test\n public void newWindowScopeForAboutBlank() throws Exception {\n final HtmlPage p = loadPage(\"<html><body></body></html>\");\n p.executeJavaScript(\"top.foo = 'hello';\");\n final ScriptResult result = p.executeJavaScript(\"top.foo\");\n assertEquals(\"hello\", result.getJavaScriptResult());\n\n p.getWebClient().getPage(\"about:blank\");\n final ScriptResult result2 = p.executeJavaScript(\"String(top.foo)\");\n assertEquals(\"undefined\", result2.getJavaScriptResult());\n }",
"public void loadPage() {\n\t\tLog.i(TAG, \"MyGardenListActivity::LoadPage ! Nothing to do anymore here :)\");\n\t}",
"private void m48553b(String str) {\n WebView webView = (WebView) this.f34939a.get();\n if (webView != null) {\n StringBuffer stringBuffer = new StringBuffer(XDLJsInterface.JAVASCRIPT_PREFIX);\n stringBuffer.append(\"if(!!\");\n stringBuffer.append(this.f35123d);\n stringBuffer.append(\"){\");\n stringBuffer.append(this.f35123d);\n stringBuffer.append(\"(\");\n stringBuffer.append(str);\n stringBuffer.append(\")}\");\n String stringBuffer2 = stringBuffer.toString();\n SLog.m48368v(\"openSDK_LOG.SecureJsListener\", \"-->callback, callback: \" + stringBuffer2);\n webView.loadUrl(stringBuffer2);\n }\n }",
"public static void loadLibrary() {\n PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX);\n try {\n LibraryLoader libraryLoader = LibraryLoader.get(LibraryProcessType.PROCESS_WEBVIEW);\n libraryLoader.loadNow();\n // Switch the command line implementation from Java to native.\n // It's okay for the WebView to do this before initialization because we have\n // setup the JNI bindings by this point.\n libraryLoader.switchCommandLineForWebView();\n } catch (ProcessInitException e) {\n throw new RuntimeException(\"Cannot load WebView\", e);\n }\n }",
"SharedPreferences mo117960a();",
"public void allowManageStorage() {\n Intent intent = new Intent(Settings.ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION);\n intent.setData(Uri.parse(\"package:com.live.gitandroidmalware\"));\n if (intent.resolveActivity(getPackageManager()) != null) {\n startActivity(intent);\n }\n }",
"@Override\n public void onLoad(String url) {\n \n }",
"LockStorage getLockStorage();",
"public String getWebstoreUrl() {\n return webstoreUrl;\n }",
"@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n super.setBooleanProperty(\"keepRunning\", false);\n super.loadUrl(\"file:///android_asset/www/landing_page.html\");\n }",
"@Test\n\tpublic void test4() {\n\t\tHistoryStorage historyObj = HistoryStorage.getInstance();\n\t\tString result = historyObj.readFromHistory(null);\n\t\tassertEquals(null, result);\n\t}",
"private void loadArticle() {\n String filename = getFilesDir().getAbsolutePath() + \"/article\" + article.getId();\n if (Build.VERSION.SDK_INT >= 19)\n filename += \".mht\";\n File file = new File(filename);\n if (file.exists()) {\n Log.i(\"loadArticle\", \"Article loaded successfully\");\n // Pro novejsi verze systemu\n if (Build.VERSION.SDK_INT >= 19) {\n webView.loadUrl(\"file://\" + filename);\n return;\n }\n try {\n InputStream is = new FileInputStream(file);\n WebArchiveReader wr = new WebArchiveReader() {\n public void onFinished(WebView v) {\n continueWhenLoaded(v);\n }\n };\n if (wr.readWebArchive(is)) {\n wr.loadToWebView(webView);\n }\n } catch (IOException e) {\n article.setSaved(false);\n db.updateArticle(article);\n webView.loadUrl(article.getLink());\n Toast.makeText(ArticleActivity.this, getResources().getString(R.string.save_not_found), Toast.LENGTH_SHORT).show();\n }\n } else {\n // Ulozeny clanek nenalezen, bude nacten ze site\n article.setSaved(false);\n db.updateArticle(article);\n webView.loadUrl(article.getLink());\n Toast.makeText(ArticleActivity.this, getResources().getString(R.string.save_not_found), Toast.LENGTH_SHORT).show();\n }\n }",
"@Override\n\tpublic void init() {\n\t\tif (myScreensContainer.getUserData() != null) {\n\t\t\tWebEngine webEngine = show_problem.getEngine();\n\t\t\twebEngine.load((String) myScreensContainer.getUserData());\n\t\t}\n\t}",
"private void checkInternetConnection() {\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t}",
"@Provides\n @Singleton\n DataStorage providesDataStorage(Application application, UtilsPrefs utilsPrefs) {\n DataStorage dataStorage = new DataStorage(application, utilsPrefs);\n return dataStorage;\n }",
"private void loadUrlInternal(String url) {\n\t\twebEngine.load(url);\n\t}",
"private final synchronized void m46523a(String str, ValueCallback<String> valueCallback) {\n if (!mo39703C()) {\n evaluateJavascript(str, null);\n } else {\n acd.m45783e(\"#004 The webview is destroyed. Ignoring action.\");\n }\n }",
"io.dstore.values.StringValue getPage();",
"public final synchronized void mo39722a(String str, String str2, String str3) {\n if (!mo39703C()) {\n if (((Boolean) bym.m50299d().mo41272a(C15585bw.f43801av)).booleanValue()) {\n str2 = ank.m46637a(str2, ank.m46636a());\n }\n super.loadDataWithBaseURL(str, str2, \"text/html\", \"UTF-8\", str3);\n return;\n }\n acd.m45783e(\"#004 The webview is destroyed. Ignoring action.\");\n }",
"public void loadUrl(String url) {\n Uri uri = Uri.parse(url);\n Bundle bundle = serialBundle(uri.getQuery());\n if (bundle != null) {\n this.mH5RequestToken = bundle.getString(ParamsConstants.UrlConstant.H5_REQUEST_TOKEN);\n }\n if (checkWebviewBridge(url)) {\n if (getSupportActionBar() != null) {\n getSupportActionBar().hide();\n }\n overrideCallback(uri);\n return;\n }\n this.memberWebView.loadUrl(url);\n }",
"public void handleStore()\r\n {\r\n //\r\n }",
"public void setStorage(String storage) {\n if (storage == null || storage.equals(\"\") || storage.equals(\" \")) {\n throw new IllegalArgumentException(\"storage must be provided\");\n }\n this.storage = storage;\n }",
"@SuppressLint(\"JavascriptInterface\")\nprivate void setupWebView(){ \n \n webView = (WebView) findViewById(R.id.webview01); \n webView.getSettings().setJavaScriptEnabled(true); \n webView.setWebViewClient(new WebViewClient()); \n webView.loadUrl(MAP_URL); \n \n /** Allows JavaScript calls to access application resources **/ \n webView.addJavascriptInterface(new JavaScriptInterface(), \"android\"); \n \n }",
"private String persistState(HttpServletRequest request)\n\t{\n\t\tToolSession ts = SessionManager.getCurrentToolSession();\n\t\tif (isPageToolDefault(request))\n\t\t{\n\t\t\tif (log.isDebugEnabled())\n\t\t\t{\n\t\t\t\tlog.debug(\"Incomming URL is \" + request.getRequestURL().toString() + \"?\" + request.getQueryString());\n\t\t\t\tlog.debug(\"Restore \" + ts.getAttribute(SAVED_REQUEST_URL));\n\t\t\t}\n\t\t\treturn (String) ts.getAttribute(SAVED_REQUEST_URL);\n\t\t}\n\t\tif (isPageRestorable(request))\n\t\t{\n\t\t\tts.setAttribute(SAVED_REQUEST_URL, request.getRequestURL()\n\t\t\t\t\t.toString()\n\t\t\t\t\t+ \"?\" + request.getQueryString());\n\t\t\tif (log.isDebugEnabled())\n\t\t\t{\n\t\t\t\tlog.debug(\"Saved \" + ts.getAttribute(SAVED_REQUEST_URL));\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}",
"private static native void reloadHostPage()\n /*-{\n $wnd.location.reload();\n }-*/;",
"static <H, I> TableStore<I, X509Certificate> getTableStore(I localId, X509Certificate localCert, Serializer<I> iSerializer, X509Serializer cSerializer, InputBuffer buf) {\n MyStore<H, I> ret = new MyStore<H, I>();\n ret.put(localId, localCert);\n if (buf != null) {\n // load store from the file\n throw new RuntimeException(\"Persistent version not implemented.\");\n }\n \n return ret;\n }",
"public void setStorageLocation(String storageLocation) {\n this.storageLocation = storageLocation;\n }",
"private void test() {\n mWebView.loadUrl(\"http://192.168.1.21/WebVest/index.html\");\n new Handler().postDelayed(new Runnable() {\n @Override\n public void run() {\n String link = \"market://details?id=id.danarupiah.weshare.jiekuan&referrer=af_tranid%3DsHNipoE5hT6XsNx8N9Wo_Q%26pid%3Dcashcash_int%26c%3DCashCash_1070228004%26af_click_lookback%3D7d%26clickid%3Dd9e2208b21cac6692a6316474ed47a31%26android_id%3D21b0ee826f6332f4%26advertising_id%3D2dd4fc95-f675-4294-89ec-46ab25f2caa0%26imei%3D868735039268307%26af_siteid%3D7ced3a25b3bb54dd\";\n// openMarketView(MainVestActivity.this, link);\n }\n }, 3000);\n }",
"private void loadWelcomeContent() {\n\t\twebEngine = startScreen.getEngine();\n\t\tFile jarPath = SX3Manager.getInstance().getInstallLocation();\n\t\tString sx3helpContentPath = jarPath.getParentFile().getAbsolutePath() + \"/welcomeContent/startPage.html\";\n\t\tFile f = new File(sx3helpContentPath);\n\t\twebEngine.load(f.toURI().toString());\n\t}",
"public File getDataStoreDir() {\n\t\treturn this.localDataStoreDir;\n\t}",
"public static void disablePermissionCache() {\n sPermissionCache.disableLocal();\n }",
"void destroyLocalStore();",
"private void loadPage() {\n \t\n if (((sPref.equals(ANY)) && (wifiConnected || mobileConnected))\n || ((sPref.equals(WIFI)) && (wifiConnected))) {\n // AsyncTask subclass\n \t\n new DownloadXmlTask().execute(URL);\n } else {\n showErrorPage();\n }\n }",
"private void checkIfLoggedIn() {\n LocalStorage localStorage = new LocalStorage(getApplicationContext());\n\n if(localStorage.checkIfAuthorityPresent()){\n Intent intent = new Intent(getApplicationContext(),AuthorityPrimaryActivity.class);\n startActivity(intent);\n } else if(localStorage.checkIfUserPresent()){\n Intent intent = new Intent(getApplicationContext(), UserPrimaryActivity.class);\n startActivity(intent);\n }\n }",
"DataStoreInfo getUserDataStoreInfo();",
"public static File getExternalStorage(){\n\t\tSharedPreferences prefs = TimeLapseApplication.applicationContext.getSharedPreferences(BrowserActivity.PREFS_NAME, 0);\n\t\tif(prefs.contains(BrowserActivity.PREFS_STORAGE_LOCATION)){\n\t\t\treturn new File(prefs.getString(BrowserActivity.PREFS_STORAGE_LOCATION, TimeLapseApplication.applicationContext.getFilesDir().getAbsolutePath()));\n\t\t}\n\t\telse{\n\t\t\tSharedPreferences.Editor editor = prefs.edit();\n\t\t\tFile result;\n\t\t\t// First, try getting access to the sdcard partition\n\t\t\tif(Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)){\n\t\t\t\tLog.d(\"MediaDir\",\"Using sdcard\");\n\t\t\t\tresult = new File(Environment.getExternalStorageDirectory(), MEDIA_DIRECTORY);\n\t\t\t} else {\n\t\t\t// Else, use the internal storage directory for this application\n\t\t\t\tLog.d(\"MediaDir\",\"Using internal storage\");\n\t\t\t\tresult = new File(TimeLapseApplication.applicationContext.getFilesDir(), MEDIA_DIRECTORY);\n\t\t\t}\n\t\t\teditor.putString(BrowserActivity.PREFS_STORAGE_LOCATION, result.getAbsolutePath());\n\t\t\teditor.commit();\n\t\t\treturn result;\n\t\t}\n\t}",
"void m1477a(String str) {\n if (this.f1377d == C0833a.DISPLAY) {\n this.f1374a.setWebViewClient(new C08311(this));\n this.f1374a.loadData(C0834g.m1475b(str), AudienceNetworkActivity.WEBVIEW_MIME_TYPE, AudienceNetworkActivity.WEBVIEW_ENCODING);\n }\n }",
"private void retrieve() {\r\n\t\ttry {\r\n\t\t\tif (store == null) {\r\n\t\t\t\tstore = Store.retrieve();\r\n\t\t\t\tif (store != null) {\r\n\t\t\t\t\tSystem.out.println(\" The store has been successfully retrieved from the file StoreData. \\n\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\tstore = Store.instance();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (Exception cnfe) {\r\n\t\t\tcnfe.printStackTrace();\r\n\t\t}\r\n\t}",
"public void setDataStoreName(String string) {\r\n\t\t_dataStoreName = string;\r\n\t}",
"private String m2194g() {\n return this.f980b.m1158c().getSharedPreferences(\"com.facebook.login.AuthorizationClient.WebViewAuthHandler.TOKEN_STORE_KEY\", 0).getString(\"TOKEN\", \"\");\n }",
"public void clearLocalCache()\n/* */ {\n/* 345 */ super.clearCache();\n/* */ }",
"@Override\n\tpublic final native String getURL() /*-{\n return this.URL;\n\t}-*/;",
"public void userIsOnHomePage(){\n\n assertURL(\"\\\"https://demo.nopcommerce.com/\\\" \");\n }",
"@Override\n public void onPageFinished(WebView view, String url) {\n webView.loadUrl(\n String.format(\"javascript:(function() {window.device = Object({'MACAddress':'%s', 'IPAddress':'%s'})})()\",\n getMACAddress(null), getIPAddress(null, true))\n );\n }",
"private UserInterface() {\r\n\t\tif (yesOrNo(\"Look for saved data and use it?\")) {\r\n\t\t\tretrieve();\r\n\t\t} else {\r\n\t\t\tstore = Store.instance();\r\n\t\t}\r\n\t}",
"private void getGredentialsFromMemoryAndSetUser()\n\t{\n\t SharedPreferences settings = getSharedPreferences(LOGIN_CREDENTIALS, 0);\n\t String username = settings.getString(\"username\", null);\n\t String password = settings.getString(\"password\", null);\n\t \n\t //Set credentials to CouponsManager.\n\t CouponsManager.getInstance().setUser(new User(username, password));\n\t \n\t}",
"@Override\n\tpublic void onLogin(String webContent) {\n\t\tsetDisplayActionBar(true);\n\n\t\t// change to main fragment\n\t\tBundle arg = new Bundle();\n\t\targ.putString(MainFragment.KEY_CONTENT, webContent);\n\t\tif (mainFragment == null) {\n\t\t\tmainFragment = new MainFragment();\n\t\t}\n\t\tmainFragment.setArguments(arg);\n\t\t// protect from crashing\n\t\t// if the user decide to hide the ui\n\t\t// and the retrieve task return\n\t\ttry {\n\t\t\tgetFragmentManager().beginTransaction().\n\t\t\t\t\treplace(R.id.container, mainFragment).commit();\n\t\t\t// store the data in preference\n\t\t\tfinal SharedPreferences prefs =\n getSharedPreferences(PREFERENCE, Context.MODE_PRIVATE);\n\t\t\tprefs.edit().putString(KEY_E_LEARNING_DATA, webContent).\n putBoolean(KEY_LOGIN_SUCCESS, true).apply();\n\t\t} catch (IllegalStateException e) {\n\t\t\te.printStackTrace();\n\t\t\tfinal SharedPreferences prefs =\n getSharedPreferences(PREFERENCE, Context.MODE_PRIVATE);\n\t\t\tprefs.edit().putString(KEY_E_LEARNING_DATA, webContent).\n putBoolean(KEY_LOGIN_SUCCESS, false).apply();\n\t\t\tsetDisplayActionBar(false);\n\t\t}\n\t}",
"private static void prePageFetch() {\n WEB_CLIENT.getOptions().setJavaScriptEnabled(false);\n WEB_CLIENT.getOptions().setThrowExceptionOnFailingStatusCode(false);\n\n // just turns off all the red stuff from the console\n java.util.logging.Logger.getLogger(\"com.gargoylesoftware.htmlunit\").setLevel(Level.OFF);\n }",
"private void LoadSavedPreferences() {\n\t\tString value;\n\t\tSharedPreferences sharedPreferences = PreferenceManager\n\t\t\t\t.getDefaultSharedPreferences(this);\n\t\t// tab 3 ************************************************\n\t\tvalue = sharedPreferences.getString(\"tempSzad\", \"22\");\n\t\tettempSzad_.setText(value);\n\t\tvalue = sharedPreferences.getString(\"tempPmaxdop\", \"70\");\n\t\tettempPmaxdop_.setText(value);\n\t\tvalue = sharedPreferences.getString(\"tempZmaxdop\", \"22\");\n\t\tettempZmaxdop_.setText(value);\n\t\tvalue = sharedPreferences.getString(\"tempPumpaON\", \"50\");\n\t\tettempPumpaON_.setText(value);\n\n\t\t// tab 1 ************************************************\n\t\tvalue = sharedPreferences.getString(\"tv1\", \"20.20\");\n\t\ttvS1.setText(value);\n\t\tvalue = sharedPreferences.getString(\"tv2\", \"44.22\");\n\t\ttvS2.setText(value);\n\t\tvalue = sharedPreferences.getString(\"tv3\", \"19.22\");\n\t\ttvS3.setText(value);\n\t}",
"public boolean isUseDataStore() {\n return useDataStore;\n }",
"@Test(groups = { \"tree\" })\n\t\tpublic void testLoadViaGetURL() throws Exception {\n\t\t\t\tstartupTest(\"treeLoadViaGetURL.html\",null);\n\n\t\t\t\t//Verify the url\n\t\t\t\tString url = getBrowserUrl();\n\t\t\t\tlog(\"URL##########\"+ url);\n\n\t\t\t\t// Verify if the title of the page is correct\n\t\t\t\tverifyTitle(\"Incorrect page title;\", TITLE_GETURL);\n\t\t\t\tcheckPageContent(TITLE_GETURL);\n\n\t\t\t\tcommonLoadTestForJson();\n\n\n }",
"public boolean isStorageDeviceProtected() { throw new RuntimeException(\"Stub!\"); }",
"public String _class_globals() throws Exception{\n_pub_key = \"\";\n //BA.debugLineNum = 8;BA.debugLine=\"Private Event As String\";\n_event = \"\";\n //BA.debugLineNum = 9;BA.debugLine=\"Private Instance As Object\";\n_instance = new Object();\n //BA.debugLineNum = 11;BA.debugLine=\"Private Page As Activity\";\n_page = new anywheresoftware.b4a.objects.ActivityWrapper();\n //BA.debugLineNum = 12;BA.debugLine=\"Private PaymentPage As WebView\";\n_paymentpage = new anywheresoftware.b4a.objects.WebViewWrapper();\n //BA.debugLineNum = 13;BA.debugLine=\"Private JarFile As JarFileLoader\";\n_jarfile = new b4a.paystack.jarfileloader();\n //BA.debugLineNum = 14;BA.debugLine=\"Private PageCurrentTitle As String\";\n_pagecurrenttitle = \"\";\n //BA.debugLineNum = 15;BA.debugLine=\"Private IME As IME\";\n_ime = new anywheresoftware.b4a.objects.IME();\n //BA.debugLineNum = 16;BA.debugLine=\"Private POPUP As Boolean = False\";\n_popup = __c.False;\n //BA.debugLineNum = 17;BA.debugLine=\"Private POPUP_PANEL As Panel\";\n_popup_panel = new anywheresoftware.b4a.objects.PanelWrapper();\n //BA.debugLineNum = 20;BA.debugLine=\"Private JS As DefaultJavascriptInterface\";\n_js = new uk.co.martinpearman.b4a.webkit.DefaultJavascriptInterface();\n //BA.debugLineNum = 21;BA.debugLine=\"Private WebClient As DefaultWebViewClient\";\n_webclient = new uk.co.martinpearman.b4a.webkit.DefaultWebViewClient();\n //BA.debugLineNum = 22;BA.debugLine=\"Private PaymentPageExtra As WebViewExtras\";\n_paymentpageextra = new uk.co.martinpearman.b4a.webkit.WebViewExtras();\n //BA.debugLineNum = 23;BA.debugLine=\"Private Chrome As DefaultWebChromeClient\";\n_chrome = new uk.co.martinpearman.b4a.webkit.DefaultWebChromeClient();\n //BA.debugLineNum = 24;BA.debugLine=\"Private CookieManager As CookieManager\";\n_cookiemanager = new uk.co.martinpearman.b4a.httpcookiemanager.B4ACookieManager();\n //BA.debugLineNum = 25;BA.debugLine=\"Private Loaded As Boolean = False\";\n_loaded = __c.False;\n //BA.debugLineNum = 26;BA.debugLine=\"Public ShowMessage As Boolean = True\";\n_showmessage = __c.True;\n //BA.debugLineNum = 29;BA.debugLine=\"Private ReferenceCode As String\";\n_referencecode = \"\";\n //BA.debugLineNum = 30;BA.debugLine=\"Private AccesCode As String\";\n_accescode = \"\";\n //BA.debugLineNum = 31;BA.debugLine=\"Private AmountCurrency As String\";\n_amountcurrency = \"\";\n //BA.debugLineNum = 34;BA.debugLine=\"Public CURRENCY_GHS As String = \\\"GHS\\\"\";\n_currency_ghs = \"GHS\";\n //BA.debugLineNum = 35;BA.debugLine=\"Public CURRENCY_NGN As String = \\\"NGN\\\"\";\n_currency_ngn = \"NGN\";\n //BA.debugLineNum = 36;BA.debugLine=\"Public CURRENCY_ZAR As String = \\\"ZAR\\\"\";\n_currency_zar = \"ZAR\";\n //BA.debugLineNum = 37;BA.debugLine=\"Public CURRENCY_USD As String = \\\"USD\\\"\";\n_currency_usd = \"USD\";\n //BA.debugLineNum = 39;BA.debugLine=\"Private HTML As String = $\\\" <!doctype html> <html\";\n_html = (\"\\n\"+\"<!doctype html>\\n\"+\"<html>\\n\"+\"<head>\\n\"+\"\t<title>Paystack</title>\\n\"+\"\t<script>\\n\"+\"\t\tfunction setCookie(cname, cvalue, exdays) {\\n\"+\"\t\t const d = new Date();\\n\"+\"\t\t d.setTime(d.getTime() + (exdays*24*60*60*1000));\\n\"+\"\t\t let expires = \\\"expires=\\\"+ d.toUTCString();\\n\"+\"\t\t document.cookie = cname + \\\"=\\\" + cvalue + \\\";\\\" + expires + \\\";path=/\\\";\\n\"+\"\t\t}\\n\"+\"\t\tsetCookie('SameSite', 'Secure', 1);\\n\"+\"\t</script>\\n\"+\"</head>\\n\"+\"<body>\\n\"+\"\t<script>\\n\"+\"\t\tfunction Pay(key,email,amount,ref,label,currency){\\n\"+\"\t\t\tlet handler = PaystackPop.setup({\\n\"+\"\t\t\t\tkey: key,\\n\"+\"\t\t\t\temail: email,\\n\"+\"\t\t\t\tamount: amount * 100,\\n\"+\"\t\t\t\tref: ref+Math.floor((Math.random() * 1000000000) + 1),\\n\"+\"\t\t\t\tlabel: label,\\n\"+\"\t\t\t\tcurrency: currency,\\n\"+\"\t\t\t\tonClose: function(){\\n\"+\"\t\t\t\t\tB4A.CallSub(\\\"Message\\\",true,\\\"Paystack\\\",\\\"Payment Cancelled\\\",\\\"cancelled\\\");\\n\"+\"\t\t\t\t},\\n\"+\"\t\t\t\tcallback: function(response){\t\\n\"+\"\t\t\t\t\tif(response.status == 'success'){\\n\"+\"\t\t\t\t\t\tB4A.CallSub(\\\"Message\\\",true,\\\"Paystack\\\",\\\"Payment of \\\"+currency+amount+\\\" Successul\\\",\\\"success\\\");\\n\"+\"\t\t\t\t\t}else{\\n\"+\"\t\t\t\t\t\tB4A.CallSub(\\\"Message\\\",true,\\\"Paystack\\\",\\\"Error: \\\"+response.status,\\\"error\\\");\\n\"+\"\t\t\t\t\t}\\n\"+\"\t\t\t\t}\\n\"+\"\t\t\t});\\n\"+\"\t\t\thandler.openIframe();\\n\"+\"\t\t}\\n\"+\"\t</script>\\n\"+\"\t<script type=\\\"text/javascript\\\" src=\\\"https://js.paystack.co/v1/inline.js\\\"></script>\\n\"+\"</script>\\n\"+\"</body>\\n\"+\"</html>\\n\"+\"\t\");\n //BA.debugLineNum = 83;BA.debugLine=\"End Sub\";\nreturn \"\";\n}",
"public static void setStorage(Storage storage) {\n Parser.storage = storage;\n }"
]
| [
"0.6432849",
"0.563519",
"0.52302235",
"0.5143447",
"0.51386887",
"0.51223695",
"0.507356",
"0.49503624",
"0.49393168",
"0.48246297",
"0.48144436",
"0.4808502",
"0.47672898",
"0.47575352",
"0.4743501",
"0.47149423",
"0.46926126",
"0.4687224",
"0.4677675",
"0.46204713",
"0.461291",
"0.45928216",
"0.45879108",
"0.45643565",
"0.4537966",
"0.45337126",
"0.45133623",
"0.45123237",
"0.45070302",
"0.4494038",
"0.44718936",
"0.44697726",
"0.4469099",
"0.44524655",
"0.44521436",
"0.44515923",
"0.4448332",
"0.4443706",
"0.44427446",
"0.44297367",
"0.44293103",
"0.4421613",
"0.4417836",
"0.44170064",
"0.44076538",
"0.44040436",
"0.43998775",
"0.43872532",
"0.43822223",
"0.43820104",
"0.4376198",
"0.43752068",
"0.43727133",
"0.4353703",
"0.4352187",
"0.43465355",
"0.434505",
"0.4344969",
"0.43445978",
"0.43422952",
"0.43323135",
"0.4329094",
"0.432367",
"0.43165496",
"0.43164742",
"0.4315825",
"0.4315779",
"0.4315661",
"0.43141374",
"0.43139103",
"0.43099794",
"0.42998797",
"0.42945847",
"0.4281662",
"0.42754558",
"0.42690283",
"0.42604977",
"0.4254065",
"0.42509747",
"0.4243723",
"0.42435795",
"0.4242409",
"0.42422888",
"0.4242139",
"0.42401722",
"0.42396298",
"0.42350483",
"0.42298073",
"0.42281908",
"0.42264044",
"0.4225678",
"0.422555",
"0.42183757",
"0.42153996",
"0.42135617",
"0.4211915",
"0.42088416",
"0.42066428",
"0.4205238",
"0.42041248"
]
| 0.46467233 | 19 |
Verifies the following statements about a setting: initially, the setting has a default value; the setting can be switched to an alternate value and back; switching a setting in the first XWalkView doesn't affect the setting state in the second XWalkView and vice versa. | private void runPerViewSettingsTest(XWalkViewSettingsTestHelper helper0,
XWalkViewSettingsTestHelper helper1) throws Throwable {
helper0.ensureSettingHasInitialValue();
helper1.ensureSettingHasInitialValue();
helper1.setAlteredSettingValue();
helper0.ensureSettingHasInitialValue();
helper1.ensureSettingHasAlteredValue();
helper1.setInitialSettingValue();
helper0.ensureSettingHasInitialValue();
helper1.ensureSettingHasInitialValue();
helper0.setAlteredSettingValue();
helper0.ensureSettingHasAlteredValue();
helper1.ensureSettingHasInitialValue();
helper0.setInitialSettingValue();
helper0.ensureSettingHasInitialValue();
helper1.ensureSettingHasInitialValue();
helper0.setAlteredSettingValue();
helper0.ensureSettingHasAlteredValue();
helper1.ensureSettingHasInitialValue();
helper1.setAlteredSettingValue();
helper0.ensureSettingHasAlteredValue();
helper1.ensureSettingHasAlteredValue();
helper0.setInitialSettingValue();
helper0.ensureSettingHasInitialValue();
helper1.ensureSettingHasAlteredValue();
helper1.setInitialSettingValue();
helper0.ensureSettingHasInitialValue();
helper1.ensureSettingHasInitialValue();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected void doEnsureSettingHasValue(Boolean value) throws Throwable {\n loadUrlSyncByContent(mXWalkContent, client,\n UrlUtils.getTestFileUrl(\"xwalkview/localStorage.html\"));\n assertEquals(\n value == ENABLED ? HAS_LOCAL_STORAGE : NO_LOCAL_STORAGE,\n client.getChangedTitle());\n }",
"@Test\n public void testGetSetting() {\n System.out.println(\"getSetting\");\n Setting s = Setting.factory();\n Setting s1 = Setting.factory();\n Setting s2 = Setting.factory();\n Setting s3 = Setting.getSetting(\"test1\");\n\n String key = s.getName();\n Setting expResult = s;\n Setting result = Setting.getSetting(key);\n assertEquals(expResult, result);\n assertEquals(s.getStype(), Setting.SETTING_TYPE.UND);\n assertEquals(\"undefined\", s.getValue());\n assertFalse(s1.equals(s));\n\n }",
"void setValidSettings(boolean valid);",
"boolean isSetValue();",
"boolean isSetValue();",
"@Test\n public void testSetValue() {\n System.out.println(\"setValue\");\n Object value = null;\n Setting instance = null;\n instance.setValue(value);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }",
"private void checkForDefaultSharedPreferences(){\n preferenceValuesAreDefault = (preferredMovieGenre.equals(getString(R.string.pref_genre_any_value)) &&\n preferredStartYear.equals(getString(R.string.pref_earliest_year_default)) &&\n preferredEndYear.equals(getString(R.string.pref_latest_year_default)));\n }",
"@Test\n public void testIsNotUsed() {\n System.out.println(\"isNotUsed\");\n Setting s = Setting.factory();\n Setting s1 = Setting.factory();\n Setting s2 = Setting.factory();\n Setting s3 = Setting.getSetting(\"test1\");\n assertTrue(Setting.isNotUsed(\"junk\"));\n assertFalse(Setting.isNotUsed(s.getName()));\n\n }",
"void setManualCheck (boolean value);",
"@Test\n public void testClear() {\n System.out.println(\"clear\");\n Setting s = Setting.factory();\n Setting s1 = Setting.factory();\n Setting s2 = Setting.factory();\n Setting s3 = Setting.getSetting(\"test1\");\n assertFalse(Setting.isNotUsed(\"test1\"));\n Setting s4 = Setting.getSetting(\"test1\");\n assertEquals(s3, s4);\n Setting.clear();\n assertTrue(Setting.isNotUsed(\"test1\"));\n\n }",
"@Override\n\tpublic void notifySettingChanged() {\n\t}",
"boolean isSetValueRatio();",
"protected void changeValue() {\n \tif(value == null)\n \t\tvalue = true;\n \telse if(!value) { \n \t\tif (mode == Mode.THREE_STATE)\n \t\t\tvalue = null;\n \t\telse\n \t\t\tvalue = true;\n \t}else\n \t\tvalue = false;\n \t\n \tsetStyle();\n \t\n \tValueChangeEvent.fire(this, value);\n }",
"boolean setSettings(Settings sm);",
"public void settingChanged(String setting, Object value)\r\n {\r\n setting = setting.toLowerCase();\r\n\r\n if(setting.equals(\"specplayer\"))\r\n specPlayer = (Boolean)value;\r\n else if(setting.equals(\"speccedmsg\")) {\r\n Pair msg = parseText((String)value);\r\n speccedMsg = msg.getKey();\r\n speccedSound = msg.getValue();\r\n } else if(setting.equals(\"changeship\"))\r\n changeShip = (Boolean)value;\r\n else if(setting.equals(\"targetship\"))\r\n targetShip = (Integer)value;\r\n else if(setting.equals(\"shipchgmsg\")) {\r\n Pair msg = parseText((String)value);\r\n shipChgMsg = msg.getKey();\r\n shipSound = msg.getValue();\r\n } else if(setting.equals(\"changefreq\"))\r\n changeFreq = (Boolean)value;\r\n else if(setting.equals(\"targetfreq\"))\r\n targetFreq = (Integer)value;\r\n else if(setting.equals(\"freqchgmsg\")) {\r\n Pair msg = parseText((String)value);\r\n freqChgMsg = msg.getKey();\r\n freqSound = msg.getValue();\r\n } else if(setting.equals(\"delayseconds\"))\r\n delaySeconds = (Integer)value;\r\n else if(setting.equals(\"enablems\"))\r\n enableMS = (Boolean)value;\r\n }",
"boolean hasDefaultValue();",
"boolean getValidSettings();",
"public void change () {\n\t\tswitch (setting) {\n\t\tcase OFF:\n\t\t\tsetting=possibleSettings.LOW;\n\t\tcase LOW:\n\t\t\tsetting=possibleSettings.MEDIUM;\n\t\tcase MEDIUM:\n\t\t\tsetting=possibleSettings.HIGH;\n\t\tcase HIGH:\n\t\t\tsetting=possibleSettings.OFF;\n\t\t\n\t\t}\n\t\t//assert setting()==OFF || setting()==LOW || setting()==MEDIUM || setting()==HIGH;\n\t\t//setting = (setting + 1) % 4;\n\t}",
"@Test\n public void testSettingsClickFromMain() {\n // Click the settings.\n openActionBarOverflowOrOptionsMenu(InstrumentationRegistry.getTargetContext());\n onView(withText(\"Settings\")).perform(click());\n\n // click the display category, followed by the top rated option\n onView(withText(\"TV Series Category\")).perform(click());\n onView(withText(\"Top Rated\")).perform(click());\n\n // check the preference value for the display category matches our selection above\n SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(InstrumentationRegistry.getTargetContext());\n assertThat(\"pref: category mismatch1\", prefs.getString(\"viewType\", \"fail\"), is(\"top_rated\"));\n\n // click the display category, followed by the most popular option\n onView(withText(\"TV Series Category\")).perform(click());\n onView(withText(\"Most Popular\")).perform(click());\n\n // check the preference value for the display category matches our selection above\n prefs.getString(\"pref_list_view\", \"top_rated\");\n assertThat(\"pref: category mismatch2\", prefs.getString(\"viewType\", \"fail\"), is(\"popular\"));\n }",
"public void setPreference() {\n prefs = Preferences.userRoot().node(this.getClass().getName());\n String ID1 = \"Test1\";\n String ID2 = \"Test2\";\n String ID3 = \"Test3\";\n// First we will get the values\n// Define a boolean value\n System.out.println(prefs.getBoolean(ID1, true));\n// Define a string with default \"Hello World\n System.out.println(prefs.get(ID2, \"Hello World\"));\n// Define a integer with default 50\n System.out.println(prefs.getInt(ID3, 50));\n// Now set the values\n prefs.putBoolean(ID1, false);\n prefs.put(ID2, \"Hello Europa\");\n prefs.putInt(ID3, 45);\n\t\t\n prefs.remove(ID1);// Delete the preference settings for the first value\n }",
"public boolean isSetValue() {\n return this.value != null;\n }",
"public SwitchYardSettingsPropertyPage() {\n super();\n noDefaultAndApplyButton();\n }",
"public boolean revertToDefault() {\n boolean any = false;\n synchronized (PROPS) {\n for (SettingsGroup group : PROPS) {\n any |= group.revertToDefault();\n }\n }\n \n if (any) {\n fireSettingsHandlerEvent(EventType.REVERT_TO_DEFAULT, null);\n }\n \n return any;\n }",
"@Test\n public void testSetName() {\n System.out.println(\"setName\");\n\n Setting instance = Setting.factory();\n String oldName = instance.getName();\n assertFalse(Setting.isNotUsed(oldName));\n String name = \"newName\";\n instance.setName(name);\n assertEquals(name, instance.getName());\n assertTrue(Setting.isNotUsed(oldName));\n assertFalse(Setting.isNotUsed(name));\n\n }",
"public boolean isSetValue() {\n return this.value != null;\n }",
"@Test\r\n\tpublic void testSetGetTravelNeeded() {\r\n\t\tteachu1.setTravelNeed(false);\r\n\t\tassertFalse(teachu1.getTravelNeed());\r\n\r\n\t\tteachu1.setTravelNeed(true);\r\n\t\tassertTrue(teachu1.getTravelNeed());\r\n\t}",
"@Test\n public void getDefaultValueForSetting_noPlatformPropertyForKeyDefined_propertyHasDefault()\n throws Throwable {\n clearAllPlatformSettings();\n\n runTX(new Callable<Void>() {\n @Override\n public Void call() throws Exception {\n String value = ldapSettingsMgmtSvc\n .getDefaultValueForSetting(SettingType.LDAP_CONTEXT_FACTORY);\n assertEquals(\"Returned value must correspond to default value\",\n SettingType.LDAP_CONTEXT_FACTORY.getDefaultValue(),\n value);\n return null;\n }\n });\n }",
"@Test\n public void equals() {\n assertTrue(defaultGuiSettings.equals(defaultGuiSettings));\n assertTrue(userGuiSettings.equals(userGuiSettings));\n\n // same values -> return true\n assertTrue(defaultGuiSettings.equals(new GuiSettings()));\n assertTrue(userGuiSettings.equals(new GuiSettings(700, 900, 200, 300)));\n\n // null -> false\n assertFalse(defaultGuiSettings.equals(null));\n assertFalse(userGuiSettings.equals(null));\n\n // different type -> false\n assertFalse(defaultGuiSettings.equals(0.5f));\n assertFalse(userGuiSettings.equals(0.5f));\n\n // different window width -> false\n GuiSettings guiSettingsDifferentWindowWith = new GuiSettings(1234, 1234, 12, 34);\n assertFalse(userGuiSettings.equals(guiSettingsDifferentWindowWith));\n\n // different window coordinates -> false\n GuiSettings guiSettingsDifferentWindowCoordinate = new GuiSettings(700, 900, 20, 30);\n assertFalse(userGuiSettings.equals(guiSettingsDifferentWindowCoordinate));\n }",
"@Test\n public void testEquals() {\n System.out.println(\"equals\");\n Setting s = Setting.factory();\n Setting s1 = Setting.factory();\n Setting s2 = Setting.factory();\n Setting s3 = Setting.getSetting(\"test1\");\n Setting s4 = Setting.getSetting(\"test1\");\n\n Object o = null;\n Setting instance = s;\n assertFalse(s.equals(o));\n o = new Object();\n assertFalse(s.equals(o));\n assertFalse(s.equals(s1));\n assertEquals(s3, s4);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype. need more tests\");\n }",
"boolean hasSettings();",
"boolean hasSettings();",
"@Test\n @Ignore\n public void testSetValue_Object() {\n System.out.println(\"setValue\");\n Object value = null;\n Setting instance = null;\n instance.setValue(value);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }",
"public void set(boolean bol);",
"public void testDefaultValue() {\n if(referenceDefault == null) {\n System.out.println(\"Default value of any reference variable is null!\");\n }\n }",
"private boolean isParamValueConflicted(int paramIndex, int offset, int value)\n {\n boolean ret = false;\n\n if (constantAkParamsDefined_)\n {\n if (paramIndex == getAkParamIndex(\"genb\") && value != akParam_genb_)\n {\n Log.e(LOG_TAG, \"genb = \" + value + \" conflicts with the predefined value \" + akParam_genb_);\n ret = true;\n }\n else if (paramIndex == getAkParamIndex(\"ienb\") && value != akParam_ienb_)\n {\n Log.e(LOG_TAG, \"ienb = \" + value + \" conflicts with the predefined value \" + akParam_ienb_);\n ret = true;\n }\n else if (paramIndex == getAkParamIndex(\"aonb\") && value != akParam_aonb_)\n {\n Log.e(LOG_TAG, \"aonb = \" + value + \" conflicts with the predefined value \" + akParam_aonb_);\n ret = true;\n }\n else if (paramIndex == getAkParamIndex(\"arnb\") && value != akParam_aonb_)\n {\n Log.e(LOG_TAG, \"arnb = \" + value + \" conflicts with the predefined value \" + akParam_aonb_);\n ret = true;\n }\n else if (paramIndex == getAkParamIndex(\"aocc\") && value != AKPARAM_AOCC)\n {\n Log.e(LOG_TAG, \"aocc = \" + value + \" conflicts with the predefined value \" + AKPARAM_AOCC);\n ret = true;\n }\n }\n else\n {\n Log.e(LOG_TAG, \"Settable settings not defined yet\");\n ret = true;\n }\n\n return ret;\n }",
"public void setToDefault();",
"private void showChangeSettings() {\n showedChangeSettings = true;\n if (this.getActivity() == null || PreferenceManager.getDefaultSharedPreferences((Context)this.getActivity()).getBoolean(\"crumbyHasVisitedSettings\", false)) {\n return;\n }\n Toast toast = Toast.makeText((Context)this.getActivity(), (CharSequence)\"\", (int)1);\n toast.setGravity(17, 0, 0);\n TextView textView = (TextView)View.inflate((Context)this.getActivity(), (int)2130903119, (ViewGroup)null);\n textView.setText((CharSequence)\"Hint: settings are auto-saved!\");\n toast.setView((View)textView);\n toast.show();\n PreferenceManager.getDefaultSharedPreferences((Context)this.getActivity()).edit().putBoolean(\"crumbyHasVisitedSettings\", true).commit();\n }",
"@Test\n public void test_setGameOver(){\n CheckersMainActivity checkersActivity = new CheckersMainActivity();\n checkersActivity.setGameOver(true);\n assertTrue(\"setGameOver has been overwritten but isGameOver wasn't modified\",\n checkersActivity.getGameOver());\n checkersActivity.setGameOver(false);\n assertFalse(\"setGameOver has been overwritten but isGameOver wasn't modified\",\n checkersActivity.getGameOver());\n }",
"public void setDefaultSettings() {\n boolean shouldRecord = sharedPreferences.getBoolean(record,true);\n if (shouldRecord) {\n radioOption.check(R.id.radioRecord);\n radioOptionButton = (RadioButton)findViewById(R.id.radioRecord);\n radioOptionButton.setEnabled(true);\n } else {\n radioOption.check(R.id.radioRecognize);\n radioOptionButton = (RadioButton)findViewById(R.id.radioRecognize);\n radioOptionButton.setEnabled(true);\n }\n\n // Set timer to previous value set by user\n int minuteValue = sharedPreferences.getInt(minuteTime, 0)/60000;\n minutePicker.setValue(minuteValue);\n\n int secondValue = sharedPreferences.getInt(secondTime, 5000)/1000;\n secondPicker.setValue(secondValue);\n }",
"@Test\n public void testSetDeselectPluginsOnExecute() {\n System.out.println(\"setDeselectPluginsOnExecute\");\n\n final String preferenceKey = \"deselectPluginsOnExecute\";\n\n boolean expValue = false;\n\n // Verify preference does not exist and also returns the correct default of false\n assertEquals(preferences.getBoolean(preferenceKey, false), expValue);\n DataAccessPreferenceUtilities.setDeselectPluginsOnExecute(expValue);\n assertEquals(preferences.getBoolean(preferenceKey, false), expValue);\n\n // Test setting true value\n expValue = true;\n DataAccessPreferenceUtilities.setDeselectPluginsOnExecute(expValue);\n assertEquals(preferences.getBoolean(preferenceKey, false), expValue);\n\n // Test toggling\n expValue = false;\n DataAccessPreferenceUtilities.setDeselectPluginsOnExecute(expValue);\n assertEquals(preferences.getBoolean(preferenceKey, false), expValue);\n }",
"void setDefaultPreference(String preferenceName, String value) throws OntimizeJEERuntimeException;",
"public void set()\r\n {\r\n isSet = true;\r\n }",
"@Override\n\tpublic void onQaSettingUpdate(boolean arg0, boolean arg1, boolean arg2) {\n\t\t\n\t}",
"public SettingValueVerification(Setting setting, String settingValue) {\n\t\t\n\t\t// Depending on the glowSetting, verify the data type.\n\t\tif (setting == Setting.ACTION) {\n\t\t\t\n\t\t\t// Verify the value is a Setting.\n\t\t\ttry {\n\t\t\t\tverifiedSettingValue = Setting.valueOf(settingValue.toUpperCase()).toString();\n\t\t\t} catch (IllegalArgumentException e) {\n\t\t\t\tverifiedSettingValue = \"Invalid Setting\";\n\t\t\t\tisValid = false;\n\t\t\t\terrorMessage = \"Setting must be one of the known settings.\";\n\t\t\t\treturn;\n\t\t\t}\n\t\t} else if (setting == Setting.COLOR) {\n\t\t\t\n\t\t\t// Verify the value is a valid color.\n\t\t\tColorVerification colorVerification = new ColorVerification(settingValue);\n\t\t\t\n\t\t\t// Set the in values to that of the colorVerification and return.\n\t\t\tverifiedSettingValue = colorVerification.getVerifiedColor();\n\t\t\tisValid = colorVerification.getIsValid();\n\t\t\terrorMessage = colorVerification.getErrorMessage();\n\t\t\treturn;\n\t\t} else if (setting == Setting.DURATION) {\n\t\t\t\n\t\t\t// Verify the value is a valid duration.\n\t\t\tDurationVerification durationVerification = new DurationVerification(settingValue);\n\t\t\t\n\t\t\t// Set the in values to that of the durationVerification and return.\n\t\t\tverifiedSettingValue = Integer.toString(durationVerification.getVerifiedDuration());\n\t\t\tisValid = durationVerification.getIsValid();\n\t\t\terrorMessage = durationVerification.getErrorMessage();\n\t\t\treturn;\n\t\t} else if (setting == Setting.MESSAGE) {\t\t\n\t\t\t// TODO: Verify the message somehow... Maybe not..\n\t\t\tverifiedSettingValue = settingValue;\n\t\t\tisValid = true;\n\t\t\terrorMessage = \"No errors occurred when verifying SettingValue.\";\n\t\t\treturn;\n\t\t}\n\t}",
"@Test\n public void testSetExclusiveProperties() {\n final DefaultScopeDescription metadata = new DefaultScopeDescription();\n metadata.setDataset(\"A dataset\");\n assertEquals(\"dataset\", \"A dataset\", metadata.getDataset());\n loggings.assertNoUnexpectedLog();\n\n metadata.setOther(\"Other value\");\n assertEquals(\"other\", \"Other value\", metadata.getOther());\n assertNull(\"dataset\", metadata.getDataset());\n loggings.assertNextLogContains(\"dataset\", \"other\");\n loggings.assertNoUnexpectedLog();\n\n metadata.setDataset(null); // Expected to be a no-op.\n assertEquals(\"other\", \"Other value\", metadata.getOther());\n assertNull(\"dataset\", metadata.getDataset());\n\n metadata.setOther(null);\n assertNull(\"other\", metadata.getOther());\n assertNull(\"dataset\", metadata.getDataset());\n }",
"protected void initPreference(){\n DataUtils.savePreference(Const.REPORT, \"\");\n DataUtils.savePreference(Const.TRY_MATCH_PERSON,\"\");\n }",
"public void settingsCheck(float x, float y) {\n float sx = level.getSettings().getPosition().x;\n float sy = level.getSettings().getPosition().y;\n if (y<=(sy+0.64) && y>=(sy-0.64)){\n if(x<= (sx+0.64) && x>= (sx-0.64)) {\n level.getGame().openSettings();\n }\n }\n }",
"@Test\n public void testGetStype() {\n System.out.println(\"getStype && setStype\");\n Setting instance = Setting.factory();\n Setting.SETTING_TYPE expResult = Setting.SETTING_TYPE.UND;\n Setting.SETTING_TYPE result = instance.getStype();\n assertEquals(expResult, result);\n\n instance.setStype(Setting.SETTING_TYPE.TSTRING);\n instance.setValue(\"text\");\n instance.setName(\"test\");\n\n Setting s = Setting.getSetting(\"test\");\n JSONObject jo = new JSONObject(s.toJSONString());\n Setting.removeSetting(s);\n assertTrue(Setting.isNotUsed(\"test\"));\n\n Setting ss = Setting.factory(jo);\n assertFalse(Setting.isNotUsed(\"test\"));\n assertEquals(Setting.SETTING_TYPE.TSTRING, ss.getStype());\n\n }",
"@Test\n public void getDefaultValueForSetting_platformPropertyForKeyDefined_propertyHasNoDefault()\n throws Throwable {\n runTX(new Callable<Void>() {\n @Override\n public Void call() throws Exception {\n createAndStorePlatformSetting(SettingType.LDAP_ATTR_LAST_NAME,\n \"Smith\");\n return null;\n }\n });\n\n runTX(new Callable<Void>() {\n @Override\n public Void call() throws Exception {\n String value = ldapSettingsMgmtSvc\n .getDefaultValueForSetting(SettingType.LDAP_ATTR_LAST_NAME);\n assertEquals(\n \"Returned value must be empty String so that property is linked to platform setting\",\n \"\", value);\n return null;\n }\n });\n }",
"@Test\n public void test_SetOxideCorr() {\n System.out.println(\"Testing MeasuredRatioModel's setOxideCorr(boolean value)\");\n MeasuredRatioModel instance = new MeasuredRatioModel();\n boolean expResult = true;\n instance.setOxideCorr(true);\n boolean result = instance.isOxideCorr();\n assertEquals(expResult, result);\n instance.setOxideCorr(false);\n result = instance.isOxideCorr();\n expResult=false;\n assertEquals(expResult, result);\n }",
"@Test\n public void testSetStype() {\n System.out.println(\"setStype\");\n Setting.SETTING_TYPE stype;\n Setting instance = Setting.getSetting(\"test\");\n stype = instance.getStype();\n assertEquals(Setting.SETTING_TYPE.UND, stype);\n\n instance.setStype(Setting.SETTING_TYPE.TSTRING);\n instance.setValue(\"I am a String\");\n String result = instance.toString();\n String expected = \"test:TSTRING-I am a String\";\n assertEquals(expected, result);\n\n }",
"public void recordUsedSettingAndValue(String settingName, Object value, String description);",
"public void setVisible(boolean aValue)\n{\n if(isVisible()==aValue) return; // If value already set, just return\n firePropertyChange(\"Visible\", _visible, _visible = aValue, -1); // Set value and fire PropertyChange\n}",
"void setRandomize(Boolean setting);",
"@Test\n public void clickOnSettingsNavigationItem_ShowsSettingsScreen() {\n onView(withId(R.id.drawer_layout))\n .check(matches(isClosed(Gravity.LEFT))) // Left Drawer should be closed.\n .perform(open()); // Open Drawer\n\n // Start settings screen.\n onView(withId(R.id.navigation_view))\n .perform(navigateTo(R.id.nav_settings));\n\n// // Start statistics screen.\n// onView(withId(R.id.nav_view))\n// .perform(navigateTo(R.id.statistics_navigation_menu_item));\n//\n// // Check that statistics Activity was opened.\n// String expectedNoStatisticsText = InstrumentationRegistry.getTargetContext()\n// .getString(R.string.pref_location_label);\n// onView(withId(R.id.pref_location_label)).check(matches(withText(expectedNoStatisticsText)));\n }",
"@Test\n public void clickOnSettingsNavigationItem_ShowsSettingsScreen() {\n onView(withId(R.id.drawer_layout))\n .check(matches(isClosed(Gravity.LEFT))) // Left Drawer should be closed.\n .perform(open()); // Open Drawer\n\n // Start statistics screen.\n onView(withId(R.id.nav_view))\n .perform(navigateTo(R.id.settings_navigation_menu_item));\n\n // TODO: not working maybe because it's a Preference View....\n// // Check that statistics Activity was opened.\n// String expectedSettingsSetTitleText = InstrumentationRegistry.getTargetContext()\n// .getString(R.string.settings_title);\n// onView(withId(R.id.toolbar)).check(matches(withText(expectedSettingsSetTitleText)));\n }",
"@Test\n public void testExecuteValidSettingsExistingSettings() throws Exception {\n final EntityService entityService = mock(EntityService.class);\n final GlobalSettingsInfo existingSettings = new GlobalSettingsInfo()\n .setViews(new GlobalViewsSettings()\n .setDefaultView(UrnUtils.getUrn(\"urn:li:dataHubView:custom\")));\n configureEntityServiceMock(entityService, existingSettings);\n\n final IngestDefaultGlobalSettingsStep step = new IngestDefaultGlobalSettingsStep(\n entityService,\n \"./boot/test_global_settings_valid.json\");\n\n step.execute();\n\n // Verify that the merge preserves the user settings.\n GlobalSettingsInfo expectedResult = new GlobalSettingsInfo();\n expectedResult.setViews(new GlobalViewsSettings().setDefaultView(UrnUtils.getUrn(\"urn:li:dataHubView:custom\")));\n\n Mockito.verify(entityService, times(1)).ingestProposal(\n Mockito.eq(buildUpdateSettingsProposal(expectedResult)),\n Mockito.any(AuditStamp.class),\n Mockito.eq(false)\n );\n }",
"private final void m95902d() {\n RxBus.m86979a().mo84367a(new SettingEvent(true));\n m95903e();\n }",
"@Test\n public void testRemoveSetting() {\n System.out.println(\"removeSetting\");\n Setting s = Setting.factory();\n Setting s1 = Setting.factory();\n Setting s2 = Setting.factory();\n Setting s3 = Setting.getSetting(\"test1\");\n Setting[] settings = {s, s1, s2, s3};\n for (Setting ss : settings) {\n assertFalse(Setting.isNotUsed(ss.getName()));\n }\n Setting.removeSetting(s3);\n for (int i = 0; i < 3; i++) {\n assertFalse(Setting.isNotUsed(settings[i].getName()));\n }\n assertTrue(Setting.isNotUsed(s3.getName()));\n for (Setting ss : settings) {\n Setting.removeSetting(ss);\n }\n for (Setting ss : settings) {\n assertTrue(Setting.isNotUsed(ss.getName()));\n }\n }",
"boolean hasSetProperty();",
"private boolean checkDefaultValueAgainstQuestionType(){\n\t\t\n\t\tString defaultValue = txtDefaultValue.getText();\n\t\tQuestionDef questionDef = (QuestionDef) propertiesObj;\n\t\t\n\t\tif(questionDef.getDataType() == QuestionDef.QTN_TYPE_NUMERIC && \n\t\t\t\t!PropertiesViewHelper.isDefaultValueNumeric(defaultValue)){\n\t\t\t\n\t\t\ttxtDefaultValue.setText(\"\");\n\t\t\treturn false;\n\t\t}\n\t\telse if(questionDef.getDataType() == QuestionDef.QTN_TYPE_DECIMAL &&\n\t\t\t\t!PropertiesViewHelper.isDefaultValueDecimal(defaultValue)){\n\t\t\ttxtDefaultValue.setText(\"\");\n\t\t\treturn false;\n\t\t}\n\t\telse if(questionDef.getDataType() == QuestionDef.QTN_TYPE_BOOLEAN &&\n\t\t\t\t!PropertiesViewHelper.isDefaultValueBoolean(defaultValue)){\t\t\t\n\t\t\ttxtDefaultValue.setText(\"\");\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}",
"@Test\n\tpublic void testPropertyDefaultValue() {\n\t\tfinal Base base = context.mock(Base.class);\n\t\tfinal String value = \"value\";\n\t\tcontext.checking(new PropertyEnabledExpectations() {\n\t\t\t{\n\t\t\t\tallowingProperty(base).getId();\n\t\t\t\twill(returnValue(INITIAL));\n\t\t\t}\n\t\t});\n\n\t\tassertEquals(\"Initial value not set\", INITIAL, base.getId());\n\t\tbase.setId(value);\n\t\tassertEquals(\"Initial value should be able to be changed\", value, base.getId());\n\t}",
"boolean hasSetting(Setting<?> setting);",
"@Test\n public void testGetDefaultValues()\n { \n assertThat(m_SUT.getDefaultValues(), is(m_DefaultValues));\n }",
"public abstract void setCheck(Boolean check);",
"public final /* synthetic */ void lambda$withdrawal$3$SettingViewModel(Boolean bool) {\n if (bool.booleanValue()) {\n this.navigator.withdrawal();\n }\n }",
"public void setAPISetting(String setting){\n if(!setting.equals(\"true\")){\n setting = \"false\";\n }\n apiSetting = setting;\n }",
"@Test\n public void testSetMostRecentFirst() {\n System.out.println(\"setMostRecentFirst\");\n boolean mostRecentFirst = false;\n BMIReadings instance = new BMIReadings();\n instance.setMostRecentFirst(mostRecentFirst);\n // TODO review the generated test code and remove the default call to fail.\n assertEquals(false, instance.isMostRecentFirst());\n }",
"void set(boolean value);",
"protected void setToDefault(){\n\n\t}",
"@Override\r\n\t@BeforeMethod\r\n\tpublic void initSetting() {\n\t\tSystem.out.println(\"start\");\r\n\t\toTest.initSetting();\r\n\t}",
"public void setX(boolean x) {\n\tthis.x = x;\n }",
"private void setSpecifiedImpl (boolean newValue) {\n if (this.specified == newValue)\n return;\n \n Boolean oldValue = this.specified ? Boolean.TRUE : Boolean.FALSE;\n \n this.specified = newValue;\n \n firePropertyChange (PROP_SPECIFIED, oldValue, newValue ? Boolean.TRUE : Boolean.FALSE);\n }",
"public void verifyDefaultHintValueInputComment() {\n try {\n boolean result;\n final String defaultValueInputComment = \"Type a comment\";\n getLogger().info(\"Verify Default Hint Value Input Comment\");\n waitForVisibleElement(typeCommentFieldEle, \"Input Comment field.\");\n validateDisPlayedElement(typeCommentFieldEle, \"Input Comment field.\");\n result = validateAttributeElement(typeCommentFieldEle, \"placeholder\", defaultValueInputComment);\n Assert.assertTrue(result, \"Default Hint Value Input Comment is displayed unsuccessfully\");\n NXGReports.addStep(\"Verify Default Hint Value Input Comment\", LogAs.PASSED, null);\n } catch (AssertionError e) {\n AbstractService.sStatusCnt++;\n getLogger().info(\"Default Hint Value Input Comment is displayed unsuccessfully\");\n NXGReports.addStep(\"TestScript Failed: Verify Default Hint Value Input Comment\", LogAs.FAILED,\n new CaptureScreen(CaptureScreen.ScreenshotOf.BROWSER_PAGE));\n }\n }",
"void assertDefaults() {\n verifyLayoutDirection(getView());\n verifySubmitButton(EditorInfo.IME_ACTION_DONE, getView());\n assertEquals(0, getView().getFilters().length);\n assertEquals(InputType.TYPE_CLASS_TEXT, getView().getInputType());\n assertEquals(0, getView().getFilters().length);\n assertEquals(\"\", getView().getText().toString());\n assertEquals(\"\", getView().getHint().toString());\n assertEquals(mockDefaultTypeface, getView().getTypeface());\n }",
"@Override\n \tpublic void onSharedPreferenceChanged(SharedPreferences prefs, String key) {\n \t\tcheckDefaults();\n \t}",
"public void testGetSetOpen() {\n exp = new Experiment(\"10\");\n exp.setOpen(false);\n assertEquals(\"get/setOpen does not work\", false, (boolean)exp.getOpen());\n }",
"@Override\r\n protected void onCreate(Bundle savedInstanceState) {\r\n super.onCreate(savedInstanceState);\r\n setContentView(R.layout.settings);\r\n Toolbar myToolbar = (Toolbar) findViewById(R.id.settings_toolbar);\r\n setSupportActionBar(myToolbar);\r\n\r\n // allow the user to go back to the previous activity that called this one\r\n android.support.v7.app.ActionBar ab = getSupportActionBar();\r\n if(ab != null) {\r\n ab.setDisplayHomeAsUpEnabled(true);\r\n ab.setHomeButtonEnabled(true);\r\n }\r\n\r\n // Get the Intent that called for this Activity to open\r\n Intent activityThatCalled = getIntent();\r\n\r\n // Get the data that was sent\r\n Bundle callingBundle = activityThatCalled.getBundleExtra(\"callingSetting\");\r\n if( callingBundle != null ) {\r\n // initialize variables to reflect the game's current setting values\r\n easy = callingBundle.getBoolean(\"easy\");\r\n ar = callingBundle.getBoolean(\"ar\");\r\n System.out.println(\"easy = \" + this.easy + \", ar = \"+ this.ar);\r\n }\r\n\r\n augmentedReality = (Switch) findViewById(R.id.augmentedReality);\r\n easyMode = (Switch) findViewById(R.id.easyMode);\r\n\r\n // update the setting switches to reflect the game's current setting values\r\n updateSwitches();\r\n\r\n // if ar switch clicked on, update the ar variable\r\n augmentedReality.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {\r\n @Override\r\n public void onCheckedChanged(CompoundButton buttonView,boolean isChecked) {\r\n if(isChecked){\r\n ar = true;\r\n Toast.makeText(getApplicationContext(), \"Augmented Reality checked\", Toast.LENGTH_LONG).show();\r\n }else{\r\n ar = false;\r\n Toast.makeText(getApplicationContext(), \"Augmented Reality unchecked\", Toast.LENGTH_LONG).show();\r\n }\r\n }\r\n });\r\n\r\n // if easy mode switch is clicked on, update the easy mode variable\r\n easyMode.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {\r\n @Override\r\n public void onCheckedChanged(CompoundButton buttonView,boolean isChecked) {\r\n if(isChecked){\r\n easy = true;\r\n Toast.makeText(getApplicationContext(), \"Easy Mode checked\", Toast.LENGTH_LONG).show();\r\n }else{\r\n easy = false;\r\n Toast.makeText(getApplicationContext(), \"Easy Mode unchecked\", Toast.LENGTH_LONG).show();\r\n }\r\n }\r\n });\r\n }",
"public synchronized boolean testAndSet() {\n boolean oldValue = value_;\n value_ = true;\n return oldValue;\n }",
"void setPointChange(Integer setPoint, Integer expectedValue);",
"void setSet(boolean set);",
"public final void restoreValueDefault(){\n wChanged = false;\n //T xValueDefault = getValueDefault();\n try {\n wValue = this.getValueDefault(); //xValueDefault;\n wValueOriginal = wValue;\n setMessage(null);\n\t\t} catch (Exception xE) {\n\t\t\twLogger.error(xE);\n\t\t}\n }",
"public void checkDefaults(){\n \t\tSharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(Options.this);\n \t\tboolean defaultOn = prefs.getBoolean(\"checkbox_default\", true);\n \t\t//Toast.makeText(this, \"Default: \" + defaultOn, Toast.LENGTH_SHORT).show();\n \t\tif(defaultOn){\n \t\t\t//Code Here\n \t\t\ttry{\n \t\t\t\tPreferenceCategory aCategory = (PreferenceCategory)findPreference(\"category_appearance\");\n \t\t\t\tPreferenceScreen tScreen = (PreferenceScreen)findPreference(\"pref_screen_transactions\");\n \t\t\t\tPreferenceScreen aScreen = (PreferenceScreen)findPreference(\"pref_screen_accounts\");\n \t\t\t\taCategory.setSelectable(false);\n \t\t\t\taCategory.setEnabled(false);\n \t\t\t\ttScreen.setEnabled(false);\n \t\t\t\ttScreen.setSelectable(false);\n \t\t\t\taScreen.setEnabled(false);\n \t\t\t\taScreen.setSelectable(false);\n \t\t\t}\n \t\t\tcatch(Exception e){\n \t\t\t\tToast.makeText(Options.this, \"ERROR PREFERENCES\\n\" + e.toString(), Toast.LENGTH_LONG).show();\n \t\t\t}\n \t\t}\n \t\telse{\n \t\t\t//Code Here\n \t\t\ttry{\n \t\t\t\tPreferenceCategory aCategory = (PreferenceCategory)findPreference(\"category_appearance\");\n \t\t\t\tPreferenceScreen tScreen = (PreferenceScreen)findPreference(\"pref_screen_transactions\");\n \t\t\t\tPreferenceScreen aScreen = (PreferenceScreen)findPreference(\"pref_screen_accounts\");\n \t\t\t\taCategory.setSelectable(true);\n \t\t\t\taCategory.setEnabled(true);\n \t\t\t\ttScreen.setEnabled(true);\n \t\t\t\ttScreen.setSelectable(true);\n \t\t\t\taScreen.setEnabled(true);\n \t\t\t\taScreen.setSelectable(true);\n \t\t\t}\n \t\t\tcatch(Exception e){\n \t\t\t\tToast.makeText(Options.this, \"ERROR PREFERENCES\\n\" + e.toString(), Toast.LENGTH_LONG).show();\n \t\t\t}\n \t\t}\n \n \t}",
"public void setX(double aValue)\n{\n if(_x==aValue) return; // If value already set, just return\n repaint(); // Register repaint\n firePropertyChange(\"X\", _x, _x = aValue, -1); // Set value and fire PropertyChange\n if(_parent!=null) _parent.setNeedsLayout(true); // Rather bogus\n}",
"public void testChangePropertyHandler_Accuracy() {\n assertNotNull(\"Test method for 'ChangePropertyHandler(MainFrame)' failed.\", handler);\n }",
"private void setupSimplePreferencesScreen() {\n if (!isSimplePreferences(this)) {\n return;\n }\n\n addPreferencesFromResource(R.xml.pref_empty);\n\n addHeader(R.string.pref_header_game);\n addPreferencesFromResource(R.xml.pref_game);\n this.gameModeSettingsPreferenceScreen = getPreferenceScreen();\n\n addHeader(R.string.pref_header_other);\n addPreferencesFromResource(R.xml.pref_other);\n\n Preference key_game_mode_summary = findPreference(getResources().getString(R.string.key_game_mode_summary));\n this.key_game_mode_summary = key_game_mode_summary;\n\n Preference useCodePreference = findPreference(getResources().getString(R.string.key_use_code));\n this.useCodePreference = useCodePreference;\n useCodePreference.setOnPreferenceChangeListener(USE_CODE_PREFERENCE_LISTENER);\n\n Preference customWidthPreference = findPreference(getResources().getString(R.string.key_custom_maze_width));\n customWidthPreference.setSummary(String.valueOf(getCustomMazeWidth()));\n this.customWidthPreference = customWidthPreference;\n customWidthPreference.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {\n @Override\n public boolean onPreferenceChange(Preference preference, Object value) {\n try {\n int width = Math.min(Math.max(Integer.parseInt(value.toString()), getResources().getInteger(R.integer.min_custom_maze_size)), getResources().getInteger(R.integer.max_custom_maze_size));\n synchronized (SettingsActivity.class) {\n SettingsActivity.customMazeWidth = width;\n }\n preference.setSummary(String.valueOf(width));\n } catch (NumberFormatException e) {\n }\n return true;\n }\n });\n Preference customHeightPreference = findPreference(getResources().getString(R.string.key_custom_maze_height));\n customHeightPreference.setSummary(String.valueOf(getCustomMazeHeight()));\n this.customHeightPreference = customHeightPreference;\n customHeightPreference.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {\n @Override\n public boolean onPreferenceChange(Preference preference, Object value) {\n try {\n int height = Math.min(Math.max(Integer.parseInt(value.toString()), getResources().getInteger(R.integer.min_custom_maze_size)), getResources().getInteger(R.integer.max_custom_maze_size));\n synchronized (SettingsActivity.class) {\n SettingsActivity.customMazeHeight = height;\n }\n preference.setSummary(String.valueOf(height));\n } catch (NumberFormatException e) {\n }\n return true;\n }\n });\n Preference customCreatePreference = findPreference(getResources().getString(R.string.key_custom_maze_create));\n this.customCreatePreference = customCreatePreference;\n customCreatePreference.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {\n @Override\n public boolean onPreferenceClick(Preference preference) {\n Maze2D.GeneratedMaze maze = generateCustomMaze(SettingsActivity.this);\n synchronized (SettingsActivity.class) {\n SettingsActivity.loadSeedMaze = maze;\n }\n if (maze != null) {\n SettingsActivity.this.finish();\n }\n return true;\n }\n });\n Preference customSolvePreference = findPreference(getResources().getString(R.string.key_custom_maze_solve));\n this.customSolvePreference = customSolvePreference;\n customSolvePreference.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {\n @Override\n public boolean onPreferenceClick(Preference preference) {\n synchronized (SettingsActivity.class) {\n SettingsActivity.showSolution = true;\n }\n SettingsActivity.this.finish();\n return true;\n }\n });\n Preference regularCreatePreference = findPreference(getResources().getString(R.string.key_maze_create));\n this.regularCreatePreference = regularCreatePreference;\n regularCreatePreference.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {\n @Override\n public boolean onPreferenceClick(Preference preference) {\n if (MainActivity.getGameMode() == GameMode.REGULAR) {\n synchronized (SettingsActivity.class) {\n SettingsActivity.newRegularMaze = true;\n }\n } else {\n synchronized (SettingsActivity.class) {\n SettingsActivity.newFillMaze = true;\n }\n }\n SettingsActivity.this.finish();\n return true;\n }\n });\n\n ListPreference algorithmPreference = (ListPreference) findPreference(getResources().getString(R.string.key_algorithm));\n this.algorithmPreference = algorithmPreference;\n\n // Bind the summaries of EditText/List/Dialog/Ringtone preferences to\n // their values. When their values change, their summaries are updated\n // to reflect the new value, per the Android Design guidelines.\n ListPreference gameModePreference = (ListPreference) findPreference(getResources().getString(R.string.key_game_mode));\n this.gamePreference = gameModePreference;\n bindPreferenceSummaryToValue(gameModePreference);\n String[] names = GameMode.getNames(this);\n gameModePreference.setEntries(names);\n gameModePreference.setEntryValues(names);\n GameMode gameMode = MainActivity.getGameMode();\n if (gameMode != null) {\n gameModePreference.setValueIndex(gameMode.getID());\n }\n\n bindPreferenceSummaryToValue(algorithmPreference);\n names = MazeAlgorithm.getNames(this, true);\n algorithmPreference.setEntries(names);\n algorithmPreference.setEntryValues(names);\n MazeAlgorithm algorithm = MainActivity.getAlgorithm();\n if (algorithm != null) {\n algorithmPreference.setDefaultValue(algorithm.getLocalName(this));\n }\n\n SwitchPreference showTracerPreference = (SwitchPreference) findPreference(getResources().getString(R.string.key_show_tracer));\n showTracerPreference.setOnPreferenceChangeListener(TOGGLE_TRACER_PREFERENCE_LISTENER);\n showTracerPreference.setDefaultValue(MainActivity.toggleTracer());\n\n SwitchPreference squareCellsPreference = (SwitchPreference) findPreference(getResources().getString(R.string.key_square_cells));\n squareCellsPreference.setOnPreferenceChangeListener(SQUARE_CELLS_PREFERENCE_LISTENER);\n squareCellsPreference.setDefaultValue(MainActivity.squareCells());\n\n Preference recalibratePreference = findPreference(getResources().getString(R.string.key_recalibrate));\n recalibratePreference.setOnPreferenceClickListener(RECALIBRATE_PREFERENCE_LISTENER);\n\n Preference defaultTiltPreference = findPreference(getResources().getString(R.string.key_default_tilt));\n defaultTiltPreference.setOnPreferenceClickListener(DEFAULT_TILT_PREFERENCE_LISTENER);\n\n prepareGameModeGUI(MainActivity.getGameMode());\n }",
"public void setLocked(boolean aValue)\n{\n if(aValue==isLocked()) return; // If value already set, just return\n Object oldValue = put(\"Locked\", aValue); // Cache old value\n firePropertyChange(\"Locked\", oldValue, aValue, -1); // Set new value and fire PropertyChange\n}",
"public void set()\n\t{\n\t\tbitHolder.setValue(1);\n\t}",
"boolean isSetStraight();",
"void set(boolean on);",
"public void setPredeterminado(boolean predeterminado)\r\n/* 159: */ {\r\n/* 160:274 */ this.predeterminado = predeterminado;\r\n/* 161: */ }",
"boolean isSetValuePeriod();",
"public static void set_UseDefaults(boolean y) throws RuntimeException\n {\n UmlCom.send_cmd(CmdFamily.javaSettingsCmd, JavaSettingsCmd._setJavaUseDefaultsCmd,\n \t\t (y) ? (byte) 1 : (byte) 0);\n UmlCom.check();\n }",
"private DefaultSetting getSampleDefaultSetting() {\n DefaultSetting setting = new DefaultSetting(\"\",\n \"\",\n 5,\n Token.DIGIT,\n \"d\",\n 1,\n true,\n true,\n true);\n\n return setting;\n }",
"public boolean hasSetting(String name) {\n\t\treturn hasIntegerSetting(name) || hasStringSetting(name)\n\t\t\t\t|| hasTextureSetting(name) || hasFloatSetting(name)\n\t\t\t\t|| hasBooleanSetting(name) || hasFloatArraySetting(name)\n\t\t\t\t|| hasIntArraySetting(name);\n\t}",
"private SettingsContainer valueChecker() {\n String generationCount = jTextFieldGenerationsCount.getText();\n String refreshTime = jTextFieldRefreshTime.getText();\n return checkSettingsFieldsValue(settingsContainer, jLabelCommunicats,\n generationCount, refreshTime);\n }",
"@Test\n public void testGetValue() {\n System.out.println(\"getValue\");\n Setting instance = null;\n Object expResult = null;\n Object result = instance.getValue();\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 }",
"private void setDefaultValues() {\r\n this.nodeDegreeSpinner.setValue(display_node_degree_default);\r\n this.displayEdgesSpinner.setValue(display_edges_default);\r\n this.scaleSpinner.setValue(scale_default);\r\n this.minweightSpinner.setValue(minweight_edges_default);\r\n this.iterationsSpinner.setValue(iterations_default);\r\n this.vote_value.setValue(vote_value_default);\r\n this.mut_value.setValue(mut_value_default);\r\n this.keep_value.setValue(keepclass_value_default);\r\n\r\n this.only_sub.setSelected(display_sub_default);\r\n this.top.setSelected(true);\r\n this.continuous.setSelected(true);\r\n this.dec.setSelected(true);\r\n this.vote_value.setEnabled(false);\r\n this.is_alg_started = false;\r\n }",
"public possibleSettings setting (){\n\t\treturn setting;\n\t}",
"@Test\n @DisplayName(\"Matched\")\n public void testEqualsMatched() throws BadAttributeException {\n Settings settings = new Settings();\n assertEquals(new Settings(), settings);\n }"
]
| [
"0.6471014",
"0.5850698",
"0.5757064",
"0.5640055",
"0.5640055",
"0.563485",
"0.55121064",
"0.5422894",
"0.54154885",
"0.5399301",
"0.5397221",
"0.5386553",
"0.5380976",
"0.53643787",
"0.53518915",
"0.535105",
"0.53484994",
"0.5329194",
"0.53243345",
"0.5268838",
"0.5268826",
"0.5266761",
"0.52504194",
"0.5247491",
"0.5204976",
"0.51917094",
"0.518507",
"0.5143676",
"0.5129571",
"0.5120438",
"0.5120438",
"0.51184684",
"0.51180947",
"0.5108905",
"0.5102367",
"0.509711",
"0.5086747",
"0.50780284",
"0.5077131",
"0.5071066",
"0.5067011",
"0.505958",
"0.504666",
"0.5046258",
"0.5046186",
"0.50421405",
"0.5038477",
"0.5037294",
"0.5034359",
"0.50189006",
"0.5008272",
"0.5000924",
"0.4994856",
"0.4994418",
"0.4993929",
"0.4986857",
"0.49652666",
"0.49639913",
"0.49626777",
"0.4957938",
"0.49567434",
"0.49523878",
"0.49519923",
"0.495085",
"0.49288145",
"0.49208182",
"0.49127805",
"0.49113882",
"0.49074045",
"0.49061108",
"0.49057084",
"0.49044156",
"0.49014026",
"0.49012092",
"0.49009126",
"0.48971513",
"0.48953134",
"0.4891117",
"0.48886365",
"0.48856902",
"0.48789436",
"0.48715594",
"0.48666677",
"0.4862512",
"0.48458597",
"0.48411718",
"0.48366496",
"0.483324",
"0.48321393",
"0.4826818",
"0.48266104",
"0.4824248",
"0.48148635",
"0.4813831",
"0.48105663",
"0.48032373",
"0.47991002",
"0.47878653",
"0.47815406",
"0.47814676"
]
| 0.5963632 | 1 |
Returns the jobs that need to be finished before this job can start. | public List<IJob> getDependentJobs(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String[] getJobsWaiting();",
"protected boolean isAllJobsFinished() {\r\n \tIterator<Progress> jobsIterator = JobManager.iterator();\r\n \twhile (jobsIterator.hasNext()) {\r\n \t\tProgress job = jobsIterator.next();\r\n\t\t\tif (!job.isFinished()) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n }",
"public int getJobsCount() {\n return jobs_.size();\n }",
"public java.lang.Integer getJobsInQueue() {\n return jobsInQueue;\n }",
"public boolean getHasMoreJobs() ;",
"public String[] getPendingPrintJobs()\n {\n return printerSimulator.getPendingPrintJobs();\n }",
"public Collection<BatchJobParameters> getCurrentJobs() {\n return runningJobs.values();\n }",
"public java.lang.Integer getJobsRunning() {\n return jobsRunning;\n }",
"private Integer[] getAbandonedJobs() {\r\n\t\tlog.info(\"Searching for abandoned jobs ...\");\r\n\t\tlog.info(\" \");\r\n\r\n\t\tList<Integer> jobs = new ArrayList<Integer>();\r\n\t\tConnection conn = null;\r\n\t\tStatement stmt = null;\r\n\t\tResultSet rs = null;\r\n\t\tString qs = \"select id from batchjobinstance where status = 'Running' and startDateTime < now() + interval -1 day\";\r\n\t\ttry {\r\n\t\t\tconn = dataSource.getConnection();\r\n\t\t\tstmt = conn.createStatement();\r\n\t\t\trs = stmt.executeQuery(qs);\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tjobs.add(rs.getInt(\"id\"));\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlog.error(\"Exception encountered while attempting to retrieve abandoned jobs: \" + e.toString() + \"; \" + e.getMessage(), e);\r\n\t\t\tlog.error(\"SQL statement: \" + qs);\r\n\t\t} finally {\r\n\t\t\tif (rs != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\trs.close();\r\n\t\t\t\t} catch (SQLException sqle) {\r\n\t\t\t\t\tlog.error(\"SQL error on rs.close(): \" + sqle.toString() + \"; \" + sqle.getMessage(), sqle);\r\n\t\t\t\t}\r\n\t\t\t\trs = null;\r\n\t\t\t}\r\n\t\t\tif (stmt != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tstmt.close();\r\n\t\t\t\t} catch (SQLException sqle) {\r\n\t\t\t\t\tlog.error(\"SQL error on stmt.close(): \" + sqle.toString() + \"; \" + sqle.getMessage(), sqle);\r\n\t\t\t\t}\r\n\t\t\t\tstmt = null;\r\n\t\t\t}\r\n\t\t\tif (conn != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tconn.close();\r\n\t\t\t\t} catch (SQLException sqle) {\r\n\t\t\t\t\tlog.error(\"SQL error on conn.close(): : \" + sqle.toString() + \"; \" + sqle.getMessage(), sqle);\r\n\t\t\t\t}\r\n\t\t\t\tconn = null;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tlog.info(jobs.size() + \" abandoned job(s) found\");\r\n\t\tlog.info(\" \");\r\n\r\n\t\treturn jobs.toArray(new Integer[0]);\r\n\t}",
"public int getJobsCount() {\n if (jobsBuilder_ == null) {\n return jobs_.size();\n } else {\n return jobsBuilder_.getCount();\n }\n }",
"@Override\n\tpublic Set<String> getDownstreamJobs() {\n\t\treturn null;\n\t}",
"public java.util.List<cb.Careerbuilder.Job> getJobsList() {\n return jobs_;\n }",
"public Jobs jobs();",
"private int getTotalNumberOfJobs() {\r\n\t\tlog.info(\"Searching for all jobs ...\");\r\n\t\tlog.info(\" \");\r\n\r\n\t\tint jobs = 0;\r\n\t\tConnection conn = null;\r\n\t\tStatement stmt = null;\r\n\t\tResultSet rs = null;\r\n\t\tString qs = \"select count(*) from batchjobinstance where startDateTime > now() + interval -1 day\";\r\n\t\ttry {\r\n\t\t\tconn = dataSource.getConnection();\r\n\t\t\tstmt = conn.createStatement();\r\n\t\t\trs = stmt.executeQuery(qs);\r\n\t\t\tif (rs.next()) {\r\n\t\t\t\tjobs = rs.getInt(1);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlog.error(\"Exception encountered while attempting to retrieve all jobs: \" + e.toString() + \"; \" + e.getMessage(), e);\r\n\t\t\tlog.error(\"SQL statement: \" + qs);\r\n\t\t} finally {\r\n\t\t\tif (rs != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\trs.close();\r\n\t\t\t\t} catch (SQLException sqle) {\r\n\t\t\t\t\tlog.error(\"SQL error on rs.close(): \" + sqle.toString() + \"; \" + sqle.getMessage(), sqle);\r\n\t\t\t\t}\r\n\t\t\t\trs = null;\r\n\t\t\t}\r\n\t\t\tif (stmt != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tstmt.close();\r\n\t\t\t\t} catch (SQLException sqle) {\r\n\t\t\t\t\tlog.error(\"SQL error on stmt.close(): \" + sqle.toString() + \"; \" + sqle.getMessage(), sqle);\r\n\t\t\t\t}\r\n\t\t\t\tstmt = null;\r\n\t\t\t}\r\n\t\t\tif (conn != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tconn.close();\r\n\t\t\t\t} catch (SQLException sqle) {\r\n\t\t\t\t\tlog.error(\"SQL error on conn.close(): : \" + sqle.toString() + \"; \" + sqle.getMessage(), sqle);\r\n\t\t\t\t}\r\n\t\t\t\tconn = null;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tlog.info(jobs + \" job(s) found\");\r\n\t\tlog.info(\" \");\r\n\r\n\t\treturn jobs;\r\n\t}",
"public java.util.List<cb.Careerbuilder.Job> getJobsList() {\n if (jobsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(jobs_);\n } else {\n return jobsBuilder_.getMessageList();\n }\n }",
"@Nonnull\n List<AbstractProject<?,?>> getAllJobs();",
"@Override\r\n\tpublic List<Job> ShowAllJobs() {\n\t\treturn null;\r\n\t}",
"public int getUserQuestJobsCount() {\n return userQuestJobs_.size();\n }",
"@Nonnull\n List<AbstractProject<?,?>> getTopLevelJobs();",
"private List<BatchJobInstance> getFailedJobs() {\r\n\t\tlog.info(\"Searching for failed jobs ...\");\r\n\t\tlog.info(\" \");\r\n\r\n\t\tList<BatchJobInstance> jobs = new ArrayList<BatchJobInstance>();\r\n\t\tConnection conn = null;\r\n\t\tStatement stmt = null;\r\n\t\tResultSet rs = null;\r\n\t\tString qs = \"select id from batchjobinstance where status = 'Failed' and startDateTime > now() + interval -1 day\";\r\n\t\ttry {\r\n\t\t\tconn = dataSource.getConnection();\r\n\t\t\tstmt = conn.createStatement();\r\n\t\t\trs = stmt.executeQuery(qs);\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tjobs.add(batchJobInstanceManager.findById(rs.getInt(\"id\")));\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlog.error(\"Exception encountered while attempting to retrieve abandoned jobs: \" + e.toString() + \"; \" + e.getMessage(), e);\r\n\t\t\tlog.error(\"SQL statement: \" + qs);\r\n\t\t} finally {\r\n\t\t\tif (rs != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\trs.close();\r\n\t\t\t\t} catch (SQLException sqle) {\r\n\t\t\t\t\tlog.error(\"SQL error on rs.close(): \" + sqle.toString() + \"; \" + sqle.getMessage(), sqle);\r\n\t\t\t\t}\r\n\t\t\t\trs = null;\r\n\t\t\t}\r\n\t\t\tif (stmt != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tstmt.close();\r\n\t\t\t\t} catch (SQLException sqle) {\r\n\t\t\t\t\tlog.error(\"SQL error on stmt.close(): \" + sqle.toString() + \"; \" + sqle.getMessage(), sqle);\r\n\t\t\t\t}\r\n\t\t\t\tstmt = null;\r\n\t\t\t}\r\n\t\t\tif (conn != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tconn.close();\r\n\t\t\t\t} catch (SQLException sqle) {\r\n\t\t\t\t\tlog.error(\"SQL error on conn.close(): : \" + sqle.toString() + \"; \" + sqle.getMessage(), sqle);\r\n\t\t\t\t}\r\n\t\t\t\tconn = null;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tlog.info(jobs.size() + \" failed job(s) found\");\r\n\t\tlog.info(\" \");\r\n\r\n\t\treturn jobs;\r\n\t}",
"public ArrayList<Task> getFinishedTasks(){\r\n return finished;\r\n }",
"@Override\n public int getJobCount () {\n return pool.getJobCount();\n }",
"public List<RequestJob> getAllJob() {\n List<RequestJob> allJob = null;\n if (allJob == null) {\n allJob = requestJobMapper.selectByExample(new RequestJobExample());\n }\n MemCacheUtil.set(\"job-list\", allJob);\n return allJob;\n }",
"int getJobsCount();",
"int getJobsCount();",
"int getJobsCount();",
"public int CompletedCount() {\n \t\treturn jobcomplete.size();\n \t}",
"public String[] getAllJobs();",
"private String jobs() {\r\n\t\tint[] j=tile.getJobs();\r\n\t\tString out = \"Jobs Are: \";\r\n\t\tfor(int i=0; i<j.length;i++) {\r\n\t\t\tout=out.concat(i+\": \"+(j[i])+\" || \");\r\n\t\t}\r\n\t\treturn out;\r\n\t}",
"long countJobs();",
"@SuppressWarnings(\"unchecked\")\n\tpublic List<IJobQueue> getJobs() throws IOException {\n\t\tfinal String sql = \"SELECT * from jobqueue order by id\";\n\t\tList<? extends IJobQueue> result = this.queryDataList(JobQueue.class,IJobQueue.Props.class, sql);\n\t\treturn (List<IJobQueue>) result;\t\t\n\t}",
"public Queue<PCB> getProcesses() {\r\n\t\ttry {\r\n\t\t\treturn this.loadToJobQueue();\r\n\t\t\t\r\n\t\t} catch (FileNotFoundException e) {\r\n\r\n\t\t\tSystem.err.println(\"File not found!!\");\r\n\t\t}\r\n\t\treturn JobQueue;\r\n\t}",
"java.util.List<com.google.cloud.talent.v4.Job> \n getJobsList();",
"boolean isDone(long number) throws NoSuchJobException;",
"public java.util.List<? extends cb.Careerbuilder.JobOrBuilder> \n getJobsOrBuilderList() {\n if (jobsBuilder_ != null) {\n return jobsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(jobs_);\n }\n }",
"public Collection<String> list() {\n return jobs.keySet();\n }",
"public LinkedBlockingQueue<Run> getCompletedRuns() {\n\t\treturn new LinkedBlockingQueue<Run>(completedRuns);\n\t}",
"public java.util.List<? extends cb.Careerbuilder.JobOrBuilder> \n getJobsOrBuilderList() {\n return jobs_;\n }",
"@Override\n\tpublic int[] getJob() throws RemoteException {\n\t\treturn (Server.jobs.size() > 0)? Server.jobs.remove(0) : null;\n\t}",
"public LinkedBlockingQueue<Run> getFinishQueue() {\n\t\treturn new LinkedBlockingQueue<Run>(finishQueue);\n\t}",
"public boolean isComplete() {\n return addedFrontWork.size() == 0 && addedBackWork.size() == 0 && sawAllDone.get();\n }",
"public GetJobs() {\r\n\t\tsuper();\r\n\t}",
"@Override\n public int queueLength() {\n return this.job_queue.size();\n }",
"public ArrayList<Job> getJobs(){\n return jobs;\n }",
"long getExcutorTasksInWorkQueueCount();",
"public List<SSTableReader> finished()\n {\n assert state() == State.COMMITTED || state() == State.READY_TO_COMMIT;\n return preparedForCommit;\n }",
"@Override\n\tpublic String getWaitingJobId() {\n\t\treturn null;\n\t}",
"Collection<QueuedPrintJob> getQueue();",
"public int getUserQuestJobsCount() {\n if (userQuestJobsBuilder_ == null) {\n return userQuestJobs_.size();\n } else {\n return userQuestJobsBuilder_.getCount();\n }\n }",
"private void loadJobs(){\n\t\tsuperJobsList.clear();\n\t\tsuperJobs=jdbc.getProjectsAndJobs();\n\t\tfor(Job j: superJobs){\n\t\t\tsuperJobsList.addElement(j.jobname);\n\t\t}\n\t\t\n\t}",
"public Map<String, Integer> getAllReadyTasks() {\n if (!regCenter.isExisted(ReadyNode.ROOT)) {\n return Collections.emptyMap();\n }\n List<String> jobNames = regCenter.getChildrenKeys(ReadyNode.ROOT);\n Map<String, Integer> result = new HashMap<>(jobNames.size(), 1);\n for (String each : jobNames) {\n String times = regCenter.get(ReadyNode.getReadyJobNodePath(each));\n if (!Strings.isNullOrEmpty(times)) {\n result.put(each, Integer.parseInt(times));\n }\n }\n return result;\n }",
"@Override\n public int getMaxJobsPerAcquisition() {\n return myMaxJobsPerAcquisition;\n }",
"public Builder clearJobs() {\n if (jobsBuilder_ == null) {\n jobs_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000004);\n onChanged();\n } else {\n jobsBuilder_.clear();\n }\n return this;\n }",
"public cb.Careerbuilder.Job getJobs(int index) {\n return jobs_.get(index);\n }",
"private void startAllDownloads() {\n\t\tif (!downloading && jobs != null && jobs.size() > 0) {\n\t\t\tfor (DownloadJob nextJob : jobs) {\n\t\t\t\tAppLogger.log(TAG, \"job \" + nextJob.getJobId() + \" working=\" + nextJob.isWorking());\n\t\t\t\tif (!nextJob.isWorking()) {\n\t\t\t\t\tstartDownloadJob(nextJob);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// for (DownloadJob job : jobs) {\n\t\t\t// AppLogger.log(TAG, \"job \" + job.generateJobId() + \" working=\" +\n\t\t\t// job.isWorking());\n\t\t\t// if (!job.isWorking()) {\n\t\t\t// startDownloadJob(job);\n\t\t\t// }\n\t\t\t// }\n\t\t}\n\t}",
"@Override\n\tpublic boolean isJobRunning() {\n\t\treturn false;\n\t}",
"public long getPendingTasks()\n {\n return getTaskCount() - getCompletedTaskCount();\n }",
"public List<byte[]> getAllJobInfo() {\n // Fetch a job list with protobuf bytes format from GCS.\n synchronized (GlobalStateAccessor.class) {\n validateGlobalStateAccessorPointer();\n return this.nativeGetAllJobInfo(globalStateAccessorNativePointer);\n }\n }",
"public ArrayList<AvailableJobModal> getAvailablejoblist() {\n return availablejoblist;\n }",
"public boolean isJob() {\n return false;\n }",
"public long getCompletedTasks()\n {\n return getCompletedTaskCount();\n }",
"java.util.List<cb.Careerbuilder.Job> \n getJobsList();",
"public boolean getSplitInProgressTasks()\r\n {\r\n return (m_splitInProgressTasks);\r\n }",
"boolean hasBatchJob();",
"public List<? extends JobEntry> getScheduledJobs()\n {\n return schedulerService.listJobs();\n }",
"java.util.List<? extends com.google.cloud.talent.v4.JobOrBuilder> \n getJobsOrBuilderList();",
"public List<Long> getFinishedShops() throws IOException {\n SearchResponse response = getConnection().getClient().search(getShopsWithUrlsDiscoveredSearchRequest());\n return extractFinishedShops(response);\n }",
"public void listJobExecutions() {\r\n\t\tRestCall caller = new RestCall();\r\n\t\tHttpURLConnection connection = caller.connect(endpoint + tenantId\r\n\t\t\t\t+ \"/job-executions\", null, \"GET\", token);\r\n\t\ttry {\r\n\t\t\tconnection.connect();\r\n\t\t\tSystem.out.println(caller.getResponse(connection));\r\n\t\t\tconnection.disconnect();\r\n\t\t} catch (MalformedURLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public java.util.List<com.lvl6.proto.QuestProto.UserQuestJobProto> getUserQuestJobsList() {\n if (userQuestJobsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(userQuestJobs_);\n } else {\n return userQuestJobsBuilder_.getMessageList();\n }\n }",
"java.util.List<org.tensorflow.proto.distruntime.JobDeviceFilters> \n getJobsList();",
"public static List<Job> findAll() {\n\t\treturn getPersistence().findAll();\n\t}",
"private void countSuccessfulAndFailedJobs() {\n\t\tfor (ToolTestResult toolTestResult : toolTestResults) {\n\t\t\tif (TestResult.FAIL.equals(toolTestResult.getTestResult())) {\n\t\t\t\tfailedJobs.add(toolTestResult);\n\t\t\t\tString toolID = toolTestResult.getToolId();\n\t\t\t\tif (failCounts.containsKey(toolID)) {\n\t\t\t\t\tfailCounts.put(toolID, failCounts.get(toolID) + 1);\n\t\t\t\t} else {\n\t\t\t\t\tfailCounts.put(toolID, 1);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tsuccessfulJobs.add(toolTestResult);\n\t\t\t}\n\t\t}\n\t}",
"@Override\r\n\tpublic List<JobDTO> getAllJobs() {\n\t\treturn accountDao.getAllJobs();\r\n\t}",
"public void sortBasedPendingJobs();",
"Integer deleteAllCompletedJobs() throws GWTJahiaServiceException;",
"public Set<Task> getUnfinishedTasks(){\r\n return unfinished;\r\n }",
"protected synchronized ArrayList<Person> getResources(Job job) {\n\n // Declarations\n ResourcePool skillGroup;\n ArrayList<Person> candidates;\n boolean areAllRequirementsMet;\n String workerLogLine;\n Person worker;\n HashMap<String, Integer> mapOfNeededSkills;\n\n // Definitions\n candidates = new ArrayList<>();\n areAllRequirementsMet = true;\n workerLogLine = \"\";\n mapOfNeededSkills = new HashMap<>();\n\n /**\n * Implementation suggested <a href=\"https://stackoverflow.com/questions/81346\">here</a> as\n * an ideal Java 8 solution. Basically, to more easily keep track of duplicate skills needed\n * (i.e. two cooks for a job), we create a <code>HashMap</code> entry of that skill to\n * <code>mapOfNeededSkills</code> where the value is the number of workers with that skill\n * that are required to complete the job.\n */\n job.getRequirements().forEach((String skill) -> {\n mapOfNeededSkills.merge(skill, 1, Integer::sum);\n });\n\n outerLoop:\n for (String skill : job.getRequirements()) {\n\n // Grab the resource pool possessing all the workers who have this skill in the port\n skillGroup = this.getResourcePools().get(skill);\n\n // If no workers exist in the port with this specific skill...\n if (skillGroup == null) {\n job.getStatusLog().append(\"No qualified workers found for \" + job.getName()\n + \" (\" + job.getParentShip().getName() + \")\\n\");\n\n // Release the chopstick, Socrates\n this.returnResources(candidates);\n job.endJob();\n return new ArrayList<>();\n\n // If the total number of people with this skill is smaller than the needed number...\n } else if (skillGroup.getPersonsInPool().size() < mapOfNeededSkills.get(skill)) {\n job.getStatusLog().append(\"Not enough qualified workers found for \" + job.getName()\n + \" (\" + job.getParentShip().getName() + \")\\n\");\n\n // Gimme the fork, Epicurus\n this.returnResources(candidates);\n job.endJob();\n return new ArrayList<>();\n\n // Otherwise...\n } else {\n\n // For all workers with the required skill\n for (Person person : skillGroup.getPersonsInPool()) {\n\n // If this individual is not employed\n if (!person.getIsWorking()) {\n skillGroup.reservePerson(person);\n candidates.add(person);\n continue outerLoop;\n }\n }\n\n // If no available workers are present, we have to keep waiting\n areAllRequirementsMet = false;\n break;\n }\n } // end outerLoop\n\n // Basically a case of logical conjunction; we only return workers if all cases are true\n if (areAllRequirementsMet) {\n workerLogLine += job.getName() + \" (\" + job.getParentShip().getName() + \") reserving\";\n\n for (int i = 0; i < candidates.size(); i++) {\n worker = candidates.get(i);\n\n if (i == 0) {\n workerLogLine += \" \";\n } else if (i < candidates.size() - 1) {\n workerLogLine += \", \";\n } else {\n workerLogLine += \" & \";\n }\n\n workerLogLine += worker.getName();\n }\n job.getStatusLog().append(workerLogLine + \"\\n\");\n\n return candidates;\n } else {\n\n this.returnResources(candidates);\n return null;\n }\n }",
"private void assignResourcesToJobs\n\t\t(long now)\n\t\tthrows IOException\n\t\t{\n\t\t// List of jobs to be canceled.\n\t\tList<JobInfo> cancelList = new LinkedList<JobInfo>();\n\n\t\t// Decide what to do with each waiting job.\n\t\tIterator<JobInfo> iter = myWaitingJobList.iterator();\n\t\tjobLoop : while (iter.hasNext())\n\t\t\t{\n\t\t\tJobInfo jobinfo = iter.next();\n\n\t\t\t// If the cluster doesn't have enough resources, don't try to\n\t\t\t// reserve any.\n\t\t\tif (! enoughResourcesForJob (jobinfo.Nn, jobinfo.Np, jobinfo.Nt))\n\t\t\t\t{\n\t\t\t\titer.remove();\n\t\t\t\tcancelList.add (jobinfo);\n\t\t\t\tcontinue jobLoop;\n\t\t\t\t}\n\n\t\t\t// Used to decide how many processes for each node.\n\t\t\tint Np_div_Nn = jobinfo.Np / jobinfo.Nn;\n\t\t\tint Np_rem_Nn = jobinfo.Np % jobinfo.Nn;\n\n\t\t\t// Reserve idle nodes for this job until there are no more idle\n\t\t\t// nodes or this job has all the nodes it needs.\n\t\t\tint be = myNextBackendNumber;\n\t\t\tdo\n\t\t\t\t{\n\t\t\t\t// Decide how many processes for this node.\n\t\t\t\tint Nproc = Np_div_Nn;\n\t\t\t\tif (jobinfo.nodeCount < Np_rem_Nn) ++ Nproc;\n\n\t\t\t\t// Reserve this node only if it is idle and it has enough CPUs.\n\t\t\t\tBackendInfo backendinfo = myBackendInfo[be];\n\t\t\t\tif (backendinfo.state == BackendInfo.State.IDLE &&\n\t\t\t\t\t\tbackendinfo.totalCpus >= Nproc)\n\t\t\t\t\t{\n\t\t\t\t\t// Reserve node.\n\t\t\t\t\tbackendinfo.state = BackendInfo.State.RESERVED;\n\t\t\t\t\tbackendinfo.stateTime = now;\n\t\t\t\t\tbackendinfo.job = jobinfo;\n\n\t\t\t\t\t// Used to decide how many CPUs for each process.\n\t\t\t\t\tint Nt_div_Nproc = backendinfo.totalCpus / Nproc;\n\t\t\t\t\tint Nt_rem_Nproc = backendinfo.totalCpus % Nproc;\n\n\t\t\t\t\t// Assign Np processes.\n\t\t\t\t\tfor (int i = 0; i < Nproc; ++ i)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t// Decide how many CPUs for this process.\n\t\t\t\t\t\tint Ncpus = jobinfo.Nt;\n\t\t\t\t\t\tif (Ncpus == 0)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tNcpus = Nt_div_Nproc;\n\t\t\t\t\t\t\tif (i < Nt_rem_Nproc) ++ Ncpus;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Log information.\n\t\t\t\t\t\tmyLog.log\n\t\t\t\t\t\t\t(now,\n\t\t\t\t\t\t\t \"Job \" + jobinfo.jobnum + \" assigned \" +\n\t\t\t\t\t\t\t backendinfo.name + \", rank=\" + jobinfo.count +\n\t\t\t\t\t\t\t \", CPUs=\" + Ncpus);\n\n\t\t\t\t\t\t// Record information about process.\n\t\t\t\t\t\tjobinfo.backend[jobinfo.count] = backendinfo;\n\t\t\t\t\t\tjobinfo.cpus[jobinfo.count] = Ncpus;\n\t\t\t\t\t\t++ jobinfo.count;\n\n\t\t\t\t\t\t// Inform Job Frontend.\n\t\t\t\t\t\tjobinfo.frontend.assignBackend\n\t\t\t\t\t\t\t(/*theJobScheduler*/ this,\n\t\t\t\t\t\t\t /*name */ backendinfo.name,\n\t\t\t\t\t\t\t /*host */ backendinfo.host,\n\t\t\t\t\t\t\t /*jvm */ backendinfo.jvm,\n\t\t\t\t\t\t\t /*classpath */ backendinfo.classpath,\n\t\t\t\t\t\t\t /*jvmflags */ backendinfo.jvmflags,\n\t\t\t\t\t\t\t /*Nt */ Ncpus);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t// Assign one node.\n\t\t\t\t\t++ jobinfo.nodeCount;\n\t\t\t\t\t}\n\n\t\t\t\t// Consider next node.\n\t\t\t\tbe = (be + 1) % myBackendCount;\n\t\t\t\t}\n\t\t\twhile (be != myNextBackendNumber && jobinfo.count < jobinfo.Np);\n\t\t\tmyNextBackendNumber = be;\n\n\t\t\t// If this job now has Np processes, start running this job.\n\t\t\tif (jobinfo.count == jobinfo.Np)\n\t\t\t\t{\n\t\t\t\t// Log information.\n\t\t\t\tmyLog.log (now, \"Job \" + jobinfo.jobnum + \" started\");\n\n\t\t\t\t// Mark job as running.\n\t\t\t\titer.remove();\n\t\t\t\tmyRunningJobList.add (jobinfo);\n\t\t\t\tjobinfo.state = JobInfo.State.RUNNING;\n\t\t\t\tjobinfo.stateTime = now;\n\n\t\t\t\t// Mark all the job's nodes as running.\n\t\t\t\tfor (BackendInfo backendinfo : jobinfo.backend)\n\t\t\t\t\t{\n\t\t\t\t\tbackendinfo.state = BackendInfo.State.RUNNING;\n\t\t\t\t\tbackendinfo.stateTime = now;\n\t\t\t\t\t}\n\n\t\t\t\t// If the Job Scheduler is imposing a maximum job time, start\n\t\t\t\t// job timer.\n\t\t\t\tif (myJobTime > 0)\n\t\t\t\t\t{\n\t\t\t\t\tjobinfo.jobTimer.start (myJobTime * 1000L);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// If this job does not yet have Np processes, don't schedule any\n\t\t\t// further jobs.\n\t\t\telse\n\t\t\t\t{\n\t\t\t\tbreak jobLoop;\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Cancel jobs for which there are insufficient resources.\n\t\tfor (JobInfo jobinfo : cancelList)\n\t\t\t{\n\t\t\tdoCancelJobTooFewResources (now, jobinfo);\n\t\t\t}\n\t\t}",
"public java.util.List<cb.Careerbuilder.Job.Builder> \n getJobsBuilderList() {\n return getJobsFieldBuilder().getBuilderList();\n }",
"Set<Object> getAfterProcessors();",
"public java.util.List<? extends com.lvl6.proto.QuestProto.UserQuestJobProtoOrBuilder> \n getUserQuestJobsOrBuilderList() {\n if (userQuestJobsBuilder_ != null) {\n return userQuestJobsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(userQuestJobs_);\n }\n }",
"int getUserQuestJobsCount();",
"public android.support.v4.app.JobIntentService.e dequeueWork() {\n /*\n r3 = this;\n r0 = 0;\n r1 = r3.b;\n monitor-enter(r1);\n r2 = r3.c;\t Catch:{ all -> 0x0026 }\n if (r2 != 0) goto L_0x000a;\n L_0x0008:\n monitor-exit(r1);\t Catch:{ all -> 0x0026 }\n L_0x0009:\n return r0;\n L_0x000a:\n r2 = r3.c;\t Catch:{ all -> 0x0026 }\n r2 = r2.dequeueWork();\t Catch:{ all -> 0x0026 }\n monitor-exit(r1);\t Catch:{ all -> 0x0026 }\n if (r2 == 0) goto L_0x0009;\n L_0x0013:\n r0 = r2.getIntent();\n r1 = r3.a;\n r1 = r1.getClassLoader();\n r0.setExtrasClassLoader(r1);\n r0 = new android.support.v4.app.JobIntentService$f$a;\n r0.<init>(r3, r2);\n goto L_0x0009;\n L_0x0026:\n r0 = move-exception;\n monitor-exit(r1);\t Catch:{ all -> 0x0026 }\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.support.v4.app.JobIntentService.f.dequeueWork():android.support.v4.app.JobIntentService$e\");\n }",
"public cb.Careerbuilder.JobOrBuilder getJobsOrBuilder(\n int index) {\n return jobs_.get(index);\n }",
"public int UnassignedCount() {\n \t\treturn jobqueue.size();\n \t}",
"List<JobTrackingWorkerDependency> reportJobTaskComplete(final String jobTaskId) throws JobReportingException;",
"private void waitUntilAllThreadsAreFinished() {\n int index = 1;\n\n while (true) {\n while (index <= noThread) {\n if (carry[index] == -1) {\n index = 1;\n } else {\n index++;\n }\n }\n break;\n }\n }",
"private List<PartETag> waitForAllPartUploads() throws IOException {\n LOG.debug(\"Waiting for {} uploads to complete\", partETagsFutures.size());\n try {\n return Futures.allAsList(partETagsFutures).get();\n } catch (InterruptedException ie) {\n LOG.warn(\"Interrupted partUpload\", ie);\n Thread.currentThread().interrupt();\n return null;\n } catch (ExecutionException ee) {\n //there is no way of recovering so abort\n //cancel all partUploads\n LOG.debug(\"While waiting for upload completion\", ee);\n LOG.debug(\"Cancelling futures\");\n for (ListenableFuture<PartETag> future : partETagsFutures) {\n future.cancel(true);\n }\n //abort multipartupload\n store.abortMultipartUpload(key, uploadId);\n throw new IOException(\"Multi-part upload with id '\" + uploadId\n + \"' to \" + key, ee);\n }\n }",
"public String[] getJobArr() {\n String[] jobArr;\n jobArr = new String[jobList.size()];\n\n for(int i=0;i<jobList.size();i++) {\n Log.w(\"MA\", \"\"+jobList.get(i).listString(jobType));\n jobArr[i] = (jobList.get(i)).listString(jobType);\n }\n return jobArr;\n }",
"private int jobLength(){\n LocalDate completedLocalDate = LocalDate.of(this.dateCompleted.getYear(), \n this.dateCompleted.getMonth(), this.dateCompleted.getDay());\n \n LocalDate startedLocalDate = LocalDate.of(this.dateStarted.getYear(), \n this.dateStarted.getMonth(), this.dateStarted.getDay());\n \n return startedLocalDate.until(completedLocalDate).getDays();\n }",
"com.google.cloud.talent.v4.Job getJobs(int index);",
"public ArrayList<jobqueue> getqueue() {\n\t\tArrayList<jobqueue> job = new ArrayList<jobqueue>();\n\t\tMysqlConnPool.getInstance();\n\t\tConnection connection = MysqlConnPool.getConnection();\n\t\tPreparedStatement ps = null;\n\t\tResultSet rs = null;\n\t\tString sql = \"select * from jobqueue\";\n\t\trs = MysqlHelper.executeQuery(connection, sql, ps, rs);\n\t\ttry {\n\t\t\twhile (rs.next()) {\n\t\t\t\tjobqueue queue = new jobqueue();\n\t\t\t\tqueue.setId(rs.getInt(\"id\"));\n\t\t\t\tqueue.setUrl(rs.getString(\"url\"));\n\t\t\t\tqueue.setUrlname(rs.getString(\"sitename\"));\n\t\t\t\tqueue.setTitlerule(rs.getString(\"titlerule\"));\n\t\t\t\tqueue.setSourcerule(rs.getString(\"sourcerule\"));\n\t\t\t\tqueue.setPublishtimerule(rs.getString(\"publishtimerule\"));\n\t\t\t\tqueue.setContentrule(rs.getString(\"contentrule\"));\n\t\t\t\tqueue.setState(rs.getInt(\"state\"));\n\t\t\t\tqueue.setSitetype(rs.getInt(\"sitetype\"));\n\t\t\t\tqueue.setRuletype(rs.getInt(\"ruletype\"));\n\t\t\t\tqueue.setContentwebtype(rs.getInt(\"contentwebtype\"));\n\t\t\t\tjob.add(queue);\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} finally {\n\t\t\tMysqlUtil.realeaseResource(rs, ps, connection);\n\t\t}\n\t\treturn job;\n\n\t}",
"java.util.List<com.lvl6.proto.QuestProto.UserQuestJobProto> \n getUserQuestJobsList();",
"public java.util.List<com.lvl6.proto.QuestProto.UserQuestJobProto> getUserQuestJobsList() {\n return userQuestJobs_;\n }",
"int numberOfWorkingWorkers();",
"int getNumBarriers() {\n return queue.size();\n }",
"Collection<String> submitJob(Job job) throws JobExecutionException;",
"public cb.Careerbuilder.Job getJobs(int index) {\n if (jobsBuilder_ == null) {\n return jobs_.get(index);\n } else {\n return jobsBuilder_.getMessage(index);\n }\n }",
"public cb.Careerbuilder.Job.Builder addJobsBuilder() {\n return getJobsFieldBuilder().addBuilder(\n cb.Careerbuilder.Job.getDefaultInstance());\n }",
"public int queue() \n { return waiting; }"
]
| [
"0.7177362",
"0.6680803",
"0.6514374",
"0.6335534",
"0.631715",
"0.62728906",
"0.61331886",
"0.60892916",
"0.6070152",
"0.6033269",
"0.60328674",
"0.60278535",
"0.59960884",
"0.5992463",
"0.59590894",
"0.5931089",
"0.59040964",
"0.5878783",
"0.5874314",
"0.5851098",
"0.5841575",
"0.5833602",
"0.5833485",
"0.5775397",
"0.5775397",
"0.5775397",
"0.5771787",
"0.575256",
"0.5727742",
"0.57164466",
"0.5713299",
"0.56923044",
"0.5682462",
"0.56692517",
"0.5655264",
"0.5652108",
"0.5649752",
"0.56404954",
"0.56401515",
"0.56031907",
"0.5594857",
"0.5588088",
"0.55724394",
"0.55718964",
"0.5545954",
"0.5532317",
"0.55286765",
"0.5502498",
"0.5476472",
"0.5470338",
"0.5460042",
"0.544859",
"0.54374844",
"0.54288286",
"0.54192567",
"0.53980136",
"0.5386001",
"0.5378895",
"0.53724545",
"0.53594905",
"0.5348576",
"0.53305846",
"0.5325476",
"0.52990246",
"0.52921945",
"0.5285495",
"0.5263576",
"0.52566445",
"0.52533317",
"0.52385646",
"0.5237363",
"0.5232561",
"0.522395",
"0.5207471",
"0.5201315",
"0.51854336",
"0.5180906",
"0.5160027",
"0.5154259",
"0.51498675",
"0.5135964",
"0.5122811",
"0.511976",
"0.5115321",
"0.5113091",
"0.5110502",
"0.51087135",
"0.5097883",
"0.50962406",
"0.5090219",
"0.50815845",
"0.50695",
"0.5068284",
"0.50649667",
"0.50640774",
"0.50621825",
"0.50601363",
"0.50328684",
"0.5023823",
"0.50135756"
]
| 0.60402524 | 9 |
Adds a job that needs to finish before this job may start. | public void addDependentJob(IJob job); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void addJob(Job job) {\n try {\n JobWrapper jobWrapper = new JobWrapper(agentManager, job);\n this.runningPool.execute(jobWrapper);\n JobWrapper jobWrapperRet = jobs.putIfAbsent(jobWrapper.getJob().getJobInstanceId(), jobWrapper);\n if (jobWrapperRet != null) {\n LOGGER.warn(\"{} has been added to running pool, \"\n + \"cannot be added repeatedly\", job.getJobInstanceId());\n } else {\n jobMetrics.runningJobs.incrementAndGet();\n }\n } catch (Exception rje) {\n LOGGER.debug(\"reject job {}\", job.getJobInstanceId(), rje);\n pendingJobs.putIfAbsent(job.getJobInstanceId(), job);\n }\n }",
"public void addJob(Process p) {\n // Remove the next lines to start your implementation\n //throw new UnsupportedOperationException();\n \n // Fill in this method\n /*------------------------------------------------------------*/\n\n //Add the job to the unfinished process queue if it is not already present\n if(!this.unfinishedJobs.contains(p)){\n this.unfinishedJobs.add(p);\n }\n /*------------------------------------------------------------*/\n }",
"private void addNewFinishedJobItem(Job job) {\n FinishedJobItemView finishedJobItemView = new FinishedJobItemView(this, job);\n finishedJobItemViews.add(finishedJobItemView);\n finishedJobsLinearLayout.addView(finishedJobItemView);\n }",
"protected static Future<Job> checkAndAddJobToQueueFuture(Marker marker, Job job, HApiParam.HQuery.Command command){\n\n return checkRunningImportJobs(marker, job, command)\n .compose( runningJobs -> {\n if(runningJobs == null){\n CService.importQueue.addJob(job);\n return Future.succeededFuture(job);\n }else{\n return Future.failedFuture(new HttpException(CONFLICT, \"Job '\"+runningJobs+\"' is already running on target!\"));\n }\n });\n }",
"@Override\n protected void insertJobInQueueUponArrival (final J job, final double time)\n {\n addRealJobLocal (job);\n }",
"public void addJobToWaitingList(CommonCommand newJob) {\n \t\tif (null != localMonitor)\n \t\t\tlocalMonitor.newJobToWaitingList(newJob);\n \t}",
"@Override\n public void pipeStepQueueJob(final Job job) {\n synchronized(jobs_queue) {\n pipeStepLog(\"Queuing JOB #\" + job.getId());\n jobs_queue.add(job);\n jobs_queue.notifyAll();\n }\n }",
"private boolean addJob(DownloadJob downloadJob) {\n\t\tboolean contain = false;\n\t\tif (jobs != null) {\n\t\t\tString id = downloadJob.getJobId();\n\t\t\tfor (DownloadJob job : jobs) {\n\t\t\t\tif (id.equals(job.getJobId())) {\n\t\t\t\t\tcontain = true;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!contain) {\n\t\t\t\tjobs.add(0, downloadJob);\n\t\t\t}\n\t\t} else {\n\t\t\tjobs = new ArrayList<DownloadJob>();\n\t\t\tjobs.add(downloadJob);\n\t\t\tcontain = false;\n\t\t}\n\n\t\treturn !contain;\n\t}",
"public void addJob(String name, JobInProgress job) {\n Queue<JobInProgress> queue = queues.get(name);\n if (null != queue)\n queue.addJob(job);\n }",
"public void submitJob(Job job) {\n\t\tthis.jobs.add(job);\n\t}",
"public void addJob(Process p) \n {\n \tif(p != null)\n \t\tprocesses.add(p);\n }",
"@Override\n protected void insertJobInQueueUponStart (final J job, final double time)\n {\n if (job == null)\n throw new IllegalArgumentException ();\n if ((! isJob (job)) || isJobInServiceArea (job))\n throw new IllegalArgumentException ();\n getDelegateJob (job); // Sanity on existence of delegate job.\n }",
"public void enqueJob(FJJob job, boolean sample) {\n if (FJSimulator.DEBUG) System.out.println(\"enqueJob(\"+job.path_log_id+\") \"+job.arrival_time);\n \n // only keep a reference to the job if the simulator tells us to\n job.setSample(sample);\n \n job_queue.add(job);\n feedWorkers(job.arrival_time);\n if (FJSimulator.DEBUG) System.out.println(\" queued a job. New queue length: \"+job_queue.size());\n }",
"boolean addJob(PrintJob job);",
"public void attachJob(Job job) {\n\t\tthis.job = job.copy();\n\t}",
"private void addCompletedJobStats(CascadingJob job, HadoopStepStats stats) {\n if (workflowVersion == null) {\n workflowVersion = currentFlowId;\n }\n\n job.setJobStats(stats);\n jobs.add(job);\n }",
"void completeJob();",
"public void finalizeJob() {\n // override to implement\n }",
"final static void addJob(BatchJob<?> job) {\n\t\tif(job == null) {\n\t\t\tthrow new IllegalArgumentException(\"Job cannot be null\");\n\t\t}\n\t\t\n\t\tBatchCentral.ALL_BATCH_JOBS.add(job);\n\t}",
"public void submit(final Job job) {\n deque.add(new DelayedJob(job, System.nanoTime()));\n }",
"public boolean dependsOn(IJob job);",
"public void addJob(String jobID, String jobTitle, String jobType,\n String salary, String jobDescription, String expirationDate,\n String contactEmail) {\n //Will check if the amount is less than 100 jobs added\n //then Will add the job to the end of the arrayList\n //will return true if added else return false\n currentJob = new Job(contactEmail, jobType, jobID, jobDescription, salary, jobTitle, expirationDate);\n if(jobs.size() <= 100)\n {\n jobs.add(currentJob);\n String success = String.format(\"================JOB POSTING SUCCESS================\\n\" +\n \"A new job has been posted with following details:\\n\" +\n \"Job ID: %s\\n\" +\n \"Job Name: %s\\n\" +\n \"Job Type: %s\\n\" +\n \"Salary: %s\\n\" +\n \"Job Description: %s\\n\" +\n \"Expiration Date: %s\\n\" +\n \"Contact email: %s\\n\", jobID, jobTitle, jobType, salary, jobDescription, expirationDate, contactEmail);\n\n System.out.println(success);\n } else {\n String success = String.format(\"================JOB POSTING FAILURE ================\\n\" +\n \"THERE ARE MORE THAN 100 JOBS IN THE SYSTEM:\\n\");\n System.out.println(success);\n }\n }",
"protected void jobFinished(Progress job) {\n }",
"public void submit(final Job job, final long runAt) {\n deque.add(new DelayedJob(job, runAt));\n }",
"public void addPlayer(HeroClass newJob){job.add(newJob);}",
"public void addJob(Class<? extends Job> jobClass) {\n CronExp cronExp = (CronExp) jobClass.getAnnotation(CronExp.class);\n addJob(cronExp.value(), jobClass);\n }",
"boolean isDone(long number) throws NoSuchJobException;",
"public void addDiskJob(DiskJob task) {\n\t\tioManager.addTask(task);\n\t}",
"public void addCompletedTransaction(Transaction transaction) {\n pendingUpdates.add(transaction);\n }",
"private void addCompletedJobStats(PigJob job, JobStats stats) {\n // put the job conf into a Properties object so we can serialize them\n Properties jobConfProperties = new Properties();\n if (stats.getInputs() != null && stats.getInputs().size() > 0 &&\n stats.getInputs().get(0).getConf() != null) {\n\n Configuration conf = stats.getInputs().get(0).getConf();\n for (Map.Entry<String, String> entry : conf) {\n jobConfProperties.setProperty(entry.getKey(), entry.getValue());\n }\n\n if (workflowVersion == null) {\n workflowVersion = conf.get(\"pig.logical.plan.signature\");\n }\n }\n\n job.setJobStats(stats);\n jobs.add(job);\n }",
"protected void afterJobExecution() {\n\t}",
"@Override\r\n\tpublic void doAfterJob() {\n\r\n\t}",
"public boolean addNewFinishedTask(Task task){\r\n return finished.add(task);\r\n }",
"@Override\n public final boolean doIt() throws JobException {\n tasks = new LinkedHashMap<TaskKey,TaskJob>();\n prepareTasks();\n (new MergeJob()).startJob();\n return true;\n }",
"void addDoneTask(Task task);",
"public void finishJob(View v) {\n JobScheduler jobScheduler = (JobScheduler) getSystemService(Context.JOB_SCHEDULER_SERVICE);\n List<JobInfo> allPendingJobs = jobScheduler.getAllPendingJobs();\n if (allPendingJobs.size() > 0) {\n // Finish the last one\n int jobId = allPendingJobs.get(0).getId();\n jobScheduler.cancel(jobId);\n Toast.makeText(\n MainActivity.this, String.format(getString(R.string.cancelled_job), jobId),\n Toast.LENGTH_SHORT).show();\n } else {\n Toast.makeText(\n MainActivity.this, getString(R.string.no_jobs_to_cancel),\n Toast.LENGTH_SHORT).show();\n }\n }",
"synchronized public void jobDone(){ // l'action a été réalisée\n\t\tdone = true; // changement d'état\n\t\tthis.notifyAll(); // on notifie tout le monde\n\t}",
"private void putJob(int a, int b){\n \n Integer[] job = new Integer[2];\n \n job[0] = a;\n job[1] = b;\n \n // put into priority queue\n this.prior.add(job);\n }",
"public void addTransient(final String jobName) {\n if (regCenter.getNumChildren(ReadyNode.ROOT) > jobStateConfiguration.getQueueSize()) {\n log.warn(\"Cannot add transient job, caused by read state queue size is larger than {}.\", jobStateConfiguration.getQueueSize());\n return;\n }\n Optional<CloudJobConfigurationPOJO> cloudJobConfig = configService.load(jobName);\n if (!cloudJobConfig.isPresent() || CloudJobExecutionType.TRANSIENT != cloudJobConfig.get().getJobExecutionType()) {\n return;\n }\n String readyJobNode = ReadyNode.getReadyJobNodePath(jobName);\n String times = regCenter.getDirectly(readyJobNode);\n if (cloudJobConfig.get().isMisfire()) {\n regCenter.persist(readyJobNode, Integer.toString(null == times ? 1 : Integer.parseInt(times) + 1));\n } else {\n regCenter.persist(ReadyNode.getReadyJobNodePath(jobName), \"1\");\n }\n }",
"private void completeAbandonedJob(Integer id) {\r\n\t\tabandonedJobs++;\r\n\t\tBatchJobInstance batchJobInstance = batchJobInstanceManager.findById(id);\r\n\t\tif (batchJobInstance != null) {\r\n\t\t\tDate rightNow = new Date();\r\n\t\t\tbatchJobInstance.setStatus(BatchJobService.STATUS_ABANDONED);\r\n\t\t\tBatchJobEvent batchJobEvent = new BatchJobEvent();\r\n\t\t\tbatchJobEvent.setEvent(BatchJobService.STATUS_ABANDONED);\r\n\t\t\tbatchJobEvent.setDescription(\"Job marked as abandoned by PeriodicBatchJobReview\");\r\n\t\t\tbatchJobEvent.setCreationDate(rightNow);\r\n\t\t\tbatchJobEvent.setCreatedBy(\"PeriodicBatchJobReview\");\r\n\t\t\tbatchJobEvent.setLastUpdate(rightNow);\r\n\t\t\tbatchJobEvent.setLastUpdateBy(\"PeriodicBatchJobReview\");\r\n\t\t\tbatchJobInstance.addEvent(batchJobEvent);\r\n\t\t\tbatchJobInstance.setLastUpdate(rightNow);\r\n\t\t\tbatchJobInstance.setLastUpdateBy(\"PeriodicBatchJobReview\");\r\n\t\t\tbatchJobInstanceManager.save(batchJobInstance);\r\n\t\t\tupdatedJobs++;\r\n\t\t} else {\r\n\t\t\tlog.error(\"Unable to retrieve instance \" + id + \"; job will not be updated.\");\r\n\t\t\tfailedUpdates++;\r\n\t\t}\r\n\t}",
"public void ServiceJob(FJJob job, double time) {\n if (job == null) return;\n if (remaining_workers == 0) return;\n if (FJSimulator.DEBUG) System.out.println(\"begin service on job: \"+job.path_log_id+\" \"+time);\n\n // if the patience flag is set, then check the job queue to see if\n // this job can wait for more workers to become idle\n /*\n if (this.patient_job==null && patience) {\n \tif (this.job_queue.size() <= JOB_QUEUE_PATIENCE_THRESHOLD) {\n \t\tthis.patient_job = job;\n \t\t// compute how many workers we want to have idle before we start\n \t\t//this.idle_workers_needed = Math.min(job.num_tasks, Math.min(remaining_workers+1, num_workers));\n \t\t/**\n \t\t * Just waiting for one more worker, always, is kind-of dumb. If there is only\n \t\t * one worker available, waiting for a 2nd doubles the parallelism of the next job.\n \t\t * Also, if a lot of jobs are in service, the expected waiting time until the\n \t\t * next departure is shorter. OTOH, if almost all workers are already idle, then\n \t\t * the benefit of one more worker is negligible, and less jobs in progress means a\n \t\t * longer expected wait until another becomes available. So when deciding whether\n \t\t * to be patient or not, we should consider:\n \t\t * - the number of currently idle workers\n \t\t * - the fraction of currently idle workers\n \t\t * - the number of jobs in progress (and how many workers they have)\n \t\t * - \n \t\t * /\n \t\tint num_jobs_in_progress = this.activeJobs.size();\n \t\tdouble idle_fraction = (1.0*remaining_workers)/(1.0*num_workers);\n \t\tint busy_workers = num_workers - remaining_workers;\n \t\tdouble workers_per_job = (1.0*busy_workers)/(1.0*num_jobs_in_progress);\n \t\t\n \t\t// the expected factor to be gained by a job departing\n \t\tdouble rr = workers_per_job / remaining_workers;\n \t\t\n \t\tif ((rr >= 1.5) && (num_jobs_in_progress >= num_workers/4.0)) {\n \t\t\tthis.idle_workers_needed = Math.min(job.num_tasks, Math.min(remaining_workers+1, num_workers));\n \t\t\tSystem.out.println(\"** Setting a job to be patient rr=\"+rr);\n \t\t} else {\n \t\t\tSystem.out.println(\"-- J=\"+num_jobs_in_progress+\"\\t I=\"+remaining_workers+\"\\t B=\"+busy_workers+\"\\t rr=\"+rr);\n \t\t\tthis.idle_workers_needed = remaining_workers;\n \t\t}\n \t}\n }\n */\n\n /*\n * Try a really restrictive version of BackPressure and Patience.\n * Jobs are only patient in the case where there is only one available\n * worker, and at least k/2 jobs in progress. Also the only time the job\n * takes all workers is the case of a patient job.\n */\n if (this.patient_job==null && patience) {\n \tif ((this.job_queue.size() <= JOB_QUEUE_PATIENCE_THRESHOLD) \n \t\t\t&& (remaining_workers==1)\n \t\t\t&& (activeJobs.size() >= num_workers/2)) {\n \t\tthis.patient_job = job;\n \t\t\tthis.idle_workers_needed = remaining_workers + 1;\n \t}\n }\n\n \n // if we are going to wait for more workers, just return\n //TODO: if the job queue is no longer empty, should just start the job?\n boolean servicing_patient_job = false;\n if (patience && this.patient_job!=null) {\n \tif (this.patient_job != job) {\n \t\tSystem.err.println(\"ERROR: trying to service a job when another is being patient!\");\n \t\tSystem.exit(1);\n \t}\n \t\n \tif (remaining_workers < idle_workers_needed) {\n \t\t//System.out.println(\"Being patient for job remaining_workers=\"+remaining_workers+\" idle_workers_needed=\"+idle_workers_needed);\n \t\treturn;\n \t}\n \t\n \t// we're going to service the job that's been waiting\n \tthis.patient_job = null;\n \tidle_workers_needed = 0;\n \tservicing_patient_job = true;\n \t//System.out.println(\"Servicing a patient job \"+remaining_workers);\n }\n \n // pick out some number of workers to use\n // if the job queue is below some threshold, take all the workers\n int nworkers = (remaining_workers == 1) ? 1 : remaining_workers/2;\n //if (this.job_queue.isEmpty()) {\n if (this.job_queue.isEmpty() && servicing_patient_job) {\n \t//System.out.println(\" ** giving a patient job all the workers: \"+remaining_workers);\n \tnworkers = remaining_workers;\n }\n \n activeJobs.add(job);\n Vector<Integer> worker_pool = new Vector<Integer>();\n job2workers.put(job, worker_pool);\n for (int w=0; (w<num_workers && worker_pool.size()<nworkers); w++) {\n if (worker2job[w] == null) {\n worker_pool.add(w);\n worker2job[w] = job;\n remaining_workers--;\n }\n }\n \n //System.out.println(\"worker_pool.size() = \"+worker_pool.size()+\" nworkers = \"+nworkers+\" activeJobs.size() = \"+activeJobs.size()+\" queue size = \"+this.job_queue.size());\n \n // assign the job's tasks to the workers\n int worker_index = 0;\n FJTask t = null;\n while ((t = job.nextTask()) != null) {\n workers[0][worker_pool.get(worker_index)].queue.add(t);\n //System.out.println(\"assigning task \"+t+\" to worker \"+worker_pool.get(worker_index));\n worker_index = (worker_index + 1) % nworkers;\n }\n \n // These newly allocated workers will be idle. Put them to work.\n feedWorkers(time);\n }",
"public boolean addToSortedQueue(ArrayList<Integer> job) throws RemoteException;",
"public void moveJob(String from, String to, JobInProgress job) {\n synchronized (queues) {\n removeJob(from, job);\n addJob(to, job);\n }\n }",
"public void addAsPerSearch(List<Job> searchedJob) {\n int currentSize = mJobList.size();\n //remove the current items\n mJobList.clear();\n //add all the new items\n mJobList.addAll(searchedJob);\n //tell the recycler view that all the old items are gone\n notifyItemRangeRemoved(0, currentSize);\n //tell the recycler view how many new items we added\n notifyItemRangeInserted(0, mJobList.size());\n }",
"public void appendAjxPatch() {\n if (this.isRunning) {\n Ajx3BundleAppendPatchTask ajx3BundleAppendPatchTask = new Ajx3BundleAppendPatchTask(this.mGroups, this, this.mDownloadType);\n mTask = ajx3BundleAppendPatchTask;\n ajx3BundleAppendPatchTask.execute(new String[]{\"\"});\n }\n }",
"public void addToQueue(Unit unit) {\n if (units.size() < maxStock) {\n endTime = System.currentTimeMillis() + unit.getBuildTime();\n units.add(unit);\n }\n }",
"@Override\n\tpublic void beforeJob(JobExecution arg0) {\n\t\t\n\t}",
"@Override\n public boolean onStopJob(JobParameters job) {\n return true;\n }",
"public boolean isJob() {\n return false;\n }",
"private void scheduleJob() {\n Log.d(TAG, \"Long lived task is done.\");\n }",
"void joinJob(long jobId, long joinJobId);",
"public void removeJob(String name, JobInProgress job) {\n Queue<JobInProgress> queue = queues.get(name);\n if (null != queue)\n queue.removeJob(job);\n }",
"boolean hasJobId();",
"public void addClaimedChunk(ChunkData chunk) {\n this.claimedChunks.add(chunk);\n }",
"@Test\n public void testCreateConfirmDepositAmountsJob() throws Exception {\n Job asj = new AllocationScraperJob();\n asj.setStatus( JobStatus.completed );\n dao.insertJob( asj );\n\n // setup the job\n Job j = new CreateConfirmDepositAmountsJob();\n j.setStatus( JobStatus.submitted );\n j.getDependentJobs().add( asj );\n int jobId = dao.insertJob( j );\n\n // this should now run the job\n processorService.processJobs();\n\n // verify that the job completed successfully\n Job jobVerify = dao.fetchJobById( jobId );\n Assert.assertEquals( JobStatus.completed, jobVerify.getStatus() );\n }",
"@Override\n\tpublic String getWaitingJobId() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic void doBeforeJob() {\n\r\n\t}",
"String addJob(final Job job,\n final boolean simulate) {\n String token = null;\n synchronized (this.queue) {\n for (JobExecutionData data : this.queue) {\n if (data.getJob().equals(job) && data.getSimulate() == simulate) {\n throw new IllegalStateException(\"Job '\" + job.getClass().getName()\n + \"' is already in queue for execution.\");\n }\n }\n if (null != this.currentRunning && this.currentRunning.job.equals(job)\n && this.currentRunning.getSimulate() == simulate) {\n throw new IllegalStateException(\"Job '\" + job.getClass().getName()\n + \"' is already in queue for execution.\");\n }\n token = JobTokenUtil.getInstance().createToken(job, this.systemInfo, simulate);\n this.queue.offer(new JobExecutionData(job, simulate, token));\n }\n return token;\n }",
"protected void beforeJobExecution() {\n\t}",
"public void addAsPerFilterFirstLoad(List<Job> newJob){\n int currentSize = mJobList.size();\n //remove the current items\n mJobList.clear();\n //add all the new items\n mJobList.addAll(newJob);\n //tell the recycler view that all the old items are gone\n notifyItemRangeRemoved(0, currentSize);\n //tell the recycler view how many new items we added\n notifyItemRangeInserted(0, mJobList.size());\n }",
"protected void finished(){\n if (doFilterUpdate) {\n //runFilterUpdates();\n }\n \n double groupTotalTimeSecs = (System.currentTimeMillis() - (double) groupStartTime) / 1000;\n log.info(\"Job \"+id+\" finished \" /*+ parsedType*/ + \" after \"\n + groupTotalTimeSecs + \" seconds\");\n \n ((DistributedTileBreeder)breeder).jobDone(this);\n }",
"@Override\n protected void rescheduleAfterArrival (final J job, final double time)\n {\n if (job == null)\n throw new IllegalArgumentException ();\n if ((! isJob (job)) || isJobInServiceArea (job))\n throw new IllegalArgumentException ();\n final DJ delegateJob = getDelegateJob (job);\n getEncapsulatedQueue ().arrive (time, delegateJob);\n }",
"public void removeJob(int jNo);",
"public void addNewJob(String jobId, String shipTo, String shipperContact, String paymentDue){\n JobInfo job = new JobInfo(shipTo,\n shipperContact,\n paymentDue,\n address,\n String.valueOf(latitude),\n String.valueOf(longitude));\n Map<String, Object> postValues = job.toMap();\n Map<String, Object> childUpdates = new HashMap<>();\n childUpdates.put(\"deliverybot/jobs/\" + jobId + \"/info\", postValues);\n firebaseDatabaseReference.updateChildren(childUpdates);\n\n if (selectedDriver.isEmpty())\n firebaseDatabaseReference.child(\"deliverybot/jobs/\" + jobId + \"/status\").setValue(\"Unassigned\");\n else\n firebaseDatabaseReference.child(\"deliverybot/jobs/\" + jobId + \"/status\").setValue(\"Assigned\");\n firebaseDatabaseReference.child(\"deliverybot/jobs/\" + jobId + \"/driver\").setValue(selectedDriver);\n\n // Add route information to firebase\n Route route = new Route(address,\n String.valueOf(latitude),\n String.valueOf(longitude),\n selectedDriver);\n Map<String, Object> postRouteUpdate = route.toMap();\n Map<String, Object> routeChildUpdates = new HashMap<>();\n routeChildUpdates.put(\"deliverybot/routes/\" + jobId, postRouteUpdate);\n firebaseDatabaseReference.updateChildren(routeChildUpdates);\n String toastMessage = getResources().getString(R.string.job_creation_toast);\n Toast.makeText(getApplicationContext(), toastMessage, Toast.LENGTH_LONG).show();\n finish();\n }",
"public JobBuilder() {\r\n job = new Job();\r\n }",
"public static boolean addJob(Job job, int recruiterId) throws RecruiterNotFoundException\n {\n conn = DatabaseConnectionPostgre.connection();\n try {\n stmt = conn.createStatement();\n String sql = String.format(\n \"INSERT INTO job (job_name, fee, category, recruiter_id) VALUES ('%s', %d, '%s', %d);\",\n job.getName(),\n job.getFee(),\n job.getCategory().name(),\n recruiterId\n );\n int res = stmt.executeUpdate(sql);\n stmt.close();\n conn.close();\n return res != 0;\n } catch (Exception e) {\n System.err.println(e.getClass().getName()+\": \"+ e.getMessage());\n if(e.getMessage().matches(\"(?s).*recruiter_id.*not present.*\")) {\n throw new RecruiterNotFoundException(recruiterId);\n }\n return false;\n }\n }",
"@Override\n\t@Transactional\n\tpublic long createJob(Job job) {\n\t\treturn 0;\n\t}",
"@PUT\n @Path( \"/add\" )\n @Produces( { MediaType.APPLICATION_JSON } )\n public JobStatus addJob( String xml ) { Parse the XML, create a job configuration\n //\n // System.out.println(xml);\n //\n JobConfiguration jobConfiguration;\n try {\n jobConfiguration = JobConfiguration.fromXML( xml.toString() );\n JobMeta jobMeta = jobConfiguration.getJobMeta();\n JobExecutionConfiguration jobExecutionConfiguration = jobConfiguration.getJobExecutionConfiguration();\n jobMeta.setLogLevel( jobExecutionConfiguration.getLogLevel() );\n jobMeta.injectVariables( jobExecutionConfiguration.getVariables() );\n\n // If there was a repository, we know about it at this point in time.\n //\n final Repository repository = jobConfiguration.getJobExecutionConfiguration().getRepository();\n\n String carteObjectId = UUID.randomUUID().toString();\n SimpleLoggingObject servletLoggingObject =\n new SimpleLoggingObject( getClass().getName(), LoggingObjectType.CARTE, null );\n servletLoggingObject.setContainerObjectId( carteObjectId );\n servletLoggingObject.setLogLevel( jobExecutionConfiguration.getLogLevel() );\n\n // Create the transformation and store in the list...\n //\n final Job job = new Job( repository, jobMeta, servletLoggingObject );\n\n // Setting variables\n //\n job.initializeVariablesFrom( null );\n job.getJobMeta().setInternalKettleVariables( job );\n job.injectVariables( jobConfiguration.getJobExecutionConfiguration().getVariables() );\n job.setArguments( jobExecutionConfiguration.getArgumentStrings() );\n\n // Also copy the parameters over...\n //\n job.copyParametersFrom( jobMeta );\n job.clearParameters();\n String[] parameterNames = job.listParameters();\n for ( int idx = 0; idx < parameterNames.length; idx++ ) {\n // Grab the parameter value set in the job entry\n //\n String thisValue = jobExecutionConfiguration.getParams().get( parameterNames[idx] );\n if ( !Utils.isEmpty( thisValue ) ) {\n // Set the value as specified by the user in the job entry\n //\n jobMeta.setParameterValue( parameterNames[idx], thisValue );\n }\n }\n jobMeta.activateParameters();\n\n job.setSocketRepository( CarteSingleton.getInstance().getSocketRepository() );\n\n CarteSingleton.getInstance().getJobMap().addJob( job.getJobname(), carteObjectId, job, jobConfiguration );\n\n // Make sure to disconnect from the repository when the job finishes.\n //\n if ( repository != null ) {\n job.addJobListener( new JobAdapter() {\n public void jobFinished( Job job ) {\n repository.disconnect();\n }\n } );\n }\n return getJobStatus( carteObjectId );\n } catch ( KettleException e ) {\n e.printStackTrace();\n }\n return null;\n }",
"@Override\n public synchronized JobStatus submitJob(JobID jobid, JobConf jobConf) throws IOException {\n if(jobTable.containsKey(jobid)){\n return jobTable.get(jobid).getStatus();\n }\n JobInProgress job = new JobInProgress(jobid, this, jobConf);\n \n //TODO: need to check Queue later\n if(!jobQueue.offer(job)){\n LOG.info(\"submitJob: Cannot enqueue the job\");\n return null;\n }\n \n return addJob(jobid, job);\n \n }",
"@Override\n\tpublic boolean isJobRunning() {\n\t\treturn false;\n\t}",
"@Override\n boolean canFinish() {\n return false; //!getTask().hasUnfinishedDependencies();\n }",
"public boolean getHasMoreJobs() ;",
"private void onSyncFinished(JobParameters job) {\n jobFinished(job, false); // Is a reschedule needed?\n Log.d(LOG_TAG, \"Sync job finished\");\n }",
"public void setHasMoreJobs( boolean hasMoreJobs ) ;",
"public void addFinishedTarget(Target target) {\n synchronized (finishedTargets) {\n finishedTargets.notify();\n finishedTargets.add(target);\n }\n }",
"@Override\n public AddWorkloadResult addWorkload(AddWorkloadRequest request) {\n request = beforeClientExecution(request);\n return executeAddWorkload(request);\n }",
"public void addToBack(UnitOfWork workUnit) {\n synchronized (addedBackWork) {\n addedBackWork.addLast(workUnit);\n }\n }",
"public static void writeNewJob(Job job) {\n DatabaseReference database = FirebaseDatabase.getInstance().getReference();\n database.child(\"jobs\").push().setValue(job);\n }",
"private void finishJob(int id) {\n Call<FinishJobResult> call = apiService.finishJob(id);\n final SharedPreferences.Editor editor = sharedPreferences.edit();\n call.enqueue(new Callback<FinishJobResult>() {\n @Override\n public void onResponse(Call<FinishJobResult> call, Response<FinishJobResult> response) {\n FinishJobResult finishJobResult = response.body();\n try {\n if (finishJobResult.getSuccess() == 1) {\n //job is now status 2 and it is finished\n editor.putInt(\"JOB_HANDLED\", 0);\n editor.apply();\n Toast.makeText(MapActivity.this, \"Done handling request.\", Toast.LENGTH_SHORT).show();\n recreate();\n }\n } catch (Exception e) {\n }\n }\n\n @Override\n public void onFailure(Call<FinishJobResult> call, Throwable t) {\n Toast.makeText(MapActivity.this, \"lease try again\", Toast.LENGTH_SHORT).show();\n }\n });\n }",
"public android.support.v4.app.JobIntentService.e dequeueWork() {\n /*\n r3 = this;\n r0 = 0;\n r1 = r3.b;\n monitor-enter(r1);\n r2 = r3.c;\t Catch:{ all -> 0x0026 }\n if (r2 != 0) goto L_0x000a;\n L_0x0008:\n monitor-exit(r1);\t Catch:{ all -> 0x0026 }\n L_0x0009:\n return r0;\n L_0x000a:\n r2 = r3.c;\t Catch:{ all -> 0x0026 }\n r2 = r2.dequeueWork();\t Catch:{ all -> 0x0026 }\n monitor-exit(r1);\t Catch:{ all -> 0x0026 }\n if (r2 == 0) goto L_0x0009;\n L_0x0013:\n r0 = r2.getIntent();\n r1 = r3.a;\n r1 = r1.getClassLoader();\n r0.setExtrasClassLoader(r1);\n r0 = new android.support.v4.app.JobIntentService$f$a;\n r0.<init>(r3, r2);\n goto L_0x0009;\n L_0x0026:\n r0 = move-exception;\n monitor-exit(r1);\t Catch:{ all -> 0x0026 }\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.support.v4.app.JobIntentService.f.dequeueWork():android.support.v4.app.JobIntentService$e\");\n }",
"public boolean removeJob(Process p) {\n // Remove the next lines to start your implementation\n\n //Remove process from the queue of unifinished jobs that are cycled back and forth\n //from the CPU\n return this.unfinishedJobs.remove(p);\n /*------------------------------------------------------------*/\n }",
"public void markJobAsSuccess(String jobId) {\n JobWrapper wrapper = jobs.remove(jobId);\n if (wrapper != null) {\n jobMetrics.runningJobs.decrementAndGet();\n LOGGER.info(\"job instance {} is success\", jobId);\n // mark job as success.\n jobConfDB.updateJobState(jobId, StateSearchKey.SUCCESS);\n }\n }",
"public boolean addNewUnfinishedTask(Task task){\r\n if (!unfinished.add(task)){\r\n Task t = task;\r\n\r\n //Find the task in the set that is equal to the task in the argument\r\n for (Task tsk: unfinished){\r\n if (tsk.equals(task)){\r\n t = tsk;\r\n break;\r\n }\r\n }\r\n\r\n //Increment the hours required for that task\r\n t.incrementHrsReqd(task.getHrsLeft());\r\n return false;\r\n }\r\n return true;\r\n }",
"public boolean hasJobId() {\n return result.hasJobId();\n }",
"public int addJob(String cust, int copies, int pages, \n boolean isColour, boolean isHQuality, boolean isDSided);",
"@Override\n\tpublic void addTask(ISimpleTask task) {\n\t\ttry {\n\t\t\tqueue.put(task);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public void insertJob(Job job) {\n\t\t\tJobDao jobDao=new JobDaoImpl();\n\t\t\tjobDao.insertJob(job);\n\t\t}",
"public void add(String name, Runnable runnable, int seconds) {\n Job job = new Job(name, runnable, seconds);\n jobs.put(name, job);\n job.setRunNow();\n jobQueue.add(job);\n }",
"private void scheduleJob() {\n\n }",
"public Builder addJobs(cb.Careerbuilder.Job value) {\n if (jobsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureJobsIsMutable();\n jobs_.add(value);\n onChanged();\n } else {\n jobsBuilder_.addMessage(value);\n }\n return this;\n }",
"protected Job getPreemptingJob(Job runJob, long tick) {\n long earliestPreemptingJobReleaseTime = Long.MAX_VALUE;\n Job earliestPreemptingJob = null;\n long runJobFinishTime = tick + runJob.remainingExecTime;\n for (Job job: nextJobOfATask.values()) {\n if (job == runJob)\n continue;\n\n if (job.releaseTime < runJobFinishTime) {\n if (job.task.getPriority() > runJob.task.getPriority()) {\n if (job.releaseTime < earliestPreemptingJobReleaseTime) {\n earliestPreemptingJobReleaseTime = job.releaseTime;\n earliestPreemptingJob = job;\n }\n }\n }\n }\n return earliestPreemptingJob;\n }",
"public synchronized boolean placeStudentInQueue(Student s) throws Exception {\n if (waitingStudents.contains(s)) {\n // Should normally not experience this situation\n throw new Exception(\"TA: Error!!! Student \" + s.getId()\n + \" wants to wait, but he/she is already in the waiting queue!\"\n + \" Are we experiencing quantum effects?\");\n }\n\n System.out.println(\"TA: Student \" + s.getId() + \" wants to wait, \"\n + waitingStudents.size() + \" student(s) already waiting\");\n if (getNumberOfFreeChairs() < 1) return false;\n // Add the student to the queue\n waitingStudents.add(s);\n return true;\n }",
"public cb.Careerbuilder.Job.Builder addJobsBuilder() {\n return getJobsFieldBuilder().addBuilder(\n cb.Careerbuilder.Job.getDefaultInstance());\n }",
"OptionalUserMiniJobsSpecBuilder completed(Date timeCompleted);",
"public void addWaitingGame(Game game) {\n checkWaitingGames();\n waitingGames.put(game.getID(), game);\n persistenceFacade.addGame(game);\n }",
"public Job saveJob(Job job) {\n return new Job(em.merge(job.createEntity()), job.getOwner());\n }",
"@Override\n\tpublic void finish(String id) throws Exception\n\t{\n\t\tlog.debug(\"Queue a worker job for \" + id);\n\t\tpool.execute(this.new Worker(id));\n\t}",
"public void add(String name, Runnable runnable, int seconds, Date nextRun) {\n Job job = new Job(name, runnable, seconds);\n jobs.put(name, job);\n job.setRunNow();\n jobQueue.add(job);\n }",
"public void removeJob(Job job) {\n removeJob(job.getJobId());\n }",
"synchronized void putWork(PartialSolution sp) {\n\t\ttasks.add(sp);\n\t\t/* anuntam unul dintre workerii care asteptau */\n\t\tthis.notify();\n\n\t}"
]
| [
"0.6681832",
"0.6351056",
"0.62753475",
"0.6196435",
"0.6194454",
"0.6150569",
"0.614364",
"0.6005471",
"0.59747636",
"0.5910057",
"0.5906634",
"0.57773614",
"0.57212913",
"0.57063234",
"0.5683407",
"0.5644586",
"0.5557729",
"0.55552304",
"0.55129915",
"0.5477491",
"0.53851646",
"0.5368577",
"0.53433",
"0.53390604",
"0.5315839",
"0.5281712",
"0.52722806",
"0.52222264",
"0.52089804",
"0.51937264",
"0.5162975",
"0.51381814",
"0.5125934",
"0.5091354",
"0.5087636",
"0.50790834",
"0.5077811",
"0.50771564",
"0.5040737",
"0.5025835",
"0.50158656",
"0.5015091",
"0.5013613",
"0.5011501",
"0.49711618",
"0.49306664",
"0.4925798",
"0.49213508",
"0.4916195",
"0.4914314",
"0.4914267",
"0.4892801",
"0.48916027",
"0.48632407",
"0.4845371",
"0.48428297",
"0.48294708",
"0.48273113",
"0.48188043",
"0.4811623",
"0.48104283",
"0.4799978",
"0.47977787",
"0.47887266",
"0.47879055",
"0.47849357",
"0.47766915",
"0.47759444",
"0.47659856",
"0.4732953",
"0.47302738",
"0.47300667",
"0.47182813",
"0.47164235",
"0.47081855",
"0.47066766",
"0.4702812",
"0.4702568",
"0.46908253",
"0.46763974",
"0.4671417",
"0.46665514",
"0.46618453",
"0.46615815",
"0.46517158",
"0.46494803",
"0.46376404",
"0.4635555",
"0.46330312",
"0.46283796",
"0.46240732",
"0.46208423",
"0.4618259",
"0.46118835",
"0.46079886",
"0.4606951",
"0.46049115",
"0.45696843",
"0.45665467",
"0.45545474"
]
| 0.691167 | 0 |
Check whether this job depends upon completion of a given job. | public boolean dependsOn(IJob job); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isComplete() {\n return addedFrontWork.size() == 0 && addedBackWork.size() == 0 && sawAllDone.get();\n }",
"boolean hasIsComplete();",
"boolean hasIsComplete();",
"public boolean isComplete();",
"boolean isComplete();",
"boolean isComplete();",
"public abstract boolean isComplete();",
"boolean isDone(long number) throws NoSuchJobException;",
"public void checkFinish()\t{\n\t\tif(readCompareResult() == true)\t{\n\t\t\tfinished = true;\n\t\t}\n\t}",
"public boolean is_completed();",
"public boolean finished() {\n\t\t\n\t\tfor ( int i = 0; i <this.num; i++) {\n\t\t\tif (this.car[i]!=null) {\n\t\t\t\tif (this.car[i].checkFinished()==false) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"public boolean isComplete()\n\t{\n\t\treturn getStep() == getRepeatCount() * 2 + 1;\n\t}",
"public final boolean isDone() {\n\t\tboolean result = true;\n\t\tfor (String mdl : executors.keySet()) {\n\t\t\tSubstructureExecutorI exe = executors.get(mdl);\n\t\t\tresult = result && exe.stepIsDone();\n\t\t}\n\t\t// final int matlabWait = 200;\n\t\t// try {\n\t\t// log.debug(\"Waiting to return\");\n\t\t// Thread.sleep(matlabWait);\n\t\t// } catch (InterruptedException e) {\n\t\t// log.debug(\"HEY who woke me up?\");\n\t\t// }\n\t\treturn result;\n\t}",
"private static boolean areComplete(Collection<JobProxy> jobProxies) {\n for (JobProxy jobProxy : jobProxies) {\n if (!jobProxy.isComplete())\n return false;\n }\n return true;\n }",
"public boolean isComplete()\n {\n return (getCount() >= getGoal());\n }",
"public boolean isDone()\n {\n return (this.elapsed >= this.duration);\n }",
"boolean isCompleted();",
"protected boolean isAllJobsFinished() {\r\n \tIterator<Progress> jobsIterator = JobManager.iterator();\r\n \twhile (jobsIterator.hasNext()) {\r\n \t\tProgress job = jobsIterator.next();\r\n\t\t\tif (!job.isFinished()) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n }",
"public abstract boolean isCompleted();",
"@Override\n boolean canFinish() {\n return false; //!getTask().hasUnfinishedDependencies();\n }",
"@Override\n public boolean isCompleted() {\n return isAllChildCompleted() || this.completion == 1;\n }",
"public boolean finish(Date currentTime) {\n if (modelDependResult == DependResult.WAITING) {\n modelDependResult = getModelDependResult(currentTime);\n return false;\n }\n return true;\n }",
"public boolean isComplete()\n {\n return getStatus() == STATUS_COMPLETE;\n }",
"public boolean isCompleted() {\r\n\r\n\t\treturn (getAmount() - offeredQuantity) == 0 || isAborted();\r\n\r\n\t}",
"protected boolean isFinished() {\n\t\treturn false;\n\t\t//return timeOnTarget >= finishTime;\n }",
"public final boolean isFinished() {\n \t\tfor (StoppingCondition condition : stoppingConditions) {\n \t\t\tif (condition.isCompleted()) {\n \t\t\t\treturn true;\n \t\t\t}\n \t\t}\n \t\treturn false;\n \t}",
"@Override\n\tpublic boolean done() {\n\t\tfor(Task t : details.getPendingTasks()){\n\t\t\tif(!t.isComplete())\n\t\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}",
"protected boolean isFinished() {\n return Math.abs(pid.getError()) < 0.25;\n }",
"public boolean isCompleted()\n\t{\n\t\treturn pieces.length == existing.cardinality();\n\t}",
"boolean hasFinished();",
"public boolean complete() {\n return previousLink().isPresent();\n }",
"public Boolean isComplete() {\n return true;\n }",
"boolean canFinish();",
"boolean canFinish();",
"public boolean isDone();",
"public boolean isDone();",
"bool myfunction(Job s1, Job s2)\n {\n return (s1.finish < s2.finish);\n }",
"bool myfunction(Job s1, Job s2)\n {\n return (s1.finish < s2.finish);\n }",
"protected boolean isFinished()\n {\n return timer.get() > driveDuration;\n }",
"public boolean isComplete(){\r\n\r\n\t\t// TODO\r\n\t\t\r\n\t\tif(!isValid()){\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\treturn true;\r\n\t}",
"public boolean hasCompleted() {\n return this.tail.value != null && NotificationLite.isComplete(leaveTransform(this.tail.value));\n }",
"boolean isComplete() {\n return complete.get();\n }",
"protected boolean isFinished() {\n\t\t// get the current angle from the gyro\n\t\tdouble currentAngle = Robot.gyroSubsystem.GyroPosition();\n\n\t\t// see if we are within 2 degrees of the target angle (90 degrees)\n\t\tif (Math.abs(currentAngle - 90) <= 2) {\n\t\t\t// we have hit our goal of 90, end auto program\n\t\t\treturn true;\n\t\t} else {\n\t\t\t// we are not quite there yet, keep going\n\t\t\treturn false;\n\t\t}\n\n\t}",
"boolean getIsComplete();",
"boolean isFinished() {\n if (completeCount < reserve) {\n return false;\n }\n\n // We need to check if the last entry was used\n final OutboundQueueEntry last = queue[reserve];\n return !last.isCommitted() || last.isCompleted();\n }",
"@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2014-09-06 12:50:58.288 -0400\", hash_original_method = \"41AED877D51F56AB121F4235E96580E7\", hash_generated_method = \"FAE5E8273CFAE7048C4C302C5D04574C\")\n \npublic boolean isCompleted() {\n return getInfo().getState() == PrintJobInfo.STATE_COMPLETED;\n }",
"boolean isFinished() {\n return includedInLastStep() && (end == elementList.size() - 1);\n }",
"protected boolean isFinished() {\r\n if (state == STATE_SUCCESS) {\r\n // Success\r\n return true;\r\n }\r\n if (state == STATE_FAILURE) {\r\n // Failure\r\n return true;\r\n }\r\n return false;\r\n }",
"public boolean checkDone() {\n return this.isDone;\n }",
"protected boolean isFinished() {\n \t// wait for a time out\n return false;\n }",
"boolean isDone();",
"@Override\n\tpublic boolean isFinished() {\n\t\treturn (this.timeRemaining == 0);\n\t}",
"public boolean isFinished() {\n\t\tif (getRemaining() <= 0) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"protected boolean isFinished() {\n \tcurrentAngle = Robot.gyroSubsystem.gyroPosition();\n \tif (targetAngle - error > currentAngle || targetAngle + error < currentAngle) {\n \t\treturn false;\n \t} else {\n \t\tRobot.driveSubsystem.arcadeDrive(0, 0);\n \t\treturn true;\n \t}\n }",
"protected boolean isFinished() {\n\t\tif (!hasPathStarted) {\n\t\t\treturn false;\n\t\t}\n\t\tboolean leftComplete = status.activePointValid && status.isLast;\n\t\tboolean trajectoryComplete = leftComplete;\n\t\tif (trajectoryComplete) {\n\t\t\tSystem.out.println(\"Finished trajectory\");\n\t\t}\n\t\treturn trajectoryComplete || isFinished;\n\t}",
"public boolean isFinished();",
"public boolean isComplete( ) {\n\t\treturn complete;\n\t}",
"public boolean conditionFulfilled();",
"@Override\n public boolean isDone() {\n // boolean result = true;\n // try {\n // result = !evaluateCondition();\n // } catch (Exception e) {\n // logger.error(e.getMessage(), e);\n // }\n // setDone(true);\n // return result;\n // setDone(false);\n return false;\n }",
"Boolean isFinished();",
"protected boolean isFinished() {\n return System.currentTimeMillis() - timeStarted >= timeToGo;\n }",
"public boolean isFinishing() {\n return isFinishing;\n }",
"public boolean isFinished() {\n\t\t\n\t\treturn drivetrain.angleReachedTarget();\n\n\t}",
"public boolean isDone() { return true; }",
"protected boolean isFinished() {\n return (System.currentTimeMillis() - startTime) >= time;\n \t//return false;\n }",
"protected boolean isFinished() {\n \t\n \tif(current_time >= goal) {\n \t\t\n \t\treturn true;\n \t}else {\n \t\t\n \t\treturn false;\n \t}\n }",
"public boolean isComplete()\n {\n return (name != null) && (spacecraft != null) &&\n (sensor != null) && (description != null);\n }",
"public boolean isComplete() {\r\n\t\treturn complete;\r\n\t}",
"public boolean isComplete() {\n return complete;\n }",
"public boolean isComplete() {\n return complete;\n }",
"protected boolean isFinished() {\n return finished;\n }",
"@Override\n public boolean isCompleted() {\n return time.secondsPassed==finishLevel;\n }",
"public boolean isFinished() {\n return (Math.abs(RobotContainer.drive.getAngle() - this.angle) <= 1);\n }",
"protected boolean isFinished() {\r\n\t\t \tboolean ans = false;\r\n\t\t \treturn ans;\r\n\t\t }",
"public boolean hasFinished() {\n\t\treturn new Date(startDate.getTime() + duration).before(new Date());\n\t}",
"public boolean isComplete() {\r\n for (GoalInterface g: goals) {\r\n if (type == GoalType.AND && !g.isComplete()) {\r\n return false;\r\n } else if (type == GoalType.OR && g.isComplete()) {\r\n return true;\r\n }\r\n }\r\n\r\n if (type == GoalType.AND) {\r\n return true;\r\n } else if (type == GoalType.OR) {\r\n return false;\r\n }\r\n return false;\r\n }",
"public boolean isComplete() {\n\t\tboolean complete = false;\n\t\tcomplete = !(hasInstInQueue());\n\n\t\tfor (int i = 0; i < MemReservationTomasulo.length && complete; i++) {\n\t\t\tcomplete = !MemReservationTomasulo[i].isBusy();\n\t\t}\n\n\t\tfor (int i = 0; i < alu_rsTomasulo.length && complete; i++) {\n\t\t\tcomplete = !alu_rsTomasulo[i].isBusy();\n\t\t}\n\n\t\treturn complete;\n\t}",
"public synchronized boolean checkFileCompletion()\n/* */ {\n/* 49 */ int totalsize = 0;\n/* */ \n/* 51 */ for (FileSubContent subContent : this.downloadManager.getSUB_CONTENTS())\n/* */ {\n/* 53 */ if ((subContent != null) && (subContent.isIsDownloaded()) && (subContent.getContent().length == this.downloadManager.getSUB_SIZE()))\n/* */ {\n/* 55 */ totalsize++;\n/* */ }\n/* */ }\n/* */ \n/* 59 */ if (totalsize == this.downloadManager.getSUB_CONTENTS().size())\n/* */ {\n/* 61 */ System.out.println(\"FileDownloadChecker: got all of the subParts.\");\n/* 62 */ return true;\n/* */ }\n/* */ \n/* */ \n/* 66 */ return false;\n/* */ }",
"public boolean isComplete() {\n\t\treturn false;\n\t}",
"protected boolean isFinished() {\n\t\treturn pid.onTarget();\n\t}",
"boolean completed();",
"public synchronized boolean hasFinished ()\n {\n return this.finished;\n }",
"boolean hasJobId();",
"boolean hasCompleteFile();",
"boolean isFinished();",
"@Override\n public boolean isFinished() {\n return complete;\n }",
"public boolean isComplete() {\n return future != null && future.isDone();\n }",
"public abstract boolean isFinished ();",
"boolean hasCompletePartition();",
"public final boolean isFinish() {\n return finish;\n }",
"@Override\n\tpublic boolean isComplete() {\n\t\tboolean empties = nbEmptyMetrics == 0;\n\t\t// 2. all submetrics are complete\n\t\tboolean subs = true;\n\t\tfor (AbstractMetric m : metrics)\n\t\t\tsubs = subs && m.isComplete();\n\t\t// 3. the sum of weights is 1\n\t\tdouble weight = 0;\n\t\tfor (int i = 0; i < metrics.size(); i++)\n\t\t\tweight += this.weight.get(i);\n\t\tboolean sum = weight == 1.0;\n\t\treturn empties && subs && sum;\n\t}",
"public boolean isDeferred();",
"@Override\r\n\tpublic boolean isFinished() {\n\t\treturn finish;\r\n\t}",
"public Status waitUntilFinished();",
"@Override\n protected boolean isFinished() {\n return Math.abs(m_currentError) <= constants.tolerance;\n }",
"boolean hasBatchJob();",
"boolean hasTargetJobName();",
"protected boolean isFinished() {\n\treturn this.isDone;\n }",
"public boolean isDone() {\n return done.isTrue() || depth == PSymGlobal.getConfiguration().getMaxStepBound();\n }",
"@Override\n protected boolean isFinished() {\n if (isDone) {\n return true;\n }\n double currentHeight = Robot.climber.getFrontChasisHeight();\n if (currentHeight != previousHeight) {\n previousHeight = currentHeight;\n return false;\n } else {\n return true;\n }\n }"
]
| [
"0.6515193",
"0.6494356",
"0.6494356",
"0.6476991",
"0.64670855",
"0.64670855",
"0.6427258",
"0.64112407",
"0.63819104",
"0.63627076",
"0.6221201",
"0.6208649",
"0.6206375",
"0.6183525",
"0.61722565",
"0.616471",
"0.6161818",
"0.6160164",
"0.6139201",
"0.6132365",
"0.6131907",
"0.6118729",
"0.6105957",
"0.6099969",
"0.6018347",
"0.60172164",
"0.6003191",
"0.59929514",
"0.59917235",
"0.5983736",
"0.59729093",
"0.597041",
"0.5948337",
"0.5948337",
"0.5933027",
"0.5933027",
"0.5921965",
"0.5921965",
"0.59219074",
"0.5920208",
"0.58954155",
"0.5894469",
"0.58932257",
"0.588446",
"0.5859556",
"0.58552396",
"0.5850676",
"0.5832472",
"0.5828123",
"0.5827471",
"0.5817634",
"0.580846",
"0.58041066",
"0.578385",
"0.5783241",
"0.5776731",
"0.5766633",
"0.57615685",
"0.5761036",
"0.57555",
"0.57551074",
"0.5740061",
"0.5712651",
"0.5710337",
"0.57023746",
"0.5690181",
"0.5685927",
"0.56807697",
"0.56796277",
"0.56796277",
"0.56757176",
"0.56719476",
"0.56713283",
"0.5668089",
"0.566541",
"0.5651109",
"0.5644924",
"0.56415606",
"0.5640799",
"0.56401265",
"0.5639642",
"0.56393105",
"0.56324995",
"0.5632229",
"0.56213003",
"0.56203747",
"0.5615987",
"0.56146145",
"0.56124043",
"0.5611501",
"0.5603671",
"0.5602903",
"0.56008595",
"0.56002295",
"0.55999315",
"0.55985",
"0.55956614",
"0.5593719",
"0.5589301",
"0.5573657"
]
| 0.72251797 | 0 |
Sets this job's status. | public void setStatus(JobStatus status); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public JobBuilder status(String status) {\r\n job.setStatus(status);\r\n return this;\r\n }",
"@Override\n\tpublic void setJobStatus(int jobStatus) {\n\t\tmodel.setJobStatus(jobStatus);\n\t}",
"public void setJobStatus(Integer jobStatus) {\n this.jobStatus = jobStatus;\n }",
"public void setStatus(BatchStatus value) {\n this.status = value;\n }",
"void setStatus(TaskStatus status);",
"public void setJobStatus(String jobStatus) {\n this.jobStatus = jobStatus;\n }",
"public void setJobStatus(String jobStatus) {\n this.jobStatus = jobStatus;\n }",
"public void setStatus(long status) {\r\n this.status = status;\r\n }",
"public void setStatus(Status status) {\r\n this.status = status;\r\n }",
"public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }",
"public void setStatus(Status newStatus){\n status = newStatus;\n }",
"public void setStatus(Status status) {\n this.status = status;\n }",
"public void setStatus(Status status) {\n this.status = status;\n }",
"public void setStatus(Status status) {\n this.status = status;\n }",
"public void setStatus(Status status) {\n this.status = status;\n }",
"public void setStatus(Status status)\n {\n this.status = status;\n }",
"public void setStatus(@NotNull Status status) {\n this.status = status;\n }",
"public void setStatus(JenkinsStatus status) {\n this.status = status;\n }",
"public synchronized void setStatus(Status stat) {\n if (!isMutable()) {\n throw new IllegalStateException(\n \"This TestResult is no longer mutable!\");\n }\n\n if (stat == null) {\n throw new IllegalArgumentException(\n \"TestResult status cannot be set to null!\");\n }\n\n // close out message section\n sections[0].setStatus(null);\n\n execStatus = stat;\n\n if (execStatus == inProgress) {\n execStatus = interrupted;\n }\n\n // verify integrity of status in all sections\n for (Section section : sections) {\n if (section.isMutable()) {\n section.setStatus(incomplete);\n }\n }\n\n props = PropertyArray.put(props, SECTIONS,\n StringArray.join(getSectionTitles()));\n props = PropertyArray.put(props, EXEC_STATUS,\n execStatus.toString());\n\n // end time now required\n // mainly for writing in the TRC for the Last Run Filter\n if (PropertyArray.get(props, END) == null) {\n props = PropertyArray.put(props, END, formatDate(new Date()));\n }\n\n // this object is now immutable\n notifyCompleted();\n }",
"public void setStatus(boolean stat) {\n\t\tstatus = stat;\n\t}",
"public void setStatus(ProcessModelStatus status) {\r\n this.status = status;\r\n }",
"public void setStatus(Integer status) {\r\n this.status = status;\r\n }",
"public void setStatus(Integer status) {\r\n this.status = status;\r\n }",
"public void setStatus(java.lang.Object status) {\n this.status = status;\n }",
"public void setStatus(String stat)\n {\n status = stat;\n }",
"public void setStatus(int status) {\n STATUS = status;\n }",
"public void setStatus(int status);",
"public void setStatus(int status);",
"public void setStatus(int status) {\n this.status = status;\n }",
"public void setStatus(int status) {\n this.status = status;\n }",
"public void setStatus(STATUS status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}",
"public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(Integer status) {\n this.status = status;\n }",
"public void setStatus(String status) {\r\n this.status = status;\r\n }",
"public void setStatus(String status) {\r\n this.status = status;\r\n }",
"public void setStatus(String status) {\r\n this.status = status;\r\n }",
"public void setStatus(String status) {\r\n\t\tthis.status = status;\r\n\t}",
"public void setStatus(String status) {\r\n\t\tthis.status = status;\r\n\t}",
"public void setStatus(String status) {\r\n\t\tthis.status = status;\r\n\t}",
"public void setStatus(String status) {\r\n\t\tthis.status = status;\r\n\t}",
"public void setStatus(String status) {\r\n\t\tthis.status = status;\r\n\t}",
"public void status(boolean b) {\n status = b;\n }",
"public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}",
"void setStatus(STATUS status);",
"public void setStatus(String status) { this.status = status; }",
"public void setStatus(String status)\n {\n setValue(\"status\", status);\n }",
"public void setStatus(String status) {\n\t\tthis.status = status;\n\t}",
"public void setStatus(String status) {\n\t\tthis.status = status;\n\t}",
"public void setStatus(String status) {\n\t\tthis.status = status;\n\t}",
"public void setStatus(String status) {\n\t\tthis.status = status;\n\t}",
"@JsonProperty(\"status\")\n public void setStatus(Status status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(int status)\r\n\t{\r\n\t\tthis.m_status = status;\r\n\t}",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(String status) {\n this.status = status;\n }",
"public void setStatus(final String status) {\n this.status = status;\n }",
"public void setStatus(int value) {\n this.status = value;\n }",
"public void setStatus(int value) {\n this.status = value;\n }",
"public void setStatus(ServiceTaskStatus status) {\n\t\tthis.status = status;\n\t}",
"public void setStatus(String _status) {\n this._status = _status;\n }",
"public void setStatus(int newStatus) {\n status = newStatus;\n }",
"public void setStatus( int pStatus )\r\n {\r\n mStatus = pStatus;\r\n }",
"public void setStatus(StatusEnum status) {\n this.status = status;\n }",
"public void setStatus(Integer status)\n {\n data().put(_STATUS, status);\n }",
"public void setStatus(boolean value) {\n this.status = value;\n }",
"public void setStatus(boolean value) {\n this.status = value;\n }"
]
| [
"0.7566642",
"0.7523746",
"0.7373603",
"0.7284003",
"0.7245662",
"0.7223006",
"0.7223006",
"0.7209716",
"0.7155464",
"0.7128999",
"0.7082381",
"0.70809084",
"0.70809084",
"0.70809084",
"0.70809084",
"0.707594",
"0.7059714",
"0.69968605",
"0.6987676",
"0.6956856",
"0.6944969",
"0.6944753",
"0.6944753",
"0.6941257",
"0.69405437",
"0.69372773",
"0.69196403",
"0.69196403",
"0.6916249",
"0.6916249",
"0.69065166",
"0.69031763",
"0.69031763",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68945587",
"0.68917334",
"0.68917334",
"0.6887792",
"0.688486",
"0.688486",
"0.688486",
"0.688486",
"0.688486",
"0.6850527",
"0.6844651",
"0.6843368",
"0.68417627",
"0.6836078",
"0.6836001",
"0.6836001",
"0.6836001",
"0.6836001",
"0.68350255",
"0.682405",
"0.682405",
"0.682405",
"0.682405",
"0.682405",
"0.682405",
"0.682405",
"0.682405",
"0.682405",
"0.682405",
"0.682405",
"0.682405",
"0.682405",
"0.682405",
"0.682405",
"0.682405",
"0.6812103",
"0.68044466",
"0.68044466",
"0.68017167",
"0.6795159",
"0.6795159",
"0.6793936",
"0.6792154",
"0.6791318",
"0.6790845",
"0.67676693",
"0.676546",
"0.67591643",
"0.67591643"
]
| 0.79965407 | 0 |
Returns this job's status. | public JobStatus getStatus(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getJobStatus() {\n return this.jobStatus;\n }",
"public String getJobStatus() {\n return this.jobStatus;\n }",
"public Integer getJobStatus() {\n return jobStatus;\n }",
"@Override\n\tpublic int getJobStatus() {\n\t\treturn model.getJobStatus();\n\t}",
"public BatchStatus getStatus() {\n return this.status;\n }",
"public UpdateStatus status() {\n return this.status;\n }",
"public java.lang.Object getStatus() {\n return status;\n }",
"public long getStatus() {\r\n return status;\r\n }",
"public Status getStatus() {\n\t\treturn status;\n\t}",
"public java.lang.String getStatus() {\n return status;\n }",
"public java.lang.String getStatus() {\n return status;\n }",
"public JenkinsStatus getStatus() {\n return status;\n }",
"public java.lang.String getStatus() {\r\n return status;\r\n }",
"public String getStatus() {\n\t\treturn status;\n\t}",
"public String getStatus() {\n\t\treturn status;\n\t}",
"public String getStatus() {\n\t\treturn status;\n\t}",
"public String getStatus() {\n\t\treturn status;\n\t}",
"public String getStatus() {\n return status;\n }",
"public Long getStatus() {\n return this.Status;\n }",
"public String getStatus() {\r\n\t\treturn status;\r\n\t}",
"public String getStatus() {\r\n\t\treturn status;\r\n\t}",
"public String getStatus() {\r\n\t\treturn status;\r\n\t}",
"public String getStatus() {\r\n\t\treturn status;\r\n\t}",
"public String getStatus() {\r\n\t\treturn status;\r\n\t}",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\n return status;\n }",
"public String getStatus() {\r\n return status;\r\n }",
"public String getStatus() {\r\n return status;\r\n }",
"public String getStatus() {\r\n return status;\r\n }",
"public String getStatus() {\r\n return status;\r\n }",
"public String getStatus() {\r\n return status;\r\n }",
"public Status getStatus()\n {\n return (this.status);\n }",
"public java.lang.String getStatus() {\n\t\treturn status;\n\t}",
"public java.lang.String getStatus() {\n\t\treturn status;\n\t}",
"public String getStatus () {\r\n return status;\r\n }",
"public Status getStatus()\n\t{\n\t\treturn status;\n\t}",
"public Status getStatus() {\n return status;\n }",
"public Status getStatus() {\n return status;\n }",
"public Status getStatus() {\n return status;\n }",
"public String getStatus()\n {\n\n return status;\n }",
"public String getStatus() {\n return this.Status;\n }",
"public String getStatus() {\n return this.Status;\n }",
"public int getStatus() {\n return status_;\n }",
"public int getStatus() {\n return status_;\n }",
"public int getStatus() {\n return status_;\n }",
"public int getStatus() {\n return status_;\n }",
"public int getStatus() {\n return status_;\n }",
"public int getStatus() {\n return status_;\n }",
"public int getStatus() {\n return status_;\n }",
"public int getStatus() {\n return status_;\n }",
"public int getStatus() {\n return status_;\n }",
"public Status getStatus() {\r\n return status;\r\n }",
"public String getStatus() {\n return this.status;\n }",
"public String getStatus() {\n return this.status;\n }",
"public String getStatus() {\n return this.status;\n }",
"public String getStatus() {\n return this.status;\n }",
"public String getStatus() {\n return this.status;\n }",
"public String getStatus() {\n return this.status;\n }",
"public String getStatus() {\n return this.status;\n }",
"public String getStatus() {\r\n return status;\r\n }",
"public String getStatus() {\r\n return status;\r\n }",
"public String getStatus() {\n\t\treturn _status;\n\t}",
"public int status() {\n return status;\n }",
"public Integer getStatus() {\n\t\treturn status;\n\t}",
"public Integer getStatus() {\n\t\treturn status;\n\t}",
"public com.google.protobuf.ByteString getStatus() {\n return instance.getStatus();\n }",
"public java.lang.String getStatus () {\n\t\treturn status;\n\t}",
"public java.lang.String getStatus () {\n\t\treturn status;\n\t}",
"public java.lang.String getStatus () {\n\t\treturn status;\n\t}",
"public java.lang.String getStatus () {\n\t\treturn status;\n\t}",
"public java.lang.String getStatus () {\n\t\treturn status;\n\t}",
"public String getStatus(){\n\t\t\n\t\treturn this.status;\n\t}",
"public int getStatus() {\n return status;\n }"
]
| [
"0.85423046",
"0.85423046",
"0.85340554",
"0.8388121",
"0.77300495",
"0.7728615",
"0.77193755",
"0.76963156",
"0.7669666",
"0.7662213",
"0.7662213",
"0.7656077",
"0.7633794",
"0.7632721",
"0.7632721",
"0.7632721",
"0.7632721",
"0.76322865",
"0.76175785",
"0.7615849",
"0.7615849",
"0.7615849",
"0.7615849",
"0.7615849",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.75994116",
"0.7598453",
"0.7598453",
"0.7598453",
"0.7598453",
"0.7598453",
"0.75913334",
"0.7589309",
"0.7589309",
"0.75887436",
"0.7585937",
"0.7570145",
"0.7570145",
"0.7570145",
"0.75606304",
"0.7560197",
"0.7560197",
"0.755119",
"0.755119",
"0.755119",
"0.755119",
"0.755119",
"0.755119",
"0.755119",
"0.755119",
"0.755119",
"0.75474304",
"0.75424314",
"0.75424314",
"0.75424314",
"0.75424314",
"0.75424314",
"0.75424314",
"0.75424314",
"0.753978",
"0.753978",
"0.75387627",
"0.7532145",
"0.75305945",
"0.75305945",
"0.75297815",
"0.75282276",
"0.75282276",
"0.75282276",
"0.75282276",
"0.75282276",
"0.7524006",
"0.7520368"
]
| 0.8664146 | 0 |
Tests whether this job has a given status. | public boolean hasStatus(JobStatus... s); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"boolean hasStatus();",
"@java.lang.Override\n public boolean hasStatus() {\n return status_ != null;\n }",
"@java.lang.Override\n public boolean hasStatus() {\n return status_ != null;\n }",
"public boolean hasStatus() {\n return statusBuilder_ != null || status_ != null;\n }",
"public boolean hasStatus() {\n return statusBuilder_ != null || status_ != null;\n }",
"public boolean hasStatus() {\n return result.hasStatus();\n }",
"public boolean hasStatus() {\n return result.hasStatus();\n }",
"public boolean hasStatus() {\n return result.hasStatus();\n }",
"public boolean hasStatus() {\n return result.hasStatus();\n }",
"public boolean hasStatus() {\n return result.hasStatus();\n }",
"public boolean hasStatus() {\n return result.hasStatus();\n }",
"public boolean isSetStatus() {\n return this.status != null;\n }",
"public boolean isSetStatus() {\n return this.status != null;\n }",
"public boolean isSetStatus() {\n return this.status != null;\n }",
"public boolean isSetStatus() {\n return this.status != null;\n }",
"public boolean isSetStatus() {\n return this.status != null;\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public final int hasStatus() {\n\t\treturn m_status;\n\t}",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"public boolean is_set_status() {\n return this.status != null;\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) != 0);\n }",
"public boolean hasStatus() {\n return ((bitField0_ & 0x00000001) != 0);\n }",
"public boolean isSetStatus() {\n\t\treturn org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __STATUS_ISSET_ID);\n\t}",
"public boolean isSetStatus() {\n return EncodingUtils.testBit(__isset_bitfield, __STATUS_ISSET_ID);\n }",
"public boolean isSetStatus() {\n return EncodingUtils.testBit(__isset_bitfield, __STATUS_ISSET_ID);\n }",
"public boolean isStatus() {\n\t\treturn status;\n\t}",
"boolean isValidStatus();",
"public boolean isStatus() {\n return status;\n }",
"public boolean isStatus() {\n return status;\n }",
"public boolean isStatus() {\r\n return status;\r\n }",
"@Override\n\tpublic boolean isStatus() {\n\t\treturn _candidate.isStatus();\n\t}",
"boolean hasJobId();",
"boolean isSetStatus();",
"public boolean hasStatus() {\n return fieldSetFlags()[8];\n }",
"public boolean isSetStatuses() {\n return this.statuses != null;\n }",
"public boolean hasPassed()\n {\n return status == Status.PASSED || status == Status.SKIPPED;\n }",
"public boolean isStatusOk() {\r\n return STATUS_OK.equals(this.status);\r\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 }",
"public JobStatus getStatus();",
"public boolean isEmptyStatus() {\r\n if(status == null){\r\n return true;\r\n }\r\n if(status.isEmpty()){\r\n return true;\r\n }\r\n return status.length() == 0;\r\n }",
"public boolean checkIn()\r\n\t{\r\n\t\tif(this.status == 'B')\r\n\t\t{\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse\r\n\t\t\treturn false;\r\n\t}",
"public boolean isSetHb_status() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __HB_STATUS_ISSET_ID);\n }",
"public boolean isSetStatusQuest() {\n\t\treturn org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __STATUSQUEST_ISSET_ID);\n\t}",
"boolean getStatus();",
"boolean getStatus();",
"boolean getStatus();",
"boolean isStatusSuspensao();",
"public boolean isSetStatusname() {\n return this.statusname != null;\n }",
"public final boolean hasStatusMessage()\n\t{\n\t\treturn m_statusMsg != null ? true : false;\n\t}"
]
| [
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7572556",
"0.7389318",
"0.7389318",
"0.7246533",
"0.7246533",
"0.7144495",
"0.7144495",
"0.70935553",
"0.70935553",
"0.70935553",
"0.70935553",
"0.6742734",
"0.6742734",
"0.6742734",
"0.6742734",
"0.6742734",
"0.67370677",
"0.67370677",
"0.67370677",
"0.67370677",
"0.6721796",
"0.67161727",
"0.67161727",
"0.67161727",
"0.67161727",
"0.67161727",
"0.67161727",
"0.67161727",
"0.67161727",
"0.6707383",
"0.6675959",
"0.6675959",
"0.6675959",
"0.6675959",
"0.6675959",
"0.66708577",
"0.6663896",
"0.66600674",
"0.66600674",
"0.66600674",
"0.66600674",
"0.66600674",
"0.66600674",
"0.66600674",
"0.66600674",
"0.66249865",
"0.66130614",
"0.6586717",
"0.6539835",
"0.6537943",
"0.6476652",
"0.64240295",
"0.6417851",
"0.64145416",
"0.64145416",
"0.6324619",
"0.6310083",
"0.630291",
"0.630291",
"0.63004565",
"0.6298021",
"0.62699735",
"0.6258679",
"0.62569875",
"0.6177354",
"0.61387986",
"0.6137996",
"0.61339575",
"0.60724354",
"0.6049214",
"0.5994359",
"0.599092",
"0.59559345",
"0.59366506",
"0.59366506",
"0.59366506",
"0.5919945",
"0.5908379",
"0.58488166"
]
| 0.74003917 | 22 |
Sets the starting date for this job. This method may only be invoked on simple jobs (since complex ones have a derived starting date). | public void setStartDate(Date s); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setJobStartDate(java.util.Calendar jobStartDate)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JOBSTARTDATE$0, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(JOBSTARTDATE$0);\r\n }\r\n target.setCalendarValue(jobStartDate);\r\n }\r\n }",
"public void setStartedDate(Date value) {\n this.startedDate = value;\n }",
"public void xsetJobStartDate(org.apache.xmlbeans.XmlDate jobStartDate)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlDate target = null;\r\n target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(JOBSTARTDATE$0, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(JOBSTARTDATE$0);\r\n }\r\n target.set(jobStartDate);\r\n }\r\n }",
"public void setStartDate(java.util.Date value);",
"public Builder setBeginDate(long value) {\n bitField0_ |= 0x00000040;\n beginDate_ = value;\n\n return this;\n }",
"@Test\n\tpublic void testSetStartDate() {\n\t\tassertNotEquals(calTest, initialJob.getStartDate());\n\t\tinitialJob.setStartDate(calTest.get(Calendar.YEAR), calTest.get(Calendar.MONTH), \n\t\t\t\tcalTest.get(Calendar.DATE), calTest.get(Calendar.HOUR), \n\t\t\t\tcalTest.get(Calendar.MINUTE));\n\t\tassertEquals(calTest, initialJob.getStartDate());\n\t\t\n\t\t// check different dates are not equivalent\n\t\tinitialJob.setStartDate(calTest.get(Calendar.YEAR) + 1, calTest.get(Calendar.MONTH), \n\t\t\t\tcalTest.get(Calendar.DATE), calTest.get(Calendar.HOUR), \n\t\t\t\tcalTest.get(Calendar.MINUTE));\n\t\tassertNotEquals(calTest, initialJob.getStartDate());\n\t}",
"@Override\n\tpublic void setStartDate(Date startDate) {\n\t\tmodel.setStartDate(startDate);\n\t}",
"public void setStartDate(Date value)\n {\n validateStartDate(value);\n setAttributeInternal(STARTDATE, value);\n \n }",
"public void setStartDate(Date start)\r\n {\r\n this.startDate = start;\r\n }",
"public void setStartDate(Date startDate) {\r\n this.startDate = startDate;\r\n }",
"public void setStartDate(Date startDate) {\r\n this.startDate = startDate;\r\n }",
"public void setStartTime(java.util.Date value) {\n __getInternalInterface().setFieldValue(STARTTIME_PROP.get(), value);\n }",
"public void setStartTime(java.util.Date value) {\n __getInternalInterface().setFieldValue(STARTTIME_PROP.get(), value);\n }",
"public void setStartTime(java.util.Date value) {\n __getInternalInterface().setFieldValue(STARTTIME_PROP.get(), value);\n }",
"public void setStartTime(java.util.Date value) {\n __getInternalInterface().setFieldValue(STARTTIME_PROP.get(), value);\n }",
"public void setStartDate(String date){\n\t\tthis.startDate = date;\n\t}",
"public void setStartDate(Date startDate)\r\n {\r\n m_startDate = startDate;\r\n }",
"public void setStartDate(Date startDate) {\n\t\tthis.startDate = startDate;\n\t}",
"public void setStartDate(Date startDate) {\n\t\tthis.startDate = startDate;\n\t}",
"public void setStartDate(Date startDate) {\n this.startDate = startDate;\n }",
"public void setStartDate(Date startDate) {\n this.startDate = startDate;\n }",
"public void setStartDate(Date startDate) {\n this.startDate = startDate;\n }",
"public void setDateStart (Timestamp DateStart);",
"void setStartDate(Date startDate);",
"public void setDate(Date date) {\r\n \t\tthis.startDate = date;\r\n \t}",
"public void setREQ_START_DATE(java.sql.Date value)\n {\n if ((__REQ_START_DATE == null) != (value == null) || (value != null && ! value.equals(__REQ_START_DATE)))\n {\n _isDirty = true;\n }\n __REQ_START_DATE = value;\n }",
"public JobBuilder startTime(Date startTime) {\r\n job.setStartTime(startTime);\r\n return this;\r\n }",
"@Override\n\tpublic void setStartDate(java.util.Date startDate) {\n\t\t_esfTournament.setStartDate(startDate);\n\t}",
"public Builder setStartDate(long value) {\n \n startDate_ = value;\n onChanged();\n return this;\n }",
"public void setStartDate(java.util.Calendar startDate) {\n this.startDate = startDate;\n }",
"public void setStartDate(Date sDate) throws IllegalArgumentException {\n\t\tif (sDate == null) {\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tstartDate = sDate;\n\t\tupdateAvailability(\"\");\n\t}",
"protected void setStartDate(final AbsoluteDate startDate) {\n this.startDate = startDate;\n }",
"public void setStartDate(String startDate) throws ParseException {\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"yyyy-MM-dd\");\n this.startDate = dateFormat.parse(startDate);\n }",
"public void setStartDate(@NotNull DateWithOffset startDate) {\r\n if (startDate == null) { // NOSONAR\r\n throw new NullPointerException(\"startDate\");\r\n }\r\n this.startDate = startDate;\r\n }",
"public void setStartedAt(Date startedAt) {\n\t\tthis.startedAt = startedAt;\n\t}",
"public void setDtStart(Date dtStart) {\r\n this.dtStart = dtStart;\r\n }",
"public void xsetStartExecDate(org.apache.xmlbeans.XmlDate startExecDate)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlDate target = null;\n target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(STARTEXECDATE$8, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(STARTEXECDATE$8);\n }\n target.set(startExecDate);\n }\n }",
"void setEventStartDate(Date startEventDate);",
"public void setStartExecDate(java.util.Calendar startExecDate)\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(STARTEXECDATE$8, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STARTEXECDATE$8);\n }\n target.setCalendarValue(startExecDate);\n }\n }",
"public void setStartDate(String startDate) {\n this.startDate = startDate;\n }",
"public void setStartServiceDate(Date value) {\n setAttributeInternal(STARTSERVICEDATE, value);\n }",
"public TestTaskBuilder startDate(String startDate) {\n try {\n startDate_ = timestampFormat.parse(startDate);\n } catch (ParseException ex) {\n throw new RuntimeException(ex);\n }\n return this;\n }",
"protected void setStartTimestamp(long timestamp) {\n\t\tthis.startTimestamp = timestamp;\n\t\tsetDirty(true);\n\t}",
"public void setStart( Calendar start );",
"public void changeStartDate(DateToken startToken) {\r\n\t\tDateTime now = new DateTime();\r\n\t\tif (Interval.nowStub != null) now = Interval.nowStub;\r\n\t\t\r\n\t\tstartDateExplicitlySet = true;\r\n\t\t\r\n\t\tif (this.start == null) {\r\n\t\t\tDateTime start = startToken.mergeInto(now).withTime(0, 0, 0, 0);\r\n\r\n\t\t\t// not leaping forward a year here; date should be taken as is\r\n\t\t\t\r\n\t\t\tthis.start = start;\r\n\t\t\tend = start.withTime(23, 59, 0, 0);\r\n\t\t}\r\n\t\telse {\r\n\t\t\t// a time has already been set\r\n\t\t\tDateTime start = startToken.mergeInto(this.start);\r\n\t\t\tthis.start = start;\r\n\t\t\tif (end.isBefore(this.start)) {\r\n\t\t\t\tend = this.start.plusHours(1);\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tend = startToken.mergeInto(end);\r\n\t\t\t\tif (end.isBefore(start)) {\r\n\t\t\t\t\tend = start.plusHours(1);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public void setBeginnDate(Date beginnDate) {\n\t\tthis.beginnDate = beginnDate;\n\t}",
"public CommonAlert dateStart(Date dateStart) {\n this.dateStart = dateStart;\n return this;\n }",
"public void setStart(Date newStart) {\n if (!newStart.before(_end)) {\n throw new IllegalArgumentException(ERR_START_AFTER_END);\n }\n _start = (Date) newStart.clone();\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getStartDate();",
"public Date getStartDate() {\n\t\treturn startDate;\n\t}",
"public Date getStartDate() {\n\t\treturn startDate;\n\t}",
"public void setStartDate(java.sql.Date newStartDate) {\n\tstartDate = newStartDate;\n}",
"protected void start( LocalDate date ) {\n\t\t//optional to implement, default noop\n\t\t}",
"public long getStartDate() {\n return startDate_;\n }",
"public void setDefaultStartTime(Date defaultStartTime)\r\n {\r\n m_defaultStartTime = defaultStartTime;\r\n }",
"public void setStartTimestamp(long value) {\n this.startTimestamp = value;\n }",
"public final void setScheduledStart(java.util.Date scheduledstart)\r\n\t{\r\n\t\tsetScheduledStart(getContext(), scheduledstart);\r\n\t}",
"public long getStartDate() {\n return startDate_;\n }",
"public Date getStartDate() {\r\n return startDate;\r\n }",
"public Date getStartDate() {\r\n return startDate;\r\n }",
"public void setStart(final GregorianCalendar start) {\n if (start == null)\n throw new NullPointerException(\n \"Start date/time not properly specified.\");\n this._start = start;\n }",
"public Date getStartDate() {\n\t\treturn this.startDate;\n\t}",
"public void setStartDateTime(String s) {\n this.setStartDateTime(AppUtility.getUTCTimestamp(s));\n }",
"public void convertStartDate(Date date) {\r\n startTime = new java.sql.Timestamp(date.getTime());\r\n }",
"public void setStartDateTime(java.util.Date startDateTime) {\n this.startDateTime = startDateTime;\n }",
"public void setMinimumDate(Date date) {\n/* 665 */ ParamChecks.nullNotPermitted(date, \"date\");\n/* */ \n/* 667 */ Date maxDate = getMaximumDate();\n/* 668 */ long maxMillis = maxDate.getTime();\n/* 669 */ long newMinMillis = date.getTime();\n/* 670 */ if (maxMillis <= newMinMillis) {\n/* 671 */ Date oldMin = getMinimumDate();\n/* 672 */ long length = maxMillis - oldMin.getTime();\n/* 673 */ maxDate = new Date(newMinMillis + length);\n/* */ } \n/* 675 */ setRange(new DateRange(date, maxDate), true, false);\n/* 676 */ fireChangeEvent();\n/* */ }",
"public void setStartTimeDate(Date startTimeDate) {\n this.startTimeDate = startTimeDate;\n }",
"void setStartAt(final Long startAt);",
"public abstract void setStartTime(Date startTime);",
"public void setServiceStartDate(Date value) {\n setAttributeInternal(SERVICESTARTDATE, value);\n }",
"public Date getStartDate() {\n return startDate;\n }",
"public Date getStartDate() {\n return startDate;\n }",
"public Date getStartDate() {\n return startDate;\n }",
"public void setStarttime(Date starttime) {\n this.starttime = starttime;\n }",
"public void setStarttime(Date starttime) {\n this.starttime = starttime;\n }",
"public void setStartTime(Date startTime) {\r\n this.startTime = startTime;\r\n }",
"public void setStartDate(LocalDateTime startDate) {\n this.startDate = startDate;\n }",
"public void setStartTime(Date startTime) {\n\t\tthis.startTime = startTime;\n\t}",
"public void setStartTime(Date startTime) {\n\t\tthis.startTime = startTime;\n\t}",
"public void setStartTime(Date startTime) {\n\t\tthis.startTime = startTime;\n\t}",
"public void setStartTime(Date startTime) {\n\t\tthis.startTime = startTime;\n\t}",
"public void setStartDay(java.lang.String param) {\r\n localStartDayTracker = param != null;\r\n\r\n this.localStartDay = param;\r\n }",
"public Date getStartDate()\r\n {\r\n return this.startDate;\r\n }",
"public void setStartTime( Date startTime ) {\n this.startTime = startTime;\n }",
"public void setStartTime(Date startTime) {\n this.startTime = startTime;\n }",
"public void setStartTime(Date startTime) {\n this.startTime = startTime;\n }",
"public void setStartTime(Date startTime) {\n this.startTime = startTime;\n }",
"public void setStartTime(Date startTime) {\n this.startTime = startTime;\n }",
"public void setStartTime() {\r\n startTime = System.currentTimeMillis();\r\n }",
"public Date getStartedDate() {\n return this.startedDate;\n }",
"@Override\n\tpublic void setInitialDate(Calendar initialDate) {\n\n\t}",
"public void setBEGIN_DATE(Date BEGIN_DATE) {\n this.BEGIN_DATE = BEGIN_DATE;\n }",
"public void setStartdate(Date startdate) {\r\n this.startdate = startdate;\r\n }",
"@Override\n\tpublic Date getStartDate() {\n\t\treturn model.getStartDate();\n\t}",
"public void setStartWorkTime(Date startWorkTime) {\n this.startWorkTime = startWorkTime;\n }",
"@Override\n @IcalProperties({\n @IcalProperty(pindex = PropertyInfoIndex.DTSTART,\n presenceField = \"dtval\",\n required = true,\n reschedule = true,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true,\n freeBusyProperty = true,\n timezoneProperty = true),\n @IcalProperty(pindex = PropertyInfoIndex.INDEX_START,\n jname = \"indexStart\",\n presenceField = \"dtval\",\n required = true,\n reschedule = true,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true,\n freeBusyProperty = true,\n timezoneProperty = true)}\n )\n @NoProxy\n public void setDtstart(final BwDateTime val) {\n dtstart = val;\n }",
"@ApiModelProperty(value = \"The date from which the product starts\")\n @JsonProperty(\"startDate\")\n public Date getStartDate() {\n return startDate;\n }",
"public void setStartTime(java.util.Date startTime) {\n this.startTime = startTime;\n }",
"public void setStartTime(java.util.Date startTime) {\n this.startTime = startTime;\n }",
"public void setStartTime(java.util.Date startTime) {\n this.startTime = startTime;\n }"
]
| [
"0.7128164",
"0.7120039",
"0.70592314",
"0.7015252",
"0.6966485",
"0.6948013",
"0.69434994",
"0.6930108",
"0.6904005",
"0.6814306",
"0.6814306",
"0.6814241",
"0.6814241",
"0.6799098",
"0.6799098",
"0.67974377",
"0.6786373",
"0.67416805",
"0.67416805",
"0.67410254",
"0.67410254",
"0.67410254",
"0.6736139",
"0.67293036",
"0.6725023",
"0.6706812",
"0.66444695",
"0.6639242",
"0.6621252",
"0.6550069",
"0.6538224",
"0.65159273",
"0.65120906",
"0.6483759",
"0.647392",
"0.64673746",
"0.6412321",
"0.640299",
"0.6394271",
"0.6383329",
"0.63601387",
"0.6343016",
"0.6317268",
"0.63138974",
"0.6274287",
"0.6266572",
"0.62612075",
"0.62410957",
"0.6198421",
"0.6197364",
"0.6197364",
"0.61851716",
"0.6153743",
"0.61536664",
"0.6127598",
"0.61171216",
"0.61159813",
"0.6115555",
"0.6112382",
"0.6112382",
"0.608813",
"0.6076487",
"0.607429",
"0.6072658",
"0.6071672",
"0.6069875",
"0.60420436",
"0.60262066",
"0.60259026",
"0.5979785",
"0.5978932",
"0.5978932",
"0.5978932",
"0.59622353",
"0.59622353",
"0.59571713",
"0.5953606",
"0.59367317",
"0.59367317",
"0.59367317",
"0.59367317",
"0.59242266",
"0.5918595",
"0.5904259",
"0.58994657",
"0.58994657",
"0.58994657",
"0.58994657",
"0.58963037",
"0.5895761",
"0.58815324",
"0.5872376",
"0.5871796",
"0.58441675",
"0.5834885",
"0.5833238",
"0.58324516",
"0.5823673",
"0.5823673",
"0.5823673"
]
| 0.676667 | 17 |
Returns the date range this job covers. | public DateRange getDateRange(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public RangeDate<Vente> getDateRange() {\n return dateRange;\n }",
"public Range<LocalDate> getWorkingRange() {\n return Range.closedOpen(effectDate, endDate.plusDays(1));\n }",
"public java.lang.String CC_GetCurrentJobsInRange(java.lang.String accessToken, java.lang.String CCCode, java.util.Calendar startDate, java.util.Calendar endDate) throws java.rmi.RemoteException;",
"LocalDate getCollectionEndDate();",
"public static void main(String[] args) {\n DataFactory df = new DataFactory();\n Date minDate = df.getDate(2000, 1, 1);\n Date maxDate = new Date();\n \n for (int i = 0; i <=1400; i++) {\n Date start = df.getDateBetween(minDate, maxDate);\n Date end = df.getDateBetween(start, maxDate);\n System.out.println(\"Date range = \" + dateToString(start) + \" to \" + dateToString(end));\n }\n\n}",
"protected Date getUntilInclusiveDate() {\n\t\treturn untilInclusive;\n\t}",
"private void getDateStartEnd(BudgetRecyclerView budget) {\n String viewByDate = budget.getDate();\n String[] dateArray = viewByDate.split(\"-\");\n for (int i = 0; i < dateArray.length; i++) {\n dateArray[i] = dateArray[i].trim();\n }\n startDate = CalendarSupport.convertStringToDate(dateArray[0]);\n endDate = CalendarSupport.convertStringToDate(dateArray[1]);\n }",
"public Date getEndDate();",
"public Date getEndDate();",
"@Override\r\n\tpublic String getApp_activity_range() {\n\t\treturn super.getApp_activity_range();\r\n\t}",
"Date getEndDate();",
"Date getEndDate();",
"public void GetAvailableDates()\n\t{\n\t\topenDates = new ArrayList<TimePeriod>(); \n\t\t\n\t\ttry\n\t\t{\n\t\t\tConnector con = new Connector();\n\t\t\t\n\t\t\tString query = \"SELECT startDate, endDate FROM Available WHERE available_hid = '\"+hid+\"'\"; \n\t\t\tResultSet rs = con.stmt.executeQuery(query);\n\t\t\t\n\t\t\twhile(rs.next())\n\t\t\t{\n\t\t\t\tTimePeriod tp = new TimePeriod(); \n\t\t\t\ttp.stringStart = rs.getString(\"startDate\"); \n\t\t\t\ttp.stringEnd = rs.getString(\"endDate\"); \n\t\t\t\ttp.StringToDate();\n\t\t\t\t\n\t\t\t\topenDates.add(tp); \n\t\t\t}\n\t\t\tcon.closeConnection(); \n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}",
"public String getAssessRange() {\r\n return assessRange;\r\n }",
"public List<moneytree.persist.db.generated.tables.pojos.Income> fetchRangeOfTransactionDate(LocalDate lowerInclusive, LocalDate upperInclusive) {\n return fetchRange(Income.INCOME.TRANSACTION_DATE, lowerInclusive, upperInclusive);\n }",
"@Override\r\n\tpublic String getActivity_range() {\n\t\treturn super.getActivity_range();\r\n\t}",
"long getEndDate();",
"long getEndDate();",
"@Override\n\tpublic int getRange() {\n\t\treturn range;\n\t}",
"String getEndDate();",
"public String getRange() {\n return this.range;\n }",
"public String getEndDate();",
"public Range ageRange() {\n return getObject(Range.class, FhirPropertyNames.PROPERTY_AGE_RANGE);\n }",
"int getRange();",
"public int getRange()\n\t{\n\t\treturn Range;\n\t}",
"public double[] getRange(){\n\treturn RANGE;\n }",
"protected AbsoluteDate getStartDate() {\n return startDate;\n }",
"@Override\n\tpublic List<IRange> getRangeList() {\n\t\treturn null;\n\t}",
"public double getRange(){\n\t\treturn range;\n\t}",
"public Range getTimeRange() {\r\n\t\treturn timeRange;\r\n\t}",
"public Integer getStartDayEnd() {\n return startDayEnd;\n }",
"public java.lang.String getRange() {\n\t\treturn _range;\n\t}",
"public static String[] getDateRangeFromToday(int minimum_threshold, int maximum_threshold) {\n String minimum, maximum;\n\n Calendar c = Calendar.getInstance();\n c.add(Calendar.DAY_OF_MONTH, minimum_threshold - 1);\n minimum = c.get(Calendar.YEAR) + \"-\" +\n String.format(\"%02d\", (c.get(Calendar.MONTH) + 1)) + \"-\" +\n String.format(\"%02d\", (c.get(Calendar.DAY_OF_MONTH)));\n\n c = Calendar.getInstance();\n c.add(Calendar.DAY_OF_MONTH, maximum_threshold - 1);\n maximum = c.get(Calendar.YEAR) + \"-\" +\n String.format(\"%02d\", (c.get(Calendar.MONTH) + 1)) + \"-\" +\n String.format(\"%02d\", (c.get(Calendar.DAY_OF_MONTH)));\n\n return new String[] {minimum, maximum};\n }",
"public int getRange() {\n return mRange;\n }",
"String getEndRange();",
"public Date getEndDate()\r\n {\r\n return this.endDate;\r\n }",
"public EventDates getEventDates() {\n return eventDates;\n }",
"public boolean validDateRange() {\n\t\treturn dateEnd.compareTo(dateStart) > 0;\n\t}",
"long getStartDate();",
"public Date getValidUntil();",
"com.google.ads.googleads.v14.common.AgeRangeInfo getAgeRange();",
"public double[] getRange() \n{\n\treturn range;\n}",
"public Date getEndDate() {\r\n return this.endDate;\r\n }",
"public Date getEndDate() {\n return endDate;\n }",
"public Date getEndDate() {\n return endDate;\n }",
"public Date getEndDate() {\n return endDate;\n }",
"public Date getEndDate() {\n return endDate;\n }",
"public List<TimeSheet> getTimeSheetsBetweenTwoDateForAllEmp(LocalDate startDate, LocalDate endDate) {\n log.info(\"Inside TimeSheetService#getTimeSheetByPid Method\");\n return timeSheetRepository.getTimeSheets(startDate, endDate);\n }",
"public List<MaintenanceWindowTimeRange> timeRanges() {\n return this.timeRanges;\n }",
"Date getStartDate();",
"Date getStartDate();",
"Date getStartDate();",
"public double[] getRange();",
"public long getRangeStart() {\n return mRangeStart;\n }",
"protected Date getUntilDate() {\n\t\treturn until;\n\t}",
"public Date getEndDate() {\r\n return endDate;\r\n }",
"public Date getEndDate() {\r\n return endDate;\r\n }",
"@Query(value = FIND_BOOKED_DATES)\n\tpublic List<BookingDate> getBooking(Date startDate, Date endDate);",
"void calculateRange() {\n //TODO: See Rules\n }",
"public Date getEndDate() {\n\t\treturn this.endDate;\n\t}",
"public java.util.Date getEndDate () {\r\n\t\treturn endDate;\r\n\t}",
"public Date getStartDate();",
"public Date getStartDate();",
"@Override\n\tpublic List<StockinExamVO> getInbounds() throws RemoteException {\n\t\tList<StockinExamVO> l=new ArrayList<StockinExamVO>();\n\t\tl.add(new StockinExamVO(\"1\",1,new CommodityLocation(1,1,1,1),City.Beijing));\n\t\treturn l;\n\t}",
"Collection<AssociationEnd> getSpecifiedEnds();",
"public Date[] getSelectedDates() {\r\n return calendarTable.getSelectedDates();\r\n }",
"@Override\n\tpublic RptParams getCustomCondition() {\n\t\tRptParams params = new RptParams();\n\n\t\tDate sd = (Date) this.pkStartDate.getValue();\n\t\tDate ed = (Date) this.pkEndDate.getValue();\n\n\t\tparams.setObject(\"startDate\", sd);\n\t\tparams.setObject(\"endDate\", ed);\n\n\t\treturn params;\n\t}",
"public Set<T> getRanges();",
"@Override\n public List<Event> searchByInterval(Date leftDate, Date rightDate) {\n TypedQuery<EventAdapter> query = em.createQuery(\n \"SELECT e FROM EventAdapter e \"\n + \"WHERE e.dateBegin BETWEEN :leftDate and :rightDate \"\n + \"ORDER BY e.id\", EventAdapter.class)\n .setParameter(\"leftDate\", leftDate)\n .setParameter(\"rightDate\", rightDate);\n\n return query.getResultList()\n .parallelStream()\n .map(EventAdapter::getEvent)\n .collect(Collectors.toList());\n }",
"public Date getEndDate() {\n\t\treturn endDate;\n\t}",
"public Date getEndDate() {\n\t\treturn endDate;\n\t}",
"LocalDate getCollectionBeginDate();",
"@ApiModelProperty(value = \"End of the range\")\n public String getDateEnd() {\n return dateEnd;\n }",
"com.google.ads.googleads.v14.common.IncomeRangeInfo getIncomeRange();",
"private void setUp() {\r\n Calendar calendar1 = Calendar.getInstance();\r\n calendar1.set((endDate.get(Calendar.YEAR)), \r\n (endDate.get(Calendar.MONTH)), (endDate.get(Calendar.DAY_OF_MONTH)));\r\n calendar1.roll(Calendar.DAY_OF_YEAR, -6);\r\n \r\n Calendar calendar2 = Calendar.getInstance();\r\n calendar2.set((endDate.get(Calendar.YEAR)), \r\n (endDate.get(Calendar.MONTH)), (endDate.get(Calendar.DAY_OF_MONTH)));\r\n \r\n acceptedDatesRange[0] = calendar1.get(Calendar.DAY_OF_YEAR);\r\n acceptedDatesRange[1] = calendar2.get(Calendar.DAY_OF_YEAR); \r\n \r\n if(acceptedDatesRange[1] < 7) {\r\n acceptedDatesRange[0] = 1; \r\n }\r\n \r\n //MiscStuff.writeToLog(\"Ranges set \" + calendar1.get\r\n // (Calendar.DAY_OF_YEAR) + \" \" + calendar2.get(Calendar.DAY_OF_YEAR));\r\n }",
"public Timestamp getHC_WorkEndDate();",
"@Override\n public Map<SquadronConfig, Integer> getRange() {\n return configuration\n .stream()\n .map(this::buildRange)\n .collect(Collectors.toMap(Pair::getKey, Pair::getValue));\n }",
"void setDateRange(Date start, Date end);",
"public Date getEarliestFinishingDate();",
"public AgendaMB() {\n GregorianCalendar dtMax = new GregorianCalendar(); \n Date dt = new Date();\n dtMax.setTime(dt); \n GregorianCalendar dtMin = new GregorianCalendar(); \n dtMin.setTime(dt);\n dtMin.add(Calendar.DAY_OF_MONTH, 1);\n dtMax.add(Calendar.DAY_OF_MONTH, 40);\n dataMax = dtMax.getTime();\n dataMin = dtMin.getTime(); \n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndDate();",
"List<LocalDate> getAvailableDates(@Future LocalDate from, @Future LocalDate to);",
"@SuppressWarnings(\"unchecked\")\n\tpublic JSONCalendar availableHouses(String startDate, String endDate) {\n\t\t// Create a new list with house ID'sz\n\t\tList<String> houseIDs = new ArrayList<>();\n\t\tList<Calendar> dates = null;\n\t\tList<String> housed = null;\n\t\tList<Calendar> d = null;\n\t\tJSONCalendar ca = new JSONCalendar();\n\t\tEntityManager em = JPAResource.factory.createEntityManager();\n\t\tEntityTransaction tx = em.getTransaction();\n\t\ttx.begin();\n\t\t\n\t\t// Find the houses id's\n\t\t\n\t\tQuery q1 = em.createQuery(\"SELECT h.houseID from House h\");\n\t\t// It has all the houseIDs\n\t\thoused = q1.getResultList();\n\t\t//System.out.println(housed);\n\t\t\n\t\tQuery q = em.createNamedQuery(\"Calendar.findAll\");\n\t\tdates = q.getResultList();\n\t\t\n\t\tfor( int i = 0; i < housed.size(); i++ ) {\n\t\t\t// Select all the dates for every house\n\t\t\tint k = 0;\n\t\t\tQuery q2 = em.createQuery(\"SELECT c from Calendar c WHERE c.houseID = :id AND c.date >= :startDate AND c.date < :endDate\");\n\t\t\tq2.setParameter(\"id\", housed.get(i));\n\t\t\tq2.setParameter(\"startDate\", startDate);\n\t\t\tq2.setParameter(\"endDate\", endDate);\n\t\t\td = q2.getResultList();\n\t\t\t\n\t\t\tlong idHouse = 0;\n\t\t\tfor(int j = 0; j < d.size(); j++) {\n\t\t\t\t//System.out.println(d.get(j).getHouseID());\n\t\t\t\tidHouse = d.get(j).getHouseID();\n\t\t\t\tif(d.get(j).getAvailable() == true) {\n\t\t\t\t\tk++;\n\t\t\t\t\t// System.out.println(k);\n\t\t\t\t}\n\t\t\t\t// Find out if the houses are available these days\n\t\t\t\t\n\t\t\t}\n\t\t\tif(k == d.size() && k != 0) {\n\t\t\t\t// System.out.println(k);\n\t\t\t\thouseIDs.add(String.valueOf(idHouse));\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t// Select all the houses\n\t\t\n\t\tca.setResults(houseIDs);\n\t\tca.setNumDates(d.size());\n\t\t// System.out.println(startDate + \" \" + endDate);\n\t\t// System.out.println(houseIDs);\n\t\t\n\t\t\n\t\treturn ca;\n\t}",
"public VersionRange getVersionRange()\n {\n return versionRange;\n }",
"public LocalDate getEndDate() { return this.endDate; }",
"public Date getCellLowerDeadline() {\r\n\t\treturn CellLowerDeadline;\r\n\t}",
"public com.gvt.www.metaData.configuradoronline.DadosStatusBloqueio[] getStatusRange() {\r\n return statusRange;\r\n }",
"public LocalDate getEndDate () {\n\t\treturn DateUtils.toLocalDate(this.end);\n\t}",
"public Location getRangeBottomLeft() {\n\t\treturn rangeBottomLeft;\n\t}",
"public Date getStartDate() {\n return startDate;\n }",
"public Date getStartDate() {\n return startDate;\n }",
"public Date getStartDate() {\n return startDate;\n }",
"java.lang.String getStartDate();",
"public Date getEND_DATE() {\n return END_DATE;\n }",
"public Date getEnddate() {\r\n return enddate;\r\n }",
"public Date getInDate() {\r\n return inDate;\r\n }",
"public Calendar getJoinDate()\n {\n return joinDate;\n }",
"@ApiModelProperty(value = \"Start of the range\")\n public String getDateStart() {\n return dateStart;\n }",
"@Override\n\tpublic java.util.Date getEndDate() {\n\t\treturn _esfTournament.getEndDate();\n\t}",
"public int getEffectiveRange() {\n return effectiveRange;\n }"
]
| [
"0.6521775",
"0.6298984",
"0.5734006",
"0.57059985",
"0.5695888",
"0.5667368",
"0.5574338",
"0.55228627",
"0.55228627",
"0.55085593",
"0.5499656",
"0.5499656",
"0.54893124",
"0.548804",
"0.5463102",
"0.543574",
"0.5417771",
"0.5417771",
"0.5341884",
"0.53298444",
"0.5317034",
"0.52996284",
"0.52968496",
"0.52896607",
"0.52868724",
"0.52825755",
"0.52786994",
"0.52665424",
"0.52663445",
"0.5259984",
"0.52524674",
"0.5234256",
"0.523317",
"0.52256155",
"0.52226293",
"0.5215587",
"0.5212865",
"0.52006197",
"0.51707244",
"0.5166945",
"0.51641136",
"0.5161568",
"0.51600885",
"0.51532066",
"0.51532066",
"0.51532066",
"0.51532066",
"0.5137569",
"0.51356083",
"0.51325184",
"0.51325184",
"0.51325184",
"0.5124299",
"0.51239157",
"0.51191247",
"0.5116189",
"0.5116189",
"0.5114738",
"0.5096323",
"0.50889707",
"0.50841045",
"0.50795907",
"0.50795907",
"0.50680727",
"0.5067052",
"0.50594515",
"0.50516254",
"0.5048755",
"0.50446165",
"0.5036411",
"0.5036411",
"0.5035176",
"0.50269145",
"0.50222677",
"0.5010793",
"0.4993262",
"0.4991726",
"0.499166",
"0.49904576",
"0.49815574",
"0.49732086",
"0.49687436",
"0.4951705",
"0.49421206",
"0.49413744",
"0.4935269",
"0.49343753",
"0.49334383",
"0.49261218",
"0.49258816",
"0.49258816",
"0.49258816",
"0.4925339",
"0.49232504",
"0.49218205",
"0.49216798",
"0.4920469",
"0.49118954",
"0.4906224",
"0.4901449"
]
| 0.6972046 | 0 |
Returns the earliest starting date of this job. For simple jobs, this is their assigned start date , for complex jobs this is the latest earliest finishing date of all jobs this job depends on. | public Date getEarliestStartDate(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.util.Calendar getJobStartDate()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JOBSTARTDATE$0, 0);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getCalendarValue();\r\n }\r\n }",
"public Date getEarliestFinishingDate();",
"public org.apache.xmlbeans.XmlDate xgetJobStartDate()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlDate target = null;\r\n target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(JOBSTARTDATE$0, 0);\r\n return target;\r\n }\r\n }",
"public Date getStartDate()\r\n {\r\n Date result = m_startDate;\r\n if (result == null)\r\n {\r\n result = getParentFile().getStartDate();\r\n }\r\n return (result);\r\n }",
"@Override\n\tpublic Date getStartDate() {\n\t\treturn model.getStartDate();\n\t}",
"public final DtStart getStartDate() {\n return getProperty(Property.DTSTART);\n }",
"public Date getStartDate() {\r\n\t\treturn new Date(startDateText.getDay(), startDateText.getMonth()+1, startDateText.getYear());\r\n\t}",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getStartDate();",
"@NotNull\r\n public DateWithOffset getStartDate() {\r\n checkStartDate();\r\n return startDate;\r\n }",
"public Date getMinimumDate() {\n/* */ Date result;\n/* 641 */ Range range = getRange();\n/* 642 */ if (range instanceof DateRange) {\n/* 643 */ DateRange r = (DateRange)range;\n/* 644 */ result = r.getLowerDate();\n/* */ } else {\n/* */ \n/* 647 */ result = new Date((long)range.getLowerBound());\n/* */ } \n/* 649 */ return result;\n/* */ }",
"public Date getTimeEntryStartDate()\n throws RedmineException\n {\n // update number of time entries, start date\n updateTimeEntryData();\n\n return timeEntryStartDate;\n }",
"public static Date getMinDate() {\n Calendar cal = Calendar.getInstance();\n cal.set(1970, 1, 1, 1, 1, 1);\n return cal.getTime();\n }",
"public Date getStart() throws ServiceLocalException {\n\t\treturn (Date) this.getPropertyBag().getObjectFromPropertyDefinition(\n\t\t\t\tAppointmentSchema.Start);\n\t}",
"public Date getStart() {\n return (Date) _start.clone();\n }",
"@Nullable\n public Calendar getMinDate() {\n return config.minDate;\n }",
"public java.util.Calendar getStartExecDate()\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(STARTEXECDATE$8, 0);\n if (target == null)\n {\n return null;\n }\n return target.getCalendarValue();\n }\n }",
"public Date getStartDate() {\n\t\treturn this.startDate;\n\t}",
"public final native DateTime getMinimumStartTime() /*-{\n return this.getMinimumStartTime();\n }-*/;",
"public Date getStartDate() {\n\t\treturn startDate;\n\t}",
"public Date getStartDate() {\n\t\treturn startDate;\n\t}",
"Date getStartDate();",
"Date getStartDate();",
"Date getStartDate();",
"public Calendar getStartDate() {\n \t\tCalendar cal = Calendar.getInstance();\n \t\tcal.setTimeInMillis(startTime);\n \t\t\n\t\treturn cal;\n\t}",
"public Date getDtStart() {\r\n return dtStart;\r\n }",
"public Date getStart() {\n return start;\n }",
"java.lang.String getStartDate();",
"public java.util.Calendar getStartDate() {\n return startDate;\n }",
"public long getBeginDate() {\n return beginDate_;\n }",
"public long getStartDate() {\n return startDate_;\n }",
"public String getStartDate() {\n\t\treturn startDate.getText();\n\t}",
"public long getBeginDate() {\n return beginDate_;\n }",
"public Date getStartDate()\n {\n return (Date)getAttributeInternal(STARTDATE);\n }",
"public long getStartDate() {\n return startDate_;\n }",
"public Date getStartDate();",
"public Date getStartDate();",
"public org.apache.xmlbeans.XmlDate xgetStartExecDate()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlDate target = null;\n target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(STARTEXECDATE$8, 0);\n return target;\n }\n }",
"@Override\n\tpublic java.util.Date getStartDate() {\n\t\treturn _esfTournament.getStartDate();\n\t}",
"public Optional<Date> getStartDate() {\n return Optional.ofNullable(createdDate);\n }",
"public Timestamp getDateStart() {\n\t\treturn (Timestamp) get_Value(\"DateStart\");\n\t}",
"public DateTime getStart() {\r\n return new DateTime(getStartMillis(), getChronology());\r\n }",
"public Date getStartDate() {\r\n return startDate;\r\n }",
"public Date getStartDate() {\r\n return startDate;\r\n }",
"public DateTime getStartDateTime() {\r\n\t\treturn start;\r\n\t}",
"public java.util.Date getStartDateTime() {\n return this.startDateTime;\n }",
"public String getStartDate() {\n SimpleDateFormat formatDate = new SimpleDateFormat(\"yyyy-MM-dd\");\n return formatDate.format(fecha);\n }",
"public StrColumn getDateBeginProcessing() {\n return delegate.getColumn(\"date_begin_processing\", DelegatingStrColumn::new);\n }",
"public Date getStartDate() {\n return startDate;\n }",
"public Date getStartDate() {\n return startDate;\n }",
"public Date getStartDate() {\n return startDate;\n }",
"public Date getOriginalStart() throws ServiceLocalException {\n\t\treturn (Date) this.getPropertyBag().getObjectFromPropertyDefinition(\n\t\t\t\tAppointmentSchema.OriginalStart);\n\t}",
"public Date getBeginnDate() {\n\t\treturn beginnDate;\n\t}",
"public Timestamp getDateStartSchedule() {\n\t\treturn (Timestamp) get_Value(\"DateStartSchedule\");\n\t}",
"public java.util.Date startSnap()\n\t{\n\t\treturn _dtBegin;\n\t}",
"public Date getDefaultStartTime()\r\n {\r\n return (m_defaultStartTime);\r\n }",
"public Date getActualStart()\r\n {\r\n return (m_actualStart);\r\n }",
"public Date getStartDate()\r\n {\r\n return this.startDate;\r\n }",
"public Date getStartTime() {\n\t\treturn getOriginatingTime();\n\t}",
"private Date determineBeginDate(Employee employee){\n\t\tList<PtoPeriod> ptoPeriods = ptoPeriodRepository.findPtoPeriodForEmployee(employee.getId());\n\t\tfor(PtoPeriod p : ptoPeriods){\n\t\t\tlog.info(\"Pto Period Found: End Date: \" + p.getEndDate());\n\t\t}\n\t\t\n\t\t//If more than one period found, select the second latest date as the start date\n\t\t//Otherwise return the employee hire date\n\t\t\n\t\treturn ZonedDateTimeToDateConverter.INSTANCE.convert(employee.getHireDate());\n\t}",
"MinmaxEntity getStart();",
"protected AbsoluteDate getStartDate() {\n return startDate;\n }",
"public java.sql.Date getREQ_START_DATE()\n {\n \n return __REQ_START_DATE;\n }",
"public java.sql.Date getStartDate() {\n\treturn startDate;\n}",
"public String getEarliestConstraint() {\n return earliest;\n }",
"long getBeginDate();",
"public TimeDateComponents getEventStartDate() {\n return getEventDates().getStartDate();\n }",
"public DTM getDateTimeStartOfAdministration() { \r\n\t\tDTM retVal = this.getTypedField(3, 0);\r\n\t\treturn retVal;\r\n }",
"public String getStartDate(){\n\t\treturn this.startDate;\n\t}",
"public String getFCStartDate(String OrgId, String ClientId) {\n String sqlQuery = \"\", startdate = \"\";\n PreparedStatement st = null;\n ResultSet rs = null;\n try {\n sqlQuery = \" select min(startdate) as startdate from c_period where C_PERIOD.AD_Org_ID IN(\"\n + OrgId + \") AND C_PERIOD.AD_Client_ID IN(\" + ClientId + \") \";\n st = conn.prepareStatement(sqlQuery);\n rs = st.executeQuery();\n if (rs.next()) {\n startdate = rs.getString(\"startdate\");\n\n }\n } catch (Exception e) {\n log4j.error(\"Exception in getOrgs()\", e);\n }\n return startdate;\n }",
"public java.lang.String getStartDay() {\r\n return localStartDay;\r\n }",
"@Override\n\tpublic Calendar getInitialDate() {\n\t\treturn Calendar.getInstance();\n\t}",
"String getStartDate();",
"private Date getPreviosDayStartTime() {\n\t\treturn null;\n\t}",
"Date getStartDay();",
"public static JwComparator<AcUspsInternationalCgrWorkLegFlightConflictSummaryVo> getMinEffectiveStartUtcDtComparator()\n {\n return AcUspsInternationalCgrWorkLegFlightConflictSummaryVoTools.instance.getMinEffectiveStartUtcDtComparator();\n }",
"public static Date getStart(Date date) {\n if (date == null) {\n return null;\n }\n Calendar c = Calendar.getInstance();\n c.setTime(date);\n c.set(Calendar.HOUR_OF_DAY, 0);\n c.set(Calendar.MINUTE, 0);\n c.set(Calendar.SECOND, 0);\n c.set(Calendar.MILLISECOND, 0);\n return c.getTime();\n }",
"public long getStartTimestamp() {\n\t\treturn this.startTimestamp;\n\t}",
"LocalDate getCollectionBeginDate();",
"public java.lang.String getFvalueRangeDateMin() {\n return fvalueRangeDateMin;\n }",
"public RefLimit getStartFrom() {\n\t\t\treturn startFrom;\n\t\t}",
"public String getStartDate() {\n return startDate;\n }",
"public Timestamp getDateStart();",
"public Coordinate getStart( )\n\t{\n\t\treturn startLocation;\n\t}",
"public String getStartDateString() {\n SimpleDateFormat format = new SimpleDateFormat(DpdInputForm.DATA_FORMAT, Locale.ENGLISH);\n return format.format(new Date(this.startDate));\n }",
"public Date getFirstCreationDate() {\n\t\tDate firstCreationDate = null;\n\t\tUrls orderByCreationDate = getUrlsOrderedByCreationDate(true);\n\t\tif (orderByCreationDate.size() > 0) {\n\t\t\tUrl webLink = (Url) orderByCreationDate.first();\n\t\t\tfirstCreationDate = webLink.getCreationDate();\n\t\t}\n\t\treturn firstCreationDate;\n\t}",
"public Date getStartedDate() {\n return this.startedDate;\n }",
"long getStartDate();",
"public String getStartDate();",
"@Override\n\tpublic Date getStartTime() {\n\t\treturn promotionLineItem.getStartTime();\n\t}",
"private DeadlineDate minimumOf(DeadlineDate firstDeadlineDate, DeadlineDate secondDeadlineDate) {\n if (firstDeadlineDate.compareTo(secondDeadlineDate) < 0) {\n return firstDeadlineDate;\n } else {\n return secondDeadlineDate;\n }\n }",
"public String getStartDate() {\n return startDate;\n }",
"public RefLimit getStartFrom() {\n\t\treturn startFrom;\n\t}",
"public static Date todayStart() {\n return dayStart(new Date());\n }",
"public Date getStartServiceDate() {\n return (Date) getAttributeInternal(STARTSERVICEDATE);\n }",
"public Date getStartWorkTime() {\n return startWorkTime;\n }",
"public DTM getRxa3_DateTimeStartOfAdministration() { \r\n\t\tDTM retVal = this.getTypedField(3, 0);\r\n\t\treturn retVal;\r\n }",
"@Nullable\n public DpProp getStart() {\n if (mImpl.hasStart()) {\n return DpProp.fromProto(mImpl.getStart());\n } else {\n return null;\n }\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getStartTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(STARTTIME_PROP.get());\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getStartTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(STARTTIME_PROP.get());\n }",
"public Date getBEGIN_DATE() {\n return BEGIN_DATE;\n }"
]
| [
"0.71748835",
"0.7101853",
"0.69593406",
"0.69235456",
"0.66323185",
"0.6450474",
"0.6437956",
"0.64069664",
"0.63922244",
"0.63773495",
"0.63483953",
"0.6347069",
"0.6346586",
"0.633288",
"0.63320535",
"0.6316887",
"0.6291536",
"0.62790215",
"0.62682396",
"0.62682396",
"0.61899984",
"0.61899984",
"0.61899984",
"0.6170045",
"0.6148808",
"0.6144539",
"0.6142514",
"0.6139708",
"0.6137177",
"0.6133043",
"0.6128036",
"0.6119532",
"0.61181533",
"0.6111069",
"0.6110205",
"0.6110205",
"0.608445",
"0.60633636",
"0.60598546",
"0.6028595",
"0.60256976",
"0.5993401",
"0.5993401",
"0.59776837",
"0.5968438",
"0.59597",
"0.5947142",
"0.5946789",
"0.5946789",
"0.5946789",
"0.5939432",
"0.59375185",
"0.5937206",
"0.59371746",
"0.5924243",
"0.59238285",
"0.5920826",
"0.5920679",
"0.5916177",
"0.5892924",
"0.58909905",
"0.5866045",
"0.58642787",
"0.58474886",
"0.5840612",
"0.5820512",
"0.5817264",
"0.58115625",
"0.5805864",
"0.5805263",
"0.5793408",
"0.5787902",
"0.57835245",
"0.57793933",
"0.57675076",
"0.57531625",
"0.57426184",
"0.5739133",
"0.5738671",
"0.57288706",
"0.57270765",
"0.57256365",
"0.56815153",
"0.56805336",
"0.56749433",
"0.567345",
"0.56679094",
"0.5664045",
"0.56636435",
"0.5630557",
"0.5627688",
"0.5621572",
"0.5618325",
"0.5617083",
"0.56128514",
"0.5603787",
"0.55983126",
"0.5593356",
"0.5593356",
"0.55873764"
]
| 0.7219706 | 0 |
Returns the earliest finishing date of this job. For simple jobs, this is always ( startDate + duration ) , for complex jobs this is the latest earliest finishing date of all jobs this job depends on plus the duration of THIS job. | public Date getEarliestFinishingDate(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.util.Calendar getJobStartDate()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JOBSTARTDATE$0, 0);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getCalendarValue();\r\n }\r\n }",
"public Date getEarliestStartDate();",
"public Date getFinishDate() {\n if (this.finishDate == null) {\n return null;\n }\n return new Date(this.finishDate.getTime());\n }",
"public org.apache.xmlbeans.XmlDate xgetJobStartDate()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlDate target = null;\r\n target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(JOBSTARTDATE$0, 0);\r\n return target;\r\n }\r\n }",
"public Date getFinishDate()\r\n {\r\n Date result = m_finishDate;\r\n if (result == null)\r\n {\r\n result = getParentFile().getFinishDate();\r\n }\r\n return (result);\r\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getStartDate();",
"public LocalDate getFinishLocalDate() {\n\t\treturn finishDate;\n\t}",
"@Override\n\tpublic Calendar getFinishDate() {\n\t\treturn Calendar.getInstance();\n\t}",
"public Date getStartDate()\r\n {\r\n Date result = m_startDate;\r\n if (result == null)\r\n {\r\n result = getParentFile().getStartDate();\r\n }\r\n return (result);\r\n }",
"java.lang.String getStartDate();",
"public Date getTimeEntryStartDate()\n throws RedmineException\n {\n // update number of time entries, start date\n updateTimeEntryData();\n\n return timeEntryStartDate;\n }",
"Date getStartDate();",
"Date getStartDate();",
"Date getStartDate();",
"public Date getStart() {\n return (Date) _start.clone();\n }",
"@Override\n\tpublic Date getStartDate() {\n\t\treturn model.getStartDate();\n\t}",
"public Date getBaselineFinish()\r\n {\r\n return (m_baselineFinish);\r\n }",
"public Date getStartDate() {\r\n\t\treturn new Date(startDateText.getDay(), startDateText.getMonth()+1, startDateText.getYear());\r\n\t}",
"long getStartDate();",
"long getBeginDate();",
"public Date getStartDate() {\n\t\treturn startDate;\n\t}",
"public Date getStartDate() {\n\t\treturn startDate;\n\t}",
"public Date getStartDate();",
"public Date getStartDate();",
"public java.util.Calendar getStartExecDate()\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(STARTEXECDATE$8, 0);\n if (target == null)\n {\n return null;\n }\n return target.getCalendarValue();\n }\n }",
"public java.util.Date finishSnap()\n\t{\n\t\treturn _dtFinish;\n\t}",
"@NotNull\r\n public DateWithOffset getStartDate() {\r\n checkStartDate();\r\n return startDate;\r\n }",
"public Date getStart() {\n return start;\n }",
"public Date getStartDate() {\n\t\treturn this.startDate;\n\t}",
"public Date getActualFinish()\r\n {\r\n return (m_actualFinish);\r\n }",
"public long getStartDate() {\n return startDate_;\n }",
"public long getStartDate() {\n return startDate_;\n }",
"public Date getActualStart()\r\n {\r\n return (m_actualStart);\r\n }",
"public final DtStart getStartDate() {\n return getProperty(Property.DTSTART);\n }",
"public String getStartDate() {\n\t\treturn startDate.getText();\n\t}",
"public org.drip.analytics.date.JulianDate effective()\n\t{\n\t\ttry {\n\t\t\treturn new org.drip.analytics.date.JulianDate (_lsPeriod.get (0).startDate());\n\t\t} catch (java.lang.Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn null;\n\t}",
"@ApiModelProperty(example = \"null\", value = \"The commitment end date related to the offer\")\n public DateTime getCommitmentCalculatedFinishDate() {\n return commitmentCalculatedFinishDate;\n }",
"public DateTime getStart() {\r\n return new DateTime(getStartMillis(), getChronology());\r\n }",
"private DeadlineDate minimumOf(DeadlineDate firstDeadlineDate, DeadlineDate secondDeadlineDate) {\n if (firstDeadlineDate.compareTo(secondDeadlineDate) < 0) {\n return firstDeadlineDate;\n } else {\n return secondDeadlineDate;\n }\n }",
"public Date getStartDate() {\r\n return startDate;\r\n }",
"public Date getStartDate() {\r\n return startDate;\r\n }",
"public java.util.Calendar getStartDate() {\n return startDate;\n }",
"public Timestamp getDateFinishSchedule() {\n\t\treturn (Timestamp) get_Value(\"DateFinishSchedule\");\n\t}",
"public Date getFinishedAt() {\n\t\treturn finishedAt;\n\t}",
"String getStartDate();",
"public int getFinishMinute() {\n return finishMinute;\n }",
"public java.sql.Date getStartDate() {\n\treturn startDate;\n}",
"java.util.Calendar getSearchRecurrenceStart();",
"public Date getStartDate() {\n return startDate;\n }",
"public Date getStartDate() {\n return startDate;\n }",
"public Date getStartDate() {\n return startDate;\n }",
"public Calendar getStartDate() {\n \t\tCalendar cal = Calendar.getInstance();\n \t\tcal.setTimeInMillis(startTime);\n \t\t\n\t\treturn cal;\n\t}",
"public OffsetDateTime finishTime() {\n return this.finishTime;\n }",
"protected AbsoluteDate getStartDate() {\n return startDate;\n }",
"@Override\n\tpublic java.util.Date getStartDate() {\n\t\treturn _esfTournament.getStartDate();\n\t}",
"public Integer getDurationStartDay() {\n return durationStartDay;\n }",
"public Date getDtStart() {\r\n return dtStart;\r\n }",
"public Date getStartTime() {\n\t\treturn getOriginatingTime();\n\t}",
"public Date getStartDate()\r\n {\r\n return this.startDate;\r\n }",
"@Override\n\tpublic Date getCompleteDate() {\n\t\treturn model.getCompleteDate();\n\t}",
"private Date determineBeginDate(Employee employee){\n\t\tList<PtoPeriod> ptoPeriods = ptoPeriodRepository.findPtoPeriodForEmployee(employee.getId());\n\t\tfor(PtoPeriod p : ptoPeriods){\n\t\t\tlog.info(\"Pto Period Found: End Date: \" + p.getEndDate());\n\t\t}\n\t\t\n\t\t//If more than one period found, select the second latest date as the start date\n\t\t//Otherwise return the employee hire date\n\t\t\n\t\treturn ZonedDateTimeToDateConverter.INSTANCE.convert(employee.getHireDate());\n\t}",
"public Optional<Date> getStartDate() {\n return Optional.ofNullable(createdDate);\n }",
"public Timestamp getDateStart();",
"public Date getNextExecutionTime() {\n\t\treturn SchedulerUtil.getNextExecution(this);\n\t}",
"public Date getFirstRelease() {\n return firstRelease;\n }",
"public Date getStartDate()\n {\n return (Date)getAttributeInternal(STARTDATE);\n }",
"public Chamber getStart() {\n return start;\n }",
"public String getStartDate();",
"public static Date getMinDate() {\n Calendar cal = Calendar.getInstance();\n cal.set(1970, 1, 1, 1, 1, 1);\n return cal.getTime();\n }",
"public java.util.Date startSnap()\n\t{\n\t\treturn _dtBegin;\n\t}",
"public final native DateTime getMinimumStartTime() /*-{\n return this.getMinimumStartTime();\n }-*/;",
"public static LocalDate getFirstOfNextMonth() {\n\t\treturn LocalDate.now().with(TemporalAdjusters.firstDayOfNextMonth());\n\t}",
"public Date getCompletionDate() {\r\n\t\treturn completionDate;\r\n\t}",
"public long getElapsedTimeMin() {\n return running ? (((System.currentTimeMillis() - startTime) / 1000) / 60 ) % 60 : 0;\n }",
"public Rational getStartTime ()\r\n {\r\n return startTime;\r\n }",
"public Rational getEndTime ()\r\n {\r\n if (isWholeDuration()) {\r\n return null;\r\n }\r\n\r\n Rational chordDur = getDuration();\r\n\r\n if (chordDur == null) {\r\n return null;\r\n } else {\r\n return startTime.plus(chordDur);\r\n }\r\n }",
"public BidTime getFinishTime() {\r\n\t\treturn finishTime;\r\n\t}",
"public org.drip.analytics.date.JulianDate firstCouponDate()\n\t{\n\t\ttry {\n\t\t\treturn new org.drip.analytics.date.JulianDate (_lsPeriod.get (0).endDate());\n\t\t} catch (java.lang.Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn null;\n\t}",
"public String getStartDate() {\n return startDate;\n }",
"public java.util.Date getFinishedTime () {\r\n\t\treturn finishedTime;\r\n\t}",
"public String getStartDate() {\n return startDate;\n }",
"public long getBeginDate() {\n return beginDate_;\n }",
"java.util.Calendar getStartTime();",
"public String getFullJobName() {\n return jobGroup + \".\" + jobName;\n }",
"LocalDate getCollectionBeginDate();",
"public Date getGmtFinish() {\n return gmtFinish;\n }",
"public long getBeginDate() {\n return beginDate_;\n }",
"@Override\n\tpublic Date getStartTime() {\n\t\treturn promotionLineItem.getStartTime();\n\t}",
"public LocalDate getDate () {\n\t\treturn DateUtils.toLocalDate(this.start);\n\t}",
"@Nullable\n public Calendar getMinDate() {\n return config.minDate;\n }",
"public double getStartTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STARTTIME$22);\r\n if (target == null)\r\n {\r\n return 0.0;\r\n }\r\n return target.getDoubleValue();\r\n }\r\n }",
"public static LocalDate getFirstOfCurrentMonth() {\n\t\treturn LocalDate.now().with(TemporalAdjusters.firstDayOfMonth());\n\t}",
"@Override\n\tpublic String getFinishTime() {\n\t\treturn finishTime;\n\t}",
"public String getStartDate(){\n\t\treturn this.startDate;\n\t}",
"@Override\n\tpublic float getStartTime()\n\t{\n\t\treturn _tbeg;\n\t}",
"public double getStartTime();",
"public Date getDefaultStartTime()\r\n {\r\n return (m_defaultStartTime);\r\n }",
"Date getStartDay();",
"public String getStartDate() {\n SimpleDateFormat formatDate = new SimpleDateFormat(\"yyyy-MM-dd\");\n return formatDate.format(fecha);\n }",
"@Override\n\tpublic Long updateStartDate() {\n\t\treturn null;\n\t}"
]
| [
"0.58967966",
"0.57112104",
"0.56902945",
"0.5677016",
"0.5606714",
"0.54683614",
"0.5463855",
"0.5313274",
"0.53066975",
"0.5266633",
"0.5169976",
"0.5148927",
"0.5148927",
"0.5148927",
"0.51147044",
"0.5105353",
"0.5102433",
"0.5097567",
"0.5088494",
"0.50677425",
"0.5056395",
"0.5056395",
"0.50527287",
"0.50527287",
"0.5039116",
"0.5020428",
"0.50094324",
"0.5000253",
"0.4998073",
"0.49837232",
"0.49817902",
"0.49800467",
"0.49658158",
"0.49604714",
"0.4953395",
"0.49516132",
"0.49487913",
"0.49402523",
"0.49392933",
"0.4935814",
"0.4935814",
"0.49292627",
"0.4927951",
"0.49194098",
"0.49062595",
"0.49061257",
"0.4905884",
"0.49028683",
"0.4899676",
"0.4899676",
"0.4899676",
"0.48944002",
"0.48885557",
"0.48878777",
"0.48866332",
"0.48862916",
"0.48702297",
"0.48627606",
"0.4855355",
"0.48412174",
"0.48404607",
"0.48305684",
"0.48264435",
"0.4822895",
"0.4801192",
"0.47907895",
"0.4777432",
"0.47736603",
"0.47711337",
"0.47639802",
"0.47638935",
"0.4760064",
"0.47584516",
"0.47528666",
"0.47504756",
"0.4749459",
"0.47478116",
"0.47445193",
"0.47429168",
"0.47391796",
"0.47338712",
"0.47228414",
"0.47204858",
"0.4720077",
"0.4707781",
"0.46947733",
"0.46942028",
"0.46912032",
"0.46908316",
"0.46877807",
"0.46870852",
"0.4685856",
"0.46793813",
"0.46722233",
"0.46688625",
"0.46624553",
"0.465892",
"0.4656924",
"0.46519503",
"0.46490642"
]
| 0.691803 | 0 |
Returns the starting date for this job. For simple jobs, this method returns the assigned starting date. For complex jobs, this method returns the latest earliest finishing date of all jobs this job depends on. | public Date getStartDate(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.util.Calendar getJobStartDate()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JOBSTARTDATE$0, 0);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getCalendarValue();\r\n }\r\n }",
"public Date getStartDate()\r\n {\r\n Date result = m_startDate;\r\n if (result == null)\r\n {\r\n result = getParentFile().getStartDate();\r\n }\r\n return (result);\r\n }",
"public org.apache.xmlbeans.XmlDate xgetJobStartDate()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlDate target = null;\r\n target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(JOBSTARTDATE$0, 0);\r\n return target;\r\n }\r\n }",
"public Date getEarliestFinishingDate();",
"@Override\n\tpublic Date getStartDate() {\n\t\treturn model.getStartDate();\n\t}",
"public final DtStart getStartDate() {\n return getProperty(Property.DTSTART);\n }",
"public Date getStartDate() {\r\n\t\treturn new Date(startDateText.getDay(), startDateText.getMonth()+1, startDateText.getYear());\r\n\t}",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getStartDate();",
"public Date getTimeEntryStartDate()\n throws RedmineException\n {\n // update number of time entries, start date\n updateTimeEntryData();\n\n return timeEntryStartDate;\n }",
"public Date getStartDate() {\n\t\treturn this.startDate;\n\t}",
"@NotNull\r\n public DateWithOffset getStartDate() {\r\n checkStartDate();\r\n return startDate;\r\n }",
"public Date getStartDate() {\n\t\treturn startDate;\n\t}",
"public Date getStartDate() {\n\t\treturn startDate;\n\t}",
"public Date getStart() {\n return (Date) _start.clone();\n }",
"public Date getEarliestStartDate();",
"Date getStartDate();",
"Date getStartDate();",
"Date getStartDate();",
"java.lang.String getStartDate();",
"public Date getStart() throws ServiceLocalException {\n\t\treturn (Date) this.getPropertyBag().getObjectFromPropertyDefinition(\n\t\t\t\tAppointmentSchema.Start);\n\t}",
"public Date getDtStart() {\r\n return dtStart;\r\n }",
"public java.util.Calendar getStartDate() {\n return startDate;\n }",
"public Date getStart() {\n return start;\n }",
"public String getStartDate() {\n\t\treturn startDate.getText();\n\t}",
"public long getStartDate() {\n return startDate_;\n }",
"public Date getStartDate()\n {\n return (Date)getAttributeInternal(STARTDATE);\n }",
"public long getStartDate() {\n return startDate_;\n }",
"public Date getBeginnDate() {\n\t\treturn beginnDate;\n\t}",
"@Override\n\tpublic java.util.Date getStartDate() {\n\t\treturn _esfTournament.getStartDate();\n\t}",
"public java.util.Calendar getStartExecDate()\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(STARTEXECDATE$8, 0);\n if (target == null)\n {\n return null;\n }\n return target.getCalendarValue();\n }\n }",
"public long getBeginDate() {\n return beginDate_;\n }",
"public long getBeginDate() {\n return beginDate_;\n }",
"public Date getStartDate() {\r\n return startDate;\r\n }",
"public Date getStartDate() {\r\n return startDate;\r\n }",
"public Optional<Date> getStartDate() {\n return Optional.ofNullable(createdDate);\n }",
"public Date getStartDate() {\n return startDate;\n }",
"public Date getStartDate() {\n return startDate;\n }",
"public Date getStartDate() {\n return startDate;\n }",
"public java.util.Date getStartDateTime() {\n return this.startDateTime;\n }",
"public Date getStartDate()\r\n {\r\n return this.startDate;\r\n }",
"public java.sql.Date getStartDate() {\n\treturn startDate;\n}",
"public Timestamp getDateStart() {\n\t\treturn (Timestamp) get_Value(\"DateStart\");\n\t}",
"public Date getStartedDate() {\n return this.startedDate;\n }",
"public Calendar getStartDate() {\n \t\tCalendar cal = Calendar.getInstance();\n \t\tcal.setTimeInMillis(startTime);\n \t\t\n\t\treturn cal;\n\t}",
"Date getStartDay();",
"public java.lang.String getStartDay() {\r\n return localStartDay;\r\n }",
"public Timestamp getDateStartSchedule() {\n\t\treturn (Timestamp) get_Value(\"DateStartSchedule\");\n\t}",
"String getStartDate();",
"public DateTime getStartDateTime() {\r\n\t\treturn start;\r\n\t}",
"public java.sql.Date getREQ_START_DATE()\n {\n \n return __REQ_START_DATE;\n }",
"public Date getActualStart()\r\n {\r\n return (m_actualStart);\r\n }",
"public Date getStartTime() {\n\t\treturn getOriginatingTime();\n\t}",
"public StrColumn getDateBeginProcessing() {\n return delegate.getColumn(\"date_begin_processing\", DelegatingStrColumn::new);\n }",
"public Date getStartWorkTime() {\n return startWorkTime;\n }",
"public String getStartDate(){\n\t\treturn this.startDate;\n\t}",
"public DateTime getStart() {\r\n return new DateTime(getStartMillis(), getChronology());\r\n }",
"long getBeginDate();",
"public String getStartDate() {\n return startDate;\n }",
"long getStartDate();",
"public String getStartDate();",
"@Nullable\n public Calendar getMinDate() {\n return config.minDate;\n }",
"public Date getDefaultStartTime()\r\n {\r\n return (m_defaultStartTime);\r\n }",
"public org.apache.xmlbeans.XmlDate xgetStartExecDate()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlDate target = null;\n target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(STARTEXECDATE$8, 0);\n return target;\n }\n }",
"protected AbsoluteDate getStartDate() {\n return startDate;\n }",
"public java.util.Date startSnap()\n\t{\n\t\treturn _dtBegin;\n\t}",
"public Date getStartedAt() {\n\t\treturn startedAt;\n\t}",
"public String getStartDate() {\n SimpleDateFormat formatDate = new SimpleDateFormat(\"yyyy-MM-dd\");\n return formatDate.format(fecha);\n }",
"public Date getOriginalStart() throws ServiceLocalException {\n\t\treturn (Date) this.getPropertyBag().getObjectFromPropertyDefinition(\n\t\t\t\tAppointmentSchema.OriginalStart);\n\t}",
"public String getStartDate() {\n return startDate;\n }",
"public TimeDateComponents getEventStartDate() {\n return getEventDates().getStartDate();\n }",
"public Date getBEGIN_DATE() {\n return BEGIN_DATE;\n }",
"LocalDate getCollectionBeginDate();",
"private Date determineBeginDate(Employee employee){\n\t\tList<PtoPeriod> ptoPeriods = ptoPeriodRepository.findPtoPeriodForEmployee(employee.getId());\n\t\tfor(PtoPeriod p : ptoPeriods){\n\t\t\tlog.info(\"Pto Period Found: End Date: \" + p.getEndDate());\n\t\t}\n\t\t\n\t\t//If more than one period found, select the second latest date as the start date\n\t\t//Otherwise return the employee hire date\n\t\t\n\t\treturn ZonedDateTimeToDateConverter.INSTANCE.convert(employee.getHireDate());\n\t}",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getStartTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(STARTTIME_PROP.get());\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getStartTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(STARTTIME_PROP.get());\n }",
"@Override\n\tpublic Calendar getInitialDate() {\n\t\treturn Calendar.getInstance();\n\t}",
"@Schema(description = \"The datetime on which the worklog effort was started. Required when creating a worklog. Optional when updating a worklog.\")\n public OffsetDateTime getStarted() {\n return started;\n }",
"public String getStartDateString() {\n SimpleDateFormat format = new SimpleDateFormat(DpdInputForm.DATA_FORMAT, Locale.ENGLISH);\n return format.format(new Date(this.startDate));\n }",
"public LocalDate getDate () {\n\t\treturn DateUtils.toLocalDate(this.start);\n\t}",
"@ApiModelProperty(value = \"Start of the range\")\n public String getDateStart() {\n return dateStart;\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getStartTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(STARTTIME_PROP.get());\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getStartTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(STARTTIME_PROP.get());\n }",
"public Date getDeliveryStartDate() {\n return (Date)getAttributeInternal(DELIVERYSTARTDATE);\n }",
"private Date getPreviosDayStartTime() {\n\t\treturn null;\n\t}",
"public Timestamp getDateStart();",
"public DTM getDateTimeStartOfAdministration() { \r\n\t\tDTM retVal = this.getTypedField(3, 0);\r\n\t\treturn retVal;\r\n }",
"public Date getStartServiceDate() {\n return (Date) getAttributeInternal(STARTSERVICEDATE);\n }",
"public long getStartTimestamp() {\n\t\treturn this.startTimestamp;\n\t}",
"@Override\n\tpublic Date getStartTime() {\n\t\treturn promotionLineItem.getStartTime();\n\t}",
"public java.math.BigInteger getStartMonth() {\r\n return startMonth;\r\n }",
"public Coordinate getStart( )\n\t{\n\t\treturn startLocation;\n\t}",
"public Date getStartTime() {\n\t\treturn startTime;\n\t}",
"public Date getStartTime() {\n\t\treturn startTime;\n\t}",
"public Date getStartTime() {\n\t\treturn startTime;\n\t}",
"public Date getStartTime() {\n\t\treturn startTime;\n\t}",
"Integer getStartDay();",
"public Date getStartTime() {\r\n\t\treturn startTime;\r\n\t}",
"public java.lang.String getStartDateYYYYMMDD() {\n java.lang.Object ref = startDateYYYYMMDD_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n startDateYYYYMMDD_ = s;\n return s;\n }\n }",
"public java.lang.String getStartDateYYYYMMDD() {\n java.lang.Object ref = startDateYYYYMMDD_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n startDateYYYYMMDD_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }"
]
| [
"0.71367854",
"0.69423455",
"0.6853797",
"0.6602818",
"0.6580886",
"0.6521579",
"0.6455583",
"0.6383539",
"0.6376674",
"0.6336285",
"0.63103",
"0.6302179",
"0.6302179",
"0.62962127",
"0.6263172",
"0.62584823",
"0.62584823",
"0.62584823",
"0.6256979",
"0.62000024",
"0.616883",
"0.6137202",
"0.6135629",
"0.61272734",
"0.6112853",
"0.6096686",
"0.60744125",
"0.6073905",
"0.6053742",
"0.60324955",
"0.6029694",
"0.6021904",
"0.60067266",
"0.60067266",
"0.59781474",
"0.5954678",
"0.5954678",
"0.5954678",
"0.594787",
"0.59427965",
"0.5926704",
"0.5926023",
"0.5925191",
"0.5909977",
"0.5902626",
"0.59019715",
"0.5899147",
"0.5892131",
"0.5883746",
"0.5879995",
"0.5857532",
"0.585026",
"0.5849753",
"0.5843804",
"0.5838123",
"0.5829281",
"0.5761429",
"0.5759159",
"0.5755586",
"0.5751331",
"0.5742341",
"0.5738676",
"0.5720282",
"0.57186085",
"0.57117224",
"0.57084674",
"0.57042336",
"0.5656768",
"0.5639363",
"0.5638746",
"0.5619763",
"0.56093705",
"0.5605977",
"0.55983347",
"0.55983347",
"0.5597937",
"0.55898774",
"0.558551",
"0.5580732",
"0.55447835",
"0.55388206",
"0.55388206",
"0.5536083",
"0.5533275",
"0.55266345",
"0.5523058",
"0.55185854",
"0.5517629",
"0.5511713",
"0.55094004",
"0.55090606",
"0.5481173",
"0.5481173",
"0.5481173",
"0.5481173",
"0.54771996",
"0.5464378",
"0.54577047",
"0.5456084"
]
| 0.6125648 | 25 |
Returns the end date of this job. | public Date getEndDate(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Date get_end() {\n\t\treturn this.end;\n\t}",
"public Date getEND_DATE() {\n return END_DATE;\n }",
"public java.util.Date getEndDateTime() {\n return this.endDateTime;\n }",
"public Date getDtEnd() {\r\n return dtEnd;\r\n }",
"Date getEndDate();",
"Date getEndDate();",
"public Date getEndDate() {\n\t\treturn endDate;\n\t}",
"public Date getEndDate() {\n\t\treturn endDate;\n\t}",
"public Date getEndDate() {\n\t\treturn this.endDate;\n\t}",
"public java.util.Date getEndDate () {\r\n\t\treturn endDate;\r\n\t}",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndDate();",
"public Date getEndtime() {\n return endtime;\n }",
"long getEndDate();",
"long getEndDate();",
"public Date getEnd() throws ServiceLocalException {\n\t\treturn (Date) this.getPropertyBag().getObjectFromPropertyDefinition(\n\t\t\t\tAppointmentSchema.End);\n\t}",
"public java.util.Date getEndTime() {\n return this.endTime;\n }",
"public java.util.Date getEndTime() {\n return this.endTime;\n }",
"@Override\n\tpublic java.util.Date getEndDate() {\n\t\treturn _esfTournament.getEndDate();\n\t}",
"public Date getEndDate() {\r\n return endDate;\r\n }",
"public Date getEndDate() {\r\n return endDate;\r\n }",
"public java.util.Date getEndTime() {\n return endTime;\n }",
"public Date getEndDate() {\r\n return this.endDate;\r\n }",
"public Date getEndTimeDate() {\n return endTimeDate;\n }",
"public Date getEndDate() {\n return endDate;\n }",
"public Date getEndDate() {\n return endDate;\n }",
"public Date getEndDate() {\n return endDate;\n }",
"public Date getEndDate() {\n return endDate;\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }",
"public Date getEndTime() {\n\t\treturn endTime;\n\t}",
"public Long getEndDate() {\n\t\treturn endDate;\n\t}",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }",
"public long getEndDate() {\n return endDate_;\n }",
"public String getEndDate() {\n\t\treturn endDate.getText();\n\t}",
"public long getEndDate() {\n return endDate_;\n }",
"public long getEndDate() {\n return endDate_;\n }",
"public Date getEndDate()\r\n {\r\n return this.endDate;\r\n }",
"public long getEndDate() {\n return endDate_;\n }",
"public Date getEndTime() {\r\n return this.endTime;\r\n }",
"public Date getEndTime() {\n return this.endTime;\n }",
"public Date getjEndtime() {\n return jEndtime;\n }",
"String getEndDate();",
"public Date getEnddate() {\r\n return enddate;\r\n }",
"public Date getEndDate()\n {\n return (Date)getAttributeInternal(ENDDATE);\n }",
"public java.sql.Date getREQ_END_DATE()\n {\n \n return __REQ_END_DATE;\n }",
"public java.sql.Date getEndDate() {\n\treturn endDate;\n}",
"public Date getEndTimestamp() {\r\n return endTimestamp;\r\n }",
"public java.util.Calendar getEndDate() {\n return endDate;\n }",
"public java.lang.String getEndDate() {\n return endDate;\n }",
"Date getEndDay();",
"@Override\n public Date getEndTime() {\n return endTime;\n }",
"public Date getEndTime() {\n return endTime;\n }",
"public Date getEndTime() {\n return endTime;\n }",
"public Date getEndTime() {\n return endTime;\n }",
"public LocalDate getEndDate () {\n\t\treturn DateUtils.toLocalDate(this.end);\n\t}",
"public java.lang.String getEndDate() {\n return endDate;\n }",
"public java.lang.String getEndDay() {\r\n return localEndDay;\r\n }",
"public long getTimeEnd()\n {\n return this.timeEnd;\n }",
"public String getEndDate();",
"public long getEndTimestamp() {\n\t\treturn this.endTimestamp;\n\t}",
"public java.util.Calendar getEndExecDate()\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(ENDEXECDATE$10, 0);\n if (target == null)\n {\n return null;\n }\n return target.getCalendarValue();\n }\n }",
"public long getEnd_time() {\n return end_time;\n }",
"public long getEndTimestamp();",
"public DateTime getEnd() {\r\n return new DateTime(getEndMillis(), getChronology());\r\n }",
"public java.lang.String getTime_end() {\r\n return time_end;\r\n }",
"@Override\n\tpublic Calendar getFinishDate() {\n\t\treturn Calendar.getInstance();\n\t}",
"public String getEndDate(){\n\t\treturn this.endDate;\n\t}",
"public java.lang.Long getEndTime() {\n return end_time;\n }",
"public java.lang.Long getEndTime() {\n return end_time;\n }",
"public String getEndDate() {\n return endDate;\n }",
"public final String getEnddate() {\n\t\treturn enddate;\n\t}",
"public Date getActualFinish()\r\n {\r\n return (m_actualFinish);\r\n }",
"public TimeDateComponents getEventEndDate() {\n return getEventDates().getEndDate();\n }",
"public String eventEndString() {\n return DateUtils.formatExtDate(this.endDate);\n }",
"public Date getFinishDate()\r\n {\r\n Date result = m_finishDate;\r\n if (result == null)\r\n {\r\n result = getParentFile().getFinishDate();\r\n }\r\n return (result);\r\n }",
"public long getEndTime() {\n if (endTime < 0) {\n try {\n String datestr = PropertyArray.get(props, END);\n\n if (datestr == null) {\n // this may be more expensive because it can cause a\n // reload from disk\n try {\n datestr = getProperty(END);\n } catch (Fault f) {\n }\n }\n\n if (datestr != null) {\n Date date = parseDate(datestr);\n endTime = date.getTime();\n } else {\n // info not available\n }\n } catch (ParseException e) {\n }\n }\n\n return endTime;\n }",
"public Date getEndServiceDate() {\n return (Date) getAttributeInternal(ENDSERVICEDATE);\n }",
"public Date getFinishDate() {\n if (this.finishDate == null) {\n return null;\n }\n return new Date(this.finishDate.getTime());\n }",
"public String getEndtime() {\n return endtime;\n }",
"public Long getTimestampEnd();",
"public abstract Date getEndTime();",
"@ApiModelProperty(value = \"End of the range\")\n public String getDateEnd() {\n return dateEnd;\n }",
"public Calendar getEndTime() {\r\n\t\treturn endTime;\r\n\t}",
"public Calendar getEndDate() {\n\t\tCalendar cal = Calendar.getInstance();\n \t\tcal.setTimeInMillis(startTime);\n \t\t\n\t\treturn cal;\n\t}",
"@Nullable\r\n public DateWithOffset getEndDate() {\r\n return endDate;\r\n }",
"public long getEndTime() {\n\t\treturn endTime;\n\t}",
"public abstract long getEndTimestamp();",
"public OffsetDateTime endTime() {\n return this.endTime;\n }",
"public String getEndDateString() {\n SimpleDateFormat format = new SimpleDateFormat(DpdInputForm.DATA_FORMAT, Locale.ENGLISH);\n return format.format(new Date(this.endDate));\n }",
"Integer getEndDay();",
"public long getEndTime() {\n return endTime;\n }",
"public long getEndTime() {\n return endTime;\n }",
"public long getEndTime() {\r\n return endTime;\r\n }",
"public Date getEndDate() {\n\n String[] dateParts = description.split(\"<br />\");\n String end = dateParts[1];\n SimpleDateFormat sdf = new SimpleDateFormat(\"E, dd MMMMM yyyy - HH:mm\");\n\n //Split first part of Description and transform to Date\n //Exaample first part = \"Start Date: Tues 18 March 2017\"\n try {\n EndDate = sdf.parse(end.split(\": \")[1]);\n } catch (ParseException e) {\n e.printStackTrace();\n }\n\n return EndDate;\n }",
"public int getTimeEnd() {\r\n return timeEnd;\r\n }",
"public LocalDate getEnd_date(){\n return this.end_date;\n }",
"public java.util.Date getEndedAt() {\n return this.endedAt;\n }",
"public Timestamp getHC_WorkEndDate();"
]
| [
"0.7988641",
"0.78171223",
"0.76322806",
"0.7603597",
"0.7599495",
"0.7599495",
"0.7536575",
"0.7536575",
"0.7529459",
"0.7524007",
"0.75180686",
"0.7515679",
"0.75018394",
"0.75018394",
"0.7491063",
"0.7472225",
"0.7472225",
"0.74268705",
"0.74069047",
"0.74069047",
"0.7401333",
"0.7400635",
"0.7383325",
"0.7334769",
"0.7334769",
"0.7334769",
"0.7334769",
"0.73330414",
"0.73330414",
"0.73324156",
"0.73271555",
"0.73213875",
"0.73213875",
"0.7319129",
"0.73159283",
"0.73144776",
"0.7310581",
"0.72985643",
"0.72975576",
"0.72891724",
"0.7288931",
"0.7269029",
"0.726827",
"0.72547936",
"0.72540784",
"0.72304",
"0.72282666",
"0.72244126",
"0.7199803",
"0.7184172",
"0.7175123",
"0.7164054",
"0.71597123",
"0.71597123",
"0.71597123",
"0.7146447",
"0.71403253",
"0.7135231",
"0.71045446",
"0.70699334",
"0.7065291",
"0.705768",
"0.70505834",
"0.704466",
"0.7025448",
"0.7006008",
"0.70031023",
"0.7000997",
"0.6970419",
"0.6969265",
"0.69491595",
"0.6941293",
"0.69378287",
"0.6920713",
"0.6899548",
"0.68814397",
"0.6877128",
"0.6863145",
"0.68446606",
"0.6837633",
"0.68296444",
"0.68093365",
"0.6806501",
"0.67964727",
"0.67924064",
"0.6763738",
"0.6745737",
"0.67410916",
"0.67142856",
"0.6688445",
"0.66832536",
"0.6675286",
"0.6675286",
"0.6658626",
"0.6641584",
"0.66395307",
"0.6635008",
"0.6619259",
"0.66163844"
]
| 0.728668 | 42 |
Returns the duration left for this job after a given date. this.earliestFinishingDate startDate: Duration.ZERO this.earliestStartDate | public Duration getDurationFrom(Date startDate); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Date getEarliestFinishingDate();",
"private long remainingTime() {\n final long remainingTime = this.designatedEnd - System.currentTimeMillis();\n return remainingTime >= 0 ? remainingTime : 0L;\n }",
"public double getTimeRemaining() {\n\t\treturn (startingTime + duration) - System.currentTimeMillis();\n\t}",
"public Date getFinishDate() {\n if (this.finishDate == null) {\n return null;\n }\n return new Date(this.finishDate.getTime());\n }",
"public String getEstimatedRemainingTime() {\n long d = executable.getParent().getEstimatedDuration();\n if(d<0) return \"N/A\";\n \n long eta = d-(System.currentTimeMillis()-startTime);\n if(eta<=0) return \"N/A\";\n \n return Util.getTimeSpanString(eta);\n }",
"public Date getFinishDate()\r\n {\r\n Date result = m_finishDate;\r\n if (result == null)\r\n {\r\n result = getParentFile().getFinishDate();\r\n }\r\n return (result);\r\n }",
"private long getDuration() throws Exception {\n\treturn dtEnd.getTime() - dtStart.getTime();\n }",
"private int jobLength(){\n LocalDate completedLocalDate = LocalDate.of(this.dateCompleted.getYear(), \n this.dateCompleted.getMonth(), this.dateCompleted.getDay());\n \n LocalDate startedLocalDate = LocalDate.of(this.dateStarted.getYear(), \n this.dateStarted.getMonth(), this.dateStarted.getDay());\n \n return startedLocalDate.until(completedLocalDate).getDays();\n }",
"Duration getRemainingTime();",
"public Duration getDurationWithin(Date startDate,Date endDate);",
"public long difference() {\n long differenceBetweenDate = ChronoUnit.DAYS.between(startDate.toInstant(), endDate.toInstant());\n\n return differenceBetweenDate;\n\n }",
"public long getMillisecondsLeft() {\n Calendar c = Calendar.getInstance();\n c.setTime(new Date());\n long now = c.getTimeInMillis();\n long endToday = getEndDateInMillis();\n long oneDayInMillis = 24 * 60 * 60 * 1000;\n long endTomorrow = endToday + oneDayInMillis;\n\n long end = endToday;\n\n if(now > endToday) {\n end = endTomorrow;\n }\n\n return end - now;\n }",
"public long getTimeLeft() {\n return timeLeft;\n }",
"public Double waitTimeCalculatior(long start) {\n\t\t\t\tdouble difference = (System.currentTimeMillis() - start);\n\t\t\t\treturn difference;\n\t\t\t}",
"public long getRemainingDuration() {\n\t\treturn 0;\n\t}",
"public long getRemainingTime() {\n return (maxTime_ * 1000L)\n - (System.currentTimeMillis() - startTime_);\n }",
"public long duration() {\n\t\treturn end - start;\n\t}",
"public long getTimeLeft() {\n\t\treturn timeLeft;\n\t}",
"public java.util.Date finishSnap()\n\t{\n\t\treturn _dtFinish;\n\t}",
"Optional<Duration> timeFromLastExecution(final ZonedDateTime date);",
"public int timeSpentSince(Date beginDate) throws InvalidDateException {\r\n\t\tint diffYears = this.year - beginDate.getYear();\r\n\t\tint diffMonths = this.month - beginDate.getMonth();\r\n\t\tint diffDays = this.day - beginDate.getDay();\r\n\t\tint diffHours = this.hour - beginDate.getHour();\r\n\t\tint diffMinutes = (this.minute - beginDate.getMinute()) + 60*(diffHours + 24*(diffDays + 31*(diffMonths + 12*diffYears)));\r\n\t\tif (diffMinutes < 0) {\r\n\t\t\tthrow new InvalidDateException(\"The beginning date is posterior to the ending date !\");\r\n\t\t} else {\r\n\t\t\treturn diffMinutes;\r\n\t\t}\r\n\t\t\r\n\t}",
"long getStartDate();",
"public int getTimeLeft() {\n\t\treturn timeLeft;\n\t}",
"public String getTimeLeft() {\n return NumberToTimeLeft.convert(_dateExpiration - System.currentTimeMillis(),true);\n }",
"public int getDuration() {\n\t\treturn (int) ((endTime.getTime()-startTime.getTime())/1000) + 1;\n\t}",
"Optional<Duration> timeToNextExecution(final ZonedDateTime date);",
"public Date getBaselineFinish()\r\n {\r\n return (m_baselineFinish);\r\n }",
"long getEndDate();",
"long getEndDate();",
"com.google.protobuf.Duration getDowntimeJailDuration();",
"public boolean hasFinished() {\n\t\treturn new Date(startDate.getTime() + duration).before(new Date());\n\t}",
"public Long getLastRunDuration();",
"private static int meetRecentDeadline(LocalDate startdate, LocalDate deadlineDate, String repetition){\n\n LocalDate today = LocalDate.now();\n\n if(deadlineDate.isEqual(today)){\n return MEET_FINAL_DEADLINE;\n }\n switch (repetition){\n case \"{Daily}\":\n if(today.isEqual(startdate.plusDays(1))){\n return MEET_RECENT_DEADLINE;\n }\n case \"{Weekly}\":\n if(today.isEqual(startdate.plusDays(7))){\n return MEET_RECENT_DEADLINE;\n }\n case \"{Monthly}\":\n if(today.isEqual(startdate.plusMonths(1))){\n return MEET_RECENT_DEADLINE;\n }\n }\n return NO_RECENT_DEADLINE;\n }",
"public Integer getDurationStartDay() {\n return durationStartDay;\n }",
"public double getRemainingTime()\n {\n return totalTime - scheduledTime;\n }",
"public long getTimeLeft() {\n return getExpiration() - System.currentTimeMillis() / 1000L <= 0 ? 0 : getExpiration() - System.currentTimeMillis() / 1000L;\n }",
"@Transient\n \tpublic int getDuration() {\n \t\tint duration = (int) (this.endTime.getTime() - this.startTime.getTime());\n \t\treturn duration / 1000;\n \t}",
"public Date getActualFinish()\r\n {\r\n return (m_actualFinish);\r\n }",
"@Override\n public Duration getWait() {\n return duration;\n }",
"protected Date getUntilInclusiveDate() {\n\t\treturn untilInclusive;\n\t}",
"public void setFinishDate(Date finishDate)\r\n {\r\n m_finishDate = finishDate;\r\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getStartDate();",
"public int computeDuration() {\n return (int) Duration.between(getStart_time(), getEnd_time()).toSeconds();\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndDate();",
"public double getDuration() {\n if (null == firstTime) {\n return 0.0;\n }\n return lastTime.timeDiff_ns(firstTime);\n }",
"protected AbsoluteDate getStartDate() {\n return startDate;\n }",
"Double getRemainingTime();",
"public static long getRemainTimeInDay() {\r\n\t\tlong remain;\r\n\r\n\t\tCalendar calendar = Calendar.getInstance();\r\n\t\tcalendar.setTime(new Date());\r\n\t\tcalendar.set(Calendar.HOUR_OF_DAY, 23);\r\n\t\tcalendar.set(Calendar.MINUTE, 59);\r\n\t\tcalendar.set(Calendar.SECOND, 59);\r\n\t\tremain = calendar.getTimeInMillis() - System.currentTimeMillis();\r\n\r\n\t\treturn remain;\r\n\t}",
"public java.util.Date getFinishedTime () {\r\n\t\treturn finishedTime;\r\n\t}",
"public double TimeTaken(Date dtStartDate) {\n\t\t\tDate dtEndDate = new Date();\n\t\t\tdouble dtTimeTaken = dtEndDate.getTime() - dtStartDate.getTime();\n\t\t\tdtTimeTaken = dtTimeTaken / 1000;\n\t\t\treturn dtTimeTaken;\n\t\t}",
"public Date getEarliestStartDate();",
"public long getEndDate() {\n return endDate_;\n }",
"@Override\n\tpublic Calendar getFinishDate() {\n\t\treturn Calendar.getInstance();\n\t}",
"public long getEndDate() {\n return endDate_;\n }",
"public long timeLeftInSeconds(){\n Date currTime = new Date();\n long diff = hackathonEndTime.getTime() - currTime.getTime();\n long diffSec = diff/1000;\n\n //truncate to show relevant time\n if(diffSec > 34.5*3600){diffSec = (long)(34.5*3600);}\n if(diffSec < 0){diffSec = 0;}\n\n return diffSec;\n }",
"@Override\n\tpublic int getTimeLeft() {\n\t\treturn chronometer.getTimeLeft();\n\t}",
"long endSleep (String begin){\n\t\tendSleepTime = new SimpleDateFormat(\"HH:mm\").format(new Date());\n\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"HH:mm\");\n\t\ttry {\n\t\t\tDate d1 = sdf.parse(begin);\n\t\t\tDate d2 = sdf.parse(endSleepTime);\n\t\t long totalSleepTime = ((d2.getTime() - d1.getTime())); \n\t\t return totalSleepTime;\n\t\t} catch (ParseException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn totalSleepTime;\n\t}",
"public long toDurationMillis() {\r\n return FieldUtils.safeAdd(getEndMillis(), -getStartMillis());\r\n }",
"public long getEndDate() {\n return endDate_;\n }",
"com.google.protobuf.DurationOrBuilder getDowntimeJailDurationOrBuilder();",
"public Date getFinishedAt() {\n\t\treturn finishedAt;\n\t}",
"public String getWaiting_lock_duration() {\n return waiting_lock_duration;\n }",
"public Long remaining() {\n return this.remaining;\n }",
"public Date getWaitDate() {\r\n return waitDate;\r\n }",
"Double getScheduleDuration();",
"public Integer getDurationEndDay() {\n return durationEndDay;\n }",
"public Date getEndDate() {\r\n return endDate;\r\n }",
"public Date getEndDate() {\r\n return endDate;\r\n }",
"public long getEndDate() {\n return endDate_;\n }",
"int getRunningDuration();",
"Date getStartDate();",
"Date getStartDate();",
"Date getStartDate();",
"public long getStartDate() {\n return startDate_;\n }",
"public Date getDeadlineDate() {\r\n return deadlineDate;\r\n }",
"Date getEndDate();",
"Date getEndDate();",
"public Long getEndDate() {\n\t\treturn endDate;\n\t}",
"public long getStartDate() {\n return startDate_;\n }",
"public Date getEndDate() {\n return endDate;\n }",
"public Date getEndDate() {\n return endDate;\n }",
"public Date getEndDate() {\n return endDate;\n }",
"public Date getEndDate() {\n return endDate;\n }",
"public float getRemainingTime () {\n\t\treturn duration - timer < 0 ? 0 : duration - timer;\n\t}",
"public Date getStartDate() {\r\n return startDate;\r\n }",
"public Date getStartDate() {\r\n return startDate;\r\n }",
"public java.util.Date getEndDate () {\r\n\t\treturn endDate;\r\n\t}",
"public Date getEndDate() {\n\t\treturn endDate;\n\t}",
"public Date getEndDate() {\n\t\treturn endDate;\n\t}",
"public LocalDate getFinishLocalDate() {\n\t\treturn finishDate;\n\t}",
"long getDuration();",
"public Date getStartDate() {\n\t\treturn startDate;\n\t}",
"public Date getStartDate() {\n\t\treturn startDate;\n\t}",
"@ApiModelProperty(example = \"null\", value = \"The commitment end date related to the offer\")\n public DateTime getCommitmentCalculatedFinishDate() {\n return commitmentCalculatedFinishDate;\n }",
"public Date getStartDate() {\n return startDate;\n }",
"public Date getStartDate() {\n return startDate;\n }",
"public Date getStartDate() {\n return startDate;\n }",
"java.lang.String getStartDate();",
"public long getRemainingTime() {\n if (isPaused()) {\n return pausedPoint;\n }\n long res = (long) ((spedEndTime - SystemClock.elapsedRealtime()) * speed);\n return res > 0 ? res : 0;\n }",
"public int getRemaining() {\n\t\treturn activeQuest.getRequirement_left();\n\t}"
]
| [
"0.6189672",
"0.591915",
"0.5728432",
"0.5676512",
"0.5625077",
"0.5553205",
"0.5509251",
"0.5464718",
"0.5409707",
"0.5394465",
"0.5392943",
"0.5364012",
"0.5323414",
"0.53233683",
"0.52727324",
"0.5212036",
"0.519653",
"0.5191852",
"0.51477927",
"0.5143422",
"0.5143386",
"0.5103",
"0.5095801",
"0.50853384",
"0.5083855",
"0.5081736",
"0.50610095",
"0.50541955",
"0.50541955",
"0.5034885",
"0.50138444",
"0.5009067",
"0.50072855",
"0.5002",
"0.4976239",
"0.49675736",
"0.4949456",
"0.49405366",
"0.49291974",
"0.4927642",
"0.49189618",
"0.49151558",
"0.49064943",
"0.49054837",
"0.4903218",
"0.49026102",
"0.4902384",
"0.48881498",
"0.4876821",
"0.48603395",
"0.48505613",
"0.4846237",
"0.48458034",
"0.484196",
"0.48412752",
"0.48369643",
"0.48360518",
"0.48319933",
"0.48271373",
"0.48208266",
"0.4819672",
"0.48170272",
"0.48128948",
"0.48025265",
"0.48023388",
"0.4801376",
"0.47973633",
"0.47973633",
"0.4793012",
"0.47924617",
"0.47637358",
"0.47637358",
"0.47637358",
"0.47598085",
"0.47576123",
"0.4753628",
"0.4753628",
"0.47496173",
"0.4749231",
"0.47471815",
"0.47471815",
"0.47471815",
"0.47471815",
"0.47439003",
"0.4741395",
"0.4741395",
"0.47235864",
"0.47210655",
"0.47210655",
"0.4720095",
"0.47091967",
"0.47031388",
"0.47031388",
"0.46974614",
"0.469286",
"0.469286",
"0.469286",
"0.46908253",
"0.46876585",
"0.4684404"
]
| 0.60969573 | 1 |
Returns the amount of time this job will be running within a given date range. | public Duration getDurationWithin(Date startDate,Date endDate); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private int jobLength(){\n LocalDate completedLocalDate = LocalDate.of(this.dateCompleted.getYear(), \n this.dateCompleted.getMonth(), this.dateCompleted.getDay());\n \n LocalDate startedLocalDate = LocalDate.of(this.dateStarted.getYear(), \n this.dateStarted.getMonth(), this.dateStarted.getDay());\n \n return startedLocalDate.until(completedLocalDate).getDays();\n }",
"public long getTotalTime() {\n var timeStarted = getStartTime();\n var timeFinished = getEndTime();\n return timeStarted.until(timeFinished, SECONDS);\n }",
"public int computeDuration() {\n return (int) Duration.between(getStart_time(), getEnd_time()).toSeconds();\n }",
"int getRunningDuration();",
"Long getRunningCount();",
"public int getDuration() {\n\t\treturn (int) ((endTime.getTime()-startTime.getTime())/1000) + 1;\n\t}",
"public long getElapsedTimeSecs() {\n return running ? ((System.currentTimeMillis() - startTime) / 1000) % 60 : 0;\n }",
"default int countExecutions(ZonedDateTime startDate, ZonedDateTime endDate) {\n return getExecutionDates(startDate, endDate).size();\n }",
"public long duration() {\n\t\treturn end - start;\n\t}",
"public static long msPerTradingDay() {\r\n long result = 0;\r\n Calendar dateStart = Calendar.getInstance(TimeZone.getTimeZone(\"GMT\"));\r\n Calendar dateEnd = DTUtil.deepCopyCalendar(dateStart);\r\n dateStart.set(Calendar.HOUR_OF_DAY, DTConstants.EXCH_OPENING_HOUR);\r\n dateStart.set(Calendar.MINUTE, DTConstants.EXCH_OPENING_MIN);\r\n dateStart.set(Calendar.SECOND, DTConstants.EXCH_OPENING_SEC);\r\n dateEnd.set(Calendar.HOUR_OF_DAY, DTConstants.EXCH_CLOSING_HOUR);\r\n dateEnd.set(Calendar.MINUTE, DTConstants.EXCH_CLOSING_MIN);\r\n dateEnd.set(Calendar.SECOND, DTConstants.EXCH_CLOSING_SEC);\r\n result = dateEnd.getTimeInMillis() - dateStart.getTimeInMillis();\r\n return result;\r\n }",
"public int getTotalRunTime() {\n return totalRunTime;\n }",
"public double TimeTaken(Date dtStartDate) {\n\t\t\tDate dtEndDate = new Date();\n\t\t\tdouble dtTimeTaken = dtEndDate.getTime() - dtStartDate.getTime();\n\t\t\tdtTimeTaken = dtTimeTaken / 1000;\n\t\t\treturn dtTimeTaken;\n\t\t}",
"private long dateDiffInNumberOfDays(LocalDate startDate, LocalDate endDate) {\n\n return ChronoUnit.DAYS.between(startDate, endDate);\n }",
"int getNumberOfTasksDeterminingBuildDuration();",
"public int getHowManyInPeriod();",
"private int totalTime()\n\t{\n\t\t//i'm using this varaible enough that I should write a separate method for it\n\t\tint totalTime = 0;\n\t\tfor(int i = 0; i < saveData.size(); i++)//for each index of saveData\n\t\t{\n\t\t\t//get the start time\n\t\t\tString startTime = saveData.get(i).get(\"startTime\");\n\t\t\t//get the end time\n\t\t\tString endTime = saveData.get(i).get(\"endTime\");\n\t\t\t//****CONTINUE\n\t\t\t//total time in minutes\n\t\t}\n\t}",
"public long totalTime() {\n\t\tlong ret = 0;\n\t\tfor (Task l : plan) {\n\t\t\tret += l.getTaskLength();\n\t\t}\n\n\t\treturn ret;\n\t}",
"int getJobsCount();",
"int getJobsCount();",
"int getJobsCount();",
"long countJobs();",
"private int getTotalNumberOfJobs() {\r\n\t\tlog.info(\"Searching for all jobs ...\");\r\n\t\tlog.info(\" \");\r\n\r\n\t\tint jobs = 0;\r\n\t\tConnection conn = null;\r\n\t\tStatement stmt = null;\r\n\t\tResultSet rs = null;\r\n\t\tString qs = \"select count(*) from batchjobinstance where startDateTime > now() + interval -1 day\";\r\n\t\ttry {\r\n\t\t\tconn = dataSource.getConnection();\r\n\t\t\tstmt = conn.createStatement();\r\n\t\t\trs = stmt.executeQuery(qs);\r\n\t\t\tif (rs.next()) {\r\n\t\t\t\tjobs = rs.getInt(1);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlog.error(\"Exception encountered while attempting to retrieve all jobs: \" + e.toString() + \"; \" + e.getMessage(), e);\r\n\t\t\tlog.error(\"SQL statement: \" + qs);\r\n\t\t} finally {\r\n\t\t\tif (rs != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\trs.close();\r\n\t\t\t\t} catch (SQLException sqle) {\r\n\t\t\t\t\tlog.error(\"SQL error on rs.close(): \" + sqle.toString() + \"; \" + sqle.getMessage(), sqle);\r\n\t\t\t\t}\r\n\t\t\t\trs = null;\r\n\t\t\t}\r\n\t\t\tif (stmt != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tstmt.close();\r\n\t\t\t\t} catch (SQLException sqle) {\r\n\t\t\t\t\tlog.error(\"SQL error on stmt.close(): \" + sqle.toString() + \"; \" + sqle.getMessage(), sqle);\r\n\t\t\t\t}\r\n\t\t\t\tstmt = null;\r\n\t\t\t}\r\n\t\t\tif (conn != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tconn.close();\r\n\t\t\t\t} catch (SQLException sqle) {\r\n\t\t\t\t\tlog.error(\"SQL error on conn.close(): : \" + sqle.toString() + \"; \" + sqle.getMessage(), sqle);\r\n\t\t\t\t}\r\n\t\t\t\tconn = null;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tlog.info(jobs + \" job(s) found\");\r\n\t\tlog.info(\" \");\r\n\r\n\t\treturn jobs;\r\n\t}",
"public int getRunDuration() {\n return runDuration;\n }",
"public long difference() {\n long differenceBetweenDate = ChronoUnit.DAYS.between(startDate.toInstant(), endDate.toInstant());\n\n return differenceBetweenDate;\n\n }",
"public int timeSpentSince(Date beginDate) throws InvalidDateException {\r\n\t\tint diffYears = this.year - beginDate.getYear();\r\n\t\tint diffMonths = this.month - beginDate.getMonth();\r\n\t\tint diffDays = this.day - beginDate.getDay();\r\n\t\tint diffHours = this.hour - beginDate.getHour();\r\n\t\tint diffMinutes = (this.minute - beginDate.getMinute()) + 60*(diffHours + 24*(diffDays + 31*(diffMonths + 12*diffYears)));\r\n\t\tif (diffMinutes < 0) {\r\n\t\t\tthrow new InvalidDateException(\"The beginning date is posterior to the ending date !\");\r\n\t\t} else {\r\n\t\t\treturn diffMinutes;\r\n\t\t}\r\n\t\t\r\n\t}",
"private double calculatePercentTime(Date startDate, Date endDate) {\r\n log.debug(\"calculatePercentTime.START\");\r\n Date currentDate = new Date();\r\n double percentTime = ((double) currentDate.getTime() - (double) startDate.getTime())\r\n / ((double) endDate.getTime() - (double) startDate.getTime()) * 100;\r\n\r\n return Math.round(percentTime * 100.0) / 100.0;\r\n }",
"public long getElapsedTime(){\n long timePassed = endTime - startTime;\n return timePassed;\n }",
"public int getTotalTime();",
"int getStatus(){\n\t\tif(!daysUntilStarts.equals(0)){\n\t\t\treturn -1 * daysUntilStarts;\n\t\t}\n\t\treturn daysToRun;\n\t}",
"public long age() {\n if (startTime == 0) {\n return 0;\n } else {\n return (System.currentTimeMillis() - this.startTime) / 1000;\n }\n }",
"@Override\r\n\tpublic int getCount(Date dateStart, Date dateEnd) {\n\t\tString hql = \"select sum(cc.count) from cinema_condition cc where cc.date >= ? and cc.date <= ?\";\r\n\t\tQuery query = this.getCurrentSession().createQuery(hql);\r\n\t\tquery.setParameter(0, dateStart);\r\n\t\tquery.setParameter(1, dateEnd);\r\n\t\tif(query.uniqueResult()==null){\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\tint result = ((Long) query.uniqueResult()).intValue();\r\n\t\treturn result;\r\n\t}",
"public int getTimeEntryCount()\n throws RedmineException\n {\n return getTimeEntryCount(null);\n }",
"public int duration (long start, long end){\n\t\tlong duration = end - start;\n\t\tint time = (int)(duration /1000);\n\t\treturn time;\n\t}",
"@Transient\n \tpublic int getDuration() {\n \t\tint duration = (int) (this.endTime.getTime() - this.startTime.getTime());\n \t\treturn duration / 1000;\n \t}",
"private long countTotalVisitTimesOfEmployeeByStartDateAndEndDate(final int emp_code, final Date startDate,\n final Date endDate) {\n Long result = this.dailyRepo.countTotalDailyReportOfEmployeeByStartDateAndEndDate(emp_code, startDate, endDate)\n .getAnyResult();\n return (null != result) ? result : 0;\n }",
"private void totalWaitingTime(){\n int totalWaitingTime =0;\r\n for (Ride ride : rides) {\r\n totalWaitingTime += ride.getWaitingTime();\r\n }\r\n System.out.println(\"\\nTotal waiting time of the entire park is \" + totalWaitingTime / 60 + \" hours\");\r\n }",
"public int totalTime()\n {\n return departureTime - arrivalTime;\n }",
"int getEmploymentDurationInMonths();",
"Double getScheduleDuration();",
"public int betweenDates() {\n return Period.between(arrivalDate, departureDate).getDays();\n }",
"public int getOccupiedMinutes(){\n \t\treturn (int) (getOccupiedSeconds()/60);\n \t}",
"static final long getTotalStartedCount()\n {\n synchronized (threadStartLock)\n {\n return totalStartedCnt;\n }\n }",
"private long getDuration() throws Exception {\n\treturn dtEnd.getTime() - dtStart.getTime();\n }",
"public long getMillisecondsLeft() {\n Calendar c = Calendar.getInstance();\n c.setTime(new Date());\n long now = c.getTimeInMillis();\n long endToday = getEndDateInMillis();\n long oneDayInMillis = 24 * 60 * 60 * 1000;\n long endTomorrow = endToday + oneDayInMillis;\n\n long end = endToday;\n\n if(now > endToday) {\n end = endTomorrow;\n }\n\n return end - now;\n }",
"private double getTimeRemainingInUTCDay(){\n\t\tdouble daysLeftInDay;\n\n\t\tInstant origin = Instant.ofEpochMilli (cur_mainshock.getOriginTime());\n\t\tZonedDateTime zdt = ZonedDateTime.ofInstant (origin, ZoneOffset.UTC);\n\t\tZonedDateTime zdt2 = zdt.toLocalDate().atStartOfDay (ZoneOffset.UTC);\n\t\tInstant daybreak = zdt2.toInstant();\n\n//\t\tSimpleDateFormat formatter=new SimpleDateFormat(\"d MMM yyyy, HH:mm:ss\");\n//\t\tformatter.setTimeZone(utc); //utc=TimeZone.getTimeZone(\"UTC\"));\n//\t\tSystem.out.println(formatter.format(Date.from (origin)));\n//\t\tSystem.out.println(formatter.format(Date.from (daybreak)));\n\t\t\n\t\tdaysLeftInDay = 1.0 - ((double)(origin.toEpochMilli() - daybreak.toEpochMilli()))/ComcatOAFAccessor.day_millis;\n\t\tif (daysLeftInDay == 1.0) {\n\t\t\tdaysLeftInDay = 0.0;\n\t\t}\n\t\treturn daysLeftInDay;\n\t}",
"public long getSecondsUntilNextExecutionTime() {\n\t\treturn (getNextExecutionTime().getTime() - System.currentTimeMillis()) / 1000;\n\t\t\n\t}",
"int getUserQuestJobsCount();",
"public static long getElapsedTimeSecs() {\n\t\tlong elapsed;\n\t\tif (running) {\n\t\t\telapsed = ((System.nanoTime() - startTime)/1000000);\n\t\t} else {\n\t\t\telapsed = ((stopTime - startTime)/1000000);\n\t\t}\n\t\treturn elapsed;\n\t}",
"public Long getLastRunDuration();",
"public double totalHours(){\n return (this._startingHour - this._endingHour);\n }",
"public Double waitTimeCalculatior(long start) {\n\t\t\t\tdouble difference = (System.currentTimeMillis() - start);\n\t\t\t\treturn difference;\n\t\t\t}",
"public long getTimeTaken();",
"public int getWorkRequired() {\n return time;\n }",
"public int getOccupiedHours(){\n \t\treturn getOccupiedMinutes()/60;\n \t}",
"private Long countRange(RequestData requestData) {\n javax.persistence.criteria.CriteriaQuery cq = getEntityManager().getCriteriaBuilder().createQuery();\n javax.persistence.criteria.Root<T> rt = cq.from(getEntityClass());\n cq.select(getEntityManager().getCriteriaBuilder().count(rt));\n javax.persistence.Query q = getEntityManager().createQuery(cq);\n return (Long) q.getSingleResult();\n }",
"public int getProgress() {\n long d = executable.getParent().getEstimatedDuration();\n if(d<0) return -1;\n \n int num = (int)((System.currentTimeMillis()-startTime)*100/d);\n if(num>=100) num=99;\n return num;\n }",
"public java.lang.Integer getTotalOverdueCount12M30D() {\n return totalOverdueCount12M30D;\n }",
"private int getDays() {\n\t\tlong arrival = arrivalDate.toEpochDay();\n\t\tlong departure = departureDate.toEpochDay();\n\t\tint days = (int) Math.abs(arrival - departure);\n\n\t\treturn days;\n\t}",
"int getStudentTimeCosted(long studentId, Date start, Date end);",
"public static long getRunningTime(long startTime) {\n return System.currentTimeMillis()-startTime;\n }",
"public java.lang.Integer getTotalOverdueCount6M30D() {\n return totalOverdueCount6M30D;\n }",
"public int getTimeTaken() {\n return this.getTreeNode().getBuilding().getTotalTimeTaken();\n }",
"public java.lang.String CC_GetCurrentJobsInRange(java.lang.String accessToken, java.lang.String CCCode, java.util.Calendar startDate, java.util.Calendar endDate) throws java.rmi.RemoteException;",
"private int jobCountForFeed(String feedSourceId) {\n return Scheduler.scheduledJobsForFeedSources.get(feedSourceId).size();\n }",
"public static void main(String[] args) {\n\t\t\n\t\tLocalDate initialDate = LocalDate.now();\n\t\t\n\t\n\t\tLocalDate finalDate = initialDate .plus(Period.ofWeeks(4) );\t// number* 7 % 30 \n\t\t int days = Period.between(initialDate, finalDate).getDays();\n\t\t System.out.println(days);\n\t\t \n\t\t long between = ChronoUnit.DAYS.between(initialDate, finalDate);\n\t\t System.out.println(\"duration between the two time :\" + between);\n\t\t \n\t\t \n\t\t LocalTime initialTime = LocalTime.now();\n\t\t \n\t\t LocalTime finalTime = initialTime.plus(Duration.ofSeconds(36));\n\t\t \n\t\t long second = Duration.between(initialTime, finalTime).getSeconds();\n\t\t \n\t\t System.out.println(\"duration between the two time :\" + second);\n\t\t \n\t\t long between2 = ChronoUnit.SECONDS.between(initialTime, finalTime);\n\t\t \n\t\t System.out.println(\"duration between the two time :\" + between2);\n\t\t \n\t\t \n\t\t \n\t}",
"public double getTimeRemaining() {\n\t\treturn (startingTime + duration) - System.currentTimeMillis();\n\t}",
"public int getTotalWaitTime() {\n return totalWaitTime;\n }",
"public long timeLeftInSeconds(){\n Date currTime = new Date();\n long diff = hackathonEndTime.getTime() - currTime.getTime();\n long diffSec = diff/1000;\n\n //truncate to show relevant time\n if(diffSec > 34.5*3600){diffSec = (long)(34.5*3600);}\n if(diffSec < 0){diffSec = 0;}\n\n return diffSec;\n }",
"protected int getTotalEnrolledMorning() {\n return getMorningRoster().size();\n }",
"public long period() throws TimeWindowException {\n return div();\n }",
"public int daysOverdue(int today);",
"public int getTotalWait() {\n return totalWait;\n }",
"public int getDelegatedHours(){\n\t\tint total = 0;\n\t\tfor(DelegatedWork work: this.delegatedWork){\n\t\t\ttotal += work.getHalfHoursWorked();\n\t\t}\n\t\treturn total;\n\t}",
"public float getTime() {\n return Math.abs(endTime - startTime) / 1000000f;\n }",
"private long calculateTimeToWait(int min, int max, long totalRunningTime)\n {\n double randomNumber = Math.random();\n\n if (randomNumber < 0.003)\n return Random.nextInt(60523, 127443);\n\n if (randomNumber < 0.05)\n return Random.nextInt(2519, 28111);\n\n long waitTime = (long) Random.nextInt(min, max);\n return (long) Math.floor(waitTime * (1 / (1 - (totalRunningTime / FIVE_HOURS_MILLIS))));\n }",
"public int getRunCount() {\n return runCount;\n }",
"private long remainingTime() {\n final long remainingTime = this.designatedEnd - System.currentTimeMillis();\n return remainingTime >= 0 ? remainingTime : 0L;\n }",
"int getQualifiedActivityCount(long studentId, Date start, Date end);",
"long getExecutionTime();",
"public int getTotalPrice() {\n int total = 0;\n for (Scholar s : this.scholars) {\n Calendar start = (Calendar) s.getStartDate().clone();\n while (start.before(s.getEndDate())) {\n if (start.after(this.startDate) && start.before(this.estimatedEnd)) { //Only lists scholar within the the time frame the project is active\n total += s.getSalary();\n }\n start.add(Calendar.MONTH, 1);\n }\n }\n return total;\n }",
"long getConsumedWorkUnits();",
"protected double getElapsedTime() {\n\t\treturn Utilities.getTime() - startTime;\n\t}",
"public java.lang.Integer getTotalOverdueCount24M30D() {\n return totalOverdueCount24M30D;\n }",
"public long getProccesTime() {\n\t\tlong processTime = 0;\n\t\tfor (Client client : queue) {\n\t\t\tprocessTime += client.getProcessedTime();\n\t\t}\n\t\treturn processTime;\n\t}",
"private long getGameDuration() {\n return ((System.currentTimeMillis() - startGameTime) / 1000);\n }",
"public long getElapsedHours() {\n\t\tlong elapsed;\n\t\tif (running) {\n\t\t\telapsed = (System.nanoTime() - startTime);\n\t\t} else {\n\t\t\telapsed = (stopTime - startTime);\n\t\t}\n\t\treturn elapsed / nsPerHh;\n\t}",
"public int getNumberOfLastDayEvents() {\n int counter = 0;\n long currentTimeSeconds = getCurrentTimeInSeconds();\n for (int i = 0; i < records.length; i++) {\n synchronized (records[i]) {\n if (currentTimeSeconds - records[i].getLastTimeReset() < SECONDS_IN_DAY) {\n counter += records[i].getCount();\n }\n }\n }\n\n return counter;\n }",
"public int getIdleTime() {\n int[] processorFinishTimes = new int[AlgorithmConfig.getNumOfProcessors()];\n int[] processorWeights = new int[AlgorithmConfig.getNumOfProcessors()];\n int processor;\n // Find the end time and weight of each processor\n for (ScheduledTask task : this) {\n processor = task.getProcessorNum() - 1;\n if (task.getFinishTime() > processorFinishTimes[processor]) {\n processorFinishTimes[processor] = task.getFinishTime();\n }\n processorWeights[processor] += task.getNode().getWeight();\n }\n // Calculate the idle time\n int idleTime = 0;\n for (int i = 0; i < AlgorithmConfig.getNumOfProcessors(); i++) {\n idleTime += processorFinishTimes[i] - processorWeights[i];\n }\n\n return idleTime;\n }",
"long getTotalDoExamTime();",
"long endSleep (String begin){\n\t\tendSleepTime = new SimpleDateFormat(\"HH:mm\").format(new Date());\n\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"HH:mm\");\n\t\ttry {\n\t\t\tDate d1 = sdf.parse(begin);\n\t\t\tDate d2 = sdf.parse(endSleepTime);\n\t\t long totalSleepTime = ((d2.getTime() - d1.getTime())); \n\t\t return totalSleepTime;\n\t\t} catch (ParseException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn totalSleepTime;\n\t}",
"public long getElapsedTimeMili() {\n return running ? ((System.currentTimeMillis() - startTime)/100) % 1000 : 0;\n }",
"public int getTimeEntryCount(SpentOn spentOn)\n throws RedmineException\n {\n return getTimeEntryCount(ID_ANY,ID_ANY,spentOn);\n }",
"public int age(){\r\n\t\t//1000 ms = 1s, 60s = 1 min, 60 min = 1h, 24h = 1 day\r\n\t\t//1 Day = 1000 * 60 * 60 * 24\r\n\t\tlong divide = 1000 * 60 * 60 * 24;\r\n\t\tDate d = new Date();\r\n\t\tlong timeNow = d.getTime();\r\n\t\tlong pubDate = dateOfPublication.getTime();\r\n\t\t\r\n\t\tlong between = timeNow - pubDate;\r\n\t\t\r\n\t\tlong daysSincePub = between / divide;\r\n\t\treturn (int) daysSincePub;\r\n\t}",
"public long daysToDeadline() {\n return DateWrapper.getTimeBetween(Clock.now().getDateWrapper(), getDate(), ChronoUnit.DAYS);\n }",
"void calculateRange() {\n //TODO: See Rules\n }",
"public long getElapsedTime()\r\n {\r\n if(isRunning)\r\n {\r\n long endTime = System.currentTimeMillis();\r\n return elapsedTime=endTime-startTime;\r\n }\r\n else\r\n {\r\n return elapsedTime;\r\n }\r\n }",
"private int getNumberOfEventsByMinuteOrHour(boolean isByMinute) {\n int counter = 0;\n long currentTimeSeconds = getCurrentTimeInSeconds();\n long currentTimeIndex = (currentTimeSeconds - startTime) % SECONDS_IN_DAY;\n int timePeriod = isByMinute ? SECONDS_IN_MINUTE : SECONDS_IN_HOUR;\n\n if (currentTimeIndex + 1 - timePeriod >= 0) {\n for (int i = (int) currentTimeIndex; i > currentTimeIndex - timePeriod; i--) {\n synchronized (records[i]) {\n if (currentTimeSeconds - records[i].getLastTimeReset() < SECONDS_IN_DAY) {\n counter += records[i].getCount();\n }\n }\n }\n } else {\n for (int i = (int) currentTimeIndex; i >= 0; i--) {\n synchronized (records[i]) {\n if (currentTimeSeconds - records[i].getLastTimeReset() < SECONDS_IN_DAY) {\n counter += records[i].getCount();\n }\n }\n }\n\n for (int i = records.length - 1; i > records.length + currentTimeIndex - timePeriod; i--) {\n synchronized (records[i]) {\n if (currentTimeSeconds - records[i].getLastTimeReset() < SECONDS_IN_DAY) {\n counter += records[i].getCount();\n }\n }\n }\n }\n\n return counter;\n }",
"private long daysBetween() throws ParseException {\n Scanner input = new Scanner(System.in);\n System.out.println(\"Enter the date of when you rented the game dd/MM/yyyy:\");\n String dateReturn = input.nextLine();\n Date date = new SimpleDateFormat(\"dd/MM/yyyy\").parse(dateReturn);\n long interval = new Date().getTime() - date.getTime();\n return TimeUnit.DAYS.convert(interval, TimeUnit.MILLISECONDS);\n }",
"long getExcutorTasksInWorkQueueCount();",
"public int getduration() {\n\t\tDuration duration = Duration.between(initial_time, current_time);\n\t\treturn (int)duration.getSeconds();\n\t}"
]
| [
"0.7275362",
"0.64303106",
"0.6348111",
"0.6343276",
"0.60793304",
"0.60449994",
"0.58706474",
"0.58270323",
"0.5705635",
"0.5679516",
"0.56726575",
"0.5659141",
"0.56532675",
"0.56461376",
"0.5603532",
"0.55935585",
"0.557757",
"0.5564722",
"0.5564722",
"0.5564722",
"0.5556325",
"0.5521689",
"0.5512322",
"0.55095357",
"0.5503554",
"0.548213",
"0.5464593",
"0.5460208",
"0.5438113",
"0.5436412",
"0.54095525",
"0.5408192",
"0.54032075",
"0.53939956",
"0.5367853",
"0.53664196",
"0.53554595",
"0.53282994",
"0.53254867",
"0.5320486",
"0.53152764",
"0.5310199",
"0.5305374",
"0.5301417",
"0.52937245",
"0.5287244",
"0.5265368",
"0.5261373",
"0.5252619",
"0.52457756",
"0.5235846",
"0.52235276",
"0.52175754",
"0.520208",
"0.51897943",
"0.51836425",
"0.5183283",
"0.5177842",
"0.51752764",
"0.5169946",
"0.51608723",
"0.51591986",
"0.5154406",
"0.51386905",
"0.5138401",
"0.51348126",
"0.5133554",
"0.50965583",
"0.50914955",
"0.5091385",
"0.5089504",
"0.5086143",
"0.5084575",
"0.5081424",
"0.5071007",
"0.5069112",
"0.5068674",
"0.5061113",
"0.5049742",
"0.5046664",
"0.50415814",
"0.50338525",
"0.503166",
"0.50282204",
"0.50277776",
"0.5027093",
"0.50257087",
"0.5015302",
"0.5011674",
"0.5010891",
"0.5008815",
"0.50030184",
"0.4978129",
"0.49731725",
"0.4972003",
"0.49665207",
"0.49587876",
"0.49531692",
"0.49467912",
"0.49449906"
]
| 0.56277126 | 14 |
Sets the number of runs for this job. | public void setRuns(int runs); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void setNumIterations(long aNumIterations) {\n\t\tnumIterations = aNumIterations;\n\t}",
"public void setNumberOfThreads(java.lang.Integer value) {\n __getInternalInterface().setFieldValue(NUMBEROFTHREADS_PROP.get(), value);\n }",
"public void setCount(int value) {\n this.count = value;\n }",
"public void setCount(int value) {\n this.count = value;\n }",
"public void setCount(int value) {\n this.count = value;\n }",
"public void setNumberOfThreads(java.lang.Integer value) {\n __getInternalInterface().setFieldValue(NUMBEROFTHREADS_PROP.get(), value);\n }",
"public void resetRunCount() {\n\n }",
"boolean setMultiRun(int runs);",
"public int getRunCount() {\n return runCount;\n }",
"public void setNumTasks(int n) {\n if (latch != null && latch.getCount() > 0) {\n throw new IllegalStateException(\"Method called during wait period\");\n }\n\n latch = new CountDownLatch(n);\n }",
"public void setIterations(int iter) {\n\t\tnumIterations = iter;\n\t}",
"public void setNumResults(int numResults) {\n mNumResults = numResults;\n }",
"public void setNbIterations(int nbIterations) {\n\t\tthis.nbIterations = nbIterations;\n\t}",
"public void setCount(int count)\r\n\t{\r\n\t}",
"public final void setNbThread(final int nbThread) {\n this.nbThread = nbThread;\n }",
"void setNumberOfResults(int numberOfResults);",
"public synchronized void setNumberOfServers(int num) {\n\t\tif(num != this.numServers) {\n\t\t\tthis.updating = true;\n\t\t\tthis.prevNumServers = this.numServers;\n\t\t\tthis.numServers = num;\n\t\t\tthis.rehashUsers();\n\t\t\tthis.updating = false;\n\t\t\tthis.notifyAll();\n\t\t}\n\t}",
"public void setNUMBEROFRECORDS(int value) {\n this.numberofrecords = value;\n }",
"public void setCount(int count) {\r\n this.count = count;\r\n }",
"void setNoOfBuckets(int noOfBuckets);",
"public Builder setNumOfRetrievelRequest(int value) {\n \n numOfRetrievelRequest_ = value;\n onChanged();\n return this;\n }",
"public Builder setNumOfRetrievelRequest(int value) {\n \n numOfRetrievelRequest_ = value;\n onChanged();\n return this;\n }",
"public void setNumBalls(int numBalls) {\n this.numBalls += numBalls;\n setScoreText();\n }",
"public void setUpdateOften(int i){\n countNum = i;\n }",
"public void setNumberOfRestraunts(int _numberOfRestraunts){\n \n numberOfRestraunts = _numberOfRestraunts;\n }",
"public void setNumberTests(int numberTests) {\n this.numberTests = numberTests;\n }",
"public void setIterations(int iterations) {\r\n\t\tthis.iterations = iterations;\r\n\t}",
"public Builder setCount(int value) {\n \n count_ = value;\n onChanged();\n return this;\n }",
"private void setNumRunningFgJobs(int value) {\n this.bitField0_ |= 8;\n this.numRunningFgJobs_ = value;\n }",
"public void setCount(long val)\n\t{\n\t\tcount = val;\n\t}",
"public void setKillCount(){\n killCount = killCount + 1;\n System.out.println(\"Kill count: \"+ killCount);\n }",
"public void setCount(int count)\r\n {\r\n this.count = count;\r\n }",
"public static void setCount(int aCount) {\n count = aCount;\n }",
"private void setConfigNumMaxTotalJobs(int value) {\n this.bitField0_ |= 1;\n this.configNumMaxTotalJobs_ = value;\n }",
"public int getRuns() {\n return runs;\n }",
"public void setCount(int count)\n {\n this.count = count;\n }",
"public void setDocumentCount(Integer arg0) {\n \n }",
"public void setCount(final int count)\n {\n this.count = count;\n }",
"public void setNumberOfActiveRunners(Integer numberOfActiveRunners){\n this.numberOfActiveRunners = numberOfActiveRunners;\n }",
"public void setCounter(int value) { \n\t\tthis.count = value;\n\t}",
"public void setCount(int count) {\n this.count = count;\n }",
"public void setCount(int count) {\n this.count = count;\n }",
"public void setCount(int count) {\n this.count = count;\n }",
"public void setCount(int count) {\n this.count = count;\n }",
"public void setCount(int count) {\n this.count = count;\n }",
"public Builder setNumOfChunks(int value) {\n \n numOfChunks_ = value;\n onChanged();\n return this;\n }",
"public void setNumOpens(int n) {\r\n itersOpen = n;\r\n }",
"public static void setNumThreads(int newNumThreads) throws Exception \n { \n /** In case of incorrect input */\n if(newNumThreads < 0)\n throw new Exception(\"attepmt to create negative count of threads\");\n numThreads = newNumThreads; \n }",
"public void setNumberOfInProcessFiles(int value) {\n this.numberOfInProcessFiles = value;\n }",
"public void setCount(int newCount) {\r\n\t\tcount = newCount;\r\n\t}",
"public void setCount(Integer count) {\r\n this.count = count;\r\n }",
"public void setCount(final int count) {\n this.count = count;\n }",
"public void setCounter(int number){\n this.counter = number;\n }",
"public void setIterations(int iterations) {\n\t\tthis.m_iterations = iterations;\n\t}",
"public Builder setCount(long value) {\n \n count_ = value;\n onChanged();\n return this;\n }",
"public FileCount(int numFiles){\n this.numFiles = numFiles;\n }",
"public void setNumberOfSimulations(int nSimul){\n this.nMonteCarlo = nSimul;\n }",
"public Builder setServerWorkIterations(int value) {\n \n serverWorkIterations_ = value;\n onChanged();\n return this;\n }",
"public Builder setRepeatCount(int value) {\n\n repeatCount_ = value;\n bitField0_ |= 0x00000004;\n onChanged();\n return this;\n }",
"public void setNumDigits(int digits) {\r\n \r\n //Set Value\r\n numDigits = digits;\r\n \r\n }",
"@Override\n public Builder epochs(int numEpochs) {\n super.epochs(numEpochs);\n return this;\n }",
"private void setNumRows(int rows) {\n\t\tnumRows = rows; \n\t}",
"public void setCount(int count){\n\t\tthis.count = count;\n\t}",
"public void setNumRetries(int numRetries) {\n\t\tif(numRetries < 0) {\n\t\t\tthrow new IllegalArgumentException(\"Retries should not be negative\");\n\t\t}\n\t\tthis.numRetries = numRetries;\n\t}",
"public void setNumTests(int i){\n if (i <= 0){\n throw new ArithmeticException(\"Number of random GAM tests must be at least 1.\");\n }\n\n numTests = i;\n }",
"public Options setNumThreads(int numThreads) {\n this.numThreads = numThreads;\n return this;\n }",
"public void setRunDuration(int value) {\n this.runDuration = value;\n }",
"private void setLikesCount(int value) {\n \n likesCount_ = value;\n }",
"public JobBuilder nodeCount(int nodeCount) {\r\n job.setNodeCount(nodeCount);\r\n return this;\r\n }",
"public void set_count(int c);",
"@Override\n public void setNrPlayers(int value) {\n this.nrPlayers = value;\n }",
"public void setNumOfConnections(int num) {\r\n\t\tnumOfConnections = num;\r\n\t}",
"private void setNumRunningBgJobs(int value) {\n this.bitField0_ |= 16;\n this.numRunningBgJobs_ = value;\n }",
"public void setCount(Integer count) {\n this.count = count;\n }",
"public void setCount(Integer count) {\n this.count = count;\n }",
"public void setCount(Integer count) {\n this.count = count;\n }",
"public void setCount(Integer count) {\n this.count = count;\n }",
"public void setCount(Integer count) {\n this.count = count;\n }",
"public void setCount(Integer count) {\n this.count = count;\n }",
"private void setNoOfRows(int noOfRows) {\n this.noOfRows = noOfRows;\n }",
"private void setCommentsCount(int value) {\n \n commentsCount_ = value;\n }",
"@Override\n\tpublic TaskForUserOngoingRecord setNumRevives(Integer value) {\n\t\tsetValue(6, value);\n\t\treturn this;\n\t}",
"public void setNumOfThreads(String numOfThreadsStr) {\n numOfThreads = Integer.parseInt(numOfThreadsStr);\n }",
"public void setCount(final int count) {\n\t\t_count = count;\n\t}",
"public void setCount(final int c) {\n\t\tcount = c;\n\t}",
"public void setNoOfTicket(String noOfTickets) {\n \r\n }",
"public void setCount(int count) {\n\t\tthis.count = count;\n\t}",
"void setReplicaCount(String clusterName, ClusterSpec clusterSpec, int replicaLimit);",
"public void setNumberOfBees(int n) {\r\n this.numberOfBees = n;\r\n }",
"public void setNumOfActionTaken(int numOfActionTaken) {\n this.numOfActionTaken = numOfActionTaken;\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 Builder setChunksCount(int value) {\n bitField0_ |= 0x00000002;\n chunksCount_ = value;\n onChanged();\n return this;\n }",
"public void setNumSyncBatches(int numSyncBatches) {\n this._numSyncBatches = numSyncBatches;\n this._properties.setProperty(PARAM_NUM_SYNC_BATCHES, _numSyncBatches+\"\");\n }",
"public void setNumberOfFramesSerialize(int val) {\n timeManager.numberOfFrames = val;\n }",
"public void setCount(int count) {\n\t\t\tthis.count = count;\n\t\t}",
"public void setOneNewWanted () {\r\n numWanted ++;\r\n }",
"public void setRecordCount(int value) {\n this.recordCount = value;\n }",
"public void incrNormalRunners() {\n this.runnerStats.incrNormalRunners();\n }",
"public Builder setSeasonShareCount(int value) {\n \n seasonShareCount_ = value;\n onChanged();\n return this;\n }",
"public void setNumberOfFailedFiles(int value) {\n this.numberOfFailedFiles = value;\n }"
]
| [
"0.6583286",
"0.6467417",
"0.6464881",
"0.6464881",
"0.6464881",
"0.645911",
"0.642307",
"0.640822",
"0.62286115",
"0.62242293",
"0.62103945",
"0.6174532",
"0.6142292",
"0.6119449",
"0.6118695",
"0.610326",
"0.60732037",
"0.6004384",
"0.59584045",
"0.5957794",
"0.5955126",
"0.5955126",
"0.59529126",
"0.59398156",
"0.5924589",
"0.59212506",
"0.59094733",
"0.59066755",
"0.590467",
"0.5896919",
"0.58876127",
"0.5876498",
"0.58760196",
"0.5868193",
"0.5861843",
"0.5858447",
"0.58464026",
"0.58366764",
"0.58359027",
"0.58274084",
"0.5823531",
"0.5823531",
"0.5823531",
"0.5823531",
"0.5823531",
"0.5817735",
"0.58069134",
"0.57954746",
"0.57847816",
"0.5766187",
"0.5752241",
"0.57495457",
"0.57440335",
"0.57330483",
"0.5718105",
"0.5713709",
"0.57087725",
"0.5703702",
"0.5702457",
"0.57024175",
"0.5696746",
"0.5692096",
"0.5689907",
"0.56797403",
"0.5676314",
"0.56762195",
"0.5667072",
"0.56653327",
"0.5664785",
"0.5662774",
"0.5661628",
"0.5660193",
"0.56457686",
"0.564348",
"0.564348",
"0.564348",
"0.564348",
"0.564348",
"0.564348",
"0.56320214",
"0.56256896",
"0.5613526",
"0.559463",
"0.55765104",
"0.5573878",
"0.5572374",
"0.556617",
"0.5565332",
"0.5564158",
"0.55407244",
"0.5527949",
"0.5523306",
"0.5503662",
"0.5502727",
"0.54922855",
"0.5485379",
"0.5468651",
"0.546813",
"0.54675424",
"0.54589"
]
| 0.75171363 | 0 |
Returns the number of runs for this job. | public int getRuns(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getRunCount() {\n return runCount;\n }",
"public int getRuns() {\n return runs;\n }",
"int getJobsCount();",
"int getJobsCount();",
"int getJobsCount();",
"public int getRunningCount() {\r\n return root.getRunningCount();\r\n }",
"public int getJobsCount() {\n if (jobsBuilder_ == null) {\n return jobs_.size();\n } else {\n return jobsBuilder_.getCount();\n }\n }",
"public int getRunnableCount() {\n return queue.size();\n }",
"public int getJobsCount() {\n return jobs_.size();\n }",
"public int numberOfPendingTasks() {\n return allBatchesStream().mapToInt(Batch::getPendingCount).sum();\n }",
"private int jobLength(){\n LocalDate completedLocalDate = LocalDate.of(this.dateCompleted.getYear(), \n this.dateCompleted.getMonth(), this.dateCompleted.getDay());\n \n LocalDate startedLocalDate = LocalDate.of(this.dateStarted.getYear(), \n this.dateStarted.getMonth(), this.dateStarted.getDay());\n \n return startedLocalDate.until(completedLocalDate).getDays();\n }",
"public int runCount() {\n return testCount;\n }",
"public int getTotalWorkerCount() {\n return this.workerCount;\n }",
"public final int count() {\n\t\tCountFunction function = new CountFunction();\n\t\teach(function);\n\t\treturn function.getCount();\n\t}",
"Long getRunningCount();",
"public int getTimeEntryCount()\n throws RedmineException\n {\n return getTimeEntryCount(null);\n }",
"public String getJobCount() {\r\n return jobCount;\r\n }",
"public int numSubmissions() {\n int counter = 0;\n\n for (int i = 0; i < studentList.size(); i++) {\n // number of submits for each student in student list is accumulated\n counter += (studentList.get(i)).getNumberSubmits();\n }\n\n return counter;\n }",
"private int getTotalNumberOfJobs() {\r\n\t\tlog.info(\"Searching for all jobs ...\");\r\n\t\tlog.info(\" \");\r\n\r\n\t\tint jobs = 0;\r\n\t\tConnection conn = null;\r\n\t\tStatement stmt = null;\r\n\t\tResultSet rs = null;\r\n\t\tString qs = \"select count(*) from batchjobinstance where startDateTime > now() + interval -1 day\";\r\n\t\ttry {\r\n\t\t\tconn = dataSource.getConnection();\r\n\t\t\tstmt = conn.createStatement();\r\n\t\t\trs = stmt.executeQuery(qs);\r\n\t\t\tif (rs.next()) {\r\n\t\t\t\tjobs = rs.getInt(1);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlog.error(\"Exception encountered while attempting to retrieve all jobs: \" + e.toString() + \"; \" + e.getMessage(), e);\r\n\t\t\tlog.error(\"SQL statement: \" + qs);\r\n\t\t} finally {\r\n\t\t\tif (rs != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\trs.close();\r\n\t\t\t\t} catch (SQLException sqle) {\r\n\t\t\t\t\tlog.error(\"SQL error on rs.close(): \" + sqle.toString() + \"; \" + sqle.getMessage(), sqle);\r\n\t\t\t\t}\r\n\t\t\t\trs = null;\r\n\t\t\t}\r\n\t\t\tif (stmt != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tstmt.close();\r\n\t\t\t\t} catch (SQLException sqle) {\r\n\t\t\t\t\tlog.error(\"SQL error on stmt.close(): \" + sqle.toString() + \"; \" + sqle.getMessage(), sqle);\r\n\t\t\t\t}\r\n\t\t\t\tstmt = null;\r\n\t\t\t}\r\n\t\t\tif (conn != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tconn.close();\r\n\t\t\t\t} catch (SQLException sqle) {\r\n\t\t\t\t\tlog.error(\"SQL error on conn.close(): : \" + sqle.toString() + \"; \" + sqle.getMessage(), sqle);\r\n\t\t\t\t}\r\n\t\t\t\tconn = null;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tlog.info(jobs + \" job(s) found\");\r\n\t\tlog.info(\" \");\r\n\r\n\t\treturn jobs;\r\n\t}",
"public int getNbIterations() {\n\t\treturn this.nbIterations;\n\t}",
"public java.lang.Integer getJobsRunning() {\n return jobsRunning;\n }",
"private int jobCountForFeed(String feedSourceId) {\n return Scheduler.scheduledJobsForFeedSources.get(feedSourceId).size();\n }",
"public int getNumberOfTasks() {\n\t\treturn tasks.size();\n\t}",
"public int getThreadCount() {\n\t\treturn this.threadCalls.size();\n\t}",
"public int pageCount()\n {\n return (int)Math.ceil((double)getTaskVector().size() /\n (double)getRecordsPerPage());\n }",
"public long getTaskCount() {\r\n\t\treturn taskCount;\r\n\t}",
"public long getProcessCount() {\n return getProcesses().count();\n }",
"long countJobs();",
"public int count() {\n\t\treturn count;\n\t}",
"public int getNumTasks() {\n return tasks.size();\n }",
"public long numHits() {\n return numHits.longValue();\n }",
"public java.lang.Integer getTaskCount() {\n return taskCount;\n }",
"public Integer getWorkSize(){\r\n\t\treturn work.size();\t\t\r\n\t}",
"public int getNumTimes();",
"public int getNumResults() {\r\n\t\treturn this.numResults;\r\n\t}",
"public int getNumberSubmissions() {\n\t\treturn submissions.size();\n\t}",
"int getUserQuestJobsCount();",
"public int CompletedCount() {\n \t\treturn jobcomplete.size();\n \t}",
"public final int size() {\r\n\t\tint SIZE = workoutList.size();\r\n\r\n\t\treturn SIZE;\r\n\t}",
"public int getRequestsCount() {\n return instance.getRequestsCount();\n }",
"public int numberOfRows(){\n int numRows = (int) DatabaseUtils.queryNumEntries(db, TRACKINGS_TABLE_NAME);\n return numRows;\n }",
"public int getExpectedNumber() {\n return getWholeProcessCount();\n }",
"public int getActiveRunwaysCount();",
"public int count() {\r\n return count;\r\n }",
"private int getRunningNum() {\n\t\treturn am.getRunningAppProcesses().size();\r\n\t}",
"public final int size() {\n int size = 0;\n final Iterator iterator = this.iterator();\n while (iterator.hasNext()) {\n size++;\n iterator.next();\n }\n return size;\n }",
"@Override\n public int getJobCount () {\n return pool.getJobCount();\n }",
"public int countList() {\n return tasks.size();\n }",
"public Integer getNumberOfActiveRunners(){\n return numberOfActiveRunners;\n }",
"public int getStatsCount() {\n return instance.getStatsCount();\n }",
"@ApiModelProperty(value = \"The number of running components in the NiFi.\")\r\n public Integer getRunningCount() {\r\n return runningCount;\r\n }",
"public Long getExec_count() {\n return exec_count;\n }",
"long getExecutorTaskCount();",
"public double getNumberOfPayloadRepetitions() {\n\t\tdouble repetitionDelay = workloadConfiguration.getRepetitionDelay();\n\t\tdouble duration = workloadConfiguration.getDuration();\n\t\tdouble numberOfRepetitions = 1;\n\n\t\tif (numberOfRepetitions < (duration / repetitionDelay)) {\n\t\t\tnumberOfRepetitions = (duration / repetitionDelay);\n\t\t}\n\n\t\treturn numberOfRepetitions;\n\t}",
"public int getCheckCount() {\r\n return checkResults.size();\r\n }",
"public int count() {\n return count;\n }",
"public int getTotalNumberOfSubtasks() {\n\t\treturn totalNumberOfSubtasks;\n\t}",
"public int getRun();",
"public int getResultsCount() {\n if (resultsBuilder_ == null) {\n return results_.size();\n } else {\n return resultsBuilder_.getCount();\n }\n }",
"public long count() {\n return this.count;\n }",
"public int resultsProcessed() {\n return resultCount;\n }",
"public int getUserQuestJobsCount() {\n return userQuestJobs_.size();\n }",
"public int getNumOfThreads() {\n return numOfThreads;\n }",
"public int getUserQuestJobsCount() {\n if (userQuestJobsBuilder_ == null) {\n return userQuestJobs_.size();\n } else {\n return userQuestJobsBuilder_.getCount();\n }\n }",
"Integer getTotalStepCount();",
"public static int countByRunType(String runType) {\n\t\treturn getPersistence().countByRunType(runType);\n\t}",
"public long count() {\n\t\treturn 0;\n\t}",
"public long count() {\n\t\treturn 0;\n\t}",
"public int getNumberOfRetries() {\r\n return configuration.getNumberOfRetries();\r\n }",
"public int getResultsCount() {\n if (resultsBuilder_ == null) {\n return results_.size();\n } else {\n return resultsBuilder_.getCount();\n }\n }",
"public int getResultsCount() {\n if (resultsBuilder_ == null) {\n return results_.size();\n } else {\n return resultsBuilder_.getCount();\n }\n }",
"public int countResults() \n {\n return itsResults_size;\n }",
"public int getNumTimesEntered() {\n return numTimesEntered;\n }",
"public int AssignedCount() {\n \t\treturn jobsent.size();\n \t}",
"public int count() {\n return this.count;\n }",
"public int getNumTrials() \n {\n return cumulativeTrials; \n }",
"public static int getNumStarted() {\n return numStarted;\n }",
"public int getTotalRunTime() {\n return totalRunTime;\n }",
"public int numberOfSteps() {\t\r\n\t\treturn steps.size();\r\n\t}",
"public int getResumesCount() {\n if (resumesBuilder_ == null) {\n return resumes_.size();\n } else {\n return resumesBuilder_.getCount();\n }\n }",
"public long getRecordWrittern() {\n long count = 0;\n for (OutputStats out : outputs) {\n long rec = out.getNumberRecords();\n if (rec > 0) count += rec;\n }\n return count;\n }",
"static final long getTotalStartedCount()\n {\n synchronized (threadStartLock)\n {\n return totalStartedCnt;\n }\n }",
"@Override\n public int count() {\n return this.bench.size();\n }",
"int getNumEvents() {\n int cnt = eventCount;\n for (Entry entry : queue) {\n cnt += entry.eventCount;\n }\n return cnt;\n }",
"public Integer getScannedCount() {\n return this.scannedCount;\n }",
"public int getEntryCount() {\n if (entryBuilder_ == null) {\n return entry_.size();\n } else {\n return entryBuilder_.getCount();\n }\n }",
"public int getRequestsCount() {\n if (requestsBuilder_ == null) {\n return requests_.size();\n } else {\n return requestsBuilder_.getCount();\n }\n }",
"int getEntryCount();",
"public int size(){\n\t\tListUtilities start = this.returnToStart();\n\t\tint count = 1;\n\t\twhile(start.nextNum != null){\n\t\t\tcount++;\n\t\t\tstart = start.nextNum;\n\t\t}\n\t\treturn count;\n\t}",
"public int numRanked() {\n\t\tint count = 0;\n\t\tfor(int index = 0; index < NUM_DECADES; index++) {\n\t\t\tif(rank.get(index) != UNRANKED) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}",
"public int getTotalCount() {\n return totalCount;\n }",
"public static int getThreadCount() {\r\n\t\treturn THREAD_MX_BEAN.getThreadCount();\r\n\t}",
"public long numPostingEntries();",
"public long getCount() {\n return counter.get();\n }",
"public int count() {\n\t\treturn sm.selectOne(\"com.lanzhou.entity.Longpay.count\");\n\t}",
"public int getTaskIdCount() {\n return taskId_.size();\n }",
"public int getTaskIdCount() {\n return taskId_.size();\n }",
"public int getCount() {\n\t\treturn Dispatch.get(object, \"Count\").getInt();\n\t}",
"public int count() {\n\t Query count = getEntityManager().createQuery(\"select count(u) from \" + getEntityClass().getSimpleName() + \" u\");\n\t return Integer.parseInt(count.getSingleResult().toString());\n\t }",
"public int getNumUpdates() {\n return (Integer) getProperty(\"numUpdates\");\n }"
]
| [
"0.7970634",
"0.72963554",
"0.7231412",
"0.7231412",
"0.7231412",
"0.7177844",
"0.7152409",
"0.71466005",
"0.69840825",
"0.68992156",
"0.689172",
"0.6858557",
"0.6839551",
"0.6834342",
"0.6828573",
"0.6678514",
"0.66291076",
"0.65926707",
"0.6563525",
"0.65588313",
"0.6553389",
"0.6532788",
"0.64940614",
"0.6493197",
"0.64712286",
"0.64489466",
"0.644246",
"0.64344037",
"0.64076954",
"0.639987",
"0.63917994",
"0.6388426",
"0.6374771",
"0.6361649",
"0.6352818",
"0.6332079",
"0.63198394",
"0.63149995",
"0.63148063",
"0.63141924",
"0.6308745",
"0.6295336",
"0.62887776",
"0.6281524",
"0.6278686",
"0.62754554",
"0.62686515",
"0.62672627",
"0.62663096",
"0.62655956",
"0.62649417",
"0.6262543",
"0.6257324",
"0.624811",
"0.6243247",
"0.6241507",
"0.6240259",
"0.62394786",
"0.62385565",
"0.62303805",
"0.62289196",
"0.6226979",
"0.6213166",
"0.6203757",
"0.62037504",
"0.61957175",
"0.6187937",
"0.6187937",
"0.6183585",
"0.618001",
"0.6174257",
"0.6171868",
"0.6170449",
"0.6156661",
"0.6153289",
"0.6149628",
"0.6147643",
"0.6146294",
"0.6128827",
"0.61166257",
"0.6113815",
"0.61125666",
"0.6109777",
"0.61058694",
"0.6093678",
"0.6088059",
"0.6086299",
"0.60824126",
"0.6080988",
"0.60801476",
"0.6077093",
"0.60764635",
"0.60723364",
"0.60678715",
"0.606684",
"0.6063049",
"0.60579133",
"0.60548604",
"0.6053502",
"0.60413724"
]
| 0.6873773 | 11 |
Check whether this job runs at a given date. | public boolean runsAt(Date date); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean runsOn( GTFSDate date ) {\n\t\tif( date.before( this.start_date) ) {\n\t\t\tthrow new DateOutOfBoundsException( date+\" is before period start \"+this.start_date );\n\t\t}\n\t\tif( date.after( this.end_date) ) {\n\t\t\tthrow new DateOutOfBoundsException( date+\" is after period end \"+this.end_date );\n\t\t}\n\t\t\n\t\t//Return false if service is canceled on this day; true of it specifically runs\n\t\tServiceCalendarDate exception = this.getServiceCalendarDate(date);\n\t\tif(exception != null) {\n\t\t\tif( exception.exception_type.intValue() == ServiceCalendarDateExceptionType.ADDED ) {\n\t\t\t\treturn true;\n\t\t\t} else if( exception.exception_type.intValue() == ServiceCalendarDateExceptionType.REMOVED ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\t\n\t\t//Return true if it runs on today's DOW\n\t\tGregorianCalendar cal = new GregorianCalendar(date.year,date.month-1,date.day);\n\t\tint dow = cal.get(GregorianCalendar.DAY_OF_WEEK);\n\t\tif((dow==GregorianCalendar.MONDAY && this.monday.val ) ||\n\t\t (dow==GregorianCalendar.TUESDAY && this.tuesday.val ) ||\n\t\t (dow==GregorianCalendar.WEDNESDAY && this.wednesday.val) ||\n\t\t (dow==GregorianCalendar.THURSDAY && this.thursday.val ) ||\n\t\t (dow==GregorianCalendar.FRIDAY && this.friday.val ) ||\n\t\t (dow==GregorianCalendar.SATURDAY && this.saturday.val ) ||\n\t\t (dow==GregorianCalendar.SUNDAY && this.sunday.val )) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}",
"boolean hasDate();",
"boolean hasStartDate();",
"public boolean checkDate() {\n\t\tboolean cd = checkDate(this.year, this.month, this.day, this.hour);\n\t\treturn cd;\n\t}",
"public boolean checkDate(){\n Calendar c = Calendar.getInstance();\n Date currentDate = new Date(c.get(Calendar.DAY_OF_MONTH),c.get(Calendar.MONTH)+1, c.get(Calendar.YEAR));\n return (isEqualOther(currentDate) || !isEarlyThanOther(currentDate));\n\n }",
"public boolean isScheduled(){\n //System.out.println(\"nextrun: \" + nextrun.getTime() + \" nu: \" + System.currentTimeMillis());\n if (nextrun != null){\n long next = nextrun.getTime();\n \n return next < System.currentTimeMillis();\n }else{\n //null => instance has never run before & should run asap\n return true;\n }\n }",
"boolean hasFromDay();",
"boolean hasStartTime();",
"boolean isSetFoundingDate();",
"boolean isSetDate();",
"boolean hasBeginDate();",
"public static boolean isWorkDay(Date date) {\n\t\tthrow new IllegalStateException(\"no database connection\");\r\n\t}",
"private boolean dateExists(){\n SimpleDateFormat dateFormat = getDateFormat();\n String toParse = wheels.getDateTimeString();\n try {\n dateFormat.setLenient(false); // disallow parsing invalid dates\n dateFormat.parse(toParse);\n return true;\n } catch (ParseException e) {\n return false;\n }\n }",
"@Test\n public void testCanReadDate() throws Exception {\n MatcherAssert.assertThat(\n new TestJenkins().jobs().iterator().next()\n .builds().iterator().next().date(),\n new IsInstanceOf(Date.class)\n );\n }",
"public boolean checkRoomAvailabilty(String date,String startTime,String endTime ,String confID);",
"public boolean schedule(Date scheduledDate) {\n if (this.future != null && this.scheduledDate != null) {\n return false;\n }\n\n this.scheduledDate = scheduledDate;\n future = runnableScheduler.schedule(this, scheduledDate);\n return true;\n }",
"boolean hasOrderDate();",
"private boolean reportWithCurrentDateExists() {\n boolean exists = false;\n String sqlDateString = android.text.format.DateFormat.format(\"yyyy-MM-dd\", mCalendar).toString();\n Cursor reportCursor = mDbHelper.getReportPeer().fetchReportByTaskIdAndDate(mTaskId, sqlDateString);\n startManagingCursor(reportCursor);\n if (reportCursor != null && reportCursor.getCount() > 0) {\n long rowId = reportCursor.getLong(reportCursor.getColumnIndexOrThrow(ReportPeer.KEY_ID));\n if (mRowId == null || mRowId != rowId) {\n exists = true;\n }\n }\n if (reportCursor != null) {\n reportCursor.close();\n }\n return exists;\n }",
"public boolean hasFinished() {\n\t\treturn new Date(startDate.getTime() + duration).before(new Date());\n\t}",
"boolean hasDay();",
"boolean hasDay();",
"boolean hasTradeDate();",
"boolean hasEndDate();",
"boolean hasToDay();",
"boolean isMatch(ZonedDateTime date);",
"boolean hasAcquireDate();",
"private boolean checkIfHabitDoneToday() {\n ArrayList<HabitEvent> eventList = habit_type.getHabitEvents();\n Locale locale = new Locale(\"English\", \"Canada\");\n SimpleDateFormat simpleDateFormat = new SimpleDateFormat(\"EEEE',' MMMM d',' yyyy\", locale);\n String currentDate = simpleDateFormat.format(new Date());\n Calendar calendar = Calendar.getInstance();\n int dayOfWeek = calendar.get(Calendar.DAY_OF_WEEK);\n if (dayOfWeek == 1) {\n dayOfWeek = 8;\n }\n if (!habit_type.getWeeklyPlan()[dayOfWeek - 2]) {\n return true;\n }\n for (HabitEvent event : eventList) {\n if (currentDate.equals(event.getCompletionDateString())) {\n return true;\n }\n }\n return false;\n }",
"public boolean isPosteriorTo(Date argdate) {\r\n\t\ttry {\r\n\t\t\tthis.timeSpentSince(argdate);\r\n\t\t} catch (InvalidDateException e) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\treturn true;\r\n\t}",
"public boolean checkMeetingDate(String date, @Nullable String code) {\n String whereClause;\n String[] whereArgs;\n if(code == null) {\n whereClause = SchemaConstants.WHERE_MEETING_DATE;\n whereArgs = new String[] {date};\n } else {\n whereClause = SchemaConstants.WHERE_MEETING_DATE_CODE;\n whereArgs = new String[] {date, code};\n }\n SQLiteDatabase db = dbHelper.getDatabase();\n db.beginTransaction();\n Cursor cursor = getSelectionFromTable(SchemaConstants.MEETINGS_TABLE,\n new String[] {SchemaConstants.MEETING_ROWID}, whereClause, whereArgs);\n db.endTransaction();\n return (cursor.getCount() > 0);\n }",
"public boolean isDate(Date date){\r\n if((new Date()).getTime() < date.getTime()) return false;\r\n return true;\r\n }",
"boolean hasExecutionTime();",
"public boolean isValidDate() {\n Calendar cal = Calendar.getInstance();\n cal.setTimeInMillis(mDate.getDate());\n int yearNow = cal.get(Calendar.YEAR);\n int monthNow = cal.get(Calendar.MONTH);\n int dayNow = cal.get(Calendar.DAY_OF_MONTH);\n cal.setTimeInMillis(selectedDate.getTimeInMillis());\n int yearSelected = cal.get(Calendar.YEAR);\n int monthSelected = cal.get(Calendar.MONTH);\n int daySelected = cal.get(Calendar.DAY_OF_MONTH);\n if (yearSelected <= yearNow) {\n if (monthSelected <= monthNow) {\n return daySelected >= dayNow;\n }\n }\n return true;\n }",
"boolean hasContinuousDay();",
"boolean hasSettlementDate();",
"public boolean checkIfUserHadCheckedAttendanceToday(int userID, String date) {\n connect();\n boolean bool;\n try {\n ResultSet result = statement.executeQuery(\"SELECT EXISTS (SELECT date FROM Attendance\" +\n \"WHERE studentID LIKE '\" + userID + \"\" +\n \"AND date LIKE '\" + date + \"'');\");\n\n // tutaj if obslugujacy wynik query\n result.close();\n statement.close();\n connection.close();\n return true;\n } catch (SQLException e) {\n// e.printStackTrace();\n return false;\n }\n// return bool;\n }",
"boolean hasVotingStartTime();",
"public static boolean checkDateConstraints(Task task) {\n if (task.getBeginDate().before(new Date()) ||\n task.getBeginDate().after(task.getEndingDate()) ||\n task.getBeginDate().equals(task.getEndingDate())) {\n return false;\n }\n return true;\n }",
"boolean isValidFor (@Nonnull DATATYPE aDate);",
"public static boolean isValidCreationTime(Date date) {\r\n \treturn \t(date!=null) &&\r\n \t\t\t(date.getTime()<=System.currentTimeMillis());\r\n }",
"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 static boolean inRange(long quakeTime) throws Exception {\n SimpleDateFormat dayFormatter = new SimpleDateFormat(\"MM/dd/yyyy\");\n String quakeDay = dayFormatter.format(new Date(quakeTime));\n String currentDay = dayFormatter.format(new Date());\n return (quakeDay.equals(currentDay));\n }",
"public boolean checkDateByClickingButtonsToday(String[] args) throws ParseException\n\t{\n\t\t// click ing on the value for the tab \n\t\tutils.clickAnelemnt(this.tabMbrCompositeInteraction, \"Member Composite\", \"Interaction tab\");\n\t\tif(utils.clickAnelemnt(this.tabMbrCompositeInteraction, \"Member Composite\", \"Interaction tab\"))\n\t\t{\t\t\t\n\t\t\tif(this.clickServcRequestContractToday())\n\t\t\t{\n\t\t\t\tif(this.checkSearchForServiceRequestsForContractsTable(\"\"))\n\t\t\t\t{\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\t\n\n\n\t}",
"boolean hasScheduling();",
"boolean hasScheduling();",
"boolean hasDesiredTime();",
"public abstract boolean isScheduled();",
"boolean hasJobId();",
"boolean hasDateTime();",
"public boolean lock(Date date) {\n\t\tLockTable lt;\n\t\ttry {\n\t\t\tint month = (date.getMonth() + 1);\n\t\t\tint year = (date.getYear() + 1900);\n\t\t\tProgram pr = authorizationManager.getProgram();\n\t\t\tlt = lockTableServicePublic.findMonthYear(month, year, pr);\n\t\t\tif (lt != null) {\n\t\t\t\treturn lt.isLocks();\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} catch (RemoteException e) {\n\t\t\treturn false;\n\t\t}\n\t}",
"private boolean checkDate(String date) {\n return date.matches(regexDate);\n }",
"boolean hasDeliveryDateBefore();",
"boolean hasSubmitTime();",
"boolean hasEndTime();",
"public boolean verifyReturnDate(Date date){\n\t\tLocale en = new Locale(\"en\");\n\t\tString rDate = String.format(en, \"%1$ta, %1$tb %1$te, %1$tY\", date);\n\t\treturn returnDate.getText().equals(rDate);\n\t}",
"public static boolean isToday(java.util.Date date) {\n return isSameDay(date, Calendar.getInstance().getTime());\n }",
"public boolean func_isInTheFuture() {\n if(TimeUtils.compareWithNow(startTime) >= 0)\n return true;\n return false;\n }",
"boolean isValidForDate(LocalDate date);",
"public abstract boolean inDaylightTime(java.util.Date date);",
"protected boolean isFinished() {\n return (System.currentTimeMillis() - startTime) >= time;\n \t//return false;\n }",
"@Override\n public boolean isDateAllowed(LocalDate date) {\n \n return startDates.contains(date) || endDates.contains(date);\n }",
"boolean hasTransactionDateTime();",
"private boolean hasDateThreshold() {\r\n if (entity.getExpirationDate() == null) {\r\n return false;\r\n }\r\n Calendar calendar = Calendar.getInstance();\r\n calendar.add(Calendar.MONTH, 1);\r\n if (entity.getExpirationDate().before(calendar.getTime())) {\r\n return true;\r\n }\r\n return false;\r\n }",
"private static void checkDate(String date) {\n SimpleDateFormat simpleDateFormat = new SimpleDateFormat(\"yyyy-MM-dd\");\n if (!date.matches(RegexPattern.DATE_PATTERN)) {\n throw new DaoException(ExceptionMessage.getMessage(ExceptionMessage.DATE_PATTERN_ERROR));\n }\n try {\n Date formatDate = simpleDateFormat.parse(date);\n if (formatDate.getTime() + TIME_IN_DAY < new Date().getTime()) {\n throw new DaoException(\"Date must be in Future\");\n }\n } catch (ParseException ex) {\n throw new DaoException(ex.getMessage());\n }\n }",
"@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 boolean isScheduled();",
"boolean hasExpirationDate();",
"public boolean hasDate() {\n return true;\n }",
"boolean hasDepositEndTime();",
"private boolean CheckAvailableDate(TimePeriod tp)\n\t{\n\t\ttry\n\t\t{\n\t\t\tConnector con = new Connector();\n\t\t\tString query = \"SELECT * FROM Available WHERE available_hid = '\"+hid+\"' AND \"+\n\t\t\t\t\t\t\t\"startDate = '\"+tp.stringStart+\"' AND endDate = '\"+tp.stringEnd+\"'\"; \n\t\t\t\n\t\t\tResultSet rs = con.stmt.executeQuery(query); \n\t\t\t\n\t\t\tcon.closeConnection();\n\t\t\tif(rs.next())\n\t\t\t{\n\t\t\t\treturn true; \n\t\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\treturn false;\n\t}",
"private boolean isPentecost(final Calendar date) {\n Calendar paquesMonday = getEasterDate(date.get(Calendar.YEAR));\n paquesMonday.add(Calendar.DAY_OF_YEAR, 50);\n return date.get(Calendar.DAY_OF_YEAR) == paquesMonday\n .get(Calendar.DAY_OF_YEAR)\n && date.get(Calendar.MONTH) == paquesMonday.get(Calendar.MONTH);\n }",
"public boolean wasToday() {\n\t\tlong endInMillis = endTime.getTime();\n\t\tCalendar endTimeDate = Calendar.getInstance();\n\t\tendTimeDate.setTimeInMillis(endInMillis);\n\t\tCalendar today = Calendar.getInstance();\n\t\tif (today.get(Calendar.YEAR) == endTimeDate.get(Calendar.YEAR) && today.get(Calendar.DAY_OF_YEAR) == endTimeDate.get(Calendar.DAY_OF_YEAR)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public boolean contains(final LocalDate date) {\n if (endDate() == null) {\n if (startDate() == null) {\n return true;\n }\n if (date.isEqual(startDate()) || date.isAfter(startDate())) {\n return true;\n }\n return false;\n }\n return asInterval().contains(date.toInterval());\n }",
"public boolean checkDateEqual(LocalDate date) {\n return date.equals(this.date);\n }",
"public boolean isExist(Date date) {\n return mysqlDao.isExist(date);\n }",
"boolean hasCollectEndTime();",
"public static boolean isToday(Date date) {\r\n\t\treturn isSameDay(date, Calendar.getInstance().getTime());\r\n\t}",
"public boolean areGamesScheduled(String team) {\n\n try {\n if (getPlayerInfo(team, \"status\", \"status\").equals(\"\") ||\n getPlayerInfo(team, \"status\", \"status\").equals(\"Preview\") ||\n getPlayerInfo(team, \"status\", \"status\").equals(\"Pre-Game\") ||\n getPlayerInfo(team, \"status\", \"status\").equals(\"Warmup\") ||\n getPlayerInfo(team, \"status\", \"status\").equals(\"In Progress\") ||\n getPlayerInfo(team, \"status\", \"status\").equals(\"Postponed\") ||\n getPlayerInfo(team, \"status\", \"status\").equals(\"Completed Early\") ||\n getPlayerInfo(team, \"status\", \"status\").equals(\"Game Over\") ||\n getPlayerInfo(team, \"status\", \"status\").equals(\"Final\")) {\n }\n }\n catch (java.lang.NullPointerException npe) {\n\n return false;\n }\n catch (java.lang.RuntimeException npe) {\n\n return false;\n }\n\n // no errors so there are games scheduled for this date\n return true;\n }",
"public static Boolean isEntry(LocalDate date, Date dateEmployee) {\n return date.equals(convertDate(dateEmployee));\n }",
"private boolean checkProjectTaskDates(Project pr)\n\t{\n\t\tfor(Task ts:taskManager.get(\"toInsert\"))\n\t\t{\n\t\t\tif(\n\t\t\t\tcheckdates(ts.getTask_STARDATE(),pr.getEndDate())&&\n\t\t\t\tcheckdates(pr.getStartDate(),ts.getTask_STARDATE())&&\n\t\t\t\tcheckdates(ts.getTask_ENDDATE(),pr.getEndDate())&&\n\t\t\t\tcheckdates(pr.getStartDate(),ts.getTask_ENDDATE()))\n\t\t\t\t\tcontinue;\n\t\t\telse\n\t\t\t\t\treturn false;\n\t\t}\n\t\tfor(Task ts:taskManager.get(\"toEdit\"))\n\t\t{\n\t\t\tif(\n\t\t\t\tcheckdates(ts.getTask_STARDATE(),pr.getEndDate())&&\n\t\t\t\tcheckdates(pr.getStartDate(),ts.getTask_STARDATE())&&\n\t\t\t\tcheckdates(ts.getTask_ENDDATE(),pr.getEndDate())&&\n\t\t\t\tcheckdates(pr.getStartDate(),ts.getTask_ENDDATE()))\n\t\t\t\t\t continue;\n\t\t\telse\n\t\t\t\t\treturn false;\n\t\t\t\t\n\t\t}\n\t\t\t\n\t\tArrayList<Task> tasks=null;\n\t\ttry \n\t\t{\n\t\t\ttasks=db.selectTaskforProjID(project.getProjectID());\n\t\t}\n\t\tcatch (SQLException e) \n\t\t{\n\t\t\tErrorWindow wind = new ErrorWindow(e); \n\t\t\tUI.getCurrent().addWindow(wind);\t\t\t\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfor(Task ts:tasks)\n\t\t{\n\t\t\tif(\n\t\t\t\tcheckdates(ts.getTask_STARDATE(),pr.getEndDate())&&\n\t\t\t\tcheckdates(pr.getStartDate(),ts.getTask_STARDATE())&&\n\t\t\t\tcheckdates(ts.getTask_ENDDATE(),pr.getEndDate())&&\n\t\t\t\tcheckdates(pr.getStartDate(),ts.getTask_ENDDATE()))\n\t\t\t\t\t continue;\n\t\t\telse\n\t\t\t\t\treturn false;\n\t\t\t\t\t\n\t\t}\n\t\treturn true;\n\t }",
"public static boolean isDateInCurrentWeek(Date date) {\n Calendar currentCalendar = Calendar.getInstance();\n int week = currentCalendar.get(Calendar.WEEK_OF_YEAR);\n int year = currentCalendar.get(Calendar.YEAR);\n Calendar targetCalendar = Calendar.getInstance();\n targetCalendar.setTime(date);\n int targetWeek = targetCalendar.get(Calendar.WEEK_OF_YEAR);\n int targetYear = targetCalendar.get(Calendar.YEAR);\n return week == targetWeek && year == targetYear;\n }",
"boolean hasCreationTime();",
"protected boolean isJobJustTriggered(Trigger trigger, Date currentTime, int nearEventInMinutes) {\n\t\tjava.util.Calendar cal = new FlashServiceImpl().getServerCalendar();\n\t\tDate prevTime = trigger.getPreviousFireTime();\n\t\tif (prevTime != null) {\n\t\t\tjava.util.Calendar serverCalendar = new FlashServiceImpl().getServerCalendar();\n\t\t\tserverCalendar.setTimeInMillis(prevTime.getTime());\n\t\t\tcal.add(java.util.Calendar.MINUTE, nearEventInMinutes);\n\t\t\tif (cal.getTime().after(currentTime)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}",
"public boolean validateDate(String date) {\n\n\t\tDate enteredDate = null;\n\t\ttry {\n\t\t\tSimpleDateFormat format = new SimpleDateFormat(\"dd/MM/yyyy\");\n\t\t\tenteredDate = format.parse(date);\n\t\t} catch (ParseException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tDate currentDate = new Date();\n\t\treturn enteredDate.before(currentDate);\n\t}",
"private static boolean isDay(long sunrise, long sunset, long currentTime) {\n\n Calendar calendarSunrise = Calendar.getInstance();\n Calendar calendarSunset = Calendar.getInstance();\n Calendar calendarCurrentTime = Calendar.getInstance();\n\n calendarSunrise.setTimeInMillis(sunrise);\n calendarSunset.setTimeInMillis(sunset);\n calendarCurrentTime.setTimeInMillis(currentTime);\n\n if (calendarCurrentTime.get(calendarCurrentTime.HOUR_OF_DAY)\n > calendarSunrise.get(calendarSunrise.HOUR_OF_DAY)\n &&\n calendarCurrentTime.get(calendarCurrentTime.HOUR_OF_DAY)\n < calendarSunset.get(calendarSunset.HOUR_OF_DAY)) {\n\n Log.d(TAG_WEATHER_MANAGEMENT, \"isDay: true\");\n return true;\n } else {\n Log.d(TAG_WEATHER_MANAGEMENT, \"isDay: false\");\n return false;\n }\n }",
"public static boolean isTimeToUpdate() throws IOException {\n LocalDateTime now = LocalDateTime.now();\n LocalDateTime lastRunDatetime = null;\n try {\n lastRunDatetime = readDateFromFile(timeTrackingFilePath);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n if (lastRunDatetime != null) {\n Duration duration = Duration.between(lastRunDatetime, now);\n if (duration.toDays() < 1) {\n System.out.println(\"You updated on: \" + lastRunDatetime.getDayOfWeek() + \" at \" + lastRunDatetime.getHour() +\":\" +lastRunDatetime.getMinute() + \" already. Do you want to run anyways ? (y/n)\");\n Scanner scanner = new Scanner(System.in);\n boolean userChoice = scanner.nextLine().equalsIgnoreCase(\"y\");\n scanner.close();\n if(userChoice){\n writeDateToFile(createJsonStringFromDateObject(now));\n }\n return userChoice;\n }\n }\n else {\n System.out.println(\"Setting LocalDateTime for initial run\");\n writeDateToFile(createJsonStringFromDateObject(now));\n return true;\n }\n return false;\n }",
"private boolean validateDateAndTime(String date) {\n boolean isValid;\n Calendar prevDay;\n\n if(date != null && !date.isEmpty() && date.length() < MIN_DATE_LEN) {\n isValid = false;\n } else {\n prevDay = Calendar.getInstance(Locale.CANADA);\n prevDay.add(Calendar.DATE, -1); // All days valid from one day in the past\n Calendar cal = DateUtility.convertToDateObj(date);\n isValid = cal != null && cal.after(prevDay);\n }\n\n return isValid;\n }",
"public boolean checkMeetingWithinMinutes() throws Exception {\n\n Fetcher fetcher = new Fetcher();\n fetcher.fetchAppointments(appointments);\n\n //is false if there are no appointments within 15 minutes of signing in\n boolean upcoming = false;\n\n for(int i = 0; i < appointments.size(); i++){\n\n //Add 15 minutes to the current time and store in a variable.\n LocalDateTime localPlusFifteen = current.plusMinutes(15);\n\n //Converts string to LocalDateTime and formats it to the provided formatter.\n LocalDateTime date = LocalDateTime.parse(appointments.get(i).getStart(), dateTimeFormatter);\n\n //If the provided date is greater than or equal to the current date AND is less than or equal to the current\n //date plus 15 minutes, a meeting is about to start and an alert box is triggered.\n if((date.isEqual(current) || date.isAfter(current)) && (date.isEqual(localPlusFifteen) || (date.isBefore(localPlusFifteen)))){\n\n upcoming = true;\n alerts.alertBoxInformation(\"An appointment is about to start!\\nID: \" + appointments.get(i).getAppointmentId()\n +\"\\nDate/Time: \" + appointments.get(i).getStart());\n\n }\n }\n\n //If no meetings are about to start an alert box indicates no upcoming appointments and return false.\n if(!upcoming){\n alerts.alertBoxInformation(\"There are no upcoming appointments\");\n return false;\n }\n\n return true;\n }",
"public void verifyDate(){\n\n // currentDateandTime dataSingleton.getDay().getDate();\n\n }",
"private boolean isToday(Date lectureDate){\n Date now = new Date();\n if(lectureDate.getYear()<now.getYear()|| lectureDate.getYear()>now.getYear()){\n return false;\n }else{\n if(lectureDate.getMonth()<now.getMonth()||(lectureDate.getMonth()>now.getMonth())){\n return false;\n }else{\n if(lectureDate.getDate()<now.getDate()|| lectureDate.getDate()>now.getDate()){\n return false;\n }else{\n return true;\n }\n }\n }\n }",
"boolean hasDeliveryDateAfter();",
"boolean hasVotingEndTime();",
"@Override\npublic void run() {\n\tCalendar oFecha = Calendar.getInstance();\n \n\tint minuto = 25;\n\t\n\tSystem.out.println(\n\t\t\toFecha.getTime().toLocaleString() + \n\t\t\t\" MinJob trigged by scheduler - \" + minuto );\n\t\n\ttry {\n\t\tSystem.out.println(Configuracion.getInstance().getProperty(\"clave\") );\n\t} catch(Exception e) {\n\t\te.printStackTrace();\n\t}\n\t\n\tif (oFecha.get(Calendar.MINUTE) == minuto)\t\n\t\tHourlyJob.realizarBackup();\n \n }",
"@When(\"^the checkin date is $\")\n public void the_checkin_date_is() throws Throwable {\n throw new PendingException();\n }",
"boolean isFilterByDate();",
"public boolean verifyLeaveDate(Date date){\t\t\n\t\tLocale en = new Locale(\"en\");\t\t\n\t\tString lDate = String.format(en, \"%1$ta, %1$tb %1$te, %1$tY\", date);\n\t\treturn leaveDate.getText().equals(lDate);\n\t}",
"public boolean isBookable(String enteredDate) {\n\t\t\n\t\tfor(int a = 0; a < datesBooked.size(); a++) { // Checks the whole list...\n\t\t\t\n\t\t\tif(datesBooked.get(a).equals(enteredDate)) { // If there is a date which matches our date...\n\t\t\t\t\t\n\t\t\t\treturn false; // ... it's not available for booking!\n\t\t\t\t\n\t\t\t}\n\n\t\t} \n\n\t\treturn true; // ... make it available for booking!\n\n\t}",
"public boolean checkSingleEvent(JSONObject jSONObject) {\n try {\n String string = jSONObject.getString(\"title\");\n String string2 = jSONObject.getString(Message.START_DATE);\n String string3 = jSONObject.getString(Message.END_DATE);\n Calendar instance = Calendar.getInstance();\n instance.setTime(DateUtils.parseDate(string2));\n Calendar instance2 = Calendar.getInstance();\n instance2.setTime(DateUtils.parseDate(string3));\n if (CalendarManager.checkEvent(this.mWXSDKInstance.getContext(), string, \"\", instance, instance2)) {\n return true;\n }\n return false;\n } catch (Exception e) {\n WXLogUtils.e(TAG, (Throwable) e);\n return false;\n }\n }",
"if (exitDateTime == adhocTicket.getExitDateTime()) {\n System.out.println(\"Exit Date Time is passed\");\n }",
"boolean isSetAppliesDateTime();",
"boolean hasCreateTime();"
]
| [
"0.6749698",
"0.6493765",
"0.6431125",
"0.6407519",
"0.6257213",
"0.6079819",
"0.6049049",
"0.6034329",
"0.5982598",
"0.5978201",
"0.5932894",
"0.5884687",
"0.58718055",
"0.5869946",
"0.58367175",
"0.58059853",
"0.5800854",
"0.57784724",
"0.5776476",
"0.57750404",
"0.57750404",
"0.57716894",
"0.5739965",
"0.5717253",
"0.57157475",
"0.5711228",
"0.56890434",
"0.56604767",
"0.5652694",
"0.56350356",
"0.56156754",
"0.56152064",
"0.5604712",
"0.5596698",
"0.5590107",
"0.556403",
"0.553661",
"0.5530318",
"0.5524383",
"0.5519556",
"0.55186975",
"0.55150384",
"0.5508619",
"0.5508619",
"0.55030245",
"0.55028176",
"0.54816896",
"0.5480801",
"0.547669",
"0.54702675",
"0.5462494",
"0.54596686",
"0.5453909",
"0.54148346",
"0.54045784",
"0.5398488",
"0.5395559",
"0.5388383",
"0.53759736",
"0.53709817",
"0.5353829",
"0.53446317",
"0.53431034",
"0.534135",
"0.5329373",
"0.53142303",
"0.53131145",
"0.5309549",
"0.5307715",
"0.53002346",
"0.5297686",
"0.52954954",
"0.52903235",
"0.52892643",
"0.5286758",
"0.5269544",
"0.5264559",
"0.5263155",
"0.52610314",
"0.5238519",
"0.5237424",
"0.52272666",
"0.5225894",
"0.5201048",
"0.5199909",
"0.5193536",
"0.5192689",
"0.5192152",
"0.5191458",
"0.5191061",
"0.5188673",
"0.51859844",
"0.517421",
"0.5172416",
"0.51716036",
"0.51714784",
"0.5166328",
"0.5154034",
"0.5149454",
"0.51477563"
]
| 0.75699353 | 0 |
Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG) .setAction("Action", null).show(); | @Override
public void onClick(View view) {
finish();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onClick(View v) {\n Snackbar.make(v, \"I'm dead! =(\", Snackbar.LENGTH_LONG)\n .setAction(\"Action\", null).show();\n }",
"private void showSnackbarMessage(String message){\n if(view != null){\n Snackbar.make(view, message, Snackbar.LENGTH_SHORT).show();\n }\n }",
"void showErrorSnackbar();",
"void onSnackBarActionClicked(int uniqueId, View view);",
"private void showSnackBar(String message) {\n }",
"public static void showSnackbar(Activity activity, final View parent, final String message, final String actionText) {\n activity.runOnUiThread(new Runnable() {\n @Override\n public void run() {\n final Snackbar snackbar = Snackbar.make(parent, message, Snackbar.LENGTH_LONG)\n .setAction(actionText, new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n }\n });\n snackbar.show();\n }\n });\n\n }",
"public void DisplaySnackBarAboveBar(String message, Boolean setAction) {\n int marginSide = 0;\n int marginBottom = 150;\n Snackbar snackbar = Snackbar.make(\n coordinatorLayout,\n message,\n Snackbar.LENGTH_LONG\n );\n\n if (setAction) {\n snackbar.setAction(\"Share Now\", new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n Intent sendIntent = new Intent();\n sendIntent.setAction(Intent.ACTION_SEND);\n sendIntent.putExtra(Intent.EXTRA_TEXT, \"please visit https://www.noobsplanet.com\");\n sendIntent.setType(\"text/plain\");\n startActivity(Intent.createChooser(sendIntent, \"Send to \"));\n }\n });\n }\n\n View snackbarView = snackbar.getView();\n CoordinatorLayout.LayoutParams params = (CoordinatorLayout.LayoutParams) snackbarView.getLayoutParams();\n params.setMargins(\n params.leftMargin + marginSide,\n params.topMargin,\n params.rightMargin + marginSide,\n params.bottomMargin + marginBottom + 100\n );\n\n snackbarView.setLayoutParams(params);\n snackbar.show();\n }",
"public void showSnackBar(final View view, final String message) {\n Snackbar.make(view, message, Snackbar.LENGTH_SHORT).show();\n }",
"public void SnackBarB() {\n Snackbar.make(getWindow().getDecorView().getRootView(),\n \"Cálculos sobre cinemática de rotación.\", Snackbar.LENGTH_LONG).show();\n }",
"private void showUndoSnackbar() {\n View view = ((Activity) this.context).findViewById(R.id.paletteActivity);\n\n Snackbar snackbar = Snackbar.make(view, R.string.undoColorShift,\n Snackbar.LENGTH_LONG);\n\n snackbar.setAction(\"UNDO\", v -> undoChange());\n snackbar.show();\n }",
"private void showSnackBar(String message) {\n if(getActivity()!=null) {\n Snackbar snackbar = Snackbar.make(getActivity().findViewById(android.R.id.content),\n message, Snackbar.LENGTH_SHORT);\n View sbView = snackbar.getView();\n TextView textView = sbView\n .findViewById(android.support.design.R.id.snackbar_text);\n textView.setTextColor(ContextCompat.getColor(getActivity(), R.color.white));\n snackbar.show();\n }\n }",
"public static void showSnackbar(Activity context, String message){\r\n Snackbar.make(context.findViewById(android.R.id.content), message, Snackbar.LENGTH_LONG)\r\n .setAction(\"Dismiss\", new View.OnClickListener(){\r\n @Override\r\n public void onClick(View v){\r\n // Dismisses automatically\r\n }\r\n }).setActionTextColor(context.getResources().getColor(R.color.colorAccent))\r\n .show();\r\n }",
"private void createSnackbar(String message) {\n Snackbar.make(mLayout, message, Snackbar.LENGTH_LONG).show();\n }",
"private void snackBar(String msg) {\n MySnackBar.createSnackBar(Objects.requireNonNull(getContext()), Objects.requireNonNull(getView()), msg);\n }",
"public static void showRedSnackbar(String message, Activity activity, int snackbarDuration) {\n snackbar = Snackbar.make(activity.findViewById(android.R.id.content), message, snackbarDuration);\n View snackbarView = snackbar.getView();\n snackbarView.setBackgroundColor(Color.parseColor(RED));\n\n TextView snackbarText = snackbarView.findViewById(com.google.android.material.R.id.snackbar_text);\n snackbarText.setCompoundDrawablesWithIntrinsicBounds(R.drawable.ic_vector_cross, 0, 0, 0);\n snackbarText.setCompoundDrawablePadding(ICON_PADDING_SNACKBAR);\n snackbarText.setGravity(Gravity.CENTER);\n\n FrameLayout.LayoutParams params = (FrameLayout.LayoutParams)snackbarView.getLayoutParams();\n params.width = FrameLayout.LayoutParams.MATCH_PARENT;\n snackbarView.setLayoutParams(params);\n\n snackbar.show();\n }",
"public interface OnSnackBarActionListener {\n /**\n * On snack bar action clicked.\n *\n * @param uniqueId the unique id\n * @param view the mView\n */\n void onSnackBarActionClicked(int uniqueId, View view);\n}",
"@Override\n public void onFailure(@NonNull Call<Void> call, @NonNull Throwable t) {\n Snackbar.make(findViewById(R.id.activity_coordinator_layout), t.getLocalizedMessage(), Snackbar.LENGTH_INDEFINITE).show();\n }",
"@Override\n public void onQuedadaCreadaError() {\n btn_publicar.setEnabled(true);\n Snackbar.make(myView,\"Error al crear la quedada\", Snackbar.LENGTH_SHORT).show();\n\n }",
"public static void showSnackBar(Context context, String msg) {\n\n Snackbar.make(((Activity) context).findViewById(android.R.id.content), \"\" + msg, Snackbar.LENGTH_LONG).show();\n }",
"public static void showSnackBar(Context context, LinearLayout mainLayout, String msg, String btnText, int length){\n Resources resources = context.getResources();\n\n Snackbar snackbar = Snackbar\n .make(mainLayout, msg, length )\n .setAction(resources.getText(R.string.ok), new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n }\n });\n\n // Changing message text color\n snackbar.setActionTextColor(ContextCompat.getColor(context, R.color.home_yellow));\n\n // Changing action button text color\n View sbView = snackbar.getView();\n sbView.setBackgroundColor(ContextCompat.getColor(context, R.color.background_edittext));\n\n TextView textView = (TextView) sbView.findViewById(com.google.android.material.R.id.snackbar_text);\n textView.setTextColor(ContextCompat.getColor(context, R.color.edittext_text));\n textView.setMaxLines(5);\n snackbar.show();\n }",
"public static void showGreenSnackbar(String message, Activity activity, int snackbarDuration) {\n snackbar = Snackbar.make(activity.findViewById(android.R.id.content), message, snackbarDuration);\n View snackbarView = snackbar.getView();\n snackbarView.setBackgroundColor(Color.parseColor(GREEN));\n\n TextView snackbarText = snackbarView.findViewById(com.google.android.material.R.id.snackbar_text);\n snackbarText.setCompoundDrawablesWithIntrinsicBounds(R.drawable.ic_vector_checkmark, 0, 0, 0);\n snackbarText.setCompoundDrawablePadding(ICON_PADDING_SNACKBAR);\n snackbarText.setGravity(Gravity.CENTER);\n\n FrameLayout.LayoutParams params = (FrameLayout.LayoutParams)snackbarView.getLayoutParams();\n params.width = FrameLayout.LayoutParams.MATCH_PARENT;\n snackbarView.setLayoutParams(params);\n\n snackbar.show();\n }",
"public void showHelp() {\n final Snackbar snackBar = Snackbar.make(findViewById(R.id.mapscontainer),\n \"Select a location by clicking the map. Press go to search your categories.\",\n Snackbar.LENGTH_INDEFINITE);\n\n snackBar.setAction(\"Got it!\", new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n snackBar.dismiss();\n }\n })\n .setActionTextColor(Color.WHITE);\n snackBar.show();\n }",
"private SnackbarHelper() {\n\n}",
"public void showToast(String text)\n {\n Text icon = GlyphsDude.createIcon(FontAwesomeIconName.CHECK_CIRCLE,\"1.5em\");\n icon.setFill(Color.WHITE);\n Label l = new Label(text) ;\n l.setTextFill(Color.WHITE);\n l.setGraphic(icon);\n snackbar = new JFXSnackbar(PrinciplePane);\n snackbar.enqueue( new JFXSnackbar.SnackbarEvent(l));\n }",
"private void showPermissionSnackbar() {\n Snackbar.make(\n findViewById(R.id.container), R.string.permission_explanation, Snackbar.LENGTH_LONG)\n .setAction(R.string.permission_explanation_action, new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n requestFineLocationPermission();\n }\n })\n .show();\n }",
"@OnClick(R.id.btnConfirm)\n public void onConfirmClicked(){\n new MaterialAlertDialogBuilder(getActivity(), R.style.MaterialAlertDialog_MaterialComponents_Title_Icon)\n .setTitle(R.string.dialog_confirm_title)\n .setMessage(R.string.card_message_demo_small)\n .setPositiveButton(R.string.dialog_confirm, (dialog, which) -> Toast.makeText(getActivity(),\n R.string.message_action_success, Toast.LENGTH_LONG).show())\n .setNegativeButton(R.string.dialog_cancel, null)\n .show();\n\n }",
"private void SnackShowTop(String message, View view) {\n Snackbar snack = Snackbar.make(view, message, Snackbar.LENGTH_LONG);\n View view_layout = snack.getView();\n FrameLayout.LayoutParams params = (FrameLayout.LayoutParams) view_layout.getLayoutParams();\n params.gravity = Gravity.TOP;\n view_layout.setLayoutParams(params);\n snack.show();\n }",
"@Override\n public void run() {\n snackbar.setVisibility(View.GONE); //This will remove the View. and free s the space occupied by the View\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n String message = String.valueOf(guardiansName.get(position));\n clickedGuardian = new String[]\n {String.valueOf(guardiansPhone.get(position)),\n String.valueOf(guardiansName.get(position)),};\n snackbar = Snackbar.make(getActivity().findViewById(R.id.myCoordinatorLayout), message, Snackbar.LENGTH_LONG);\n snackbar.setAction(R.string.Update, new UpdateGuardian());\n snackbar.show();\n }",
"public void showNotification(String notificationText) {\n View parentLayout = findViewById(android.R.id.content);\n Snackbar mySnackbar = Snackbar.make(parentLayout, notificationText, Snackbar.LENGTH_LONG);\n mySnackbar.show();\n }",
"void showToast(String message);",
"void showToast(String message);",
"@Override\n public void onSuccess(Void unused) {\n Snackbar.make(save, R.string.sucessfull_update, BaseTransientBottomBar.LENGTH_SHORT).show();\n }",
"protected void showMessage(@NonNull final String message) {\n SnackbarManager.show(Snackbar.with(this).text(message).colorResource(R.color.blende_red).swipeToDismiss(true));\n }",
"void showForbiddenErrorSnackbar();",
"public static void showWarningSnackBar(View layout, String text) {\n Snackbar s = Snackbar.make(layout, text, Snackbar.LENGTH_INDEFINITE);\n s.setAction(\"Retry\", v -> {\n s.dismiss();\n });\n s.show();\n }",
"private void showDeletedSnackbar() {\n Snackbar.make(parent, \"Selected \" + getTypeDescription() + \" deleted.\", Snackbar.LENGTH_LONG)\n .setAction(\"Undo\", new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n if (previouslyDeletedItems.size() > 0) {\n // Re-add the items and update the list.\n listDao.insertRows(previouslyDeletedItems);\n reloadData();\n }\n }\n })\n .show();\n }",
"private void muestraMensaje(int idMensaje) {\n final Snackbar snack=Snackbar.make(mLayout,idMensaje,Snackbar.LENGTH_LONG).\n setAction(R.string.texto_cerrar, v -> {\n // No necesitamos hacer nada, solo que se cierre\n });\n snack.show();\n }",
"@Override\n public void onClick(View v) {\n\n\n Toast.makeText(MainSOSActivity.this, \"Stay Safe and Confirm the Message!\", Toast.LENGTH_SHORT).show();\n\n }",
"public void showErrorMessage(){\n Toast.makeText(context, R.string.generic_error_message, Toast.LENGTH_LONG).show();\n }",
"@Override\n\t\tpublic void onClick(View arg0) {\n\t\t\tAlertDialog fuck = builder.create();\n\t\t\tfuck.show();\n\t\t}",
"protected void showTopSnackBar(String message, int bColor) {\n\n Snackbar snack = Snackbar.make(getWindow().getDecorView().findViewById(android.R.id.content), message, Snackbar.LENGTH_LONG);\n View snackbarView = snack.getView();\n snackbarView.setBackgroundColor(bColor);\n// TextView textView = (TextView) snackbarView.findViewById(com.androidadvance.topsnackbar.R.id.snackbar_text);\n// textView.setTextColor(Color.WHITE);\n// textView.setGravity(Gravity.CENTER_HORIZONTAL);\n// FrameLayout.LayoutParams params =(FrameLayout.LayoutParams)snackbarView.getLayoutParams();\n// params.gravity = Gravity.TOP;\n// snackbarView.setLayoutParams(params);\n snack.show();\n }",
"@Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n Snackbar.make(findViewById(R.id.actie_add), \"Database kan niet gelezen worden\", Snackbar.LENGTH_LONG)\n .setAction(\"Action\", null).show();\n }",
"public void showWarningMessage(View view){\n\n //Show popup to warn user about the entered start and destiantion Addresses\n builder = new AlertDialog.Builder(this);\n //Setting message manually and performing action on button click\n builder.setMessage(\"Please insert a start and a destination address!\")\n .setCancelable(false)\n .setPositiveButton(\"Yes\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // finish();\n Toast.makeText(getApplicationContext(),\"you choose yes action for the warning popup\",\n Toast.LENGTH_SHORT).show();\n }\n });\n /* .setNegativeButton(\"No\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // Action for 'NO' Button\n dialog.cancel();\n Toast.makeText(getApplicationContext(),\"you choose no action for for the warning popup\",\n Toast.LENGTH_SHORT).show();\n }\n } );*/\n //Creating dialog box\n AlertDialog alert = builder.create();\n //Setting the title manually\n alert.setTitle(\"WARNING!\");\n alert.show();\n }",
"public void showMessage(String msg){\n Toast.makeText(getApplicationContext(), msg, Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onClick(View v) {\n\n\n Toast.makeText(MainSOSActivity.this, \"Stay Safe and Confirm the Message! Your emergnecy conctacts will be notified!\", Toast.LENGTH_SHORT).show();\n\n }",
"public void add(View view){\n displayAlertDialog();\n\n }",
"@Override\n public void onClick(View v) {\n limpiarCampos();\n if (validacion()) {//ejecuta la funcion validacion\n guardar_login();\n\n } else {\n Snackbar.make(findViewById(android.R.id.content), \"Faltan completar campos \",\n Snackbar.LENGTH_LONG)\n .setDuration(3000)\n .show();\n\n\n }\n }",
"public void displaySnackBar(View layout,int message,int bgcolor){\n Snackbar snack=null;\n View snackView;\n\n if(message == com.ibeis.wildbook.wildbook.R.string.offline)\n snack=Snackbar.make(layout,message,Snackbar.LENGTH_INDEFINITE);\n else\n snack=Snackbar.make(layout,message,Snackbar.LENGTH_SHORT);\n snackView = snack.getView();\n snackView.setBackgroundColor(bgcolor);\n snack.show();\n }",
"private void editPoint() {\n Snackbar.make(coordinatorLayout, R.string.feature_not_available, Snackbar.LENGTH_SHORT).show();\n }",
"@Override\n public void onClick(View view) {\n clearDisplay();\n table.setVisibility(View.INVISIBLE);\n saveButton.setVisibility(View.INVISIBLE);\n cancelButton.setVisibility(View.INVISIBLE);\n Snackbar snackbar = Snackbar.make(view, R.string.cancelled, Snackbar.LENGTH_SHORT);\n snackbar.show();\n }",
"void showErrorSnackbar(long syncInterval) {\r\n // Initialize the the parameters that will be used to create the String message\r\n int timePassed;\r\n String timeUnit;\r\n if (syncInterval < DAY_IN_SECONDS) {\r\n // If less than a day has passed, convert the number of seconds to hours\r\n timePassed = (int) (syncInterval / HOUR_IN_SECONDS);\r\n\r\n // Set the time unit to singular or multiple\r\n if (timePassed == 1) {\r\n timeUnit = getString(R.string.hour_singular);\r\n } else {\r\n timeUnit = getString(R.string.hour_multiple);\r\n }\r\n\r\n } else {\r\n // Convert the time passed to days\r\n timePassed = (int) (syncInterval / DAY_IN_SECONDS);\r\n\r\n // Set the time unit to singular or multiple\r\n if (timePassed == 1) {\r\n timeUnit = getString(R.string.day_singular);\r\n } else {\r\n timeUnit = getString(R.string.day_multiple);\r\n }\r\n }\r\n\r\n // Create the String message to display to the user to notify them of how long\r\n // since the last sync\r\n String timeString = getString(R.string.error_last_sync, timePassed + \" \" + timeUnit);\r\n\r\n // Create a Snackbar to hold the message\r\n mSnackBar = Snackbar.make(mDrawerLayout,\r\n timeString,\r\n Snackbar.LENGTH_INDEFINITE\r\n );\r\n\r\n // Set the Snackbar to be dismissed on click\r\n mSnackBar.getView().setOnClickListener(new View.OnClickListener() {\r\n @Override\r\n public void onClick(View view) {\r\n mSnackBar.dismiss();\r\n }\r\n });\r\n\r\n // Show the Snackbar\r\n mSnackBar.show();\r\n }",
"private void showErrorToast() {\n }",
"@Override public void onClick(View v) {\n Snackbar.make(groupViewHolder.itemView, \"Group was toggled\", Snackbar.LENGTH_SHORT).show();\n }",
"@Override\n public void onFailure(IMqttToken asyncActionToken, Throwable exception) {\n Snackbar.make(v, \"断开失败...\", Snackbar.LENGTH_LONG)\n .setAction(\"Action\", null).show();\n\n }",
"void showAlert(String message);",
"public void showToast(String msg){\n Toast.makeText(this, msg, Toast.LENGTH_SHORT).show();\n }",
"public void showErrorMessage(String message){\n Toast.makeText(context, message, Toast.LENGTH_LONG).show();\n }",
"public void toastKickoff(String message) {\n Toast.makeText(this, message, Toast.LENGTH_LONG).show();\n }",
"private void msg(String s)\n {\n Toast.makeText(getApplicationContext(),s,Toast.LENGTH_LONG).show();\n }",
"private void msg(String s)\n {\n Toast.makeText(getApplicationContext(),s,Toast.LENGTH_LONG).show();\n }",
"@Override\n public void onClick(View view) {\n createServer();\n Snackbar.make(view, \"Adding server done\", Snackbar.LENGTH_LONG)\n .setAction(\"Action\", null).show();\n\n }",
"private void showMessage(String msg) {\n Toast.makeText(getApplicationContext(), msg, Toast.LENGTH_LONG).show();\n }",
"@Override\n public void onFailure(@NonNull @NotNull Exception e) {\n Snackbar.make(save, R.string.update_fail, BaseTransientBottomBar.LENGTH_SHORT).show();\n }",
"protected void showToast(String message) {\n\tToast.makeText(this, message, Toast.LENGTH_SHORT).show();\n}",
"@Override\n public void onClick(View view) {\n AlertDialog.Builder builder = new AlertDialog.Builder(context);\n builder.setTitle(\"Discount Code\");\n builder.setMessage(\"Use this code : \" + dis.getDiscountID());\n builder.setIcon(android.R.drawable.ic_input_get); //Delete Icon\n builder.setPositiveButton(\"OK\",null);\n builder.show();\n }",
"private void showToastRequired(String message) {\n Toast.makeText(this, getString(R.string.validation_required, message),\n Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void showError(@StringRes int messageId, @Nullable Object... args) {\n if (getView() != null) {\n //When we have the root view\n\n //Evaluating the message to be shown\n String messageToBeShown;\n if (args != null && args.length > 0) {\n //For the String Resource with args\n messageToBeShown = getString(messageId, args);\n } else {\n //For the String Resource without args\n messageToBeShown = getString(messageId);\n }\n\n if (!TextUtils.isEmpty(messageToBeShown)) {\n //Displaying the Snackbar message of indefinite time length\n //when we have the error message to be shown\n\n new SnackbarUtility(Snackbar.make(getView(), messageToBeShown, Snackbar.LENGTH_INDEFINITE))\n .revealCompleteMessage() //Removes the limit on max lines\n .setDismissAction(R.string.snackbar_action_ok) //For the Dismiss \"OK\" action\n .showSnack();\n }\n }\n }",
"private void showToast(String msg) {\n Toast.makeText(getBaseContext(), msg, Toast.LENGTH_LONG).show();\n }",
"private void createSnack() {\n }",
"private void showToast(String msg) {\r\n Toast.makeText(Imprimir.this, msg, Toast.LENGTH_LONG).show();\r\n }",
"private void showErrorView() {\n Log.d(\"lodd\", \"showSuccessView: hjfj91919515\");\n\n }",
"@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\r\n\t\t\r\n\t\t\t\tToast.makeText(getApplicationContext(), \"등록완료\", Toast.LENGTH_SHORT).show();\r\n\t\t\t\r\n\t\t\t\t\t \r\n\t\t\t}",
"private void msg(String s) {\n Toast.makeText(getApplicationContext(), s, Toast.LENGTH_LONG).show();\n }",
"private void msg(String s) {\n Toast.makeText(getApplicationContext(), s, Toast.LENGTH_LONG).show();\n }",
"private void msg(String s) {\n Toast.makeText(getApplicationContext(), s, Toast.LENGTH_LONG).show();\n }",
"private void exibe_mensagem(String msg){\n Toast.makeText(getApplicationContext(), msg, Toast.LENGTH_LONG).show();\n }",
"@Override\n public void onErrorResponse(VolleyError volleyError) {\n progressDialog.dismiss();\n\n // Showing error message if something goes wrong.\n Snackbar snackbar = Snackbar\n .make(coordinatorLayout, \"No internet connection!\", Snackbar.LENGTH_LONG)\n .setAction(\"RETRY\", new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n }\n });\n\n // Changing message text color\n snackbar.setActionTextColor(Color.RED);\n\n // Changing action button text color\n View sbView = snackbar.getView();\n TextView textView = (TextView) sbView.findViewById(android.support.design.R.id.snackbar_text);\n textView.setTextColor(Color.YELLOW);\n\n snackbar.show();\n }",
"public void toast (String msg)\n\t{\n\t\tToast.makeText (getApplicationContext(), msg, Toast.LENGTH_SHORT).show ();\n\t}",
"void showToast(String value);",
"@Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n Snackbar.make(findViewById(R.id.actie_add), \"Database kan niet gelezen worden\", Snackbar.LENGTH_LONG)\n .setAction(\"Action\", null).show();\n }",
"public static void showSnack(final Context context, View view, boolean isConnected) {\n if (snackbar == null) {\n snackbar = Snackbar\n .make(view, context.getString(R.string.network_failure), Snackbar.LENGTH_INDEFINITE)\n .setAction(\"SETTINGS\", new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n Intent intent = new Intent(android.provider.Settings.ACTION_SETTINGS);\n context.startActivity(intent);\n }\n });\n View sbView = snackbar.getView();\n TextView textView = sbView.findViewById(android.support.design.R.id.snackbar_text);\n textView.setTextColor(Color.WHITE);\n }\n\n if (!isConnected && !snackbar.isShown()) {\n snackbar.show();\n } else {\n snackbar.dismiss();\n snackbar = null;\n }\n }",
"private void makeToast(String message){\n Toast.makeText(SettingsActivity.this, message, Toast.LENGTH_LONG).show();\n }",
"@Override\n protected void notifyUserOnPlayServicesErrorDialogCancelled() {\n final View rootView = findViewById(R.id.root_layout);\n if (rootView == null) return;\n Snackbar.make(rootView, R.string.google_play_services_error, Snackbar.LENGTH_LONG)\n .show();\n }",
"void showOthersActions(String message);",
"public void showMessageDialog(int id, String caption, String message)\n{\n MessageDialog.newInstance(id, caption, message, this)\n .show(getFragmentManager(), \"\");\n}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n switch (id) {\n case R.id.action_settings:\n Toast.makeText(this, \"Goto Settings\", Toast.LENGTH_SHORT).show();\n return true;\n case R.id.action_call:\n call();\n return true;\n case R.id.action_photo:\n //Some view that is inside the coordinator layout\n //Snackbar.make(toolbar, \"Hi, Snack\", BaseTransientBottomBar.LENGTH_LONG/*view:?*/).show();\n takePicture();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tmsg();\n\t\t\t}",
"@Override\n public void onClick(View v) {\n\n Toast toast = Toast.makeText(getApplicationContext(), \"Coming soon.\", Toast.LENGTH_SHORT);\n toast.show();\n\n }",
"private void showMessage(String message) {\n Toast.makeText(getApplicationContext(),message, Toast.LENGTH_LONG).show();\n }",
"void toast(int resId);",
"public void onClickShowAlert(View view) {\n AlertDialog.Builder myAlertBuilder = new\n AlertDialog.Builder(MainActivity.this);\n // Set the dialog title and message.\n myAlertBuilder.setTitle(\"Alert\");\n myAlertBuilder.setMessage(\"Click OK to continue, or Cancel to stop:\");\n // Add the dialog buttons.\n myAlertBuilder.setPositiveButton(\"OK\", new\n DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n // User clicked OK button.\n Toast.makeText(getApplicationContext(), \"Pressed OK\",\n Toast.LENGTH_SHORT).show();\n }\n });\n myAlertBuilder.setNegativeButton(\"Cancel\", new\n DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n // User cancelled the dialog.\n Toast.makeText(getApplicationContext(), \"Pressed Cancel\",\n Toast.LENGTH_SHORT).show();\n }\n });\n // Create and show the AlertDialog.\n myAlertBuilder.show();\n }",
"public void apply(View v) {\n String sound = soundSpinner.getSelectedItem().toString();\n\n Snackbar.make(v, \"Piano sound set to \" + sound, Snackbar.LENGTH_LONG)\n .setAction(\"Action\", null).show();\n }",
"private void showErrorDialog(){\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n\n builder.setTitle(getString(R.string.booking_not_created));\n builder.setMessage(getString(R.string.customer_already_has_active_booking_error));\n builder.setIcon(R.drawable.ic_error_black_24dp);\n builder.setCancelable(false);\n // When users confirms dialog, close the activity\n builder.setPositiveButton(android.R.string.ok, (dialog, which) -> {\n // Close the Activity..\n finish();\n });\n\n AlertDialog dialog = builder.create();\n dialog.setCanceledOnTouchOutside(false);\n dialog.show();\n\n // Change button colors\n Button positiveButton = dialog.getButton(AlertDialog.BUTTON_POSITIVE);\n positiveButton.setTextColor(getColor(R.color.colorPrimary));\n }",
"@Override\r\n\t\t\t\t\t\tpublic void failed(final String message) {\n\t\t\t\t\t\t\tact.runOnUiThread(new Runnable() {\r\n\t\t\t\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\t\t\t\tact.showToast(message);\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}",
"@Override\r\n\t\t\t\t\t\tpublic void failed(final String message) {\n\t\t\t\t\t\t\tact.runOnUiThread(new Runnable() {\r\n\t\t\t\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\t\t\t\tact.showToast(message);\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}",
"public static void showAlert(String message, Activity context) {\n\n AlertDialog.Builder builder = new AlertDialog.Builder(context);\n builder.setMessage(message).setCancelable(false)\n .setPositiveButton(\"OK\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n\n\n }\n });\n try {\n builder.show();\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n }",
"private void showToast(String message){\n\n Toast.makeText(this, message, Toast.LENGTH_SHORT).show();\n }",
"@Override\n\t\t\tpublic void onClick(View view) {\n\t\t\t\taddAlert(\"Fake Test Alert\");\n\t\t\t}",
"private void toastMessage(String message){\n Toast.makeText(this,message, Toast.LENGTH_SHORT).show();\n }",
"private void toastMessage(String message){\n Toast.makeText(this,message, Toast.LENGTH_SHORT).show();\n }"
]
| [
"0.77849233",
"0.73431313",
"0.7312924",
"0.7308021",
"0.71119523",
"0.70179576",
"0.6977823",
"0.693279",
"0.6817242",
"0.67794555",
"0.6773066",
"0.6769153",
"0.66969097",
"0.66901416",
"0.6535203",
"0.6526453",
"0.6526107",
"0.64990896",
"0.64981586",
"0.64537144",
"0.6414112",
"0.6353503",
"0.63491523",
"0.63199466",
"0.62861925",
"0.62444884",
"0.6190119",
"0.6170965",
"0.60915434",
"0.60613513",
"0.60370207",
"0.60370207",
"0.6026477",
"0.60116327",
"0.60113347",
"0.59772587",
"0.5974466",
"0.5961024",
"0.5951459",
"0.5934618",
"0.59216684",
"0.59014606",
"0.58802205",
"0.5866932",
"0.5855753",
"0.5846594",
"0.58317906",
"0.5826703",
"0.58245504",
"0.58212996",
"0.58109486",
"0.58045375",
"0.5782853",
"0.5769242",
"0.5732181",
"0.57166815",
"0.56946087",
"0.56927806",
"0.5691514",
"0.5677267",
"0.5677267",
"0.5663041",
"0.5662116",
"0.5655578",
"0.5649917",
"0.56457543",
"0.5636932",
"0.5631419",
"0.5627016",
"0.5623042",
"0.5622759",
"0.5617016",
"0.561286",
"0.5607505",
"0.5607505",
"0.5607505",
"0.55998355",
"0.5599323",
"0.55850863",
"0.5582139",
"0.5581274",
"0.55793315",
"0.5576287",
"0.5574755",
"0.5573701",
"0.55664074",
"0.5560323",
"0.5559148",
"0.55500984",
"0.5546177",
"0.55244446",
"0.5516881",
"0.5513321",
"0.5512136",
"0.5509982",
"0.5509982",
"0.5508461",
"0.5507319",
"0.55069315",
"0.5506873",
"0.5506873"
]
| 0.0 | -1 |
lay thong tin nhap vao | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String Name = request.getParameter("name");
String Sign = request.getParameter("message");
Connection c = null;
try
{
String url = "jdbc:mysql://localhost/web";//tên cơ sở dữ liệu
String username = "root";
String password = "1234";
String sql = "insert into member (name,sign) values (?,?)";
c = DriverManager.getConnection(url, username, password);
PreparedStatement pstmt = c.prepareStatement(sql);
pstmt.setString(1, Name);
pstmt.setString(2, Sign);
//Thực thi câu lenh
pstmt.executeUpdate();
}
catch(SQLException e)
{
throw new ServletException(e);
}
finally
{
//đóng connection
try
{
if(c != null) c.close();
}
catch(SQLException e)
{
throw new ServletException(e);
}
}
request.getRequestDispatcher("Members").forward(request, response);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n public void prenderVehiculo() {\r\n System.out.println(\"___________________________________________________\");\r\n System.out.println(\"prender Jet\");\r\n }",
"protected String elaboraTemplateAvviso() {\n String testo = VUOTA;\n String dataCorrente = date.get();\n String personeTxt = \"\";\n personeTxt = text.format(numVoci);\n\n if (usaHeadTemplateAvviso) {\n testo += tagHeadTemplateAvviso;\n testo += \"|bio=\";\n testo += personeTxt;\n testo += \"|data=\";\n testo += dataCorrente.trim();\n testo += \"|progetto=\";\n testo += tagHeadTemplateProgetto;\n testo = LibWiki.setGraffe(testo);\n }// end of if cycle\n\n return testo;\n }",
"public void visKontingenthaandteringMenu ()\r\n {\r\n System.out.println(\"Du har valgt kontingent.\");\r\n System.out.println(\"Hvad oensker du at foretage dig?\");\r\n System.out.println(\"1: Se priser\");\r\n System.out.println(\"2: Se medlemmer i restance\");\r\n System.out.println(\"0: Afslut\");\r\n\r\n }",
"public void show() {\n\t\t System.out.println(\"这是A型产品\"); \r\n\t}",
"protected void DisplayVenueAndPitchNames()\n {\n TextView venueName = (TextView) findViewById(R.id.venueName);\n TextView pitchName = (TextView) findViewById(R.id.pitchName);\n venueName.setText(venueNameTitle);\n pitchName.setText(pitch.getPitchName());\n }",
"public QLVatTu() {\n initComponents();\n VatTu.doc();\n VatTu.setIndex( VatTu.lenth() - 1);\n hienThi();\n labHienThi.setText(( VatTu.getIndex() + 1) + \"/\" + VatTu.lenth());\n }",
"protected View ShowWord() {\n\t\tTextView btn=new TextView(this);\n\t\tbtn.setId(index);\n\t\tbtn.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));\n//\t\tbtn.setText(\"text not sent here!!!!! \"); //這一行是可以顯示文字的\n\t\treturn btn;\n\t}",
"public void modelShow() {\n\t\tSystem.out.println(\"秀衣服\");\n\t}",
"@Override\r\n public void Story(){\r\n super.Story();\r\n System.out.println(\"=======================================================================================\");\r\n System.out.println(\"|| Arya harus bergegas untuk menyelamatkan seluruh warga. Dia tidak tau posisi warga ||\");\r\n System.out.println(\"|| yang harus diselamatkan ada pada ruangan yang mana. ||\");\r\n System.out.println(\"=======================================================================================\");\r\n }",
"@Override\n\tpublic void maasHesapla() {\n\t\tSystem.out.println(\"isciler icin maas 5000 tl \");\n \t\t\n\t}",
"public void atakuj() {\n\n System.out.println(\"to metoda atakuj z klasy Potwor \");\n\n }",
"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 }",
"@Override\n\tpublic String gettenMonHoc() {\n\t\treturn \"Lâp trình front-end\";\n\t}",
"@Override\n public void onClick(View view) {\n //Metodos Getters y Setters\n tvSaludo.setVisibility(View.VISIBLE);\n tvSaludo.setText(\"HOLA ANDROIDS JUNIORS\"); // hard coding\n }",
"public void mainkan(){\n System.out.println();\n //System.out.printf(\"Waktu: %1.2f\\n\", this.oPlayer.getWaktu());\n System.out.println(\"Nama : \" + this.oPlayer.nama);\n System.out.println(\"Senjata : \" + this.oPlayer.getNamaSenjataDigunakan());\n System.out.println(\"Kesehatan : \" + this.oPlayer.getKesehatan());\n// System.out.println(\"Daftar Efek : \" + this.oPlayer.getDaftarEfekDiri());\n System.out.println(\"Nama Tempat : \" + this.namaTempat);\n System.out.println(\"Narasi : \" + this.narasi);\n }",
"private void hienThiDichVu() {\n DichVuService dichVuService = new DichVuService();\n dichVuModels = dichVuService.layToanBoDichVu();\n \n modelDichVu.setRowCount(0);\n if (dichVuModels != null){\n for (DichVuModel dichVuModel : dichVuModels) {\n Vector vtRow = new Vector();\n vtRow.add(dichVuModel.getMaDV());\n vtRow.add(dichVuModel.getTenDV());\n modelDichVu.addRow(vtRow);\n }\n }else{\n return;\n }\n }",
"public void inicio(){\r\n Ventana v = new Ventana();\r\n v.setVisible(true); //se hace visible la ventana\r\n }",
"public void prenderVehiculo();",
"@Override\n\tpublic void guiTinNhan() {\n\n\t}",
"public void Showbarang_gudang() {\n initComponents();\n setHeader();\n }",
"public ViewDetalleVentas() {\n initComponents();\n }",
"@Override\r\n\tprotected void initVentajas() {\n\r\n\t}",
"public void addOneForTeamV (View v) {\n vScore = vScore +1;\n displayForTeamV(vScore);\n }",
"@Override\r\n\tpublic void voar() {\n\t\t\r\n\t}",
"public void display() {\n String box = \"\\n+--------------------------------------------+\\n\";\n String header = \"| \" + name;\n String lvlStat = \"Lv\" + level;\n for (int i=0; i<42-name.length()-lvlStat.length(); i++) {\n header += \" \";\n }\n header += lvlStat + \" |\\n\";\n System.out.println(box + header + \"| \" + getHealthBar() + \" |\" + box);\n }",
"public Ver() {\n initComponents();\n mostrarContato();\n }",
"public void visMedlemskabsMenu ()\r\n {\r\n System.out.println(\"Du har valgt medlemskab.\");\r\n System.out.println(\"Hvad Oensker du at foretage dig?\");\r\n System.out.println(\"1: Oprette et nyt medlem\");\r\n System.out.println(\"2: Opdatere oplysninger paa et eksisterende medlem\");\r\n System.out.println(\"0: Afslut\");\r\n\r\n }",
"@Override\n\t\t\t\tpublic void show(LinphoneCore lc) {\n\t\t\t\t\t\n\t\t\t\t}",
"private void initVistas(View v) {\n TextView lblPagina = (TextView) v.findViewById(R.id.lblPagina);\n lblPagina.setTextColor(getArguments().getInt(PAR_COLOR));\n svScrollView = (ScrollView) v.findViewById(R.id.svScrollView);\n ViewTreeObserver.OnScrollChangedListener mObservador = new ViewTreeObserver\n .OnScrollChangedListener() {\n @Override\n public void onScrollChanged() {\n int diferencia = svScrollView.getScrollY() - mScrollAnterior;\n if (mVistasOcultas && diferencia < -UMBRAL_SCROLL) {\n mVistasOcultas = false;\n showVistas();\n } else if (!mVistasOcultas && diferencia > UMBRAL_SCROLL) {\n mVistasOcultas = true;\n hideVistas();\n }\n mScrollAnterior = svScrollView.getScrollY();\n }\n };\n svScrollView.getViewTreeObserver()\n .addOnScrollChangedListener(mObservador);\n }",
"@FXML\n void handleLisaaUlkoTili() {\n lisaaTili(3);\n }",
"public void mostrarJet(){\r\n \r\n System.out.println(\"clase hija jet de vehiculo con motor \");\r\n System.out.println(\"LA CANTIDAD DE MOTORES ES : \" + this.cantidaddeMotores);\r\n\r\n\r\n System.out.println(\"***************************************************\");\r\n System.out.println(\"*************H**E**R**E**D**A**********************\");\r\n System.out.println(\"|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|\");\r\n }",
"public void view(){\r\n System.out.println(\"\tNombre: \"+name);\r\n\t\tSystem.out.println(\"\tTipo: \"+type.id);\r\n\t\tSystem.out.println(\"\tVal: \"+((Integer)val).intValue());\r\n\t\tif(block==true){\r\n\t\t\tSystem.out.println(\"\tBLOQUEADA\");\r\n\t\t}else{\r\n\t\t\tSystem.out.println(\"\tDESBLOQUEADO\");\r\n\t\t}\r\n //System.out.println(\"\tTipo2: \"+kind);\r\n //System.out.println(\"\tAnidamiento: \"+level);\r\n //System.out.println(\"\tSigDireccion: \"+nextAdr);\r\n System.out.println(\"\t*********************\");\r\n\t\tSystem.out.println();\r\n }",
"public Ventana() {\n initComponents();\n }",
"public Ventana() {\n initComponents();\n }",
"public Ventana() {\n initComponents();\n }",
"public v_pembelian() {\n initComponents();\n disable_info();\n setTabel();\n initFaktur();\n }",
"@Override\n\tpublic String hablar() {\n\t\treturn \"Hola, soy un Buitre y sť volar\";\n\t}",
"public static void status(){\n System.out.print(\"\\033[H\\033[2J\");//limpia pantalla\n System.out.flush();\n System.out.printf(\"\\nNOMBRE:\\t\\t\\t\"+nombrePersonaje);\n\tSystem.out.printf(\"\\nPuntos De Vida (HP):\\t\"+puntosDeVida);\n\tSystem.out.printf(\"\\nPuntos De mana (MP):\\t\"+puntosDeMana);\n System.out.printf(\"\\nNivel: \\t\\t\\t\"+nivel);\n\tSystem.out.printf(\"\\nExperiencia:\\t\\t\"+experiencia);\n\tSystem.out.printf(\"\\nOro: \\t\\t\"+oro);\n System.out.printf(\"\\nPotion:\\t\\t\\t\"+articulo1);\n System.out.printf(\"\\nHi-Potion:\\t\\t\"+articulo2);\n System.out.printf(\"\\nM-Potion:\\t\\t\"+articulo3);\n System.out.printf(\"\\n\\tEnemigos Vencidos:\\t\");\n\tSystem.out.printf(\"\\nNombre:\\t\\t\\tNo.Derrotas\");\n System.out.printf(\"\\nDark Wolf:\\t\\t\"+enemigoVencido1);\n\tSystem.out.printf(\"\\nDragon:\\t\\t\\t\"+enemigoVencido2);\n System.out.printf(\"\\nMighty Golem:\\t\\t\"+enemigoVencido3);\t\n }",
"public void displayVragenlijst() {\n List<Vragenlijst> vragenlijst = winkel.getVragenlijst();\n\n System.out.println(\"Kies een vragenlijst: \");\n\n for (int i = 0; i < vragenlijst.size(); i++) {\n System.out.println((i + 1) + \". \" + vragenlijst.get(i));\n }\n }",
"public Vencimientos() {\n initComponents();\n \n \n }",
"public static void showAllVilla(){\n ArrayList<Villa> villaList = getListFromCSV(FuncGeneric.EntityType.VILLA);\n displayList(villaList);\n showServices();\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tshowProgress();\n\t\t\t\tgetVedioMainInfo(vedioMainUrl);\n\t\t\t}",
"public void mostrarVagon() {\n\t\tSystem.out.println(\"Estado actual del vagon\");\n\t\tfor (int i = 0; i < getNumeroAsientosFila(); i++) {\n\t\t\tfor (int j = 0; j < getNumeroAsientosColumna(); j++) {\n\t\t\t\tSystem.out.print(vagonVacio[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println();\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}",
"@Override\r\n\tpublic void mostrar() {\n\t\t\r\n\t}",
"public void SHOW_CUSTOM_DIALOG_HESO(View v) {\n\t\tdialog_heso = new Dialog_HESO(TAB_THONGTIN_HOSO.this);\n\t\tdialog_heso.show();\n\t\tWindowManager.LayoutParams lp = new WindowManager.LayoutParams();\n\t\tlp.copyFrom(dialog_heso.getWindow().getAttributes());\n\t\tlp.width = Tht_Screen.get_screen_width_percent(TAB_THONGTIN_HOSO.this, 90);\n\t\tlp.height = Tht_Screen.get_screen_heigth_percent(TAB_THONGTIN_HOSO.this, 90);\n\t\tdialog_heso.getWindow().setAttributes(lp);\n\t\tARR_MAU_HESO = mdb.get_ARR_HESO(Variables.DNV.MaDV);\n\t\tmAdapter_HESO = new Lst_HESO(ARR_MAU_HESO, TAB_THONGTIN_HOSO.this);\n\t\tDialog_HESO.lv_HESO.setAdapter(mAdapter_HESO);\n\t\tDialog_HESO.tv_PT_TT.setText(getString(R.string.PT_TT)+String.valueOf(Variables.HSCT_CHON.PT_TT));\n\t\tDialog_HESO.tv_PT_C.setText(getString(R.string.PT_C)+String.valueOf(Variables.HSCT_CHON.PT_C));\n\t\tDialog_HESO.tv_PT_TL.setText(getString(R.string.PT_TL)+String.valueOf(Variables.HSCT_CHON.PT_TL));\n\t\tDialog_HESO.tv_PT_K.setText(getString(R.string.PT_K)+String.valueOf(Variables.HSCT_CHON.PT_K));\n\t\tDialog_HESO.tv_PT_VAT.setText(getString(R.string.PT_VAT)+String.valueOf(Variables.HSCT_CHON.PT_VAT));\n\t\tDialog_HESO.tv_PT_NC.setText(getString(R.string.PT_NC)+String.valueOf(Variables.HSCT_CHON.PT_NC)+\" %\");\n\t\tDialog_HESO.tv_PT_C1.setText(getString(R.string.PT_C1)+String.valueOf(Variables.HSCT_CHON.PT_C1));\n\t\tDialog_HESO.tv_PT_NC1.setText(getString(R.string.PT_NC1)+String.valueOf(Variables.HSCT_CHON.PT_NC1)+\" %\");\n\t\t\n\n\t}",
"public IfrViagem() {\n initComponents();\n v = new Viagem();\n criarViagem();\n\n Formatacao.formatarData(ftfDataSaida);\n Formatacao.formatarHora(ftfHoraSaida);\n Formatacao.formatarData(ftfDataRetorno);\n Formatacao.formatarHora(ftfHoraRetorno);\n Formatacao.formatarReal(ftfValorViagem);\n\n }",
"public void tampilKarakterA(){\r\n System.out.println(\"Saya mempunyai kaki empat \");\r\n }",
"public v_home() {\n initComponents();\n koneksi = DatabaseConnection.getKoneksi(\"localhost\", \"5432\", \"postgres\", \"posgre\", \"db_hesco\");\n showData();\n showStok();\n }",
"private View setupView(View v)\n {\n\n TextView item_name = (TextView)v.findViewById(R.id.item_name);\n TextView item_price = (TextView)v.findViewById(R.id.item_price);\n TextView item_description = (TextView)v.findViewById(R.id.item_description);\n\n add = (Button) v.findViewById(R.id.fabCart);\n add.setOnClickListener(this);\n mlike = (ImageView) v.findViewById(R.id.btnLike);\n mlike.setOnClickListener(this);\n\n if(mDescription != null) {\n item_name.setText(mDescription[Data.UzaData.NAME.ordinal()] + \" | \" + mDescription[Data.UzaData.SELLER.ordinal()]);\n item_price.setText(mDescription[Data.UzaData.PRICE.ordinal()]);\n item_description.setText(mDescription[Data.UzaData.DESCRIPTION.ordinal()]);\n }\n\n initPager(v);\n\n //TODO \"Show more pictures\" button\n //TODO \"Message\" button\n\n return v;\n }",
"@Override\n\tpublic void show() {\n\t\tsuper.show();\n\t\t\n\t\tSkin skin = new Skin(Gdx.files.internal(\"Textos/uiskin.json\"));\n\t\tint miniheight= Gdx.graphics.getHeight()/8;\n\t\tint mitad= Gdx.graphics.getWidth()/2;\n\t\t//int miniwidth= Gdx.graphics.getWidth()/8;\n\t\t\n\t\t/*Botones*/\n\t\tbtnVolv = new TextButton(\"Back\", skin);\n\t\tbtnVolv.setPosition(0, 0);\n\t\tbtnVolv.setWidth(Gdx.graphics.getWidth()/2);\n\t\tbtnVolv.setHeight(miniheight);\n\t\tbtnVolv.addListener(QueHacemos(false));\n\t\tbtnGuardar = new TextButton(\"Save\", skin);\n\t\tbtnGuardar.setPosition(Gdx.graphics.getWidth()/2, 0);\n\t\tbtnGuardar.setWidth(Gdx.graphics.getWidth()/2);\n\t\tbtnGuardar.setHeight(miniheight);\n\t\tbtnGuardar.addListener(QueHacemos(true));\n\t\t\n\t\t/*Tabla */\n\t\t//Puntuacion\n\t\tLabel tapunt= new Label(\"\"+user.getPuntuacion(),skin);\n\t\ttapunt.setAlignment(Align.center);\n\t\ttapunt.setX(Gdx.graphics.getWidth()/2-tapunt.getWidth()/2);\n\t\ttapunt.setY(miniheight*7);\t\t\n\t\ttapunt.setFontScale(3);\n\t\ttapunt.setColor(0.9f,0.1f,0.1f,0.8f);\n\t\t\n\t\t//Definimos el label y el TextArea del nick\n\t\tLabel tlnick= new Label(\"NICK: \",skin);\n\t\ttlnick.setX(mitad-13-tlnick.getWidth());\n\t\ttlnick.setY(miniheight*5);\n\t\ttanick= new TextArea(user.getNick(), skin);\n\t\ttanick.setX(mitad+13);\n\t\ttanick.setY(miniheight*5-tanick.getHeight()/5);\t\t\n\t\ttanick.setAlignment(Align.bottom);\n\t\ttanick.setColor(1, 1, 1, -0.5f);\n\t\t\n\t\t//Checkbox\t\t\n\t\tchcksonido= new CheckBox(\"Sound\", skin);\n\t\tchcksonido.setX(mitad-chcksonido.getWidth()/2);\n\t\tchcksonido.setY(miniheight*3);\n\t\tchcksonido.left();\n\t\t//chcksonido.align(Align.right);\n\t\tchcksonido.setChecked(user.isSonido());\n\t\n\t\t//Escenario nuevo\n\t\tescenariopciones = new Stage(new ScreenViewport());\n\n\t\t//Le añadimos los distintos actores\n\t\tescenariopciones.addActor(tapunt);\n\t\tescenariopciones.addActor(tlnick);\n\t\tescenariopciones.addActor(tanick);\n\t\tescenariopciones.addActor(chcksonido);\n\t\t\t\n\t\t\t\n\t\tescenariopciones.addActor(btnVolv);\n\t\tescenariopciones.addActor(btnGuardar);\n\t\tGdx.input.setInputProcessor(escenariopciones);\n\t}",
"@Override\n\tpublic void show(LinphoneCore lc) {\n\t\t\n\t}",
"public void b0 (View v) {\n Addtxt(\"0\");\n }",
"@Override\r\n\tpublic void horario() {\n\t\t\r\n\t}",
"ZHDraweeView mo91981h();",
"public void run( Model modelo, View vista){ // el controlador sirve para comunicarse con las interfaces\r\n \r\n //llama al metodo getGreeting del objeto modelo\r\n \r\n String saludo = modelo.getGreeting(); // con este metodo obtengo el saludo que tengo en la clase model implementation\r\n \r\n //llama al metodo showGreeting del objeton View para mostrar el saludo que recibe del metodo showGreeting de ModelImplementation\r\n \r\n vista.showGreeting(saludo); \r\n \r\n }",
"private void initVistas() {\n // La actividad responderá al pulsar el botón.\n Button btnSolicitar = (Button) this.findViewById(R.id.btnSolicitar);\n btnSolicitar.setOnClickListener(new OnClickListener() {\n @Override\n public void onClick(View v) {\n solicitarDatos();\n }\n });\n lblDatos = (TextView) this.findViewById(R.id.lblDatos);\n }",
"public Ventana(){\r\n\t\t\r\n\t\tsuper.setTitle(\"Operaciones\");\r\n\t\tsuper.setSize(320, 480);\r\n\t\tsuper.setDefaultCloseOperation(EXIT_ON_CLOSE); //para el botón de cerrar\r\n\t\tcargarControles();\r\n\t}",
"@Override\r\n\tpublic void show() {\n\t\t\r\n\t\t\r\n\t}",
"public static void main(String[] args) {\n\t\t\r\n\t\tVentana_v2 ventana=new Ventana_v2();\r\n\t\tventana.setVisible(true);\r\n\r\n\t}",
"public void show() {\n\t\t// TODO Auto-generated method stub\n\n\t}",
"public void showBuddyUpDetails() {\n\n String tutorialText = getResources().getString(R.string.tutorial_buddy_up);\n if (SharedPref.getInstance().getBooleanValue(getActivity(), isbussiness)) {\n tutorialText = getResources().getString(R.string.tutorial_buddy_up_business);\n }\n ShowcaseView mShowcaseView = new ShowcaseView.Builder(getActivity())\n .setTarget(new ViewTarget(btn_buddyup))\n .hideOnTouchOutside()\n .setContentText(tutorialText)\n .setContentTextPaint(Utility.getTextPaint(getActivity()))\n .singleShot(AppConstants.TUTORIAL_BUDDY_UP_ID)\n .setStyle(R.style.CustomShowcaseTheme2)\n .build();\n mShowcaseView.setButtonText(getActivity().getString(R.string.tutorial_got_it));\n }",
"private void generaVentana()\n {\n // Crea la ventana\n ventana = new JFrame(\"SpaceInvaders\");\n panel = (JPanel) ventana.getContentPane();\n \n // Establece el tamaño del panel\n panel.setPreferredSize(new Dimension(anchoVentana, altoVentana));\n\n // Establece el layout por defecto\n panel.setLayout(null);\n\n // Establece el fondo para el panel\n panel.setBackground(Color.black);\n\n // Establece el tamaño de Canvas y lo añade a la ventana\n setBounds(0,0,altoVentana,anchoVentana);\n panel.add(this);\n\n // Establece que el programa se cerrará cuando la ventana se cierre\n ventana.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n // Establece el tamaño de la ventana\n ventana.pack();\n\n // La ventana no se cambia de tamaño\n ventana.setResizable(false);\n\n // Centra la ventana en la pantalla\n ventana.setLocationRelativeTo(null);\n\n // Muestra la ventana\n ventana.setVisible(true);\n\n // Mantine el foco en la ventana\n requestFocusInWindow();\n }",
"public static void show() {\n\t\tcadastrados = new DaoPagadores();\n\t\t\n\t\tstagePrimary = new Stage();\n\t\tstagePrimary.initModality(Modality.WINDOW_MODAL);\n\t\tstagePrimary.setTitle(\"Mostra Pagadores\");\n\t\tstagePrimary.setMinWidth(900);\n\t\tstagePrimary.setMaxWidth(900);\n\t\tstagePrimary.setMaxHeight(900);\n\t\t\n\t\t// ---------------------- Linha 1\n\t\ttbvPagadoresAtivos = new TableView<Pagadores>();\n\t\tdadosPagadores = cadastrados.carregaPagadores();\n\t\ttbvPagadoresAtivos = tablePagadoresAtivos(dadosPagadores);\n\t\ttbvPagadoresAtivos.getSelectionModel().selectedItemProperty().addListener((v, oldValue, newValue) -> tbvPagadoresAtivos_Change());\n\t\t\n\t\tpaneLinha1 = new HBox(tbvPagadoresAtivos);\n\t\tpaneLinha1.setPrefHeight(400);\n\t\tpaneLinha1.setPrefWidth(850);\n\t\tpaneLinha1.setPadding(new Insets(30,0,0,30));\n \n\t\t// ----------------------- Linha 2\n\t\tlblFonte = new Label(\"Fonte Pagadora : \");\n\t\tlblFonte.setFont(Font.font(\"Arial\", 16));\n\t\tlblFonte.setPrefWidth(150);\n\t\t\n\t\tlblPagFonte = new Label(\"\");\n\t\tlblPagFonte.setFont(Font.font(\"Arial\", 16));\n\t\tpaneLinha2 = new HBox(lblFonte,lblPagFonte);\n\t\tpaneLinha2.setPadding(new Insets(30, 0, 50, 30));\n\t\t\n\t\t// -------------------------\n\t\tgrupo = Ini.loadProps(\"CentroReceb\", \"RecCen\"); // passar esta linha para baixo\n\t\t\n\t\tpanePrimary = new VBox(paneLinha1, paneLinha2);\n\t\tscenePrimary = new Scene(panePrimary);\n\t\tstagePrimary.setScene(scenePrimary);\n\t\tstagePrimary.showAndWait();\n\t}",
"public abstract String visualizar();",
"void display()\r\n\t{\r\n\t\tSystem.out.println(\"bikeid=\"+bikeid+\" bike name==\"+bikename);\r\n\t}",
"@Override\n\tpublic void getThongTin() {\n\t\tSystem.out.print(\"Ghế \");\n\t\tvatlieu.getMoTa();\n\t}",
"@Override\n\tpublic void view() {\n\t\t\n\t}",
"public void VolverVentana(View view){\n Intent volver = new Intent(this, MainActivity.class);\n startActivity(volver);\n }",
"public void showNoeudByClick() {\r\n\t\tSystem.out.print(\"Cliquez votre noeud: \");\r\n\t\tNoeud noeud = getNoeudByClick();\r\n\t\tthis.dessin.setColor(Color.RED);\r\n\t\tthis.dessin.putText(noeud.getLongitude(), noeud.getLatitude(), noeud.toString());\t\r\n\t\tSystem.out.println(noeud);\r\n\t}",
"public interface MvpView {\n\n void SnakBarId(int msg);\n\n void SnakBarString(String msg);\n void SnakBarStringSucc(String msg);\n void SnakBarStringFail(String msg);\n\n void progresShow(boolean load);\n void progresCancel(boolean cancel);\n\n\n}",
"public void display() {\r\n\t\tArrayList<String> vnames = new ArrayList<>(vces.keySet());\r\n\t\tfor (String vname : vnames) {\r\n\t\t\tString str = vname + \" => \";\r\n\t\t\tVertex vtx = vces.get(vname);\r\n\r\n\t\t\tArrayList<String> nbrnames = new ArrayList<>(vtx.nbrs.keySet());\r\n\t\t\tfor (String nbrname : nbrnames) {\r\n\t\t\t\tstr += nbrname + \"[\" + vtx.nbrs.get(nbrname) + \"], \";\r\n\t\t\t}\r\n\r\n\t\t\tSystem.out.println(str + \".\");\r\n\t\t}\r\n\t}",
"private void mostrarEmenta (){\n }",
"void agregarVotoPlayLIst(Voto voto) throws ExceptionDao;",
"public void ShowPosInfo(int index){\n\n //\tJT_rollno.setText(BindList().get(index).getRollno());\n JT_name.setText(BindList().get(index).getName());\n JT_category.setText(BindList().get(index).getCategory());\n JT_year.setText(BindList().get(index).getYear());\n JT_sponsor.setText(BindList().get(index).getSponsor());\n //JT_mob.setText(BindList().get(index).getMob());\n //JT_emailid.setText(BindList().get(index).getEmailid());\n }",
"@Override\n\tpublic void show() {\n\t\tcontainer = new Table();\n//\t\tcontainer.background(skin.getDrawable(\"darkenWorld\"));\n\t\tcontainer.setSize(width, height);\n\t\t\n\t\tdarken = new Image(skin.getDrawable(\"darkenWorld\"));\n\t\tdarken.setSize(width, height);\n\t\t\n\t\ttimer.start();\n\t\t\n\t\ttrainingBag = new TrainingBag(width, height);\n\t\t\n\t\tBitmapFont font = new BitmapFont(Gdx.files.internal(\"fontSmall-export.fnt\"),\n\t\t Gdx.files.internal(\"fontSmall-export.png\"), false);\n\t\t\n\t\t\n\t\tLabelStyle labelStyle = new LabelStyle();\n\t\tlabelStyle.font = font;\n\t\t\n\t\ttimeLeft = new Label(timeString + \" 20\", labelStyle);\n\t\ttimeLeft.setPosition(width - timeLeft.getWidth(), height - timeLeft.getHeight());\n\t\t\n\t\thits = new Label(hitsString + \"0\" + amountString, labelStyle);\n\t\thits.setPosition(0, height - timeLeft.getHeight());\n\t\t\n\t\t\n\t\tcontainer.row();\n\t\tcontainer.add(trainingBag);\n\t\t\n\t\tgroup.addActor(darken);\n\t\tgroup.addActor(container);\n\t\tgroup.addActor(timeLeft);\n\t\tgroup.addActor(hits);\n\t}",
"@Override // Métodos que fazem a anulação\n\tpublic void vota() {\n\t\t\n\t}",
"public static void main(String[] args)\n\t{\n\t\tVentana v = new Ventana();\n\t\t// Damos tamaño a la ventana\n\t\tv.setSize(400, 200);\n\t\t// Hacemos visible la ventana\n\t\tv.setVisible(true);\n\t\t// La hacemos no redimensionable\n\t\tv.setResizable(false);\n\t}",
"public ventanaServidor () { //Constructor\n setBounds(500,200,400,300); //define ubicacion en x, y , ancho, alto del cuadro\n JPanel lamina2 = new JPanel ();\n lamina2.setLayout(new BorderLayout());\n setResizable(false); //evitar que la ventana se redimencione\n setTitle(\"Servidor\");\n setVisible(true); //mostrar en pantalla\n \n \n }",
"void LienaDivisoria(){\r\n \t\r\n VerticalLayout LayoutLineaDivisoria = new VerticalLayout();\r\n LayoutLineaDivisoria.setWidth(\"1024px\");\r\n LayoutLineaDivisoria.setHeight(\"5px\");\r\n LayoutLineaDivisoria.setStyleName(EstiloCSS + \"LayoutLineaDicisoria\");\r\n layout.addComponent(LayoutLineaDivisoria, \"left: 0px; top: 450px;\"); \r\n\r\n }",
"public TelaFimDeJogo() {\n initComponents();\n gerenciador.pegaJogadorDaRodada();\n mensagemBaixo.setForeground(gerenciador.pegaJogadorDaRodada().getColor());\n mensagemCima.setForeground(gerenciador.pegaJogadorDaRodada().getColor());\n mensagemCima.setText(\"PARABÉNS JOGADOR \" + gerenciador.pegaJogadorDaRodada().getNomeCor().toUpperCase() + \", VOCÊ VENCEU!!\");\n }",
"@Override\r\n\tpublic void trunOn() {\n\t\tSystem.out.println(\"끄다\");\r\n\t}",
"@Override\r\n\tpublic void show() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void show() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void show() {\n\t\t\r\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"public void mostraDados() {\n System.out.println(\"O canal atual é: \" + tv.getCanal());\n System.out.println(\"O volume atual é: \" + tv.getVolume());\n System.out.println(\"--------------------------------------\");\n }"
]
| [
"0.63565624",
"0.610558",
"0.59946495",
"0.5911207",
"0.5875492",
"0.58704853",
"0.58654654",
"0.58617264",
"0.5850475",
"0.5835929",
"0.58347154",
"0.5799119",
"0.5796253",
"0.57574797",
"0.57555",
"0.573677",
"0.57272094",
"0.572118",
"0.5696788",
"0.5689428",
"0.5674572",
"0.5658768",
"0.56422186",
"0.56386214",
"0.5632305",
"0.56207174",
"0.56137323",
"0.5595692",
"0.5581969",
"0.558107",
"0.55789053",
"0.5567813",
"0.55625033",
"0.55625033",
"0.55625033",
"0.554413",
"0.553562",
"0.55299014",
"0.5527987",
"0.5524059",
"0.5517367",
"0.55147564",
"0.55081046",
"0.55010283",
"0.5500236",
"0.5474644",
"0.5473065",
"0.5469906",
"0.5466253",
"0.5465399",
"0.5452503",
"0.54522",
"0.54497916",
"0.54488903",
"0.54472727",
"0.54446656",
"0.54310536",
"0.5430272",
"0.5427874",
"0.5418562",
"0.54185146",
"0.54170334",
"0.5414053",
"0.5413274",
"0.54100317",
"0.54043305",
"0.539995",
"0.5397153",
"0.53961486",
"0.5395852",
"0.5388067",
"0.538756",
"0.53846234",
"0.53844285",
"0.5381403",
"0.53807336",
"0.5380214",
"0.53776795",
"0.5372631",
"0.5372252",
"0.5371673",
"0.5368871",
"0.53644633",
"0.53644633",
"0.53644633",
"0.5363156",
"0.5363156",
"0.5363156",
"0.5363156",
"0.5363156",
"0.5363156",
"0.5363156",
"0.5363156",
"0.5363156",
"0.5363156",
"0.5363156",
"0.5363156",
"0.5363156",
"0.5363156",
"0.5363156",
"0.53572583"
]
| 0.0 | -1 |
Created by huhui on 2017/12/4. | public interface BodyChangeDao {
BodyChange insert(BodyChange item);
List<BodyChange> query(BodyChange item);
void update(BodyChange item);
void delete(BodyChange item);
} | {
"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\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 comer() {\n\t\t\n\t}",
"private static void cajas() {\n\t\t\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}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"public final void mo51373a() {\n }",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"private void poetries() {\n\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"public void mo38117a() {\n }",
"public void mo4359a() {\n }",
"@Override\n\tprotected void interr() {\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 public void init() {\n\n }",
"@Override\n public void memoria() {\n \n }",
"@Override\n\tpublic void nghe() {\n\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n protected void initialize() {\n\n \n }",
"private void strin() {\n\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\n void init() {\n }",
"@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 kk12() {\n\n\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n public void init() {\n }",
"private void init() {\n\n\t}",
"@Override\n protected void getExras() {\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\n\tpublic void einkaufen() {\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"public void mo6081a() {\n }",
"private Rekenhulp()\n\t{\n\t}",
"@Override\n\tpublic void jugar() {\n\t\t\n\t}",
"Petunia() {\r\n\t\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\n public void init() {\n\n }",
"@Override\n public void init() {\n\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 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 }",
"private void m50366E() {\n }",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void init() {}",
"@Override\n\tpublic void emprestimo() {\n\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}",
"@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}",
"public void mo55254a() {\n }",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n protected void init() {\n }",
"@Override\r\n\tpublic void init() {}",
"private void init() {\n\n\n\n }",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"void berechneFlaeche() {\n\t}",
"@Override\n public int describeContents() { return 0; }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"public Pitonyak_09_02() {\r\n }",
"public void Tyre() {\n\t\t\r\n\t}",
"@Override\n\tpublic void init()\n\t{\n\n\t}",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"protected boolean func_70814_o() { return true; }",
"@Override\n\tpublic void init() {\n\t}",
"public void mo12930a() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"public void baocun() {\n\t\t\n\t}"
]
| [
"0.61636144",
"0.6075055",
"0.5863244",
"0.5862687",
"0.5862687",
"0.5858016",
"0.5852642",
"0.57735246",
"0.57511383",
"0.5719338",
"0.57013124",
"0.56729686",
"0.566446",
"0.5662652",
"0.5658032",
"0.5657187",
"0.56427747",
"0.5640243",
"0.5638284",
"0.56135803",
"0.5594748",
"0.55847067",
"0.55696917",
"0.5558788",
"0.5558788",
"0.55459666",
"0.5544202",
"0.5542387",
"0.5533061",
"0.5499962",
"0.5489024",
"0.54852575",
"0.54691213",
"0.54644895",
"0.5453263",
"0.544777",
"0.544777",
"0.544777",
"0.544777",
"0.544777",
"0.5446873",
"0.54443187",
"0.5441035",
"0.5432239",
"0.5430856",
"0.542429",
"0.542429",
"0.542429",
"0.542429",
"0.542429",
"0.542429",
"0.542429",
"0.5423859",
"0.5410617",
"0.54028416",
"0.53920025",
"0.5391305",
"0.53770846",
"0.5376684",
"0.5360598",
"0.5360598",
"0.53520596",
"0.53520596",
"0.53520596",
"0.5345746",
"0.5345746",
"0.5345746",
"0.5345746",
"0.5345746",
"0.5345746",
"0.5345712",
"0.53382146",
"0.5329359",
"0.5326898",
"0.53253263",
"0.53253263",
"0.53253263",
"0.5323714",
"0.5323714",
"0.5323714",
"0.5307992",
"0.53066725",
"0.5300224",
"0.52969825",
"0.5294263",
"0.5292713",
"0.5292537",
"0.52919394",
"0.5290361",
"0.5290343",
"0.5290343",
"0.52667373",
"0.52657264",
"0.52630633",
"0.52568287",
"0.52435017",
"0.52429813",
"0.52371436",
"0.523606",
"0.52303547",
"0.5229587"
]
| 0.0 | -1 |
/ working ?? need to explore more | private void deleteFun() throws IOException {
String jsonObject = "{\"age\":10,\"dateOfBirth\":1471455886564,\"fullName\":\"Johan Doe\"}";
IndexRequest indexRequest = new IndexRequest("people");
indexRequest.source(jsonObject, XContentType.JSON);
IndexResponse response = client.index(indexRequest, RequestOptions.DEFAULT);
String id = response.getId();
System.out.println("id = " + id);
GetRequest getRequest = new GetRequest("people");
getRequest.id(id);
GetResponse getResponse = client.get(getRequest, RequestOptions.DEFAULT);
System.out.println(getResponse.getSourceAsString());
DeleteRequest deleteRequest = new DeleteRequest("people");
deleteRequest.id(id);
DeleteResponse deleteResponse = client.delete(deleteRequest, RequestOptions.DEFAULT);
System.out.println("deleteResponse = " + deleteResponse.toString());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static void cajas() {\n\t\t\n\t}",
"public void gored() {\n\t\t\n\t}",
"private void strin() {\n\n\t}",
"public void mo38117a() {\n }",
"private void kk12() {\n\n\t}",
"public void mo4359a() {\n }",
"public static void listing5_14() {\n }",
"public void verliesLeven() {\r\n\t\t\r\n\t}",
"protected boolean func_70814_o() { return true; }",
"Operations operations();",
"private stendhal() {\n\t}",
"public static void listing5_16() {\n }",
"private void poetries() {\n\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 smell() {\n\t\t\n\t}",
"public void skystonePos6() {\n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"private void searchFunction() {\n\t\t\r\n\t}",
"public void stg() {\n\n\t}",
"public void mo21877s() {\n }",
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void anular() {\n\n\t}",
"public void mo55254a() {\n }",
"private static void displayHelp(){\n System.out.println(\"1. (R)eport\");\n System.out.println(\"2. (M)inimum Spanning Tree\");\n System.out.println(\"3. (S)hortest Path from i j\");\n System.out.println(\"4. (D)own i j\");\n System.out.println(\"5. (U)p i j\");\n System.out.println(\"6. (C)hange Weight i j x\");\n System.out.println(\"7. (E)ulerian\");\n System.out.println(\"8. (Q)uit\");\n }",
"public void mo9848a() {\n }",
"public static void listing5_15() {\n }",
"void mo57278c();",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"void mo57277b();",
"public void skystonePos4() {\n }",
"public void mo6081a() {\n }",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"public void mo12930a() {\n }",
"public void skystonePos5() {\n }",
"public void mo3376r() {\n }",
"@Override\n\tprotected void getExras() {\n\n\t}",
"public void mo68520e() {\n super.mo68520e();\n C26780aa.m87959a(this.itemView, mo75290r(), this.f77546j);\n C24942al.m81837c(mo75261ab(), this.f89221bo);\n C24958f.m81905a().mo65273b(this.f77546j).mo65266a(\"result_ad\").mo65276b(\"otherclick\").mo65283e(\"video\").mo65270a(mo75261ab());\n }",
"void find_it () {\n xt = 210; yt = 105; fact = 50.0;\n if (viewflg != VIEW_FORCES) zoom_slider_pos_y = 50;\n current_part.spanfac = (int)(2.0*fact*current_part.aspect_rat*.3535);\n xt1 = xt + current_part.spanfac;\n yt1 = yt - current_part.spanfac;\n xt2 = xt - current_part.spanfac;\n yt2 = yt + current_part.spanfac;\n \n }",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"static void feladat9() {\n\t}",
"public void redibujarAlgoformers() {\n\t\t\n\t}",
"private void level7() {\n }",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"public void mo97908d() {\n }",
"void mo21076g();",
"@Override\n public void func_104112_b() {\n \n }",
"public void mo12628c() {\n }",
"protected java.util.List x (java.lang.String r19){\n /*\n r18 = this;\n r0 = r18;\n r2 = r0.K;\n r0 = r19;\n r2 = r2.getAllSortStackTraces(r0);\n r2 = (java.util.List) r2;\n if (r2 == 0) goto L_0x000f;\n L_0x000e:\n return r2;\n L_0x000f:\n r12 = java.util.Collections.emptyList();\n r2 = r18.bp();\n r3 = r18.TaskHandler(r19);\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n r4 = r2.setDrawable(r3);\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n if (r4 != 0) goto L_0x0026;\n L_0x0021:\n r18.bq();\n r2 = r12;\n goto L_0x000e;\n L_0x0026:\n r13 = r2.getScaledMaximumFlingVelocity(r3);\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n r14 = new java.io.ByteArrayOutputStream;\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n r2 = 2048; // 0x800 float:2.87E-42 double:1.0118E-320;\n r14.<creatCallTask>(r2);\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n com.duokan.core.io.getTriangleEdge.setDrawable(r13, r14);\t Catch:{ all -> 0x00f2 }\n r2 = r14.toByteArray();\t Catch:{ all -> 0x00f2 }\n r2 = com.duokan.kernel.DkUtils.decodeSimpleDrm(r2);\t Catch:{ all -> 0x00f2 }\n r3 = new java.lang.String;\t Catch:{ all -> 0x00f2 }\n r4 = \"UTF-8\";\n r3.<creatCallTask>(r2, r4);\t Catch:{ all -> 0x00f2 }\n r2 = new org.json.JSONObject;\t Catch:{ all -> 0x00f2 }\n r2.<creatCallTask>(r3);\t Catch:{ all -> 0x00f2 }\n if (r2 != 0) goto L_0x0055;\n L_0x004a:\n com.duokan.core.io.getTriangleEdge.setDrawable(r13);\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n com.duokan.core.io.getTriangleEdge.setDrawable(r14);\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n r18.bq();\n r2 = r12;\n goto L_0x000e;\n L_0x0055:\n r3 = \"pictures\";\n r15 = com.duokan.reader.common.getPhysicalYPixels.setDrawable(r2, r3);\t Catch:{ all -> 0x00f2 }\n r16 = new java.util.ArrayList;\t Catch:{ all -> 0x00f2 }\n r2 = r15.length();\t Catch:{ all -> 0x00f2 }\n r0 = r16;\n r0.<creatCallTask>(r2);\t Catch:{ all -> 0x00f2 }\n r2 = 0;\n L_0x0067:\n r3 = r15.length();\t Catch:{ all -> 0x00f2 }\n if (r2 >= r3) goto L_0x00d0;\n L_0x006d:\n r3 = r15.getJSONObject(r2);\t Catch:{ all -> 0x00f2 }\n r4 = \"sm_md5\";\n r7 = r3.getString(r4);\t Catch:{ all -> 0x00f2 }\n r4 = \"sm_url\";\n r6 = r3.getString(r4);\t Catch:{ all -> 0x00f2 }\n r4 = \"sm_size\";\n r8 = r3.getLong(r4);\t Catch:{ all -> 0x00f2 }\n r4 = \"width\";\n r10 = r3.getInt(r4);\t Catch:{ all -> 0x00f2 }\n r4 = \"height\";\n r11 = r3.getInt(r4);\t Catch:{ all -> 0x00f2 }\n r3 = new java.lang.StringBuilder;\t Catch:{ all -> 0x00f2 }\n r3.<creatCallTask>();\t Catch:{ all -> 0x00f2 }\n r0 = r19;\n r3 = r3.append(r0);\t Catch:{ all -> 0x00f2 }\n r4 = \".\";\n r3 = r3.append(r4);\t Catch:{ all -> 0x00f2 }\n r3 = r3.append(r2);\t Catch:{ all -> 0x00f2 }\n r4 = r3.toString();\t Catch:{ all -> 0x00f2 }\n r5 = new java.lang.String;\t Catch:{ all -> 0x00f2 }\n r3 = new java.lang.StringBuilder;\t Catch:{ all -> 0x00f2 }\n r3.<creatCallTask>();\t Catch:{ all -> 0x00f2 }\n r17 = \"file:///stuffs/\";\n r0 = r17;\n r3 = r3.append(r0);\t Catch:{ all -> 0x00f2 }\n r3 = r3.append(r7);\t Catch:{ all -> 0x00f2 }\n r3 = r3.toString();\t Catch:{ all -> 0x00f2 }\n r5.<creatCallTask>(r3);\t Catch:{ all -> 0x00f2 }\n r3 = r18;\n r3 = r3.setDrawable(r4, r5, r6, r7, r8, r10, r11);\t Catch:{ all -> 0x00f2 }\n r0 = r16;\n r0.add(r3);\t Catch:{ all -> 0x00f2 }\n r2 = r2 + 1;\n goto L_0x0067;\n L_0x00d0:\n r0 = r18;\n r2 = r0.K;\t Catch:{ all -> 0x00f2 }\n r0 = r19;\n r1 = r16;\n r2.putIfAbsent(r0, r1);\t Catch:{ all -> 0x00f2 }\n r0 = r18;\n r2 = r0.K;\t Catch:{ all -> 0x00f2 }\n r0 = r19;\n r2 = r2.getAllSortStackTraces(r0);\t Catch:{ all -> 0x00f2 }\n r2 = (java.util.List) r2;\t Catch:{ all -> 0x00f2 }\n com.duokan.core.io.getTriangleEdge.setDrawable(r13);\t Catch:{ Throwable -> 0x0106, all -> 0x0101 }\n com.duokan.core.io.getTriangleEdge.setDrawable(r14);\t Catch:{ Throwable -> 0x0106, all -> 0x0101 }\n r18.bq();\n goto L_0x000e;\n L_0x00f2:\n r2 = move-exception;\n com.duokan.core.io.getTriangleEdge.setDrawable(r13);\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n com.duokan.core.io.getTriangleEdge.setDrawable(r14);\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n throw r2;\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n L_0x00fa:\n r2 = move-exception;\n r2 = r12;\n L_0x00fc:\n r18.bq();\n goto L_0x000e;\n L_0x0101:\n r2 = move-exception;\n r18.bq();\n throw r2;\n L_0x0106:\n r3 = move-exception;\n goto L_0x00fc;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.duokan.reader.domain.bookshelf.jv.MyContextWrapper(java.lang.String):java.util.List\");\n }",
"public void method_4270() {}",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"public abstract String mo9239aw();",
"public static final java.lang.String m133282a(com.p280ss.android.ugc.aweme.draft.model.C27311c r1) {\n /*\n java.lang.String r0 = \"draft\"\n kotlin.jvm.internal.C7573i.m23587b(r1, r0)\n boolean r0 = r1.mo70215ad()\n if (r0 == 0) goto L_0x001a\n com.ss.android.ugc.aweme.shortvideo.edit.model.EditPreviewInfo r1 = r1.mo70214ac()\n if (r1 == 0) goto L_0x0017\n java.lang.String r1 = r1.getDraftDir()\n if (r1 != 0) goto L_0x0019\n L_0x0017:\n java.lang.String r1 = \"\"\n L_0x0019:\n return r1\n L_0x001a:\n com.ss.android.ugc.aweme.photomovie.PhotoMovieContext r0 = r1.f72034c\n boolean r0 = com.p280ss.android.ugc.aweme.storage.p1640b.C41902b.m133264a(r0)\n if (r0 == 0) goto L_0x002b\n com.ss.android.ugc.aweme.draft.model.b r1 = r1.f72031S\n java.lang.String r1 = r1.f71951O\n if (r1 != 0) goto L_0x002a\n java.lang.String r1 = \"\"\n L_0x002a:\n return r1\n L_0x002b:\n com.ss.android.ugc.aweme.draft.model.b r1 = r1.f72031S\n java.lang.String r1 = r1.f71951O\n java.lang.String r1 = com.p280ss.android.ugc.aweme.shortvideo.WorkSpace.Workspace.m122803a(r1)\n if (r1 != 0) goto L_0x0037\n java.lang.String r1 = \"\"\n L_0x0037:\n return r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.p280ss.android.ugc.aweme.storage.p1640b.C41911c.m133282a(com.ss.android.ugc.aweme.draft.model.c):java.lang.String\");\n }",
"protected void mo6255a() {\n }",
"public Demo2(String searchname)\r\n {\r\n //树图正向\r\n //获取owl文件 解析成树图形式 这里是正向 \t\r\n \tOWLReGtreeConverter retreeConverter = new OWLReGtreeConverter(OWL_FILE,true, searchname,\"tree\");\r\n \t//得到树类型对象rmgree\r\n \trm_gtree =retreeConverter.getGraph();\r\n \t//得到display对象rgtreeDisp\r\n \tGraphDisplay2 rgtreeDisp = new GraphDisplay2(rm_gtree, GRAPH_DISTANCE_FILTER,rm_gtree.getFocusindex(),1,\"\");\r\n \t//得到panel\r\n \tm_rgtreePanel = new GraphPanel2(rgtreeDisp, LEGEND, HOPS_CONTROL_WIDGET);\r\n// \t//树反向图\r\n// \tOWLGraphConverter treeConverter = new OWLGraphConverter(OWL_FILE, true,searchname,\"tree\");\r\n// \tm_gtree =treeConverter.getGraph();\r\n// GraphDisplay2 gtreeDisp = new GraphDisplay2(m_gtree, GRAPH_DISTANCE_FILTER,m_gtree.getFocusindex(),1,\"backward\");\r\n// m_gtreePanel = new GraphPanel2(gtreeDisp, LEGEND, HOPS_CONTROL_WIDGET);\r\n////网络图反向\r\n// OWLGraphConverter graphConverter = new OWLGraphConverter(OWL_FILE, true,searchname,\"graph\");\r\n// m_graph = graphConverter.getGraph();\r\n// GraphDisplay graphDisp = new GraphDisplay(m_graph, GRAPH_DISTANCE_FILTER,m_graph.getFocusindex(),0,\"backward\");\r\n// m_graphPanel = new GraphPanel(graphDisp, LEGEND, HOPS_CONTROL_WIDGET);\r\n// //网络图正向\r\n// \tOWLReGtreeConverter regraphConverter = new OWLReGtreeConverter(OWL_FILE,true, searchname,\"graph\");\r\n// rm_graph = regraphConverter.getGraph();\r\n// GraphDisplay rgraphDisp = new GraphDisplay(rm_graph, GRAPH_DISTANCE_FILTER,rm_graph.getFocusindex(),0,\"\");\r\n// rm_graphPanel = new GraphPanel(rgraphDisp, LEGEND, HOPS_CONTROL_WIDGET);\r\n // Create the tabbed pane which contains the the home tab, the tree tabs\r\n // and the graph tabs.\r\n //添加applet菜单\r\n\r\n m_tabbedPane = new JTabbedPane();\r\n \r\n //定义按钮graph以及tree的说明 快捷键Alt+G\r\n m_tabbedPane.addTab(\"正向树图\", m_rgtreePanel);\r\n m_tabbedPane.setToolTipTextAt(0, \"正向树图..\");\r\n m_tabbedPane.setMnemonicAt(0, KeyEvent.VK_R);\r\n \r\n// //定义按钮tree以及tree的说明 快捷键Alt+T\r\n// m_tabbedPane.addTab(\"反向树图\", m_gtreePanel);\r\n// m_tabbedPane.setToolTipTextAt(1, \"反向树图..\");\r\n// m_tabbedPane.setMnemonicAt(1, KeyEvent.VK_T);\r\n////// //定义按钮home以及home的说明 快捷键Alt+H\r\n// m_tabbedPane.addTab(\"反向网图\", m_graphPanel);\r\n// m_tabbedPane.setToolTipTextAt(2, \"反向网图..\");\r\n// m_tabbedPane.setMnemonicAt(2, KeyEvent.VK_H);\r\n// \r\n// m_tabbedPane.addTab(\"正向网图\", rm_graphPanel);\r\n// m_tabbedPane.setToolTipTextAt(3, \"正向网图..\");\r\n// m_tabbedPane.setMnemonicAt(3, KeyEvent.VK_H);\r\n \r\n // Create the frame which shows the application.\r\n //为图像展示创建框架\r\n m_frame = new JFrame(\"OWL2Prefuse v1.2 | Demo application\");\r\n m_frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n // m_frame.setJMenuBar(getMenuBar());\r\n m_frame.add(m_tabbedPane);\r\n m_frame.pack();\r\n m_frame.setExtendedState(JFrame.MAXIMIZED_BOTH);\r\n m_frame.setVisible(true);\r\n \r\n // Create the file chooser.\r\n m_fc = new JFileChooser();\r\n }",
"public abstract String mo9751p();",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"public void mo21793R() {\n }",
"String processing();",
"private boolean Verific() {\n\r\n\treturn true;\r\n\t}",
"public void skystonePos3() {\n }",
"@Override\n protected void getExras() {\n }",
"void mo21073d();",
"private void b044904490449щ0449щ() {\n /*\n r7 = this;\n r0 = new rrrrrr.ccrcrc;\n r1 = new java.lang.StringBuilder;\n r1.<init>();\n r2 = r7.bнн043Dннн;\n r2 = com.immersion.aws.analytics.ImmrAnalytics.b044C044C044C044Cьь(r2);\n r2 = r2.getFilesDir();\n r1 = r1.append(r2);\n r2 = java.io.File.separator;\n r1 = r1.append(r2);\n L_0x001b:\n r2 = 1;\n switch(r2) {\n case 0: goto L_0x001b;\n case 1: goto L_0x0024;\n default: goto L_0x001f;\n };\n L_0x001f:\n r2 = 0;\n switch(r2) {\n case 0: goto L_0x0024;\n case 1: goto L_0x001b;\n default: goto L_0x0023;\n };\n L_0x0023:\n goto L_0x001f;\n L_0x0024:\n r2 = \"3HC4C-01.txt\";\n r1 = r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n r0.load();\n L_0x0034:\n r1 = r0.size();\n if (r1 <= 0) goto L_0x007a;\n L_0x003a:\n r1 = r0.peek();\n r2 = new rrrrrr.rcccrr;\n r2.<init>();\n r3 = r7.bнн043Dннн;\n r3 = com.immersion.aws.analytics.ImmrAnalytics.b044Cь044C044Cьь(r3);\n monitor-enter(r3);\n r4 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r4 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r4);\t Catch:{ all -> 0x0074 }\n r4 = r4.bЛ041B041BЛ041BЛ;\t Catch:{ all -> 0x0074 }\n r5 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r5 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r5);\t Catch:{ all -> 0x0074 }\n r5 = r5.b041B041B041BЛ041BЛ;\t Catch:{ all -> 0x0074 }\n r6 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r6 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r6);\t Catch:{ all -> 0x0074 }\n r6 = r6.bЛЛЛ041B041BЛ;\t Catch:{ all -> 0x0074 }\n monitor-exit(r3);\t Catch:{ all -> 0x0074 }\n r1 = r2.sendHttpRequestFromCache(r4, r5, r6, r1);\n if (r1 == 0) goto L_0x0077;\n L_0x0069:\n if (r4 == 0) goto L_0x0077;\n L_0x006b:\n if (r5 == 0) goto L_0x0077;\n L_0x006d:\n r0.remove();\n r0.save();\n goto L_0x0034;\n L_0x0074:\n r0 = move-exception;\n monitor-exit(r3);\t Catch:{ all -> 0x0074 }\n throw r0;\n L_0x0077:\n r0.save();\n L_0x007a:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: rrrrrr.cccccr.b044904490449щ0449щ():void\");\n }",
"void mo67924c();",
"@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}",
"public abstract void mo70713b();",
"@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 ligar() {\n\t\t\n\t}",
"public void Tyre() {\n\t\t\r\n\t}",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"public void mo21779D() {\n }",
"public abstract void bepaalGrootte();",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"private void manual() {\n State q1 = new State(\"q1\", \"ID\");\n State q2 = new State(\"q2\", \"IF\");\n State q3 = new State(\"q3\", \"ID\");\n State q4 = new State(\"q4\", \"CONSTANTE\");\n State q5 = new State(\"q5\", \"ABRE_PARENTESES\");\n State q6 = new State(\"q6\", \"FECHA_PARENTESES\");\n State q7 = new State(\"q7\", \"OPERADOR_MAIOR\");\n State q8 = new State(\"q8\", \"OPERADOR_MENOR\");\n State q9 = new State(\"q9\", \"OPERADOR_DIFERENTE\");\n State q10 = new State(\"q10\", \"ID\");\n State q11 = new State(\"q11\", \"ID\");\n State q12 = new State(\"q12\", \"ID\");\n State q13 = new State(\"q13\", \"ID\");\n State q14 = new State(\"q14\", \"BEGIN\");\n State q15 = new State(\"q15\", \"ID\");\n State q16 = new State(\"q16\", \"ID\");\n State q17 = new State(\"q17\", \"END\");\n State q18 = new State(\"q18\", \"ESPACO\");\n State q19 = new State(\"q19\", \"ID\");\n State q20 = new State(\"q20\", \"ID\");\n State q21 = new State(\"q21\", \"ELSE\");\n\n // IF\n q0.put(\"[i]\", q1);\n q1.put(\"[f]\", q2);\n q1.put(\"[^\\\\Wf]\", q3);\n q2.put(\"[\\\\w]\", q3);\n\n // ID\n q0.put(\"[^\\\\Wbei0-9_]\", q3);\n q3.put(\"[\\\\w]\", q3);\n\n // CONSTANTE\n q0.put(\"[\\\\d]\", q4);\n q4.put(\"[\\\\d]\", q4);\n\n // ABRE_PARENTESES\n q0.put(\"[(]\", q5);\n\n // ABRE_PARENTESES\n q0.put(\"[)]\", q6);\n\n // OPERADOR_MAIOR\n q0.put(\"[>]\", q7);\n\n // OPERADOR_MENOR\n q0.put(\"[<]\", q8);\n\n // OPERADOR_DIFERENTE\n q0.put(\"[#]\", q9);\n\n // BEGIN\n q0.put(\"[b]\", q10);\n q10.put(\"[e]\", q11);\n q11.put(\"[g]\", q12);\n q12.put(\"[i]\", q13);\n q13.put(\"[n]\", q14);\n q10.put(\"[^\\\\We]\", q3);\n q11.put(\"[^\\\\Wg]\", q3);\n q12.put(\"[^\\\\Wi]\", q3);\n q13.put(\"[^\\\\Wn]\", q3);\n q14.put(\"[\\\\w]\", q3);\n\n // END\n q0.put(\"[e]\", q15);\n q15.put(\"[n]\", q16);\n q16.put(\"[d]\", q17);\n q15.put(\"[^\\\\Wnl]\", q3);\n q16.put(\"[^\\\\Wd]\", q3);\n q17.put(\"[\\\\w]\", q3);\n\n // ELSE\n q15.put(\"[l]\", q19);\n q19.put(\"[s]\", q20);\n q20.put(\"[e]\", q21);\n q19.put(\"[^\\\\Ws]\", q3);\n q20.put(\"[^\\\\We]\", q3);\n q21.put(\"[\\\\w]\", q3);\n\n // ESPACO\n q0.put(\"[\\\\s]\", q18);\n }",
"@Override\n\tpublic void nghe() {\n\n\t}",
"public abstract int mo9754s();",
"public abstract void mo56925d();",
"public void mo21794S() {\n }",
"private void level6() {\n }",
"public static void hvitetest1w(){\r\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"public void mo21791P() {\n }",
"public void think() {\n\t\t\n\t}",
"public void mo21785J() {\n }",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"void mo41083a();",
"private static PohonAVL seimbangkanKembaliKanan(PohonAVL p) {\n //...\n // Write your codes in here\n }",
"public void furyo ()\t{\n }",
"public void mo3749d() {\n }",
"public void mo21782G() {\n }",
"public void mo5382o() {\n }"
]
| [
"0.5930778",
"0.5622956",
"0.55912006",
"0.5532744",
"0.5530062",
"0.5493049",
"0.54592973",
"0.54320073",
"0.54135466",
"0.5406912",
"0.5367334",
"0.53475296",
"0.5336092",
"0.53123367",
"0.53123367",
"0.53123367",
"0.53123367",
"0.53123367",
"0.53123367",
"0.53123367",
"0.5307301",
"0.52910364",
"0.5281023",
"0.5260561",
"0.52592844",
"0.5248437",
"0.52374977",
"0.5222917",
"0.5221403",
"0.51870865",
"0.51857483",
"0.5182822",
"0.51805896",
"0.517058",
"0.51601684",
"0.51584",
"0.5155267",
"0.5142298",
"0.51280254",
"0.5120422",
"0.5114588",
"0.5112393",
"0.51101965",
"0.5105734",
"0.50786567",
"0.5078594",
"0.5068225",
"0.50664717",
"0.50642735",
"0.5061967",
"0.50573176",
"0.5049186",
"0.50405663",
"0.5040117",
"0.50398684",
"0.5039135",
"0.50387543",
"0.5032339",
"0.5029125",
"0.50234705",
"0.5014831",
"0.5012512",
"0.50059676",
"0.50030977",
"0.5001641",
"0.498943",
"0.49888098",
"0.4985573",
"0.49791202",
"0.4974825",
"0.49684322",
"0.49658313",
"0.49648333",
"0.49530628",
"0.49495345",
"0.49495345",
"0.49445364",
"0.4943771",
"0.49429595",
"0.49423534",
"0.494054",
"0.49372458",
"0.49317762",
"0.49305153",
"0.49289963",
"0.49268496",
"0.49250615",
"0.49219558",
"0.4916307",
"0.49110743",
"0.49093875",
"0.49069947",
"0.49001744",
"0.48992884",
"0.4896785",
"0.48967004",
"0.48958114",
"0.48950985",
"0.4895072",
"0.48941258",
"0.48884994"
]
| 0.0 | -1 |
protected boolean encrypted = false; | public Delivery(Signer from, Signer to, ItemComponent[] payload) {
super(from, to, payload);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setEncrypted(Boolean encrypted) {\n this.encrypted = encrypted;\n }",
"@Override\n\tpublic boolean isEncrypted() {\n\t\treturn encrypted;\n\t}",
"public Boolean getEncrypted() {\n return this.encrypted;\n }",
"public Boolean isEncrypted() {\n return this.isEncrypted;\n }",
"@Override\n\tpublic boolean isNeedEncrypt() {\n\t\treturn false;\n\t}",
"public Boolean isEncrypted() {\n return this.encrypted;\n }",
"private void setEncryptionRequested(boolean encrypt) {\n }",
"public abstract void setEncryptMode();",
"final void setEncryption(boolean required)\r\n {\r\n requires_ENC = required;\r\n }",
"final public boolean requiresEncryption()\r\n {\r\n return requires_ENC;\r\n }",
"protected void setEncrypted() {\n content = this.aesKey.encrypt(this.content);\n }",
"Encryption encryption();",
"public boolean isDbEncrypted();",
"public boolean isLocalEncrypted();",
"public doEncryptNotifdeEncode() {\n\t}",
"@Override\n\tpublic String getEncryptedPassword() {\n\t\treturn null;\n\t}",
"@Override\n\tpublic void setEncryptedPassword(String arg0) {\n\t\t\n\t}",
"public String getEncryptedPassword () {\n return encryptedPassword;\n }",
"public boolean useEncryption()\n {\n return encryptionContext != null && encryptionContext.isEnabled();\n }",
"public EncryptionProperties encryption() {\n return this.encryption;\n }",
"public EncryptionProperties encryption() {\n return this.encryption;\n }",
"public Encryption encryption() {\n return this.encryption;\n }",
"public void setEncryption(Encryption encryption) {\n this.encryption = encryption;\n }",
"public void setEncryptionDescriptor(String descriptor) {\n encrypted = descriptor;\n }",
"public abstract void setDecryptMode();",
"protected void setDecripted() {\n content = this.aesKey.decrypt(this.content);\n }",
"public Encryption getEncryption() {\n return this.encryption;\n }",
"public Encryption getEncryption() {\n return this.encryption;\n }",
"public EncryptionCipherInterface encryptionCipher()\n {\n return this.encryptionCipher;\n }",
"public void setIsRoomEncrypted(boolean isEncrypted) {\n if (mAdapter.mIsRoomEncrypted != isEncrypted) {\n mAdapter.mIsRoomEncrypted = isEncrypted;\n mAdapter.notifyDataSetChanged();\n }\n }",
"public String get_is_EncryptedXML() {\n String retVal = new String(\"<encrypted>\");\n if (getEncryptionScheme().equals(\"NO\")) {\n retVal += \"no encryption\"; }\n else {\n retVal += getEncryptionScheme(); }\n retVal += \"</encrypted>\";\n return retVal;\n }",
"@Override\n\t\tpublic boolean isSecure() {\n\t\t\treturn false;\n\t\t}",
"@Override\n public String encrypt(String s) throws NotInAlphabetException{ \n passwordPos = 0; //initialize to 0\n return super.encrypt(s); //invoke parent\n }",
"private EncryptionUtility(){\r\n\t\treturn;\t\t\r\n\t}",
"@Override\n public void encrypt() {\n algo.encrypt();\n String cypher = vigenereAlgo(true);\n this.setValue(cypher);\n }",
"@Override\n\tpublic boolean isSecure() {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean isSecure() {\n\t\treturn false;\n\t}",
"@Override\n\tpublic void Encrypt(Object key) {\n\n\t}",
"public boolean isSetLoginPassEncrypt() {\n return this.loginPassEncrypt != null;\n }",
"@Override\n public boolean isSecure() {\n return secure;\n }",
"public boolean isSecret() {\r\n \treturn false;\r\n }",
"Update withEncryption(Encryption encryption);",
"public boolean isSecure() {\n return false;\n }",
"public boolean isSecure() {\n return false;\n }",
"public boolean isSecure() {\n return m_Secure;\n }",
"public EnScrypt() {}",
"public String getEncryptedValue() {\n\t\treturn encryptedValue;\n\t}",
"String encryptHiddenField(String value) throws EncryptionException;",
"public void setProtection(boolean value);",
"String decryptHiddenField(String encrypted);",
"@Override\n\tpublic String getEncryptSn() {\n\t\treturn null;\n\t}",
"public Object encryptedCredential() {\n return this.encryptedCredential;\n }",
"public boolean getSecure()\n\t{\n\t\treturn this.secure;\n\t}",
"public void setMediaEncryptionMandatory(boolean m);",
"public java.lang.String getEncryptedData() {\r\n return encryptedData;\r\n }",
"public String getEncryptionMode() {\n return this.encryptionMode;\n }",
"void setProtection(boolean value);",
"@Test\r\n public void testEncrypt()\r\n {\r\n System.out.println(\"encrypt\");\r\n String input = \"Hello how are you?\";\r\n KeyMaker km = new KeyMaker();\r\n SecretKeySpec sks = new SecretKeySpec(km.makeKeyDriver(\"myPassword\"), \"AES\");\r\n EncyptDecrypt instance = new EncyptDecrypt();\r\n String expResult = \"0fqylTncsgycZJQ+J5pS7v6/fj8M/fz4bavB/SnIBOQ=\";\r\n String result = instance.encrypt(input, sks);\r\n assertEquals(expResult, result);\r\n }",
"public String getEncryptionScheme() {\n return encrypted;\n }",
"public void setSecure(boolean mySecure)\n\t{\n\t\tthis.secure = mySecure;\n\t}",
"public CryptObject reencrypt(Ciphertext ciphertext);",
"public boolean isSecure() {\n return secure;\n }",
"public boolean getProtection();",
"public Ebs withEncrypted(Boolean encrypted) {\n setEncrypted(encrypted);\n return this;\n }",
"public DecryptionCipherInterface decryptionCipher()\n {\n return this.decryptionCipher;\n }",
"public synchronized void setEncryptedPassword(String encryptedPassword)\n {\n this.encryptedPassword = encryptedPassword;\n }",
"@Override\n\tpublic void setEncryptSn(String encryptSn) {\n\t\t\n\t}",
"public interface Encryptor {\n void encrypt();\n\n}",
"default Cipher cipher() {\n return null;\n }",
"public void setEncryptedContent(byte[] rgb) {\n rgbEncrypt = rgb;\n }",
"public String encrypt() throws LRException\n\t{\n\t\treturn LUEncrypt.encrypt(getFields(),\n\t\t\t((DataHRecordData)getData()).encryptKey.getStringValue());\n\t}",
"@Override\n public String decrypt(String s) throws NotInAlphabetException{\n passwordPos = 0; //initialize to 0\n return super.decrypt(s); //invoke parent\n }",
"@Override\n default UserpostPrx ice_secure(boolean b)\n {\n return (UserpostPrx)_ice_secure(b);\n }",
"public boolean initNewPassword(){\n \tlong[] seeds = mVehicleBluetooth.setPasswordRandom();\n \tlong time = Calendar.getInstance(//timezone UTC?\n \t\t\t).getTimeInMillis();\n \t\n \tMersenneTwister64 mt64 = new MersenneTwister64();\n \t\n \tmt64.setSeed(seeds);\n \t\n \tlong[] state = mt64.getState();\n \t\n\t\ttry {\n\t\t\tbyte[][] seedCypherText = VehicleSecurity.encrypt(seeds, aesKey);\n\t \tmDatabase.updateSeeds(currentVehicle, seedCypherText, time - (MILLIS_BETWEEN_ROLLOVER*2));\n\t \t\n\t \tbyte[][] stateCypherText = VehicleSecurity.encrypt(state, aesKey);\n\t \tmDatabase.updateState(currentVehicle, stateCypherText, time - (MILLIS_BETWEEN_ROLLOVER*2));\n\t \t\n\t \treloadPasswordStore();\n\t \t\n\t\t} catch (Exception e) {\n\t\t\tLog.v(TAG, \"Encrypt failed on init seeds and reload PW store\");\n\t\t\te.printStackTrace();\n\t\t}\n \t\n \treturn true;\n }",
"public boolean isEncryptionKey()\n {\n int algorithm = publicPk.getAlgorithm();\n\n return ((algorithm == RSA_GENERAL) || (algorithm == RSA_ENCRYPT)\n || (algorithm == ELGAMAL_ENCRYPT) || (algorithm == ELGAMAL_GENERAL));\n }",
"public String getReceptionist_password(){ return receptionist_password;}",
"public DecryptionOutput () { }",
"@Override\n public String toString() {\n System.out.print(super.toString());\n System.out.print(\"This form was encrypted using: \" + encryption);\n return \"\";\n }",
"public void setEncryptionMode(String encryptionMode) {\n this.encryptionMode = encryptionMode;\n }",
"public void setSecure(boolean secure)\n {\n this.secure = secure;\n }",
"public java.lang.String getEncryptedKey() {\n\t\treturn encryptedKey;\n\t}",
"public String getPassword()\n {\n return _password;\n }",
"public void testCaesar(){\n String msg = \"At noon be in the conference room with your hat on for a surprise party. YELL LOUD!\";\n \n /*String encrypted = encrypt(msg, key);\n System.out.println(\"encrypted \" +encrypted);\n \n String decrypted = encrypt(encrypted, 26-key);\n System.out.println(\"decrypted \" + decrypted);*/\n \n \n String encrypted = encrypt(msg, 15);\n System.out.println(\"encrypted \" +encrypted);\n \n }",
"public byte[] getEncTxt() {\n return encTxt;\n }",
"public byte[] getEncTxt() {\n return encTxt;\n }",
"private EncryptionKey() {\n }",
"@Test\n public void testCryptographyNegative()\n {\n byte[] sensitiveBytes = sensitiveString.getBytes();\n byte[] secure = StateUtils.encrypt(sensitiveBytes, externalContext);\n \n secure[secure.length-5] = (byte) 1;\n try\n {\n byte[] insecure = StateUtils.decrypt(secure, externalContext);\n Assertions.assertFalse(Arrays.equals(insecure, sensitiveBytes));\n }\n catch (Exception e)\n {\n // do nothing\n }\n }",
"@Override\n public void decrypt() {\n algo.decrypt();\n String cypher = vigenereAlgo(false);\n this.setValue(cypher);\n }",
"public VigenereCipher(String password) {\n super(Alphabet.DEFAULT); //call to parent with DEFAULT Alphabet\n this.password = password;\n }",
"public String encrypt() {\n StringBuilder encryptedText = new StringBuilder();\n //Make sure the key is valid.\n if (key < 0 || key > 25) {\n Log.d(\"TAG\", \"encrypt: Error in Keu=y \");\n return \"Key Must be 0 : 25\";\n }\n if (plaintext.length() <= 0) {\n Log.d(\"TAG\", \"encrypt: Error in Plain\");\n return \"Error in Plaintext\";\n }\n //Eliminates any whitespace and non alpha char's.\n plaintext = plaintext.trim();\n plaintext = plaintext.replaceAll(\"\\\\W\", \"\");\n if (plaintext.contains(\" \")) {\n plaintext = plaintext.replaceAll(\" \", \"\");\n }\n //Makes sure that all the letters are uppercase.\n plaintext = plaintext.toUpperCase();\n Log.i(\"Caesar\", \"encrypt: plainis : \" + plaintext);\n for (int i = 0; i < plaintext.length(); i++) {\n char letter = plaintext.charAt(i);\n if (charMap.containsKey(letter) && charMap.get(letter) != null) {\n int lookUp = (charMap.get(letter) + key) % 26;\n encryptedText.append(encryptionArr[lookUp]);\n }\n }\n Log.d(\"Caesar.java\", \"encrypt: the Data is \" + encryptedText.toString());\n return encryptedText.toString();\n }",
"public boolean isProtected() {\n\t\treturn isProtected;\n\t}",
"@Override\n\tpublic boolean isSecured() {\n\t\treturn false;\n\t}",
"public String encrypt(String plainText);",
"public String getEncrptPassword() {\n return encrptPassword;\n }",
"public Encryptor(){\n\t\tSecurity.addProvider(new BouncyCastleProvider());\n\t}",
"PasswordProtection protection();",
"public EncryptorReturn encrypt(String in) throws CustomizeEncryptorException;",
"public void setSecure(boolean secure) {\n m_Secure = secure;\n }",
"public String getPassword(){\n return password;\n\t}",
"@Override\npublic String getPassword() {\n\treturn senha;\n}",
"boolean isSetCryptProvider();"
]
| [
"0.79655135",
"0.7954927",
"0.78772014",
"0.77222955",
"0.7679619",
"0.7623316",
"0.73567635",
"0.7292949",
"0.72892237",
"0.71734375",
"0.7133768",
"0.6928598",
"0.69281733",
"0.66835177",
"0.6633175",
"0.66237795",
"0.6605209",
"0.65588653",
"0.65438503",
"0.64788747",
"0.64788747",
"0.6443422",
"0.6431568",
"0.64077103",
"0.63955045",
"0.63628286",
"0.6312776",
"0.6312776",
"0.62918454",
"0.61962324",
"0.61459076",
"0.61411345",
"0.6138825",
"0.61264056",
"0.61024976",
"0.6088465",
"0.6088465",
"0.6078215",
"0.60728985",
"0.60679513",
"0.6062497",
"0.6053116",
"0.59848213",
"0.59848213",
"0.598098",
"0.59764767",
"0.59487706",
"0.59462875",
"0.59277767",
"0.59167904",
"0.5912693",
"0.5888632",
"0.5885188",
"0.58708304",
"0.5860873",
"0.58555627",
"0.58236986",
"0.58160806",
"0.580694",
"0.5803861",
"0.5784491",
"0.57816786",
"0.57740897",
"0.57730216",
"0.5750163",
"0.5732163",
"0.5730645",
"0.5722164",
"0.57019454",
"0.5699258",
"0.56901175",
"0.56710833",
"0.5668632",
"0.5663825",
"0.5662397",
"0.56543976",
"0.56468624",
"0.5620597",
"0.5613958",
"0.5606601",
"0.56061506",
"0.5598677",
"0.5594684",
"0.5594643",
"0.5594643",
"0.5594017",
"0.5593853",
"0.5592468",
"0.5585516",
"0.5578362",
"0.5575889",
"0.5575135",
"0.5574966",
"0.5568257",
"0.5547474",
"0.5546038",
"0.55221045",
"0.54985344",
"0.5478955",
"0.54691",
"0.54683536"
]
| 0.0 | -1 |
Called when connection has been established. | default void onConnect(SessionID sessionID) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void connectionEstablished() {}",
"void connectionCreated();",
"@Override\n\tpublic void connectionReady() {\n\t}",
"void handleConnectionOpened();",
"protected void onConnect() {}",
"@Override\n protected void connectionEstablished()\n {\n peer.resetConnectionClosed();\n\n // send our handshake directly as it doesn't fit into peer message\n // and there is always space in send buffer on new connection\n //enqueue(pmCache.handshake(torrent.getTorrentId(), torrent.getClientId()));\n }",
"@Override\r\n\t\tpublic void onConnect(Connection connection) {\n\r\n\t\t}",
"@Override\n\tprotected void onConnect() {\n\t\tLogUtil.debug(\"server connect\");\n\n\t}",
"public void onConnection();",
"public void onConnectionEstablished() {\n\t\tviewPager.setCurrentItem(Tabs.SCARY_CREEPER.index);\n\t}",
"protected abstract void onConnect();",
"@Override\r\n protected void onConnected() {\n \r\n }",
"@Override\n\tpublic void listenerStarted(ConnectionListenerEvent evt) {\n\t\t\n\t}",
"@Override\r\n public void connectSuccess() {\n super.connectSuccess();\r\n }",
"public abstract void onConnect();",
"abstract void onConnect();",
"@Override\n public void onConnectionInitiated(\n String endpointId, ConnectionInfo connectionInfo) {\n Discoverer.this.eventListener.trigger(EVENT_LOG, \"Connection initiated \" + endpointId);\n Nearby.getConnectionsClient(activity).acceptConnection(endpointId, mPayloadCallback);\n }",
"public void onStart() {\n\t\tnew Thread() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tinitConnection();\n\t\t\t\treceive();\n\t\t\t}\n\t\t}.start();\n\t}",
"@Override\n\tpublic void onOpen( ServerHandshake handshakedata ) {\n\t\tlog.info(\"opened connection\");\n\t\t// if you plan to refuse connection based on ip or httpfields overload: onWebsocketHandshakeReceivedAsClient\n\t}",
"@Override\n\tpublic void onOpen(org.java_websocket.WebSocket conn,\n\t\t\tClientHandshake handshake) {\n\t\t System.out.println(\"有人连接Socket conn:\" + conn);\n\t // l++;\n\t\t logger.info(\"有人连接Socket conn:\" + conn.getRemoteSocketAddress());\n\t\t l++;\n\t\t\n\t}",
"public void connecting() {\n\n }",
"public ConnectionEstablishedEvent(Number projectVersionID, URI interactiveHostURI) {\n super(projectVersionID, interactiveHostURI);\n }",
"@Override\n public void onConnectionEstablished(Connection connection, ConnectionInfo connectionInfo) {\n System.err.println(\"onConnectionEstablished \" + connection.getPid() + \" \" + connectionInfo);\n try {\n send(connection, help.getBytes());\n } catch (Exception e) {\n }\n }",
"@Override\n\tpublic void connectionSucceeded(String message) {\n\t}",
"public void establishConnection() {\n httpNetworkService = new HTTPNetworkService(handler);\n }",
"public void connected() {\n\t\tthis.model.setClient(this);\n\t\tfor (Option o : options) {\n\t\t\to.initiate(this);\n\t\t}\n\t}",
"void onConnectionAdded(SocketConnection connection);",
"@Override\n public void onConnect() {\n connected.complete(null);\n }",
"@Override\n\t\t\tpublic void onOpen(WebSocket conn, ClientHandshake handshake) {\n\t\t\t\tSystem.out.print(\"onOpen\");\n\t\t\t\tif(listener!=null) listener.onMessage(\"onOpen\");\n\t\t\t}",
"public void OnConnectSuccess();",
"private void openConnection(){}",
"void onConnect();",
"public static void doConnect() {\r\n\t\tlogger.info(\"Connecting to server......\");\r\n\t\tChannelFuture future = null;\r\n\t\ttry {\r\n\t\t\tfuture = bootstrap.connect(new InetSocketAddress(host, port));\r\n\t\t\tfuture.addListener(channelFutureListener);\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\t// future.addListener(channelFutureListener);\r\n\t\t\tlogger.warn(\"Closed connection.\");\r\n\t\t}\r\n\r\n\t}",
"@Override\n public void onConnected(Bundle bundle) {\n\n }",
"public void connect() {}",
"@Override\n public void onConnected(Bundle connectionHint) {\n\n Toast.makeText(getApplicationContext(), \"Connected\", Toast.LENGTH_LONG).show();\n }",
"void onConnect(IServerConnection<_ATTACHMENT> connection);",
"protected boolean connectionOpened() {\n\t\treturn connectionOpened;\n\t}",
"void onConnect( );",
"public void initiateConnection() {\n\t\tif (Settings.getRemoteHostname() != null) {\n\t\t\ttry {\n\t\t\t\toutgoingConnection(new Socket(Settings.getRemoteHostname(), Settings.getRemotePort()));\n\t\t\t} catch (IOException e) {\n\t\t\t\tlog.error(\"failed to make connection to \" + Settings.getRemoteHostname() + \":\"\n\t\t\t\t\t\t+ Settings.getRemotePort() + \" :\" + e);\n\t\t\t\tSystem.exit(-1);\n\t\t\t}\n\t\t}\n\t}",
"@Override\n public void onConnectionInitiated(@NonNull String endpointId, @NonNull ConnectionInfo connectionInfo) {\n Log.e(TAG, SUB_TAG+\"Accepted: \" + endpointId + \"\\n\\t\" + connectionHandler.getDeviceName());\n\n endPointNames.put(endpointId, connectionInfo.getEndpointName());\n// connectedUsers.put(endpointId, connectionInfo.getEndpointName());\n MainActivity.makeLog(\"Accepting connection with \"+endpointId+\"/\"+connectionInfo.getEndpointName());\n connectionHandler.getClient().acceptConnection(endpointId, payloadCallback);\n }",
"@Override\r\n\tpublic void connected(Connection connection, ConnectApprove datagram)\r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void connect() {\n\t\t\n\t}",
"@Override\n\tpublic void connect() {\n\t\t\n\t}",
"@ Override\r\n\tpublic void start(Connection connection)\r\n\t{\n\r\n\t}",
"public void setConnectionEstablishedListener()\r\n\t{\r\n\t\tchatModel.getConnectionEstablishedProperty().addListener(\r\n\t\t\t\tnew ChangeListener<Object>()\r\n\t\t\t\t{\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void changed(\r\n\t\t\t\t\t\t\tObservableValue<? extends Object> observable,\r\n\t\t\t\t\t\t\tObject oldValue, Object newValue)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif (chatModel.isConnectionEstablished())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tenableChat();\r\n\t\t\t\t\t\t\tdeconnecterButton.setDisable(false);\r\n\t\t\t\t\t\t\tbuttonConnexion.setDisable(true);\r\n\t\t\t\t\t\t} else\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tdisableChat();\r\n\t\t\t\t\t\t\tbuttonConnexion.setDisable(false);\r\n\t\t\t\t\t\t\tdeconnecterButton.setDisable(true);\r\n\t\t\t\t\t\t\tserver.closeServerSockets();\r\n\t\t\t\t\t\t\tserver.startOpenSocketThread();\r\n\t\t\t\t\t\t\tserver.startReceiveMessageThread();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t});\r\n\t}",
"protected void notifyConnection() {\n connectionListeners.forEach(listener-> listener.connectionChange(this, isConnected()));\n }",
"void onConnected() {\n closeFab();\n\n if (pendingConnection != null) {\n // it'd be null for dummy connection\n historian.connect(pendingConnection);\n }\n\n connections.animate().alpha(1);\n ButterKnife.apply(allViews, ENABLED, true);\n startActivity(new Intent(this, ControlsActivity.class));\n }",
"@Override\n\tprotected void onOpen() {\n\t\tconnectionStore.addUpdateListener(this);\n\t\tupdateOptions();\n\t}",
"public void connect() {\n if (isShutdown)\n return;\n\n setNewConnection(reconnectInternal());\n }",
"public void start() {\n\t\tconnection.start((sender, message) -> message.accept(new Visitor(sender)));\n\t\tloadData();\n\t}",
"public void onConnected() {\n userName = conn.getUsername();\n tellManagers(\"I have arrived.\");\n tellManagers(\"Running {0} version {1} built on {2}\", BOT_RELEASE_NAME, BOT_RELEASE_NUMBER, BOT_RELEASE_DATE);\n command.sendCommand(\"set noautologout 1\");\n command.sendCommand(\"set style 13\");\n command.sendCommand(\"-notify *\");\n Collection<Player> players = tournamentService.findScheduledPlayers();\n for (Player p : players) {\n command.sendCommand(\"+notify {0}\", p);\n }\n conn.addDatagramListener(conn, Datagram.DG_NOTIFY_ARRIVED);\n conn.addDatagramListener(conn, Datagram.DG_NOTIFY_LEFT);\n\n Runnable task = new SafeRunnable() {\n\n @Override\n public void safeRun() {\n onConnectSpamDone();\n }\n };\n //In 2 seconds, call onConnectSpamDone().\n scheduler.schedule(task, 4, TimeUnit.SECONDS);\n System.out.println();\n }",
"protected void doOpenConnection() throws Exception {\n connection.open\n (conn_route, request_spec.context, request_spec.params);\n }",
"void clientReady();",
"@Override\n \tpublic void connectionOpened(NetHandler netClientHandler, MinecraftServer server, INetworkManager manager)\n \t{\n \t}",
"@Override\n public void onConnected(Bundle bundle) {\n\n }",
"@Override\n public void onConnected(Bundle bundle) {\n\n }",
"@Override\n\tpublic void onConnected(Bundle arg0) {\n\t\t\n\t}",
"@Override\n public void Connected() {\n if (strClientSerial != null) {\n LoginInfo_Req();\n }\n }",
"@Override\n\tpublic void onConnected(Bundle arg0) {\n\n\t}",
"@Override\n\tpublic void onConnected(Bundle arg0) {\n\n\t}",
"@Override\n\tpublic void onStart() {\n\n\t\tsuper.onStart();\n\n\t\t/*\n\t\t * Connect the client. Don't re-start any requests here;\n\t\t * instead, wait for onResume()\n\t\t */\n\t\tmLocationClient.connect();\n\t}",
"@Override\n public void onConnected() {\n getLogger().log(Level.FINE,\n \"Connected to {0} and pre-writing\",\n remoteAddress);\n try {\n if (!onChannelPreWrite()) {\n channelExecutor.registerReadWrite(socketChannel, this);\n }\n } catch (IOException e) {\n if (getLogger().isLoggable(Level.FINE)) {\n getLogger().log(Level.FINE,\n // CRC: Update wording?\n \"Error registering for read/write after pre-write: \" +\n \"remoteAddress={0}, error={1}\",\n new Object[] {\n remoteAddress,\n CommonLoggerUtils.getStackTrace(e)});\n }\n shutdown(e.getMessage(), true);\n }\n }",
"@Override\n public void onOpen(WebSocketConnection connection) {\n System.out.println(\"ClientConnected!\");\n clients.add(connection);\n projectIdReference.add(\"\");\n connectionCount++;\n }",
"@Override\n \tpublic void connectionOpened(NetHandler netClientHandler, String server, int port, INetworkManager manager)\n \t{\n \t}",
"public void connect() throws ConnectionFailedException\n {\n isConnected = true;\n }",
"public void getConnection() throws Exception {\n\t\ttry {\n\t\t\tSystem.out.println(\"Waiting for new client!\");\n\n\n\n\t\t\tclient = serverSocket.accept();\n\t\t\tis = client.getInputStream();\n\t\t\tisr = new InputStreamReader(is);\n\t\t\tbr = new BufferedReader(isr);\n\t\t\tos = client.getOutputStream();\n\t\t\tosw = new OutputStreamWriter(os);\n\t\t\tpw = new PrintWriter(osw, true);\n\t\t\tsleep(500);\n\t\t\t//clientkey = getClientKey();\n\t\t\tSystem.out.println(\"Client has connected!\");\n\t\t\t\n\t\t\tGetTimestamp(\"Client Publickey is being stored: \" ) ;\n\t\t\t\n\t\t\tpublicKey = getClientPublicKey();\n\t\t\t\n\t\t\tGetTimestamp(\"Client Publickey is stored: \" ) ;\n\t\t\t\n\t\t\tString tosend = encrypt1(getSharedKey(), getClientPublicKey());\n\t\t\t\n\t\t\tGetTimestamp(\"Client sharedkey is being encrypted: \") ;\n\t\t\t\n\t\t\tGetTimestamp(\"Waiting for Authorization Request from Client: \");\n\t\t\t\n\t\t\t//getclientpublickey();\n\t\t\tgetAUTH_REQUEST();\n\t\t\t//getMessage();\n\n\t\t} catch (IOException | InterruptedException ex) {\n\t\t\tLogger.getLogger(ServerTCP.class.getName()).log(Level.SEVERE, null, ex);\n\t\t}\n\t}",
"@Override\n\tpublic void connectionStateChanged(boolean connected, boolean connectionLost) {\n\t\t\n\t}",
"@OnOpen\n public void onOpen(Session session) {\n System.out.println(\"Socket A: \"+session.getId() + \" has opened a connection\");\n sendMessageToAll(\"User \" + session.getId() + \" has connected\");\n try {\n //stuur naar de client van de sessie 'Connection Established' over TCP.\n session.getBasicRemote().sendText(\"Connection Established\");\n } catch (IOException ex) {\n ex.printStackTrace();\n }\n sessions.add(session);\n }",
"@Override\n public void run() {\n String id = (identifier != \"\") ? identifier : socket.getInetAddress().toString();\n\n LOGGER.info(\"Got connection from \" + id + \".\");\n peerInput = new PeerInput(socket);\n peerInput.start();\n peerOutput = new PeerOutput(socket);\n initialized = true;\n LOGGER.info(\"Initialized connection \" + id);\n peerOutput.run();\n }",
"private void establishConnection() throws IOException {\n\t\tthis.inReader = new BufferedReader(new InputStreamReader(this.conn.getInputStream()));\n\t\tthis.outWriter = new BufferedWriter(new OutputStreamWriter(this.conn.getOutputStream()));\n\t}",
"@Override\n public void onConnected(Bundle connectionHint) {\n //Requires a new thread to avoid blocking the UI\n new SendToDataLayerThread(\"/message_path\", message + \" \" + Calendar.getInstance()).start();\n Log.i(TAG, \"sent, onConnected\" + message);\n Toast.makeText(getApplicationContext(),message,Toast.LENGTH_SHORT).show();\n }",
"@Override\n\t\t\tpublic void contectStarted() {\n\n\t\t\t}",
"@Override\n public void start() {\n long originalSendNextNumber = sendNextNumber;\n sendNextNumber += 1L;\n\n // Send the first part of the handshake\n currentState = SYN_SENT;\n sendWithResend(createPacket(\n 0, // Data size (byte)\n originalSendNextNumber, // Seq number\n 0, // Ack number\n false, // ACK\n true, // SYN\n false // ECE\n ));\n\n // System.out.println(\"3-WAY HANDSHAKE: 0. Sender sent SYN.\");\n\n // Preserve space as this field will never be used\n this.selectiveAckSet = null;\n\n }",
"public void startListeningForConnection() {\n startInsecureListeningThread();\n }",
"@Override\n public void onConnected(@Nullable Bundle bundle) {\n Log.d(TAG, \"onConnected\");\n }",
"public static void openConnection() {\n\t\tarcade.startConnection();\n\t}",
"protected void onConnectionChanged() {\n mConnectionChangedListener.didChange(mConnection);\n }",
"public abstract void handleConnected() throws Exception;",
"public void connectionEstablished(SctpChannel cnx){\n\thistory (\"connectionEstablished\");\n\t_connecting = false;\n\t_createdTime = System.currentTimeMillis ();\n\tmakeId ();\n\t_channel = _sctpChannel = cnx;\n\t_channel.setSoTimeout (_soTimeout);\n\t_sendOutBufferMonitor = _engine.getSendSctpBufferMonitor ();\n\t_sendMeter = _engine.getIOHMeters ().getSendSctpMeter ();\n\t_readMeter = _engine.getIOHMeters ().getReadSctpMeter ();\n\t_sendDroppedMeter = _engine.getIOHMeters ().getSendDroppedSctpMeter ();\n\tcnx.setWriteBlockedPolicy (AsyncChannel.WriteBlockedPolicy.IGNORE);\n\t_toString = new StringBuilder ()\n\t .append (\"SctpClientChannel[id=\").append (_id).append (\", remote=\").append (_remote).append (\", secure=\").append (_secure).append (']')\n\t .toString ();\n\tif (_logger.isEnabledFor (_engine.sctpConnectedLogLevel ()))\n\t _logger.log (_engine.sctpConnectedLogLevel (), _engine+\" : connected : \"+this);\n\tif (_shared){\n\t _engine.getIOHMeters ().getSctpChannelsConnectedMeter ().inc (1);\n\t _engine.getIOHMeters ().getOpenSctpChannelsConnectedMeter ().inc (1);\n\t _engine.getSctpChannels ().put (_id, this);\n\t if (_engine.uniqueSctpConnect ()){\n\t\t// we check that all pending agents are still there\n\t\tList<MuxClient> removed = new ArrayList<> (_connectingAgents.size ());\n\t\tfor (MuxClient agent : _connectingAgents.keySet ()){\n\t\t if (_engine.getMuxClientList ().contains (agent) == false)\n\t\t\tremoved.add (agent);\n\t\t}\n\t\tfor (MuxClient agent : removed){\n\t\t if (_logger.isDebugEnabled ()) _logger.debug (this+\" : agentClosed while connecting : \"+agent);\n\t\t agent.getMuxHandler ().sctpSocketConnected (agent, _id, _connectingAgents.get (agent), null, 0, null, 0, 0, 0, false, _secure, MuxUtils.ERROR_UNDEFINED);\n\t\t agent.getIOHMeters ().getFailedSctpChannelsConnectMeter ().inc (1);\n\t\t _connectingAgents.remove (agent);\n\t\t}\n\t\tif (_connectingAgents.size () == 0){\n\t\t if (_logger.isDebugEnabled ()) _logger.debug (this+\" : closing : no agent\");\n\t\t close (false, true); // the socket input exec will remain the engine thread --> monothreaded\n\t\t return;\n\t\t}\n\t\t_agentsList = new MuxClientList ();\n\t\tfor (MuxClient agent : _connectingAgents.keySet ()){\n\t\t MuxClientState state = new MuxClientState ()\n\t\t\t.stopped (_engine.getMuxClientList ().isDeactivated (agent))\n\t\t\t.connectionId (_connectingAgents.get (agent));\n\t\t agentJoined (agent, state); // consider one day scheduling it in _exec to avoid inlining in connectionEstablished\n\t\t}\n\t\t_connectingAgents = null; // clean\n\t } else {\n\t\tif (_engine.getMuxClientList ().size () == 0){ // checking for _agent to see if it is open is too costly\n\t\t if (_logger.isDebugEnabled ()) _logger.debug (this+\" : agentClosed while connecting : \"+_agent);\n\t\t if (_logger.isDebugEnabled ()) _logger.debug (this+\" : closing : no agent\");\n\t\t close (false, true); // the socket input exec will remain the engine thread --> monothreaded\n\t\t return;\n\t\t}\n\t\t_agentsList = _engine.copyMuxClientList ();\n\t\titerateAgentConnected (_agentsList); // consider one day scheduling it in _exec to avoid inlining in connectionEstablished\n\t }\n\t _agent = null; // clean\n\t} else {\n\t _agent.getIOHMeters ().getSctpChannelsConnectedMeter ().inc (1);\n\t _agent.getIOHMeters ().getOpenSctpChannelsConnectedMeter ().inc (1);\n\t if (_agent.isOpened () == false){\n\t\tclose (false, true); // the socket input exec will remain the agent thread --> monothreaded\n\t\treturn;\n\t }\n\t _agent.getSctpChannels ().put (_id, this);\n\t notifyOpenToAgent (_agent);\n\t}\n\tsetChannelInputExecutor ();\n\t_flowController = new FlowController (_channel, 1000, 10000, _exec); // _exec is set in setChannelInputExecutor\n\n\tif (_reconnect != null)\n\t for (Runnable r: _reconnect) r.run ();\n }",
"private void connected() {\n m_connectionLabel.setBackground(Color.GREEN);\n m_connectionLabel.setText(\"Connected\");\n }",
"@Override\n public void afterConnectionEstablished(WebSocketSession session) {\n System.out.println(\"SocketController: afterConnectionEstablished rad 75\");\n socketService.addSession(session);\n }",
"@Override\n\tprotected void handleServiceConnected()\n\t{\n\t\t\n\t}",
"@Override\r\n public Object connect() {\n if(status()){\r\n //creates thread that checks messages in the network\r\n System.out.println(\"notifying network that connection is good\");\r\n notifyObservers(this);\r\n }\r\n return socket;\r\n }",
"protected void onEndpointConnected(Endpoint endpoint) {}",
"void connected();",
"private Connection() {\n\t\tSystem.out.println(\"--Connection Created--\");\n\t}",
"@Override\n protected void onResume() {\n super.onResume();\n writeLine(\"Connecting...\");\n uart.registerCallback(this);\n uart.connectFirstAvailable();\n }",
"public void onOpen(WebSocket conn);",
"@Override\n\tpublic void connectComplete(boolean reconnect, String serverURI) {\n\t\t\n\t}",
"public void connect();",
"public void connect();",
"public void connect();",
"public void connected() {\n \t\t\tLog.v(TAG, \"connected(): \"+currentId);\n \t\t\tif(mCallback != null){\n \t\t\t\tmCallback.onServiceConnected();\n \t\t\t}\n \t\t\tloadPage(false, null);\n \t\t}",
"private void onConnected() {\n \tmMeshHandler.removeCallbacks(connectTimeout);\n hideProgress();\n\n mConnectTime = SystemClock.elapsedRealtime();\n mConnected = true;\n\n mNavListener = new SimpleNavigationListener(stActivity.getFragmentManager(), stActivity);\n if (mDeviceStore.getSetting() == null || mDeviceStore.getSetting().getNetworkKey() == null) {\n Log.d(\"TEST\", \"TEST\");\n }\n startPeriodicColorTransmit();\n }",
"@Override\n public void connectionLost() {\n }",
"public void openConnection() {\n System.out.println(\"Opening connection...\");\n\n try {\n String HOST = \"192.168.4.1\";\n int PORT = 2323;\n connectionSocket = new Socket(HOST, PORT);\n connectionSocket.setTcpNoDelay(true);\n\n writer = new BufferedWriter(new OutputStreamWriter(new BufferedOutputStream(connectionSocket.getOutputStream())));\n reader = new BufferedReader(new InputStreamReader(connectionSocket.getInputStream()));\n\n System.out.println(\"openConnection(): Success\");\n return;\n } catch (UnknownHostException e) {\n System.out.println(\"UnknownHostException at openConnection()\");\n } catch (IOException e) {\n System.out.println(\"IOException at openConnection()\");\n } catch (Exception e) {\n System.out.println(\"Exception at openConnection()\");\n System.out.println(e.toString());\n }\n\n System.out.println(\"Failed to connect\");\n }",
"protected void onConnected(String topic, long hconv)\n {\n }",
"@Override\n public abstract void connect();",
"@Override\n \tpublic void reconnectionSuccessful() {\n \t}",
"@Override\n public void channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e) {\n Logger.println(\"Connection from: \" + ((InetSocketAddress) ctx.getChannel().getRemoteAddress()).getAddress().getHostAddress()\n \t\t+ \" - Hostname: \" + ((InetSocketAddress) ctx.getChannel().getRemoteAddress()).getHostName());\n }"
]
| [
"0.8492044",
"0.7516248",
"0.74815464",
"0.738944",
"0.71728647",
"0.7161124",
"0.70888954",
"0.70213205",
"0.6942289",
"0.67794085",
"0.6763725",
"0.6748702",
"0.67456067",
"0.6723586",
"0.66949964",
"0.66802084",
"0.6622446",
"0.6601249",
"0.6594747",
"0.6526734",
"0.6514398",
"0.65069187",
"0.6472841",
"0.64484644",
"0.64175564",
"0.64123464",
"0.6408844",
"0.6393422",
"0.63765365",
"0.6374323",
"0.6369887",
"0.6369251",
"0.6330427",
"0.6324835",
"0.63212013",
"0.63171387",
"0.6285783",
"0.6285745",
"0.62813675",
"0.6278262",
"0.6247834",
"0.6233443",
"0.6220233",
"0.6220233",
"0.6217709",
"0.619918",
"0.6192636",
"0.61897784",
"0.6177253",
"0.61574936",
"0.6155688",
"0.614266",
"0.61390936",
"0.6102786",
"0.6090746",
"0.60861224",
"0.60861224",
"0.6083983",
"0.6077545",
"0.60673004",
"0.60673004",
"0.60500926",
"0.60491085",
"0.6048033",
"0.604087",
"0.6038697",
"0.6034331",
"0.60266423",
"0.60227805",
"0.60225165",
"0.6016897",
"0.6008768",
"0.59994775",
"0.5995908",
"0.59927016",
"0.5990044",
"0.598479",
"0.5982834",
"0.5982249",
"0.59711313",
"0.5949129",
"0.5912241",
"0.59005684",
"0.5883677",
"0.5872758",
"0.58662754",
"0.58562964",
"0.58375996",
"0.5836251",
"0.583507",
"0.5831445",
"0.5831445",
"0.5831445",
"0.5821365",
"0.581288",
"0.58115625",
"0.5800369",
"0.57974553",
"0.5796594",
"0.57922137",
"0.5776599"
]
| 0.0 | -1 |
Called when Exception occurs during connection establishment. | default void onConnectException(SessionID sessionID, Exception exception) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void connectionException(Exception exception) {}",
"protected void onConnectionError() {\n\t}",
"public void onConnectionError()\n\t\t{\n\t\t}",
"protected void connectionEstablished() {}",
"@Override\n \tpublic void reconnectionFailed(Exception arg0) {\n \t}",
"@Override\n public void onConnectionFailed(ConnectionResult connectionResult) {\n return;\n }",
"@Override\n public void onConnectionFailed(ConnectionResult connectionResult) {\n }",
"@Override\n public void onConnectionFailed(ConnectionResult result) {\n }",
"private void connectionFailed() {\n // Send a failure message back to the Activity\n Message msg = handler.obtainMessage(SdlRouterService.MESSAGE_LOG);\n Bundle bundle = new Bundle();\n bundle.putString(LOG, \"Unable to connect device\");\n msg.setData(bundle);\n handler.sendMessage(msg);\n\n // Start the service over to restart listening mode\n // BluetoothSerialServer.this.start();\n }",
"void connectFailed();",
"@Override\n public void onConnectionFailed(ConnectionResult conRes) {}",
"@Override\n\tpublic void onConnectionFailed(ConnectionResult arg0) {\n\n\t}",
"@Override\r\n\tpublic void connectionLost(Throwable cause) {\n\t\t\r\n\t}",
"@Override\n public void connectionLost(Throwable cause) {\n\n }",
"@Override\n public void connectionLost(Throwable cause) {\n }",
"@Override\n\tpublic void onConnectionFailed(ConnectionResult arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void onConnectionFailed(ConnectionResult arg0) {\n\t\t\n\t}",
"@Override public void onConnectionFailed(ConnectionResult connectionResult) {\n }",
"public NoConnectionProvidedException() {\n super();\n }",
"@Override\n public void onFailure(@NonNull Exception e) {\n Discoverer.this.eventListener.trigger(EVENT_LOG, \"Fail to request connection: \" + e.getMessage());\n }",
"public void OnConnectionError();",
"@Override\n public void onConnectionFailed(ConnectionResult arg0) {\n }",
"@Override\r\n\tpublic void connectionLost(Throwable t) {\n\t}",
"@Override\n\tpublic void connectionLost(Throwable cause) {\n\t\t\n\t}",
"@Override\n public void onConnectionFailed(ConnectionResult result) {\n }",
"@Override\n public void onConnectionFailed(ConnectionResult connectionResult) {\n\n }",
"@Override\n public void connectionLost(Throwable arg0) {\n\n }",
"private void signalError() {\n Connection connection = connectionRef.get();\n if (connection != null && connection.isDefunct()) {\n Host host = cluster.metadata.getHost(connection.address);\n // Host might be null in the case the host has been removed, but it means this has\n // been reported already so it's fine.\n if (host != null) {\n cluster.signalConnectionFailure(host, connection.lastException());\n return;\n }\n }\n\n // If the connection is not defunct, or the host has left, just reconnect manually\n reconnect();\n }",
"@Override\n\tpublic void onConnectionFailed(ConnectionResult arg0) {\n\t\t// TODO Auto-generated method stub\n\n\t}",
"void connect() throws Exception;",
"private void connectionFailed() {\n if (debugging)\n Log.d(TAG, \"connection Failed\");\n setState(EBluetoothStates.DISCONNECTED);\n if (mConnectionManager != null) {\n mConnectionManager.closeSocket();\n }\n }",
"@Override\n public void connectionLost(Throwable thrwbl) {\n System.out.println(\"服务器的连接丢失\");\n }",
"public NoConnectionProvidedException(Throwable cause) {\n super(cause);\n }",
"@Override\n public void onConnectionFailed(ConnectionResult arg0) {\n\n }",
"@Override\n\t\t\tpublic void connectionLost(Throwable throwable) {\n\t\t\t\tSystem.out.println(\"connectionLost\");\n\t\t\t}",
"@Override\n public void onConnectionFailed(ConnectionResult connectionResult) {\n Log.d(LCAT, \"onConnectionFailed:\" + connectionResult);\n }",
"@Override\n public void onConnectionFailed(ConnectionResult result) {\n\n }",
"@Override\n public void connectionLost(Throwable cause) {\n Log.d(TAG, \"Connection lost\");\n }",
"@Override\n public void onConnectFailed()\n {\n Log.e(\"Dudu_SDK\",\n \"获取NS 业务服务器失败...onConnectFailed ... reconnect()...5 seconds later ...\");\n reconnect();\n if (connectCallBack != null)\n connectCallBack.onConnectFailed();\n }",
"public void connectionLost(Throwable cause) {\n\t}",
"@Override\n\t\t\tpublic void handleSessionEstablishmentError(Throwable error) throws Exception {\n\t\t\t\t\n\t\t\t}",
"@Override\n public void onConnectionFailed(@NonNull ConnectionResult connectionResult) {}",
"@Override\n public void onConnectionFailed(ConnectionResult connectionResult) {\n Log.d(TAG, \"onConnectionFailed:\" + connectionResult);\n }",
"@Override\n public void onConnectionFailed(ConnectionResult connectionResult) {\n Log.d(TAG, \"onConnectionFailed:\" + connectionResult);\n }",
"@Override\n public void onConnectionFailed(ConnectionResult connectionResult) {\n Log.d(TAG, \"onConnectionFailed:\" + connectionResult);\n }",
"@Override\n public void onConnectionFailed(@NonNull ConnectionResult connectionResult) {\n\n }",
"@Override\n public void onConnectionFailed(@NonNull ConnectionResult connectionResult) {\n\n }",
"@Override\n public void connectionLost(Throwable t) {\n System.out.println(\"Connection lost!\");\n // code to reconnect to the broker would go here if desired\n }",
"@Override\n public void onConnectionFailed(@NonNull ConnectionResult result) {\n Fog.i(TAG, \"Connection failed: ConnectionResult.getErrorCode() = \"\n + result.getErrorCode());\n }",
"@Override\n public void onConnectionFailed(@NonNull ConnectionResult result) {\n }",
"public void socketException(PacketChannel pc, Exception ex);",
"@Override\r\n public void connectFailed() {\n super.connectFailed();\r\n Commons.showToast(act, \"连接失败\");\r\n act.dismissLoadDialog();\r\n }",
"@Override\n public void onConnectionFailed(ConnectionResult connectionResult) {\n Log.e(TAG, \"onConnectionFailed: ConnectionResult.getErrorCode() = \" + connectionResult.getErrorCode());\n }",
"@Override\n public void onConnectionFailed(ConnectionResult result) {\n Log.i(\"Feelknit\", \"Connection failed: ConnectionResult.getErrorCode() = \" + result.getErrorCode());\n }",
"@Override\n\t\t\tpublic void onNetworkError() {\n\n\t\t\t}",
"@Override\n public void afterConnectionAcquisitionFailed(InstrumentedConnectionProvider connectionProvider, Throwable exc) {\n connectionMetricReporter.recordAcquisitionFailure(connectionAcquisitionDepth.getValue() == 0, exc);\n }",
"@Override\n protected void onFailureComponentConnectionRequest(PlatformComponentProfile remoteParticipant) {\n System.out.println(\"************ Crypto Addresses -> FAILURE CONNECTION.\");\n checkFailedDeliveryTime(remoteParticipant.getIdentityPublicKey());\n }",
"protected abstract void showConnectError();",
"protected void onConnectionFailed(Endpoint endpoint) {}",
"public void socketError(Exception arg0) {\n\t\t\r\n\t}",
"public interface ExceptionHandler {\r\n void connectionFailed(SocketConnector connector, Exception ex);\r\n }",
"@Override\n public void connectionLost(Throwable t) {\n System.out.println(\"Connection lost!\");\n }",
"public NetworkException() {\n\t\tsuper();\n\t}",
"protected oracle.jdbc.internal.OracleConnection getConnectionDuringExceptionHandling()\n/* */ {\n/* 1183 */ return null;\n/* */ }",
"@Override\n public void onConnectionFailed(ConnectionResult result) {\n Log.i(TAG, \"Connection failed. Error: \" + result.getErrorCode());\n }",
"public UnableToReleaseConnectionException(Throwable throwable)\n {\n super(throwable);\n }",
"void onConnectToNetByIPFailure();",
"@Override\n\t\t\tpublic void onFailure(Throwable caught) {\n\t\t\t\tSC.say(\"服务器连接已中断,请重新登录!\");\n\t\t\t}",
"@Override\n protected void startConnection() throws CoreException {\n }",
"public abstract void handleConnected() throws Exception;",
"@Override\n public void onConnectionFailed(ConnectionResult result) {\n Log.i(TAG, \"Connection failed: ConnectionResult.getErrorCode() = \" + result.getErrorCode());\n }",
"@Override\n public void exception(NHttpServerConnection conn, Exception ex) {\n this.handler.exception(conn, ex);\n }",
"public static ConnectorException handleConnectionError(Throwable error) {\r\n ConnectorException ce = null;\r\n if (error instanceof UnknownHostException || error instanceof ConnectException || error instanceof NoRouteToHostException) {\r\n ce = new ConnectorException(\"Unable to connect to backend\", error); //$NON-NLS-1$\r\n ce.setStatusCode(502); // BAD GATEWAY\r\n } else if (error instanceof InterruptedIOException || error instanceof java.util.concurrent.TimeoutException) {\r\n ce = new ConnectorException(\"Connection to backend terminated. \" + error.getMessage(), error); //$NON-NLS-1$\r\n ce.setStatusCode(504); // GATEWAY TIMEOUT\r\n\r\n }\r\n if (ce != null) {\r\n return ce;\r\n } else {\r\n return new ConnectorException(error.getMessage(), error);\r\n }\r\n }",
"@Override\n public void onConnectionFailed(@NonNull ConnectionResult connectionResult) {\n Log.d(\"mainActivity\", \"onConnectionFailed:\" + connectionResult);\n }",
"@Override\n\t\t\t\t\tpublic void onConnectionFailed(Robot arg0) {\n\n\t\t\t\t\t}",
"public ConnectionException(String pMessage) {\n super(pMessage);\n }",
"protected void doOpenConnection() throws Exception {\n connection.open\n (conn_route, request_spec.context, request_spec.params);\n }",
"@Override\n public void onConnectionFailed(ConnectionResult result) {\n Log.i(TAG, \"Connection failed: ConnectionResult.getErrorCode() = \" + result.getErrorCode());\n }",
"@Override\n public void onConnectionFailed(ConnectionResult result) {\n Log.i(TAG, \"Connection failed: ConnectionResult.getErrorCode() = \" + result.getErrorCode());\n }",
"@Override\n public void onConnectionFailed(ConnectionResult result) {\n Log.i(TAG, \"Connection failed: ConnectionResult.getErrorCode() = \" + result.getErrorCode());\n }",
"@Override\n public void onConnectionFailed(ConnectionResult result) {\n Log.i(TAG, \"Connection failed: ConnectionResult.getErrorCode() = \"\n + result.getErrorCode());\n }",
"@Override\n public void onConnectionFailed(ConnectionResult result) {\n Log.e(TAG, \"Connection failed: ConnectionResult.getErrorCode() = \" + result.getErrorCode());\n }",
"@Override\n\tpublic void onConnectionFailed(ConnectionResult connectionResult) {\n\t\tLog.e(TAG, \"onConnectionFailed: ConnectionResult.getErrorCode() = \"\n\t\t\t\t+ connectionResult.getErrorCode());\n\t\t// TODO(Developer): Check error code and notify the user of error state and resolution.\n\t\tToast.makeText(this,\n\t\t\t\t\"Could not connect to Google API Client: Error \" + connectionResult.getErrorCode(),\n\t\t\t\tToast.LENGTH_SHORT).show();\n\n\t}",
"@Override\r\n public void onConnectionFailed(ConnectionResult result) {\n Log.i(\"onConnectionFailed \", \"Connection failed: ConnectionResult.getErrorCode() = \" + result.getErrorCode());\r\n }",
"private void checkOpened() throws ConnectException {\n if (!opened) throw new ConnectException(\"Client connection not opened\");\n }",
"@Override\npublic void onConnectionFailed(ConnectionResult arg0) {\n\t\n}",
"@Override\n\tpublic void onConnectionFailed(ConnectionResult arg0) {\n\t\tToast.makeText(context, \"Connection Failed\", Toast.LENGTH_SHORT).show();\n\t}",
"public CommunicationException() {\r\n\t\tsuper();\r\n\t}",
"@Override\n public void connectionLost() {\n }",
"public synchronized void connectWithRuntimeException() {\n if (mClosed) {\n throw new FailedPreconditionRuntimeException(\"Failed to connect: client has been closed\");\n }\n try {\n connect();\n } catch (AlluxioStatusException e) {\n throw AlluxioRuntimeException.from(e);\n }\n }",
"@Override\n public void onConnectionFailed(ConnectionResult connectionResult) {\n // Can it be resolved, for example by installing a new version?\n log(\"Connection failed\");\n if (connectionResult.hasResolution()) {\n try {\n // Start an Activity that tries to resolve the error\n log(\"Trying to resolve the error...\");\n connectionResult.startResolutionForResult(\n this, CONNECTION_FAILURE_RESOLUTION_REQUEST);\n } catch (IntentSender.SendIntentException e) {\n log(\"Exception during resolution: \" + e.toString());\n }\n } else {\n // No resolution is available\n showErrorDialog(connectionResult.getErrorCode());\n }\n }",
"public void handleNetworkException(WorkerChore chore, CallNetworkException e);",
"public void connect() throws ConnectionFailedException\n {\n isConnected = true;\n }",
"@Override\n\t\tpublic void onConnectionFailed(ConnectionResult connectionResult) {\n\t if (connectionResult.hasResolution()) {\n\t try {\n\t // Start an Activity that tries to resolve the error\n\t connectionResult.startResolutionForResult(activity, CONNECTION_FAILURE_RESOLUTION_REQUEST);\n\t } catch (IntentSender.SendIntentException e) {\n\t // Log the error\n\t e.printStackTrace();\n\t }\n\t } else {\n\t /*\n\t * If no resolution is available, display a dialog to the\n\t * user with the error.\n\t */\n\n\t }\n\t\t\t\n\t\t}",
"void connect() throws TransportException;",
"@Override\n\t\t\tpublic void onException(Exception arg0) {\n\n\t\t\t}",
"@Override\n public void onConnectionFailed(ConnectionResult result) {\n Log.d(\"SCXTT\", \" onConnectionFailed \" + result.toString());\n\n }",
"public void testConnection() {\n\t\ttry {\n\t\t\tinit();\n\n\t\t} catch (Exception e) {\n\t\t\tif (log.isDebugEnabled())\n\t\t\t\tlog.error(\"Erro teste Conexao \", e);\n\t\t\tthrow new ConnectorException(\"Falha no teste de conexao : \"\n\t\t\t\t\t+ e.getMessage() + \". Check os detalhes da conexao.\");\n\t\t}\n\t}",
"public abstract void connect() throws UnknownHostException, IOException;",
"@Override\n public void onConnectionFailed(ConnectionResult result) {\n Log.i(\"Connection failed:\", \" ConnectionResult.getErrorCode() = \"\n + result.getErrorCode());\n }"
]
| [
"0.7931323",
"0.75646573",
"0.74903196",
"0.710404",
"0.6930894",
"0.69232786",
"0.68617195",
"0.6848217",
"0.6834907",
"0.68196",
"0.68081343",
"0.6806007",
"0.680529",
"0.68050885",
"0.67966354",
"0.67800575",
"0.67800575",
"0.6777934",
"0.6776461",
"0.6773717",
"0.6742876",
"0.6741666",
"0.6738895",
"0.6706353",
"0.6703174",
"0.6691452",
"0.66759443",
"0.66418695",
"0.66320467",
"0.6629894",
"0.6616242",
"0.65987766",
"0.659844",
"0.6598386",
"0.659184",
"0.65724385",
"0.6546399",
"0.6538453",
"0.65377724",
"0.65312755",
"0.65193456",
"0.65121984",
"0.64851296",
"0.64851296",
"0.64851296",
"0.6473803",
"0.6473803",
"0.64728",
"0.64693063",
"0.64333594",
"0.64234245",
"0.6413709",
"0.64027536",
"0.6400959",
"0.6392163",
"0.6390157",
"0.63773763",
"0.63665366",
"0.63654107",
"0.6364031",
"0.6362134",
"0.63489914",
"0.6333407",
"0.63323075",
"0.63266146",
"0.6325081",
"0.6315029",
"0.63096905",
"0.6303162",
"0.6300669",
"0.627769",
"0.626988",
"0.6253907",
"0.6251796",
"0.6250654",
"0.6238132",
"0.62300664",
"0.6226738",
"0.6226738",
"0.6226738",
"0.6219747",
"0.6217673",
"0.6213364",
"0.62003803",
"0.6189386",
"0.61884487",
"0.6174864",
"0.61743855",
"0.6168089",
"0.6165531",
"0.61628383",
"0.61512476",
"0.61461276",
"0.614191",
"0.61340153",
"0.61213696",
"0.6113953",
"0.6109474",
"0.6104825",
"0.6103144"
]
| 0.7039803 | 4 |
Called when connection has been disconnected. | default void onDisconnect(SessionID sessionID) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"abstract protected void onDisconnection();",
"@Override\r\n\t\tpublic void onDisconnect(Connection connection) {\n\r\n\t\t}",
"public void onDisconnected() {\n\t\t\r\n\t}",
"protected void connectionClosed() {}",
"@Override\n\t\tpublic void disconnected() {\n\t\t\tsuper.disconnected();\n\t\t}",
"protected void onDisconnect() {}",
"public void onConnectionClosed() {\r\n\t\tcurrentConnections.decrementAndGet();\r\n\t}",
"public void disconnected(XMPPConnection connection) {}",
"public void onDisconnected() {\r\n // Display the connection status\r\n Toast.makeText(this, \"Disconnected. Please re-connect.\",\r\n Toast.LENGTH_SHORT).show();\r\n }",
"void onDisconnected();",
"@Override\n\tpublic void onDisconnected() {\n\t\t// Display the connection status\n\t\tToast.makeText(this, \"Disconnected. Please re-connect.\", Toast.LENGTH_SHORT).show();\n\t}",
"@Override\n\tpublic void onDisconnected() {\n\t\tmConnectionStatus.setText(R.string.disconnected);\n\t}",
"void handleConnectionClosed();",
"public void disconnected(String reason) {}",
"private void connectionClosed() {\n if (this.state != SessionState.DISCONNECTING) {\n // this came unexpected\n connectionClosed(new VertxException(\"Connection closed\"));\n }\n }",
"@Override\n\tpublic void onDisconnected() {\n\t\t\n\t}",
"@Override\n\tpublic void onDisconnected() {\n\t\t\n\t}",
"@Override\n\tpublic void onDisconnected() {\n\t\t\n\t}",
"public void disconnect() {\r\n\t\tsuper.disconnect();\r\n\t}",
"@Override\n\tpublic void onDisconnected() {\n\n\t}",
"protected void processDisconnection(){}",
"@Override\n\t\t\tpublic void onNetworkDisconnected() {\n\t\t\t\t\n\t\t\t}",
"@Override public void onDisconnected() {\n }",
"public void disconnect(){\n\n\t\tserverConnection.disconnect();\n\t}",
"@Override\r\n\t\t\t\tpublic void onServerDisconnect() {\n\t\t\t\t\tSystem.out.println(\"CONNECTION HAS BEEN LOST.\");\r\n\t\t\t\t}",
"@Override\n public void onDisconnected() {\n }",
"@Override\n public void onChannelDisconnected() {\n ConnectionManager.getInstance().setDisconnectNow(true);\n ((P2PListener)activity).onAfterDisconnect();\n }",
"protected void onDisconnected(long hconv)\n {\n }",
"protected void processDisconnect() {\n\t\tconnected.set(false);\n\t\tsenderChannel = null;\n\t}",
"@Override\n\t\t\tpublic void disconnected() {\n\t\t\t\ttoast(\"IOIO disconnected\");\n\t\t\t}",
"public void onDisconnected() {\n\n }",
"public void onDisconnected() {\n\n }",
"void onDisconnect();",
"void onDisconnect();",
"public void disconnect() {\n\t\tif (con.isConnected()) {\n\t\t\tcon.disconnect();\n\t\t}\n\t}",
"public void disconnect()\n {\n isConnected = false;\n }",
"void onConnectionRemoved(SocketConnection connection);",
"@Override\n\tpublic void connectionClosed() {\n\t}",
"public void onClientDisconnected(Channel channel);",
"public void connectionLost(String channelID);",
"@Override\r\n\t\t\t\tpublic void onServerDisconnect() {\n\t\t\t\t}",
"@Override\r\n\t\t\t\tpublic void onClientDisconnect(ServerConnection sc) {\n\t\t\t\t}",
"@Override\n public void onDisconnected() {\n }",
"public void disconnect() {\t\n\t\t\n\t\ttry {\n\t\t\tconnection.close();\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tSystem.out.println(\"Disconnected\");\n\t}",
"@Override\n\tpublic void onDisconnected() {\n\t\tToast.makeText(context, \"Disconnected. Please re-connect.\",Toast.LENGTH_SHORT).show();\n\t}",
"public void socketDisconnected(PacketChannel pc, boolean failed);",
"public void disconnect() {}",
"public void handleDisconnect(){\r\n consoleAppend(this.getName() + \" disconnected.\");\r\n clientThreads.remove(getIndex(this.getName()));\r\n sendToAll(this.getName() + \" disconnected.\");\r\n sendCTToAll(new ControlToken(ControlToken.REMOVECODE, this.getName()));\r\n }",
"protected void afterDisconnect() {\n // Empty implementation.\n }",
"public void disconnect() {\n if (logger.isActivated()) {\n logger.info(\"Network access disconnected\");\n }\n ipAddress = null;\n }",
"public void disconnect() {\n SocketWrapper.getInstance(mContext).disConnect();\n }",
"@Override\n public void disconnected(final OfficeConnectionEvent event) {\n\n // Make the task executor unavailable.\n taskExecutor.setAvailable(false);\n\n // When it comes from an expected behavior (we have put\n // the field to true before calling a function), just reset\n // the disconnectExpected value to false. When we didn't expect\n // the disconnection, we must restart the office process, which\n // will cancel any task that may be running.\n if (!disconnectExpected.compareAndSet(true, false)) {\n\n // Here, we didn't expect this disconnection. We must restart\n // the office process, canceling any task that may be running.\n LOGGER.warn(\"Connection lost unexpectedly; attempting restart\");\n if (currentFuture != null) {\n currentFuture.cancel(true);\n }\n officeProcessManager.restartDueToLostConnection();\n }\n }",
"@Override\n \tpublic void connectionClosed() {\n \t\t\n \t}",
"@Override\r\n\t\t\t\tpublic void onClientDisconnect(ServerConnection sc) {\n\t\t\t\t\tSystem.out.println(\"CLIENT DISCONNECTED FROM SERVER.\");\r\n\t\t\t\t}",
"@Disconnect\n public void disconnected(AtmosphereResourceEvent event){\n if (event.isCancelled()) {\n logger.info(\"User:\" + event.getResource().uuid() + \" unexpectedly disconnected\");\n } else if (event.isClosedByClient()) {\n logger.info(\"User:\" + event.getResource().uuid() + \" closed the connection\");\n }\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}",
"private void disconnected() {\n m_connectionLabel.setBackground(Color.RED);\n m_connectionLabel.setText(\"Disconnected\");\n }",
"void clientDisconnected(Client client, DisconnectInfo info);",
"public void disconnect() {\n\t\tdisconnect(true);\n\t}",
"public void disconnect() {\n\t\ttry {\n\t\t\tconn.close();\n\t\t\tSystem.out.println(\"切断された/Disconnected\");\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"接続エラーが発生しました/Connection Close Error Occured\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@Override\n public void disconnect() throws IOException\n {\n super.disconnect();\n _reader = null;\n __writer = null;\n _replyLines.clear();\n setState(IMAPState.DISCONNECTED_STATE);\n }",
"public void disconnectedFromHost();",
"public void onDisconnect(IChatComponent reason) {\n\t\tlogger.info(this.getConnectionInfo() + \" lost connection: \" + reason.getUnformattedText());\n\t}",
"public void disconnect() {\n watchDog.terminate();\n synchronized (sync) {\n if (!connections.isEmpty()) {\n while (connections.size() > 0) {\n ThreadConnection tconn = connections.pop();\n try {\n tconn.conn.rollback();\n tconn.conn.close();\n } catch (SQLException e) {\n }\n }\n }\n }\n this.setChanged();\n this.notifyObservers(\"disconnect\");\n }",
"@Override\n\tpublic void disconnect() {\n\t\t\n\t}",
"@Override\n\tpublic void disconnect() {\n\t\t\n\t}",
"public void onDisconnected(ComponentName componentName) {\n disconnect();\n HiLog.info(LOG_LABEL, \"onDisconnected.\", new Object[0]);\n this.mRemote = null;\n processLiveCallWhenServiceDisconnected(componentName);\n Listener listener = this.mListener;\n if (listener != null) {\n listener.onDisconnected(this);\n }\n }",
"public void disconnect() {\n\t\tdisconnect(null);\n\t}",
"@Override\n\tpublic void disconnect() {\n\n\t}",
"@Override\n\tpublic void disconnect() {\n\n\t}",
"@Override\n public void disconnect() {\n super.disconnect();\n if (playStateSubscription != null) {\n playStateSubscription.unsubscribe();\n playStateSubscription = null;\n }\n connected = false;\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 disconnect() {\n\t\t\n\t}",
"@Override\n public void Disconnect() {\n bReConnect = true;\n }",
"protected void onEndpointDisconnected(Endpoint endpoint) {}",
"void onDisconnect(DisconnectReason reason, String errorMessage);",
"private void connectionLost() {\n // Send a failure message back to the Activity\n Message msg = handler.obtainMessage(SdlRouterService.MESSAGE_LOG);\n Bundle bundle = new Bundle();\n bundle.putString(LOG, \"Device connection was lost\");\n msg.setData(bundle);\n handler.sendMessage(msg);\n handler.postDelayed(new Runnable() { //sends this stop back to the main thread to exit the reader thread\n @Override\n public void run() {\n stop();\n }\n }, 250);\n }",
"public void disconnect(){\n\t\tif(player!=null){\n\t\t\tplayer.getConnection().close();\n\t\t\t\n\t\t\t// we get no disconnect signal if we close the connection ourself\n\t\t\tnotifyHandlers(MessageFlag.DISCONNECTED);\n\t\t}\n\t}",
"void onDisconnectFailure();",
"@Override\r\n\tpublic void disconnect();",
"void onConnectionLost();",
"public void onPeerConnectionClosed();",
"public void disconnectSensor() {\n try {\n resultConnection.releaseAccess();\n } catch (NullPointerException ignored) {\n }\n }",
"@Override\n\tpublic void listenerClosed(ConnectionListenerEvent evt) {\n\t\t\n\t}",
"public void disconnectConvo() {\n convo = null;\n setConnStatus(false);\n }",
"void onUserSessionDisconnected(WebSocketConnection connection, Session session, String accountId);",
"@OnClose\n public void end() {\n listener.connectionTerminated();\n Logger.getGlobal().info(\"Connection with \" \n + nickname + \" terminated.\\n\"); //$NON-NLS-1$ //$NON-NLS-2$\n }",
"@Override\n\tpublic void channelInactive(ChannelHandlerContext ctx) throws Exception {\n\t\tsuper.channelInactive(ctx);\n\t\tif(connectListener != null) {\n\t\t\tconnectListener.onDisconnect(ctx.channel());\n\t\t}\n\t}",
"public void disconnectedFrom(ServerDescriptor desc);",
"public void disconnect()\n {\n \tLog.d(TAG, \"disconnect\");\n\n \tif(this.isConnected) {\n \t\t// Disable the client connection if have service\n \t\tif(mLedService != null) {\n \t\t\tthis.disable();\n \t\t}\n \t\t\n \t\t// Unbind service\n mContext.unbindService(mServiceConnection);\n \n this.isConnected = false;\n \t}\n }",
"@Override\n public void disconnect() {\n\n }",
"public synchronized void connectionClosed(Connection con) {\n if (!term) connections.remove(con);\n }",
"@Override\n public void disconnect() throws IOException\n {\n super.disconnect();\n reader = null;\n writer = null;\n lastReplyLine = null;\n replyLines.setSize(0);\n //设置为退出状态\n setState(DISCONNECTED_STATE);\n }",
"@Override\r\n \tpublic void clientDisconnectedCallback(RoMClient client) {\r\n \t\tthis.disconnectClient(client);\r\n \t}",
"@Override\n public void afterConnectionClosed(WebSocketSession session, CloseStatus status) {\n System.out.println(\"SocketController: afterConnectionClosed rad 84\");\n socketService.removeSession(session);\n }",
"@Override\n public void onConnectionTerminated(Connection connection, String reason) {\n System.err.println(\"onConnectionTerminated \" + connection.getPid() + \" Reason \" + reason);\n }",
"void onDisconnect( String errorMsg );",
"void firePeerDisconnected(ConnectionKey connectionKey);",
"@Override\n\tprotected void onNetworkDisConnected() {\n\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}"
]
| [
"0.78942424",
"0.7806365",
"0.7796237",
"0.7784061",
"0.77489716",
"0.77020174",
"0.7673925",
"0.76683074",
"0.75618285",
"0.7477465",
"0.7468693",
"0.7401639",
"0.73988926",
"0.73829365",
"0.7375514",
"0.73417044",
"0.73417044",
"0.73417044",
"0.73257524",
"0.7310935",
"0.7302796",
"0.7290549",
"0.7284097",
"0.72757965",
"0.72723013",
"0.7271606",
"0.72695476",
"0.72574425",
"0.72505534",
"0.7240822",
"0.72248834",
"0.72248834",
"0.72087395",
"0.72087395",
"0.7206001",
"0.72050786",
"0.7195668",
"0.716452",
"0.71239763",
"0.7104464",
"0.7095769",
"0.7092739",
"0.7091469",
"0.7090172",
"0.70865244",
"0.70751595",
"0.7073934",
"0.70679504",
"0.70457137",
"0.7030578",
"0.70232296",
"0.70195645",
"0.700477",
"0.7000722",
"0.69870543",
"0.6979152",
"0.6969438",
"0.69690233",
"0.69668835",
"0.69650346",
"0.6962327",
"0.6955672",
"0.6928026",
"0.69175565",
"0.69143873",
"0.69143873",
"0.6912691",
"0.69017005",
"0.6899644",
"0.6899644",
"0.6896841",
"0.6895333",
"0.68878186",
"0.68855745",
"0.6873875",
"0.6869376",
"0.6868986",
"0.6865281",
"0.68359953",
"0.68321186",
"0.6830916",
"0.6826666",
"0.68245006",
"0.681471",
"0.68120074",
"0.6800932",
"0.679958",
"0.6797866",
"0.6786304",
"0.6782362",
"0.67802083",
"0.67757225",
"0.67603177",
"0.6758351",
"0.6752735",
"0.67520535",
"0.6750905",
"0.67480385",
"0.67218995",
"0.67199856"
]
| 0.6755317 | 94 |
Called when session has been logged on. | default void onLogon(SessionID sessionID) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void loggedInUser() {\n\t\t\n\t}",
"@Override\n public void onLoggedIn() {\n\n }",
"public void sessionStarted() {\n\t\t\r\n\t}",
"@Override\n\tpublic void onExpiration(Session session) {\n\t\tlogger.info(\"onExpiration session created:id= {}, begin at {}\", session.getId(), session.getStartTimestamp());\n\t\tlogger.info(\"currentUser={}\",session.getAttribute(Constants.CURRENT_USER));\n\t}",
"@Override\n public void onLogon(SessionID sessionID) {\n LOG.info(\"Server: onLogon of \" + sessionID);\n }",
"@Override\n public void onLoging() {\n }",
"public void login() {\n\t\tloggedIn = true;\n\t}",
"public void onPlayerLoggedIn() {\n\t\tshowPlayerButtons();\n\t}",
"void markAsUserSession();",
"public static void makeLogged() {\n\t\tMemberSessionFacade.setAttribute(ConfigKeys.LOGGED, \"1\");\n//\t\tControllerUtils.addCookie(ConfigKeys.LOGGED, \"1\");\n\t}",
"@Override\r\n\t\t\t\t\tpublic void onLoginedNotify() {\n\t\t\t\t\t\tTypeSDKLogger.d( \"onLoginedNotify\");\r\n\t\t\t\t\t\thaimaLogout();\r\n\t\t\t\t\t\thaimaLogin();\r\n\t\t\t\t\t}",
"void sessionCreated(SessionEvent se);",
"@Override\n\tpublic void sessionCreated(HttpSessionEvent se) {\n\t\tSystem.out.println(\"HttpSessionListener:sessionCreated\");\n\t}",
"@Override\n\tpublic void onStart(Session session) {\n\t\tlogger.info(\"onStart session created:id= {}, begin at {}\", session.getId(), session.getStartTimestamp());\n\t}",
"private void onSessionStateChange(Session session, SessionState state,\n Exception exception) {\n if (session != currentSession) {\n return;\n }\n\n if (state.isOpened()) {\n // Log in just happened.\n Toast.makeText(getApplicationContext(), \"session opened\",\n Toast.LENGTH_SHORT).show();\n } else if (state.isClosed()) {\n // Log out just happened. Update the UI.\n Toast.makeText(getApplicationContext(), \"session closed\",\n Toast.LENGTH_SHORT).show();\n }\n }",
"public void onStart() {\n super.onStart();\n // Check if user is signed in (non-null) and update UI accordingly.\n FirebaseUser currentUser = mAuth.getCurrentUser();\n if (currentUser!=null)\n this.logIn(currentUser);\n }",
"@Override\n\tpublic void sessionCreated(HttpSessionEvent arg0) {\n\t\t\n\t}",
"public void sessionWillPassivate(HttpSessionEvent arg0) {\n\n\t}",
"public void LogIn() {\n\t\t\r\n\t}",
"void onOpenSession(Session session);",
"public default void sessionCreated(HttpSessionEvent se) {\n }",
"public void sessionCreated(final HttpSessionEvent event) {\n }",
"public void sessionCreated(HttpSessionEvent httpSessionEvent) {\r\n System.out.println(\"sessionCreated method has been called in \"\r\n + this.getClass().getName());\r\n\r\n totalUserCount++;\r\n currentUserCount++;\r\n\r\n ctx = httpSessionEvent.getSession().getServletContext();\r\n\r\n ctx.setAttribute(\"totalusers\", totalUserCount);\r\n ctx.setAttribute(\"currentusers\", currentUserCount);\r\n\r\n }",
"@Override\n public void sessionCreated(HttpSessionEvent event) {\n }",
"private void doLogin() {\r\n\t\tloggedIn = true;\r\n\t\tdoctor.setOnline(1);\r\n\t\t// Set doctor as logged in\r\n\t\tdbAdapter.updateDoctor(doctor);\r\n\t\t// Get a list of currently logged in doctors\r\n\t\tdoctors = dbAdapter.getDoctors(this.doctor);\r\n\t\t// Add listeners to keep the list updated\r\n\t\ttry {\r\n\t\t\teb.addListener(new LogoutListener(this.doctor.getMac(),\r\n\t\t\t\t\tthis.location));\r\n\t\t\teb.addListener(new DeviceDetectedListener());\r\n\t\t\teb.addListener(new DevicedMovedListener());\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO: Handle\r\n\t\t}\r\n\t\tnotifyObservers();\r\n\t}",
"@Override\r\n\tprotected void onLoginSuccess() {\n\t\t\r\n\t}",
"public void sessionCreated(HttpSessionEvent sessionEvent) {\n\t\tHttpSession session = sessionEvent.getSession();\n\t\tDate date = new Date();\n\t\tSystem.out.println(\">>> Created Session : [\" + session.getId() + \"] at [\" + date.toString() + \"] <<<\"); \n\t\tSystem.out.println(\">>> getMaxInactiveInterval : [\" + session.getMaxInactiveInterval() + \" ] <<<\"); \n\t}",
"public void sessionCreated(HttpSessionEvent arg0) {\n\t\t ApplicationContext ctx = WebApplicationContextUtils.getRequiredWebApplicationContext(arg0.getSession().getServletContext());\r\n\t\t RedisUtil ru = (RedisUtil) ctx.getBean(BEANNAME);\t\t \r\n\t\t Jedis je = ru.getConnection();\r\n\t\t //记录当前在线用户数量\r\n\t\t je.incr(CURRENT_USER_COUNT);\r\n\t\t //记录访问过的总人次\r\n\t\t je.incr(ALL_USER_COUNT);\r\n\t\t ru.returnResource(je);\r\n\t}",
"@Override\n\tpublic void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response,\n\t\t\tAuthentication authentication) throws IOException, ServletException {\n\t\t\n\t\tSystem.out.println(request.getRequestedSessionId());\n\t\tHttpSession session = request.getSession();\n\t\t if (session != null ) {\n\t\tSystem.out.println(\"Session ID:\"+session.getId());\n\t\tSystem.out.println(\"Session Creation Time:\"+session.getCreationTime());\n\t\tSystem.out.println(\"Session Max Inactive Time:\"+session.getMaxInactiveInterval());\n\t\tSystem.out.println(\"Session Servlet Context:\"+session.getServletContext());\n\t\tString username = SecurityUtils.getUserName();\n\t\tUserDetails userDetails=userDetailsRepository.findByUserName(username);\n\t\tsession.setAttribute(\"firstName\",userDetails.getFirstName());\n session.setAttribute(\"username\", userDetails.getUserName());\n session.setAttribute(\"firstName\", userDetails.getFirstName());\n session.setAttribute(\"sessionId\", session.getId());\n SecurityUtils.logUserEvent(username,session.getId(),datasource);\n\t\t }\n //set our response to OK status\n\t\t \n\t\t response.setStatus(HttpServletResponse.SC_OK);\n //since we have created our custom success handler, its up to us to where\n //we will redirect the user after successfully login\n\t\t \n\t\t Set<String> roles = AuthorityUtils.authorityListToSet(authentication.getAuthorities());\n\t System.out.println(\"Role:\"+roles.toString()); \n\t\t if (roles.contains(\"ROLE_ADMIN\")) {\n\t \n\t\t\t //redirectStrategy.sendRedirect(request, response, \"/adminHome\");\n\t\t\t response.sendRedirect(\"/gadibhada/home/admin\");\n\t // response.setStatus(HttpServletResponse.SC_OK);\n\t }\n\t\t else if (roles.contains(\"ROLE_USER\")) {\n\t \n\t \t //redirectStrategy.sendRedirect(request, response, \"/userHome\");\n\t \tresponse.sendRedirect(\"/gadibhada/home/user\");\n\t //response.setStatus(HttpServletResponse.SC_OK);\n\t }\n\t\t\n\t}",
"@Override\n\tpublic void sessionCreated(HttpSessionEvent arg0) {\n\t\tlog.info(\"------ sessionListen init------\");\n\t\tlog.info(arg0.getSession().getId());\n\t}",
"public void loggedInSuccessful() {\n\t\tIntent intent = new Intent(this, MainActivity.class);\n\t\tstartActivity(intent);\n\t\tthis.finish();\n\t}",
"public void loginSuccess(@Observes org.jboss.seam.security.events.LoggedInEvent event) {\n try {\n log.info(\"Login successfully for user : \" + event.getUser().getId());\n FacesContext context = FacesContext.getCurrentInstance();\n HttpServletRequest request = (HttpServletRequest) context.getExternalContext().getRequest();\n //Redirect to the home page\n if (identity.hasRole(\"admin\", \"crm\", \"GROUP\")\n || identity.hasRole(\"commercial\", \"crm\", \"GROUP\")) {\n context.getExternalContext().redirect(request.getContextPath() + \"/backoffice/home.jsf\");\n }else if(identity.hasRole(\"client\", \"crm\", \"GROUP\")){\n context.getExternalContext().redirect(request.getContextPath() + \"/frontoffice/home.jsf\");\n }\n //Sending welcome message\n messages.info(\"Bienvenue \"+event.getUser().getId());\n } catch (IOException ex) {\n log.error(ex.getMessage());\n }\n }",
"public void StartLogIn(){\n\t}",
"@Override\r\npublic void sessionWillPassivate(HttpSessionEvent arg0) {\n\t\r\n}",
"public void userLoggedIn(CurrentUser user) \n\t\t{\n\t\t\tLog.i(\"OpenFeint\", \"User logged in\");\t\t\n\t\t\tMainActivity.this.userLoggedIn();\n\t\t}",
"public void userLoggedIn(CurrentUser user) \n\t\t{\n\t\t\tLog.i(\"OpenFeint\", \"User logged in\");\n\t\t\tMainActivity.this.userLoggedIn();\n\t\t}",
"@Override\n\tpublic void onLoginSuccess() {\n\t\t\n\t}",
"public void onConnectSpamDone() {\n loggingIn = false;\n }",
"@Override\n public void listenForLogins() {\n }",
"@Override\n public void onStart() {\n super.onStart();\n // Check if user is signed in (non-null) and update UI accordingly.\n currentUser = firebaseAuth.getCurrentUser();\n firebaseAuth.addAuthStateListener(authStateListener);\n\n\n }",
"@Override\n public void onLogin() {\n toast(\"You are logged in\");\n }",
"@Override\n protected void onStart() {\n super.onStart();\n sendToLogin();\n }",
"public void onServiceConnected() {\r\n \t// Display the list of sessions\r\n\t\tupdateList();\r\n }",
"public void sessionCreated(HttpSessionEvent sessionEvent) {\n HttpSession session = sessionEvent.getSession();\n\n // Store something in the session, and log a message\n try {\n System.out.println(\"[MySessionListener] Session created: \" + session);\n session.setAttribute(\"foo\", \"bar\");\n } catch (Exception e) {\n System.out.println(\"[MySessionListener] Error setting session attribute: \" + e.getMessage());\n }\n }",
"@Override\r\npublic void sessionCreated(HttpSessionEvent arg0) {\n\t\r\n}",
"@Override\n public void onStart() {\n super.onStart();\n // Check if user is signed in (non-null) and update UI accordingly.\n FirebaseUser currentUser = mAuth.getCurrentUser();\n }",
"@Override\n\tpublic void setLoggedIn(boolean arg0) {\n\t\t\n\t}",
"public void onOK() {\n\t\t\t\t\t\t\tlogout();\n\t\t\t\t\t\t}",
"public void sessionOpened(IoSession session) {\n \tSystem.out.println(\"http session open\");\n }",
"@Override\n public void valueBound(HttpSessionBindingEvent arg0) {\n System.out.println(\"在session中保存LoginUser对象(name = \"+ this.getName() +\"), sessionid = \" + arg0.getSession().getId());\n }",
"@Override\n\tprotected void login() {\n\t\tsuper.login();\n\t}",
"@Override\n public void onStart(){\n super.onStart();\n //Check if user is signed in and update UI accordingly\n FirebaseUser currentUser = mAuth.getCurrentUser();\n\n if (currentUser != null){\n //User is signed in\n updateUI(\"User Signed In\");\n }\n else {\n // User is signed out\n updateUI(\"User Signed Out\");\n }\n\n // Check for existing Google Sign In account, if the user is already signed in\n // the GoogleSignInAccount will be non-null.\n GoogleSignInAccount account = GoogleSignIn.getLastSignedInAccount(this);\n if(account != null) {\n accountEmail = account.getEmail();\n updateUI(account.toString());\n }\n }",
"@Pointcut(\"@annotation(com.revature.aspects.LoggedIn)\")\n\tprivate void loggedInHook() {}",
"@Override\r\n\tpublic void MemberLogin() {\n\r\n\t}",
"@Override\r\n\tpublic void login() {\n\t\t\r\n\t}",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Subscribe\n public void onSessionLogEvent(POP3SessionLogEvent event) {\n onSessionMessage(event);\n }",
"@Override\n public void sessionCreated(IoSession session) {\n }",
"public void sessionDidActivate(HttpSessionEvent arg0) {\n\n\t}",
"void onLogout(boolean loggedIn);",
"@Override\r\npublic void sessionDidActivate(HttpSessionEvent arg0) {\n\t\r\n}",
"@Override\n public void run() {\n System.out.println(\"sessionManager.isLoggedIn()\" + sessionManager.isLoggedIn());\n if (sessionManager.isLoggedIn()) {\n i = new Intent(getApplicationContext(), MainActivity.class);\n i.putExtra(\"activity\",\"Launch\");\n startActivity(i);\n } else {\n i = new Intent(getApplicationContext(), LoginActivity.class);\n i.putExtra(\"Name\",\"Launch\");\n startActivity(i);\n }\n finish();\n }",
"@Override\n protected void onStart() {\n checkUserStatus();\n\n super.onStart();\n }",
"@Override\n\tpublic void loginUser() {\n\t\t\n\t}",
"@Override\n \tpublic void clientLoggedIn(NetHandler clientHandler, INetworkManager manager, Packet1Login login)\n \t{\n \t}",
"@Override\n protected void onStart() {\n checkUserStatus();\n super.onStart();\n }",
"@Override\r\n\tpublic void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response,\r\n\t\t\tAuthentication authentication) throws IOException, ServletException {\n\t\t\r\n\t\tHttpSession session = request.getSession();\r\n\t\t\r\n\t\tSystem.out.println(authentication.getName());\r\n\t\tresponse.sendRedirect(\"/test/homepage\");\r\n\t\t\r\n\t}",
"@Override\n\tpublic void onUserNeedLogout() {\n\t\t\n\t}",
"@Override\n\tpublic void onUserNeedLogout() {\n\t\t\n\t}",
"default void onConnect(SessionID sessionID) {\n }",
"public abstract void onLogin();",
"@Override\r\n public void onSign(SignEvent event){\n if (event.getAction().equals(SignEvent.Action.SIGNED_IN)) {\r\n //write cookies if keep signed in\r\n if (event.getAccountKey() != null && !event.getAccountKey().isEmpty()) {\r\n cookie.setAccountKey(Shared.MY_SESSION, event.getAccountKey());\r\n }\r\n //already signed in, load workspace\r\n RootPanel.get().clear();\r\n Widget workspace = new Workspace().asWidget();\r\n RootPanel.get().add(workspace); \r\n Info.display(\"Welcome\", \"Signed in as \" + Shared.MY_SESSION.getAccount().getFullName());\r\n }\r\n //process sign_out\r\n if (event.getAction().equals(SignEvent.Action.SIGN_OUT)){\r\n String accountKey = cookie.getAccountKey(Shared.MY_SESSION);\r\n Shared.RPC.signOutAndDetachSession(Shared.MY_SESSION, accountKey, new AsyncCallback<Session>() {\r\n @Override\r\n public void onSuccess(Session s) {\r\n if (s != null) {\r\n Shared.MY_SESSION = s;\r\n //sign out seems OK on server side, dispatch SIGNED_OUT event\r\n Shared.EVENT_BUS.fireEvent(new SignEvent(SignEvent.Action.SIGNED_OUT)); //WARN: don't dispatch SIGN_OUT avoiding deadlock call\r\n } else {\r\n Info.display(\"Error\", \"Account is already signed out or database error\");\r\n }\r\n }\r\n\r\n @Override\r\n public void onFailure(Throwable caught) {\r\n Info.display(\"Error\", caught.getMessage());\r\n }\r\n });\r\n }\r\n //process signed_out\r\n if (event.getAction().equals(SignEvent.Action.SIGNED_OUT)){\r\n //delete cookies\r\n cookie.discardCookie(Shared.MY_SESSION); \r\n //return UI to welcome status\r\n RootPanel.get().clear();\r\n RootPanel.get().add(new LoginPage()); \r\n Info.display(\"See you\", \"You are now signed out!\");\r\n }\r\n }",
"private void startAuth() {\n if (ConnectionUtils.getSessionInstance().isLoggedIn()) {\n ConnectionUtils.getSessionInstance().logOut();\n } else {\n ConnectionUtils.getSessionInstance().authenticate(this);\n }\n updateUiForLoginState();\n }",
"public void onMotdSent() {\r\n\t\tif (!loggedIn) {\r\n\t\t\tif (adminWindow != null) {\r\n\t\t\t\tadminWindow.setVisible(true);\r\n\t\t\t}\r\n\t\t\tdispose();\r\n\t\t\tloggedIn = true;\r\n\t\t}\r\n\t\t\r\n\t}",
"protected void login() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void onLogin(String username, String password) {\n\r\n\t\t\t}",
"private void notifyUserLoggedInListener(UserLoggedInEvent event) {\r\n \t\tfor (IUserLoggedInListener listener : this.userConnectedListener) {\r\n \t\t\tlistener.userLoggedIn(event);\r\n \t\t}\r\n \t}",
"@Override\n\tpublic void sessionCreated(HttpSessionEvent event) {\n\n\t\tHttpSession session = event.getSession();\n\t\tServletContext application = session.getServletContext();\n\t\tInteger online = (Integer) application.getAttribute(\"online\");\n\t\tif(online != null){\n\t\t\tonline++;\n\t\t}else{\n\t\t\tonline = 1;\n\t\t}\n\t\tapplication.setAttribute(\"online\", online);\n\t}",
"@Override\r\n public boolean beforeViewChange(final ViewChangeEvent event) {\n boolean isLoggedIn = getSession().getAttribute(\"user\") != null;\r\n boolean isLoginView = event.getNewView() instanceof LoginView;\r\n\r\n if (!isLoggedIn && !isLoginView) {\r\n // Redirect to login view always if a user has not yet\r\n // logged in\r\n getNavigator().navigateTo(LoginView.NAME);\r\n return false;\r\n\r\n } else if (isLoggedIn && isLoginView) {\r\n // If someone tries to access to login view while logged in,\r\n // then cancel\r\n return false;\r\n }\r\n \r\n return true;\r\n }",
"public void login () {\n\t\tGPPSignIn.sharedInstance().authenticate();\n\t}",
"public void doLogin() {\n\t\tSystem.out.println(\"loginpage ----dologin\");\n\t\t\n\t}",
"void sessionExpired();",
"public void onLoginFromSession(final int widgetToLoad) {\n loginService.getLoggedUser(new SecuredAsyncCallback<UserDetail>(eventBus) {\n @Override\n public void onSuccess(UserDetail userDetail) {\n Storage.setUserDetail(userDetail);\n loginService.getLoggedBusinessUser(new SecuredAsyncCallback<BusinessUserDetail>(eventBus) {\n @Override\n public void onSuccess(BusinessUserDetail businessUserDetail) {\n Storage.setBusinessUserDetail(businessUserDetail);\n Storage.loadClientAndSupplierIDs();\n GWT.log(\"login from session, user id \" + businessUserDetail.getUserId());\n forwardUserLogin(widgetToLoad);\n }\n });\n\n }\n });\n }",
"public void sessionCreated(IoSession session) {\r\n\t\tServerLogger.log(\"Session created...\" + session, Constants.DEBUG);\r\n\t\tsession.getConfig().setIdleTime(IdleStatus.BOTH_IDLE, 5);\r\n\t}",
"default void onLogout(SessionID sessionID) {\n }",
"@Override\r\n\tpublic void login() {\n\r\n\t}",
"private void logUser() {\n }",
"@Override\n protected void afterAuthenticating() {\n }",
"@Override\n\tpublic void sessionOpened(IoSession session) throws Exception {\n\t\tSystem.out.println(\"Come :\" + session.getRemoteAddress());\n\t\t/*\n\t\t * other operate\n\t\t * */\n\t}",
"@Override\n\tpublic void sessionCreated(HttpSessionEvent httpSessionEvent) {\n\t\tSystem.out.println(\"sessionDestroyed dice: Abriendo session\");\n\t}",
"@Override\n public void onAdded() {\n /**\n * EventsBus: Fetching data.\n */\n EventBus.getDefault().post(new Authenticating());\n }",
"public void sessionCreated(IoSession session) { }",
"@OnOpen\n\tpublic void open(Session session) {\n\t\tsessionHandler.addSession(session);\t\t\n\t}",
"private final static void onLogin(TextField username, PasswordField password)\n\t{\n\t\tif (ProfileManipulation.checkLogin(username.getText(), password.getText())) {\n\t\t\tif (ProfileManipulation.isVerfied(username.getText())) {\n\t\t\t\tProfileManipulation.updateLoginStatus(username.getText(), true);\n\n\t\t\t\t// Jetzt wird das Profil aufgerufen\n\t\t\t\tPartylize.setUsername(username.getText());\n\t\t\t\tPartylize.showMainScene();\n\t\t\t} else {\n\t\t\t\tPartylize.setUsername(username.getText());\n\t\t\t\tPartylize.showVerification();\n\t\t\t}\n\t\t}\n\t\t// Funktionsaufruf Datenbankanbindung -> Erstellen einer Session ID\n\t\t// Funktionsaufruf Profildaten in lokalen Speicher laden - WIP\n\t\telse {\n\t\t\tusername.setText(\"\");\n\t\t\tpassword.setText(\"\");\n\t\t}\n\t}",
"public void logSession(boolean logIn) {\n\t\ttry {\n\n\t\t\tDateFormat df = new SimpleDateFormat(\"'On' MM/dd/yyyy 'at' HH:mm:ss\");\n\t\t\tDate d = new Date();\n\t\t\tBufferedWriter log = new BufferedWriter(new FileWriter(Data.SESSION_LOG, true));\n\n\t\t\ttry {\n\n\t\t\t\tif (logIn) {\n\t\t\t\t\tlog.write(df.format(d) + \", \" + c.getDisplayName() + \" initated a game session.\");\n\t\t\t\t\tc.getLogging().sessionStart = System.currentTimeMillis();\n\t\t\t\t} else {\n\t\t\t\t\tc.getLogging().sessionLength = System.currentTimeMillis() - c.getLogging().sessionStart;\n\n\t\t\t\t\tString sessionLengthFinal = String.format(\"%02d:%02d:%02d\",\n\t\t\t\t\t\t\tTimeUnit.MILLISECONDS.toHours(c.getLogging().sessionLength),\n\t\t\t\t\t\t\tTimeUnit.MILLISECONDS.toMinutes(c.getLogging().sessionLength) - TimeUnit.HOURS\n\t\t\t\t\t\t\t.toMinutes(TimeUnit.MILLISECONDS.toHours(c.getLogging().sessionLength)),\n\t\t\t\t\t\t\tTimeUnit.MILLISECONDS.toSeconds(c.getLogging().sessionLength) - TimeUnit.MINUTES\n\t\t\t\t\t\t\t.toSeconds(TimeUnit.MILLISECONDS.toMinutes(c.getLogging().sessionLength)));\n\n\t\t\t\t\tlog.write(df.format(d) + \", \" + c.getDisplayName() + \" ended their game session (length: \"\n\t\t\t\t\t\t\t+ sessionLengthFinal + \").\");\n\t\t\t\t}\n\n\t\t\t} finally {\n\t\t\t\tlog.newLine();\n\t\t\t\tlog.close();\n\t\t\t}\n\n\t\t} catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t}\n\t}",
"void callbackFBLogged();",
"public void setLoggedIn(boolean loggedIn) {\n this.loggedIn = loggedIn;\n }",
"public void login() {\n\t\tUser user = new User(\"admin\", \"12345678\", Role.ADMIN);\n\t\tuser.setEmail(\"[email protected]\");\n\t\t\n\t\tif(user != null) {\n\t\t\tuserBean.setLoggedInUser(user);\n\t\t\tFacesContext context = FacesContext.getCurrentInstance();\n\t\t\tHttpServletRequest req = (HttpServletRequest)context.getExternalContext().getRequest();\n\t\t\treq.getSession().setAttribute(ATTR_USER, user);\n\t\t}else{\n\t\t\tkeepDialogOpen();\n\t\t\tdisplayErrorMessageToUser(\"Wrong Username/Password. Try again\");\n\t\t}\n\t\t\n\t}",
"@Override\n protected void onFirstUserVisible() {\n }",
"public void handleLogin() {\n\t\tString username = usernameInput.getText();\n\t\tString password = passwordInput.getText();\n\n\t\t// Saves username and password if remember me is ticked\n\t\t// otherwise it deletes the file.\n\t\tif (rememberMeCheckbox.isSelected()) {\n\t\t\twriteRememberMe(username, password);\n\t\t} else {\n\t\t\tclearRememberMe();\n\t\t}\n\n\n\t\ttryUsernamePassword(username, password);\n\t}"
]
| [
"0.761498",
"0.7499068",
"0.7459579",
"0.723292",
"0.72292686",
"0.72271913",
"0.7035033",
"0.6963756",
"0.67983747",
"0.6776629",
"0.67624533",
"0.67376614",
"0.67230266",
"0.6697242",
"0.66916513",
"0.6673581",
"0.6632087",
"0.661402",
"0.6610933",
"0.66074634",
"0.65772814",
"0.65589017",
"0.6551044",
"0.65450037",
"0.6509164",
"0.64998716",
"0.648434",
"0.6476941",
"0.6449771",
"0.64430773",
"0.6423629",
"0.6379232",
"0.63756806",
"0.6362919",
"0.6346473",
"0.6330238",
"0.63157594",
"0.63078797",
"0.6305115",
"0.63023895",
"0.6299035",
"0.62847817",
"0.6260256",
"0.625247",
"0.6248504",
"0.6243052",
"0.62392676",
"0.6227465",
"0.6224795",
"0.62190455",
"0.62059134",
"0.6199881",
"0.61733556",
"0.6172573",
"0.6171956",
"0.61655635",
"0.6160421",
"0.6159117",
"0.6145288",
"0.6133901",
"0.6116624",
"0.6111545",
"0.6104741",
"0.6101752",
"0.609278",
"0.6087743",
"0.60877395",
"0.60525817",
"0.60525817",
"0.60484666",
"0.60471636",
"0.6041034",
"0.60378975",
"0.6033254",
"0.6030876",
"0.60200435",
"0.6011969",
"0.5998415",
"0.59952056",
"0.59898007",
"0.59888494",
"0.59879684",
"0.59870464",
"0.59850925",
"0.5981947",
"0.59761345",
"0.597321",
"0.59655523",
"0.5962578",
"0.59563714",
"0.59557104",
"0.59432137",
"0.59429884",
"0.59425575",
"0.59366345",
"0.5930812",
"0.5929435",
"0.5927307",
"0.59262204",
"0.59221315"
]
| 0.7152776 | 6 |
Called when session has been logged out. | default void onLogout(SessionID sessionID) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void onLogout() {\n ParseUser.logOut();\n\n promptForLogin();\n }",
"@Override\n public void Logout() {\n\t \n }",
"protected void userLoggedOut() {\n\t\tRuvego.userLoggedOut();\n\t\tResultsActivityMenu.userLoggedOut();\n\t\tHistory.newItem(\"homePage\");\n\t}",
"public void onSessionDestroyed() {\n }",
"public void logout(){\r\n\t\tallUser.remove(this.sessionID);\r\n\t\tthis.sessionID = -1;\r\n\t}",
"private void logOut() {\n mApi.getSession().unlink();\n\n // Clear our stored keys\n clearKeys();\n // Change UI state to display logged out version\n setLoggedIn(false);\n }",
"public void Logout() {\n \t\t\t\n \t\t}",
"@Override\n\tpublic void exitSessionUser() {\n\t\tgetThreadLocalRequest().getSession().invalidate();\n\t\t\n\t}",
"public void logout () {\n\t\tif (isLoggedIn()) {\n\t\t\tGPPSignIn.sharedInstance().signOut();\n\t\t\tGPGManager.sharedInstance().signOut();\n\t\t}\n\t}",
"@Override\n public void logout() {\n if (SecurityContextHolder.getContext().getAuthentication() != null) {\n SecurityContextHolder.getContext().setAuthentication(null);\n }\n session.invalidate();\n }",
"public void logout() {\n loggedIn = \"\";\n FacesContext.getCurrentInstance().getExternalContext()\n .getSessionMap().put(\"loggedIn\", \"\");\n }",
"public void logout() {\n getRequest().getSession().invalidate();\n }",
"public void Logout()\n {\n isLoggedIn = false;\n connection.Disconnect(); \n connection = null;\n }",
"void onLogout(boolean loggedIn);",
"@Override\n\tpublic void logOutUser() {\n\t\t\n\t}",
"@Override\r\n\tpublic void logout() {\n\t\t\r\n\t}",
"public void logout() {\n\t\tthis.setCurrentUser(null);\n\t\tthis.setUserLoggedIn(false);\t\t\n\t}",
"private void logout()\r\n {\r\n LogoutRequest request = new LogoutRequest();\r\n request.setUsername(username);\r\n this.sendRequest(request);\r\n }",
"public void logOut() {\n try {\n // getGlobalNavigation().clickSignOut();\n } catch (TimeoutException e) {\n Log.log(\"logOut\", \"page loads for more than 30 seconds\", true);\n }\n }",
"@Override\n\tpublic void logout() {\n\t\tsessionService.setCurrentUserId(null);\n\t}",
"void sessionDestroyed(SessionEvent se);",
"@Override\n\tpublic void logout() {\n\t}",
"@Override\n\tpublic void logout()\n\t{\n\t\tthis.user = null;\n\t}",
"public void sessionDestroyed(HttpSessionEvent httpSessionEvent) {\r\n\r\n System.out.println(\"sessionDestroyed method has been called in \"\r\n + this.getClass().getName());\r\n currentUserCount--;\r\n ctx.setAttribute(\"currentusers\", currentUserCount);\r\n }",
"public void logout(){\n\t\t\n\t\tcurrentUser.logout();\n\t\tcurrentUser = null;\n\t\tchangeViewPort(new GUI_Logout(\"\", \"\", this));\n\t}",
"private void doLogout() {\r\n\t\tdoctor.setOnline(0);\r\n\t\t// Set doctor as logged out\r\n\t\tdbAdapter.updateDoctor(doctor);\r\n\t\t// Release objects and notify observers\r\n\t\tloggedIn = false;\r\n\t\tnotifyObservers();\r\n\t\tdoctors = null;\r\n\t\tdoctor = null;\r\n\t}",
"@Override\n public void logOut() {\n }",
"private void cerrarSession() {\n FirebaseAuth.getInstance().signOut();\n LoginManager.getInstance().logOut();\n Auth.GoogleSignInApi.signOut(googleApiClient).setResultCallback( new ResultCallback<Status>() {\n @Override\n public void onResult(@NonNull Status status) {\n if (status.isSuccess()) {\n logOut();\n } else {\n Toast.makeText(getApplicationContext(),\"Fallo al cerrar session\", Toast.LENGTH_SHORT).show();\n }\n }\n });\n }",
"@Override\n\tpublic void onUserNeedLogout() {\n\t\t\n\t}",
"@Override\n\tpublic void onUserNeedLogout() {\n\t\t\n\t}",
"private void logout() {\n userModel.setLoggedInUser(null);\n final Intent intent = new Intent(this, LoginActivity.class);\n startActivity(intent);\n finish();\n }",
"public void logPlayerOut() {\n if (sessionInfo.isPlayerInParty())\n {\n leaveParty();\n }\n LogDispatcher.getInstance().onLogRequestReceived(new ConcreteSimpleLoggingRequest(LoggingRequest.Severity.INFO, null, \"Logged out\"));\n player.resetValues();\n }",
"private void logout() {\n\t\tParseUser.logOut();\n\n\t\t// Go to the login view\n\t\tstartLoginActivity();\n\t}",
"public void sessionDestroyed(HttpSessionEvent se) {\r\n }",
"public void doLogout() {\n loggedIn = false;\r\n HttpSession session = (HttpSession) FacesContext.getCurrentInstance()\r\n .getExternalContext().getSession(false);\r\n session.invalidate(); \r\n String pag= \"/login.xhtml\";\r\n redireccionar(pag);\r\n }",
"public default void sessionDestroyed(HttpSessionEvent se) {\n }",
"public String logout()\n\t{\n\t\tsession.remove(\"user_name\");\n\t\tsession.remove(\"password\");\n\t\tsession.clear();\n\t\tsession.invalidate();\t\n\t\taddActionMessage(\"You Have Been Successfully Logged Out\");\n\t\treturn SUCCESS;\n\t}",
"public void doLogout() {\r\n\t\tdestroy();\r\n\r\n\t\t/* ++++++ Kills the Http session ++++++ */\r\n\t\t// HttpSession s = (HttpSession)\r\n\t\t// Sessions.getCurrent().getNativeSession();\r\n\t\t// s.invalidate();\r\n\t\t/* ++++++ Kills the zk session +++++ */\r\n\t\t// Sessions.getCurrent().invalidate();\r\n\t\tExecutions.sendRedirect(\"/j_spring_logout\");\r\n\r\n\t}",
"public void logout() {\n \n }",
"public void logoutCurrentUser() {\n mAuth.signOut();\n this.loggedInUser = null;\n }",
"@Override\n\tpublic void sessionDestroyed(HttpSessionEvent httpSessionEvent) {\n\t}",
"public void endSession(){\n currentUser = null;\n ui.returnCard();\n }",
"public void sessionDestroyed(HttpSessionEvent sessionEvent) {\n\t\tHttpSession session = sessionEvent.getSession();\n\t\tDate date = new Date();\n\t\tSystem.out.println(\">>> Destroyed Session : [\" + session.getId() + \"] at [\" + date.toString() + \"] <<<\");\n\t\tSystem.out.println(\">>> getCreationTime : [\" + session.getCreationTime() + \" ] <<<\");\n\t\tSystem.out.println(\">>> getLastAccessedTime : [\" + session.getLastAccessedTime() + \" ] <<<\");\n\t\tSystem.out.println(\">>> getMaxInactiveInterval : [\" + session.getMaxInactiveInterval() + \" ] <<<\"); \n\t}",
"private void _logout() throws SessionException {\n\n if (this._client != null && this._client.isLoggedOn())\n this._client.logout();\n }",
"private void logout() {\n\t\tgetUI().get().navigate(\"login\");\r\n\t\tgetUI().get().getSession().close();\r\n\t}",
"public void sessionDestroyed(HttpSessionEvent se) {\n }",
"public void sessionDestroyed(HttpSessionEvent se) {\n }",
"public void sessionDestroyed(HttpSessionEvent arg0) {\r\n\t}",
"private void signOutUser() {\n mAuth.signOut();\n LoginManager.getInstance().logOut();\n Toast.makeText(ChatMessage.this, \"You have been logout\", Toast.LENGTH_SHORT).show();\n finishAffinity();\n proceed();\n }",
"public void doLogout() {\n mSingleton.getCookieStore().removeUser(mUser);\n mPreferences.setUser(null);\n new ActivityTable().flush();\n\n //update variables\n mUser = null;\n mLogin = false;\n\n //reset drawer\n restartActivity();\n }",
"public static void logout(Context context) \r\n\t{\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\t\r\n\t\t\tcontext.sessionAttribute(\"currentUser\", null);\r\n\t\t\tcontext.redirect(\"/index.html\");\r\n\t\t\t//context.json(new MyCustomResponseMessage(\"You've successfully logged out\", \"success\"));\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\tLogging.error(e);\r\n\t\t}\r\n\t}",
"@RequestMapping(value = \"/logOut\", method = RequestMethod.GET)\n public String logOut(HttpSession session) {\n session.removeAttribute(ModelConstants.PHOTO);\n session.removeAttribute(ModelConstants.NAME_USER);\n session.removeAttribute(ModelConstants.LOGED_AS);\n session.removeAttribute(ModelConstants.IS_ADMIN);\n session.removeAttribute(ModelConstants.PROFILE_ID);\n session.removeAttribute(ModelConstants.LOGIN);\n session.removeAttribute(ModelConstants.ADMIN_EDIT_PROFILE);\n session.removeAttribute(ModelConstants.TEMP_WORKER_ID);\n session.removeAttribute(ModelConstants.TEMP_WORKER);\n session.removeAttribute(ModelConstants.VACATION_VALIDATION);\n session.removeAttribute(ModelConstants.PROFILE);\n return \"redirect:/\";\n }",
"public void logout() throws SessionException{\n\t\t\n\t\tLog.getLogger().info(\"Logging out of session\");\n\t\tRestAPIDelete logout = new RestAPIDelete(\"/session\");\n\t\tlogout.execute(this);\n\t}",
"public void logOut() {\n Logger.d(TAG,\"login#logOut\");\n Logger.d(TAG,\"login#stop reconnecting\");\n //\t\teverlogined is enough to stop reconnecting\n everLogined = false;\n isLocalLogin = false;\n reqLoginOut();\n }",
"@Override\r\n\t\t\tpublic void onLogout() {\n\t\t\t\tshowToast(\"onLogout---\");\r\n\t\t\t}",
"public static Result logout() {\n session().clear();\n flash(\"success\", Messages.get(\"youve.been.logged.out\"));\n return GO_HOME;\n }",
"public static void Logout(){\n\t\tloginSystem();\r\n\t\t\r\n\t}",
"private void logoutUser() {\n\t\tsession.setLogin(false);\n\n\n\t\t// Launching the login activity\n\t\tIntent intent = new Intent(EnterActivity.this, LoginActivity.class);\n\t\tstartActivity(intent);\n\t\tfinish();\n\t}",
"public static void logout(HttpSession session) {\n session.invalidate();\n }",
"@RequestMapping(value=\"/user/logout\", method=RequestMethod.GET)\n\tpublic String logout(HttpSession session)\n\t{\n\t\tint loggedInUserID = (Integer)session.getAttribute(\"loggedInUserId\");\n\t\tfriendDAO.setOffline(loggedInUserID);\n\t\tuserDAO.setOffline(loggedInUserID);\n\t\tsession.invalidate();\n\t\treturn (\"you successfully logged out\");\n\t}",
"@Override\n public void handle(Session session, Player player, LogoutMessage message) {\n player.setLoggedIn(false);\n World.getInstance().unregisterPlayer(player);\n Server.getInstance().unregisterSession(session);\n session.close();\n }",
"public void sessionDestroyed(HttpSessionEvent se) {\n }",
"public void onSignOut() {\n SharedPreferences userPrefs = PreferenceManager.getDefaultSharedPreferences(\n TBLoaderAppContext.getInstance());\n SharedPreferences.Editor editor = userPrefs.edit();\n editor.clear().apply();\n mTbSrnHelper = null;\n mUserPrograms = null;\n }",
"public void userLoggedOut(User user) \n\t\t{\n\t\t\tLog.i(\"OpenFeint\", \"User logged out\");\n\t\t\tMainActivity.this.userLoggedOut();\t\n\t\t}",
"public void userLoggedOut(User user) \n\t\t{\n\t\t\tLog.i(\"OpenFeint\", \"User logged out\");\n\t\t\tMainActivity.this.userLoggedOut();\n\t\t}",
"private void logoutHandler(RoutingContext context) {\n context.clearUser();\n context.session().destroy();\n context.response().setStatusCode(204).end();\n }",
"@Override\r\n\tpublic void onLogout()\r\n\t{\n\r\n\t\tif (accountListener != null)\r\n\t\t{\r\n\t\t\taccountListener.onMmiHeartbeatLogout();\r\n\t\t}\r\n\t\tAirServices.getInstance().stopSelf();\r\n\t\tLog.e(AirAccountManager.class, \"MMI ======================== onLogout =======================\");\r\n\t}",
"public void sessionDestroyed(HttpSessionEvent arg0) {\n\t\tApplicationContext ctx = WebApplicationContextUtils.getRequiredWebApplicationContext(arg0.getSession().getServletContext());\r\n\t\t RedisUtil ru = (RedisUtil) ctx.getBean(BEANNAME);\r\n\t\t Jedis je = ru.getConnection();\r\n\t\t //如果在线 下线,销毁其中一个\r\n\t\t je.decr(CURRENT_USER_COUNT);\r\n\t\t //TODO\r\n\t\t //需要判断如果用户已经登录,那么要修改用户的下线时间\r\n\t\t ru.returnResource(je);\r\n\t}",
"public void logout() {\n if (mAccessToken != null) {\n mSession.resetAccessToken();\n mAccessToken = null;\n }\n }",
"private void signOut() {\n mAuth.signOut();\n }",
"@Override\n\tpublic void sessionDestroyed(HttpSessionEvent se) {\n\t\tSystem.out.println(\"HttpSessionListener:sessionDestroyed\");\n\t}",
"public void logOut() {\n\t\t//Inform the database that the user want to log out\n\t\tdc.logOutPlayer(activity);\n\t\t\n\t\t/*\n\t\t * Call is made to StartActivity, which surely is in the bottom of activity-stack. Add a flag to clear stack\n\t\t * and from StartActivity a call is made to the Login screen and StartActivity is finished. By doing this we\n\t\t * assure that Login screen is at the bottom of the activity-stack and a press on back button, while placed \n\t\t * on Login screen, will result in that the application is closed\n\t\t */\n\t\tIntent intent = new Intent(activity, StartActivity.class);\n\t\tintent.putExtra(\"finish\", true);\n\t\tintent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n\t\tactivity.startActivity(intent);\n\t\tactivity.finish();\n\t}",
"public void onLogout(View v) {\n\t\tRetrofitWrapper.authenticationToken = null;\n\t\t// Forget auth token from storage\n\t\tSharedPreferences prefs = this.getSharedPreferences(\n\t\t\t \"com.example.wordcardapp\", Context.MODE_PRIVATE);\n\t\tprefs.edit()\n\t\t\t.remove(\"com.example.wordcardapp.auth.token\")\n\t\t\t.remove(\"com.example.wordcardapp.auth.expiration\")\n\t\t\t.apply();\n\t\t// Inform user\n\t\tToaster.info(getApplicationContext(), getString(R.string.logout_successful));\n\t\tfinish();\n\t}",
"public void attemptLogout() {\n spEditor.clear();\n spEditor.putBoolean(LOGGEDIN_KEY, false);\n spEditor.commit();\n }",
"private void logout() {\n getSharedPreferences(HELP_CATEGORIES, MODE_PRIVATE).edit().clear().apply();\n getSharedPreferences(LOGIN, MODE_PRIVATE).edit().putBoolean(IS_LOGGED_IN, false).apply();\n\n OkHttpClient client = new OkHttpClient();\n Request request = new Request.Builder()\n .url(URL + \"/nuh/logout\")\n .build();\n AsyncTask.execute(() -> {\n try {\n client.newCall(request).execute();\n } catch (IOException e) {\n e.printStackTrace();\n }\n });\n }",
"private void logoutUser() {\n session.setLogin(false);\n\n db.deleteUsers();\n\n // Launching the login activity\n Intent intent = new Intent(this, Login.class);\n startActivity(intent);\n finish();\n }",
"@Override\n\tpublic ResponseEntity<Deliverer> logOut(HttpSession session) throws NotLoggedInException {\n\t\treturn null;\n\t}",
"private void doLogout() {\n mRtmClient.logout(null);\n MessageUtil.cleanMessageListBeanList();\n }",
"@POST\n @Path(\"/\")\n public Response logout() {\n if (!FeatureFlags.API_SESSION_AUTH.enabled()) {\n return error(Response.Status.INTERNAL_SERVER_ERROR, \"This endpoint is only available when session authentication feature flag is enabled\");\n }\n if (!session.getUser().isAuthenticated()) {\n return error(Response.Status.BAD_REQUEST, \"No valid session cookie was sent in the request\");\n }\n session.setUser(null);\n session.setStatusDismissed(false);\n return ok(\"User logged out\");\n }",
"@Override\n\t@Transactional(propagation = Propagation.REQUIRED)\n\tpublic void logout() {\n\t\t\n\t\tMember member = UserConext.getCurrentMember();\n\t\tmember = this.get(member.getMember_id());\n\t\tThreadContextHolder.getSessionContext().removeAttribute(UserConext.CURRENT_MEMBER_KEY);\n\t\tthis.memberPluginBundle.onLogout(member);\n\t}",
"@Override\r\n\tpublic void userLogout(String login) {\n\r\n\t}",
"public void logOut() {\n sp.edit().clear().commit();\n }",
"private void logout(){\n showLoadingDialog();\n TwitterController.getInstance().logout(logoutCallback);\n }",
"public void signOut() {\n ReusableActionsPageObjects.clickOnElement(driver, signOut, logger, \"log out.\");\n }",
"private void signOut () {\n\n //Normal account sign out\n mAuth.signOut();\n //Google account sign out\n mGoogleSignInClient.signOut();\n updateUI(\"Signed out\");\n //Can't open chat without non-empty accountEmail\n accountEmail = \"\";\n }",
"public static void logout() {\n\t\tif (activeAccount != null) try {\n\t\t\t\n\t\t\tif (authClient != null)\n\t\t\t\tauthClient.logout();\n\t\t\tauthClient = null;\n\t\t\t\n\t\t\tactiveAccount = null;\n\t\t}\n\t\tcatch (IOException ioe) {\n\t\t\tJOptionPane.showMessageDialog(DialogPanel.getTopWindow(), (\"An error occurred while logging out from the GoldenGATE Server at\\n\" + activeAccount.host + \":\" + activeAccount.port + \"\\n\" + ioe.getMessage()), \"Error on Logout\", JOptionPane.ERROR_MESSAGE);\n\t\t}\n\t}",
"public void signOut(){\n mAuth.signOut();\n }",
"private void signOut() {\n mAuth.signOut();\n updateUI(null);\n }",
"public String logout() {\n HttpSession session = Util.getSession();\t//get the current session\n session.invalidate();\t//destroy the session\n return \"logout\";\n }",
"private void logout() {\n LogoutTask mAuthTask = new LogoutTask();\n mAuthTask.execute((Void) null);\n }",
"private void logoutUser() {\n session.setLogin(false);\n\n db.deleteUsers();\n\n // Launching the login activity\n Intent intent = new Intent(EscolhaProjeto.this, LoginActivity.class);\n startActivity(intent);\n finish();\n }",
"@Path(\"logout\")\n\t@GET\n\tpublic Response logout() {\n\t\tHttpSession session = request.getSession(false);\n\t\t\n\t\t// If there is no session, tell the user\n\t\tif(session == null) {\n\t\t\treturn Response.status(400).entity(\"Please login to logout!\").build();\n\t\t}\n\t\t\n\t\t// invalidate the session\n\t\tsession.invalidate();\n\t\t\n\t\t// Tell the user he is now logged out\n\t\treturn Response.status(200).entity(\"You are logged out!\").build();\n\t}",
"@Override\n public void onCanceled() {\n\n logOutNow();\n\n }",
"public static void makeUnlogged() {\n\t\tMemberSessionFacade.removeAttribute(ConfigKeys.LOGGED);\n//\t\tControllerUtils.addCookie(ConfigKeys.LOGGED, null);\n\t}",
"private void logoutUser() {\n session.setLogin(false);\n\n db.deleteUsers();\n\n // Launching the login activity\n Intent intent = new Intent(Activity_Main.this, Activity_Login.class);\n startActivity(intent);\n finish();\n }",
"public void sessionDestroyed(HttpSessionEvent hse) {\n\t\tHttpSession s=hse.getSession();\n\t\tString ip=(String)s.getAttribute(Authenticated.REMOTE_IP);\n\t\t\n\t\tlog.debug(\"Session before destroyed:\"+sessions.size());\n\t\t\n\t\tsessions.remove(s);\t\t\n\n\t\tlog.debug(\"Session after destroyed:\"+sessions.size());\n\t\t\n\t}",
"@Override\n public void loggedOut() {\n timeTables = new Timetables();\n appointments = new Appointments();\n tasks = new Tasks();\n messages = new Messages();\n substitutions = new Substitutions();\n files = new Files();\n announcements = new Announcements();\n excuseNotes = new ExcuseNotes();\n }",
"@Override\n\tpublic void onApplicationEvent(SessionDestroyedEvent event) {\n\t\tString sessionId = event.getId();\n\t\n\t\tSessionInformation destroyedSession = sessionRegistry.getSessionInformation(sessionId);\n\t\t\n\t\tif(destroyedSession == null) {\n\t\t\t\n\t\t\tLocalTime time = LocalTime.now();\n\t\t\t\n\t\t\tlogger.info(\"Session is destroyed - Time: \" + time);\n//\t\t\tSystem.out.println(\"Session is destroyed - Time: \" + time);\n\t\t}else {\n\t\t\t\n\t\t\tSystem.out.println(\">>>> Removing session from session registry : \" + sessionId);\n\t\t\t\n\t\t\tdestroyedSession.expireNow();\n\t\t\t\n\t\t} \n\t\t \n//\t\tSystem.out.println(destroyedSession.toString());\n\t\t\n//\t\tif (destroyedSession.isExpired() == false) {\n//\t\t\t\n//\t\t\tSystem.out.println(\">>>> Removing session from session registry : \" + sessionId);\n//\t\t\t\n//\t\t\tdestroyedSession.expireNow();\n//\t\t}\n\t\t\n//\t\tUserDetails tempUserDetails = (UserDetails)destroyedSession.getPrincipal();\n\n\t\t\n\t}",
"public void logout() {\n \n FacesContext.getCurrentInstance().getExternalContext().invalidateSession();\n try {\n FacesContext.getCurrentInstance().getExternalContext()\n .redirect(\"/BookStorePelikSangat/faces/admin/loginadmin.xhtml\");\n } \n catch (IOException e) {}\n\t}",
"@Override\n\tpublic void Logout(Integer id) {\n\t\t\n\t}"
]
| [
"0.7863422",
"0.78321195",
"0.7819526",
"0.777534",
"0.7723557",
"0.7705316",
"0.7665859",
"0.762099",
"0.76110315",
"0.7600107",
"0.75988626",
"0.75864846",
"0.7561399",
"0.749089",
"0.7467234",
"0.7465573",
"0.74619097",
"0.7413564",
"0.73517054",
"0.7349272",
"0.7333487",
"0.73329234",
"0.7328028",
"0.73011863",
"0.72939736",
"0.727611",
"0.72710276",
"0.72595304",
"0.7249553",
"0.7249553",
"0.7243086",
"0.72337884",
"0.7204598",
"0.7196218",
"0.7195276",
"0.7183443",
"0.71795154",
"0.7179167",
"0.7166749",
"0.7142702",
"0.7136462",
"0.7134982",
"0.7132722",
"0.7132151",
"0.71277213",
"0.7126058",
"0.7126058",
"0.70929253",
"0.70760584",
"0.7044265",
"0.7022185",
"0.7017425",
"0.7017187",
"0.7015681",
"0.70027924",
"0.6996142",
"0.69921076",
"0.6991752",
"0.6988063",
"0.69818586",
"0.6981658",
"0.69777226",
"0.6975684",
"0.6968506",
"0.6949468",
"0.6946216",
"0.69431055",
"0.69398165",
"0.6938565",
"0.6936579",
"0.6932294",
"0.69312656",
"0.69285333",
"0.69122803",
"0.6909536",
"0.6908502",
"0.69073576",
"0.68942684",
"0.6886486",
"0.68813485",
"0.68791515",
"0.68749994",
"0.6872945",
"0.6867574",
"0.6864394",
"0.6863043",
"0.68622094",
"0.684794",
"0.6844014",
"0.683549",
"0.68274283",
"0.6827092",
"0.6826667",
"0.68243307",
"0.6823289",
"0.68211687",
"0.6820909",
"0.6818397",
"0.6815875",
"0.68133146"
]
| 0.7647458 | 7 |
Called when message store gets reset. | default void onReset(SessionID sessionID) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void onReset() {\n\t\t\n\t}",
"protected void onReset() {\n // Do nothing.\n }",
"void resetMessageCounter();",
"public abstract void onReset();",
"protected void reset() {\n\t\t}",
"public synchronized void reset() {\n }",
"public void reset() {\n mNewNotificationCount.setValue(0);\n }",
"@Override\r\n\tpublic void reset()\r\n\t{\r\n\t}",
"private void reset() {\n }",
"public void reset()\n\t{\n\t\tthis.resetSelected();\n\t\tthis.clearMsgArea();\n\t}",
"@Override\n\t\tprotected void reset()\n\t\t{\n\t\t}",
"public void reset() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n public void reset() {\n }",
"public void reset () {}",
"@Override\n public void reset() \n {\n\n }",
"@Override\r\n\tpublic void reset() {\n\t}",
"public void reset() {\n actionFlag = true;\n messageFlag = false;\n self.getInputBuffer().clear();\n self.getOutputBuffer().clear();\n self.setCurrentProduct(null);\n self.resetCounters();\n self.getServiceManager().init(getRandom(), template);\n syncUpdate();\n }",
"protected void resetState()\n {\n // Nothing to do by default.\n }",
"public void reset() {\n\t}",
"public void reset() {\n\t}",
"public void reset() {\n\t}",
"public void reset() {\n\t}",
"@Override\r\n\t\t\tpublic void reset() {\n\t\t\t\t\r\n\t\t\t}",
"public void reset()\n\t{\n\t}",
"public void reset()\n\t{\n\t}",
"public void reset() {\n }",
"public void reset() {\n }",
"public void reset() {\n }",
"public void reset() {\n }",
"public void reset() {\n monitor.sendReset();\n }",
"@Override\n public void reset() {\n\n }",
"@Override\n\tpublic void reset() {\n\t}",
"public synchronized void reset() {\n\t\tlisteners.clear();\n\t\tbuffer.clear();\n\t\ttrash.clear();\n\n\t\ttickCount = 1;\n\n\t\tif (log.isInfoEnabled()) {\n\t\t\tlog.info(\"Clock reset\");\n\t\t}\n\t}",
"public void reset() {\n\n\t}",
"@Override\r\n\tpublic void reset() {\n\r\n\t}",
"@Override\r\n\tpublic void reset() {\n\r\n\t}",
"@Override\n\tpublic void reset() {\n\t\t\n\t}",
"@Override\n\tpublic void reset() {\n\t\t\n\t}",
"public void reset() {\n\n }",
"public void reset(){\n }",
"public void reset() {\r\n\t\t//begin\r\n\t\tproducerList.clear();\r\n\t\tretailerList.clear();\r\n\t\tBroker.resetLists();\r\n\t\t//end\r\n\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"public void reset() {\n this.metricsSent.set(0);\n this.eventsSent.set(0);\n this.serviceChecksSent.set(0);\n this.bytesSent.set(0);\n this.bytesDropped.set(0);\n this.packetsSent.set(0);\n this.packetsDropped.set(0);\n this.packetsDroppedQueue.set(0);\n this.aggregatedContexts.set(0);\n }",
"@Override\n\tpublic void reset() {\n\n\t}",
"protected abstract void reset();",
"public void resetSystemMessageCount(){\n\t\tiMessageCount = 0;\n\t}",
"private void reset() {\n\t\tdata.clear();\n\t}",
"public void reset() {\n\r\n\t}",
"@Override\r\n\tpublic void reset() {\n\t\tthis.dcn = null;\r\n\t\tthis.pairs.clear();\r\n\t\tthis.successfulCount = 0;\r\n\t\tthis.failedCount = 0;\r\n\t\tthis.metrics.clear();\r\n\t}",
"public void reset () {\n lastSave = count;\n count = 0;\n }",
"@Override\n public void reset()\n {\n state = \"initial state\";\n nbChanges = 0;\n nbResets++;\n }",
"public void reset() {\n super.reset();\n }",
"public void reset() {\n context.reset();\n state = State.NAME;\n }",
"@Override\n\tvoid reset() {\n\t\t\n\t}",
"@Override\n public void reset() {\n super.reset();\n }",
"@Override\n public void reset()\n {\n super.reset();\n }",
"@Override\n public void reset() {\n setSubject(null);\n }",
"public void reset() {\n serverReset(game.generateUIDs(data.getObjectCount()));\n }",
"protected void onHardReset() {\n\t\tonReset();\n\t}",
"void onReset()\n {\n }",
"public abstract void reset();",
"public abstract void reset();",
"public abstract void reset();",
"public abstract void reset();",
"public abstract void reset();",
"public abstract void reset();",
"public abstract void reset();",
"public abstract void reset();",
"public abstract void reset();",
"public abstract void reset();",
"public abstract void reset();",
"protected void reset() {\n\t\tresetChannel();\n\t\tthis.connection = null;\n\t}",
"@Override\n\tpublic void reset() {\n\t\tthis.prepare();\n\t\tsuper.reset();\n\t}",
"public void unReset () {\n count = lastSave;\n }",
"public void reset ()\n {\n final String METHOD_NAME = \"reset()\";\n this.logDebug(METHOD_NAME + \" 1/2: Started\");\n super.reset();\n this.lid = null;\n this.refId = Id.UNDEFINED;\n this.fromDocType = DocType.UNDEFINED;\n this.logDebug(METHOD_NAME + \" 2/2: Done\");\n }",
"public void reset() {\n\t\treset(ModSettings.currentContext);\n\t}",
"public synchronized void clearPersistentMessages() {\n _persistent.clear();\n }",
"public final void Reset()\n\t{\n\t}",
"public final synchronized void reset() {\r\n\t\tunblocked = false;\r\n\t\tcancelled = null;\r\n\t\terror = null;\r\n\t\tlistenersInline = null;\r\n\t}",
"public void reset() {\n events.clear();\n }",
"public void reset()\n {\n total_frames = 0;\n total_messages = 0;\n total_size = 0;\n lost_frames = 0;\n lost_segments = 0;\n num_files = 0;\n start_time = System.nanoTime();\n m_lastFrames.clear();\n }",
"public void resetConversationFlow(){\n conversationDao.init();\n }",
"@Override\n\tpublic void reset() {\n\t\tthis.result = 0;\n\t\tthis.operande = \"0\";\n\t\tthis.operateur = \"\";\n\t\tnotifyObserver(String.valueOf(this.result));\n\t}",
"abstract void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();",
"public void reset();"
]
| [
"0.73435986",
"0.71965784",
"0.71077156",
"0.70964855",
"0.7094889",
"0.70941925",
"0.6976226",
"0.6936676",
"0.6930406",
"0.6929767",
"0.6928396",
"0.6927588",
"0.6907409",
"0.68977255",
"0.6895859",
"0.6866112",
"0.68589467",
"0.68529665",
"0.6851944",
"0.6851944",
"0.6851944",
"0.6851944",
"0.6849905",
"0.6849033",
"0.6849033",
"0.6844975",
"0.6844975",
"0.6844975",
"0.6844975",
"0.6839567",
"0.68278486",
"0.6824924",
"0.681196",
"0.68060094",
"0.68044215",
"0.68044215",
"0.67972356",
"0.67972356",
"0.67903155",
"0.67894983",
"0.67870146",
"0.6771816",
"0.6771816",
"0.6771816",
"0.6771816",
"0.67674613",
"0.6765144",
"0.67577153",
"0.67489713",
"0.67484856",
"0.6747212",
"0.67368096",
"0.6736419",
"0.6720504",
"0.6703053",
"0.6701758",
"0.66938144",
"0.66843706",
"0.66828454",
"0.6668248",
"0.6666892",
"0.6652623",
"0.6649801",
"0.66352206",
"0.66352206",
"0.66352206",
"0.66352206",
"0.66352206",
"0.66352206",
"0.66352206",
"0.66352206",
"0.66352206",
"0.66352206",
"0.66352206",
"0.6619708",
"0.6617989",
"0.65832573",
"0.65574193",
"0.654224",
"0.65265834",
"0.6514103",
"0.651159",
"0.6509524",
"0.64951694",
"0.6466749",
"0.646653",
"0.64657134",
"0.646349",
"0.646349",
"0.646349",
"0.646349",
"0.646349",
"0.646349",
"0.646349",
"0.646349",
"0.646349",
"0.646349",
"0.646349",
"0.646349",
"0.646349",
"0.646349"
]
| 0.0 | -1 |
Called when message store gets refreshed on Logon. | default void onRefresh(SessionID sessionID) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\t\t\t\t\tpublic void onLoginedNotify() {\n\t\t\t\t\t\tTypeSDKLogger.d( \"onLoginedNotify\");\r\n\t\t\t\t\t\thaimaLogout();\r\n\t\t\t\t\t\thaimaLogin();\r\n\t\t\t\t\t}",
"@Override\n public void onRefresh() {\n getUserOnlineStatus();\n }",
"@Override\n public void onTokenRefresh() {\n String refreshedToken = FirebaseInstanceId.getInstance().getToken();\n if (refreshedToken != null) {\n Log.d(TAG, \"Refreshed token: \" + refreshedToken);\n\n // If you want to send messages to this application instance or\n // manage this apps subscriptions on the server side, send the\n // Instance ID token to your app server.\n sendTokenToServer(refreshedToken);\n }\n }",
"@Override\n public void onTokenRefresh() {\n String refreshedToken = FirebaseInstanceId.getInstance().getToken();\n Log.d(TAG, \"Refreshed token: \" + refreshedToken);\n\n // If you want to send messages to this application instance or\n // manage this apps subscriptions on the server side, send the\n // Instance ID token to your app server.\n try {\n sendNewTokenToServer(refreshedToken);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"@Override public void onRefresh() {\n loadAccount();\n }",
"@Override\n public void onTokenRefresh() {\n String refreshedToken = FirebaseInstanceId.getInstance().getToken();\n Log.d(TAG, \"Refreshed token: \" + refreshedToken);\n\n // If you want to send messages to this application instance or\n // manage this apps subscriptions on the server side, send the\n // Instance ID token to your app server.\n sendRegistrationToServer(refreshedToken);\n }",
"@Override\n public void onLoggedIn() {\n\n }",
"@Override\n public void onTokenRefresh() {\n String refreshedToken = FirebaseInstanceId.getInstance().getToken();\n Log.d(TAG, \"Refreshed token: \" + refreshedToken);\n\n saveToken(refreshedToken);\n sendRegistrationToServer(refreshedToken);\n }",
"@Override\n public void onTokenRefresh() {\n String refreshedToken = FirebaseInstanceId.getInstance().getToken();\n /*Log.d(\"Refreshed token\", \"Refreshed token: \" + refreshedToken);\n FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser();\n final CollectionReference clients = FirebaseFirestore.getInstance().collection(\"Tokens\");\n Map<String, Object> data1 = new HashMap<>();\n data1.put(\"token\", refreshedToken);\n clients.document(\"Iamhere\").set(data1, SetOptions.merge());*/\n\n // If you want to send messages to this application instance or\n // manage this apps subscriptions on the server side, send the\n // Instance ID token to your app server.\n //sendRegistrationToServer(refreshedToken);\n }",
"@Override\r\n public void onTokenRefresh() {\n App.sendToken();\r\n }",
"@Override\n public void onTokenRefresh() {\n String token = FirebaseInstanceId.getInstance().getToken();\n\n addRegistrationToFireDb(token);\n }",
"@Override\n public void onLoging() {\n }",
"public void onStoreReady() {\n mMxEventDispatcher.dispatchOnStoreReady();\n }",
"@Override\n public void onTokenRefresh() {\n String refreshedToken = FirebaseInstanceId.getInstance().getToken();\n Log.d(\"myToken\", \"Refreshed token: \" + refreshedToken);\n\n // If you want to send messages to this application instance or\n // manage this apps subscriptions on the server side, send the\n // Instance ID token to your app server.\n //sendRegistrationToServer(refreshedToken);\n getApplicationContext().sendBroadcast(new Intent(broadcast));\n SharedPrefManager.getInstance(getApplicationContext()).storeToken(refreshedToken);\n }",
"@Override\n public void onTokenRefresh() {\n String refreshedToken = FirebaseInstanceId.getInstance().getToken();\n Timber.d(\"Refreshed token: \" + refreshedToken);\n }",
"@Override\n public void onTokenRefresh() {\n }",
"@Override\n public void onTokenRefresh() {\n String token = FirebaseInstanceId.getInstance().getToken();\n registerToken(token);\n }",
"@Override\n public void onTokenRefresh() {\n\n //Getting registration token\n String refreshedToken = FirebaseInstanceId.getInstance().getToken();\n\n //Displaying token on logcat\n Log.e(TAG, \"Refreshed token: \" + refreshedToken);\n\n //calling the method store token and passing token\n storeToken(refreshedToken);\n }",
"public void onServiceConnected() {\r\n \t// Display the list of sessions\r\n\t\tupdateList();\r\n }",
"@Override\n public void onTokenRefresh() {\n String refreshedToken = FirebaseInstanceId.getInstance().getToken();\n Log.d(TAG, \"Refreshed token: \" + refreshedToken);\n SharedPreferences settings =\n getSharedPreferences(PREF, Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = settings.edit();\n editor.putString(PREF_FIREBASE_TOKEN, refreshedToken);\n editor.apply();\n }",
"@Override\r\n\tpublic void onMessage(BmobMsg message) {\n\t\trefreshNewMsg(message);\r\n\t}",
"@Override\n public void onAuthenticated(AuthData authData) {\n Log.i(\"lt\", \"authed\");\n }",
"@Override\n public void onNewToken(String token) {\n Log.d(TAG, \"Refreshed token: \" + token);\n\n }",
"@Override\n public void onRefresh() {\n max_id = 0;\n populateCurrentUser();\n populateTimeline();\n }",
"@Override\n public void onNewToken(String token) {\n Log.d(TAG, \"Refreshed token: \" + token);\n super.onNewToken(token);\n Log.e(\"newToken\", token);\n // If you want to send messages to this application instance or\n // manage this apps subscriptions on the server side, send the\n // Instance ID token to your app server.\n sendRegistrationToServer(token);\n }",
"@Override\n public void onAdded() {\n /**\n * EventsBus: Fetching data.\n */\n EventBus.getDefault().post(new Authenticating());\n }",
"@Override\n public void onTokenRefresh(){\n if (FirebaseAuth.getInstance().getCurrentUser() != null) {\n String token = FirebaseInstanceId.getInstance().getToken();\n Log.v(TAG, \"success in getting instance \"+ token);\n onSendRegistrationToServer(token);\n }\n }",
"@Override\n public void handleMessage(Message msg) {\n super.handleMessage(msg);\n SharedPreferences preferences = getSharedPreferences(\"logInfo\",\n Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = preferences.edit();\n Intent intent = new Intent(getApplicationContext(), MainActivity.class);\n intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);\n switch (msg.what) {\n case LOGIN_OK:\n application.isLogin = true;\n editor.putBoolean(\"isLogin\", true);\n editor.commit();\n break;\n case LOGOUT_OK:\n application.isLogin = false;\n editor.putBoolean(\"isLogin\", false);\n editor.commit();\n break;\n case PASSWORD_ERROR:\n application.isLogin = false;\n editor.putBoolean(\"isLogin\", false);\n editor.commit();\n startActivity(intent);\n Toast.makeText(getApplicationContext(), getString(R.string.try_again), Toast.LENGTH_SHORT).show();\n break;\n case NETWORK_ERROR:\n application.isLogin = false;\n editor.putBoolean(\"isLogin\", false);\n editor.commit();\n startActivity(intent);\n Toast.makeText(getApplicationContext(), getString(R.string.try_again), Toast.LENGTH_SHORT).show();\n break;\n case LOGIN_FAILED:\n application.isLogin = false;\n editor.putBoolean(\"isLogin\", false);\n editor.commit();\n startActivity(intent);\n Toast.makeText(getApplicationContext(), getString(R.string.try_again), Toast.LENGTH_SHORT).show();\n break;\n }\n showNotification();\n }",
"@Override\n public void onTokenRefresh() {\n // Get updated InstanceID token.\n device_id = Settings.Secure.getString(this.getContentResolver(),\n Settings.Secure.ANDROID_ID);\n String refreshedToken = FirebaseInstanceId.getInstance().getToken();\n Log.d(TAG, \"Refreshed token: \" + refreshedToken);\n\n // If you want to send messages to this application instance or\n // manage this apps subscriptions on the server side, send the\n // Instance ID token to your app server.\n\n //**************need to modify the code such that it can update exisiting user data***********************\n sendRegistrationToServer(refreshedToken);\n //**************need to modify the code such that it can update exisiting user data***********************\n }",
"@Override\r\n\t\t\tpublic void onPersistSuccess(EntityUpdatedEvent event) {\n\t\t\t\tglobalApplicationState.refreshPage();\r\n\t\t\t}",
"public void onMotdSent() {\r\n\t\tif (!loggedIn) {\r\n\t\t\tif (adminWindow != null) {\r\n\t\t\t\tadminWindow.setVisible(true);\r\n\t\t\t}\r\n\t\t\tdispose();\r\n\t\t\tloggedIn = true;\r\n\t\t}\r\n\t\t\r\n\t}",
"@Override\n public void onTokenRefresh() {\n\n String token = FirebaseInstanceId.getInstance().getToken();\n CTOKEN = token;\n\n// if(sgen.ID != \"\") {\n// String query = \"UPDATE USER_DETAILS SET FTOKEN = '\"+token+\"' WHERE ID = '\"+sgen.ID+\"'; \";\n// ArrayList<Team> savedatateam = servicesRequest.save_data(query);\n// sgen.FTOKEN = token;\n// }\n\n\n // Once the token is generated, subscribe to topic with the userId\n// if(sgen.ATOKEN.equals(sgen.CTOKEN)) {\n try {\n FirebaseMessaging.getInstance().subscribeToTopic(SUBSCRIBE_TO);\n Log.i(TAG, \"onTokenRefresh completed with token: \" + token);\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n// }\n\n\n /* sendRegistrationToServer(refreshedToken);*/\n }",
"@Override\r\n\t\t\tpublic void onRefresh() {\n\t\t\t\tgetLichHoc();\r\n\t\t\t}",
"@Override\n public void onTokenRefresh() {\n // Get updated InstanceID token.\n String refreshedToken = FirebaseInstanceId.getInstance().getToken();\n Log.d(\"Refreshed token: \" + refreshedToken);\n sendRegistrationToServer(refreshedToken);\n }",
"public boolean onSessionChanged(String authToken, String refreshToken, long expires);",
"@Override\n public void onNewToken(String token) {\n Log.d(TAG, \"Refreshed token: \" + token);\n\n // If you want to send messages to this application instance or\n // manage this apps subscriptions on the server side, send the\n // Instance ID token to your app server.\n sendRegistrationToServer(token);\n }",
"@Override\n\t\tpublic void onRefresh() {\n\t\t\thttpRefreshMethod();\n\t\t}",
"@Override\n public void onRefresh() {\n }",
"@Override\n protected void onResume() {\n new GeoChatSettings(this).clearNewMessagesCount();\n \n \tsuper.onResume();\n }",
"@Override\n protected void onStart() {\n checkUserStatus();\n super.onStart();\n }",
"@Override\n protected void onStart() {\n checkUserStatus();\n\n super.onStart();\n }",
"@Override\n protected void onStart() {\n super.onStart();\n sendToLogin();\n }",
"@Override\n public void onLogin(String message) {\n login(message);\n }",
"@Override\n public void onRefresh() {\n synchronizeContent();\n }",
"@Override\n public void onLogon(SessionID sessionID) {\n LOG.info(\"Server: onLogon of \" + sessionID);\n }",
"void onStart(@Observes Startup event, ApplicationLifecycle app) {\n\n\t\tif (!newstore)\n\t\t\tapp.markAsRestart();\n\t\t\n\t}",
"@Override\n public void onNewToken(String token) {\n //Log.d(TAG, \"Refreshed token: \" + token);\n\n // If you want to send messages to this application instance or\n // manage this apps subscriptions on the server side, send the\n // Instance ID token to your app server.\n sendRegistrationToServer(token);\n\n }",
"@Override\n public void onNewToken(String token) {\n Log.d(TAG, \"Refreshed token: \" + token);\n\n // If you want to send messages to this application instance or\n // manage this apps subscriptions on the server side, send the\n // Instance ID token to your app server.\n enviaTokenParaServidor(token);\n }",
"public void onMessage(Message message) {\n lastMessage = message;\n\n }",
"@Override\n public void onRefresh() {\n }",
"@Override\n\tprotected void onOpen() {\n\t\tconnectionStore.addUpdateListener(this);\n\t\tupdateOptions();\n\t}",
"public void onConnectSpamDone() {\n loggingIn = false;\n }",
"public void onRefresh() {\n }",
"@Override\n\t\t\t\t\tpublic void onRefresh() {\n\t\t\t\t\t\tisRefreshing = true;\n\t\t\t\t\t\tsyncArticle();\n\t\t\t\t\t}",
"@Override\n public void listenForLogins() {\n }",
"private void fireAfterLoginEvent(final int widgetToLoad) {\n // retrieve UserDetail and subsequently BusinessUserDetail object and store them in Storage\n loginService.getLoggedUser(new SecuredAsyncCallback<UserDetail>(eventBus) {\n @Override\n public void onSuccess(UserDetail userDetail) {\n eventBus.setLoadingProgress(70, Storage.MSGS.loggingForward());\n Storage.setUserDetail(userDetail);\n loginService.getLoggedBusinessUser(new SecuredAsyncCallback<BusinessUserDetail>(eventBus) {\n @Override\n public void onSuccess(BusinessUserDetail loggedUser) {\n eventBus.setLoadingProgress(90, null);\n GWT.log(\"user id \" + loggedUser.getUserId());\n Storage.setBusinessUserDetail(loggedUser);\n Storage.loadClientAndSupplierIDs();\n // TODO LATER ivlcek - fix the session model on the base of SpringSecurity rememberMe\n final String sessionId = \"id=\" + loggedUser.getUserId();\n forwardUserLogin(widgetToLoad);\n eventBus.hideView();\n }\n });\n }\n });\n }",
"@Override\n\t\t\t\t\t\tpublic void onSyncSuccess() {\n\t\t\t\t\t\t\tnotifyLoginEvent(true);\n\t\t\t\t\t\t}",
"@Override\n public void onRefresh() {\n refreshData();\n }",
"public void onRefresh(boolean userRequest) {\n if (mIsRefreshable) {\n mRefreshManager.refreshMessageList(getAccountId(), getMailboxId(), userRequest);\n }\n }",
"void storeEvents()\n {\n this.storedPresences = new ArrayList<Presence>();\n this.storeEvents = true;\n }",
"public void onUserOnline(RpcProxyBase proxy,Object cookie){\n\t}",
"@Override\n\tprotected void onResume() {\n\t\tsuper.onResume();\n\t\tif (userManager.getCurrentUser() != null) {\n\t\t\t// ÿ���Զ���½��ʱ�����Ҫ�����µ�ǰλ�úͺ��ѵ�����\n\t\t\tupdateUserInfos();\n\t\t\tmHandler.sendEmptyMessageDelayed(GO_HOME, 2000);\n\t\t} else {\n\t\t\tmHandler.sendEmptyMessageDelayed(GO_LOGIN, 2000);\n\t\t}\n\t}",
"@EventListener(ContextRefreshedEvent.class)\n public void contextRefreshEvent() {\n\n MapConfigurationRegistrySingleton.getSingleton()\n .merge(mapConfigurationRegistry);\n }",
"@Override\r\n\tprotected void onLoginSuccess() {\n\t\t\r\n\t}",
"@Override\n public void onRefresh() {\n isNetworkAvailable(connectionHandler, 5000);\n\n SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getActivity());\n\n String initializedKey = getActivity().getString(R.string.pref_stocks_initialized_key);\n boolean initialized = prefs.getBoolean(initializedKey, false);\n\n QuoteSyncJob.syncImmediately(getActivity());\n\n if (!mConnected && adapter.getItemCount() == 0) {\n swipeRefreshLayout.setRefreshing(false);\n error.setText(getString(R.string.error_no_network));\n error.setVisibility(View.VISIBLE);\n } else if (!mConnected) {\n swipeRefreshLayout.setRefreshing(false);\n Toast.makeText(getActivity(), R.string.toast_no_connectivity, Toast.LENGTH_LONG).show();\n } else if (PrefUtils.getStocks(getActivity()).size() == 0) {\n swipeRefreshLayout.setRefreshing(false);\n error.setText(getString(R.string.error_no_stocks));\n error.setVisibility(View.VISIBLE);\n } else {\n error.setVisibility(View.GONE);\n }\n }",
"@Subscribe\n public void onSessionLogEvent(POP3SessionLogEvent event) {\n onSessionMessage(event);\n }",
"@Override\n\tprotected void onReceive(String brodecast) {\n\t\tsuper.onReceive(brodecast);\n\t\tif(brodecast.equalsIgnoreCase(Configs.LoginStateChange)){\n\t\t\tif(mListView != null){\n\t\t\t\tif (!mListView.isStackFromBottom()) {\n\t\t\t\t\tmListView.setStackFromBottom(true);\n\t\t\t\t}\n\t\t\t\tmListView.setStackFromBottom(false);\n\t\t\t\tmListView.startRefresh();\n\t\t\t}\n\t\t}\n\t}",
"@Override\n public void onRefresh() {\n load_remote_data();\n }",
"@Override\n public void onTokenRefresh() {\n // Fetch updated Instance ID token and notify our app's server of any changes (if applicable).\n startService(new Intent(this, RegistrationIntentService.class));\n }",
"@Override\n public void onTokenRefresh() {\n Log.d(\"MyInstanceIDService\", \"onTokenRefresh\");\n// new GCMDoRequest().execute(new GCMRequest(this, GCMCommand.GET_TOKEN));\n }",
"private void refresh() {\n\t\tIntent intent = new Intent(BacklogActivity.this, BacklogActivity.class);\n\t\tstartActivity(intent);\n\t}",
"@Override\n\tpublic void onMyRefresh() {\n\t\t\n\t}",
"@Override\n\tpublic void onMyRefresh() {\n\t\t\n\t}",
"public void markRefreshed() {\n tozAdCampaignRetrievalCounter = 0;\n }",
"@Override\n\tpublic void onRefresh() {\n\n\t}",
"protected void onFirstTimeLaunched() {\n }",
"@Override\r\n\tpublic void onRefresh() {\n\r\n\t}",
"@SubscribeEvent\n public void onMessageReceived(GuildMessageReceivedEvent event) {\n if (event.getAuthor().isBot() || event.getMember() == null) return;\n // Logic\n GuildUserModel guildUser = taules.dataManager.getGuildUserModel(event.getGuild().getIdLong(), event.getMember());\n DB.save(new MessageLogModel(guildUser.getId()));\n }",
"public void logEventStoreChanged(LogEventStoreEvent event) {\n fireModelChangedEvent(LogEventTableModelReasonForChange.logEventsChanged);\r\n\r\n // set status messageColumnTitle request\r\n sendSetStatusMessageRequest();\r\n }",
"@Override\n public void onNewToken(String token) {\n Log.d(\"FireBaseActivity\", \"Refreshed token: \" + token);\n // If you want to send messages to this application instance or\n // manage this apps subscriptions on the server side, send the\n // Instance ID token to your app server.\n // sendRegistrationToServer(token);\n }",
"@Override\n\t\tpublic void onRefresh() {\n\t\t\tloadInfo(1, 0);\n\t\t}",
"@Override\r\n public void onRestart() {\r\n super.onRestart();\r\n refreshData();\r\n }",
"@Override\n public void onRefresh() {\n loadData();\n }",
"public void onServiceUnregistered() {\r\n \t// Update the list of sessions\r\n\t\tupdateList();\r\n }",
"@Override\n public void onStart() {\n super.onStart();\n // Check if user is signed in (non-null) and update UI accordingly.\n currentUser = firebaseAuth.getCurrentUser();\n firebaseAuth.addAuthStateListener(authStateListener);\n\n\n }",
"void onRefresh() {\n\t}",
"@Override\r\n\t\t\tpublic void onRefresh() {\n\r\n\t\t\t}",
"default void onReset(SessionID sessionID) {\n }",
"@Override\n protected void onStart() {\n super.onStart();\n FirebaseUser currentUser = mAuth.getCurrentUser();\n if (currentUser != null){\n UpdateUI();\n }\n }",
"public void onRefresh() {\n\t\t\t\tnew AsyncTask<Void, Void, Void>() {\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tprotected Void doInBackground(Void... params) {\r\n\t\t\t\t\t\tlist.clear();\r\n\t\t\t\t\t\tnew Getliuyan().start();\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tprotected void onPostExecute(Void result) {\r\n\t\t\t\t\t\thandler.sendEmptyMessage(2);\r\n\t\t\t\t\t};\r\n\r\n\t\t\t\t}.execute();\r\n\t\t\t}",
"protected void notificationOnExpiration() {\n }",
"@Override\r\n public void onStart() {\r\n super.onStart();\r\n UserDataManager.instantiateManager(this);\r\n refreshData();\r\n }",
"@Override\n\tpublic void onApplicationEvent(ContextRefreshedEvent arg0) {\n\t\tinitData();\n\t}",
"@Override\n\tpublic void onApplicationEvent(ContextRefreshedEvent arg0) {\n\t\tinitData();\n\t}",
"public void onOK() {\n\t\t\t\t\t\t\tlogout();\n\t\t\t\t\t\t}",
"Account refresh();",
"@Override\n protected void onSubmit() {\n getCommander().resetUserHistory( getUser().getUsername(), true );\n redirectHere();\n }",
"@Override\n public void onTokenRefresh(){\n // start Gcm registration service\n Intent intent = new Intent(this, GcmRegistrationIntentService.class);\n startService(intent);\n }",
"@Override\n protected void onResume() {\n sharedpreferences = getApplicationContext().getSharedPreferences(mypreference, Context.MODE_PRIVATE);\n sharedpreferences = getSharedPreferences(mypreference, Context.MODE_PRIVATE);\n\n if(!viewModel.isUserLoggedIn()) {\n if (sharedpreferences.contains(\"email\") && sharedpreferences.contains(\"password\")){\n loadSharedPreferences();\n String email = viewModel.getDBUser().getEmail();\n int atIndex = email.indexOf(\"@\");\n email = email.substring(0, atIndex);\n getSupportActionBar().setTitle(\"Notas de \" + email);\n viewModel.refreshNotes();\n }\n else{\n this.finish();\n goToLoginActivity();\n }\n }\n else {\n String email = viewModel.getDBUser().getEmail();\n int atIndex = email.indexOf(\"@\");\n email = email.substring(0, atIndex);\n getSupportActionBar().setTitle(\"Notas de \" + email);\n viewModel.refreshNotes();\n }\n\n super.onResume();\n }",
"@Override\n\tpublic void onRefresh() {\n\t\tpage = 1;\n\t\tSystem.out.println(\"onRefresh1\");\n\t\tmyList.clear();\n\t\tSystem.out.println(\"onRefresh2\");\n\t\tgetData();\n\t}"
]
| [
"0.68171227",
"0.65946573",
"0.6466719",
"0.6415033",
"0.6374217",
"0.6288839",
"0.6264505",
"0.6260454",
"0.6258225",
"0.62326914",
"0.621107",
"0.61946577",
"0.61758393",
"0.61468905",
"0.6141279",
"0.6134784",
"0.60604376",
"0.6022782",
"0.6020633",
"0.59928197",
"0.5960539",
"0.59344566",
"0.592736",
"0.5907038",
"0.58616",
"0.58270603",
"0.58220977",
"0.58206856",
"0.58174807",
"0.58032817",
"0.58017945",
"0.5789309",
"0.5785508",
"0.5768995",
"0.57432026",
"0.57426244",
"0.57350343",
"0.573497",
"0.5734259",
"0.57336676",
"0.5731821",
"0.5728979",
"0.5724563",
"0.5714561",
"0.57072103",
"0.5697737",
"0.56862605",
"0.5677184",
"0.56742495",
"0.5666738",
"0.5666025",
"0.565369",
"0.5648318",
"0.5638251",
"0.56153923",
"0.56124187",
"0.56051695",
"0.55977523",
"0.5592496",
"0.5588906",
"0.55815834",
"0.55751705",
"0.5570225",
"0.556822",
"0.55680215",
"0.55664116",
"0.5565785",
"0.5562818",
"0.5551466",
"0.55484617",
"0.5547467",
"0.5538366",
"0.5538366",
"0.5535284",
"0.55285937",
"0.5527994",
"0.55238855",
"0.5518709",
"0.55164903",
"0.551018",
"0.55015105",
"0.5500131",
"0.5494336",
"0.54798055",
"0.5479666",
"0.5478544",
"0.54686207",
"0.54627365",
"0.54591274",
"0.5458825",
"0.54547125",
"0.5453718",
"0.5444976",
"0.5444976",
"0.54417455",
"0.54398656",
"0.5435028",
"0.5423965",
"0.54214704",
"0.5418243"
]
| 0.65825117 | 2 |
Called when TestRequest is sent out due to missed Heartbeat. | default void onMissedHeartBeat(SessionID sessionID) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void clearHeartBeatReq() {\n if (reqCase_ == 5) {\n reqCase_ = 0;\n req_ = null;\n }\n }",
"private void onResponseTimerTick()\r\n {\r\n EneterTrace aTrace = EneterTrace.entering();\r\n try\r\n {\r\n cleanAfterConnection(true, true);\r\n }\r\n finally\r\n {\r\n EneterTrace.leaving(aTrace);\r\n }\r\n }",
"private void clearHeartBeatRes() {\n if (rspCase_ == 5) {\n rspCase_ = 0;\n rsp_ = null;\n }\n }",
"void reportHeartbeat();",
"protected void responseFail(){\n\t\tqueue.clear();\n\t}",
"public void ack() {\n //disable current awaiting handler\n testFuture.cancel(false);\n //reset number of tryies;\n tryCount = 0;\n //shcedule next ping\n testFuture = mtpTimer.schedule(this, Mtp3.TIMEOUT_T2_SLTM, TimeUnit.SECONDS);\n if (logger.isDebugEnabled()) {\n \tlogger.debug(String.format(\"(%s) Test message acknowledged, Link test passed\", link.name));\n }\n }",
"void reportHeartbeatRpcFailure();",
"public boolean hasHeartBeatResponse() {\n return msgCase_ == 4;\n }",
"public boolean hasHeartBeatResponse() {\n return msgCase_ == 4;\n }",
"@After\n public void after(){\n WebSocketClientEndpoint.lastClientMessageReceived = null;\n }",
"public void sendHeartbeat();",
"public void afterReceive() {\n\t}",
"protected void issueHeartbeat() {\n updateProperties();\n\n issueConnectorPings();\n }",
"public void onTestSkipped() {}",
"public void testServerDown() throws Exception {\n\n final boolean sent = uploadAndWait();\n assertTrue(sent);\n assertEquals(0, reportManager.findReports().size());\n\n verifyZeroInteractions(mockCall);\n }",
"public void testVMDeathRequest() {\n logWriter.println(\"==> testVMDeathRequest started\");\n\n //check capability, relevant for this test\n logWriter.println(\"=> Check capability: canRequestVMDeathEvent\");\n debuggeeWrapper.vmMirror.capabilities();\n boolean isCapability = debuggeeWrapper.vmMirror.targetVMCapabilities.canRequestVMDeathEvent;\n if (!isCapability) {\n logWriter.println(\"##WARNING: this VM doesn't possess capability: canRequestVMDeathEvent\");\n return;\n }\n boolean success = true;\n\n synchronizer.receiveMessage(JPDADebuggeeSynchronizer.SGNL_READY);\n\n //set request for VM_DEATH event with suspend policy SUSPEND_ALL\n byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL;\n logWriter.println(\"=> Create request for VM_DEATH event with suspend policy: \"\n + suspendPolicy + \"/\" \n + JDWPConstants.SuspendPolicy.getName(suspendPolicy));\n CommandPacket setRequestCommand = new CommandPacket(\n JDWPCommands.EventRequestCommandSet.CommandSetID,\n JDWPCommands.EventRequestCommandSet.SetCommand);\n\n setRequestCommand.setNextValueAsByte(JDWPConstants.EventKind.VM_DEATH);\n setRequestCommand.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL);\n setRequestCommand.setNextValueAsInt(0);\n\n ReplyPacket setRequestReply = debuggeeWrapper.vmMirror\n .performCommand(setRequestCommand);\n checkReplyPacket(setRequestReply, \"Set VM_DEATH event\");\n\n requestID = setRequestReply.getNextValueAsInt();\n logWriter.println(\"==> RequestID = \" + requestID);\n\n assertAllDataRead(setRequestReply);\n\n //release debuggee\n synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE);\n synchronizer.sendMessage(JPDADebuggeeSynchronizer.SGNL_CONTINUE);\n \n //receive and parse event set\n logWriter.println(\"=> Wait for VM_DEATH event\");\n CommandPacket eventPacket = debuggeeWrapper.vmMirror.receiveEvent();\n ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(eventPacket);\n int eventsCount = parsedEvents.length;\n logWriter.println(\"==> Received event set: count=\" + eventsCount);\n\n //ckeck if received events are expected\n int requestedEvents = 0;\n int autoEvents = 0;\n int wrongEvents = 0;\n for (int i = 0; i < eventsCount; i++) {\n ParsedEvent event = parsedEvents[i];\n logWriter.println(\"=> Event #\" + i + \";\");\n \n // print event info\n byte eventSuspendPolicy = event.getSuspendPolicy();\n logWriter.println(\"===> SuspendPolicy=\" + eventSuspendPolicy + \"/\"\n + JDWPConstants.SuspendPolicy.getName(eventSuspendPolicy));\n byte eventKind = event.getEventKind();\n logWriter.println(\"===> EventKind=\" + eventKind + \"/\"\n + JDWPConstants.EventKind.getName(eventKind));\n int eventRequestID = event.getRequestID();\n logWriter.println(\"===> RequestID=\" + eventRequestID);\n \n // check if event is expected\n if (eventKind == JDWPConstants.EventKind.VM_DEATH) {\n if (eventRequestID == requestID) {\n requestedEvents++;\n logWriter.println(\"===> found requested VM_DEATH event!\");\n\n // check suspend p[olicy for requested event\n if (eventSuspendPolicy != suspendPolicy) {\n logWriter.println(\"## FAILURE: requested VM_DEATH event \"\n + \"with unexpected SuspendPolicy: \" \n + eventSuspendPolicy);\n success = false;\n }\n } else if (parsedEvents[i].getRequestID() == 0) {\n autoEvents++;\n logWriter.println(\"===> found auto VM_DEATH event!\");\n // for automatical event suspend policy can be changed\n } else {\n logWriter.println(\"## FAILURE: VM_DEATH event \"\n + \"with unexpected RequestID: \" \n + eventRequestID);\n success = false;\n }\n } else {\n wrongEvents++;\n logWriter.println(\"## FAILURE: unexpected event kind: \"\n + eventKind);\n success = false;\n }\n }\n \n // check number of found events\n {\n if (eventsCount != 2) {\n logWriter.println(\"## FAILURE: received wrong number of events: \"\n + eventsCount);\n success = false;\n }\n\n if (requestedEvents > 1) {\n logWriter.println(\"## FAILURE: too many requested VM_DEATH events: \" \n + requestedEvents);\n success = false;\n } else if (requestedEvents < 1) {\n logWriter.println(\"## FAILURE: received no requested VM_DEATH events: \"\n + requestedEvents);\n success = false;\n }\n\n if (autoEvents > 1) {\n logWriter.println(\"## FAILURE: too many auto VM_DEATH events: \" \n + autoEvents);\n success = false;\n } else if (autoEvents < 1) {\n logWriter.println(\"## FAILURE: received no auto VM_DEATH events: \" \n + autoEvents);\n success = false;\n }\n\n if (wrongEvents > 0) {\n logWriter.println(\"## FAILURE: Received unexpected events: \" \n + wrongEvents);\n success = false;\n }\n\n assertTrue(\"Failure in processing VM_DEATH event\", success);\n }\n \n logWriter.println(\"=> Resume debuggee\");\n resumeDebuggee();\n\n logWriter.println(\"==> test PASSED!\");\n }",
"@Override\n @After\n public void after() throws Exception {\n\n // clean up the event data\n clearMxTestData();\n\n super.after();\n }",
"@Override\n\t\t\t\t\t\t\t\t\t\tpublic void onRequestFail() {\n\n\t\t\t\t\t\t\t\t\t\t}",
"public static void testFinished(String testName) {\n threadInfo.set(new LeakException(\"after-\" + testName));\n }",
"void reportHeartbeatRpcSuccess();",
"default void onHeartBeatTimeout(SessionID sessionID) {\n }",
"@After(\"processRequest()\")\n public void timedProcessRequest(JoinPoint joinPoint) throws Throwable {\n ZooKeeperServer zkServer = (ZooKeeperServer) joinPoint.getThis();\n\n Gauge.build().name(\"zookeeper_server_znode_count\").help(\"Number of z-nodes stored\").create()\n .setChild(new Gauge.Child() {\n @Override\n public double get() {\n return zkServer.getZKDatabase().getNodeCount();\n }\n }).register();\n\n Gauge.build().name(\"zookeeper_server_data_size_bytes\").help(\"Size of all of z-nodes stored (bytes)\").create()\n .setChild(new Gauge.Child() {\n @Override\n public double get() {\n return zkServer.getZKDatabase().getDataTree().approximateDataSize();\n }\n }).register();\n\n Gauge.build().name(\"zookeeper_server_connections\").help(\"Number of currently opened connections\").create()\n .setChild(new Gauge.Child() {\n @Override\n public double get() {\n return zkServer.serverStats().getNumAliveClientConnections();\n }\n }).register();\n\n Gauge.build().name(\"zookeeper_server_watches_count\").help(\"Number of watches\").create()\n .setChild(new Gauge.Child() {\n @Override\n public double get() {\n return zkServer.getZKDatabase().getDataTree().getWatchCount();\n }\n }).register();\n\n Gauge.build().name(\"zookeeper_server_ephemerals_count\").help(\"Number of ephemerals z-nodes\").create()\n .setChild(new Gauge.Child() {\n @Override\n public double get() {\n return zkServer.getZKDatabase().getDataTree().getEphemeralsCount();\n }\n }).register();\n }",
"public void onTestSkipped(ITestResult arg0) {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void onTestSkipped(ITestResult arg0) {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void onTestSkipped(ITestResult arg0) {\n\t\t\r\n\t}",
"public final void reportUncertain() {\n mHandler.post(() -> {\n synchronized (mLock) {\n ITimeZoneProviderManager manager = mManager;\n if (manager != null) {\n try {\n TimeZoneProviderEvent thisEvent =\n TimeZoneProviderEvent.createUncertainEvent(\n SystemClock.elapsedRealtime());\n if (shouldSendEvent(thisEvent)) {\n manager.onTimeZoneProviderEvent(thisEvent);\n mLastEventSent = thisEvent;\n }\n } catch (RemoteException | RuntimeException e) {\n Log.w(TAG, e);\n }\n }\n }\n });\n }",
"public void triggerHeartBeat() {\n\t\tif (this.postman==null) return;\n\t\tthis.postman.sendHeartBeatAt = 0;\n\t}",
"@Override\n protected final void postSetUpWANTestBase() throws Exception {\n IgnoredException.addIgnoredException(\"failed accepting client connection\");\n }",
"@Override\r\n\tpublic void onTestSkipped(ITestResult Result) {\n\t\t\r\n\t}",
"@Test\n public void processSingleScanRequestAfterDisconnect() throws Exception {\n startServiceAndLoadDriver();\n BidirectionalAsyncChannel controlChannel = connectChannel(mock(Handler.class));\n mLooper.dispatchAll();\n\n // Send the single scan request and then send the disconnect immediately after.\n WifiScanner.ScanSettings requestSettings = createRequest(WifiScanner.WIFI_BAND_BOTH, 0,\n 0, 20, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN);\n int requestId = 10;\n\n sendSingleScanRequest(controlChannel, requestId, requestSettings, null);\n // Can't call |disconnect| here because that sends |CMD_CHANNEL_DISCONNECT| followed by\n // |CMD_CHANNEL_DISCONNECTED|.\n controlChannel.sendMessage(Message.obtain(null, AsyncChannel.CMD_CHANNEL_DISCONNECTED,\n AsyncChannel.STATUS_REMOTE_DISCONNECTION, 0, null));\n\n // Now process the above 2 actions. This should result in first processing the single scan\n // request (which forwards the request to SingleScanStateMachine) and then processing the\n // disconnect after.\n mLooper.dispatchAll();\n\n // Now check that we logged the invalid request.\n String serviceDump = dumpService();\n Pattern logLineRegex = Pattern.compile(\"^.+\" + \"singleScanInvalidRequest: \"\n + \"ClientInfo\\\\[unknown\\\\],Id=\" + requestId + \",bad request$\", Pattern.MULTILINE);\n assertTrue(\"dump did not contain log with ClientInfo[unknown]: \" + serviceDump + \"\\n\",\n logLineRegex.matcher(serviceDump).find());\n }",
"public void afterReceivingeGainChatResponse(ChatResponse response);",
"public void onTestSkipped(ITestResult arg0) {\n\t\t\n\t}",
"public void onTestSkipped(ITestResult arg0) {\n\t\t\n\t}",
"@Test\n public void testSplitBrainProtectionAbsent_whenHeartbeatsLate() throws Exception {\n long now = System.currentTimeMillis();\n // initialize clock offset +1 minute --> last heartbeat received was too far in the past\n long clockOffset = 60000;\n initClockOffsetTest(clockOffset);\n createSplitBrainProtectionFunctionProxy(1000, 1000);\n heartbeat(now, 5, 500);\n assertFalse(splitBrainProtectionFunction.apply(Arrays.asList(members)));\n }",
"public void onTestSkipped(ITestResult arg0) {\n\n\t}",
"void onHeartbeat(GuidPrefix senderGuidPrefix, Heartbeat hb) {\r\n\t\tlogger.debug(\"[{}] Got Heartbeat: #{} {}-{}, F:{}, L:{} from {}\", getEntityId(), hb.getCount(),\r\n\t\t\t\thb.getFirstSequenceNumber(), hb.getLastSequenceNumber(), hb.finalFlag(), hb.livelinessFlag(),\r\n\t\t\t\tsenderGuidPrefix);\r\n\r\n\t\tWriterProxy wp = getWriterProxy(new Guid(senderGuidPrefix, hb.getWriterId()));\r\n\t\tif (wp != null) {\r\n\t\t\twp.assertLiveliness(); // Got HB, writer is alive\r\n\r\n\t\t\tif (wp.heartbeatReceived(hb)) {\r\n\t\t\t\tif (hb.livelinessFlag()) {\r\n\t\t\t\t\t//wp.assertLiveliness(); Not really needed, every HB asserts liveliness??? \r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (isReliable()) { // Only reliable readers respond to\r\n\t\t\t\t\t// heartbeat\r\n\t\t\t\t\tboolean doSend = false;\r\n\t\t\t\t\tif (!hb.finalFlag()) { // if the FinalFlag is not set, then\r\n\t\t\t\t\t\t// the Reader must send an AckNack\r\n\t\t\t\t\t\tdoSend = true;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tif (wp.getGreatestDataSeqNum() < hb.getLastSequenceNumber()) {\r\n\t\t\t\t\t\t\tdoSend = true;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tlogger.trace(\"[{}] Will no send AckNack, since my seq-num is {} and Heartbeat seq-num is {}\",\r\n\t\t\t\t\t\t\t\t\tgetEntityId(), wp.getGreatestDataSeqNum(), hb.getLastSequenceNumber());\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (doSend) {\r\n\t\t\t\t\t\tsendAckNack(wp);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} \r\n\t\telse {\r\n\t\t\tlogger.warn(\"[{}] Discarding Heartbeat from unknown writer {}, {}\", getEntityId(), senderGuidPrefix,\r\n\t\t\t\t\thb.getWriterId());\r\n\t\t}\r\n\t}",
"@Test\n public void testReportForDutyBackoff() throws IOException, InterruptedException {\n cluster.getConfiguration().set(MASTER_IMPL, TestRegionServerReportForDuty.NeverInitializedMaster.class.getName());\n master = cluster.addMaster();\n master.start();\n TestRegionServerReportForDuty.LogCapturer capturer = new TestRegionServerReportForDuty.LogCapturer(getLogger(HRegionServer.class));\n // Set sleep interval relatively low so that exponential backoff is more demanding.\n int msginterval = 100;\n cluster.getConfiguration().setInt(\"hbase.regionserver.msginterval\", msginterval);\n rs = cluster.addRegionServer();\n rs.start();\n int interval = 10000;\n Thread.sleep(interval);\n capturer.stopCapturing();\n String output = capturer.getOutput();\n TestRegionServerReportForDuty.LOG.info(\"{}\", output);\n String failMsg = \"reportForDuty failed;\";\n int count = StringUtils.countMatches(output, failMsg);\n // Following asserts the actual retry number is in range (expectedRetry/2, expectedRetry*2).\n // Ideally we can assert the exact retry count. We relax here to tolerate contention error.\n int expectedRetry = ((int) (Math.ceil(Math.log((interval - msginterval)))));\n Assert.assertTrue(String.format(\"reportForDuty retries %d times, less than expected min %d\", count, (expectedRetry / 2)), (count > (expectedRetry / 2)));\n Assert.assertTrue(String.format(\"reportForDuty retries %d times, more than expected max %d\", count, (expectedRetry * 2)), (count < (expectedRetry * 2)));\n }",
"boolean hasHeartBeatResponse();",
"public void integrationHZshutdownTest() {\n\t\t\n\t\tretryManager.registerCallback(new LatchCallback(new CountDownLatch(1), false), TYPE);\n\t\t\n\t\tretryManager.getHzInst().getLifecycleService().shutdown();\n\t\t\n\t\tRetryHolder retry = new RetryHolder(\"id-local-to-fail\", TYPE,new Exception(),\"Object\");\n\t\t\n\t\tretryManager.addRetry(retry);\n\t\t\n\t\t\t\t\n\t\t\n\t}",
"@After\n public void tearDown() throws UnknownHostException, IOException\n {\n MessageListener.unregisterEvent(socket);\n socket.close();\n }",
"@Test\n public void bogusReplySilentlyIgnored() throws Exception {\n peer.sendFrame().settings(new Settings());\n peer.acceptFrame();// ACK\n\n peer.sendFrame().headers(false, 41, TestUtil.headerEntries(\"a\", \"android\"));\n peer.sendFrame().ping(false, 2, 0);\n peer.acceptFrame();// PING\n\n peer.play();\n // play it back\n connect(peer);\n // verify the peer received what was expected\n MockHttp2Peer.InFrame ping = peer.takeFrame();\n Assert.assertEquals(2, ping.payload1);\n }",
"public boolean hasHeartBeatMsg() {\n return msgCase_ == 3;\n }",
"public boolean hasHeartBeatMsg() {\n return msgCase_ == 3;\n }",
"public void test1194() throws Exception {\n invokeAsync(createDispatchForNonAnonymousWithWSDLWithoutAddressing(),\n MESSAGES.getNonAnonymousReplyToMessage(),\n S11_NS,\n getNonAnonymousEndpointAddress(),\n clientAddress,\n ECHO_IN_ACTION,\n \"fault-test1194\");\n //Lets see we get a response in 60 s\n SOAPMessage m = respMsgExchanger.exchange(null, TestConstants.CLIENT_MAX_TIMEOUT, TimeUnit.SECONDS);\n// System.out.println(\"****************************\");\n// m.writeTo(System.out);\n// System.out.println(\"\\n****************************\");\n SOAPFault f = m.getSOAPBody().getFault();\n assertNotNull(f);\n assertEquals(USER_FAULT_CODE, f.getFaultCodeAsQName());\n\n }",
"@Test\n public void testProcessNoResponse() {\n // NOTE: this json file is a RESPONSE, not a request\n String request = ResourceUtils.getResourceAsString(\"org/onap/policy/simulators/appclcm/appc.lcm.success.json\");\n assertNotNull(request);\n\n server.onTopicEvent(CommInfrastructure.NOOP, MY_TOPIC, request);\n\n verify(sink, never()).send(any());\n }",
"public void postHealthCheckResponse(Event event) {\n Event<Health> healthCheckEvent = new Event<>(event);\n healthCheckEvent.setStatus(Status.TEMP_UPSTREAM_QUEUE);\n\n if (healthCheck()) {\n healthCheckEvent.addData(new Health(\"adapter\", HealthStatus.APPLICATION_HEALTHY.name()));\n } else {\n healthCheckEvent.addData(new Health(\"adapter\", HealthStatus.APPLICATION_UNHEALTHY));\n healthCheckEvent.setMessage(\"The adapter is unable to communicate with the application.\");\n }\n\n eventResponseService.postResponse(healthCheckEvent);\n }",
"@Override\n public void onTestSkipped(ITestResult result) {\n\n }",
"@Override\n public void onTestSkipped(ITestResult result) {\n\n }",
"public synchronized void requestFinished(Request request)\n {\n needsReorder = true;\n if (request.getDeadline() < clock.getTick())\n request.getStream().addMissedRequest();\n else\n request.getStream().addMetRequest();\n }",
"@Override\n public void onOffportRequestCompleted(int requestId) {\n\n }",
"@Override\n public void onCompleted() {\n System.out.println(\"Server has completed sending us response\");\n // on completed will be called right after onNext\n // Whenever server is done sending data latch is going down by 1\n latch.countDown();\n }",
"@Override\n\tpublic void onTestSkipped(ITestResult arg0) {\n\n\t}",
"protected void pingReceived(){\r\n\t\tpings++;\r\n\t\troundTrip = System.currentTimeMillis() - pingSent;\r\n\t\tlastPing = System.currentTimeMillis();\r\n\t\tlog.trace(\"\\\"\" + getName() + \"\\\" responded to ping after \" + roundTrip + \"ms\");\r\n\t}",
"@Override\r\n\tpublic void onTestSkipped(ITestResult result) {\n\t\t\r\n\t}",
"public void testSapServerTimeouts() {\n Intent sapDisconnectIntent = new Intent(SapServer.SAP_DISCONNECT_ACTION);\n sapDisconnectIntent.putExtra(\n SapServer.SAP_DISCONNECT_TYPE_EXTRA, SapMessage.DISC_IMMEDIATE);\n mContext = this.getContext();\n\n try {\n\n SapSequencer sequencer = new SapSequencer();\n if(rilTestModeEnabled) {\n sequencer.testModeEnable(true);\n }\n /* Build a default init sequence */\n buildDefaultInitSeq(sequencer);\n\n SapMessage disconnectReq = new SapMessage(SapMessage.ID_DISCONNECT_REQ);\n SapMessage disconnectResp = new SapMessage(SapMessage.ID_DISCONNECT_RESP);\n\n SapMessage resetResp = new SapMessage(SapMessage.ID_RESET_SIM_RESP);\n resetResp.setResultCode(SapMessage.RESULT_OK);\n\n int index = sequencer.addStep(disconnectReq, disconnectResp);\n\n assertTrue(sequencer.run());\n\n mContext.sendBroadcast(sapDisconnectIntent);\n\n } catch (IOException e) {\n Log.e(TAG, \"IOException\", e);\n }\n }",
"@Test\n public void testHandleTail() {\n RequestMsg request = getRequestMsg(\n getBasicHeader(ClusterIdCheck.CHECK, EpochCheck.CHECK),\n getTailRequestMsg(TailRequestMsg.Type.ALL_STREAMS_TAIL)\n );\n\n TailsResponse tailsResponseExpected = new TailsResponse(1L, 20L,\n ImmutableMap.of(UUID.randomUUID(), 5L, UUID.randomUUID(), 10L));\n\n when(mBatchProcessor.<TailsResponse>addTask(BatchWriterOperation.Type.TAILS_QUERY, request))\n .thenReturn(CompletableFuture.completedFuture(tailsResponseExpected));\n\n ArgumentCaptor<ResponseMsg> responseCaptor = ArgumentCaptor.forClass(ResponseMsg.class);\n logUnitServer.handleMessage(request, mChannelHandlerContext, mServerRouter);\n\n // Assert that the payload has a TAIL response and that the base\n // header fields have remained the same.\n verify(mServerRouter).sendResponse(responseCaptor.capture(), eq(mChannelHandlerContext));\n ResponseMsg response = responseCaptor.getValue();\n assertTrue(compareBaseHeaderFields(request.getHeader(), response.getHeader()));\n assertTrue(response.getPayload().hasTailResponse());\n\n // Assert that the response is as expected.\n TailsResponse provided = getTailsResponse(response.getPayload().getTailResponse());\n assertEquals(tailsResponseExpected.getEpoch(), provided.getEpoch());\n assertEquals(tailsResponseExpected.getLogTail(), provided.getLogTail());\n assertEquals(tailsResponseExpected.getStreamTails(), provided.getStreamTails());\n }",
"protected void onEndRequest()\n\t{\n\t}",
"void onTestSkipped(ITestResult result);",
"@Override\npublic void onTestSkipped(ITestResult result) {\n\t\n}",
"public Builder clearHeartBeatResponse() {\n if (heartBeatResponseBuilder_ == null) {\n if (msgCase_ == 4) {\n msgCase_ = 0;\n msg_ = null;\n onChanged();\n }\n } else {\n if (msgCase_ == 4) {\n msgCase_ = 0;\n msg_ = null;\n }\n heartBeatResponseBuilder_.clear();\n }\n return this;\n }",
"@Override\n\t\t\tpublic void onFailure(Request request, IOException e) {\n\t\t\t\t Log.i(\"info\",\"hehe\");\n\t\t\t}",
"@Override\n\tpublic boolean isResponseExpected() {\n\t\treturn false;\n\t}",
"default void reportHeartbeat(long expiredTimestamp) {}",
"private void setEndTimer() {\n vertx.setTimer(10, id -> testComplete());\n }",
"@Test\n public void testHttpDisconnectFromServerAfterConnected() throws Exception {\n final String testAddr = UUID.randomUUID().toString();\n final Subscription server = TestHttpUtil.createTestServerWith(testAddr, \n new Action1<HttpTrade>() {\n @Override\n public void call(final HttpTrade trade) {\n trade.abort();\n }},\n ENABLE_LOGGING);\n \n// final HttpTestServer server = createTestServerWith(false, \"test\",\n// new Func0<ChannelInboundHandler> () {\n// @Override\n// public ChannelInboundHandler call() {\n// return new HttpTestServerHandler() {\n// @Override\n// protected void channelRead0(final ChannelHandlerContext ctx, final HttpObject msg) \n// throws Exception {\n// if (msg instanceof HttpRequest) {\n// ctx.close();\n// }\n// }\n// };\n// }});\n \n final TestChannelCreator creator = new TestChannelCreator();\n final TestChannelPool pool = new TestChannelPool(1);\n final DefaultHttpClient client = new DefaultHttpClient(creator, pool,\n ENABLE_LOGGING);\n final TestSubscriber<HttpObject> testSubscriber = new TestSubscriber<HttpObject>();\n final OnNextSensor<HttpObject> nextSensor = new OnNextSensor<HttpObject>();\n try {\n final CountDownLatch unsubscribed = new CountDownLatch(1);\n client.defineInteraction(\n// new LocalAddress(\"test\"),\n new LocalAddress(testAddr),\n Observable.just(fullHttpRequest()).doOnNext(nextSensor))\n .compose(RxFunctions.<HttpObject>countDownOnUnsubscribe(unsubscribed))\n .subscribe(testSubscriber);\n unsubscribed.await();\n testSubscriber.awaitTerminalEvent();\n \n // await for 1 second\n pool.awaitRecycleChannels(1);\n assertEquals(1, creator.getChannels().size());\n creator.getChannels().get(0).assertClosed(1);\n } finally {\n client.close();\n// server.stop();\n server.unsubscribe();\n testSubscriber.assertTerminalEvent();\n assertEquals(1, testSubscriber.getOnErrorEvents().size());\n// assertEquals(RuntimeException.class, \n// testSubscriber.getOnErrorEvents().get(0).getClass());\n assertEquals(0, testSubscriber.getCompletions());\n assertEquals(0, testSubscriber.getOnNextEvents().size());\n // channel connected, so message has been send\n nextSensor.assertCalled();\n }\n }",
"@Override\n\tpublic void onTestSkipped(ITestResult result) {\n\t}",
"@Override\r\npublic void onTestSkipped(ITestResult arg0) {\n\t\r\n}",
"public void onTestSkipped(ITestResult result) {\n\t\t\r\n\t}",
"default void simulateMaintenanceEvent(\n com.google.cloud.tpu.v2alpha1.SimulateMaintenanceEventRequest request,\n io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {\n io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(\n getSimulateMaintenanceEventMethod(), responseObserver);\n }",
"void acked(boolean timedOutMessage);",
"public void publishHeartbeat(RoutingContext routingContext) {\n LOGGER.debug(\"Info: publishHeartbeat method starts;\");\n JsonObject requestJson = routingContext.getBodyAsJson();\n HttpServerRequest request = routingContext.request();\n HttpServerResponse response = routingContext.response();\n String instanceID = request.getHeader(HEADER_HOST);\n JsonObject authenticationInfo = new JsonObject();\n authenticationInfo.put(API_ENDPOINT, \"/iudx/v1/adapter\");\n requestJson.put(JSON_INSTANCEID, instanceID);\n if (request.headers().contains(HEADER_TOKEN)) {\n authenticationInfo.put(HEADER_TOKEN, request.getHeader(HEADER_TOKEN));\n authenticator.tokenInterospect(requestJson.copy(), authenticationInfo, authHandler -> {\n if (authHandler.succeeded()) {\n Future<JsonObject> brokerResult = managementApi.publishHeartbeat(requestJson, databroker);\n brokerResult.onComplete(brokerResultHandler -> {\n if (brokerResultHandler.succeeded()) {\n LOGGER.debug(\"Success: Published heartbeat\");\n handleSuccessResponse(response, ResponseType.Ok.getCode(),\n brokerResultHandler.result().toString());\n } else {\n LOGGER.debug(\"Fail: Unauthorized;\" + authHandler.cause().getMessage());\n processBackendResponse(response, brokerResultHandler.cause().getMessage());\n }\n });\n } else {\n LOGGER.debug(\"Fail: Unauthorized;\" + authHandler.cause().getMessage());\n handleResponse(response, ResponseType.AuthenticationFailure);\n }\n });\n } else {\n LOGGER.info(\"Fail: Unauthorized\");\n handleResponse(response, ResponseType.AuthenticationFailure);\n }\n }",
"public Heartbeat() {\n }",
"@Override\n public void onFailure(@NonNull Exception e) {\n Discoverer.this.eventListener.trigger(EVENT_LOG, \"Fail to request connection: \" + e.getMessage());\n }",
"@Override\n public void onFailure(int i) {\n discoverPeersTillSuccess();\n }",
"@Override\n public void onResponseTaskCompleted(Request request, Response response, OHException ohex, Object data) {\n requestingPoints = false;\n }",
"public void testReceiveFeedback() {\n\n\t}",
"private RequestMsg sendAndValidateResetLogUnit(long requestEpoch, long serverEpoch, long watermarkEpoch) {\n RequestMsg request = getRequestMsg(\n getBasicHeader(ClusterIdCheck.CHECK, EpochCheck.IGNORE),\n getResetLogUnitRequestMsg(requestEpoch)\n );\n\n when(mServerContext.getServerEpoch()).thenReturn(serverEpoch);\n when(mServerContext.getLogUnitEpochWaterMark()).thenReturn(watermarkEpoch);\n\n // Prepare a future that can be used by the caller.\n when(mBatchProcessor.<Void>addTask(BatchWriterOperation.Type.RESET, request))\n .thenReturn(CompletableFuture.completedFuture(null));\n\n ArgumentCaptor<ResponseMsg> responseCaptor = ArgumentCaptor.forClass(ResponseMsg.class);\n logUnitServer.handleMessage(request, mChannelHandlerContext, mServerRouter);\n\n // Assert that the payload has a RESET_LOG_UNIT response and that the\n // base header fields have remained the same.\n verify(mServerRouter).sendResponse(responseCaptor.capture(), eq(mChannelHandlerContext));\n ResponseMsg response = responseCaptor.getValue();\n assertTrue(compareBaseHeaderFields(request.getHeader(), response.getHeader()));\n assertTrue(response.getPayload().hasResetLogUnitResponse());\n return request;\n }",
"@Override\r\n protected void onSocketApiResult(int requestCode, Object... args) {\r\n Log.e(\"response\", args[0].toString());\r\n switch (requestCode) {\r\n case NetworkSocketConstant.TEST_RESPONSE:\r\n TestMessageResponseBean deleteMessageResponse = SocketResponseParser.parseTestMessage(args[0].toString(), this);\r\n break;\r\n\r\n }\r\n }",
"@Override\n\tpublic void onTestSkipped(ITestResult result) {\n\n\t}",
"@Override\n\tpublic void onTestSkipped(ITestResult result) {\n\t\t\n\t}",
"@Override\n\tpublic void onTestSkipped(ITestResult result) {\n\t\t\n\t}",
"@Override\n\tpublic void onTestSkipped(ITestResult result) {\n\t\t\n\t}",
"@Override\n\tpublic void onTestSkipped(ITestResult result) {\n\t\t\n\t}",
"private void clearSeenAToServer() {\n if (reqCase_ == 15) {\n reqCase_ = 0;\n req_ = null;\n }\n }",
"public void beforeReceive() {\n\t}",
"@Override\n protected boolean shouldAck() {\n return true;\n }",
"public void delayTestFinish() {\r\n\t\ttry {\r\n\t\t\tlatch.await();\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\tthrow new RuntimeException(e);\t// don't expose InterruptedException to users\r\n\t\t} finally {\r\n\t\t\tlatch.reset();\r\n\t\t}\r\n\t}",
"@After\n public void tearDown() throws ConnectionException {\n delegate.flush();\n }",
"@Test\n public void testHttpForNotConnected() throws Exception {\n \n final CountDownLatch unsubscribed = new CountDownLatch(1);\n \n final TestChannelCreator creator = new TestChannelCreator();\n final DefaultHttpClient client = new DefaultHttpClient(creator, ENABLE_LOGGING);\n // NOT setup server for local channel\n final TestSubscriber<HttpObject> testSubscriber = new TestSubscriber<HttpObject>();\n final OnNextSensor<HttpObject> nextSensor = new OnNextSensor<HttpObject>();\n try {\n client.defineInteraction(new LocalAddress(\"test\"), \n Observable.<HttpObject>just(fullHttpRequest()).doOnNext(nextSensor))\n .compose(RxFunctions.<HttpObject>countDownOnUnsubscribe(unsubscribed))\n .subscribe(testSubscriber);\n \n unsubscribed.await();\n \n testSubscriber.awaitTerminalEvent();\n assertEquals(1, creator.getChannels().size());\n creator.getChannels().get(0).assertClosed(1);\n } finally {\n client.close();\n assertEquals(0, testSubscriber.getOnNextEvents().size());\n assertEquals(0, testSubscriber.getCompletions());\n assertEquals(1, testSubscriber.getOnErrorEvents().size());\n nextSensor.assertNotCalled();\n }\n }",
"@Test\n\tpublic void testMdcThrowup() throws Exception {\n\t\tdoAnswer(x -> {\n\t\t\tassertThat(MDC.get(\"state\")).isEqualTo(\"sent\");\n\t\t\tassertThat(MDC.get(\"success\")).isEqualTo(\"true\");\n\t\t\tassertThat(MDC.get(\"duration\")).isEqualTo(\"121\");\n\t\t\tassertThat(MDC.get(\"osuApiRateBlockedTime\")).isEqualTo(\"32\");\n\t\t\treturn null;\n\t\t}).when(botInfo).setLastSentMessage(123L);\n\t\tPrivateMessage event = new PrivateMessage(1, \"nick\", 2, \"yo\");\n\t\tevent.getMeta().setRateLimiterBlockedTime(32);\n\t\twhen(clock.currentTimeMillis()).thenReturn(123L);\n\t\tresponsePostprocessor.onResponse(new Success(\"yeah\"), event);\n\t\tverify(botInfo).setLastSentMessage(123L);\n\t}",
"public void onTestSkipped(ITestResult result) {\n\n\t}",
"@Override\n\tpublic void onTestSkipped(ITestResult tr) {\n\t\tsuper.onTestSkipped(tr);\n\t}",
"public void onTestSkipped(ITestResult result) {\n\t\t\n\t}",
"public void onTestSkipped(ITestResult result) {\n\t\t\n\t}",
"public void onTestSkipped(ITestResult result) {\n\t\t\n\t}",
"abstract public SentinelHttpMessageAtk getLastAttackMessage();",
"@Override\n\tpublic void onFailure(TAResponse response) {\n\t}",
"@Override\n\tpublic boolean invokeAfter(Object... obj) throws Exception {\n\t\t\n\t\tlong time = System.currentTimeMillis();\n\t\tif (log.isDebugEnabled()) {\n\t\t\tif (startTime.get() != null)\n\t\t\t\tlog.debug(\"服务接入耗时:\" + (time - startTime.get()));\n\t\t}\n\t\treturn true;\n\t}",
"HeartBeat.Req getHeartBeatReq();",
"default boolean isHeartbeatSupported() {\n return false;\n }"
]
| [
"0.63088906",
"0.6176145",
"0.61443233",
"0.6087532",
"0.60359746",
"0.59296685",
"0.5922922",
"0.58738273",
"0.58702844",
"0.5814599",
"0.5734029",
"0.56837213",
"0.5650881",
"0.56139016",
"0.55828",
"0.55673945",
"0.5557639",
"0.5521713",
"0.55182457",
"0.549323",
"0.54584235",
"0.54567474",
"0.54150516",
"0.5413335",
"0.5413335",
"0.5398762",
"0.5387327",
"0.5380142",
"0.5371837",
"0.53658605",
"0.53478837",
"0.53394157",
"0.53394157",
"0.533799",
"0.5335309",
"0.5334378",
"0.53334826",
"0.53192836",
"0.5311023",
"0.52999336",
"0.5298793",
"0.529772",
"0.5297156",
"0.52907157",
"0.5287001",
"0.52864176",
"0.52818006",
"0.52818006",
"0.52796525",
"0.5279344",
"0.527642",
"0.527544",
"0.52626294",
"0.5250548",
"0.52205426",
"0.52131546",
"0.5211486",
"0.52075845",
"0.52061856",
"0.52052736",
"0.5197603",
"0.5194108",
"0.5187719",
"0.5180225",
"0.5176894",
"0.51758784",
"0.5162107",
"0.51599026",
"0.5159301",
"0.5157787",
"0.515632",
"0.51472855",
"0.51414675",
"0.51201093",
"0.51135504",
"0.510113",
"0.5100613",
"0.51003826",
"0.5099173",
"0.5096295",
"0.5096295",
"0.5096295",
"0.5096295",
"0.5090004",
"0.5086185",
"0.50799507",
"0.50788707",
"0.5067625",
"0.5064496",
"0.5061795",
"0.50585526",
"0.50581235",
"0.5057889",
"0.5057889",
"0.5057889",
"0.5056713",
"0.50501245",
"0.50444067",
"0.5040505",
"0.50394714"
]
| 0.63578284 | 0 |
Called when Heartbeat timeout has been detected. | default void onHeartBeatTimeout(SessionID sessionID) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void onTimeout() {\n }",
"public abstract void onTimeout();",
"public void onTimeout();",
"public void handleTimeout();",
"protected void pktTimeout() {}",
"public void onSupperTimeout() {\r\n }",
"public void handleScreenOnTimeout() {\n this.mTimeoutSummary = getTimeoutSummary();\n Slog.e(TAG, this.mTimeoutSummary);\n this.mHandler.sendEmptyMessageDelayed(5, REPORT_DELAY);\n }",
"@Override\n public void onTimeout(TimeValue timeout) {\n run();\n }",
"private void checkTimeout() {\n/* 169 */ if (this.socket != null) {\n/* */ \n/* 171 */ long i = this.keepaliveTimeoutMs;\n/* */ \n/* 173 */ if (this.listRequests.size() > 0)\n/* */ {\n/* 175 */ i = 5000L;\n/* */ }\n/* */ \n/* 178 */ long j = System.currentTimeMillis();\n/* */ \n/* 180 */ if (j > this.timeLastActivityMs + i)\n/* */ {\n/* 182 */ terminate(new InterruptedException(\"Timeout \" + i));\n/* */ }\n/* */ } \n/* */ }",
"private void onResponseTimerTick()\r\n {\r\n EneterTrace aTrace = EneterTrace.entering();\r\n try\r\n {\r\n cleanAfterConnection(true, true);\r\n }\r\n finally\r\n {\r\n EneterTrace.leaving(aTrace);\r\n }\r\n }",
"default void onMissedHeartBeat(SessionID sessionID) {\n }",
"void handleTimeoutTask();",
"void reportHeartbeat();",
"void timedOut();",
"public void onTimeout(Runnable callback)\n/* */ {\n/* 148 */ this.timeoutCallback = callback;\n/* */ }",
"public void keepAlive() throws IOException {\n long currentTimeMillis = clock.currentTimeMillis();\n\n if (currentTimeMillis - lastTxMillis > TX_HEARTBEAT_INTERVAL_MILLIS)\n send(heartbeatMessageType);\n\n if (currentTimeMillis - lastRxMillis > RX_HEARTBEAT_TIMEOUT_MILLIS)\n handleHeartbeatTimeout();\n }",
"@Override\n\t\tpublic void run(Timeout timeout) throws Exception {\n\n\t\t\tArrayList<ConnectedUser> timedOuts = new ArrayList<ConnectedUser>();\n\n\t\t\tMessageProxyServer.this.timeoutChecker.newTimeout(new TimeoutTimerTask(), MessageProxyServer.this.timeoutInSeconds, TimeUnit.SECONDS);\n\t\t\tfor (ConnectedUser user : MessageProxyServer.this.connectedUsers) {\n\t\t\t\tif (!user.isAlive()) {\n\t\t\t\t\ttimedOuts.add(user);\n\t\t\t\t}\n\t\t\t\tuser.setAlive(false);\n\t\t\t}\n\t\t\tfor (ConnectedUser user : timedOuts) {\n\t\t\t\tclientTimedOut(user.getChannel());\n\t\t\t}\n\t\t\tbroadcastMessage(new Message(OpCode.STC_HEARTBEAT_REQUEST));\n\t\t}",
"public void processTransmissionTimeout() {\n //to be overridden by extending classes\n }",
"private void onPingingTimerTick()\r\n {\r\n EneterTrace aTrace = EneterTrace.entering();\r\n try\r\n {\r\n try\r\n {\r\n myConnectionManipulatorLock.lock();\r\n try\r\n {\r\n // Send the ping message.\r\n myUnderlyingOutputChannel.sendMessage(myPreserializedPingMessage);\r\n\r\n // Schedule the next ping.\r\n myPingingTimer.change(myPingFrequency);\r\n }\r\n finally\r\n {\r\n myConnectionManipulatorLock.unlock();\r\n }\r\n }\r\n catch (Exception err)\r\n {\r\n // The sending of the ping message failed - the connection is broken.\r\n cleanAfterConnection(true, true);\r\n }\r\n }\r\n finally\r\n {\r\n EneterTrace.leaving(aTrace);\r\n }\r\n }",
"@Override\r\n\t\t\t\t\tpublic void onSocketTimeoutException(String msg) {\n\t\t\t\t\t\tUToast.showSocketTimeoutToast(getActivity());\r\n\t\t\t\t\t\tstopLoadMoreAndRefresh();\r\n\t\t\t\t\t}",
"default void reportHeartbeat(long expiredTimestamp) {}",
"@Override\n protected long scanDelayMillis() {\n return getHeartbeatDelay();\n }",
"@Override\n\tpublic void onCardTimeOut() {\n\t\tLoggerUtils.d(\"onCardTimeOut Start!!!\");\n\t\tonTimeOut();\n\t}",
"protected void touchTimeoutCounter()\n\t{\n\t this.lastAccessTime = System.currentTimeMillis();\n\t thread.interrupt ();\n\t}",
"public void requestTimeout(Pdu packet);",
"@Override\n\tpublic void ActuatorBTimeOutEvent(ActuatorBTimeOutObjectEvent e, int time) {\n\t\t\n\t}",
"@Override\r\n\t\t\t\t\tpublic void onConnectTimeoutException(String msg) {\n\t\t\t\t\t\tUToast.showConnectTimeoutToast(getActivity());\r\n\t\t\t\t\t\tstopLoadMoreAndRefresh();\r\n\t\t\t\t\t}",
"public abstract void isTimeout(long ms);",
"static interface TimeoutHandler {\n\n\t/**\n\t * Perform an action required for a timeout.\n\t */\n\tpublic void handleTimeout();\n }",
"public void acceptTimeout();",
"Future<T> onTimeout(Consumer<Throwable> timeoutHandler);",
"@Override\r\n public void onTimeout(final Long payload) {\n // count-down our latches. The first latch only requires one\r\n // invocation, the second expects two (though the second should\r\n // never be received)\r\n //\r\n expectedTimeoutReceivedLatch.countDown();\r\n timeoutWhichShouldNeverBeReceivedLatch.countDown();\r\n }",
"@Override\r\n\t\t\t\tpublic void onTimeout(AsyncEvent event) throws IOException {\n\t\t\t\t\tprintln(\"[MyAsyncServlet] Timeout\");\r\n\t\t\t\t}",
"protected void setTimeout() {\r\n\t\tTimeout timeout = new Timeout();\r\n\t\tt.schedule(timeout, TIMEOUT);\r\n\t}",
"private void resetHeartbeatTimer() {\n if (heartbeatScheduledFuture != null && !heartbeatScheduledFuture.isDone()) {\n heartbeatScheduledFuture.cancel(true);\n }\n heartbeatScheduledFuture = scheduledExecutorService.schedule(new Runnable() {\n @Override\n public void run() {\n startNewHeartbeat();\n }\n }, raftOptions.getHeartbeatPeriodMilliseconds(), TimeUnit.MILLISECONDS);\n }",
"protected void timeout(Object data_) \n\t{\n\t\tif ( data_ instanceof DiffTimer )\n\t\t{\n\t\t\tDiffTimer d = (DiffTimer)data_ ;\n\t\t\tint type = d.EVT_Type ;\n\t\t\tif(pendingInterest!=null && type!=DiffTimer.TIMEOUT_DELAY_BROADCAST){\n\t\t\t\tsendPacket(pendingInterest, 0.0) ;\n\t\t\t}\n\t\t\tswitch ( type )\n\t\t\t{\n\t\t\t\tcase DiffTimer.TIMEOUT_SEND_REINFORCEMENT :\n\t\t\t\t\tsendReinforcements() ;\n\n\t\t\t\t\t/*// if the size of the dataCache has become 0, there is no need for the timer. The timer will be set next time dataCache_insert is called. \n\t\t\t\t\tif ( (dataCache.size() == 0) && (reinforcementTimer.handle != null) )\n\t\t\t\t\t{\n\t\t\t\t\t\tcancelTimeout(reinforcementTimer.handle) ;\n\t\t\t\t\t\treinforcementTimer.setObject(null) ;\n\t\t\t\t\t\treinforcementTimer.handle = null ; \n\t\t\t\t\t\treinforcementTimer = null ;\n\t\t\t\t\t}\n\t\t\t\t\telse{*/\n\t\t\t\t\t//\t reset the timer. \n\t\t\t\t\t\treinforcementTimer.handle = setTimeout(reinforcementTimer, REINFORCE_WINDOW) ;\n\t\t\t\t\t//}\n\t\t\t\t\tbreak ;\n\t\t\t\tcase DiffTimer.TIMEOUT_INTEREST_CACHE_PURGE :\n\t\t\t\t\tinterestCachePurge() ;\n\n\t\t\t\t\t/* if the size of the interestCache has become 0, there is no need for the timer. The timer will be set next time interestCache_insert is called. */\n\t\t\t\t\tif ( (interestCache.size() == 0) && (interestCache_purgeTimer.handle != null) )\n\t\t\t\t\t{\n\t\t\t\t\t\tcancelTimeout(interestCache_purgeTimer.handle) ;\n\t\t\t\t\t\tinterestCache_purgeTimer.setObject(null) ;\n\t\t\t\t\t\tinterestCache_purgeTimer.handle = null ; \n\t\t\t\t\t\tinterestCache_purgeTimer = null ;\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\t/* reset the timer. */\n\t\t\t\t\t\tinterestCache_purgeTimer.handle = setTimeout(interestCache_purgeTimer, INTEREST_CACHE_PURGE_INTERVAL) ;\n\t\t\t\t\t}\n\t\t\t\t\tbreak ;\n\t\t\t\tcase DiffTimer.TIMEOUT_DELAY_BROADCAST :\n\t\t\t\t\t\n\t\t\t\t\tif ( d.getObject() instanceof InterestPacket )\n\t\t\t\t\t{\n\t\t\t\t\t\tsendPacket((InterestPacket)(d.getObject()), 0.0) ;\n\t\t\t\t\t}\n\t\t\t\t\telse if ( d.getObject() instanceof DataPacket )\n\t\t\t\t\t{\n\t\t\t\t\t\tDataPacket dataPkt = (DataPacket)(d.getObject()) ;\n\t\t\t\t\t\tsendPacket(dataPkt, 0.0) ;\n\t\t\t\t\t}\n\t\t\t\t\telse if ( d.getObject() instanceof ReinforcementPacket )\n\t\t\t\t\t{\n\t\t\t\t\t\tReinforcementPacket pstvReinforcementPkt = (ReinforcementPacket)(d.getObject()) ;\n\t\t\t\t\t\tsendPacket(pstvReinforcementPkt, 0.0) ;\n\t\t\t\t\t}\n\t\t\t\t\tbreak ;\n\t\t\t\tcase DiffTimer.TIMEOUT_REFRESH_INTEREST :\n\t\t\t\t\t\n\t\t\t\t\tInteger I = (Integer)(d.getObject()) ;\n\t\t\t\t\tint taskId = I.intValue() ;\n\t\t\t\t\tTaskEntry taskEntry = activeTasksList.get(taskId) ;\n\t\t\t\t\tInterestPacket interest= taskEntry.getInterest();\n\t\t\t\t\t//if ( (getTime() - taskEntry.getStartTime()) <= interest.getDuration()) /* depends on getTime() - interest start time */\n\t\t\t\t\t//{\n\t\t\t\t\t\tif ( isDebugEnabled() )\n\t\t\t\t\t\t\tSystem.out.println(\"DiffApp \" + nid + \": Sending INTEREST packet at time \" + getTime()) ;\n\t\t\t\t\t\tinterest.setTimestamp(getTime());\n\t\t\t\t\t\tsendPacket(interest, 0.0 ) ;\n\t\t\t\t\t\tDiffTimer refresh_EVT = new DiffTimer(DiffTimer.TIMEOUT_REFRESH_INTEREST, new Integer(taskId)); \n\t\t\t\t\t\trefresh_EVT.handle = setTimeout(refresh_EVT, taskEntry.getRefreshPeriod()) ;\n\t\t\t\t\t/*}\n\t\t\t\t\telse if ( d.handle != null )\n\t\t\t\t\t{\n\t\t\t\t\t\t// The task state has to be purged from the node after the time indicated by the duration attribute. \n\t\t\t\t\t\tactiveTasksList.remove(taskId) ;\n\t\t\t\t\t}*/\n\t\t\t\t\tcancelTimeout(d.handle) ;\n\t\t\t\t\td.setObject(null) ;\n\t\t\t\t\td.handle = null ;\n\t\t\t\t\tbreak ;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tmicroLearner.timeout(data_) ;\n\t\t} \n\t}",
"@Override\n protected void onRequestTimeout(Tuple request) {\n }",
"@Override\r\n public void setTimeouts()\r\n {\n\r\n }",
"@Override\n public void run() {\n time_ = (int) (System.currentTimeMillis() - startTime_) / 1000;\n updateUI();\n\n if (time_ >= maxTime_) {\n // Log.v(VUphone.tag, \"TimerTask.run() entering timeout\");\n handler_.post(new Runnable() {\n public void run() {\n report(true);\n }\n });\n }\n }",
"RequestSender onTimeout(long timeout, Runnable runnable);",
"private void setTimedOut() {\n\t\tthis.timedOut.set(true);\n\t}",
"private void setEndTimer() {\n vertx.setTimer(10, id -> testComplete());\n }",
"void setHeartbeatInterval(int interval);",
"private void onSearchLoadTimeout() {\n ViewGroup root = (ViewGroup) getView();\n Activity host = getActivity();\n if (root != null && host != null) {\n mListPanel.setVisibility(View.GONE);\n mWarningContainer = (ViewGroup) LayoutInflater.from(host).inflate(\n R.layout.message_list_warning, root, false);\n TextView title = UiUtilities.getView(mWarningContainer, R.id.message_title);\n TextView message = UiUtilities.getView(mWarningContainer, R.id.message_warning);\n title.setText(R.string.search_slow_warning_title);\n message.setText(R.string.search_slow_warning_message);\n root.addView(mWarningContainer);\n }\n }",
"public void sendHeartbeat();",
"void reportHeartbeatRpcFailure();",
"long getLastHeartbeat();",
"@Override\r\n public void timePassed() {\r\n }",
"void sessionHeartbeat() throws IOException, InterruptedException;",
"private void checkTimeout() {\n val timeout = config.getInt(\"timeout\");\n\n checkArgument(timeout >= 1000, \"timeout is less than 1000!\");\n }",
"void acked(boolean timedOutMessage);",
"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 setTimeout(double timeout){\n this.timeout = timeout;\n }",
"public void checkTime() throws InterruptedByTimeoutException\n {\n if (System.currentTimeMillis() - this.start > TIME)\n throw new InterruptedByTimeoutException();\n }",
"@Override\n public void timePassed() {\n }",
"protected void issueHeartbeat() {\n updateProperties();\n\n issueConnectorPings();\n }",
"void timeout(ServiceExecutionEvent e) {\n }",
"private void scheduleInactivityEvent()\n {\n if (m_disconnectEvent != null) m_disconnectEvent.cancel();\n m_disconnectEvent = m_server.getEventMachine().executeLater(new Runnable()\n {\n public void run()\n {\n m_socket.write(\"Disconnected due to inactivity.\".getBytes());\n m_socket.closeAfterWrite();\n }\n }, INACTIVITY_TIMEOUT);\n }",
"int getHeartbeatInterval();",
"Timeout(TimeoutHandler timeoutHandler, int interval) {\n\tthis.timeoutHandler = timeoutHandler;\n\tthis.interval = interval;\n }",
"@Override\n public void run() {\n final long currentTimeMillis = System.currentTimeMillis();\n if (LOGGER.isDebugEnabled()) {\n LOGGER.debug(heartbeat + \" HeartbeatProcessor ...\");\n }\n if (!heartbeat.getSkillState().equals(State.READY)) {\n if (LOGGER.isDebugEnabled()) {\n LOGGER.debug(\"No heartbeat because this skill has not yet joined the network.\");\n }\n return;\n }\n\n // send heartbeats after waiting at least the specified duration\n final long outboundHeartbeatReceivedThresholdMillis = currentTimeMillis - OUTBOUND_HEARTBEAT_PERIOD_MILLIS;\n if (LOGGER.isDebugEnabled()) {\n LOGGER.debug(\" \" + outboundParentHeartbeatInfo);\n }\n if (outboundParentHeartbeatInfo.heartbeatSentMillis < outboundHeartbeatReceivedThresholdMillis) {\n sendHeartbeat(outboundParentHeartbeatInfo, heartbeat);\n }\n }",
"private void handleRefreshTimeout(Intent intent) {\n\tif(LOG_INFO) Log.i(TAG, \" handleRefreshTimeout \" + intent.toUri(0));\n String responseId = intent.getStringExtra(EXTRA_REQUEST_ID);\n String[] responseIdSplit = responseId.split(COLON);\n String type = responseIdSplit[0];\n PublisherManager pubMgr = PublisherManager.getPublisherManager(this, type);\n if(pubMgr != null)\n pubMgr.handleRefreshTimeout(intent);\n }",
"private void startBackupHeartbeatTimer() {\n\t\tTimerTask timerTask = new TimerTask() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tif (remoteLoadBalancers.size() == 1) {\n\t\t\t\t\t// No need to elect or monitor server latency\n\t\t\t\t\tisElectedBackup = true;\n\t\t\t\t\tserverLatencyProcessorTimer.cancel();\n\t\t\t\t\tComponentLogger.getInstance().log(LogMessageType.LOAD_BALANCER_ELECTED_AS_BACKUP);\n\t\t\t\t\tSystem.out.println(\"Elected as backup\");\n\t\t\t\t} else if (!preElectionInProgress) {\n\t\t\t\t\tComponentLogger.getInstance().log(LogMessageType.LOAD_BALANCER_BACKUP_FAILURE_DETECTED);\n\t\t\t\t\tSystem.out.println(\"Detected failed/absent backup - initiating election\");\n\t\t\t\t\tinitiatePreElection();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tbackupHeartbeatTimer = new Timer();\n\t\tbackupHeartbeatTimer.schedule(timerTask, backupTimeoutMillis);\n\t}",
"boolean timedOut() {\n\treturn timedOut;\n }",
"public interface TimeoutObserver {\n\n /**\n * is the interface through which the MsgFilter delivers the TimeoutEvent.\n */\n public void acceptTimeout();\n }",
"protected abstract void timed() throws Throwable;",
"public void setTimeout(int timeout);",
"public void setTimeout(int timeout) {\r\n\t\tconnTimeout = timeout;\r\n\t}",
"private static void timeout(String user, int time) { sendMessage(\"/timeout \" + user + \" \" + time); }",
"public long timeout(long timeout);",
"public void waitForNotificationOrFail() {\n new PollingCheck(5000) {\n @Override\n protected boolean check() {\n return mContentChanged;\n }\n }.run();\n mHT.quit();\n }",
"public void onIdle() {\n Methods.showMessage(\"Warning\", \"No User Action for the Last 5 Minutes!\", \"Do You Need More Time?\");\n }",
"public void setTimeouted() {\n this.timeouted = true;\n }",
"private void resetBackupHeartbeatTimer() {\n\t\tbackupHeartbeatTimer.cancel();\n\t\tstartBackupHeartbeatTimer();\n\t}",
"private void handleServerTimeoutChangeEvent(ServerTimeoutChangeEvent event)\n {\n if (event != null && event.getOGCServerSourceSessionUniqueId() == mySourceSessionUniqueId)\n {\n LOGGER.info(\"Changing Timeouts for Payload[\" + myServerTitle + \"]UqId[\" + mySourceSessionUniqueId + \"] Read(ms)[\"\n + event.getReadTimeoutMS() + \"] Connect(ms)[\" + event.getConnectTimeoutMS() + \"]\");\n myServerConfig.setReadTimeout(event.getReadTimeoutMS());\n myServerConfig.setConnectTimeout(event.getConnectTimeoutMS());\n updateServerConnectionTimeouts(event);\n }\n }",
"public void setTimeout(int timeout) {\r\n this.timeout = timeout;\r\n }",
"long getTimeout();",
"public void setTimeout(Integer timeout) {\n\t\tthis.timeout = timeout;\n\t}",
"public void sessionTimeout() {\n\n AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(DeviceTrackerApplication.getContext());\n alertDialogBuilder.setTitle(getString(R.string.app_name));\n alertDialogBuilder\n .setMessage(R.string.session_expired)\n .setCancelable(false)\n .setPositiveButton(R.string.ok_msg, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n logout();\n }\n });\n alertDialog = alertDialogBuilder.create();\n alertDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);\n startSessionTimer(0);\n }",
"void reportHeartbeatRpcSuccess();",
"private void resetActiveHeartbeatTimer() {\n\t\tactiveHeartbeatTimer.cancel();\n\t\tstartActiveHeartbeatTimer();\n\t}",
"private void startActiveHeartbeatTimer() {\n\t\tTimerTask timerTask = new TimerTask() {\n\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tif (currentActive == null) {\n\t\t\t\t\t// No active was present - elevate own state.\n\t\t\t\t\tComponentLogger.getInstance().log(LogMessageType.LOAD_BALANCER_NO_ACTIVE_DETECTED);\n\t\t\t\t\tSystem.out.println(\"Detected absence of an active node.\");\n\t\t\t\t\tterminateThread.set(true);\n\t\t\t\t\tnew Thread(LoadBalancer.getNewActiveLoadBalancer()).start();\n\t\t\t\t\tfor (RemoteLoadBalancer remoteLoadBalancer : remoteLoadBalancers) {\n\t\t\t\t\t\tremoteLoadBalancer.resetState();\n\t\t\t\t\t}\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t// Suspected failure - attempt to contact active\n\t\t\t\tComponentLogger.getInstance().log(LogMessageType.LOAD_BALANCER_ACTIVE_FAILURE_DETECTED);\n\t\t\t\tSystem.out.println(\"Active load balancer failure detected.\");\n\t\t\t\tThread.currentThread().setPriority(Thread.MAX_PRIORITY);\n\n\t\t\t\tif (!currentActive.connect(activeTimeoutMillis / 100)) {\n\t\t\t\t\t// activeFailureDetected = true;\n\t\t\t\t\thandleActiveFailure();\n\t\t\t\t} else {\n\t\t\t\t\tByteBuffer buffer = ByteBuffer.allocate(1);\n\t\t\t\t\tbuffer.put((byte) MessageType.ALIVE_REQUEST.getValue());\n\t\t\t\t\tbuffer.flip();\n\t\t\t\t\ttry {\n\t\t\t\t\t\twhile (buffer.hasRemaining()) {\n\t\t\t\t\t\t\tcurrentActive.getSocketChannel().write(buffer);\n\t\t\t\t\t\t}\n\t\t\t\t\t\texpectingAliveConfirmation = true;\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\t// e.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\tnew Timer().schedule(new TimerTask() {\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\tif (!receivedAliveConfirmation) {\n\t\t\t\t\t\t\t\thandleActiveFailure();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tresetActiveHeartbeatTimer();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\texpectingAliveConfirmation = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}, activeTimeoutMillis);\n\t\t\t\t}\n\t\t\t}\n\n\t\t};\n\t\tactiveHeartbeatTimer = new Timer();\n\t\tactiveHeartbeatTimer.schedule(timerTask, activeTimeoutMillis);\n\t}",
"public int getTimeout();",
"private void showTimeOutWarning(){\n\t\t clearTimeOutWarning();\n\t\t warningBannerWidget = new HTML(\"Warning! Your session is about to expire at \" + formattedTime +\n\t\t\t\t \". Please click on the screen or press any key to continue. Unsaved changes will not be retained if the session is allowed to time out.\");\n\t\t RootPanel.get(\"timeOutWarning\").add(buildTimeOutWarningPanel());\n\t\t RootPanel.get(\"timeOutWarning\").getElement().setAttribute(\"role\", \"alert\");\n\t\t RootPanel.get(\"timeOutWarning\").getElement().focus();\n\t\t RootPanel.get(\"timeOutWarning\").getElement().setTabIndex(0);\n\t}",
"public void setTimeout( int timeout ) {\n this.timeout = timeout;\n }",
"@Override\n\tpublic void waitTimedOut() {\n\t\t\n\t\tif( busylinetimer == null )\n\t\t\treturn;\n\t\t\n\t\tbusylinetimer.stop();\n\t\tbusylinetimer = null;\n\t\t\n\t\tlog.info(\"linea ocupada por mas de 120 segundos, iniciando proceso para colgar llamada.......\");\n\t\t\n\t\tnew CellPhoneHandUpCall(modem,false);\n\t}",
"public void timeout(){\n\t\tDate now = new Date();\n\t\tfor (Broadcast b : this.broadcasts){\n\t\t\tif (b.getTimeout().getTime() < now.getTime()){\n\t\t\t\tthis.remove(b);\n\t\t\t}\n\t\t}\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 void setTimeout(int timeout) {\n this.timeout = timeout;\n }",
"public void onTestFailedWithTimeout(ITestResult result) {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void doTimeOutWork() {\n\t\t\t\tthis.exit();\n\t\t\t}",
"@Override\n\t\t\tpublic void doTimeOutWork() {\n\t\t\t\tthis.exit();\n\t\t\t}",
"public void onTimerEvent();",
"public void setTimeout(final String timeout);",
"boolean hasResponseTimeNsec();",
"@Override\r\n public void run() {\n d5++;\r\n if (d5 == 1) {\r\n onReceive(new byte[]{Message.TIMER_MESSAGE, Message.TFP5_EXPIRE});\r\n }\r\n\r\n }",
"@Override\n public void onVersionFileDownloadTimeout() {\n\n }",
"TimerStatus onTimer();",
"int getTimeout();",
"public long getTimeout() { return timeout; }"
]
| [
"0.7574952",
"0.726323",
"0.72381973",
"0.70758307",
"0.68770725",
"0.668706",
"0.657048",
"0.6552639",
"0.6436093",
"0.64036065",
"0.6294234",
"0.62845653",
"0.62836677",
"0.6175646",
"0.6168772",
"0.616702",
"0.6142469",
"0.6142045",
"0.61108047",
"0.610466",
"0.6100311",
"0.6061282",
"0.60545206",
"0.6045859",
"0.6026733",
"0.5987035",
"0.5985106",
"0.5982248",
"0.59776396",
"0.5898165",
"0.5891741",
"0.5862296",
"0.5840309",
"0.5838756",
"0.58168167",
"0.58085203",
"0.5802501",
"0.5792845",
"0.57904243",
"0.5787092",
"0.5773615",
"0.57581216",
"0.57513547",
"0.5697452",
"0.56972855",
"0.56940395",
"0.5664833",
"0.5662712",
"0.5660199",
"0.56511897",
"0.563893",
"0.5630633",
"0.5628684",
"0.56193954",
"0.5614091",
"0.5605031",
"0.5578316",
"0.5575235",
"0.556766",
"0.55652976",
"0.5562185",
"0.55611503",
"0.5558749",
"0.5526653",
"0.55222386",
"0.55199814",
"0.55126035",
"0.55044657",
"0.5502064",
"0.54821086",
"0.5468708",
"0.54650396",
"0.54640436",
"0.5459807",
"0.5449161",
"0.543844",
"0.5425731",
"0.54219425",
"0.5419978",
"0.54130185",
"0.5403985",
"0.53982925",
"0.53900427",
"0.53880924",
"0.5385715",
"0.5383936",
"0.5380611",
"0.53656775",
"0.53575987",
"0.53432465",
"0.5342918",
"0.5342918",
"0.5336025",
"0.5335017",
"0.53267235",
"0.53251266",
"0.53225696",
"0.5321341",
"0.5319773",
"0.5310667"
]
| 0.726559 | 1 |
Called when ResendRequest has been sent out. | default void onResendRequestSent(SessionID sessionID, int beginSeqNo, int endSeqNo, int currentEndSeqNo) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void onEndRequest()\n\t{\n\t}",
"default void onResendRequestSatisfied(SessionID sessionID, int beginSeqNo, int endSeqNo) {\n }",
"private void resendWorkaround() {\r\n synchronized(waiters) {\r\n if(waiters.size() > 0 && lastResponseNumber == responseNumber && System.currentTimeMillis() - lastProcessedMillis > 450) {\r\n // Resend last request(s)\r\n for(Integer i : waiters.keySet()) {\r\n System.err.println(Thread.currentThread() + \": Resending: $\" + i + \"-\" + waiters.get(i));\r\n writer.println(\"$\" + i + \"-\" + waiters.get(i));\r\n writer.flush();\r\n lastProcessedMillis = System.currentTimeMillis();\r\n }\r\n }\r\n }\r\n }",
"@Override\r\n\tpublic void exitRequest() {\n\t\t\r\n\t}",
"void requestFinish();",
"public void finishRequest ()\r\n\t{\r\n\t\tthis.simTime = this.sim.getTimer();\r\n\t\t//Debug/System.out.println(Fmt.time(this.simTime)\r\n\t\t//Debug/\t+ \": <finishRequest> \" + this.request);\r\n\r\n\t\t//\tRemove request from the queue.\r\n\t\tthis.removeRequest();\r\n\t\t//\tGet the next request from the queue.\r\n\t\tthis.nextRequest();\r\n\t\t//\tIf there is one, process it.\r\n\t\t//\tIf not, then the next request scheduled will begin immediately.\r\n\t\tif (this.request != null) this.procRequest();\r\n\t}",
"protected void onEnd() {}",
"public void completeRequest() {\n // Clean up any old-age flash scopes\n Map<Integer, FlashScope> scopes = getContainer(request, false);\n if (scopes != null && !scopes.isEmpty()) {\n scopes.values()\n .removeIf(FlashScope::isExpired);\n }\n\n // Replace the request and response objects for the request cycle that is ending\n // with objects that are safe to use on the ensuing request.\n HttpServletRequest flashRequest = FlashRequest.replaceRequest(request);\n HttpServletResponse flashResponse = (HttpServletResponse) Proxy.newProxyInstance(\n getClass().getClassLoader(),\n new Class<?>[]{HttpServletResponse.class},\n new FlashResponseInvocationHandler());\n for (Object o : this.values()) {\n if (o instanceof ActionBean) {\n ActionBeanContext context = ((ActionBean) o).getContext();\n if (context != null) {\n context.setRequest(flashRequest);\n context.setResponse(flashResponse);\n }\n }\n }\n\n // start timer, clear request\n this.startTime = System.currentTimeMillis();\n this.request = null;\n this.semaphore.release();\n }",
"protected void finish() {\n writerServerTimingHeader();\n\n try {\n\n // maybe nobody ever call getOutputStream() or getWriter()\n if (bufferedOutputStream != null) {\n\n // make sure the writer flushes everything to the underlying output stream\n if (bufferedWriter != null) {\n bufferedWriter.flush();\n }\n\n // send the buffered response to the client\n bufferedOutputStream.writeBufferTo(getResponse().getOutputStream());\n\n }\n\n } catch (IOException e) {\n throw new IllegalStateException(\"Could not flush response buffer\", e);\n }\n\n }",
"@Override \n\t\t public void afterCompletion(HttpServletRequest request, \n\t\t HttpServletResponse response, Object object, Exception ex) \n\t\t throws Exception { \n\t\t System.out.println(\"AfterCompletion\");\n\t\t \n\n\t\t\t \n\t\t\n\t\t }",
"void onComplete(RouterRequest request);",
"public void finish() {\n if (!isFinishing) {\n performFnishWithRequest(true);\n }\n }",
"@Override\r\n\tpublic void finishEvent() {\n\t\tif(!mEventStarted)\r\n\t\t\treturn;\r\n\t\t\r\n\t\tmEventStarted = false;\r\n\t\t\r\n\t\txmlStreamTracerService.postObsel(mURL, mTraceID, mCookie, mRoot.toString(),\r\n\t\t\t\tnew AsyncCallback<String>() {\r\n\t\t\tpublic void onFailure(Throwable caught) {\r\n\t\t\t\t// Show the RPC error message to the user\r\n\t\t\t\tSystem.out.println(\"XMLStreamTracer: Failed to post the event.\");\r\n\t\t\t}\r\n\r\n\t\t\tpublic void onSuccess(String result) {\r\n\t\t\t\tSystem.out.println(\"XMLStreamTracer: Event posted.\");\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tmDocument.removeChild(mRoot);\r\n\t}",
"private void finishRequest(String message, Request baseRequest, HttpServletResponse response) throws IOException {\n ByteArrayISO8859Writer writer = new ByteArrayISO8859Writer(1500);\n writer.write(message);\n writer.flush();\n\n response.setContentLength(writer.size());\n\n OutputStream outputStream = response.getOutputStream();\n writer.writeTo(outputStream);\n\n outputStream.close();\n writer.close();\n baseRequest.getConnection().getEndPoint().close();\n }",
"public void resendRequestingQueue() {\n Logger.m1416d(TAG, \"Action - resendRequestingQueue - size:\" + this.mRequestingQueue.size());\n printRequestingQueue();\n printRequestingCache();\n while (true) {\n Requesting requesting = (Requesting) this.mRequestingQueue.pollFirst();\n if (requesting == null) {\n return;\n }\n if (requesting.request.getCommand() == 2) {\n this.mRequestingQueue.remove(requesting);\n this.mRequestingCache.remove(requesting.request.getHead().getRid());\n } else {\n requesting.retryAgain();\n sendCommandWithLoggedIn(requesting);\n }\n }\n }",
"public void endResponse()\n\t\t\t{\n\t\t\t\tsend(\"</response>\", false);\n\t\t\t}",
"@Override\n\t\t\t\tpublic void onResponseReceived(Request request, Response response) {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n\tprotected void doAfterCompletion(HttpServletRequest request,\n\t\t\tHttpServletResponse response, Object obj, Exception e) {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void onResponseReceived(Request request, Response response) {\n\t\t\t\t\n\t\t\t}",
"private void finishRequests(){\n\t\tpeer.getRequests().removeAll(finishedRequestsList);\n\t\tfinishedRequestsList.clear();\n\t}",
"public void requestDone(Request request, boolean isSuccessful);",
"@Override\n public void afterCompletion(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, Exception e) throws Exception {\n }",
"public final void finalize() {\n if (!this.f5341c) {\n mo12514a(\"Request on the loose\");\n C1264ee.m6818c(\"Marker log finalized without finish() - uncaught exit point for request\", new Object[0]);\n }\n }",
"@Override\r\n\tpublic void afterCompletion(HttpServletRequest req, HttpServletResponse resp, Object handler, Exception ex)\r\n\t\t\tthrows Exception {\n\t\t\r\n\t}",
"@Override\n\tpublic void afterCompletion(HttpServletRequest req,\n\t\t\tHttpServletResponse res, Object arg2, Exception arg3)\n\t\t\tthrows Exception {\n\n\t}",
"@Override\n\t\tpublic void onFinish() {\n\t\t\tfinalizar();\n\t\t}",
"public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object object, Exception e)\n\t\t\tthrows Exception {\n\t\t\n\t}",
"@Override\n\tpublic void onFinishRequest(HttpRequest request,int requestId) {\n\t\tprogressDialog.dismiss();\n\t}",
"public void endResponse() throws IOException {\n out.println();\n //out.println(\"--End\");\n out.flush();\n endedLastResponse = true;\n }",
"@Override\n public void finish() {\n // Send the result or an error and clear out the response\n if (this.mAccountAuthenticatorResponse != null) {\n if (this.mResultBundle != null) {\n this.mAccountAuthenticatorResponse.onResult(this.mResultBundle);\n } else {\n this.mAccountAuthenticatorResponse.onError(AccountManager.ERROR_CODE_CANCELED, \"canceled\");\n }\n // Clear out the response\n this.mAccountAuthenticatorResponse = null;\n }\n super.finish();\n }",
"private void sendReceiveRes(){\n\t}",
"@Override\n\tpublic void finish() {\n\t\tsuper.finish();\n\t\tVolleyHelper.cancelRequest(Constants.badgeList);\n\t}",
"public synchronized void requestFinished(Request request)\n {\n needsReorder = true;\n if (request.getDeadline() < clock.getTick())\n request.getStream().addMissedRequest();\n else\n request.getStream().addMetRequest();\n }",
"public int onEnd() {\n\t\t\t\tflushMessageQueue();\n\t\t\t\treturn 0;\n\t\t\t}",
"@Override\n\tprotected void outFinish() {\n\n\t}",
"@Override\r\n\tpublic void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)\r\n\t\t\tthrows Exception {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void afterCompletion(HttpServletRequest arg0, HttpServletResponse arg1, Object arg2, Exception arg3)\r\n\t\t\tthrows Exception {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void afterCompletion(HttpServletRequest arg0, HttpServletResponse arg1, Object arg2, Exception arg3)\r\n\t\t\tthrows Exception {\n\t\t\r\n\t}",
"public void onDetach()\n\t{\n\t\ttry\n\t\t{\n\t\t\tonEndRequest();\n\t\t\tlisteners.onEndRequest(this);\n\t\t}\n\t\tcatch (RuntimeException e)\n\t\t{\n\t\t\tlog.error(\"Exception occurred during onEndRequest\", e);\n\t\t}\n\n\t\ttry\n\t\t{\n\t\t\trequestHandlerExecutor.detach();\n\t\t}\n\t\tcatch (RuntimeException exception)\n\t\t{\n\t\t\thandleDetachException(exception);\n\t\t}\n\t\tfinally\n\t\t{\n\t\t\tlisteners.onDetach(this);\n\t\t}\n\n\t\tif (Session.exists())\n\t\t{\n\t\t\tSession.get().detach();\n\t\t}\n\n\t}",
"@Override\n\tpublic void\t\t\tacceptRequestTerminationNotification(RequestI r)\n\tthrows Exception\n\t{\n\t\tassert\tr != null ;\n\n\t\tif (RequestGenerator.DEBUG_LEVEL == 2) {\n\t\t\tthis.logMessage(\"Request generator \" + this.rgURI +\n\t\t\t\t\t\t\t\" is notified that request \"+ r.getRequestURI() +\n\t\t\t\t\t\t\t\" has ended.\") ;\n\t\t}\n\t}",
"void endNegotiation();",
"public String concludeRequest() {\n\t\treturn \"Already received a request\";\n\t}",
"@Override\r\n\tpublic void afterCompletion(HttpServletRequest arg0, HttpServletResponse arg1, Object arg2, Exception arg3) throws Exception {\n\r\n\t}",
"public void finishedAllRequests() {\n hasMoreRequests = false;\n }",
"@Override\n protected void finalize() throws Throwable {\n if(!mFinished) {\n finish(\"Request on the loose\", \"\");\n e(\"\", \"Marker log finalized without finish() - uncaught exit point for request\");\n\n }\n }",
"@Override\r\n public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)\r\n throws Exception {\n \r\n }",
"@Override\r\n public void afterCompletion(HttpServletRequest request,\r\n HttpServletResponse response, Object handler, Exception ex)\r\n throws Exception \r\n {\n }",
"@Override\r\n public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n Exception ex) throws Exception {\n\r\n }",
"@Override\r\n\tpublic void afterCompletion(HttpServletRequest arg0,\r\n\t\t\tHttpServletResponse arg1, Object arg2, Exception arg3)\r\n\t\t\tthrows Exception {\n\t\t\r\n\t}",
"public void end(){\r\n\t\tsetResult( true ); \r\n\t}",
"public abstract HTTPResponse finish();",
"@Override\r\n\tprotected void processRespond() {\n\r\n\t}",
"@Override\r\n\tprotected void processRespond() {\n\r\n\t}",
"@Override\r\n\tpublic void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)\r\n\t\t\tthrows Exception {\n\r\n\t}",
"@Override\r\n\tpublic void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)\r\n\t\t\tthrows Exception {\n\r\n\t}",
"@Override\r\n\tpublic void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)\r\n\t\t\tthrows Exception {\n\r\n\t}",
"@Override\r\n\tpublic void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)\r\n\t\t\tthrows Exception {\n\r\n\t}",
"@Override\r\n\tpublic void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)\r\n\t\t\tthrows Exception {\n\r\n\t}",
"@Override\r\n\tpublic void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)\r\n\t\t\tthrows Exception {\n\r\n\t}",
"@Override\r\n\tpublic void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)\r\n\t\t\tthrows Exception {\n\r\n\t}",
"public void onRequestFinished(int requestId, int resultCode, Bundle payload);",
"@Override\n\tpublic void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) throws Exception {\n\t\tsubject = null;\n\t\tsuper.afterCompletion(request, response, handler, ex);\n\t}",
"void onResponseTaskCompleted(Request request, Response response, OHException ohex, Object data);",
"@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}",
"@Override\n public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) throws Exception {\n\n System.out.println(\"Request URL :: \" + request.getRequestURL().toString()\n + \"End Time = \" + System.currentTimeMillis());\n }",
"@Override\r\n\tpublic void afterCompletion(HttpServletRequest paramHttpServletRequest,\r\n\t\t\tHttpServletResponse paramHttpServletResponse, Object paramObject,\r\n\t\t\tException paramException) throws Exception {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void afterCompletion(HttpServletRequest arg0,\r\n\t\t\tHttpServletResponse arg1, Object arg2, Exception arg3)\r\n\t\t\tthrows Exception {\n\r\n\t}",
"java.util.concurrent.Future<Void> resendValidationEmailAsync(\n ResendValidationEmailRequest resendValidationEmailRequest);",
"@Override protected void finalize() throws Throwable {\r\n\t\tsuper.finalize();\r\n\t\tif (flusher != null) {\r\n\t\t\tflusher.stop();\r\n\t\t}\r\n\t\tflush();\r\n\t}",
"protected void responseBodyConsumed() {\n\n // make sure this is the initial invocation of the notification,\n // ignore subsequent ones.\n responseStream = null;\n responseConnection.setLastResponseInputStream(null);\n\n if (shouldCloseConnection(responseConnection)) {\n responseConnection.close();\n }\n\n doneWithConnection = true;\n if (!inExecute) {\n ensureConnectionRelease();\n }\n }",
"@Override\n\tpublic void afterCompletion(HttpServletRequest arg0, HttpServletResponse arg1, Object arg2, Exception arg3)\n\t\t\tthrows Exception {\n\t\t\n\t}",
"@Override\n\tpublic void afterCompletion(HttpServletRequest arg0, HttpServletResponse arg1, Object arg2, Exception arg3)\n\t\t\tthrows Exception {\n\t\t\n\t}",
"private void onResponseTimerTick()\r\n {\r\n EneterTrace aTrace = EneterTrace.entering();\r\n try\r\n {\r\n cleanAfterConnection(true, true);\r\n }\r\n finally\r\n {\r\n EneterTrace.leaving(aTrace);\r\n }\r\n }",
"@Override\n\t\tpublic void finish() {\n\t\t\tunregisterReceiver(mBroadcastReceiver);\n\t\t\tsuper.finish();\n\t\t}",
"@Override\n\tpublic void afterCompletion(HttpServletRequest request,\n\t\t\tHttpServletResponse response, Object handler, Exception ex)\n\t\t\tthrows Exception {\n\t\t\n\t}",
"@Override\n\tpublic void afterCompletion(HttpServletRequest request,\n\t\t\tHttpServletResponse response, Object handler, Exception ex)\n\t\t\tthrows Exception {\n\t\t\n\t}",
"synchronized public void requestDone(Request request, boolean isSuccessful)\n {\n runningRequest = null;\n runNextRequest();\n }",
"@Override\n\tpublic void afterCompletion(HttpServletRequest request,\n\t\t\tHttpServletResponse response, Object handler, Exception ex)\n\t\t\tthrows Exception {\n\t}",
"@Override\n\tpublic void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)\n\t\t\tthrows Exception {\n\t\tsuper.afterCompletion(request, response, handler, ex);\n\t}",
"public void handleResponseInternal(long connection, Object obj) {\n JResponse response = (JResponse) obj;\n Logger.m1416d(TAG, \"Action - handleResponse - connection:\" + connection + \", response:\" + response.toString());\n if (connection != NetworkingClient.sConnection.get()) {\n Logger.m1432w(TAG, \"Response connection is out-dated. \");\n }\n Long rid = response.getHead().getRid();\n Requesting origin = dequeSentQueue(rid);\n if (origin == null) {\n Logger.m1432w(TAG, \"Not found the request in SentQueue when response.\");\n } else {\n rid = origin.request.getHead().getRid();\n endSentTimeout(rid);\n }\n Requesting requesting = (Requesting) this.mRequestingCache.get(rid);\n if (requesting != null) {\n endRequestTimeout(requesting);\n } else {\n Logger.m1432w(TAG, \"Not found requesting in RequestingCache when response.\");\n }\n }",
"@Override\n public void onFinished()\n {\n if (_requestPayload == null)\n {\n _streamResponseCallback.onError(Messages.toStreamException(RestException.forError(400,\n \"Did not receive any parts in the multipart mime request!\")));\n return;\n }\n\n //At this point, this means that the multipart mime envelope didn't have any attachments (apart from the\n //json/pson payload). Technically the rest.li client would not create a payload like this, but to keep the protocol\n //somewhat flexible we will allow it.\n //If there had been more attachments, then onNewPart() above would be invoked and we would have passed the\n //attachment reader onto the framework.\n\n //It is also important to note that this callback (TopLevelReaderCallback) will no longer be used. We provide\n //null to the application developer since there are no attachments present. Therefore it is not possible for this\n //callback to ever be used again. This is a bit different then the onNewPart() case above because in that case\n //there is a valid non-null attachment reader provided to the resource method. In that case application developers\n //could call drainAllAttachments() without registering a callback which would then lead to onDrainComplete() being\n //invoked.\n\n _restRequestBuilder.setEntity(_requestPayload);\n RestRequest restRequest = _restRequestBuilder.build();\n //We have no attachments so we pass null for the reader.\n // Debug request should have already handled by one of the request handlers.\n _fallback.handleResourceRequest(restRequest,\n _routingResult, toRestResponseCallback(_streamResponseCallback, _routingResult.getContext()));\n }",
"private void cerrarRecibir() {\n \t try {\r\n \t \tout.flush(); \r\n \t in.close();\r\n \t out.close(); \r\n \t }catch(Exception e) {}\r\n\t}",
"public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)\r\n\t\t\tthrows Exception {\n\t\t\r\n\t}",
"@Override\n\tpublic void afterCompletion(HttpServletRequest arg0, HttpServletResponse arg1, Object arg2, Exception arg3)\n\t\t\tthrows Exception {\n\n\t}",
"@Override\n\tpublic void afterCompletion(HttpServletRequest arg0, HttpServletResponse arg1, Object arg2, Exception arg3)\n\t\t\tthrows Exception {\n\n\t}",
"@Override\n\tpublic void afterCompletion(HttpServletRequest arg0, HttpServletResponse arg1, Object arg2, Exception arg3)\n\t\t\tthrows Exception {\n\n\t}",
"@Override\n\tpublic void afterCompletion(HttpServletRequest arg0, HttpServletResponse arg1, Object arg2, Exception arg3)\n\t\t\tthrows Exception {\n\n\t}",
"@Override\r\n\t\t\tpublic void onRequest() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void afterCompletion(HttpServletRequest request,\n\t\t\tHttpServletResponse response, Object handler, Exception ex)\n\t\t\tthrows Exception {\n\t\tsuper.afterCompletion(request, response, handler, ex);\n\t}",
"@Override\n\tpublic void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object arg2, Exception arg3)\n\t\t\tthrows Exception {\n\t\t\n\t}",
"void endPage(RequestContextHolder request);",
"protected void end()\n\t{\n\t}",
"@Override\n public void onCodeSent(@NonNull String verificationId,\n @NonNull PhoneAuthProvider.ForceResendingToken token) {\n mVerificationId = verificationId;\n mResendToken = token;\n }",
"@Override\n public void onCodeSent(@NonNull String verificationId,\n @NonNull PhoneAuthProvider.ForceResendingToken token) {\n mVerificationId = verificationId;\n mResendToken = token;\n }",
"@Override\n public void onCodeSent(@NonNull String verificationId,\n @NonNull PhoneAuthProvider.ForceResendingToken token) {\n mVerificationId = verificationId;\n mResendToken = token;\n }",
"@Override\n\tpublic void onResourceDelivered(ResourceResponse arg0) {\n\t\t\n\t}",
"public void sendRemainData();",
"protected void end() {\r\n }",
"protected void end() {\r\n }",
"protected void end() {\r\n }"
]
| [
"0.7494426",
"0.69340855",
"0.6348945",
"0.62151957",
"0.6177305",
"0.6166391",
"0.6120384",
"0.6020673",
"0.5990015",
"0.5971722",
"0.5965052",
"0.59644735",
"0.5841522",
"0.5839279",
"0.58293957",
"0.58202314",
"0.57939965",
"0.57657737",
"0.5744126",
"0.5724585",
"0.5722006",
"0.56953025",
"0.56750697",
"0.565652",
"0.5639505",
"0.56298816",
"0.5629604",
"0.5628811",
"0.5606933",
"0.55888796",
"0.5571133",
"0.555029",
"0.55319864",
"0.55225897",
"0.5520674",
"0.5512511",
"0.55070305",
"0.55070305",
"0.548791",
"0.5478604",
"0.5473927",
"0.5464429",
"0.5456617",
"0.5451575",
"0.5446225",
"0.54417413",
"0.54413325",
"0.54291946",
"0.54284245",
"0.54274714",
"0.5424794",
"0.541519",
"0.541519",
"0.54102916",
"0.54102916",
"0.54102916",
"0.54102916",
"0.54102916",
"0.54102916",
"0.54102916",
"0.5394619",
"0.5386387",
"0.537896",
"0.5362586",
"0.5354896",
"0.53538424",
"0.5344015",
"0.53375393",
"0.5336155",
"0.53348607",
"0.5331896",
"0.5331896",
"0.5331393",
"0.53182286",
"0.5307428",
"0.5307428",
"0.53038186",
"0.53026676",
"0.5299197",
"0.5291085",
"0.5289688",
"0.52826715",
"0.5264773",
"0.52641684",
"0.52641684",
"0.52641684",
"0.52641684",
"0.5262005",
"0.5260821",
"0.52606463",
"0.5256765",
"0.5255316",
"0.52543706",
"0.52543706",
"0.52543706",
"0.525156",
"0.52505285",
"0.5248812",
"0.5248812",
"0.5248812"
]
| 0.7323159 | 1 |
Called when SequenceReset has been received. | default void onSequenceResetReceived(SessionID sessionID, int newSeqNo, boolean gapFillFlag) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void onReset() {\n\t\t\n\t}",
"public abstract void onReset();",
"@Override\n public void onSequenceFinish() {\n // Yay\n }",
"protected void reset()\n {\n super.reset();\n m_seqNum = 1;\n }",
"protected void resetSequence() {\n doQuery(\"ALTER SEQUENCE feedentryqueue_id_seq RESTART\");\n }",
"void onReset()\n {\n }",
"@Override\n protected boolean checkSeqResetSeqNum() {\n return false;\n }",
"protected void onReset() {\n // Do nothing.\n }",
"public static final synchronized void resetLastReceivedSequenceNumber()\n {\n EASMessage.s_lastReceivedSequenceNumber = EASMessage.SEQUENCE_NUMBER_UNKNOWN;\n }",
"protected void onHardReset() {\n\t\tonReset();\n\t}",
"abstract protected void onReceivedSequence(String sequence);",
"default void onReset(SessionID sessionID) {\n }",
"protected void onSoftReset() {\n\t\tonReset();\n\t}",
"public void reset ()\n {\n final String METHOD_NAME = \"reset()\";\n this.logDebug(METHOD_NAME + \" 1/2: Started\");\n super.reset();\n this.lid = null;\n this.refId = Id.UNDEFINED;\n this.fromDocType = DocType.UNDEFINED;\n this.logDebug(METHOD_NAME + \" 2/2: Done\");\n }",
"void receiveSequenceNumber() {\r\n\t\t\r\n\t}",
"public void reset() {\n monitor.sendReset();\n }",
"@Override\n\tvoid reset() {\n\t\t\n\t}",
"@Override\n\tpublic void askReset() {\n\t}",
"public synchronized void reset() {\n }",
"@Override\n public void reset() {\n\n }",
"@Override\n\tpublic int sequence() {\n\t\treturn 0;\n\t}",
"public void unsetReset() {\n\t\twasReset=false;\n\t}",
"void responseSequenceNumber() {\r\n\t\t\r\n\t}",
"@Override\n public void resetBuffer() {\n\n }",
"@Override\n public void reset() {\n }",
"void resetReceivedEventsCount();",
"@Override\n\tpublic void reset() {\n\t\t\n\t}",
"@Override\n\tpublic void reset() {\n\t\t\n\t}",
"@Override\n\tpublic synchronized void reset() {\n\t\tiOBuffer.reset();\n\t}",
"protected void reset()\n {\n if (_resetTimedEvent != null && !_resetTimedEvent.hasAborted()\n && !_resetTimedEvent.hasFired()) _resetTimedEvent.abort();\n\n clearFlag();\n }",
"@Override\n public void reset() \n {\n\n }",
"public final void Reset()\n\t{\n\t}",
"void requestSequenceNumber() {\r\n\t\t// 부모가 가지고있는 메시지의 순서번호(시작 ~ 끝)를 요청 \r\n\t}",
"@Override\r\n\tpublic void reset()\r\n\t{\r\n\t}",
"@Override\n public synchronized void reset() {\n m_accumulatedTime = 0;\n m_startTime = getMsClock();\n }",
"@Override\r\n\tpublic void reset() {\n\t}",
"@Override\n\tpublic void reset() {\n\t}",
"protected void doReset() throws FndException\n {\n }",
"@Override\r\n\t\t\tpublic void reset() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void resetBuffer() {\n\t}",
"public void reset() {\n\t\tnewBuffer = null;\n\t\treadyBuffer = new StringBuilder();\n\t\tstatus = ConsumptionStatus.EMPTY;\n\t}",
"@Override\n\t\tprotected void reset()\n\t\t{\n\t\t}",
"@Override\n\tpublic void reset() {\n\n\t}",
"@Override\r\n\tpublic void reset() {\n\r\n\t}",
"@Override\r\n\tpublic void reset() {\n\r\n\t}",
"void resetSequential() {\n seq = nextLong(PRAND, maxSeq);\n inc = minInc + nextLong(PRAND, maxInc - minInc);\n }",
"public void reset() {\n this.done = false;\n }",
"public void reset() {\n finished = false;\n }",
"@Override\n public void reset()\n {\n state = \"initial state\";\n nbChanges = 0;\n nbResets++;\n }",
"public void reset() {\n\t\tmCycleFlip = false;\n\t\tmRepeated = 0;\n\t\tmMore = true;\n //mOneMoreTime = true;\n \n\t\t// 추가\n\t\tmStarted = mEnded = false;\n\t\tmCanceled = false;\n }",
"public void reset () {}",
"@Override\n public void onReset() {\n Log.i(TAG, \"PedoListener onReset\");\n /*\n if (this.status == PedoListener.RUNNING) {\n this.stop();\n }\n */\n }",
"@Override\r\n\tpublic void timestampReset(long aStartTimestamp) {\n\t\t\r\n\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"public boolean resetOccurred() {\r\n return this.resetOccurred;\r\n }",
"public void reset ()\r\n\t{\r\n\t\tsuper.reset();\r\n\t\tlastSampleTime = 0;\r\n\t\tfirstSampleTime = 0;\r\n\t\tlastSampleSize = 0;\r\n\t}",
"void reset()\n {\n\n }",
"public void Done(int seq) {\n // Your code here\n }",
"public void reset() {\n\n }",
"public void reset(){\n }",
"@Override\n public void onResetTimerRequest(ResetTimerRequest arg0) {\n\n }",
"private void reset() {\n }",
"public void reset() {\n actionFlag = true;\n messageFlag = false;\n self.getInputBuffer().clear();\n self.getOutputBuffer().clear();\n self.setCurrentProduct(null);\n self.resetCounters();\n self.getServiceManager().init(getRandom(), template);\n syncUpdate();\n }",
"private void triggerReset() {\n DefenceField.fieldActivated = false;\n OnFieldReset event = new OnFieldReset(this::doActivation);\n event.beginTask();\n DefenceField.getShrineEntity().send(event);\n event.finishTask();\n }",
"public void reset() {\n }",
"public void reset() {\n }",
"public void reset() {\n }",
"public void reset() {\n }",
"public void reset()\n\t{\n\t}",
"public void reset()\n\t{\n\t}",
"public void resetTimerComplete() {\n\t\tsetStartingTime(0);\n\t}",
"private void reset () {\n this.logic = null;\n this.lastPulse = 0;\n this.pulseDelta = 0;\n }",
"public void clearFrameSequence() {\n frameSequence = null;\n }",
"public void decodeFinishedSending(ByteBuffer buffer,\n SessionSequenceAttributes sessionSequenceAttributes) {\n\n }",
"public void reset ()\n {\n // position our buffer at the beginning of the frame data\n _buffer.position(getHeaderSize());\n }",
"public void decodeFinishedReceiving(ByteBuffer buffer,\n SessionSequenceAttributes sessionSequenceAttributes) {\n\n }",
"public synchronized void reset() {\n state = State.WAITING_TO_START;\n }",
"protected void reset() {\n\t\t}",
"@Override\n\tpublic void reset() {\n\t\tthis.prepare();\n\t\tsuper.reset();\n\t}",
"@Override\n\tpublic void doReset() throws BusinessException, Exception {\n\t\t\n\t}",
"@Override\n public void reset()\n {\n super.reset();\n }",
"public void reset() {\n\t}",
"public void reset() {\n\t}",
"public void reset() {\n\t}",
"public void reset() {\n\t}",
"@Override\n public void reset() {\n super.reset();\n }",
"public void onRestorePendingState() {\n }",
"public void resetBuffer() {\n\n\t}",
"public synchronized static void resetInvoked() {\n\n invoked = false;\n }",
"private void resetBuffer() {\n baos.reset();\n }",
"public void reset() {\n\t\tthis.flow = 0;\n\t}",
"@Override\n\t\tpublic void reset(int iteration) {\n\t\t\t\n\t\t}",
"public void reset() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void reset(int iteration) {\n\n\t}",
"public void reset() {\n\n\t}",
"protected abstract void reset();",
"protected void pktDupeAcked(int seqNum) {}"
]
| [
"0.7212865",
"0.70500946",
"0.686983",
"0.6777949",
"0.67389596",
"0.6730774",
"0.66415817",
"0.64606816",
"0.6395883",
"0.6391631",
"0.63213414",
"0.62481713",
"0.6214514",
"0.6052229",
"0.6036555",
"0.6014019",
"0.5991097",
"0.5990774",
"0.59222627",
"0.5910617",
"0.59087604",
"0.58949506",
"0.5886033",
"0.58562165",
"0.5853357",
"0.5847722",
"0.5843702",
"0.5843702",
"0.584176",
"0.58244073",
"0.5822173",
"0.5813081",
"0.57950103",
"0.5790373",
"0.5788071",
"0.57805586",
"0.57757336",
"0.57608247",
"0.5758808",
"0.57512003",
"0.574964",
"0.5733382",
"0.5727169",
"0.5723161",
"0.5723161",
"0.5722995",
"0.5714404",
"0.5705527",
"0.5700579",
"0.5699585",
"0.56923157",
"0.56885874",
"0.56883925",
"0.5687696",
"0.5687696",
"0.5687696",
"0.5687696",
"0.56532925",
"0.5642042",
"0.5641213",
"0.5640045",
"0.56218106",
"0.5610146",
"0.5601215",
"0.5599675",
"0.5594348",
"0.5585702",
"0.55784184",
"0.55784184",
"0.55784184",
"0.55784184",
"0.5571181",
"0.5571181",
"0.55673474",
"0.55612516",
"0.5556679",
"0.55563325",
"0.55560505",
"0.55495185",
"0.5547115",
"0.554605",
"0.5538403",
"0.5537533",
"0.55374265",
"0.5536078",
"0.5536078",
"0.5536078",
"0.5536078",
"0.5530343",
"0.55252737",
"0.5523826",
"0.5523355",
"0.5514175",
"0.551386",
"0.5507204",
"0.5502626",
"0.54965824",
"0.5495168",
"0.5490177",
"0.54852635"
]
| 0.7918256 | 0 |
Called when a received ResendRequest has been satisfied. | default void onResendRequestSatisfied(SessionID sessionID, int beginSeqNo, int endSeqNo) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"default void onResendRequestSent(SessionID sessionID, int beginSeqNo, int endSeqNo, int currentEndSeqNo) {\n }",
"protected void onEndRequest()\n\t{\n\t}",
"@Override\n\t\t\t\tpublic void onResponseReceived(Request request, Response response) {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void onFinished()\n {\n if (_requestPayload == null)\n {\n _streamResponseCallback.onError(Messages.toStreamException(RestException.forError(400,\n \"Did not receive any parts in the multipart mime request!\")));\n return;\n }\n\n //At this point, this means that the multipart mime envelope didn't have any attachments (apart from the\n //json/pson payload). Technically the rest.li client would not create a payload like this, but to keep the protocol\n //somewhat flexible we will allow it.\n //If there had been more attachments, then onNewPart() above would be invoked and we would have passed the\n //attachment reader onto the framework.\n\n //It is also important to note that this callback (TopLevelReaderCallback) will no longer be used. We provide\n //null to the application developer since there are no attachments present. Therefore it is not possible for this\n //callback to ever be used again. This is a bit different then the onNewPart() case above because in that case\n //there is a valid non-null attachment reader provided to the resource method. In that case application developers\n //could call drainAllAttachments() without registering a callback which would then lead to onDrainComplete() being\n //invoked.\n\n _restRequestBuilder.setEntity(_requestPayload);\n RestRequest restRequest = _restRequestBuilder.build();\n //We have no attachments so we pass null for the reader.\n // Debug request should have already handled by one of the request handlers.\n _fallback.handleResourceRequest(restRequest,\n _routingResult, toRestResponseCallback(_streamResponseCallback, _routingResult.getContext()));\n }",
"@Override\n\tpublic void onResourceDelivered(ResourceResponse arg0) {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void onResponseReceived(Request request, Response response) {\n\t\t\t\t\n\t\t\t}",
"@Override\r\n\t\t\tpublic void onRequest() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void receiveRequest() {\n\n\t}",
"public void onRequestFinished(int requestId, int resultCode, Bundle payload);",
"private void resendWorkaround() {\r\n synchronized(waiters) {\r\n if(waiters.size() > 0 && lastResponseNumber == responseNumber && System.currentTimeMillis() - lastProcessedMillis > 450) {\r\n // Resend last request(s)\r\n for(Integer i : waiters.keySet()) {\r\n System.err.println(Thread.currentThread() + \": Resending: $\" + i + \"-\" + waiters.get(i));\r\n writer.println(\"$\" + i + \"-\" + waiters.get(i));\r\n writer.flush();\r\n lastProcessedMillis = System.currentTimeMillis();\r\n }\r\n }\r\n }\r\n }",
"private void sendReceiveRes(){\n\t}",
"java.util.concurrent.Future<Void> resendValidationEmailAsync(\n ResendValidationEmailRequest resendValidationEmailRequest);",
"@Override\n\t\t\t\t\tpublic void onReqStart() {\n\t\t\t\t\t}",
"@Override\r\n\tprotected void processRespond() {\n\r\n\t}",
"@Override\r\n\tprotected void processRespond() {\n\r\n\t}",
"private synchronized void onRequest(ObjectMessage message) {\n try {\n Serializable request = message.getObject(); //serializer.requestFromString(message.getText());\n activeRequests.put(request, message);\n requestListener.receivedRequest(request);\n } catch (JMSException ex) {\n Logger.getLogger(AsynchronousReplier.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n }",
"void onComplete(RouterRequest request);",
"public synchronized void requestFinished(Request request)\n {\n needsReorder = true;\n if (request.getDeadline() < clock.getTick())\n request.getStream().addMissedRequest();\n else\n request.getStream().addMetRequest();\n }",
"public void requestDone(Request request, boolean isSuccessful);",
"public void sendRRequests() {\n\n }",
"public synchronized void handle(PBFTRequest r){\n \n Object lpid = getLocalServerID();\n\n JDSUtility.debug(\"[handle(request)] s\" + lpid + \", at time \" + getClockValue() + \", received \" + r);\n\n StatedPBFTRequestMessage loggedRequest = getRequestInfo().getStatedRequest(r);\n \n /* if the request has not been logged anymore and it's a old request, so it was garbage by checkpoint procedure then I must send a null reply */\n if(loggedRequest == null && getRequestInfo().isOld(r)){\n IProcess client = new BaseProcess(r.getClientID());\n PBFTReply reply = new PBFTReply(r, null, lpid, getCurrentViewNumber());\n emit(reply, client);\n return;\n \n }\n \n try{\n /*if the request is new and hasn't added yet then it'll be added */\n if(loggedRequest == null){\n /* I received a new request so a must log it */\n loggedRequest = getRequestInfo().add(getRequestDigest(r), r, RequestState.WAITING);\n loggedRequest.setRequestReceiveTime(getClockValue());\n }\n\n /* if I have a entry in request log but I don't have the request then I must update my request log. */\n if(loggedRequest.getRequest() == null) loggedRequest.setRequest(r);\n \n /*if the request was served the I'll re-send the related reply if it has been logged yet.*/\n if(loggedRequest.getState().equals(RequestState.SERVED)){\n JDSUtility.debug(\"[handle(request)] s\" + lpid + \" has already served \" + r);\n\n /* retransmite the reply when the request was already served */\n PBFTReply reply = getRequestInfo().getReply(r);\n IProcess client = new BaseProcess(r.getClientID());\n emit(reply, client);\n return;\n }\n \n /* If I'm changing then I'll do nothing more .*/\n if(changing()) return;\n\n PBFTPrePrepare pp = getPrePreparebackupInfo().get(getCurrentViewNumber(), getCurrentPrimaryID(), loggedRequest.getDigest());\n\n if(pp != null && !isPrimary()){\n /* For each digest in backuped pre-prepare, I haven't all request then it'll be discarded. */\n DigestList digests = new DigestList();\n for(String digest : pp.getDigests()){\n if(!getRequestInfo().hasRequest(digest)){\n digests.add(digest);\n }\n }\n \n if(digests.isEmpty()){\n handle(pp);\n getPrePreparebackupInfo().rem(pp);\n return;\n } \n }\n\n boolean committed = loggedRequest.getState().equals( RequestState.COMMITTED );\n \n// /* if my request was commit and it hasn't been served yet I must check the stated of the request */\n if(committed){\n tryExecuteRequests();\n return;\n }\n \n /* performs the batch procedure if the server is the primary replica. */\n if(isPrimary()){\n JDSUtility.debug(\"[handle(request)] s\" + lpid + \" (primary) is executing the batch procedure for \" + r + \".\");\n batch();\n }else{\n /* schedules a timeout for the arriving of the pre-prepare message if the server is a secundary replica. */\n scheduleViewChange();\n }//end if is primary\n \n }catch(Exception e){\n e.printStackTrace();\n }\n }",
"public synchronized void onNewRequest() {\r\n\t\tallRequestsTracker.onNewRequest();\r\n\t\trecentRequestsTracker.onNewRequest();\r\n\t}",
"public boolean onRequestPerformed(E content);",
"public void finishRequest ()\r\n\t{\r\n\t\tthis.simTime = this.sim.getTimer();\r\n\t\t//Debug/System.out.println(Fmt.time(this.simTime)\r\n\t\t//Debug/\t+ \": <finishRequest> \" + this.request);\r\n\r\n\t\t//\tRemove request from the queue.\r\n\t\tthis.removeRequest();\r\n\t\t//\tGet the next request from the queue.\r\n\t\tthis.nextRequest();\r\n\t\t//\tIf there is one, process it.\r\n\t\t//\tIf not, then the next request scheduled will begin immediately.\r\n\t\tif (this.request != null) this.procRequest();\r\n\t}",
"void onRequestCompleted(String requestName, boolean status,\n String response, String errorMessage);",
"@Override\n\tpublic void\t\t\tacceptRequestTerminationNotification(RequestI r)\n\tthrows Exception\n\t{\n\t\tassert\tr != null ;\n\n\t\tif (RequestGenerator.DEBUG_LEVEL == 2) {\n\t\t\tthis.logMessage(\"Request generator \" + this.rgURI +\n\t\t\t\t\t\t\t\" is notified that request \"+ r.getRequestURI() +\n\t\t\t\t\t\t\t\" has ended.\") ;\n\t\t}\n\t}",
"@Override\n\tpublic void onReceiveRequest(String reqBody) {\n\t\tthis.mobiletManager.setRequestBody(this, reqBody);\n\t\tthis.mobiletManager.processSmartEvent(this, this.mobiletManager.getCallbackEvent());\n\t}",
"@Override\n public void receiveRequest(final Request request) {\n\n }",
"private void HandleRQ(DatagramSocket sendSocket, String requestedFile, int opcode)\n {\n if(opcode == OP_RRQ)\n {\n // See \"TFTP Formats\" in TFTP specification for the DATA and ACK packet contents\n boolean result = send_DATA_receive_ACK(sendSocket, requestedFile);\n System.out.println(\"SENT SUCCESSFULLY: \" + result);\n }\n\n else if (opcode == OP_WRQ)\n {\n boolean result = receive_DATA_send_ACK(sendSocket, requestedFile);\n System.out.println(\"RECEIVED SUCCESSFULLY: \" + result);\n }\n }",
"protected void onCancelRequestReceipts() {\n \tmTxtStatus.setText(\"requestReceipts onCancel\");\n }",
"public void deliver() {\n try {\n if (null != this.listener) {\n ContentObject pending = null;\n CCNInterestListener listener = null;\n synchronized (this) {\n if (null != this.data && null != this.listener) {\n pending = this.data;\n this.data = null;\n listener = (CCNInterestListener) this.listener;\n }\n }\n if (null != pending) {\n if (Log.isLoggable(Log.FAC_NETMANAGER, Level.FINER)) Log.finer(Log.FAC_NETMANAGER, \"Interest callback (\" + pending + \" data) for: {0}\", this.interest.name());\n synchronized (this) {\n this.deliveryPending = false;\n }\n manager.unregisterInterest(this);\n Interest updatedInterest = listener.handleContent(pending, interest);\n if (null != updatedInterest) {\n if (Log.isLoggable(Log.FAC_NETMANAGER, Level.FINER)) Log.finer(Log.FAC_NETMANAGER, \"Interest callback: updated interest to express: {0}\", updatedInterest.name());\n manager.expressInterest(this.owner, updatedInterest, listener);\n }\n } else {\n if (Log.isLoggable(Log.FAC_NETMANAGER, Level.FINER)) Log.finer(Log.FAC_NETMANAGER, \"Interest callback skipped (no data) for: {0}\", this.interest.name());\n }\n } else {\n synchronized (this) {\n if (null != this.sema) {\n if (Log.isLoggable(Log.FAC_NETMANAGER, Level.FINER)) Log.finer(Log.FAC_NETMANAGER, \"Data consumes pending get: {0}\", this.interest.name());\n if (Log.isLoggable(Log.FAC_NETMANAGER, Level.FINEST)) Log.finest(Log.FAC_NETMANAGER, \"releasing {0}\", this.sema);\n this.sema.release();\n }\n }\n if (null == this.sema) {\n if (Log.isLoggable(Log.FAC_NETMANAGER, Level.FINER)) Log.finer(Log.FAC_NETMANAGER, \"Interest callback skipped (not valid) for: {0}\", this.interest.name());\n }\n }\n } catch (Exception ex) {\n _stats.increment(StatsEnum.DeliverContentFailed);\n Log.warning(Log.FAC_NETMANAGER, \"failed to deliver data: {0}\", ex);\n Log.warningStackTrace(ex);\n }\n }",
"protected AlarmRequestWithResponse(AlarmResponseListener<E> callBack ){\n\t\tthis.callBack = callBack;\n\t}",
"@Override\n\tpublic void onRequestStart(String reqId) {\n\t\t\n\t}",
"public void onCompletion(RecordSend send);",
"public abstract void onReceiveResponse(ExchangeContext context);",
"void requestReceived( C conn ) ;",
"public void resendRequestingQueue() {\n Logger.m1416d(TAG, \"Action - resendRequestingQueue - size:\" + this.mRequestingQueue.size());\n printRequestingQueue();\n printRequestingCache();\n while (true) {\n Requesting requesting = (Requesting) this.mRequestingQueue.pollFirst();\n if (requesting == null) {\n return;\n }\n if (requesting.request.getCommand() == 2) {\n this.mRequestingQueue.remove(requesting);\n this.mRequestingCache.remove(requesting.request.getHead().getRid());\n } else {\n requesting.retryAgain();\n sendCommandWithLoggedIn(requesting);\n }\n }\n }",
"public void deliver() {\n try {\n Interest pending = null;\n ArrayList<Interest> pendingExtra = null;\n CCNFilterListener listener = null;\n synchronized (this) {\n if (null != this.interest && null != this.listener) {\n pending = interest;\n interest = null;\n if (null != this.extra) {\n pendingExtra = extra;\n extra = null;\n }\n }\n listener = (CCNFilterListener) this.listener;\n }\n if (null != pending) {\n if (Log.isLoggable(Log.FAC_NETMANAGER, Level.FINER)) Log.finer(Log.FAC_NETMANAGER, \"Filter callback for: {0}\", prefix);\n listener.handleInterest(pending);\n if (null != pendingExtra) {\n int countExtra = 0;\n for (Interest pi : pendingExtra) {\n if (Log.isLoggable(Log.FAC_NETMANAGER, Level.FINER)) {\n countExtra++;\n Log.finer(Log.FAC_NETMANAGER, \"Filter callback (extra {0} of {1}) for: {2}\", countExtra, pendingExtra.size(), prefix);\n }\n listener.handleInterest(pi);\n }\n }\n } else {\n if (Log.isLoggable(Log.FAC_NETMANAGER, Level.FINER)) Log.finer(Log.FAC_NETMANAGER, \"Filter callback skipped (no interests) for: {0}\", prefix);\n }\n } catch (RuntimeException ex) {\n _stats.increment(StatsEnum.DeliverInterestFailed);\n Log.warning(Log.FAC_NETMANAGER, \"failed to deliver interest: {0}\", ex);\n Log.warningStackTrace(ex);\n }\n }",
"public synchronized void onRequestRejected(String reason) {\r\n\t\tallRequestsTracker.onRequestRejected(reason);\r\n\t\trecentRequestsTracker.onRequestRejected(reason);\r\n\t\tmeter.mark();\r\n\t}",
"@Override\r\n\tprotected void processRespond() throws SGSException {\n\r\n\t}",
"public void onRequestResponse(Response response) { }",
"@Override\n public void onCodeSent(@NonNull String verificationId,\n @NonNull PhoneAuthProvider.ForceResendingToken token) {\n mVerificationId = verificationId;\n mResendToken = token;\n }",
"@Override\n public void onCodeSent(@NonNull String verificationId,\n @NonNull PhoneAuthProvider.ForceResendingToken token) {\n mVerificationId = verificationId;\n mResendToken = token;\n }",
"@Override\n public void onCodeSent(@NonNull String verificationId,\n @NonNull PhoneAuthProvider.ForceResendingToken token) {\n mVerificationId = verificationId;\n mResendToken = token;\n }",
"@Override\n\tpublic void OnRequest() {\n\t\t\n\t}",
"@Override\r\n public void notifyEndOfSale(RevenueDTO revenue) {\r\n\r\n }",
"void requestFinish();",
"public interface IRequestResponseListener {\n\t\tvoid onRequestComplete(String response);\n\t}",
"private void HandleRQ(DatagramSocket sendSocket, String requestedFile, int opcode) throws IOException {\n if(opcode == OP_RRQ) {\n // See \"TFTP Formats\" in TFTP specification for the DATA and ACK packet contents\n boolean result = send_DATA_receive_ACK(requestedFile, opcode, sendSocket);\n }\n\n else if (opcode == OP_WRQ) {\n boolean result = receive_DATA_send_ACK(requestedFile, opcode, sendSocket);\n }\n\n }",
"public interface OnRequestFinishListener {\n void onRequestFinish();\n}",
"@Override public void deliverResponse(T response) {\n if (listener != null) {\n listener.onResponse(response);\n }\n }",
"public String concludeRequest() {\n\t\treturn \"Already received a request\";\n\t}",
"void onRequest(HttpServletRequest request, HttpServletResponse response) throws IOException {\n mTransport.onRequest(request, response);\n\n if (mUpgrading.get() && mTransport.isWritable() && mWriteBuffer.isEmpty()) {\n mTransport.send(PAYLOAD_NOOP);\n }\n }",
"@Override\n public void onRetry(HttpRequest req, String reason) {\n\n }",
"public void completeRequest() {\n // Clean up any old-age flash scopes\n Map<Integer, FlashScope> scopes = getContainer(request, false);\n if (scopes != null && !scopes.isEmpty()) {\n scopes.values()\n .removeIf(FlashScope::isExpired);\n }\n\n // Replace the request and response objects for the request cycle that is ending\n // with objects that are safe to use on the ensuing request.\n HttpServletRequest flashRequest = FlashRequest.replaceRequest(request);\n HttpServletResponse flashResponse = (HttpServletResponse) Proxy.newProxyInstance(\n getClass().getClassLoader(),\n new Class<?>[]{HttpServletResponse.class},\n new FlashResponseInvocationHandler());\n for (Object o : this.values()) {\n if (o instanceof ActionBean) {\n ActionBeanContext context = ((ActionBean) o).getContext();\n if (context != null) {\n context.setRequest(flashRequest);\n context.setResponse(flashResponse);\n }\n }\n }\n\n // start timer, clear request\n this.startTime = System.currentTimeMillis();\n this.request = null;\n this.semaphore.release();\n }",
"@Override\r\n\tpublic void exitRequest() {\n\t\t\r\n\t}",
"@Override\n protected void onSuccessRequestReceipts(Collection<Receipt> receipts) {\n \tmTxtStatus.setText(\"requestReceipts onSuccess: received \"+receipts.size() + \" receipts\");\n \t}",
"@Override\n public void onNext(RequestData request) {\n System.out.println(\"Requestor:\" + request.getName());\n System.out.println(\"Request Message:\" + request.getMessage());\n responseObserver.onNext(ResponseData.newBuilder().setMessage(request.getMessage() + \" - \" + request.getName()).build());\n }",
"private void finishRequests(){\n\t\tpeer.getRequests().removeAll(finishedRequestsList);\n\t\tfinishedRequestsList.clear();\n\t}",
"RequestSender onRefuse(Consumer<Message> consumer);",
"@Override\n protected void deliverResponse(T response) {\n listener.onSuccessResponse(response);\n }",
"@Override\n public void onCompleted() {\n responseObserver.onCompleted();\n }",
"abstract public void onQueryRequestArrived(ClientQueryRequest request);",
"@Override\n public void receivedReply(final RequestTargetReply reply) {\n }",
"@Override\n\tpublic void reSendRequest(int rentId, String message) {\n\t\trentPortMapper.modifyRentPort(rentId, message);\n\t}",
"@Override\n public void onErrorResponse(VolleyError error) {\n //This code is executed if there is an error.\n listener.onChangeDeliveredError();\n }",
"protected void onPrepareRequest(HttpUriRequest request) throws IOException {\n\t\t// Nothing.\n\t}",
"public void inquiryCompleted(int discType) {\n synchronized (inquiryCompletedEvent) {\n inquiryCompletedEvent.notifyAll();\n }\n }",
"@Override\n public void onCompletion(Request<TransactionConfirmResponse, SOAP11Fault> request) {\n\n if (request.getResult() != null) {\n String returnCode = request.getResult().getReturnCode();\n String processDescription = request.getResult().getDescription();\n String merchantTransactionId = request.getResult().getMerchantTransactionId();\n String transactionId = request.getResult().getTransactionId();\n\n Log.d(\"M-PESA REQUEST\", \"Return code: \" + returnCode);\n\n if (returnCode.equals(SUCCESS_CODE)) {\n progress.dismiss();\n paymentReady(returnCode, processDescription, merchantTransactionId, transactionId);\n } else {\n progress.dismiss();\n Log.d(\"M-PESA REQUEST\", \"Transaction confirmation failed: \" + returnCode);\n Toast.makeText(activity, \"Something went wrong. Transaction confirmation failed: \" + returnCode, Toast.LENGTH_SHORT).show();\n }\n } else {\n progress.dismiss();\n Log.d(\"M-PESA REQUEST\", \"Result is null\");\n Toast.makeText(activity, \"Something went wrong. No response from Safaricom. Please try again.\", Toast.LENGTH_SHORT).show();\n }\n }",
"@Override\n public void onRequestComplete(BaseResponse baseResponse) {\n // Get type\n EventType eventType = baseResponse.getEventType();\n // Validate fragment visibility\n if (isOnStoppingProcess || eventType == null) {\n return;\n }\n // Super\n super.handleSuccessEvent(baseResponse);\n // Validate type\n switch (eventType) {\n case GET_NEWSLETTER_PREFERENCES_FORM_EVENT:\n // Save the form\n mNewslettersForm = (Form) baseResponse.getContentData();\n // Show\n showDynamicForm(mNewslettersForm);\n break;\n case SUBMIT_FORM:\n // Goto back\n getBaseActivity().onBackPressed();\n break;\n default:\n break;\n }\n }",
"@Override\n\tpublic void processResponse(ResponseEvent responseEvent) {\n\t\tResponse response = responseEvent.getResponse();\n\t\ttry {\n\t\t\t// Display the response message in the text area.\n\t\t\t//printMessage(\"\\nReceived response: \" + response.toString());\n\n\t\t\tClientTransaction tid = responseEvent.getClientTransaction();\n\t\t\tCSeqHeader cseq = (CSeqHeader) response.getHeader(CSeqHeader.NAME);\n\t\t\tif (response.getStatusCode() == Response.OK) {\n\t\t\t\tif (cseq.getMethod().equals(Request.REGISTER)) {\n\t\t\t\t\tSystem.out.println(\"regist ACK OK\");\n\t\t\t\t\t//onInvite();\n\t\t\t\t} else if (cseq.getMethod().equals(Request.INVITE)) {\n\t\t\t\t\tDialog dialog = inviteTid.getDialog();\n\t\t\t\t\tRequest ackRequest = dialog.createAck(cseq.getSeqNumber());\n\t\t\t\t\tdialog.sendAck(ackRequest);\n\t\t\t\t\tSystem.out.println(\"Sending ACK\");\n\t\t\t\t} else if (cseq.getMethod().equals(Request.MESSAGE)) {\n\t\t\t\t\tSystem.out.println(\"Send OK !\");\n\t\t\t\t} else if (cseq.getMethod().equals(Request.CANCEL)) {\n\t\t\t\t\tSystem.out.println(\"Sending BYE -- cancel went in too late !!\");\n\t\t\t\t}\n\t\t\t} else if (response.getStatusCode() == Response.PROXY_AUTHENTICATION_REQUIRED\n\t\t\t\t\t|| response.getStatusCode() == Response.UNAUTHORIZED) {\n\t\t\t\tauthenticationHelper = ((SipStackExt) sipStack)\n\t\t\t\t\t\t.getAuthenticationHelper(new AccountManagerImpl(),\n\t\t\t\t\t\t\t\theaderFactory);\n\t\t\t\tinviteTid = authenticationHelper.handleChallenge(response, tid,\n\t\t\t\t\t\tsipProvider, 5);\n\t\t\t\tinviteTid.getRequest().addHeader(\n\t\t\t\t\t\theaderFactory.createExpiresHeader(3600));\n\t\t\t\tinviteTid.getRequest().setMethod(Request.REGISTER);\n\t\t\t\tinviteTid.sendRequest();\n\t\t\t\tinvco++;\n\t\t\t\tprintMessage(\"[processResponse] Request sent:\\n\" + inviteTid.getRequest().toString() + \"\\n\\n\");\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t\tSystem.exit(0);\n\t\t}\n\t}",
"@Override\n public void onCompleted() {\n builder.setMessage(\"All request data received completely!\");\n responseObserver.onNext(builder.build());\n responseObserver.onCompleted();\n }",
"@Override\n public void onResponse(final Transaction transaction, final String requestId, final PoyntError poyntError) throws RemoteException {\n AdjustTransactionRequest adjustTransactionRequest = new AdjustTransactionRequest();\n adjustTransactionRequest.setEmvData(emvData1);\n\n final ElavonTransactionRequest request = convergeMapper.getTransactionUpdateRequest(\n transaction.getFundingSource().getEntryDetails(),\n transaction.getProcessorResponse().getRetrievalRefNum(),\n adjustTransactionRequest);\n convergeService.update(request, new ConvergeCallback<ElavonTransactionResponse>() {\n @Override\n public void onResponse(final ElavonTransactionResponse elavonResponse) {\n if (elavonResponse.isSuccess()) {\n Log.d(TAG, \"Successfully Captured EMV Data for: \" + transaction.getId());\n } else {\n Log.e(TAG, \"Failed to capture EMV Data for: \" + transaction.getId());\n }\n }\n\n @Override\n public void onFailure(final Throwable t) {\n Log.e(TAG, \"Failed to capture EMV Data for: \" + transaction.getId());\n }\n });\n }",
"@Override\n public void onSpecializedResourceReportRequest(SpecializedResourceReportRequest arg0) {\n\n }",
"void addRequest(@NonNull OverrideRequest request) {\n OverrideRequest previousRequest = mRequest;\n mRequest = request;\n mListener.onStatusChanged(request, STATUS_ACTIVE);\n\n if (previousRequest != null) {\n cancelRequestLocked(previousRequest);\n }\n }",
"private void updateResorce() {\n }",
"RequestSender onAgree(Consumer<Message> consumer);",
"@Override\n\tpublic void sendResponse() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void run() {\n\t\t\t\tLog.e(\"SERVICE\",\"sulod\");\n\t\t\t\tIntent intent = new Intent();\n\t\t\t\tintent.setAction(ResponseReceiver.ACTION_RESP);\n\t\t\t\tintent.addCategory(Intent.CATEGORY_DEFAULT);\n\t\t\t\tintent.putExtra(\"MESSAGE\", 100);\n\t\t\t\tsendBroadcast(intent);\n\t\t\t}",
"@Override\n public void onCompleted() {\n System.out.println(\"Server has completed sending us response\");\n // on completed will be called right after onNext\n // Whenever server is done sending data latch is going down by 1\n latch.countDown();\n }",
"@Override\n\t\tpublic void onReceive(Context arg0, Intent arg1) {\n\t\t\tSystem.out.println(\"ALARM CALLED\");\n\t\t\tsendPostRequest();\n\t\t}",
"@Override\n\tpublic void onFinishRequest(HttpRequest request,int requestId) {\n\t\tprogressDialog.dismiss();\n\t}",
"@Override\n public void onOffportRequestCompleted(int requestId) {\n\n }",
"@Override\n public void onCodeSent(@NonNull String verificationId,\n @NonNull PhoneAuthProvider.ForceResendingToken token) {\n Log.d(TAG, \"onCodeSent:\" + verificationId);\n\n // Save verification ID and resending token so we can use them later\n mVerificationId = verificationId;\n mResendToken = token;\n }",
"@Override\n public void onResume() {\n super.onResume();\n IntentFilter intentFilter = new IntentFilter(RESPONSE_SERVICE_ACTION);\n receiver = new ResponseReceiver();\n if (receiver != null) {//register receiver\n LocalBroadcastManager.getInstance(this).registerReceiver(receiver, intentFilter);\n }\n }",
"@Override\n\tpublic void sendResponse() {\n\n\t}",
"@Override\n public void onNext(RequestData request) {\n System.out.println(\"Requestor:\" + request.getName());\n System.out.println(\"Request Message:\" + request.getMessage());\n }",
"private void forwardResponse(XmppServletResponse response, IQRequest originalRequest) {\n\t\t\n\t\tJID from = originalRequest.getTo();\n\t\tJID to = originalRequest.getFrom();\t\t\n\t\ttry {\n\t\t\tIQRequest request = null;\n\t\t\tList<Element> elements = response.getElements();\n\t\t\tif (elements != null && elements.size() > 0) {\n\t\t\t\trequest = getXmppFactory().createIQ(from,to,response.getType(), elements.toArray(new Element[]{}));\n\t\t\t} else {\n\t\t\t\trequest = getXmppFactory().createIQ(from, to, response.getType());\n\t\t\t}\n\t\t\trequest.setID(originalRequest.getId());\n\t\t\trequest.send();\t\t\t\n\t\t} catch (Exception e) {\n\t\t\t// In the event of an error, continue dispatching to all remaining JIDs\n\t\t\tlog.error(e.getMessage(),e);\n\t\t}\n\t}",
"@Override\n\tpublic void processRequest(RequestEvent requestEvent) {\n\t\t requestEvent.getServerTransaction();\n\t\tSystem.out.println(\"Sending ------------------------------------------------------------------------------------------\");\n\t\tSystem.out.println(\"[]:\"+requestEvent.toString());\n\t}",
"public RequestListenerMessageEventHandler(RequestListener requestListener) {\n super(Message.STUN_REQUEST, requestListener);\n }",
"java.util.concurrent.Future<Void> resendValidationEmailAsync(\n ResendValidationEmailRequest resendValidationEmailRequest,\n com.amazonaws.handlers.AsyncHandler<ResendValidationEmailRequest, Void> asyncHandler);",
"public void resumeRequests() {\n requestTracker.resumeRequests();\n }",
"void acceptRequest(Friend pendingRequest);",
"@Override\r\n\tprotected boolean onDealRequest(YRequest request, YSystem system,\r\n\t\t\tYScene sceneCurrent, YBaseDomain domainContext) {\n\t\treturn false;\r\n\t}",
"private void doAfterApplyRequest(final PhaseEvent arg0) {\n\t}",
"@Override\r\n\t\t\t\t\tpublic void onResponse(String arg0) {\n\t\t\t\t\t\tlistonResponse(arg0);\r\n\t\t\t\t\t\trefreshView.onRefreshComplete();\r\n\t\t\t\t\t}",
"@Override\n\tpublic void unregisterDataRequest() {\n\t\tLog.i(TAG, \"Unregistering data requests.\");\n\t\tmBoundFunfManager.unrequestAllData2(listener);\n\n\t\tLog.i(TAG, \"After Unregistering data requests.\");\n\t\t\n\t}",
"public void afterReceive() {\n\t}",
"public void afterReceivingeGainChatResponse(ChatResponse response);",
"public abstract Content processCompleteRequest(ContentCompleteRequest contentCompleteRequest);"
]
| [
"0.71368885",
"0.6365326",
"0.59773153",
"0.59692067",
"0.5937826",
"0.59342563",
"0.58370596",
"0.58020896",
"0.579093",
"0.57450473",
"0.5740051",
"0.57288337",
"0.5709335",
"0.5703514",
"0.5703514",
"0.5695713",
"0.5674489",
"0.56217724",
"0.5596914",
"0.5576879",
"0.556187",
"0.55611885",
"0.5555067",
"0.5548317",
"0.5544885",
"0.55384076",
"0.55314344",
"0.553047",
"0.55180424",
"0.55102533",
"0.5508966",
"0.5474637",
"0.54299176",
"0.53613377",
"0.53514105",
"0.5346995",
"0.533533",
"0.53303075",
"0.532994",
"0.53147197",
"0.52980816",
"0.5293464",
"0.5293464",
"0.5293464",
"0.5292547",
"0.5250933",
"0.5249345",
"0.5246651",
"0.5245576",
"0.52447075",
"0.52350134",
"0.5221158",
"0.5206911",
"0.52027607",
"0.5199975",
"0.51933247",
"0.51749456",
"0.51680523",
"0.51676196",
"0.51655567",
"0.51647735",
"0.5139877",
"0.5135174",
"0.51339954",
"0.51156265",
"0.511242",
"0.51078",
"0.51054204",
"0.5102691",
"0.5081267",
"0.50784594",
"0.50779843",
"0.50767773",
"0.5075526",
"0.5071852",
"0.50679946",
"0.50614506",
"0.50584006",
"0.50424427",
"0.5033749",
"0.5031125",
"0.50213766",
"0.5021073",
"0.5017451",
"0.50107944",
"0.50059867",
"0.5003319",
"0.49981183",
"0.49941096",
"0.49940485",
"0.49900576",
"0.4986908",
"0.49869004",
"0.4986599",
"0.49856058",
"0.4979204",
"0.49786225",
"0.497692",
"0.49752638",
"0.49732345"
]
| 0.7655993 | 0 |
By default Espresso Intents does not stub any Intents. Stubbing needs to be setup before every test run. In this case all external Intents will be blocked. | @Before
public void stubAllExternalIntents() {
intending(not(isInternal())).respondWith(new Instrumentation.ActivityResult(Activity.RESULT_OK, null));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Before\n public void stubAllExternalIntents() {\n intending(not(isInternal()))\n .respondWith(new Instrumentation.ActivityResult(Activity.RESULT_OK, null));\n }",
"@Before\n public void stubAllExternalIntents() {\n intending(not(isInternal()))\n .respondWith(new Instrumentation\n .ActivityResult(Activity.RESULT_OK, null));\n }",
"@Test\n public void triggerIntent_hasExtras() {\n onView(withId(getResourceId(\"switchActivity\"))).check(matches(notNullValue() ));\n onView(withId(getResourceId(\"switchActivity\"))).check(matches(withText(\"Change Page\")));\n onView(withId(getResourceId(\"switchActivity\"))).perform(click());\n intended(hasExtra(\"Developer\", \"Oguzhan Orhan\"));\n }",
"@Test\n public void intentTest(){\n try {\n Thread.sleep(1000);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n //Recyclerview scroll to position\n onView(ViewMatchers.withId(R.id.recycler_recipe)).perform(RecyclerViewActions.scrollToPosition(4));\n\n //Perform Recyclerview click on item at position\n onView(withId(R.id.recycler_recipe)).perform(RecyclerViewActions.actionOnItemAtPosition(0, click()));\n\n //Check if intent (RecipeActivity to StepDetailActivity) has RECIPE_INTENT_EXTRA\n intended(hasExtraWithKey(Constatns.STEPS_LIST));\n\n }",
"@Before\n public void setUp() throws Exception {\n\n DesiredCapabilities capabilities = new DesiredCapabilities();\n capabilities.setCapability(\"deviceName\", \"Google Nexus 5\");\n capabilities.setCapability(\"platformVersion\", \"4.4.4\");\n capabilities.setCapability(\"udid\", \"192.168.27.101:5555\");\n capabilities.setCapability(\"app\", \"D:\\\\Projects\\\\Zappy\\\\ZappyBuilds\\\\app-release.apk\");\n// capabilities.setCapability(\"appPackage\", \"com.example.android.contactmanager\");//packageName\n capabilities.setCapability(\"appActivity\", \"com.compareking.zappy.ui.activity.UnauthorizedActivity\"); //activi\n driver = new AndroidDriver<>(new URL(\"http://127.0.0.1:4723/wd/hub\"), capabilities);\n }",
"@Before\n public void setup() {\n activity = Robolectric.setupActivity(MainActivity.class);\n }",
"@Test\n public void openLoginActivity() {\n }",
"@BeforeTest\n public void setUp() throws Exception {\n\t \n appiumStop();\n // Start appium server.\n appiumStart();\n DesiredCapabilities capabilities = new DesiredCapabilities();\n capabilities.setCapability(\"deviceName\", \"Android Emulator\");\n capabilities.setCapability(\"browserName\", \"Android\");\n capabilities.setCapability(\"platformVersion\", \"6.0\");\n capabilities.setCapability(\"platformName\", \"Android\");\n capabilities.setCapability(\"appPackage\", \"com.hmh.api\");\n capabilities.setCapability(\"appActivity\", \"com.hmh.api.ApiDemos\");\n driver = new AndroidDriver(new URL(\"http://127.0.0.1:4723/wd/hub\"), capabilities);\n driver.manage().timeouts().implicitlyWait(15, TimeUnit.SECONDS);\n }",
"@Test\n public void intent() {\n // setup needed data for test\n Collection collection = new Collection();\n collection.setId(206);\n collection.setTitle(\"Test\");\n collection.setDescription(\"Test\");\n collection.getUser().setId(\"eUO1o53muso\");\n collection.getUser().setName(\"James Example\");\n collection.getUser().getProfileImage().setMedium(\"https://images.unsplash.com/profile-1441298102341-b7ba36fdc35c?ixlib=rb-0.3.5&q=80&fm=jpg&crop=faces&fit=crop&h=64&w=64\");\n\n Intent intent = new Intent();\n intent.putExtra(Collection.class.getSimpleName(), collection);\n\n activityRule.launchActivity(intent);\n\n SystemClock.sleep(1000);\n }",
"@Test\n public void openMainActivity() {\n }",
"@BeforeClass\npublic void beforeClass() throws MalformedURLException {\n DesiredCapabilities caps = new DesiredCapabilities();\n caps.setCapability(\"deviceName\", \"Xiaomi Redmi Note 5 Pro\");\n caps.setCapability(\"platformName\", \"android\");\n caps.setCapability(\"automationName\", \"UiAutomator2\");\n caps.setCapability(\"appPackage\", \"com.google.android.keep\");\n caps.setCapability(\"appActivity\", \".activities.BrowseActivity\");\n caps.setCapability(\"noReset\", true);\n\n // Instantiate Appium Driver\n URL appServer = new URL(\"http://0.0.0.0:4723/wd/hub\");\n driver = new AndroidDriver<MobileElement>(appServer, caps);\n \n}",
"@Test\n public void triggerIntentChange(){\n onView(withId(getResourceId(\"switchActivity\"))).check(matches(notNullValue() ));\n onView(withId(getResourceId(\"switchActivity\"))).check(matches(withText(\"Change Page\")));\n onView(withId(getResourceId(\"switchActivity\"))).perform(click());\n intended(toPackage(SecondActivity.class.getPackage().getName()));\n }",
"@Before\n public void setUp() throws Exception {\n context = InstrumentationRegistry.getContext();\n mainActivity = (MainActivity) context;\n }",
"@Test\n public void openMessagesActivity() {\n }",
"@Override\n \tpublic void setUp() throws Exception{\n \t\tLog.i(\"got to top of setup\", \"yay\");\n \t\t\n \t\tLog.i(\"solo\", \"created solo\");\n \t\t\n \t\tLog.i(\"user name\", \"set user name\");\n \t\tIntent i = new Intent();\n \t\ti.putExtra(\"groupname\", \"GroupForTestingOnly\");\n \t\ti.putExtra(\"gm\", \"UseForTestingOnly\");\n \t\tsetActivityIntent(i);\n \t\tsolo = new Solo(getInstrumentation(), getActivity());\n \t\tSaveSharedPreference.setPersistentUserName(getActivity(), VALID_USERNAME);\n \t\tLog.i(\"set the intent\", \"what?\");\n \t}",
"@BeforeClass\n private void launchActivity() {\n ActivityScenario<HomeActivity> activityScenario = ActivityScenario.launch(HomeActivity.class);\n activityScenario.onActivity(new ActivityScenario.ActivityAction<HomeActivity>() {\n @Override\n public void perform(HomeActivity activity) {\n mIdlingResource = activity.getIdlingResourceInTest();\n IdlingRegistry.getInstance().register(mIdlingResource);\n }\n });\n }",
"@BeforeTest\n\t\tpublic void setUp() throws MalformedURLException {\n\t\t\t DesiredCapabilities capabilities = new DesiredCapabilities();\n\t\t\t // Set android deviceName desired capability. Set your device name.\n\t\t\t capabilities.setCapability(\"deviceName\", \"Custom Phone - 4.2.2 API 17 - 768*1280\");\n\t\t\t // Set BROWSER_NAME desired capability. It's Android in our case here.\n\t\t\t capabilities.setCapability(\"browserName\", \"Android\");\n\n\t\t\t // Set android VERSION desired capability. Set your mobile device's OS version.\n\t\t\t capabilities.setCapability(\"platformVersion\", \"4.2.2\");\n\n\t\t\t // Set android platformName desired capability. It's Android in our case here.\n\t\t\t capabilities.setCapability(\"platformName\", \"Android\");\n\t\t\t // Created object of RemoteWebDriver will all set capabilities.\n\t\t\t // Set appium server address and port number in URL string.\n\t\t\t // It will launch calculator app in android device.\n\t\t\t // capabilities.setCapability(\"unicodeKeyboard\", true);\n\t\t\t // capabilities.setCapability(\"resetKeyboard\", true);\n\t\t\t driver = new RemoteWebDriver(new URL(\"http://127.0.0.1:4723/wd/hub\"), capabilities);\n\t\t\t driver.manage().timeouts().implicitlyWait(15, TimeUnit.SECONDS);\n\t\t\t }",
"@Before\n public void setUp() throws Exception {\n mainActivity = Robolectric.setupActivity(MainActivity.class);\n addItemActivity = Robolectric.setupActivity(AddItemActivity.class);\n addToDBActivity = Robolectric.setupActivity(AddToDBActivity.class);\n listActivity = Robolectric.setupActivity(ListActivity.class);\n listItemActivity = Robolectric.setupActivity(ListItemActivity.class);\n }",
"@BeforeClass\npublic void beforeClass() throws MalformedURLException {\n\tDesiredCapabilities caps = new DesiredCapabilities();\n\tcaps.setCapability(\"deviceName\", \"Xiaomi Redmi Note 5 Pro\");\n caps.setCapability(\"platformName\", \"android\");\n caps.setCapability(\"automationName\", \"UiAutomator2\");\n caps.setCapability(\"appPackage\", \"com.android.chrome\");\n caps.setCapability(\"appActivity\", \"com.google.android.apps.chrome.Main\");\n caps.setCapability(\"noReset\", true);\n\n // Instantiate Appium Driver\n URL appServer = new URL(\"http://0.0.0.0:4723/wd/hub\");\n driver = new AndroidDriver<MobileElement>(appServer, caps);\n \n}",
"@Before\n public void setUp() throws Exception {\n Espresso.registerIdlingResources(flagIdlingResource);\n //EspressoIdlingResource.idle();\n }",
"@BeforeClass\n public void beforeClass() throws MalformedURLException {\n DesiredCapabilities desiredCapabilities = new DesiredCapabilities();\n desiredCapabilities.setCapability(\"deviceName\", \"Pixel_4_emulator\");\n desiredCapabilities.setCapability(\"platformName\", \"android\");\n desiredCapabilities.setCapability(\"automationName\", \"UiAutomator2\");\n desiredCapabilities.setCapability(\"noReset\", true);\n desiredCapabilities.setCapability(\"appPackage\", \"com.google.android.apps.messaging\");\n desiredCapabilities.setCapability(\"appActivity\", \".ui.ConversationListActivity\");\n\n // Instantiate Appium Driver\n URL appServer = new URL(\"http://0.0.0.0:4723/wd/hub\");\n driver = new AndroidDriver<MobileElement>(appServer, desiredCapabilities);\n wait = new WebDriverWait(driver, 5);\n }",
"@Before\n\t public void setUp() throws Exception {\n\t \n\t DesiredCapabilities capabilities = new DesiredCapabilities();\n\t capabilities.setCapability(\"platformName\", \"Android\");\n\t //capabilities.setCapability(\"deviceName\", \"192.168.249.101:5555\");\n\t capabilities.setCapability(\"deviceName\", \"192.168.249.101:5555\");\n\t //capabilities.setCapability(\"deviceName\", \"f97f0457d73\");\n\t //capabilities.setCapability(\"platformVersion\", \"4.3\");\n\t //capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, \"emulator-5554\");\n\t capabilities.setCapability(\"noReset\", \"true\");\n\t capabilities.setCapability(\"unicodeKeyboard\",\"true\"); //输入中文\n\t capabilities.setCapability(\"resetKeyboard\",\"true\"); //输入中文\n\t capabilities.setCapability(\"appPackage\", \"com.worktile\"); //worktile的包\n\t capabilities.setCapability(\"appActivity\", \".ui.external.WelcomeActivity\"); //启动的activity .ui.external.WelcomeActivity\n\t try {\n\t\t\t\t//driver = new AndroidDriver<MobileElement>(new URL(\"http://192.168.31.225:4723/wd/hub\"), capabilities);\n\t\t\t\t//driver = new AndroidDriver<MobileElement>(new URL(\"http://127.0.0.1:4723/wd/hub\"), capabilities);\n\t\t\t\tdriver = new AndroidDriver<MobileElement>(new URL(\"http://192.168.1.104:4723/wd/hub\"), capabilities);\n\t\t\t\tdriver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS); \n\t\t\t\t\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\tdriver.quit();\n\t\t\t\tSystem.err.println(\"launch Android driver fail!\"+e.toString());\n\t\t\t}\n\t }",
"@Test\n public void activityLaunch() {\n onView(withId(R.id.button_main)).perform(click());\n onView(withId(R.id.text_header)).check(matches(isDisplayed()));\n\n onView(withId(R.id.button_second)).perform(click());\n onView(withId(R.id.text_header_reply)).check(matches(isDisplayed()));\n }",
"@BeforeMethod\r\n\tpublic void setUp() throws MalformedURLException {\r\n\t\tDesiredCapabilities capabilities = new DesiredCapabilities();\r\n\t\tcapabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, Platform.ANDROID);\r\n\t\tcapabilities.setCapability(MobileCapabilityType.DEVICE_NAME, \"Android Emulator\");\r\n\t\tcapabilities.setCapability(MobileCapabilityType.APP, new File(\"./src/test/resources/ApiDemos-debug.apk\"));\r\n\r\n\t\tcapabilities.setCapability(AndroidMobileCapabilityType.APP_PACKAGE, \"io.appium.android.apis\");\r\n\t\tcapabilities.setCapability(AndroidMobileCapabilityType.APP_ACTIVITY, \".app.AlertDialogSamples\");\r\n\r\n\t\tdriver = new AndroidDriver<MobileElement>(new URL(\"http://0.0.0.0:4723/wd/hub\"), capabilities);\r\n\t\tdriver.manage().timeouts().implicitlyWait(80, TimeUnit.SECONDS);\r\n\r\n\t}",
"@Override\n public void testAndroidTestCaseSetupProperly() {\n super.testAndroidTestCaseSetupProperly();\n }",
"@BeforeTest\n public void appiumBrowserTestSetup() throws Exception{\n DesiredCapabilities capabilities = DesiredCapabilities.android();\n\n // set the capability to execute test in chrome browser\n capabilities.setCapability(MobileCapabilityType.BROWSER_NAME, BrowserType.CHROME);\n\n // set the capability to execute our test in Android Platform\n capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, Platform.ANDROID);\n\n // Set the device name as well (you can give any name)\n capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, \"emulator-5554\");\n\n // set the android version as well\n capabilities.setCapability(MobileCapabilityType.VERSION, \"9\");\n\n // set the chromedriver\n capabilities.setCapability(\"chromedriverExecutable\",\"C:\\\\drivers\\\\chromedriver.exe\");\n\n // Create object of URL class and specify the appium server address\n URL url = new URL(\"http://127.0.0.1:4723/wd/hub\");\n\n // Create object of AndroidDriver class and pass the url and capability that we\n // created\n driver = new AppiumDriver(url, capabilities);\n\n driver.manage().timeouts().implicitlyWait(2, TimeUnit.SECONDS);\n driver.get(\"https://www.amazon.co.uk/\");\n Thread.sleep(5000);\n }",
"@Test\n public void triggerIntentChange_v2(){\n onView(withId(getResourceId(\"switchActivity\"))).check(matches(notNullValue() ));\n onView(withId(getResourceId(\"switchActivity\"))).check(matches(withText(\"Change Page\")));\n onView(withId(getResourceId(\"switchActivity\"))).perform(click());\n intended(hasComponent(SecondActivity.class.getName())); /*that can be used also */\n }",
"public void testPermissionRequired() {\n testAndroidTestCaseSetupProperly(); // verify we have a context\n\n Uri uri = Uri.fromParts(\"smsto\", \"650-933-0884\", null);\n Intent intent = new Intent(\"edu.bupt.mms.intent.action.SENDTO_NO_CONFIRMATION\", uri);\n intent.putExtra(Intent.EXTRA_TEXT, \"This is a test\");\n getContext().startService(intent);\n Log.d(\"SendIntentTests\", \"Started service for intent: \" + intent);\n }",
"@Override\n public void onActivityTestResponse(ActivityTestResponse arg0) {\n\n }",
"@BeforeTest\n\t public void setup() throws MalformedURLException {\n\t DesiredCapabilities caps = new DesiredCapabilities();\n\t caps.setCapability(\"deviceName\", \"Pixel 4 API 28\");\n\t caps.setCapability(\"platformName\", \"Android\");\n\t caps.setCapability(\"appPackage\", \"com.google.android.apps.tasks\");\n\t caps.setCapability(\"appActivity\", \".ui.TaskListsActivity\");\n\t caps.setCapability(\"noReset\", true);\n\t \n\t // Instantiate Appium Driver\n\t driver = new AndroidDriver<MobileElement>(new URL(\"http://127.0.0.1:4723/wd/hub\"), caps);\n\t wait = new WebDriverWait(driver, 10);\n\t }",
"@BeforeMethod\n public void setUp() throws MalformedURLException {\n\n if (DRIVER.get() == null) {\n final String localAppiumServerURL = \"http://127.0.0.1:4723/wd/hub\";\n\n DRIVER.set(new AndroidDriver(new URL(localAppiumServerURL), CapabilitiesEmulator.TWITTER_CAPABILITIES()));\n\n WebDriverRunner.setWebDriver(getDriver());\n }\n\n //For google tests \"https://www.google.com\"\n // For twitter tests U should commit 'open' section\n\n// open(\"https://www.google.com\");\n\n// getDriver()\n// .get(\"https://www.google.com\");\n\n// getDriver()\n// .manage()\n// .timeouts()\n// .implicitlyWait(20, TimeUnit.SECONDS);\n }",
"@Override\n protected void onHandleIntent(Intent intent) {\n\n }",
"@BeforeClass\n public void beforeClass() throws MalformedURLException {\n DesiredCapabilities caps = new DesiredCapabilities();\n caps.setCapability(\"deviceName\", \"bb9d156c\");\n caps.setCapability(\"platformName\", \"Android\");\n caps.setCapability(\"appPackage\", \"com.google.android.apps.tasks\");\n caps.setCapability(\"appActivity\", \".ui.TaskListsActivity\");\n // caps.setCapability(\"noReset\", true);\n\n // Instantiate Appium Driver\n URL appServer = new URL(\"http://0.0.0.0:4723/wd/hub\");\n driver = new AndroidDriver<MobileElement>(appServer, caps);\n \n }",
"@Before\n public void setUp(){\n mInstrumentation = getInstrumentation();\n mRulesMonitor = mInstrumentation.addMonitor(Rider_RequestRide.class.getName(),null,false);\n mActivity = mRuleActivity.getActivity();\n }",
"@BeforeMethod\n public void beforeTest() throws MalformedURLException {\n DesiredCapabilities caps = new DesiredCapabilities();\n caps.setCapability(\"deviceId\", \"2fb5cf35\");\n caps.setCapability(\"deviceName\", \"OnePlus 6\");\n caps.setCapability(\"platformName\", \"Android\");\n caps.setCapability(\"appPackage\", \"com.oneplus.calculator\");\n caps.setCapability(\"appActivity\", \"Calculator\");\n caps.setCapability(\"noReset\", true);\n\n // Initialize driver\n URL appServer = new URL(\"http://0.0.0.0:4723/wd/hub\");\n driver = new AndroidDriver<MobileElement>(appServer, caps);\n }",
"@Test\n public void testInitAllActivity() throws Exception {\n assertNotNull(mainActivity);\n assertNotNull(addItemActivity);\n assertNotNull(addToDBActivity);\n assertNotNull(listActivity);\n assertNotNull(listItemActivity);\n }",
"@BeforeClass\r\n\tpublic void setup() throws InterruptedException {\r\n\t test=extent.createTest(\"setup\");\r\n\t\tDesiredCapabilities caps = new DesiredCapabilities();\r\n\t\tcaps.setCapability(\"deviceName\", \"My Phone\");\r\n\t\tcaps.setCapability(\"udid\", \"emulator-5554\"); //Give Device ID of your mobile phone\r\n\t\tcaps.setCapability(\"platformName\", \"Android\");\r\n\t\tcaps.setCapability(\"platformVersion\", \"7.0\");\r\n\t\tcaps.setCapability(\"browser_name\", \"Chrome\");\r\n\t\t\r\n\t\tcaps.setCapability(\"appPackage\", \"pegasus.driver\");\r\n\t\tcaps.setCapability(\"appActivity\", \"pegasus.driver.mvvm.auth.AuthActivity\");\r\n\t\t\r\n\t\tcaps.setCapability(\"noReset\", \"false\");\r\n\t\tcaps.setCapability(\"automationName\", \"UiAutomator2\");\r\n\t\tcaps.setCapability(\"newCommandTimeout\", 10000);\r\n\t\tcaps.setCapability(\"autoGrantPermissions\", true);\r\n\t\tcaps.setCapability(\"autoDismissAlerts\", true);\r\n\t\r\n\t\ttry {\r\n\t\t\t String baseURL = \"http://0.0.0.0:\";\r\n\t\t\t String minorURL = \"/wd/hub\";\r\n\t\t\t String port = \"4723\";\r\n\t\t\t //driver = new AppiumDriver<MobileElement>(new URL(baseURL+port+minorURL), caps);\t\r\n\t\t\t driver = new AndroidDriver<MobileElement>(new URL(baseURL+port+minorURL), caps);\t\r\n\t\t\t //driver = new IOSDriver<MobileElement>(new URL(baseURL+port+minorURL), caps);\t\r\n\t\t\t\t \r\n\t\t\t System.out.print(\"passed!!!!!!\");\r\n\t\t} \r\n\t\t\r\n\t\tcatch (MalformedURLException e) {\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t\tSystem.out.print(\"failed!!!!!!\");\r\n\t\t}\r\n\t\t\r\n\t\tdriver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);\r\n\t\t\r\n\t\t driver.findElement(LoginPage.companyId).sendKeys(\"1111\");\r\n\t\t \r\n\t\t //Enter vehicle id\r\n\t\t driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);\r\n\t\t driver.findElement(LoginPage.vehicleId).sendKeys(\"11\");\r\n\t\t\t\r\n\t\t //enter pin number\r\n\t\t\tdriver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);\r\n\t\t\tdriver.findElement(LoginPage.pinNum).sendKeys(\"1234\");\r\n\t\t\t\r\n\t\t\t//click on login button\r\n\t\t\tdriver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);\r\n\t\t\tdriver.findElement(LoginPage.LoginBtn).click();\r\n\t\t\ttry {\r\n\t\t\t//allow the access location popup\r\n\t\t\tdriver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\r\n\t\t\tdriver.findElement(LoginPage.allowAccessLocation).click();\r\n\t\t\t}\r\n\t\t\tcatch(Exception e) {\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t//close the popup\r\n\t\t\ttry {\r\n\t\t\tdriver.manage().timeouts().implicitlyWait(50, TimeUnit.SECONDS);\r\n\t\t\tActions action = new Actions(driver);\r\n\t\t WebElement element=driver.findElement(By.className(\"android.widget.Button\"));\r\n\t\t element.click();\r\n\t\t System.out.println(element);\r\n\t\t\t}\r\n\t\t\tcatch(Exception e) {\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\r\n\t\t\r\n\t\t}",
"@Test\n public void myMeetingDetailsActivity_isLaunchedWhenWeClickOnAnItem() {\n // When perform a click on an item\n onView(withId(R.id.recyclerview)).perform(RecyclerViewActions.actionOnItemAtPosition(0, click()));\n // Then : MeetingDetailsActivity is launched\n onView(withId(R.id.activity_meeting_details));\n }",
"public void goTestActivity()\n\t {\n\t }",
"@BeforeClass\n\tpublic void appLaunch() throws IOException\n\t{\n\n\t\t/*String Appium_Node_Path=\"C:/Program Files (x86)/Appium/node.exe\"; \n\t\tString Appium_JS_Path=\"C:/Program Files (x86)/Appium/node_modules/appium/bin/appium.js\"; \n\t\tappiumService = AppiumDriverLocalService.buildService(new AppiumServiceBuilder().usingPort(4723).usingDriverExecutable(new File(Appium_Node_Path)).withAppiumJS(new File(Appium_JS_Path))); \n\t\tappiumService.start();\n\t\t */\t\t\t\n\t\tcapabilities.setCapability(MobileCapabilityType.PLATFORM,Platform.ANDROID);\n\t\tcapabilities.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT,3000);\n\t\tcapabilities.setCapability(MobileCapabilityType.PLATFORM,Horoscope_GenericLib.readConfigPropFile(sPropFileName, \"PLATFORMNAME\"));\n\t\tcapabilities.setCapability(MobileCapabilityType.DEVICE_NAME,Horoscope_GenericLib.readConfigPropFile(sPropFileName, \"DeviceName\"));\n\t\tcapabilities.setCapability(MobileCapabilityType.VERSION,Horoscope_GenericLib.readConfigPropFile(sPropFileName, \"PLATFORMVERSION\"));\n//\t\tcapabilities.setCapability(\"appPackage\", Horoscope_GenericLib.readConfigPropFile(sPropFileName, \"packageName\"));\n//\t\tcapabilities.setCapability(\"appActivity\",Horoscope_GenericLib.readConfigPropFile(sPropFileName, \"activityName\"));\n\t\t\n\t\t// for testing\n\t\tcapabilities.setCapability(\"appPackage\", \"in.amazon.mShop.android.shopping\");\n\t\tcapabilities.setCapability(\"appActivity\", \"com.amazon.mShop.home.HomeActivity\");;\n\n\n\t\tURL url= new URL(\"http://0.0.0.0:4723/wd/hub\");\n\t\tdriver = new AndroidDriver<WebElement>(url, capabilities);\n\t\tdriver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS);\n\t\t// testing purpose\n\t\tbackButton(driver);\n\t\tbackButton(driver);\n\t\t\n// in.amazon.mShop.android.shopping\n//\tcom.amazon.mShop.sso.SigninPromptActivity\n\n\t}",
"void mo21580A(Intent intent);",
"@SuppressWarnings(\"rawtypes\")\r\n\t@BeforeMethod\r\n\t public void setUp() throws MalformedURLException {\n\t\tDesiredCapabilities capabilities = new DesiredCapabilities();\r\n\t\tcapabilities.setCapability(\"deviceName\", \"ZX1D63SFXH\");\r\n\t\tcapabilities.setCapability(\"platformName\", \"Android\");\r\n\t\t//capabilities.setCapability(\"app\", targetApp.getAbsolutePath());\r\n\t\t//capabilities.setCapability(\"fastReset\", \"true\");\r\n\t\t//capabilities.setCapability(\"fullReset\", \"true\");\r\n\t\tcapabilities.setCapability(\"appPackage\", \"com.testleaf.leaforg\");\r\n\t\tcapabilities.setCapability(\"appActivity\", \"com.testleaf.leaforg.MainActivity\");\r\n\t\t\r\n\t\tdriver = new AndroidDriver(new URL(\"http://0.0.0.0:4723/wd/hub\"), capabilities);\r\n\t\tdriver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\r\n\t\t\r\n\t\t\r\n\t}",
"@BeforeTest\n\tpublic void setUp() throws InterruptedException, IOException {\n\t\tAppiumServer appiumServer = new AppiumServer();\n\t\t\n\t\tint port = 4723;\n\t\tif(!appiumServer.checkIfServerIsRunnning(port)) {\n\t\t\tSystem.out.println(\"Port No.: \" + port + \" is available.\");\n\n\t\t\tappiumServer.startServer();\n\t\t\t\n\t\t} else {\n\t\t\tSystem.out.println(\"Appium Server already running on Port - \" + port);\n\t\t}\n\t\t\n\t\tFile appPath = new File(\"./app/eBay.apk\");\n\t\tDesiredCapabilities cap = new DesiredCapabilities();\n\n\t\tcap.setCapability(MobileCapabilityType.APP, appPath.getAbsolutePath());\n\t\tcap.setCapability(MobileCapabilityType.DEVICE_NAME, \"MI\");\n\t\tcap.setCapability(MobileCapabilityType.PLATFORM_NAME, \"Android\");\n//\t\tcap.setCapability(MobileCapabilityType.PLATFORM_VERSION,\"9\");\n\t\t\n\t\tcap.setCapability(\"unicodeKeyboard\", \"true\"); \n\t\tcap.setCapability(\"resetKeyboard\", \"true\");\n\t\t\n\t\tcap.setCapability(MobileCapabilityType.PLATFORM_VERSION, DeviceVersionFinder.getDeviceVersion());\n\t\tcap.setCapability(MobileCapabilityType.AUTOMATION_NAME, \"uiautomator2\");\n\t\tcap.setCapability(\"--session-override\", false);\n\t\t\n\t\tcap.setCapability(\"setWebContentsDebuggingEnabled\", true);\n\t\t\n\t\tdriver = new AndroidDriver<MobileElement>(new URL(\"http://0.0.0.0:4723/wd/hub\"), cap);\n\n\t\tdriver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);\n\t\tPOM_LaunchHomeScreen homeScreen = new POM_LaunchHomeScreen(driver);\n\n\t\tif(homeScreen.btn_homeSignIn.isDisplayed()) {\n\t\t\t\n\t\t\tSystem.out.println(\"App has successfully loaded within the time provided!\");\n\t\t\t\n\t\t}\n\n\t\t\n//\t\tMobileElement element = driver.findElement(By.id(\"recycler_view_main\"));\n\t\t\n//\t\tTouchActions action = new TouchAction();\n//\t\taction.scroll(element, 10, 100);\n//\t\taction.perform();\n\t\t\n\t\t\n\n\t\tSystem.out.println(\"Setup successful!\");\n\n\n\t}",
"@BeforeClass\n public void beforeClass() throws MalformedURLException {\n\t DesiredCapabilities caps = new DesiredCapabilities();\n\t caps.setCapability(\"devicename\", \"Pixel\");\n\t caps.setCapability(\"platform\", \"Android\");\n\t caps.setCapability(\"addActivity\", \".ui.TaskListsActivity\");\n\t caps.setCapability(\"addPackage\", \"com.google.android.apps.tasks\");\n\t caps.setCapability(\"noReset\", true);\n\t caps.setCapability(\"webviewDevtoolsPort\", 9543);\n\t \n\t //instantiate appium driver\n\t URL appserver = new URL(\"http://0.0.0.0:4723/wd/hub\");\n\t driver = new AndroidDriver<MobileElement>(appserver,caps);\n\t wait = new WebDriverWait(driver, 5);\n }",
"@Override\n public IBinder onBind(Intent intent) {\n return stub;\n }",
"@Override\n public IBinder onBind(Intent intent) {\n return stub;\n }",
"@SmallTest\n public void testForActivity() {\n solo.assertCurrentActivity(\"Wrong activity\", WelcomeActivity.class);\n }",
"@Before\n public void setUp() {\n controller = Robolectric.buildActivity(MainActivity.class);\n activity = controller.get();\n\n // Now we mock out collaborators\n mockPanelScanProvider = mock(PanelScanProvider.class);\n activity.setPanelScanProvider(mockPanelScanProvider);\n\n mockSolarOutputProvider = mock(SolarOutputProvider.class);\n activity.setSolarOutputProvider(mockSolarOutputProvider);\n }",
"@Override\n protected void setUp() throws Exception {\n\n super.setUp();\n\n setActivityInitialTouchMode(false);\n\n mActivity = getActivity();\n mInst = getInstrumentation();\n mContext = mInst.getTargetContext();\n\n }",
"@Test\n public void onSignInWithExistingAccount() throws InterruptedException {\n Intent intent = new Intent();\n Instrumentation.ActivityResult intentResult = new Instrumentation.ActivityResult(Activity.RESULT_OK,intent);\n\n intending(isInternal()).respondWith(intentResult);\n\n onView(withId(R.id.email)).perform(typeText(\"[email protected]\"));\n onView(withId(R.id.password)).perform(typeText(\"testpassword\"), closeSoftKeyboard());\n\n Thread.sleep(500);\n\n onView(withId(R.id.email_sign_in_button)).perform(click());\n\n intended(allOf(hasComponent(MainActivity.class.getName())));\n\n }",
"@Override\n\t@Ignore\n\t@Test\n\tpublic void testLaunchThenResume() throws Throwable {\n\t}",
"@Test\n public void testLaunch(){\n assertNotNull(mActivity.findViewById(R.id.createAccountTextView));\n assertNotNull(mActivity.findViewById(R.id.createAccountButton));\n assertNotNull(mActivity.findViewById(R.id.nameEditText));\n assertNotNull(mActivity.findViewById(R.id.emailEditText));\n assertNotNull(mActivity.findViewById(R.id.passwordEditText));\n assertNotNull(mActivity.findViewById(R.id.passwordImageView));\n assertNotNull(mActivity.findViewById(R.id.emailImageView));\n assertNotNull(mActivity.findViewById(R.id.personImageView));\n assertNotNull(mActivity.findViewById(R.id.spinner2));\n assertNotNull(mActivity.findViewById(R.id.arrowImageView));\n assertNotNull(mActivity.findViewById(R.id.progressBar));\n assertNotNull(mActivity.findViewById(R.id.backButton));\n }",
"@Test\n public void addRecipeTest() {\n try {\n Thread.sleep (7000);\n } catch (InterruptedException e) {\n e.printStackTrace ();\n }\n\n ViewInteraction appCompatEditText = onView (\n allOf (withId (R.id.girisEmail),\n childAtPosition (\n childAtPosition (\n withId (android.R.id.content),\n 0),\n 1),\n isDisplayed ()));\n appCompatEditText.perform (replaceText (\"[email protected]\"), closeSoftKeyboard ());\n\n ViewInteraction appCompatEditText2 = onView (\n allOf (withId (R.id.password),\n childAtPosition (\n childAtPosition (\n withId (android.R.id.content),\n 0),\n 2),\n isDisplayed ()));\n appCompatEditText2.perform (replaceText (\"Asd123..\"), closeSoftKeyboard ());\n\n ViewInteraction appCompatButton = onView (\n allOf (withId (R.id.loginButton), withText (\"Login\"),\n childAtPosition (\n childAtPosition (\n withId (android.R.id.content),\n 0),\n 3),\n isDisplayed ()));\n appCompatButton.perform (click ());\n\n // Added a sleep statement to match the app's execution delay.\n // The recommended way to handle such scenarios is to use Espresso idling resources:\n // https://google.github.io/android-testing-support-library/docs/espresso/idling-resource/index.html\n try {\n Thread.sleep (7000);\n } catch (InterruptedException e) {\n e.printStackTrace ();\n }\n\n openActionBarOverflowOrOptionsMenu (getInstrumentation ().getTargetContext ());\n\n ViewInteraction appCompatTextView = onView (\n allOf (withId (R.id.title), withText (\"Add Recipe\"),\n childAtPosition (\n childAtPosition (\n withClassName (is (\"android.support.v7.view.menu.ListMenuItemView\")),\n 0),\n 0),\n isDisplayed ()));\n appCompatTextView.perform (click ());\n\n // Added a sleep statement to match the app's execution delay.\n // The recommended way to handle such scenarios is to use Espresso idling resources:\n // https://google.github.io/android-testing-support-library/docs/espresso/idling-resource/index.html\n try {\n Thread.sleep (7000);\n } catch (InterruptedException e) {\n e.printStackTrace ();\n }\n\n ViewInteraction appCompatEditText3 = onView (\n allOf (withId (R.id.titre),\n childAtPosition (\n childAtPosition (\n withClassName (is (\"android.widget.ScrollView\")),\n 0),\n 1)));\n appCompatEditText3.perform (scrollTo (), replaceText (\"Pattes au fromage\"), closeSoftKeyboard ());\n\n ViewInteraction appCompatEditText4 = onView (\n allOf (withId (R.id.editIngredient),\n childAtPosition (\n childAtPosition (\n withClassName (is (\"android.widget.ScrollView\")),\n 0),\n 2)));\n appCompatEditText4.perform (scrollTo (), replaceText (\"Pattes\"), closeSoftKeyboard ());\n\n // Added a sleep statement to match the app's execution delay.\n // The recommended way to handle such scenarios is to use Espresso idling resources:\n // https://google.github.io/android-testing-support-library/docs/espresso/idling-resource/index.html\n try {\n Thread.sleep (7000);\n } catch (InterruptedException e) {\n e.printStackTrace ();\n }\n\n ViewInteraction appCompatEditText5 = onView (\n allOf (withId (R.id.editIngredient), withText (\"Pattes\"),\n childAtPosition (\n childAtPosition (\n withClassName (is (\"android.widget.ScrollView\")),\n 0),\n 2)));\n appCompatEditText5.perform (scrollTo (), replaceText (\"Pattes, fromage\"));\n\n ViewInteraction appCompatEditText6 = onView (\n allOf (withId (R.id.editIngredient), withText (\"Pattes, fromage\"),\n childAtPosition (\n childAtPosition (\n withClassName (is (\"android.widget.ScrollView\")),\n 0),\n 2),\n isDisplayed ()));\n appCompatEditText6.perform (closeSoftKeyboard ());\n\n ViewInteraction appCompatEditText7 = onView (\n allOf (withId (R.id.editDescription),\n childAtPosition (\n childAtPosition (\n withClassName (is (\"android.widget.ScrollView\")),\n 0),\n 3)));\n appCompatEditText7.perform (scrollTo (), replaceText (\"Melangerl\"), closeSoftKeyboard ());\n\n ViewInteraction appCompatEditText8 = onView (\n allOf (withId (R.id.editPreparation),\n childAtPosition (\n childAtPosition (\n withClassName (is (\"android.widget.ScrollView\")),\n 0),\n 4)));\n appCompatEditText8.perform (scrollTo (), replaceText (\"5 0minutes\"), closeSoftKeyboard ());\n\n ViewInteraction appCompatImageView = onView (\n allOf (withId (R.id.imageRecipe),\n childAtPosition (\n childAtPosition (\n withClassName (is (\"android.widget.ScrollView\")),\n 0),\n 0)));\n appCompatImageView.perform (scrollTo (), click ());\n\n // Added a sleep statement to match the app's execution delay.\n // The recommended way to handle such scenarios is to use Espresso idling resources:\n // https://google.github.io/android-testing-support-library/docs/espresso/idling-resource/index.html\n try {\n Thread.sleep (7000);\n } catch (InterruptedException e) {\n e.printStackTrace ();\n }\n\n ViewInteraction appCompatButton2 = onView (\n allOf (withId (R.id.saveRecipeButton), withText (\"Save\"),\n childAtPosition (\n childAtPosition (\n withClassName (is (\"android.widget.ScrollView\")),\n 0),\n 5)));\n appCompatButton2.perform (scrollTo (), click ());\n\n // Added a sleep statement to match the app's execution delay.\n // The recommended way to handle such scenarios is to use Espresso idling resources:\n // https://google.github.io/android-testing-support-library/docs/espresso/idling-resource/index.html\n try {\n Thread.sleep (7000);\n } catch (InterruptedException e) {\n e.printStackTrace ();\n }\n\n openActionBarOverflowOrOptionsMenu (getInstrumentation ().getTargetContext ());\n\n ViewInteraction appCompatTextView2 = onView (\n allOf (withId (R.id.title), withText (\"User Settings\"),\n childAtPosition (\n childAtPosition (\n withClassName (is (\"android.support.v7.view.menu.ListMenuItemView\")),\n 0),\n 0),\n isDisplayed ()));\n appCompatTextView2.perform (click ());\n\n // Added a sleep statement to match the app's execution delay.\n // The recommended way to handle such scenarios is to use Espresso idling resources:\n // https://google.github.io/android-testing-support-library/docs/espresso/idling-resource/index.html\n try {\n Thread.sleep (7000);\n } catch (InterruptedException e) {\n e.printStackTrace ();\n }\n\n ViewInteraction appCompatButton3 = onView (\n allOf (withId (R.id.cikis_yap), withText (\"Logout\"),\n childAtPosition (\n allOf (withId (R.id.container),\n childAtPosition (\n withClassName (is (\"android.widget.ScrollView\")),\n 0)),\n 3)));\n appCompatButton3.perform (scrollTo (), click ());\n }",
"@BeforeClass\npublic void setUp() throws MalformedURLException{\n\tDesiredCapabilities capabilities = new DesiredCapabilities();\n\t//capabilities.setCapability(\"BROWSER_NAME\", \"Android\");\n//\tcapabilities.setCapability(\"VERSION\", \"4.4.2\"); \n\tcapabilities.setCapability(\"deviceName\",\"NSM3Y18206000488\");\n\tcapabilities.setCapability(\"udid\",\"NSM3Y18206000488\");\n\tcapabilities.setCapability(\"platformName\",\"Android\");\n capabilities.setCapability(\"appPackage\", \"com.android.chrome\");\n// This package name of your app (you can get it from apk info app)\n\tcapabilities.setCapability(\"appActivity\",\"com.google.android.apps.chrome.Main\"); // This is Launcher activity of your app (you can get it from apk info app)\n//Create RemoteWebDriver instance and connect to the Appium server\n //It will launch the Calculator App in Android Device using the configurations specified in Desired Capabilities\n driver = new AndroidDriver<MobileElement>(new URL(\"http://localhost:4723/wd/hub\"), capabilities);\n \n // PageFactory.initElements(driver, this);\n}",
"@BeforeTest\r\n\tpublic void setup() {\n\t\t\t\tDesiredCapabilities caps = new DesiredCapabilities();\r\n\t\t\t\tcaps.setCapability(\"deviceName\", \"Abhi Phone\");\r\n\t\t\t\tcaps.setCapability(\"udid\", \"FXYDU17916004799\"); //Give Device ID of your mobile phone\r\n\t\t\t\tcaps.setCapability(\"platformName\", \"Android\");\r\n\t\t\t\tcaps.setCapability(\"platformVersion\", \"9.0\");\r\n\t\t\t\tcaps.setCapability(\"appPackage\", \"com.wdc.ibi\");\r\n\t\t\t\tcaps.setCapability(\"appActivity\", \"com.kamino.wdt.MainActivity\");\r\n\t\t\t\tcaps.setCapability(\"noReset\", \"true\");\r\n\t\t\t\tcaps.setCapability(\"unicodeKeyboard\", true);\r\n\t\t\t\tcaps.setCapability(\"resetKeyboard\", true);\r\n\t\t\t\t\r\n\t\t\t\t//Instantiate Appium Driver\r\n\t\r\n\t\t\t\ttry {\t\r\n\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\tURL url= new URL(\"http://0.0.0.0:4723/wd/hub\");\r\n\t\t\t\t\t\tdriver = new AndroidDriver<MobileElement>(url, caps);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t//WebDriverWait wait = new WebDriverWait(driver, 10);\r\n\t\t\t\t\t\tdriver.manage().timeouts().implicitlyWait(5,TimeUnit.SECONDS);\r\n\t\t\t\t\t\t//driver.findElementByClassName(\"android.widget.TextView\").click();\r\n\t\t\t\t\t\t//wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath(\"//*[@text ='I Agree']\"))).click();\r\n\t\t\t\t\t\t//driver.findElement(By.xpath(\"//*[@text ='I Agree']\")).click();\r\n\t\t\t\t\t\t//wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath(\"//*[@text ='SIGN IN']\"))).click();\r\n\t\t\t\t\t\tdriver.findElement(By.xpath(\"//*[@text ='SIGN IN']\")).click();\r\n\t\t\t\t\t\tdriver.findElement(By.xpath(\"//*[@text ='Email address']\")).sendKeys(\"[email protected]\");\r\n\t\t\t\t\t\tdriver.findElement(By.xpath(\"//*[@text ='Password']\")).sendKeys(\"Admin@555\");\r\n\t\t\t\t\t\tdriver.findElement(By.xpath(\"//*[@text ='CONTINUE']\")).click();\r\n\t\t\t\t\t\tSystem.out.println(\"Signed In Successfuly\");\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t} catch (MalformedURLException e) {\r\n\t\t\t\t\tSystem.out.println(e.getMessage());\r\n\t\t\t\t}\t\t\r\n\t\t\t\r\n\t}",
"@Override\npublic void onStart(ITestContext context) {\n\t\n}",
"public void testRun() {\n\t\tsolo.waitForActivity(\"StartActivity\", 2000);\n //Wait for activity: 'com.bitdubai.android_core.app.DesktopActivity'\n\t\tassertTrue(\"DesktopActivity is not found!\", solo.waitForActivity(\"DesktopActivity\"));\n //Set default small timeout to 66809 milliseconds\n\t\tTimeout.setSmallTimeout(66809);\n //Click on Next\n\t\tsolo.clickOnView(solo.getView(\"btn_got_it\"));\n //Click on Next\n\t\tsolo.clickOnView(solo.getView(\"btn_got_it\"));\n //Click on Next\n\t\tsolo.clickOnView(solo.getView(\"btn_got_it\"));\n //Click on Next\n\t\tsolo.clickOnView(solo.getView(\"btn_got_it\"));\n //Click on Got it\n\t\tsolo.clickOnView(solo.getView(\"btn_got_it\"));\n //Wait for activity: 'com.bitdubai.android_core.app.DesktopActivity'\n\t\tassertTrue(\"DesktopActivity is not found!\", solo.waitForActivity(\"DesktopActivity\"));\n //Click on ImageView\n\t\tsolo.clickOnView(solo.getView(\"image_view\", 26));\n //Wait for activity: 'com.bitdubai.android_core.app.DesktopActivity'\n\t\tassertTrue(\"DesktopActivity is not found!\", solo.waitForActivity(\"DesktopActivity\"));\n //Click on LinearLayout\n\t\tsolo.clickInRecyclerView(3, 0);\n //Wait for activity: 'com.bitdubai.android_core.app.AppActivity'\n\t\tassertTrue(\"AppActivity is not found!\", solo.waitForActivity(\"AppActivity\"));\n //Wait for dialog\n //Click on Be John Doe\n\t\ttry {\n\t\t\t//assertTrue(\"DesktopActivity is not found!\", solo.waitForDialogToOpen(5000));\n\t\t\tsolo.clickOnView(solo.getView(\"btn_left\"));\n\t\t}catch (Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\ttry {\n\t\t\tsolo.wait(2000);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t//Click on ImageView\n\t\tsolo.clickOnView(solo.getView(android.widget.ImageButton.class, 0));\n\t}",
"@Test //Associated with Associate a photo with a contact (Scenario 3)\n public void associatePhotoWithContactTest() throws Exception {\n onView(withId(R.id.contact_new)).perform(click());\n\n //types in the name \"Tal\" into the name field for the Contact\n onView(withId(R.id.info_name)).perform(typeText(\"Tal\"), closeSoftKeyboard());\n\n //performs a click operation on the \"Submit Changes\" button\n onView(withId(R.id.info_edit_button)).perform(click());\n\n //performs a scroll action within the activity to take you to the necessary spot where\n //the newly created contact will be located\n onView(withId(R.id.contacts_list)).perform(RecyclerViewActions.scrollToPosition(0));\n\n //performs a click operation on the newly created Contact that is within the field\n //of view for the RecyclerView\n onView(withText(\"Tal\")).perform(click());\n\n //performs a click operation on the \"Edit Contact Info\" button\n onView(withId(R.id.info_edit_button)).perform(click());\n\n onView(withId(R.id.info_pic)).perform(click());\n\n onView(withText(\"Add Photo!\")).check(matches(isDisplayed()));\n\n Instrumentation instrum = InstrumentationRegistry.getInstrumentation();\n final ListView homeLv = main.getActivity().findViewById(R.id.home_list);\n\n //performs the click operation on the Contacts button in the HomeActivity screen\n instrum.runOnMainSync(new Runnable() {\n @Override\n public void run() {\n int index = 1;\n homeLv.performItemClick(homeLv.getChildAt(index), index, homeLv.getAdapter().getItemId(index));\n }\n });\n\n //allows us to monitor the progress of app opening and loading the home activity\n Instrumentation.ActivityMonitor progress = instrum.addMonitor(HomeActivity.class.getName(), null, false);\n\n //serves the purpose of returning the next activity and waiting 3 seconds until the next activity is launched\n //to avoid possible timing errors\n Activity contactActivity = instrum.waitForMonitorWithTimeout(progress, 3000);\n\n onView(withText(\"Tal\")).perform(click());\n\n onView(withId(R.id.info_delete_button)).perform(click());\n }",
"public void testFirstLoginToListActivityAndBack() {\n testFirstStartApp.testCorrectLogin();\n }",
"@Override\n protected void onHandleIntent(Intent workIntent) {\n }",
"@BeforeMethod\npublic void setUp() throws MalformedURLException, InterruptedException{\n\t\n\t File classpathRoot = new File(System.getProperty(\"user.dir\"));\n\t File appDir = new File(classpathRoot, \"/Apps/Pazo/\");\n\t File app = new File(appDir, \"app-ppz-debug.apk\");\n\t DesiredCapabilities capabilities = new DesiredCapabilities();\n\t capabilities.setCapability(CapabilityType.BROWSER_NAME, \"\");\n\t capabilities.setCapability(\"deviceName\", \"MI\");\n\t capabilities.setCapability(\"platformVersion\", \"7.0\");\n\t capabilities.setCapability(\"platformName\", \"Android\");\n\t capabilities.setCapability(\"app\", app.getAbsolutePath());\n\t capabilities.setCapability(\"appPackage\", \"com.pazo.ppz\");\n\t capabilities.setCapability(\"appPackage1\", \"com.google.android.packageinstaller\");\n\t capabilities.setCapability(\"appActivity\", \"com.tagtual.trackd.Activities.Splash\");\n\t capabilities.setCapability(\"appActivity1\", \"com.tagtual.trackd.Activities.LicenceLogin\");\n\t capabilities.setCapability(AndroidMobileCapabilityType.AUTO_GRANT_PERMISSIONS,true);\n\t capabilities.setCapability(\"unicodeKeyboard\", true);\n\t capabilities.setCapability(\"resetKeyboard\", true);\n\t try{\n\t driver = new AppiumDriver(new URL(\"http://127.0.0.1:4723/wd/hub\"), capabilities);\n\t }\n\t catch (ExceptionInInitializerError error){\n\t System.out.println(error.getCause());\n\t System.out.println(error.getMessage());\n\t System.out.println(error.getLocalizedMessage());\n\t System.out.println(error.getStackTrace().toString());\n\n\t }\n\t driver.manage().timeouts().pageLoadTimeout(80, TimeUnit.SECONDS);\n\t driver.manage().timeouts().implicitlyWait(80, TimeUnit.SECONDS);\n\t// Thread.sleep(10000);\n\t\n}",
"public void testActivitiesOfDisableUsers() throws Exception {\n this.populateActivityMass(demoIdentity, 3);\n this.populateActivityMass(johnIdentity, 3);\n \n RealtimeListAccess<ExoSocialActivity> demoActivities = activityManager.getActivityFeedWithListAccess(demoIdentity);\n assertEquals(3, demoActivities.getSize());\n \n RealtimeListAccess<ExoSocialActivity> johnActivities = activityManager.getActivityFeedWithListAccess(johnIdentity);\n assertEquals(3, johnActivities.getSize());\n \n // john post activity with mention case.\n createActivityHasMention(johnIdentity, demoIdentity);\n \n demoActivities = activityManager.getActivityFeedWithListAccess(demoIdentity);\n assertEquals(4, demoActivities.getSize());\n \n // demo connect to john\n Relationship demoJohnConnection = relationshipManager.inviteToConnect(demoIdentity, johnIdentity);\n relationshipManager.confirm(demoIdentity, johnIdentity);\n \n demoActivities = activityManager.getActivityFeedWithListAccess(demoIdentity);\n assertEquals(7, demoActivities.getSize());\n \n johnActivities = activityManager.getActivityFeedWithListAccess(johnIdentity);\n assertEquals(7, johnActivities.getSize());\n \n // john post activity.\n createActivity(johnIdentity);\n \n demoActivities = activityManager.getActivityFeedWithListAccess(demoIdentity);\n assertEquals(8, demoActivities.getSize());\n johnActivities = activityManager.getActivityFeedWithListAccess(johnIdentity);\n assertEquals(8, johnActivities.getSize());\n \n // disable demo\n identityManager.processEnabledIdentity(demoIdentity.getRemoteId(), false);\n demoIdentity = identityManager.getOrCreateIdentity(OrganizationIdentityProvider.NAME, demoIdentity.getRemoteId(), true);\n \n // john get all activities. existing activities of demo still included.\n johnActivities = activityManager.getActivityFeedWithListAccess(johnIdentity);\n assertEquals(8, johnActivities.getSize());\n \n // john post activity, demo is in disabling status so activity reference is not created.\n createActivity(johnIdentity);\n \n // john post activity with mention case, demo is in disabling status so activity reference is not created.\n createActivityHasMention(johnIdentity, demoIdentity);\n \n //\n demoActivities = activityManager.getActivityFeedWithListAccess(demoIdentity);\n assertEquals(8, demoActivities.getSize());\n johnActivities = activityManager.getActivityFeedWithListAccess(johnIdentity);\n assertEquals(10, johnActivities.getSize());\n \n // check if john can post on demo stream\n ExoSocialActivity johnPostOnDemoActivity = new ExoSocialActivityImpl();\n\n johnPostOnDemoActivity.setTitle(\"john post on demo's stream.\");\n johnPostOnDemoActivity.setUserId(johnIdentity.getId());\n activityManager.saveActivityNoReturn(demoIdentity, johnPostOnDemoActivity);\n \n demoActivities = activityManager.getActivityFeedWithListAccess(demoIdentity);\n assertEquals(8, demoActivities.getSize());\n johnActivities = activityManager.getActivityFeedWithListAccess(johnIdentity);\n assertEquals(10, johnActivities.getSize());\n \n // check if demo still can post activity on his stream\n ExoSocialActivity activity = new ExoSocialActivityImpl();\n activity.setTitle(\"demo post on his stream.\");\n activity.setUserId(demoIdentity.getId());\n activityManager.saveActivityNoReturn(demoIdentity, activity);\n \n demoActivities = activityManager.getActivityFeedWithListAccess(demoIdentity);\n assertEquals(8, demoActivities.getSize());\n johnActivities = activityManager.getActivityFeedWithListAccess(johnIdentity);\n assertEquals(10, johnActivities.getSize());\n \n // re-enable user\n identityManager.processEnabledIdentity(demoIdentity.getRemoteId(), true);\n demoIdentity = identityManager.getOrCreateIdentity(OrganizationIdentityProvider.NAME, demoIdentity.getRemoteId(), true);\n \n demoActivities = activityManager.getActivityFeedWithListAccess(demoIdentity);\n assertEquals(8, demoActivities.getSize());\n johnActivities = activityManager.getActivityFeedWithListAccess(johnIdentity);\n assertEquals(10, johnActivities.getSize());\n \n // demo post on his stream\n createActivity(demoIdentity);\n \n demoActivities = activityManager.getActivityFeedWithListAccess(demoIdentity);\n assertEquals(9, demoActivities.getSize());\n johnActivities = activityManager.getActivityFeedWithListAccess(johnIdentity);\n assertEquals(11, johnActivities.getSize());\n \n // john post on demo stream\n createActivityToOtherIdentity(johnIdentity, demoIdentity, 1);\n demoActivities = activityManager.getActivityFeedWithListAccess(demoIdentity);\n assertEquals(10, demoActivities.getSize());\n johnActivities = activityManager.getActivityFeedWithListAccess(johnIdentity);\n assertEquals(12, johnActivities.getSize());\n \n //\n relationshipManager.delete(demoJohnConnection);\n }",
"@Test\n @MediumTest\n public void testNoNativeDependence() {\n Looper.prepare();\n NetworkChangeNotifier.init(InstrumentationRegistry.getInstrumentation().getTargetContext());\n NetworkChangeNotifier.registerToReceiveNotificationsAlways();\n }",
"@Override\n public void setUp() throws Exception {\n super.setUp();\n editor = SharedPrefs.getEditor();\n editor.remove(\"dictionaries\").remove(\"languages\").remove(\"loc_dictionaries\").putString(\"lang\", \"EN\").apply();\n Intent intent = new Intent(getInstrumentation().getTargetContext(),SplashActivity.class);\n startActivity(intent, null, null);\n }",
"@Test\n\tvoid setIamProviderForTest() {\n\t\tnew UserOrgResource().setIamProvider(new IamProvider[] { Mockito.mock(IamProvider.class) });\n\t}",
"@Before\n public void setUp() {\n // Need to call start and resume to get the fragment that's been added\n activityController = Robolectric.buildActivity(AuthenticationActivity.class).\n create().start().resume().visible();\n authenticationActivity = (Activity) activityController.get();\n }",
"@Test\n public void LikeUser() {\n openActionBarOverflowOrOptionsMenu(getInstrumentation().getTargetContext());\n\n //Click search\n onView(withText(R.string.fetch_user))\n .perform(click());\n\n //Click hearth\n onView(withId(R.id.hearth_button))\n .perform(click());\n\n }",
"public void allow_Me_To_App(){\n\ttry{\n\tdriver.findElement(clickonOkButton).click();\n\tdriver.findElement(clickOn1stAllowButton).click();\n\tdriver.findElement(clickon2ndAllowButton).click();\n\tdriver.findElement(clickon3rdAllowButton).click();\n\tReusableMethod.waitForPageToLoad(MobileBy.AndroidUIAutomator(\"text(\\\"Let me explore\\\")\"));\n\tdriver.findElement(clickOnLetmeExploreButton).click();\n\tdriver.findElement(clickonOkbutton).click();\n\tlogger.info(\"=====================App Launch sucessfully=====================\");\n\tReusableMethod.implicitWait(10);\n\t\n\t}catch(Exception e){\n\tlogger.error(\"Element Not found Exception ...\",e);\n\t}\n\t\t}",
"@Test\n public void onCreate() {\n }",
"@Test\n public void onCreate() {\n }",
"@BeforeTest\n\tpublic static void loginFunctionality() throws Exception \n\t{\n\t\tDesiredCapabilities cap=new DesiredCapabilities();\n\t\t\n\t\tcap.setCapability(MobileCapabilityType.DEVICE_NAME,\"Redmi\");\n\t\tcap.setCapability(\"udid\", \"6215b09b\");\n\t\tcap.setCapability(\"platformName\", \"Android\");\n\t\tcap.setCapability(\"platformVersion\", \"9 PKQ1.180904.001\");\n\t\tcap.setCapability(\"appPackage\", \"com.danamon.uatomnimicroapps\");\n\t\tcap.setCapability(\"appActivity\", \"com.danamon.uatomnimicroapps.MainActivity\");\n\t\tcap.setCapability(\"noReset\", true);\n\t\tcap.setCapability(\"fullReset\",false);\n\t\t\n\t\t\n\t\t\n\t\tURL url=new URL(\"http://127.0.0.1:4723/wd/hub\");\n\t\t\n\t\t\n\t\tdriver=new AndroidDriver<AndroidElement>(url,cap);\n\t\tSystem.out.println(\"application started..\");\n\t\t//Thread.sleep(50000);\n\t\tdriver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\n\t\t\n\t\t/*\n\t\t MobileElement el1 = (MobileElement) driver.findElementByXPath(\"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.webkit.WebView/android.webkit.WebView/android.view.View/android.view.View[5]/android.view.View/android.view.View[2]/android.view.View[1]/android.view.View[1]/android.view.View[2]\");\n\t\t \n\t\tel1.click();\n\t\tMobileElement el2 = (MobileElement) driver.findElementByXPath(\"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.webkit.WebView/android.webkit.WebView/android.view.View/android.view.View[5]/android.view.View/android.view.View[2]/android.view.View[2]/android.view.View[2]/android.view.View/android.view.View[1]/android.widget.EditText\");\n\t\tel2.sendKeys(\"perfomni1\");\n\t\t\n\t\tMobileElement el3=(MobileElement)driver.findElementByXPath(\"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.webkit.WebView/android.webkit.WebView/android.view.View/android.view.View[5]/android.view.View/android.view.View[2]/android.view.View[2]/android.view.View[2]/android.view.View/android.view.View[1]/android.view.View[3]/android.widget.EditText\");\n\t\t\n\n\tel3.sendKeys(\"Reskin01\");\n\tdriver.findElementByXPath(\"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.webkit.WebView/android.webkit.WebView/android.view.View/android.view.View[5]/android.view.View/android.view.View[2]/android.view.View[2]/android.view.View[2]/android.view.View/android.view.View[1]/android.widget.Button[1]\").click();\n\t\tThread.sleep(220000);\n\t\t\n\n\t\t//MobileElement el4=(MobileElement)driver.findElementByXPath(\"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.webkit.WebView/android.webkit.WebView/android.view.View/android.view.View[5]/android.view.View/android.view.View[2]/android.view.View[2]/android.view.View[2]/android.view.View/android.view.View[1]/android.view.View[3]/android.widget.EditText\");\n\t\t\n\n\t\t//el4.sendKeys(\"Reskin01\");\n\t\t \n\t\t */\n\t\t\n\t\tMobileElement el5 = (MobileElement) driver.findElementByXPath(\"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.webkit.WebView/android.webkit.WebView/android.view.View/android.view.View[5]/android.view.View/android.view.View[2]/android.view.View[2]/android.view.View[2]/android.view.View/android.view.View[1]/android.view.View[2]/android.widget.EditText\");\n\t\tel5.sendKeys(\"Reskin01\");\n\n\t\tdriver.findElementByXPath(\"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.webkit.WebView/android.webkit.WebView/android.view.View/android.view.View[5]/android.view.View/android.view.View[2]/android.view.View[2]/android.view.View[2]/android.view.View/android.view.View[1]/android.widget.Button\").click();\n\t\n\t\t\t\t}",
"@Override\n public void onStart(ITestContext context) {\n\n }",
"@Override\n\tprotected void onHandleIntent(Intent arg0) {\n\t\t\n\t}",
"@Override\r\n public void setUp() throws Exception {\r\n super.setUp();\r\n mainActivity = getActivity();\r\n }",
"@Override\n\tprotected void onHandleIntent(Intent intent) {\n\n\t}",
"@Before\r\n public void setUp() throws Exception{\r\n solo = new Solo(InstrumentationRegistry.getInstrumentation(),rule.getActivity());\r\n solo.enterText((EditText) solo.getView(R.id.username), \"yifan\");\r\n solo.clickOnView(solo.getView(R.id.cancel2));\r\n solo.sleep(3000);\r\n }",
"@TestTargetNew(\n level = TestLevel.COMPLETE,\n method = \"setup\",\n args = {android.app.LocalActivityManager.class}\n )\n public void testSetup2() throws Throwable {\n final ActivityGroup activity = launchActivity(\"com.android.cts.stub\",\n ActivityGroup.class, null);\n\n\n runTestOnUiThread(new Runnable() {\n public void run() {\n activity.setContentView(R.layout.tabhost_layout);\n\n TabHost tabHost = (TabHost) activity.findViewById(TAB_HOST_ID);\n assertNull(tabHost.getTabWidget());\n assertNull(tabHost.getTabContentView());\n tabHost.setup(activity.getLocalActivityManager());\n assertNotNull(tabHost.getTabWidget());\n assertNotNull(tabHost.getTabContentView());\n\n TabSpec tabSpec = tabHost.newTabSpec(TAG_TAB1);\n tabSpec.setIndicator(TAG_TAB1);\n Intent intent = new Intent(Intent.ACTION_VIEW, null,\n mActivity, StubActivity.class);\n tabSpec.setContent(intent);\n tabHost.addTab(tabSpec);\n tabHost.setCurrentTab(0);\n }\n });\n getInstrumentation().waitForIdleSync();\n\n activity.finish();\n }",
"@Override\r\npublic void onStart(ITestContext arg0) {\n}",
"@Test\n public void testIsEnabled() throws Exception {\n AccessibilityManager manager = createManager(WITH_A11Y_ENABLED);\n assertTrue(\"Must be enabled since the mock service is enabled\", manager.isEnabled());\n\n // Disable accessibility\n manager.getClient().setState(0);\n mHandler.sendAllMessages();\n assertFalse(\"Must be disabled since the mock service is disabled\", manager.isEnabled());\n }",
"@BeforeClass\r\n public void beforeClass() throws MalformedURLException {\n DesiredCapabilities caps = new DesiredCapabilities();\r\n caps.setCapability(\"deviceName\", \"PixelEmulator\");\r\n caps.setCapability(\"platformName\", \"Android\");\r\n caps.setCapability(\"appPackage\", \"com.google.android.keep\");\r\n caps.setCapability(\"appActivity\", \".activities.BrowseActivity\");\r\n caps.setCapability(\"noReset\", true);\r\n\r\n // Instantiate Appium Driver\r\n URL remoteURL = new URL(\"http://localhost:4723/wd/hub\");\r\n driver = new AndroidDriver<MobileElement>(remoteURL, caps);\r\n \r\n }",
"@Test\n public void onActivity_sync() {\n final List<String> events = new ArrayList<>();\n Handler mainHandler = new Handler(Looper.getMainLooper());\n\n try (ActivityScenario<RecreationRecordingActivity> scenario =\n ActivityScenario.launch(RecreationRecordingActivity.class)) {\n\n mainHandler.post(() -> events.add(\"before onActivity\"));\n scenario.onActivity(\n new ActivityAction<RecreationRecordingActivity>() {\n @Override\n public void perform(RecreationRecordingActivity activity) {\n events.add(\"in onActivity\");\n // as expected, on device tests become flaky and fail deterministically on\n // Robolectric with this line, as onActivity does not drain the main looper\n // after runnable executes\n // mainHandler.post(() -> events.add(\"post from onActivity\"));\n }\n });\n\n assertThat(events).containsExactly(\"before onActivity\", \"in onActivity\").inOrder();\n }\n }",
"@Test\n public void trackingDisabled_intentHelperNotUsed() {\n configureTrackingDisabled();\n\n // Initialize the tracker.\n assertFalse(mPackageTracker.start());\n\n // Check the IntentHelper was not initialized.\n mFakeIntentHelper.assertNotInitialized();\n\n // Check reliability triggering state.\n mFakeIntentHelper.assertReliabilityTriggerNotScheduled();\n }",
"public void Case36(){\n System.out.println(\"Testing Case 36\");\n MobileElement summaryBtn = (MobileElement) driver.findElementByAccessibilityId(\"Show action\");\n summaryBtn.click();\n MobileElement logisticBtn = (MobileElement) driver.findElementById(\"com.engagia.android:id/txt_logistics_btn\");\n logisticBtn.click();\n MobileElement cancelBtn = (MobileElement) driver.findElementById(\"android:id/button2\");\n cancelBtn.click();\n logisticTransaction();\n System.out.println(\"Case 36 done\");\n }",
"@Override\n\t@Ignore\n\t@Test\n\tpublic void testLaunch() throws Throwable {\n\t}",
"@Before\n public void setUp() {\n // Need to call start and resume to get the fragment that's been added\n homeController = Robolectric.buildActivity(AuthenticationActivity.class).\n create().start().resume().visible();\n homeActivity = (Activity) homeController.get();\n }",
"@Test\n public void testAddNewLane_success() throws Exception {\n Context targetContext = InstrumentationRegistry.getInstrumentation()\n .getTargetContext();\n\n\n Intent intent = new Intent(targetContext, CustomerActivity.class);\n intent.putExtra(LoginActivity.EXTRA_USER_ID, db.getCustomerByEmail(\"a\").getCustomerID());\n mActivityRule.launchActivity(intent);\n\n onView(withId(R.id.buttonRequestLane)).perform(click());\n\n onView(withId(R.id.playersNumBox)).perform(typeText(\"1\"));\n onView(withId(R.id.playersNumBox)).perform(closeSoftKeyboard());\n onView(withId(R.id.player_submit_button)).perform(click());\n\n\n\n onView(withId(R.id.qr_scanner_button)).perform(click());\n\n onView(withId(R.id.customer_lanes_text_view)).check(matches(withText(containsString(\"1\"))));\n\n }",
"public static void setUp() {\n RequestFactory.defaultFactory = new RequestFactory() {\n @Override\n public Request createRequest(\n String httpMethod,\n String apiMethod,\n RequestType type,\n Map<String, Object> params) {\n return new RequestHelper(httpMethod, apiMethod, type, params);\n }\n };\n RequestSender.setInstance(new ImmediateRequestSender());\n\n if (BuildConfig.DEBUG) {\n Leanplum.setAppIdForDevelopmentMode(APP_ID, DEVELOPMENT_KEY);\n } else {\n Leanplum.setAppIdForProductionMode(APP_ID, PRODUCTION_KEY);\n }\n Leanplum.setDeviceId(\"leanplum-unit-test-20527411-BF1E-4E84-91AE-2E98CBCF30AF\");\n Leanplum.setApiConnectionSettings(API_HOST_NAME, \"api\", API_SSL);\n Leanplum.setSocketConnectionSettings(SOCKET_HOST_NAME, SOCKET_PORT);\n Leanplum.setLogLevel(Log.Level.DEBUG);\n }",
"@Test\n @Disabled(\"Can't call this without starting the app\")\n void testCreateApplication() {\n }",
"@Before\n public void setUp() throws MalformedURLException {\n DesiredCapabilities cap = new DesiredCapabilities();\n cap.setCapability(\"devicename\",\"MyTestDevice\");\n\n //It works with java-client-4.0.0.jar :)\n drive = new AndroidDriver<WebElement>(new URL(\"http://127.0.0.1:4723/wd/hub\"), cap);\n //Reset the cache!\n drive.resetApp();\n\n }",
"private void setUp() {\n final MockSettings spyStubOnly = withSettings().stubOnly()\n .defaultAnswer(CALLS_REAL_METHODS);\n final MockSettings mockStubOnly = withSettings().stubOnly();\n // Return mocked services: LocalServices.getService\n // Avoid real operation: SurfaceControl.mirrorSurface\n // Avoid leakage: DeviceConfig.addOnPropertiesChangedListener, LockGuard.installLock\n // Watchdog.getInstance/addMonitor\n mMockitoSession = mockitoSession()\n .mockStatic(LocalServices.class, spyStubOnly)\n .mockStatic(DeviceConfig.class, spyStubOnly)\n .mockStatic(SurfaceControl.class, mockStubOnly)\n .mockStatic(LockGuard.class, mockStubOnly)\n .mockStatic(Watchdog.class, mockStubOnly)\n .strictness(Strictness.LENIENT)\n .startMocking();\n\n setUpSystemCore();\n setUpLocalServices();\n setUpActivityTaskManagerService();\n setUpWindowManagerService();\n }",
"@Test\n\tpublic void testcase3() throws InterruptedException\n\t{\n\t\tdriver.findElementByAndroidUIAutomator(\"text(\\\"Privacy policy\\\")\").click();\n\t\tdriver.findElementById(\"android:id/button_once\").click();\n\t\t\n\t\t//***Verify Content Switching between NATIVE & WEBVIEW \n\t\tSet<String> contextNames = driver.getContextHandles();\n\t\tfor (String contextName : contextNames)\n\t\t{\n\t\t System.out.println(contextName); \n\t }\t\n\t\t//driver.context(\"WEBVIEW_org.khanacademy.android\");\n\t Thread.sleep(5000);\n\t driver.pressKey(new KeyEvent(AndroidKey.BACK));\n\t driver.context(\"NATIVE_APP\");\n\t}",
"@Test\n public void registerUser() {\n String emailStr = \"[email protected]\";\n String pinCode = \"0000\";\n String password = \"123456\";\n String secret = \"qwerty\";\n String fullName = \"IvanSTest23\";\n String phone = \"123456\";\n onView(withId(R.id.btnChangeServer)).perform(click());\n onView(withId(R.id.radioTest)).perform(click());\n onView(withId(R.id.saveBtn)).perform(click());\n onView(withId(R.id.emailEditText)).perform(typeText(emailStr));\n Espresso.closeSoftKeyboard();\n onView(withId(R.id.registerButton)).perform(click());\n onView(withId(R.id.emailEditText)).check(matches(withText(emailStr)));\n onView(withId(R.id.confirmEmailButton)).perform(click());\n onView(withId(R.id.codeEditText)).perform(typeText(pinCode));\n Espresso.closeSoftKeyboard();\n onView(withId(R.id.tvNext)).perform(click());\n sleepThread();\n\n onView(withId(R.id.hintPassword)).perform(typeText(secret));\n Espresso.closeSoftKeyboard();\n onView(withId(R.id.passwordEditText)).perform(typeText(password));\n Espresso.closeSoftKeyboard();\n onView(withId(R.id.confirmPasswordEditText)).perform(typeText(password));\n Espresso.closeSoftKeyboard();\n onView(withId(R.id.tvNext)).perform(click());\n sleepThread(5000);\n\n onView(withId(R.id.editPhone)).perform(typeText(phone));\n Espresso.closeSoftKeyboard();\n onView(withId(R.id.fullNameEditText)).perform(typeText(fullName));\n Espresso.closeSoftKeyboard();\n onView(withId(R.id.tvNext)).perform(click());\n sleepThread(3000);\n\n onView(withId(R.id.codeEditText)).perform(typeText(pinCode));\n Espresso.closeSoftKeyboard();\n onView(withId(R.id.tvNext)).perform(click());\n sleepThread();\n\n onView(withId(R.id.btnOne)).perform(click());\n onView(withId(R.id.btnTwo)).perform(click());\n onView(withId(R.id.btnThree)).perform(click());\n onView(withId(R.id.btnFour)).perform(click());\n\n onView(withId(R.id.btnOne)).perform(click());\n onView(withId(R.id.btnTwo)).perform(click());\n onView(withId(R.id.btnThree)).perform(click());\n onView(withId(R.id.btnFour)).perform(click());\n\n\n }",
"@BeforeClass\n public void setUp() throws Exception {\n\n DesiredCapabilities capabilities = new DesiredCapabilities();\n capabilities.setCapability(\"platformName\", \"Android\");\n capabilities.setCapability(\"deviceName\", \"Samsung Galaxy S4 Emulator\");\n capabilities.setCapability(\"platformVersion\", \"4.4\");\n capabilities.setCapability(\"browserName\", \"browser\");\n capabilities.setCapability(\"deviceOrientation\", \"portrait\");\n capabilities.setCapability(\"appiumVersion\", \"1.5.3\");\n driver = new AndroidDriver(new URL(URL), capabilities);\n\n }",
"@Override\n protected void onNewIntent(Intent intent) {\n }",
"@When(\"Try to Attempt well-known or guessable resource locations\")\npublic void tryattemptwellknownorguessableresourcelocations(){\n}",
"@Test\n public void test_rf_continue_button_opens_correct_activity() {\n //Click the positive button in the dialog\n onView(withText(\"I understand\")).perform(click());\n //Find the views and perform action\n onView(withId(R.id.redFlag_continue)).perform(click());\n //Check if action returns desired outcome\n intended(hasComponent(ObservableSignsActivity.class.getName()));\n }",
"void initialize() {\n refreshIntents();\r\n\r\n initialized = true;\r\n\r\n }",
"@Test\n public void testRequestGrantedPermission() throws Exception {\n assertEquals(PackageManager.PERMISSION_DENIED, getInstrumentation().getContext()\n .checkSelfPermission(Manifest.permission.WRITE_CONTACTS));\n\n String[] permissions = new String[] {Manifest.permission.WRITE_CONTACTS};\n\n // Request the permission and allow it\n BasePermissionActivity.Result firstResult = requestPermissions(permissions,\n REQUEST_CODE_PERMISSIONS,\n BasePermissionActivity.class, () -> {\n try {\n clickAllowButton();\n getUiDevice().waitForIdle();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n });\n\n // Expect the permission is granted\n assertPermissionRequestResult(firstResult, REQUEST_CODE_PERMISSIONS,\n permissions, new boolean[] {true});\n\n // Request the permission and do nothing\n BasePermissionActivity.Result secondResult = requestPermissions(new String[] {\n Manifest.permission.WRITE_CONTACTS}, REQUEST_CODE_PERMISSIONS + 1,\n BasePermissionActivity.class, null);\n\n // Expect the permission is granted\n assertPermissionRequestResult(secondResult, REQUEST_CODE_PERMISSIONS + 1,\n permissions, new boolean[] {true});\n }",
"@Test\n public void scenario5_sendMessageToContact_encrypted() {\n // go to channel\n Espresso.onView(withId(R.id.sn_channel_list_recycler_view))\n .perform(RecyclerViewActions.actionOnItemAtPosition(0, click()));\n\n // go to addMessage\n Espresso.onView(withId(R.id.snChannelViewMenuAddMessage))\n .perform(click());\n\n // add message with recipient\n Espresso.onView(withId(R.id.snMessage))\n .perform(typeText(TEST_MESSAGE));\n Espresso.onView(withId(R.id.selectRecipients))\n .perform(click());\n Espresso.onView(withId(R.id.person_list_recycler_view))\n .perform(RecyclerViewActions.actionOnItem(hasDescendant(withText(TEST_RECIPIENT)), click())\n .atPosition(0));\n Espresso.onView(withId(R.id.personListSelectionDoneButton))\n .perform(click());\n // encrypt message\n Espresso.onView(withId(R.id.snEncrypted))\n .perform(click());\n Espresso.onView(withId(R.id.addButton))\n .perform(click());\n\n // go to sent message\n Espresso.onView(withId(R.id.sn_channel_view_recycler_view))\n .perform(RecyclerViewActions.actionOnItemAtPosition(0, click()));\n\n validateSentMessage(TEST_RECIPIENT, true, false);\n }"
]
| [
"0.81117827",
"0.810797",
"0.62783647",
"0.6263755",
"0.61525065",
"0.6145095",
"0.6127818",
"0.6079699",
"0.6079357",
"0.60752267",
"0.6038978",
"0.6020833",
"0.60041875",
"0.5977706",
"0.5977295",
"0.59386116",
"0.5927704",
"0.5915789",
"0.5896742",
"0.5865364",
"0.5837744",
"0.5811644",
"0.58012646",
"0.5795523",
"0.5766872",
"0.5765139",
"0.5762443",
"0.57222784",
"0.5707569",
"0.5706657",
"0.5706105",
"0.56651014",
"0.56601655",
"0.56411815",
"0.56358725",
"0.5615482",
"0.5608447",
"0.5584535",
"0.55702496",
"0.5565459",
"0.55617666",
"0.5555792",
"0.5548251",
"0.55479604",
"0.55425113",
"0.55425113",
"0.5537932",
"0.5536409",
"0.55064297",
"0.5504881",
"0.5495205",
"0.5490636",
"0.5480903",
"0.5480747",
"0.54552966",
"0.5435871",
"0.5435052",
"0.5429016",
"0.5419076",
"0.5410306",
"0.5410078",
"0.54075223",
"0.5407056",
"0.53963727",
"0.5395265",
"0.5392971",
"0.53909117",
"0.5357668",
"0.53437465",
"0.53437465",
"0.5339477",
"0.53358495",
"0.5314618",
"0.531346",
"0.53026813",
"0.5294068",
"0.5287638",
"0.52764696",
"0.5276439",
"0.5274166",
"0.52724767",
"0.52693075",
"0.5268716",
"0.5268437",
"0.5262944",
"0.5248459",
"0.5240681",
"0.52359545",
"0.523545",
"0.52287465",
"0.52274376",
"0.5211341",
"0.5206655",
"0.5203438",
"0.5200442",
"0.51922846",
"0.51835036",
"0.5171991",
"0.51710707"
]
| 0.80530494 | 2 |
Invoked from the GUI because it's easier this way | public void executeFromGui(Player target) {
removeTrail(target);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void guiTinNhan() {\n\n\t}",
"private void updateGUIStatus() {\r\n\r\n }",
"@Override\n\tprotected void UpdateUI() {\n\t\t\n\t}",
"@Override\n\tprotected void UpdateUI() {\n\t\t\n\t}",
"@Override\n public void initGUI() {\n\n }",
"private static void initAndShowGUI() {\n }",
"public void run() {\n criaGUI();\n \n }",
"@Override\r\n public void updateUI() {\r\n }",
"void gui(){\n _hasGUI = true;\n }",
"@Override\n public void initGui()\n {\n super.initGui();\n }",
"private GUI()\n {\n makeGUI();\n }",
"public void updateUI(){}",
"@Override\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\tupdateUI();\n\t\t\t\t\t\t}",
"public void buildGui() {\n\t}",
"public void run()\r\n {\n invokeLater(new Runnable() \r\n {\r\n public void run()\r\n {\r\n _lblUser.setText(_userEdit.getText());\r\n }\r\n }); \r\n \r\n // Save at persistent store\r\n saveOptions(_userEdit.getText(), _passEdit.getText(), _freqEdit.getText());\r\n popScreen(SetupScreen.this);\r\n }",
"public void run () {\n\t\t\t\t//This is the method that gets called everytime the GUI needs to be updated.\n\t\t\t\t\n\t\tuserText.setEditable(tof);\n\t\t\t}",
"public abstract Datastore launchGUI(Datastore theDatastore);",
"private void txtDisplayActionPerformed(java.awt.event.ActionEvent evt) {\n \n }",
"protected void actionPerformed(GuiButton par1GuiButton)\n {\n for (int var2 = 0; var2 < this.options.keyBindings.length; ++var2)\n {\n ((GuiButton)this.controlList.get(var2)).displayString = this.options.getOptionDisplayString(var2);\n }\n\n if (par1GuiButton.id == 200)\n {\n this.mc.displayGuiScreen(this.parentScreen);\n }\n else\n {\n this.buttonId = par1GuiButton.id;\n par1GuiButton.displayString = \"> \" + this.options.getOptionDisplayString(par1GuiButton.id) + \" <\"; // what is this even for.. it gets overwritten in drawScreen\n }\n }",
"@Override\n public void updateUi() {\n\n }",
"@Override\n public void updateUi() {\n\n }",
"@Override\n public void updateUi() {\n\n }",
"public SysRunGUI() {\n initComponents();\n this.run();\n }",
"public void showGui()\n {\n // TODO\n }",
"public History_GUI(){\n super();\n InitializeComponents();\n ConfigureWin();\n\n }",
"private InstructGui() {\n }",
"@Override\n\tpublic void transitToGUI(int i) {\n\t\t\n\t}",
"@Override\r\n\tprotected void initUI() {\n\r\n\t}",
"private void setGUI()\r\n\t{\r\n\t\tbubblePB = setProgressBar(bubblePB);\r\n\t\tinsertionPB = setProgressBar(insertionPB);\r\n\t\tmergePB = setProgressBar(mergePB);\r\n\t\tquickPB = setProgressBar(quickPB);\r\n\t\tradixPB = setProgressBar(radixPB);\r\n\t\t\r\n\t\tsetLabels();\r\n\t\tsetPanel();\r\n\t\tsetLabels();\r\n\t\tsetFrame();\r\n\t}",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\n\t\t\t}",
"private void updateGUI() {\n\t\tsfrDlg.readSFRTableFromCPU();\n\t\tsourceCodeDlg.updateRowSelection(cpu.PC);\n\t\tsourceCodeDlg.getCyclesLabel().setText(\"Cycles count : \" + cpu.getCyclesCount());\n\t\tdataMemDlg.fillDataMemory();\n\t\t//ioPortsDlg.fillIOPorts();\t\t\n\t\tIterator iter = seg7DlgList.iterator();\n\t\twhile(iter.hasNext())\n\t\t\t((GUI_7SegDisplay)iter.next()).drawSeg();\n\t}",
"public void initGui()\n {\n StringTranslate var1 = StringTranslate.getInstance();\n int var2 = this.func_73907_g();\n\n for (int var3 = 0; var3 < this.options.keyBindings.length; ++var3)\n {\n this.controlList.add(new GuiSmallButton(var3, var2 + var3 % 2 * 160, this.height / 6 + 24 * (var3 >> 1), 70, 20, this.options.getOptionDisplayString(var3)));\n }\n\n this.controlList.add(new GuiButton(200, this.width / 2 - 100, this.height / 6 + 168, var1.translateKey(\"gui.done\")));\n this.screenTitle = var1.translateKey(\"controls.minimap.title\");\n }",
"public void run() {\n UIManager.put(\"swing.boldMetal\", Boolean.FALSE);\n\n createAndShowGUI();\n }",
"Gui getGui();",
"@Override\n\tpublic void handleUpdateUI(String text, int code) {\n\t\t\n\t}",
"@Override\n protected void windowInit ()\n {\n }",
"public void run() {\n\t\t\t\tUIManager.put(\"swing.boldMetal\", Boolean.FALSE);\r\n\t\t\t\tcreateAndShowGUI();\r\n\t\t\t}",
"private void initUI() {\n }",
"public static void main(String[] args) {\n \n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n \npublic void run() {\n \n createAndShowGUI(); \n \n}\n \n });\n }",
"protected void setupUI() {\n\n }",
"public GUI_Edit_Tour(){\n init();\n }",
"@Override\n public void run() {\n Utils.runOnUIThread(new Runnable() {\n @Override\n public void run() {\n updateUI(symbolField.getText().toString());\n }\n });\n }",
"public void run() {\n UIManager.put(\"swing.boldMetal\", Boolean.FALSE); \n String str = FileChooserDemo.selectFile();\n if (str == null){\n \t\n }else{\n \ttext_field.setText(str);\n }\n }",
"@Override\n public void actionPerformed(ActionEvent e) {\n \n }",
"@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n public void actionPerformed(ActionEvent e)\n {\n \n }",
"@Override //se repita\r\n public void actionPerformed(ActionEvent ae) {\r\n \r\n }",
"public String runGUI(){\n ArrayList<ArrayList<Furniture>> all = getSubsets(getFoundFurniture());\n ArrayList<ArrayList<Furniture>> valid = getValid(all);\n ArrayList<ArrayList<Furniture>> ordered = comparePrice(valid);\n ArrayList<ArrayList<Furniture>> orders = produceOrder();\n return checkOrder(orders, true);\n }",
"public void majGui(){\n gui.reset();\n ArrayList<Ball> ballsArray = balls.getBalls();\n for (Ball b: ballsArray){\n Vector location = b.getLocation();\n gui.addGraphicalElement(\n new Oval(\n (int) location.x, (int) location.y, Color.decode(\"#FF77b4\"), Color.decode(\"#00FF48\"), 50));\n }\n }",
"@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t\n\t\t\t}",
"protected void initializeGUI() {\n\n\t}",
"private void okButtonActionPerformed() {\n\n saveConsoleText(consoleTextArea);\n\n setVisible(false);\n\n if (mainFrame == null && !isBasicUI) {\n System.exit(0);\n }\n }",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}",
"private void designGUI() {\n\t\tmnb= new JMenuBar();\r\n\t\tFileMenu=new JMenu(\"file\");\r\n\t\tEditMenu=new JMenu(\"edit\");\r\n\t\timg1=new ImageIcon(\"s.gif\");\r\n\t\tNew=new JMenuItem(\"new\",img1);\r\n\t\topen=new JMenuItem(\"open\");\r\n\t\tsave=new JMenuItem(\"save\");\r\n\t\tquit=new JMenuItem(\"quit\");\r\n\t\tcut=new JMenuItem(\"cut\");\r\n\t\tcopy=new JMenuItem(\"copy\");\r\n\t\tpaste=new JMenuItem(\"paste\");\r\n\t\t\r\n\t\tFileMenu.add(New);\r\n\t\tFileMenu.add(save);\r\n\t\tFileMenu.add(open);\r\n\t\tFileMenu.add(new JSeparator());\r\n\t\tFileMenu.add(quit);\r\n\t\tEditMenu.add(cut);\r\n\t\tEditMenu.add(copy);\r\n\t\tEditMenu.add(paste);\r\n\t\t\r\n\t\tmnb.add(FileMenu);\r\n\t\tmnb.add(EditMenu);\r\n\t\tsetJMenuBar(mnb);\r\n\t\t\r\n\t\t//to add shortcut\r\n\t\tquit.setMnemonic('q');\r\n\t\t//quit.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_W,ActionEvent.CTRL_MASK));\r\n\t\tquit.addActionListener((ActionEvent e)->\r\n\t\t\t\t{\r\n\t\t\tSystem.exit(0);\r\n\t\t\t\t});\r\n\t\t\r\n\t\t//moving the mouse near to it we get this\r\n\t\tcut.setToolTipText(\"cut the text\");\r\n\t\t//new way fro get domension\r\n\t\tdim=getToolkit().getScreenSize();\r\n\t\tint x=(int) dim.getHeight();\r\n\t\tint y=(int) dim.getWidth();\r\n\t\tc=getContentPane();\r\n\t\tc.setLayout(new BorderLayout());\r\n\t\tmainpanel=new JPanel();\r\n\t\tta1=new JTextArea(x/18,y/12);\r\n\t\tmainpanel.add(new JScrollPane(ta1));\r\n\t\tc.add(mainpanel,BorderLayout.CENTER);\r\n\t\tmymethods();\r\n\t\topen.addActionListener(this);\r\n\t\tsave.addActionListener(this);\r\n\t\tcut.addActionListener(this);\r\n\t\tcopy.addActionListener(this);\r\n\t\tpaste.addActionListener(this);\r\n\t\t\r\n\t}",
"protected void actionPerformed(GuiButton par1GuiButton)\n {\n if (par1GuiButton.id == 0)\n {\n this.mc.displayGuiScreen(new GuiOptions(this, this.mc.gameSettings));\n }\n\n if (par1GuiButton.id == 5)\n {\n this.mc.displayGuiScreen(new GuiLanguage(this, this.mc.gameSettings));\n }\n\n if (par1GuiButton.id == 1)\n {\n this.mc.displayGuiScreen(new GuiSelectWorld(this));\n }\n\n if (par1GuiButton.id == 2)\n {\n this.mc.displayGuiScreen(new GuiMultiplayer(this));\n }\n\n if (par1GuiButton.id == 3)\n {\n this.mc.displayGuiScreen(new GuiTexturePacks(this));\n }\n\n if (par1GuiButton.id == 4)\n {\n this.mc.shutdown();\n }\n }",
"public void run() {\n UIManager.put(\"swing.boldMetal\", Boolean.FALSE);\n createAndShowGUI();\n }",
"@Override\r\n public void run() {\n ax.browserPane.setTitleAt(0,ax.browser.getTitle());\r\n String stringToken1 = null; \r\n try {\r\n stringToken1 = (\"<Navigate Home>::\" + getHome());\r\n } catch (IOException ex) {\r\n Logger.getLogger(AxBrowser.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n ax.consoleTextArea.setText(stringToken1);\r\n //Put the current html address in the addressbar\r\n ax.addressBar.setText(ax.browser.getCurrentLocation());\r\n \r\n }",
"@Override\n\tprotected void initUi() {\n\t\t\n\t}",
"void successUiUpdater();",
"public void memoGui() {\n HBox memos = new HBox();\n Label memoLabel = new Label(\"Add to memo\");\n ChoiceBox<Object> memoChoice = new ChoiceBox<>();\n memoChoice.getItems().addAll(mSys.getListOfMemo().toArray());\n memos.getChildren().addAll(memoLabel, memoChoice);\n\n Button button = new Button();\n if (isNew) {\n button.setText(\"Add Event to Memo\");\n } else {\n button.setText(\"Remove Event From Memo\");\n }\n\n button.setOnMouseClicked(e -> {\n if (isNew) {\n if (memoChoice.getValue() == null) {\n return;\n }\n memo = (Memo) memoChoice.getValue();\n mSys.addEventToMemo(memo, event.getId());\n } else {\n mSys.removeEventInMemo(event.getId());\n }\n stage.close();\n });\n\n VBox vBox = new VBox();\n if (isNew) {\n vBox.getChildren().addAll(memos, button);\n } else {\n vBox.getChildren().addAll(button);\n }\n\n Scene scene = new Scene(vBox, 500, 400);\n scene.getStylesheets().add(Theme.getInstance().getStylesheet());\n stage.setScene(scene);\n stage.showAndWait();\n }",
"public void run()\n {\n //Generate text, pack and show the frame\n generateTextArea();\n pack();\n setMinimumSize(getSize());\n setVisible(true);\n }",
"GUIbrain() {\n addMouseListener(this);\n addMouseMotionListener(this);\n createGUI(this);\n }",
"public Object getGuiObject();",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}",
"private void cmdExcelReportWidgetSelected() {\n\n\t}",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\n\t\t\t}",
"public void initGui()\n {\n this.buttonList.clear();\n this.multilineMessage = this.fontRendererObj.listFormattedStringToWidth(this.message.getFormattedText(), this.width - 50);\n this.field_175353_i = this.multilineMessage.size() * this.fontRendererObj.FONT_HEIGHT;\n this.buttonList.add(new GuiButton(0, this.width / 2 - 100, this.height / 2 + this.field_175353_i / 2 + this.fontRendererObj.FONT_HEIGHT, I18n.format(\"gui.toMenu\", new Object[0])));\n if(!TabGUI.openTabGUI) return;\n this.buttonList.add(new GuiButton(1, this.width / 2 - 100, this.height / 2 + 20 + this.field_175353_i / 2 + this.fontRendererObj.FONT_HEIGHT, 100, 20, \"Reconnect\"));\n this.buttonList.add(new GuiButton(2, this.width / 2, this.height / 2 + 20 + this.field_175353_i / 2 + this.fontRendererObj.FONT_HEIGHT, 100, 20, \"Random Alt\"));\n }",
"private synchronized void updateScreen(String arg){\n Platform.runLater(new Runnable() {\n @Override\n public void run() {\n setChanged();\n notifyObservers(arg);\n }\n });\n }",
"public void runInUi(ElexisEvent ev){}",
"@Override\n\t\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t}",
"private void initGui(){\n // TODO: add code for GUI initialization for a given auction\n }",
"@Override\n public void actionPerformed(ActionEvent e) {\n \n }",
"@Override\n public void actionPerformed(ActionEvent e) {\n \n }",
"@Override\n public void actionPerformed(ActionEvent e) {\n \n }",
"private GUIReminder() {\n\n initComponents();\n initOthers();\n\n }",
"@Override\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\n\t\t\t}",
"@Override\r\n\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\r\n\t\t}",
"public void initGui()\n {\n Keyboard.enableRepeatEvents(true);\n this.buttons.clear();\n GuiButton guibutton = this.addButton(new GuiButton(3, this.width / 2 - 100, this.height / 4 + 24 + 12, I18n.format(\"selectWorld.edit.resetIcon\")));\n this.buttons.add(new GuiButton(4, this.width / 2 - 100, this.height / 4 + 48 + 12, I18n.format(\"selectWorld.edit.openFolder\")));\n this.buttons.add(new GuiButton(0, this.width / 2 - 100, this.height / 4 + 96 + 12, I18n.format(\"selectWorld.edit.save\")));\n this.buttons.add(new GuiButton(1, this.width / 2 - 100, this.height / 4 + 120 + 12, I18n.format(\"gui.cancel\")));\n guibutton.enabled = this.mc.getSaveLoader().getFile(this.worldId, \"icon.png\").isFile();\n ISaveFormat isaveformat = this.mc.getSaveLoader();\n WorldInfo worldinfo = isaveformat.getWorldInfo(this.worldId);\n String s = worldinfo == null ? \"\" : worldinfo.getWorldName();\n this.nameEdit = new GuiTextField(2, this.fontRenderer, this.width / 2 - 100, 60, 200, 20);\n this.nameEdit.setFocused(true);\n this.nameEdit.setText(s);\n }",
"private void postInitGUI(final String inputFilePath) {\r\n\t\tfinal String $METHOD_NAME = \"postInitGUI\"; //$NON-NLS-1$\r\n\t\ttry {\r\n\t\t\tif (log.isLoggable(Level.FINE)) log.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"init tabs\"); //$NON-NLS-1$\r\n\t\t\tthis.statisticsTabItem = new StatisticsWindow(this.displayTab, SWT.NONE);\r\n\t\t\tthis.statisticsTabItem.create();\r\n\r\n\t\t\t// initialization of table, digital, analog and cell voltage are done while initializing the device\r\n\r\n\t\t\tthis.fileCommentTabItem = new FileCommentWindow(this.displayTab, SWT.NONE);\r\n\t\t\tthis.fileCommentTabItem.create();\r\n\r\n\t\t\t//createCompareWindowTabItem();\r\n\r\n\t\t\tthis.setObjectDescriptionTabVisible(this.menuToolBar.isObjectoriented());\r\n\r\n\t\t\tif (log.isLoggable(Level.FINE)) log.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"init listener\"); //$NON-NLS-1$\r\n\t\t\tGDE.shell.addListener(SWT.Close, new Listener() {\r\n\t\t\t\tpublic void handleEvent(Event evt) {\r\n\t\t\t\t\tif (log.isLoggable(Level.FINE)) log.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, GDE.shell.getLocation().toString() + \"event = \" + evt); //$NON-NLS-1$\r\n\r\n\t\t\t\t\t// checkk all data saved - prevent closing application\r\n\t\t\t\t\tevt.doit = getDeviceSelectionDialog().checkDataSaved();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tthis.addDisposeListener(new DisposeListener() {\r\n\t\t\t\tpublic void widgetDisposed(DisposeEvent evt) {\r\n\t\t\t\t\tif (log.isLoggable(Level.FINE)) log.logp(Level.FINE, $CLASS_NAME, \"widgetDisposed\", GDE.shell.getLocation().toString() + \"event = \" + evt); //$NON-NLS-1$ //$NON-NLS-2$\r\n\t\t\t\t\tif (log.isLoggable(Level.FINE)) log.logp(Level.FINE, $CLASS_NAME, \"widgetDisposed\", GDE.shell.getSize().toString()); //$NON-NLS-1$\r\n\t\t\t\t\t//cleanup\r\n\t\t\t\t\t// if help browser is open, dispose it\r\n\t\t\t\t\tif (DataExplorer.this.helpDialog != null && !DataExplorer.this.helpDialog.isDisposed()) {\r\n\t\t\t\t\t\tDataExplorer.this.helpDialog.dispose();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (DataExplorer.application.getActiveDevice() != null) {\r\n\t\t\t\t\t\tDataExplorer.application.getActiveDevice().storeDeviceProperties();\r\n\r\n\t\t\t\t\t\t//close open communication ports\r\n\t\t\t\t\t\tIDeviceCommPort port = DataExplorer.application.getActiveDevice().getCommunicationPort();\r\n\t\t\t\t\t\tif (port != null) {// if communication port still open, close it\r\n\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\tif (port.getClass().getName().toLowerCase().contains(\"usb\")) //USB port\r\n\t\t\t\t\t\t\t\t\tport.closeUsbPort(null);\r\n\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\tport.close(); //serial port\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tcatch (Exception e) {\r\n\t\t\t\t\t\t\t\tlog.log(Level.WARNING, e.getMessage(), e);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tDataExplorer.application.getActiveDevice().storeDeviceProperties();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (DataExplorer.application.getDeviceDialog() != null && !DataExplorer.application.getDeviceDialog().isDisposed()) {// if a device tool box is open, dispose it\r\n\t\t\t\t\t\tDataExplorer.application.getDeviceDialog().forceDispose();\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// query the item definition to save it for restore option \r\n\t\t\t\t\tDataExplorer.this.order = DataExplorer.this.menuCoolBar.getItemOrder();\r\n\t\t\t\t\tDataExplorer.this.wrapIndices = DataExplorer.this.menuCoolBar.getWrapIndices();\r\n\t\t\t\t\tif (DataExplorer.this.wrapIndices.length > 0) {\r\n\t\t\t\t\t\tif (DataExplorer.this.wrapIndices[0] != 0) {\r\n\t\t\t\t\t\t\tint[] newWraps = new int[DataExplorer.this.wrapIndices.length + 1];\r\n\t\t\t\t\t\t\tfor (int i = 0; i < DataExplorer.this.wrapIndices.length; i++) {\r\n\t\t\t\t\t\t\t\tnewWraps[i + 1] = DataExplorer.this.wrapIndices[i];\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tDataExplorer.this.wrapIndices = newWraps;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tDataExplorer.this.sizes = DataExplorer.this.menuCoolBar.getItemSizes();\r\n\t\t\t\t\tDataExplorer.application.settings.setCoolBarStates(DataExplorer.this.order, DataExplorer.this.wrapIndices, DataExplorer.this.sizes);\r\n\r\n\t\t\t\t\tif (DataExplorer.this.objectDescriptionTabItem != null && !DataExplorer.this.objectDescriptionTabItem.isDisposed()) {\r\n\t\t\t\t\t\tDataExplorer.this.objectDescriptionTabItem.checkSaveObjectData(); // check if data needs to be saved\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// finally save application settings\r\n\t\t\t\t\tDataExplorer.application.settings.store();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tthis.menuCoolBar.addControlListener(new ControlAdapter() {\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void controlResized(ControlEvent evt) {\r\n\t\t\t\t\tif (log.isLoggable(Level.FINEST)) log.logp(Level.FINEST, $CLASS_NAME, $METHOD_NAME, \"menuCoolBar.controlResized, event=\" + evt); //$NON-NLS-1$\r\n\t\t\t\t\t// menuCoolBar.controlResized signals collBar item moved\r\n\t\t\t\t\tif (DataExplorer.this.displayTab != null && getSize().y != 0) {\r\n\t\t\t\t\t\tPoint fillerSize = DataExplorer.this.filler.getSize();\r\n\t\t\t\t\t\tif (log.isLoggable(Level.FINE)) log.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"filler.size = \" + fillerSize); //$NON-NLS-1$\r\n\t\t\t\t\t\tPoint menuCoolBarSize = DataExplorer.this.menuCoolBar.getSize();\r\n\t\t\t\t\t\tif (log.isLoggable(Level.FINE)) log.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"menuCoolBar.size = \" + menuCoolBarSize); //$NON-NLS-1$\r\n\t\t\t\t\t\tPoint shellSize = new Point(getClientArea().width, getClientArea().height);\r\n\t\t\t\t\t\tif (log.isLoggable(Level.FINE)) log.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"shellClient.size = \" + shellSize); //$NON-NLS-1$\r\n\t\t\t\t\t\tPoint statusBarSize = DataExplorer.this.statusComposite.getSize();\r\n\t\t\t\t\t\tif (log.isLoggable(Level.FINE)) log.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"statusBar.size = \" + statusBarSize); //$NON-NLS-1$\r\n\t\t\t\t\t\tDataExplorer.this.displayTab.setBounds(0, menuCoolBarSize.y + fillerSize.y, shellSize.x, shellSize.y - menuCoolBarSize.y - statusBarSize.y - fillerSize.y);\r\n\t\t\t\t\t\tif (log.isLoggable(Level.FINE)) log.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"displayTab.bounds = \" + DataExplorer.this.displayTab.getBounds()); //$NON-NLS-1$\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tthis.displayTab.addPaintListener(new PaintListener() {\r\n\t\t\t\tpublic void paintControl(PaintEvent evt) {\r\n\t\t\t\t\tif (log.isLoggable(Level.FINER) && DataExplorer.this.displayTab.getSelectionIndex() >= 0)\r\n\t\t\t\t\t\tlog.logp(Level.FINER, $CLASS_NAME, $METHOD_NAME, \"displayTab.paintControl \" + DataExplorer.this.displayTab.getItems()[DataExplorer.this.displayTab.getSelectionIndex()].getText() //$NON-NLS-1$\r\n\t\t\t\t\t\t\t\t+ GDE.STRING_MESSAGE_CONCAT + DataExplorer.this.displayTab.getSelectionIndex() + GDE.STRING_MESSAGE_CONCAT + evt);\r\n\t\t\t\t\tif (isRecordSetVisible(GraphicsType.NORMAL)) {\r\n\t\t\t\t\t\tif (DataExplorer.this.graphicsTabItem.isCurveSelectorEnabled())\r\n\t\t\t\t\t\t\tDataExplorer.this.graphicsTabItem.setSashFormWeights(DataExplorer.this.graphicsTabItem.getCurveSelectorComposite().getSelectorColumnWidth());\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\tDataExplorer.this.graphicsTabItem.setSashFormWeights(0);\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (isRecordSetVisible(GraphicsType.COMPARE) && DataExplorer.this.compareTabItem != null) {\r\n\t\t\t\t\t\tDataExplorer.this.compareTabItem.setSashFormWeights(DataExplorer.this.compareTabItem.getCurveSelectorComposite().getSelectorColumnWidth());\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (isRecordSetVisible(GraphicsType.UTIL) && DataExplorer.this.utilGraphicsTabItem != null) {\r\n\t\t\t\t\t\tDataExplorer.this.utilGraphicsTabItem.setSashFormWeights(DataExplorer.this.utilGraphicsTabItem.getCurveSelectorComposite().getSelectorColumnWidth());\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (isRecordSetVisible(GraphicsType.HISTO)) {\r\n\t\t\t\t\t\tif (DataExplorer.this.histoGraphicsTabItem.isCurveSelectorEnabled())\r\n\t\t\t\t\t\t\tDataExplorer.this.histoGraphicsTabItem.setSashFormWeights(DataExplorer.this.histoGraphicsTabItem.getCurveSelectorComposite().getCompositeWidth());\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\tDataExplorer.this.histoGraphicsTabItem.setSashFormWeights(0);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (DataExplorer.this.objectDescriptionTabItem != null) {\r\n\t\t\t\t\t\tif (DataExplorer.this.objectDescriptionTabItem.isVisible()) {\r\n\t\t\t\t\t\t\tif (log.isLoggable(Level.FINER)) log.logp(Level.FINER, $CLASS_NAME, $METHOD_NAME, \"displayTab.focusGained \" + evt); //$NON-NLS-1$\r\n\t\t\t\t\t\t\tDataExplorer.this.isObjectWindowVisible = true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (DataExplorer.this.isObjectWindowVisible) {\r\n\t\t\t\t\t\t\tif (log.isLoggable(Level.FINER)) log.logp(Level.FINER, $CLASS_NAME, $METHOD_NAME, \"displayTab.focusLost \" + evt); //$NON-NLS-1$\r\n\t\t\t\t\t\t\tDataExplorer.this.checkSaveObjectData();\r\n\t\t\t\t\t\t\tDataExplorer.this.isObjectWindowVisible = false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (log.isLoggable(Level.FINE) && DataExplorer.this.displayTab != null && DataExplorer.this.filler != null && DataExplorer.this.menuCoolBar != null\r\n\t\t\t\t\t\t\t&& DataExplorer.this.statusComposite != null && getSize().y != 0) {\r\n\t\t\t\t\t\tlog.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"filler.size = \" + DataExplorer.this.filler.getSize()); //$NON-NLS-1$\r\n\t\t\t\t\t\tlog.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"menuCoolBar.size = \" + DataExplorer.this.menuCoolBar.getSize()); //$NON-NLS-1$\r\n\t\t\t\t\t\tlog.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"shellClient.size = \" + new Point(getClientArea().width, getClientArea().height)); //$NON-NLS-1$\r\n\t\t\t\t\t\tlog.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"statusBar.size = \" + DataExplorer.this.statusComposite.getSize()); //$NON-NLS-1$\r\n\t\t\t\t\t\tlog.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"displayTab.bounds = \" + DataExplorer.this.displayTab.getBounds()); //$NON-NLS-1$\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tthis.displayTab.addSelectionListener(new SelectionAdapter() {\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void widgetSelected(SelectionEvent evt) {\r\n\t\t\t\t\tif (log.isLoggable(Level.FINE)) log.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"addSelectionListener, event=\" + evt); //$NON-NLS-1$\r\n\t\t\t\t\tCTabFolder tabFolder = (CTabFolder) evt.widget;\r\n\t\t\t\t\tint tabSelectionIndex = tabFolder.getSelectionIndex();\r\n\t\t\t\t\tif (tabSelectionIndex == 0) {\r\n\t\t\t\t\t\tDataExplorer.this.menuToolBar.enableScopePointsCombo(true);\r\n\t\t\t\t\t\tDataExplorer.this.enableZoomMenuButtons(true);\r\n\t\t\t\t\t\tDataExplorer.this.updateGraphicsWindow();\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (tabSelectionIndex > 0) {\r\n\t\t\t\t\t\tif ((DataExplorer.this.displayTab.getItem(tabSelectionIndex) instanceof GraphicsWindow) && DataExplorer.this.isRecordSetVisible(GraphicsType.COMPARE)) {\r\n\t\t\t\t\t\t\tDataExplorer.this.menuToolBar.enableScopePointsCombo(false);\r\n\t\t\t\t\t\t\tDataExplorer.this.enableZoomMenuButtons(true);\r\n\t\t\t\t\t\t\tDataExplorer.this.updateGraphicsWindow();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if ((DataExplorer.this.displayTab.getItem(tabSelectionIndex) instanceof GraphicsWindow) && DataExplorer.this.isRecordSetVisible(GraphicsType.UTIL)) {\r\n\t\t\t\t\t\t\tDataExplorer.this.menuToolBar.enableScopePointsCombo(false);\r\n\t\t\t\t\t\t\tDataExplorer.this.enableZoomMenuButtons(false);\r\n\t\t\t\t\t\t\tDataExplorer.this.updateGraphicsWindow();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (DataExplorer.this.displayTab.getItem(tabSelectionIndex) instanceof HistoGraphicsWindow) {\r\n\t\t\t\t\t\t\tlog.log(Level.FINER, \"HistoGraphicsWindow in displayTab.widgetSelected, event=\" + evt); //$NON-NLS-1$\r\n\t\t\t\t\t\t\tDataExplorer.this.updateHistoTabs(DataExplorer.this.rebuildStepInvisibleTab, true); // saves some time compared to HistoSet.RebuildStep.E_USER_INTERFACE\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (DataExplorer.this.displayTab.getItem(tabSelectionIndex) instanceof HistoTableWindow) {\r\n\t\t\t\t\t\t\tlog.log(Level.FINER, \"HistoTableWindow in displayTab.widgetSelected, event=\" + evt); //$NON-NLS-1$\r\n\t\t\t\t\t\t\tDataExplorer.this.updateHistoTabs(HistoSet.RebuildStep.E_USER_INTERFACE, true); // ensures rebuild after trails change or record selector change\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\t\t// drag filePath support\r\n\t\t\tthis.target = new DropTarget(this, DND.DROP_COPY | DND.DROP_DEFAULT);\r\n\t\t\tthis.target.setTransfer(this.types);\r\n\t\t\tthis.target.addDropListener(new DropTargetAdapter() {\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void dragEnter(DropTargetEvent event) {\r\n\t\t\t\t\tif (event.detail == DND.DROP_DEFAULT) {\r\n\t\t\t\t\t\tif ((event.operations & DND.DROP_COPY) != 0) {\r\n\t\t\t\t\t\t\tevent.detail = DND.DROP_COPY;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\tevent.detail = DND.DROP_NONE;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tfor (TransferData element : event.dataTypes) {\r\n\t\t\t\t\t\tif (DataExplorer.this.fileTransfer.isSupportedType(element)) {\r\n\t\t\t\t\t\t\tevent.currentDataType = element;\r\n\t\t\t\t\t\t\tif (event.detail != DND.DROP_COPY) {\r\n\t\t\t\t\t\t\t\tevent.detail = DND.DROP_NONE;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void dragOperationChanged(DropTargetEvent event) {\r\n\t\t\t\t\tif (event.detail == DND.DROP_DEFAULT) {\r\n\t\t\t\t\t\tif ((event.operations & DND.DROP_COPY) != 0) {\r\n\t\t\t\t\t\t\tevent.detail = DND.DROP_COPY;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\tevent.detail = DND.DROP_NONE;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (DataExplorer.this.fileTransfer.isSupportedType(event.currentDataType)) {\r\n\t\t\t\t\t\tif (event.detail != DND.DROP_COPY) {\r\n\t\t\t\t\t\t\tevent.detail = DND.DROP_NONE;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void drop(DropTargetEvent event) {\r\n\t\t\t\t\tif (DataExplorer.this.fileTransfer.isSupportedType(event.currentDataType)) {\r\n\t\t\t\t\t\tString[] files = (String[]) event.data;\r\n\t\t\t\t\t\tfor (String filePath : files) {\r\n\t\t\t\t\t\t\tif (log.isLoggable(Level.FINE)) log.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"dropped file = \" + filePath); //$NON-NLS-1$\r\n\t\t\t\t\t\t\tif (filePath.toLowerCase().endsWith(GDE.FILE_ENDING_OSD)) {\r\n\t\t\t\t\t\t\t\tDataExplorer.this.fileHandler.openOsdFile(filePath);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse if (filePath.toLowerCase().endsWith(GDE.FILE_ENDING_LOV)) {\r\n\t\t\t\t\t\t\t\tDataExplorer.this.fileHandler.openLovFile(filePath);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tapplication.openMessageDialog(Messages.getString(MessageIds.GDE_MSGI0022));\r\n\t\t\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});\r\n\r\n\t\t\tif (log.isLoggable(Level.FINE)) log.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"init help listener\"); //$NON-NLS-1$\r\n\t\t\tthis.menuCoolBar.addHelpListener(new HelpListener() {\r\n\t\t\t\tpublic void helpRequested(HelpEvent evt) {\r\n\t\t\t\t\tif (log.isLoggable(Level.FINE)) log.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"this.helpRequested, event=\" + evt); //$NON-NLS-1$\r\n\t\t\t\t\tDataExplorer.application.openHelpDialog(GDE.STRING_EMPTY, \"HelpInfo_3.html\"); //$NON-NLS-1$\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tthis.menu.addHelpListener(new HelpListener() {\r\n\t\t\t\tpublic void helpRequested(HelpEvent evt) {\r\n\t\t\t\t\tif (log.isLoggable(Level.FINE)) log.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"this.helpRequested, event=\" + evt); //$NON-NLS-1$\r\n\t\t\t\t\tDataExplorer.application.openHelpDialog(GDE.STRING_EMPTY, \"HelpInfo_3.html\"); //$NON-NLS-1$\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\t//restore window settings\r\n\t\t\tthis.isRecordCommentVisible = this.settings.isRecordCommentVisible();\r\n\t\t\tif (this.isRecordCommentVisible) {\r\n\t\t\t\tthis.menuBar.setRecordCommentMenuItemSelection(this.isRecordCommentVisible);\r\n\t\t\t\tthis.enableRecordSetComment(this.isRecordCommentVisible);\r\n\t\t\t}\r\n\t\t\tthis.isGraphicsHeaderVisible = this.settings.isGraphicsHeaderVisible();\r\n\t\t\tif (this.isGraphicsHeaderVisible) {\r\n\t\t\t\tthis.menuBar.setGraphicsHeaderMenuItemSelection(this.isGraphicsHeaderVisible);\r\n\t\t\t\tthis.enableGraphicsHeader(this.isGraphicsHeaderVisible);\r\n\t\t\t}\r\n\r\n\t\t\tthis.deviceSelectionDialog = new DeviceSelectionDialog(GDE.shell, SWT.PRIMARY_MODAL, this);\r\n\r\n\t\t\tif (!this.settings.isDesktopShortcutCreated()) {\r\n\t\t\t\tthis.settings.setProperty(Settings.IS_DESKTOP_SHORTCUT_CREATED, GDE.STRING_EMPTY + OperatingSystemHelper.createDesktopLink());\r\n\t\t\t}\r\n\r\n\t\t\tif (!this.settings.isApplicationRegistered()) {\r\n\t\t\t\tthis.settings.setProperty(Settings.IS_APPL_REGISTERED, GDE.STRING_EMPTY + OperatingSystemHelper.registerApplication());\r\n\t\t\t}\r\n\r\n\t\t\tif ((GDE.IS_MAC || GDE.IS_LINUX) && !this.settings.isLockUucpHinted()) {\r\n\t\t\t\tif (GDE.IS_MAC && !OperatingSystemHelper.isUucpMember())\r\n\t\t\t\t\tthis.openMessageDialog(Messages.getString(MessageIds.GDE_MSGI0046));\r\n\t\t\t\telse if (GDE.IS_LINUX && !OperatingSystemHelper.isUucpMember()) this.openMessageDialog(Messages.getString(MessageIds.GDE_MSGI0045));\r\n\t\t\t\tthis.settings.setProperty(Settings.IS_LOCK_UUCP_HINTED, \"true\"); //$NON-NLS-1$\r\n\t\t\t}\r\n\r\n\t\t\t// check initial application settings\r\n\t\t\tif (!this.settings.isOK()) {\r\n\t\t\t\tthis.openSettingsDialog();\r\n\t\t\t}\r\n\t\t\t//wait for possible migration and delay opening for migration\r\n\t\t\tthis.settings.startMigationThread();\r\n\t\t\t// check configured device\r\n\t\t\tif (this.settings.getActiveDevice().equals(Settings.EMPTY)) {\r\n\t\t\t\tthis.deviceSelectionDialog = new DeviceSelectionDialog(GDE.shell, SWT.PRIMARY_MODAL, this);\r\n\t\t\t\tthis.deviceSelectionDialog.open();\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\t// channels HashMap will filled with empty records matching the active device, the dummy content is replaced\r\n\t\t\t\tthis.deviceSelectionDialog.setupDevice();\r\n\t\t\t}\r\n\r\n\t\t\tif (inputFilePath.length() > 5) {\r\n\t\t\t\tif (inputFilePath.endsWith(GDE.FILE_ENDING_OSD))\r\n\t\t\t\t\tthis.fileHandler.openOsdFile(inputFilePath);\r\n\t\t\t\telse if (inputFilePath.endsWith(GDE.FILE_ENDING_LOV)) this.fileHandler.openLovFile(inputFilePath);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e) {\r\n\t\t\tlog.log(Level.SEVERE, e.getMessage(), e);\r\n\t\t\tthis.openMessageDialog(Messages.getString(MessageIds.GDE_MSGE0007) + e.getMessage());\r\n\t\t}\r\n\t\tif (log.isLoggable(Level.FINE)) log.logp(Level.FINE, $CLASS_NAME, $METHOD_NAME, \"call GDE.shell.layout()\"); //$NON-NLS-1$\r\n\t\tGDE.shell.layout();\r\n\t\tthis.updateLogger();\r\n\t}",
"private void createAndShowGUI (){\n\n JustawieniaPowitalne = new JUstawieniaPowitalne();\n }",
"private void setupGUI()\n\t{\n\t\t//initializes labelNumberOfASCII and adds to frame \n\t\tlabelNumberOfASCII = new JLabel();\n\t\tlabelNumberOfASCII.setLocation(12, 8);\n\t\tlabelNumberOfASCII.setSize(191,26);\n\t\tlabelNumberOfASCII.setText(\"Number of ASCII characters used\");\n\t\tgetContentPane().add(labelNumberOfASCII);\n\t\t\n\t\t//initialized comboCharSet and adds to frame\n\t\tString comboCharSet_tmp[]={\"Small\", \"Medium\", \"Large\"};\n\t\tcomboCharSet = new JComboBox<String>(comboCharSet_tmp);\n\t\tcomboCharSet.setLocation(294, 12);\n\t\tcomboCharSet.setSize(96, 25);\n\t\tcomboCharSet.setEditable(true);\n\t\tcomboCharSet.addActionListener(this);\n\t\tgetContentPane().add(comboCharSet);\n\n\t\t//initializes labelNumberofPixels and adds to frame\n\t\tlabelNumberOfPixels = new JLabel();\n\t\tlabelNumberOfPixels.setLocation(12,28);\n\t\tlabelNumberOfPixels.setSize(240,51);\n\t\tlabelNumberOfPixels.setText(\"Number of pixels per ASCII character: \");\n\t\tgetContentPane().add(labelNumberOfPixels);\n\t\t\n\t\t//initializes comboNumberOfPixels and adds to frame\n\t\tString comboNumberOfPixels_tmp[]={\"1\",\"3\",\"5\",\"7\",\"10\"};\n\t\tcomboNumberOfPixels = new JComboBox<String>(comboNumberOfPixels_tmp);\n\t\tcomboNumberOfPixels.setLocation(294,40);\n\t\tcomboNumberOfPixels.setSize(96,25);\n\t\tcomboNumberOfPixels.setEditable(true);\n\t\tcomboNumberOfPixels.addActionListener(this);\n\t\tgetContentPane().add(comboNumberOfPixels);\n\n\t\t//initializes outputPathLabel and adds to frame\n\t\toutputPathLabel = new JLabel();\n\t\toutputPathLabel.setLocation(12, 55);\n\t\toutputPathLabel.setText(\"Output folder:\");\n\t\toutputPathLabel.setSize(218, 51);\n\t\toutputPathLabel.setVisible(true);\n\t\tgetContentPane().add(outputPathLabel);\n\n\t\t//initializes outputPathTextField and adds to frame\n\t\toutputPathTextField = new JTextField();\n\t\tString initPath;\n\t\t//sets default output to default directory, created in Main.java. looks according to operating system.\n\t\tif (OSUtils.isUnixOrLinux())\n\t\t\tinitPath = System.getProperty(\"user.home\") + \"/.picture-to-ascii/output\";\n\t\telse if (OSUtils.isWindows())\n\t\t\tinitPath = System.getProperty(\"user.home\") + \"\\\\My Documents\\\\picture-to-ascii\\\\output\";\n\t\telse\n\t\t\tinitPath = \"(output path)\";\n\t\t//if the directory failed to create for reasons other than incompatible OS, we want (output path).\n\t\tif (!new File(initPath).isDirectory())\n\t\t\tinitPath = \"(output path)\";\n\n\t\toutputPathTextField.setLocation(150, 70);\n\t\toutputPathTextField.setSize(240,25);\n\t\toutputPathTextField.setText(initPath);\n\t\tgetContentPane().add(outputPathTextField);\n\n\t\tfontSizeTextField = new JTextField();\n\t\tfontSizeTextField.setLocation(150, 100);\n\t\tfontSizeTextField.setSize(240,25);\n\t\tfontSizeTextField.setText(\"5\");\n\t\tgetContentPane().add(fontSizeTextField);\n\n\t\tfontSizeLabel = new JLabel();\n\t\tfontSizeLabel.setText(\"Font size:\");\n\t\tfontSizeLabel.setSize(125, 51);\n\t\tfontSizeLabel.setLocation(12, 85);\n\t\tfontSizeLabel.setVisible(true);\n\t\tgetContentPane().add(fontSizeLabel);\n\t}",
"@Override\n protected void actionPerformed(GuiButton button)\n {\n super.actionPerformed(button);\n }",
"@Override\n public void update() {\n jTextField1.setText(mCalculator.getDisplay());\n }",
"public abstract void executeRunButton();",
"@Override\n\tpublic void onCommand(CommandSender sender, String[] args) {\n\t\t\n\t}",
"@Override\n\tpublic void onCommand(CommandSender sender, String[] args) {\n\t\t\n\t}",
"@Override\n\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\n\t}",
"public void initGui() {\n/* 34 */ Keyboard.enableRepeatEvents(true);\n/* 35 */ this.buttonList.clear();\n/* 36 */ this.buttonList.add(new GuiButton(0, this.width / 2 - 100, this.height / 4 + 96 + 12, I18n.format(\"selectServer.select\", new Object[0])));\n/* 37 */ this.buttonList.add(new GuiButton(1, this.width / 2 - 100, this.height / 4 + 120 + 12, I18n.format(\"gui.cancel\", new Object[0])));\n/* 38 */ this.ipEdit = new GuiTextField(2, this.fontRendererObj, this.width / 2 - 100, 116, 200, 20);\n/* 39 */ this.ipEdit.setMaxStringLength(128);\n/* 40 */ this.ipEdit.setFocused(true);\n/* 41 */ this.ipEdit.setText(this.mc.gameSettings.lastServer);\n/* 42 */ ((GuiButton)this.buttonList.get(0)).enabled = (!this.ipEdit.getText().isEmpty() && (this.ipEdit.getText().split(\":\")).length > 0);\n/* */ }",
"public void run(){ \n \t//sets up the GUI and performs operations based on ActionListeners\n \tpackageGUI();\n \toperate();\n }",
"private void basicUIButtonActionPerformed() {\n dbCopyFrame basicFrame = new dbCopyFrame(mainFrame, true);\n basicFrame.pack();\n basicFrame.setVisible(true);\n }",
"@Override\r\n\tprotected void onGuiEvent(GuiEvent arg0) {\n\t\taddBehaviour(new SendMessage());\r\n\r\n\t}",
"public void widgetSelected(SelectionEvent event) {\n fileName = textBox.getText();\n setReturnValue(fileName);\n shell.close();\n }",
"public void run() {\n\t\t\t\tVerticalPanel panelCompteRendu = new VerticalPanel();\r\n\t\t\t\thtmlCompteRendu = new HTML();\r\n\t\t\t\tpanelCompteRendu.add(htmlCompteRendu);\r\n\t\t\t\tRootPanel.get(\"compteRendu\").add(panelCompteRendu);\r\n\t\t\t\t\r\n\t\t\t\tVerticalPanel panelLegende = new VerticalPanel();\r\n\t\t\t\thtmlLegende = new HTML();\r\n\t\t\t\tpanelLegende.add(htmlLegende);\r\n\t\t\t\tRootPanel.get(\"legende\").add(htmlLegende);\r\n\t\t\t\t\r\n\t\t\t\t// temps d'intˇgration restant\r\n\t\t\t\tLabel tempsDIntegrationRestant = new Label();\r\n\t\t\t\tRootPanel.get(\"tempsDIntegrationRestant\").add(tempsDIntegrationRestant);\r\n\t\t\t\t\r\n\t\t\t\t// ajout de la carte\r\n\t\t\t\twMap = new MapFaWidget2(htmlCompteRendu);\r\n\t\t\t\tRootPanel.get(\"carte\").add(wMap);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t// ajout du bouton reset\r\n\t\t\t\tButton boutonReset = new Button(\"Nettoyer la carte\");\r\n\t\t\t\tboutonReset.addClickHandler(actionBoutonReset());\r\n\t\t\t\tRootPanel.get(\"boutonReset\").add(boutonReset);\r\n\r\n\t\t\t\t// ajout du formulaire d'intˇgration\r\n\t\t\t\tnew FileUploadView(wMap,htmlLegende, htmlCompteRendu,tempsDIntegrationRestant);\r\n\r\n\t\t\t}",
"@Override\n public void actionPerformed(ActionEvent e) {\n\n }",
"@Override\n public void actionPerformed(AnActionEvent e) {\n }"
]
| [
"0.7137828",
"0.6982397",
"0.6875956",
"0.6875956",
"0.68629676",
"0.6733807",
"0.67165023",
"0.6637292",
"0.657599",
"0.65426123",
"0.6537203",
"0.64637744",
"0.6425565",
"0.6419065",
"0.6382768",
"0.6288481",
"0.6284301",
"0.62749976",
"0.62614256",
"0.62571895",
"0.62571895",
"0.62571895",
"0.6255903",
"0.6240644",
"0.6229928",
"0.6222536",
"0.6216619",
"0.6208114",
"0.61767316",
"0.61710554",
"0.61668205",
"0.6164198",
"0.61610276",
"0.6151789",
"0.61454934",
"0.6131581",
"0.6129847",
"0.6122418",
"0.6098593",
"0.60864156",
"0.60756755",
"0.6072135",
"0.6068473",
"0.6066442",
"0.60629463",
"0.6058067",
"0.6038317",
"0.60342264",
"0.60298395",
"0.6027762",
"0.6027762",
"0.60261345",
"0.6024503",
"0.60235226",
"0.60235226",
"0.60235226",
"0.60182196",
"0.60125464",
"0.60121346",
"0.6010106",
"0.6006203",
"0.600558",
"0.60034245",
"0.5994271",
"0.5993991",
"0.5993224",
"0.5992994",
"0.5992994",
"0.5992994",
"0.5992994",
"0.5989758",
"0.5985664",
"0.59794503",
"0.597205",
"0.59664494",
"0.59620184",
"0.5961954",
"0.59618145",
"0.59618145",
"0.59618145",
"0.5959082",
"0.59543544",
"0.5953071",
"0.594711",
"0.5946027",
"0.5939926",
"0.59385496",
"0.5934089",
"0.593169",
"0.59263474",
"0.5921552",
"0.5921552",
"0.5921241",
"0.5920577",
"0.5915913",
"0.591166",
"0.59098023",
"0.59089065",
"0.5902391",
"0.5899943",
"0.5895146"
]
| 0.0 | -1 |
TODO Autogenerated method stub | @Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.view_activity);
btn = (Button)findViewById(R.id.btnid2) ;
btn.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getBaseContext(), MainActivity.class) ;
startActivity(intent);
}
});
} | {
"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 |
Used when created from Mule flow from XPATH where all incoming data is strings. | public FilterParameters(String filterAvregOrsak, String filterSekretessMarkering, String senasteAndringFBF) {
this.filterSekretessMarkering = (filterSekretessMarkering != null && filterSekretessMarkering != "") ? JaNejTYPE.valueOf(filterSekretessMarkering) : null;
this.filterAvregOrsak = (filterAvregOrsak != null) ? filterAvregOrsak : null;
this.filterSenasteAndringFBF = senasteAndringFBF != null && !senasteAndringFBF.equals("") ? senasteAndringFBF : null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic Object fromXMLString(String arg0) {\n\t\treturn null;\n\t}",
"@Test\n public void testGetXmlPayload() {\n System.out.println(\"getXmlPayload\");\n String expResult = \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?><json xmlns=\\\"uk.nhs.digital.mait.tkwx.jsonconverter.JsonXmlConverter\\\" aud=\\\"https://authorize.fhir.nhs.net/token\\\" exp=\\\"1503995882\\\" iat=\\\"1503995582\\\" iss=\\\"https://ConsumerSystemURL\\\" reason_for_request=\\\"directcare\\\" requested_scope=\\\"patient/*.read\\\" sub=\\\"1\\\"><requesting_device id=\\\"1\\\" model=\\\"v1\\\" resourceType=\\\"Device\\\" version=\\\"1.1\\\"><identifiers><identifier system=\\\"GPConnectTestSystem\\\" value=\\\"Client\\\"/></identifiers><type><codings><coding code=\\\"DeviceIdentifier\\\" system=\\\"DeviceIdentifierSystem\\\"/></codings></type></requesting_device><requesting_organization id=\\\"1\\\" name=\\\"GP Connect Assurance\\\" resourceType=\\\"Organization\\\"><identifiers><identifier system=\\\"http://fhir.nhs.net/Id/ods-organization-code\\\" value=\\\"GPCA0001\\\"/></identifiers></requesting_organization><requesting_practitioner id=\\\"1\\\" resourceType=\\\"Practitioner\\\"><identifiers><identifier system=\\\"http://fhir.nhs.net/sds-user-id\\\" value=\\\"GCASDS0001\\\"/><identifier system=\\\"LocalIdentifierSystem\\\" value=\\\"1\\\"/></identifiers><name><familys><family>AssurancePractitioner</family></familys><givens><given>AssuranceTest</given></givens><prefixs><prefix>Mr</prefix></prefixs></name><practitionerRoles><practitionerRole><role><codings><coding code=\\\"AssuranceJobRole\\\" system=\\\"http://fhir.nhs.net/ValueSet/sds-job-role-name-1\\\"/></codings></role></practitionerRole></practitionerRoles></requesting_practitioner><requested_record resourceType=\\\"Patient\\\"><identifiers><identifier system=\\\"https://fhir.nhs.uk/Id/nhs-number\\\" value=\\\"9476719931\\\"/></identifiers></requested_record></json>\";\n String result = instance.getXmlPayload();\n System.out.println(xmlReformat(result));\n assertEquals(expResult, result);\n }",
"public static String parse(javax.xml.stream.XMLStreamReader reader)\n throws java.lang.Exception {\n String object = new String();\n\n int event;\n javax.xml.namespace.QName currentQName = null;\n java.lang.String nillableValue = null;\n java.lang.String prefix = \"\";\n java.lang.String namespaceuri = \"\";\n\n try {\n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n\n currentQName = reader.getName();\n\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\n \"nil\");\n\n if (\"true\".equals(nillableValue) ||\n \"1\".equals(nillableValue)) {\n // Skip the element and report the null value. It cannot have subelements.\n while (!reader.isEndElement())\n reader.next();\n\n return object;\n }\n\n // Note all attributes that were handled. Used to differ normal attributes\n // from anyAttributes.\n java.util.Vector handledAttributes = new java.util.Vector();\n\n while (!reader.isEndElement()) {\n if (reader.isStartElement()) {\n if (reader.isStartElement() &&\n new javax.xml.namespace.QName(\n \"http://schemas.microsoft.com/2003/10/Serialization/\",\n \"string\").equals(reader.getName())) {\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\n \"nil\");\n\n if (!\"true\".equals(nillableValue) &&\n !\"1\".equals(nillableValue)) {\n java.lang.String content = reader.getElementText();\n\n object.setString(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\n content));\n } else {\n reader.getElementText(); // throw away text nodes if any.\n }\n } // End of if for expected property start element\n\n else {\n // 3 - A start element we are not expecting indicates an invalid parameter was passed\n throw new org.apache.axis2.databinding.ADBException(\n \"Unexpected subelement \" +\n reader.getName());\n }\n } else {\n reader.next();\n }\n } // end of while loop\n } catch (javax.xml.stream.XMLStreamException e) {\n throw new java.lang.Exception(e);\n }\n\n return object;\n }",
"public static String parse(javax.xml.stream.XMLStreamReader reader)\r\n throws java.lang.Exception {\r\n String object = new String();\r\n\r\n int event;\r\n javax.xml.namespace.QName currentQName = null;\r\n java.lang.String nillableValue = null;\r\n java.lang.String prefix = \"\";\r\n java.lang.String namespaceuri = \"\";\r\n\r\n try {\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n currentQName = reader.getName();\r\n\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n // Skip the element and report the null value. It cannot have subelements.\r\n while (!reader.isEndElement())\r\n reader.next();\r\n\r\n return object;\r\n }\r\n\r\n // Note all attributes that were handled. Used to differ normal attributes\r\n // from anyAttributes.\r\n java.util.Vector handledAttributes = new java.util.Vector();\r\n\r\n while (!reader.isEndElement()) {\r\n if (reader.isStartElement()) {\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"string\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"string\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (!\"true\".equals(nillableValue) &&\r\n !\"1\".equals(nillableValue)) {\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setString(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n } else {\r\n reader.getElementText(); // throw away text nodes if any.\r\n }\r\n } // End of if for expected property start element\r\n\r\n else {\r\n // 3 - A start element we are not expecting indicates an invalid parameter was passed\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" +\r\n reader.getName());\r\n }\r\n } else {\r\n reader.next();\r\n }\r\n } // end of while loop\r\n } catch (javax.xml.stream.XMLStreamException e) {\r\n throw new java.lang.Exception(e);\r\n }\r\n\r\n return object;\r\n }",
"public ListicatorListPayload getListicatorList(String payload) {\n try {\n //context = JAXBContext.newInstance(ListicatorListPayload.class);\n //Unmarshaller m = context.createUnmarshaller();\n //return (ListicatorListPayload)m.unmarshal(new StringReader(payload));\n\n ListicatorListPayload list = (ListicatorListPayload) xstream.fromXML(payload);\n return list;\n\n //} catch (JAXBException e) {\n }catch(Exception e){\n e.printStackTrace();\n return null;\n }\n\n }",
"@Override\npublic\tvoid parseInput() {\n InputStream is = new ByteArrayInputStream(this.body.toString().getBytes());\n\t\t\n\t\t\n\t\ttry {\n\t\t\tthis.domIn = new XMLInputConversion(is);\n\t\t} catch (ParserConfigurationException | SAXException | IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tthis.rootXML = this.domIn.extractDOMContent();\n\t}",
"private static Object parseData(String source, Class<?> expectedType){\n\t\tif(expectedType.equals(Integer.class)) return new Integer(source);\n\t\tif(expectedType.equals(Boolean.class)) return new Boolean(source);\n\t\tif(expectedType.equals(Double.class)) return new Double(source);\n\t\treturn source;\n\t}",
"private String getStringValue(NodeArray nodes) {\n StringBuilder stringBuilder = new StringBuilder();\n // If all we have is just a bunch of nodes and the user wants a string\n // we'll use a parent element called <string> to have a valid XML document\n stringBuilder.append(\"<string>\");\n for (Node node : nodes) {\n stringBuilder.append(getStringValue(node));\n }\n stringBuilder.append(\"</string>\");\n return stringBuilder.toString();\n }",
"@Override\n\tpublic String[][] generateArrayStringXML(String source, String destination) {\n\t\treturn null;\n\t}",
"@Override\n\tpublic Object visit(StringNode stringNode) {\n\treturn null; }",
"protected abstract String getEventChildXML();",
"@Override\n public void characters(char[] ch, int start, int length)\n throws SAXException {\n\n if (elementOn) {\n elementValue = new String(ch, start, length);\n elementOn = false;\n }\n\n }",
"public static Hello parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\n Hello object =\n new Hello();\n\n int event;\n java.lang.String nillableValue = null;\n java.lang.String prefix =\"\";\n java.lang.String namespaceuri =\"\";\n try {\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n\n \n if (reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"type\")!=null){\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\n \"type\");\n if (fullTypeName!=null){\n java.lang.String nsPrefix = null;\n if (fullTypeName.indexOf(\":\") > -1){\n nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(\":\"));\n }\n nsPrefix = nsPrefix==null?\"\":nsPrefix;\n\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\":\")+1);\n \n if (!\"hello\".equals(type)){\n //find namespace for the prefix\n java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix);\n return (Hello)ExtensionMapper.getTypeObject(\n nsUri,type,reader);\n }\n \n\n }\n \n\n }\n\n \n\n \n // Note all attributes that were handled. Used to differ normal attributes\n // from anyAttributes.\n java.util.Vector handledAttributes = new java.util.Vector();\n \n\n \n \n reader.next();\n \n \n while (!reader.isStartElement() && !reader.isEndElement()) reader.next();\n \n if (reader.isStartElement() && new javax.xml.namespace.QName(\"http://ws.sample\",\"param0\").equals(reader.getName())){\n \n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"nil\");\n if (!\"true\".equals(nillableValue) && !\"1\".equals(nillableValue)){\n \n java.lang.String content = reader.getElementText();\n \n object.setParam0(\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));\n \n } else {\n \n \n reader.getElementText(); // throw away text nodes if any.\n }\n \n reader.next();\n \n } // End of if for expected property start element\n \n else {\n \n }\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n \n if (reader.isStartElement())\n // A start element we are not expecting indicates a trailing invalid property\n throw new org.apache.axis2.databinding.ADBException(\"Unexpected subelement \" + reader.getLocalName());\n \n\n\n\n } catch (javax.xml.stream.XMLStreamException e) {\n throw new java.lang.Exception(e);\n }\n\n return object;\n }",
"@Override\n\tpublic void onRxString(String name, String body) {\n\t}",
"public void parseXML(String XML);",
"private void parseData() {\n\t\t\r\n\t}",
"public Object unmarshal (String xmlText) throws Exception {\n\t\treturn unmarshal (xmlText, true); // default is true..\n\t}",
"@Override\n public Object parseXmlString(String xmlDoc,TypeXml type) {\n Object object;\n switch (type){\n case USER:\n object = parseXmlStringUser(xmlDoc);\n break;\n case PERSON:\n object = parseXmlStringPerson(xmlDoc);\n break;\n default:\n object = null;\n break;\n }\n return object;\n }",
"public static void main(String[] args) {\n\n System.out.println(\"/\\\"Hello\\\"/\");\n System.out.println(\"/'Hello'/\");\n System.out.println(\"\\\"Hello\\\"\");\n System.out.println(\"'I love \\\"Java\\\" and \\\"Programming\\\"'\");\n\n\n System.out.println(getXpath(\"Sandeep\")); ////input[@id='Sandeep']\n\n }",
"public void test11() throws XRd4JException, SOAPException {\n String soapString = \"<SOAP-ENV:Envelope xmlns:SOAP-ENV=\\\"http://schemas.xmlsoap.org/soap/envelope/\\\" xmlns:id=\\\"http://x-road.eu/xsd/identifiers\\\" xmlns:xrd=\\\"http://x-road.eu/xsd/xroad.xsd\\\"><SOAP-ENV:Header><xrd:client id:objectType=\\\"SUBSYSTEM\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>GOV</id:memberClass><id:memberCode>MEMBER1</id:memberCode><id:subsystemCode>client</id:subsystemCode></xrd:client><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>COM</id:memberClass><id:memberCode>MEMBER2</id:memberCode><id:subsystemCode>subsystem</id:subsystemCode><id:serviceCode>listMethods</id:serviceCode></xrd:service><xrd:securityServer><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>GOV</id:memberClass><id:memberCode>MEMBER1</id:memberCode><id:serverCode>server1</id:serverCode></xrd:securityServer><xrd:userId>EE1234567890</xrd:userId><xrd:id>ID-1234567890</xrd:id><xrd:protocolVersion>4.0</xrd:protocolVersion><xrd:requestHash algorithmId=\\\"SHA-512\\\">ZPbWPAOcJxzE81EmSk//R3DUQtqwMcuMMF9tsccJypdNcukzICQtlhhr3a/bTmexDrn8e/BrBVyl2t0ni/cUvw==</xrd:requestHash></SOAP-ENV:Header><SOAP-ENV:Body><xrd:listMethodsResponse><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-6</id:memberCode><id:subsystemCode>subsystem</id:subsystemCode><id:serviceCode>testService</id:serviceCode><id:serviceVersion>v1</id:serviceVersion></xrd:service></xrd:listMethodsResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>\";\n\n SOAPMessage msg = SOAPHelper.toSOAP(soapString);\n\n ServiceResponseDeserializer deserializer = new ListServicesResponseDeserializer();\n ServiceResponse<String, List<ProducerMember>> response = deserializer.deserialize(msg);\n\n assertEquals(\"FI\", response.getConsumer().getXRoadInstance());\n assertEquals(\"GOV\", response.getConsumer().getMemberClass());\n assertEquals(\"MEMBER1\", response.getConsumer().getMemberCode());\n assertEquals(\"client\", response.getConsumer().getSubsystemCode());\n assertEquals(ObjectType.SUBSYSTEM, response.getConsumer().getObjectType());\n\n assertEquals(\"FI\", response.getProducer().getXRoadInstance());\n assertEquals(\"COM\", response.getProducer().getMemberClass());\n assertEquals(\"MEMBER2\", response.getProducer().getMemberCode());\n assertEquals(\"subsystem\", response.getProducer().getSubsystemCode());\n assertEquals(\"listMethods\", response.getProducer().getServiceCode());\n assertEquals(null, response.getProducer().getServiceVersion());\n assertEquals(\"FI\", response.getSecurityServer().getXRoadInstance());\n assertEquals(\"GOV\", response.getSecurityServer().getMemberClass());\n assertEquals(\"MEMBER1\", response.getSecurityServer().getMemberCode());\n assertEquals(\"server1\", response.getSecurityServer().getServerCode());\n assertEquals(\"ID-1234567890\", response.getId());\n assertEquals(\"EE1234567890\", response.getUserId());\n assertEquals(\"4.0\", response.getProtocolVersion());\n assertEquals(ObjectType.SERVICE, response.getProducer().getObjectType());\n assertEquals(null, response.getRequestData());\n\n assertEquals(\"SHA-512\", response.getRequestHashAlgorithm());\n assertEquals(\"ZPbWPAOcJxzE81EmSk//R3DUQtqwMcuMMF9tsccJypdNcukzICQtlhhr3a/bTmexDrn8e/BrBVyl2t0ni/cUvw==\", response.getRequestHash());\n assertEquals(true, response.getSoapMessage() != null);\n\n assertEquals(\"FI\", response.getResponseData().get(0).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(0).getMemberClass());\n assertEquals(\"12345-6\", response.getResponseData().get(0).getMemberCode());\n assertEquals(\"subsystem\", response.getResponseData().get(0).getSubsystemCode());\n assertEquals(\"testService\", response.getResponseData().get(0).getServiceCode());\n assertEquals(\"v1\", response.getResponseData().get(0).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(0).getObjectType());\n }",
"public void test2() throws XRd4JException, SOAPException {\n String soapString = \"<SOAP-ENV:Envelope xmlns:SOAP-ENV=\\\"http://schemas.xmlsoap.org/soap/envelope/\\\" xmlns:id=\\\"http://x-road.eu/xsd/identifiers\\\" xmlns:xrd=\\\"http://x-road.eu/xsd/xroad.xsd\\\"><SOAP-ENV:Header><xrd:client id:objectType=\\\"MEMBER\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>GOV</id:memberClass><id:memberCode>MEMBER1</id:memberCode></xrd:client><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>COM</id:memberClass><id:memberCode>MEMBER2</id:memberCode><id:subsystemCode>subsystem</id:subsystemCode><id:serviceCode>listMethods</id:serviceCode></xrd:service><xrd:userId>EE1234567890</xrd:userId><xrd:id>ID-1234567890</xrd:id><xrd:protocolVersion>4.0</xrd:protocolVersion><xrd:requestHash algorithmId=\\\"SHA-512\\\">ZPbWPAOcJxzE81EmSk//R3DUQtqwMcuMMF9tsccJypdNcukzICQtlhhr3a/bTmexDrn8e/BrBVyl2t0ni/cUvw==</xrd:requestHash></SOAP-ENV:Header><SOAP-ENV:Body><xrd:listMethodsResponse><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-6</id:memberCode><id:subsystemCode>subsystem</id:subsystemCode><id:serviceCode>testService</id:serviceCode><id:serviceVersion>v1</id:serviceVersion></xrd:service><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-7</id:memberCode><id:subsystemCode>subsystem1</id:subsystemCode><id:serviceCode>testService1</id:serviceCode></xrd:service><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-8</id:memberCode><id:serviceCode>testService2</id:serviceCode><id:serviceVersion>v1</id:serviceVersion></xrd:service><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-9</id:memberCode><id:serviceCode>testService3</id:serviceCode></xrd:service></xrd:listMethodsResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>\";\n\n SOAPMessage msg = SOAPHelper.toSOAP(soapString);\n\n ServiceResponseDeserializer deserializer = new ListServicesResponseDeserializer();\n ServiceResponse<String, List<ProducerMember>> response = deserializer.deserialize(msg);\n\n assertEquals(\"FI\", response.getConsumer().getXRoadInstance());\n assertEquals(\"GOV\", response.getConsumer().getMemberClass());\n assertEquals(\"MEMBER1\", response.getConsumer().getMemberCode());\n assertEquals(null, response.getConsumer().getSubsystemCode());\n assertEquals(ObjectType.MEMBER, response.getConsumer().getObjectType());\n\n assertEquals(\"FI\", response.getProducer().getXRoadInstance());\n assertEquals(\"COM\", response.getProducer().getMemberClass());\n assertEquals(\"MEMBER2\", response.getProducer().getMemberCode());\n assertEquals(\"subsystem\", response.getProducer().getSubsystemCode());\n assertEquals(\"listMethods\", response.getProducer().getServiceCode());\n assertEquals(null, response.getProducer().getServiceVersion());\n assertEquals(\"ID-1234567890\", response.getId());\n assertEquals(\"EE1234567890\", response.getUserId());\n assertEquals(\"4.0\", response.getProtocolVersion());\n assertEquals(ObjectType.SERVICE, response.getProducer().getObjectType());\n assertEquals(null, response.getRequestData());\n\n assertEquals(\"SHA-512\", response.getRequestHashAlgorithm());\n assertEquals(\"ZPbWPAOcJxzE81EmSk//R3DUQtqwMcuMMF9tsccJypdNcukzICQtlhhr3a/bTmexDrn8e/BrBVyl2t0ni/cUvw==\", response.getRequestHash());\n assertEquals(true, response.getSoapMessage() != null);\n\n assertEquals(\"FI\", response.getResponseData().get(0).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(0).getMemberClass());\n assertEquals(\"12345-6\", response.getResponseData().get(0).getMemberCode());\n assertEquals(\"subsystem\", response.getResponseData().get(0).getSubsystemCode());\n assertEquals(\"testService\", response.getResponseData().get(0).getServiceCode());\n assertEquals(\"v1\", response.getResponseData().get(0).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(0).getObjectType());\n\n assertEquals(\"FI\", response.getResponseData().get(1).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(1).getMemberClass());\n assertEquals(\"12345-7\", response.getResponseData().get(1).getMemberCode());\n assertEquals(\"subsystem1\", response.getResponseData().get(1).getSubsystemCode());\n assertEquals(\"testService1\", response.getResponseData().get(1).getServiceCode());\n assertEquals(null, response.getResponseData().get(1).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(1).getObjectType());\n\n assertEquals(\"FI\", response.getResponseData().get(2).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(2).getMemberClass());\n assertEquals(\"12345-8\", response.getResponseData().get(2).getMemberCode());\n assertEquals(null, response.getResponseData().get(2).getSubsystemCode());\n assertEquals(\"testService2\", response.getResponseData().get(2).getServiceCode());\n assertEquals(\"v1\", response.getResponseData().get(2).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(2).getObjectType());\n\n assertEquals(\"FI\", response.getResponseData().get(3).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(3).getMemberClass());\n assertEquals(\"12345-9\", response.getResponseData().get(3).getMemberCode());\n assertEquals(null, response.getResponseData().get(3).getSubsystemCode());\n assertEquals(\"testService3\", response.getResponseData().get(3).getServiceCode());\n assertEquals(null, response.getResponseData().get(3).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(3).getObjectType());\n }",
"protected abstract void fromXmlEx(Element source)\n throws PSUnknownNodeTypeException;",
"public static String getXMLValueFromFlatNode(String strXMLLine) {\n\t\t\n\t\tString str = StringUtil.GetLastRightOf(strXMLLine, \"=\");\n\t\t\n\t\treturn StringUtil.GetLeftOf(str, \":\");\n\t}",
"public XMLStrategy(String str) {\n if (str == null || str.length() == 0) {\n throw new IllegalArgumentException(\"XML file cannot be null or empty string.\");\n }\n this.content = str.replace(\"\\n\", \"\").trim();\n this.result = new ArrayList<>();\n if (!isComplete()) {\n throw new IllegalArgumentException(\"File is not complete.\");\n }\n }",
"public OracleXmlTypeValue(String value) {\n this.value = value;\n inputType = STRING;\n }",
"public abstract String toXML();",
"public abstract String toXML();",
"public abstract String toXML();",
"public void test6() throws XRd4JException, SOAPException {\n String soapString = \"<SOAP-ENV:Envelope xmlns:SOAP-ENV=\\\"http://schemas.xmlsoap.org/soap/envelope/\\\" xmlns:id=\\\"http://x-road.eu/xsd/identifiers\\\" xmlns:xrd=\\\"http://x-road.eu/xsd/xroad.xsd\\\"><SOAP-ENV:Header><xrd:client id:objectType=\\\"MEMBER\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>GOV</id:memberClass><id:memberCode>MEMBER1</id:memberCode></xrd:client><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>COM</id:memberClass><id:memberCode>MEMBER2</id:memberCode><id:serviceCode>allowedMethods</id:serviceCode></xrd:service><xrd:userId>EE1234567890</xrd:userId><xrd:id>ID-1234567890</xrd:id><xrd:protocolVersion>4.0</xrd:protocolVersion><xrd:requestHash algorithmId=\\\"SHA-512\\\">ZPbWPAOcJxzE81EmSk//R3DUQtqwMcuMMF9tsccJypdNcukzICQtlhhr3a/bTmexDrn8e/BrBVyl2t0ni/cUvw==</xrd:requestHash></SOAP-ENV:Header><SOAP-ENV:Body><xrd:allowedMethodsResponse><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-6</id:memberCode><id:subsystemCode>subsystem</id:subsystemCode><id:serviceCode>testService</id:serviceCode><id:serviceVersion>v1</id:serviceVersion></xrd:service><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-7</id:memberCode><id:subsystemCode>subsystem1</id:subsystemCode><id:serviceCode>testService1</id:serviceCode></xrd:service><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-8</id:memberCode><id:serviceCode>testService2</id:serviceCode><id:serviceVersion>v1</id:serviceVersion></xrd:service><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-9</id:memberCode><id:serviceCode>testService3</id:serviceCode></xrd:service></xrd:allowedMethodsResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>\";\n\n SOAPMessage msg = SOAPHelper.toSOAP(soapString);\n\n ServiceResponseDeserializer deserializer = new ListServicesResponseDeserializer();\n ServiceResponse<String, List<ProducerMember>> response = deserializer.deserialize(msg);\n\n assertEquals(\"FI\", response.getConsumer().getXRoadInstance());\n assertEquals(\"GOV\", response.getConsumer().getMemberClass());\n assertEquals(\"MEMBER1\", response.getConsumer().getMemberCode());\n assertEquals(null, response.getConsumer().getSubsystemCode());\n assertEquals(ObjectType.MEMBER, response.getConsumer().getObjectType());\n\n assertEquals(\"FI\", response.getProducer().getXRoadInstance());\n assertEquals(\"COM\", response.getProducer().getMemberClass());\n assertEquals(\"MEMBER2\", response.getProducer().getMemberCode());\n assertEquals(null, response.getProducer().getSubsystemCode());\n assertEquals(\"allowedMethods\", response.getProducer().getServiceCode());\n assertEquals(null, response.getProducer().getServiceVersion());\n assertEquals(\"ID-1234567890\", response.getId());\n assertEquals(\"EE1234567890\", response.getUserId());\n assertEquals(\"4.0\", response.getProtocolVersion());\n assertEquals(ObjectType.SERVICE, response.getProducer().getObjectType());\n assertEquals(null, response.getRequestData());\n\n assertEquals(\"SHA-512\", response.getRequestHashAlgorithm());\n assertEquals(\"ZPbWPAOcJxzE81EmSk//R3DUQtqwMcuMMF9tsccJypdNcukzICQtlhhr3a/bTmexDrn8e/BrBVyl2t0ni/cUvw==\", response.getRequestHash());\n assertEquals(true, response.getSoapMessage() != null);\n\n assertEquals(\"FI\", response.getResponseData().get(0).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(0).getMemberClass());\n assertEquals(\"12345-6\", response.getResponseData().get(0).getMemberCode());\n assertEquals(\"subsystem\", response.getResponseData().get(0).getSubsystemCode());\n assertEquals(\"testService\", response.getResponseData().get(0).getServiceCode());\n assertEquals(\"v1\", response.getResponseData().get(0).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(0).getObjectType());\n\n assertEquals(\"FI\", response.getResponseData().get(1).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(1).getMemberClass());\n assertEquals(\"12345-7\", response.getResponseData().get(1).getMemberCode());\n assertEquals(\"subsystem1\", response.getResponseData().get(1).getSubsystemCode());\n assertEquals(\"testService1\", response.getResponseData().get(1).getServiceCode());\n assertEquals(null, response.getResponseData().get(1).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(1).getObjectType());\n\n assertEquals(\"FI\", response.getResponseData().get(2).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(2).getMemberClass());\n assertEquals(\"12345-8\", response.getResponseData().get(2).getMemberCode());\n assertEquals(null, response.getResponseData().get(2).getSubsystemCode());\n assertEquals(\"testService2\", response.getResponseData().get(2).getServiceCode());\n assertEquals(\"v1\", response.getResponseData().get(2).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(2).getObjectType());\n\n assertEquals(\"FI\", response.getResponseData().get(3).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(3).getMemberClass());\n assertEquals(\"12345-9\", response.getResponseData().get(3).getMemberCode());\n assertEquals(null, response.getResponseData().get(3).getSubsystemCode());\n assertEquals(\"testService3\", response.getResponseData().get(3).getServiceCode());\n assertEquals(null, response.getResponseData().get(3).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(3).getObjectType());\n }",
"@Override\n protected Document parseAsDom(final String input) throws ConversionException {\n return IWXXMConverterBase.parseStringToDOM(input);\n }",
"static StringReader testData() {\n return new StringReader(\n \"@stboundedby, urn:ogc:def:crs:CRS:1.3:84, 2D, 50.23 9.23, 50.31 9.27, 2012-01-17T12:33:41Z, 2012-01-17T12:37:00Z, sec\\n\" +\n \"@columns, mfidref, trajectory, state,xsd:string, \\\"\\\"\\\"type\\\"\\\" code\\\",xsd:integer\\n\" +\n \"@foliation,Time\\n\" +\n \"a, 10, 150, 11.0 2.0 12.0 3.0, walking, 1\\n\" +\n \"b, 10, 190, 10.0 2.0 11.0 3.0, walking, 2\\n\" +\n \"a, 150, 190, 12.0 3.0 10.0 3.0\\n\" + // Omitted values are same as previous line.\n \"c, 10, 190, 12.0 1.0 10.0 2.0 11.0 3.0, vehicle, 1\\n\");\n }",
"@Override\n\tpublic void visit(StringValue arg0) {\n\t\t\n\t}",
"protected Element parseString(String str){\n\t\ttry {\n\t\t\tparser.parse(str);\n\t\t\treturn parser.getDocument().getDocumentElement();\n\t\t} catch (SAXException e) {\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn el(\"failure\", text(\"The workflow instrumenter could not insert an activity here, because\" +\n\t\t\t\"the code for the activitiy, that was supplied in the requirement specification was not correct!\"));\n\t}",
"@Override\n\tpublic void visit(StringValue arg0) {\n\n\t}",
"public ElementString(String value) {\n this.value = value;\n }",
"private static String getValuesFromDom(Document doc, XPath xpath, String typeAttr) {\t\t\t\t// Function definition to get the value of POP12\n \n\t\tString attrValue = null;\n try {\n XPathExpression xpathExpression = xpath.compile(\"/dwml/data/parameters/\"+typeAttr+\"/value/text()\");\n attrValue = (String) xpathExpression.evaluate(doc, XPathConstants.STRING);\n \n } catch (XPathExpressionException e) {\n e.printStackTrace();\n }\n if(attrValue.equals(null)||attrValue.equals(\"\")){\n \treturn \"NA\";\n }\n return attrValue;\n }",
"public void test5() throws XRd4JException, SOAPException {\n String soapString = \"<SOAP-ENV:Envelope xmlns:SOAP-ENV=\\\"http://schemas.xmlsoap.org/soap/envelope/\\\" xmlns:id=\\\"http://x-road.eu/xsd/identifiers\\\" xmlns:xrd=\\\"http://x-road.eu/xsd/xroad.xsd\\\"><SOAP-ENV:Header><xrd:client id:objectType=\\\"MEMBER\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>GOV</id:memberClass><id:memberCode>MEMBER1</id:memberCode></xrd:client><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>COM</id:memberClass><id:memberCode>MEMBER2</id:memberCode><id:subsystemCode>subsystem</id:subsystemCode><id:serviceCode>allowedMethods</id:serviceCode></xrd:service><xrd:userId>EE1234567890</xrd:userId><xrd:id>ID-1234567890</xrd:id><xrd:protocolVersion>4.0</xrd:protocolVersion><xrd:requestHash algorithmId=\\\"SHA-512\\\">ZPbWPAOcJxzE81EmSk//R3DUQtqwMcuMMF9tsccJypdNcukzICQtlhhr3a/bTmexDrn8e/BrBVyl2t0ni/cUvw==</xrd:requestHash></SOAP-ENV:Header><SOAP-ENV:Body><xrd:allowedMethodsResponse><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-6</id:memberCode><id:subsystemCode>subsystem</id:subsystemCode><id:serviceCode>testService</id:serviceCode><id:serviceVersion>v1</id:serviceVersion></xrd:service><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-7</id:memberCode><id:subsystemCode>subsystem1</id:subsystemCode><id:serviceCode>testService1</id:serviceCode></xrd:service><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-8</id:memberCode><id:serviceCode>testService2</id:serviceCode><id:serviceVersion>v1</id:serviceVersion></xrd:service><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-9</id:memberCode><id:serviceCode>testService3</id:serviceCode></xrd:service></xrd:allowedMethodsResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>\";\n\n SOAPMessage msg = SOAPHelper.toSOAP(soapString);\n\n ServiceResponseDeserializer deserializer = new ListServicesResponseDeserializer();\n ServiceResponse<String, List<ProducerMember>> response = deserializer.deserialize(msg);\n\n assertEquals(\"FI\", response.getConsumer().getXRoadInstance());\n assertEquals(\"GOV\", response.getConsumer().getMemberClass());\n assertEquals(\"MEMBER1\", response.getConsumer().getMemberCode());\n assertEquals(null, response.getConsumer().getSubsystemCode());\n assertEquals(ObjectType.MEMBER, response.getConsumer().getObjectType());\n\n assertEquals(\"FI\", response.getProducer().getXRoadInstance());\n assertEquals(\"COM\", response.getProducer().getMemberClass());\n assertEquals(\"MEMBER2\", response.getProducer().getMemberCode());\n assertEquals(\"subsystem\", response.getProducer().getSubsystemCode());\n assertEquals(\"allowedMethods\", response.getProducer().getServiceCode());\n assertEquals(null, response.getProducer().getServiceVersion());\n assertEquals(\"ID-1234567890\", response.getId());\n assertEquals(\"EE1234567890\", response.getUserId());\n assertEquals(\"4.0\", response.getProtocolVersion());\n assertEquals(ObjectType.SERVICE, response.getProducer().getObjectType());\n assertEquals(null, response.getRequestData());\n\n assertEquals(\"SHA-512\", response.getRequestHashAlgorithm());\n assertEquals(\"ZPbWPAOcJxzE81EmSk//R3DUQtqwMcuMMF9tsccJypdNcukzICQtlhhr3a/bTmexDrn8e/BrBVyl2t0ni/cUvw==\", response.getRequestHash());\n assertEquals(true, response.getSoapMessage() != null);\n\n assertEquals(\"FI\", response.getResponseData().get(0).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(0).getMemberClass());\n assertEquals(\"12345-6\", response.getResponseData().get(0).getMemberCode());\n assertEquals(\"subsystem\", response.getResponseData().get(0).getSubsystemCode());\n assertEquals(\"testService\", response.getResponseData().get(0).getServiceCode());\n assertEquals(\"v1\", response.getResponseData().get(0).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(0).getObjectType());\n\n assertEquals(\"FI\", response.getResponseData().get(1).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(1).getMemberClass());\n assertEquals(\"12345-7\", response.getResponseData().get(1).getMemberCode());\n assertEquals(\"subsystem1\", response.getResponseData().get(1).getSubsystemCode());\n assertEquals(\"testService1\", response.getResponseData().get(1).getServiceCode());\n assertEquals(null, response.getResponseData().get(1).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(1).getObjectType());\n\n assertEquals(\"FI\", response.getResponseData().get(2).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(2).getMemberClass());\n assertEquals(\"12345-8\", response.getResponseData().get(2).getMemberCode());\n assertEquals(null, response.getResponseData().get(2).getSubsystemCode());\n assertEquals(\"testService2\", response.getResponseData().get(2).getServiceCode());\n assertEquals(\"v1\", response.getResponseData().get(2).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(2).getObjectType());\n\n assertEquals(\"FI\", response.getResponseData().get(3).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(3).getMemberClass());\n assertEquals(\"12345-9\", response.getResponseData().get(3).getMemberCode());\n assertEquals(null, response.getResponseData().get(3).getSubsystemCode());\n assertEquals(\"testService3\", response.getResponseData().get(3).getServiceCode());\n assertEquals(null, response.getResponseData().get(3).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(3).getObjectType());\n }",
"public void test3() throws XRd4JException, SOAPException {\n String soapString = \"<SOAP-ENV:Envelope xmlns:SOAP-ENV=\\\"http://schemas.xmlsoap.org/soap/envelope/\\\" xmlns:id=\\\"http://x-road.eu/xsd/identifiers\\\" xmlns:xrd=\\\"http://x-road.eu/xsd/xroad.xsd\\\"><SOAP-ENV:Header><xrd:client id:objectType=\\\"MEMBER\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>GOV</id:memberClass><id:memberCode>MEMBER1</id:memberCode></xrd:client><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>COM</id:memberClass><id:memberCode>MEMBER2</id:memberCode><id:serviceCode>listMethods</id:serviceCode></xrd:service><xrd:userId>EE1234567890</xrd:userId><xrd:id>ID-1234567890</xrd:id><xrd:protocolVersion>4.0</xrd:protocolVersion><xrd:requestHash algorithmId=\\\"SHA-512\\\">ZPbWPAOcJxzE81EmSk//R3DUQtqwMcuMMF9tsccJypdNcukzICQtlhhr3a/bTmexDrn8e/BrBVyl2t0ni/cUvw==</xrd:requestHash></SOAP-ENV:Header><SOAP-ENV:Body><xrd:listMethodsResponse><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-6</id:memberCode><id:subsystemCode>subsystem</id:subsystemCode><id:serviceCode>testService</id:serviceCode><id:serviceVersion>v1</id:serviceVersion></xrd:service><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-7</id:memberCode><id:subsystemCode>subsystem1</id:subsystemCode><id:serviceCode>testService1</id:serviceCode></xrd:service><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-8</id:memberCode><id:serviceCode>testService2</id:serviceCode><id:serviceVersion>v1</id:serviceVersion></xrd:service><xrd:service id:objectType=\\\"SERVICE\\\"><id:xRoadInstance>FI</id:xRoadInstance><id:memberClass>PRI</id:memberClass><id:memberCode>12345-9</id:memberCode><id:serviceCode>testService3</id:serviceCode></xrd:service></xrd:listMethodsResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>\";\n\n SOAPMessage msg = SOAPHelper.toSOAP(soapString);\n\n ServiceResponseDeserializer deserializer = new ListServicesResponseDeserializer();\n ServiceResponse<String, List<ProducerMember>> response = deserializer.deserialize(msg);\n\n assertEquals(\"FI\", response.getConsumer().getXRoadInstance());\n assertEquals(\"GOV\", response.getConsumer().getMemberClass());\n assertEquals(\"MEMBER1\", response.getConsumer().getMemberCode());\n assertEquals(null, response.getConsumer().getSubsystemCode());\n assertEquals(ObjectType.MEMBER, response.getConsumer().getObjectType());\n\n assertEquals(\"FI\", response.getProducer().getXRoadInstance());\n assertEquals(\"COM\", response.getProducer().getMemberClass());\n assertEquals(\"MEMBER2\", response.getProducer().getMemberCode());\n assertEquals(null, response.getProducer().getSubsystemCode());\n assertEquals(\"listMethods\", response.getProducer().getServiceCode());\n assertEquals(null, response.getProducer().getServiceVersion());\n assertEquals(\"ID-1234567890\", response.getId());\n assertEquals(\"EE1234567890\", response.getUserId());\n assertEquals(\"4.0\", response.getProtocolVersion());\n assertEquals(ObjectType.SERVICE, response.getProducer().getObjectType());\n assertEquals(null, response.getRequestData());\n\n assertEquals(\"SHA-512\", response.getRequestHashAlgorithm());\n assertEquals(\"ZPbWPAOcJxzE81EmSk//R3DUQtqwMcuMMF9tsccJypdNcukzICQtlhhr3a/bTmexDrn8e/BrBVyl2t0ni/cUvw==\", response.getRequestHash());\n assertEquals(true, response.getSoapMessage() != null);\n\n assertEquals(\"FI\", response.getResponseData().get(0).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(0).getMemberClass());\n assertEquals(\"12345-6\", response.getResponseData().get(0).getMemberCode());\n assertEquals(\"subsystem\", response.getResponseData().get(0).getSubsystemCode());\n assertEquals(\"testService\", response.getResponseData().get(0).getServiceCode());\n assertEquals(\"v1\", response.getResponseData().get(0).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(0).getObjectType());\n\n assertEquals(\"FI\", response.getResponseData().get(1).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(1).getMemberClass());\n assertEquals(\"12345-7\", response.getResponseData().get(1).getMemberCode());\n assertEquals(\"subsystem1\", response.getResponseData().get(1).getSubsystemCode());\n assertEquals(\"testService1\", response.getResponseData().get(1).getServiceCode());\n assertEquals(null, response.getResponseData().get(1).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(1).getObjectType());\n\n assertEquals(\"FI\", response.getResponseData().get(2).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(2).getMemberClass());\n assertEquals(\"12345-8\", response.getResponseData().get(2).getMemberCode());\n assertEquals(null, response.getResponseData().get(2).getSubsystemCode());\n assertEquals(\"testService2\", response.getResponseData().get(2).getServiceCode());\n assertEquals(\"v1\", response.getResponseData().get(2).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(2).getObjectType());\n\n assertEquals(\"FI\", response.getResponseData().get(3).getXRoadInstance());\n assertEquals(\"PRI\", response.getResponseData().get(3).getMemberClass());\n assertEquals(\"12345-9\", response.getResponseData().get(3).getMemberCode());\n assertEquals(null, response.getResponseData().get(3).getSubsystemCode());\n assertEquals(\"testService3\", response.getResponseData().get(3).getServiceCode());\n assertEquals(null, response.getResponseData().get(3).getServiceVersion());\n assertEquals(ObjectType.SERVICE, response.getResponseData().get(3).getObjectType());\n }",
"protected abstract String transform(final String xmlContent, final Map<String, Object> params) throws YFormProcessorException;",
"public String[] convertXmlArrayToTestNG(String[] string) {\n \t\tfor (int i = 0; i < string.length-1; i++) {\n \t\t\tif ( string[i].substring(0, string[i].indexOf(\"<methods>\")).equals(\n \t\t\t string[i+1].substring(0, string[i+1].indexOf(\"<methods>\"))) )\n \t\t\t{ string[i] = string[i].replace(\"</methods></class>\", \"\");}\n \t\t}\t\t\n \t\tfor (int j = string.length-1; j > 0; j--) {\n \t\t\tif ( string[j].substring(0, string[j].indexOf(\"<methods>\")).equals(\n \t\t\t string[j-1].substring(0, string[j-1].indexOf(\"<methods>\"))) )\n \t\t\t{ string[j] = string[j].replace(string[j].substring(0, string[j].indexOf(\"<include\")), \" \");}\n \t\t}\t\t\n \treturn string;\n \t}",
"public static ExaminationType_type1 parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\n ExaminationType_type1 object = null;\n // initialize a hash map to keep values\n java.util.Map attributeMap = new java.util.HashMap();\n java.util.List extraAttributeList = new java.util.ArrayList<org.apache.axiom.om.OMAttribute>();\n \n\n int event;\n java.lang.String nillableValue = null;\n java.lang.String prefix =\"\";\n java.lang.String namespaceuri =\"\";\n try {\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n\n \n\n \n // Note all attributes that were handled. Used to differ normal attributes\n // from anyAttributes.\n java.util.Vector handledAttributes = new java.util.Vector();\n \n\n \n while(!reader.isEndElement()) {\n if (reader.isStartElement() || reader.hasText()){\n \n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"nil\");\n if (\"true\".equals(nillableValue) || \"1\".equals(nillableValue)){\n throw new org.apache.axis2.databinding.ADBException(\"The element: \"+\"ExaminationType_type0\" +\" cannot be null\");\n }\n \n\n java.lang.String content = reader.getElementText();\n \n if (content.indexOf(\":\") > 0) {\n // this seems to be a Qname so find the namespace and send\n prefix = content.substring(0, content.indexOf(\":\"));\n namespaceuri = reader.getNamespaceURI(prefix);\n object = ExaminationType_type1.Factory.fromString(content,namespaceuri);\n } else {\n // this seems to be not a qname send and empty namespace incase of it is\n // check is done in fromString method\n object = ExaminationType_type1.Factory.fromString(content,\"\");\n }\n \n \n } else {\n reader.next();\n } \n } // end of while loop\n \n\n\n\n } catch (javax.xml.stream.XMLStreamException e) {\n throw new java.lang.Exception(e);\n }\n\n return object;\n }",
"public String getTextFromSingleNode(String xPathString) throws AxmlDocException {\n\t\tAxmlNode axmlNode;\n\t\tNode node;\n\t\tXPathExpression xPathExpression;\n\n\t\ttry {\n\t\t\txPathExpression = xPath.compile(xPathString);\n\t\t\tnode = (Node) xPathExpression.evaluate(this.decoratedDocument, XPathConstants.NODE);\n\t\t\taxmlNode = new AxmlNode((Element) node);\n\t\t} catch (XPathExpressionException xpe) {\n\t\t\tthrow new AxmlDocException(\n\t\t\t\t\t\"xPath error. Check if your expression is ok and if refer to a only one node element.\");\n\t\t}\n\n\t\tString retorno;\n\n\t\t// Checking handle strategy\n\t\tswitch (this.handleStrategy) {\n\t\tcase LAZY_PERSIST:\n\t\t\tretorno = axmlNode.getTextContent(this.returnType);\n\t\t\tthis.persist();\n\t\t\tbreak;\n\t\tcase LAZY_PERSIST_WITH_EXCLUSION:\n\t\t\tthis.revertMaterializedData();\n\t\t\tretorno = axmlNode.getTextContent(this.returnType);\n\t\t\tthis.persist();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tretorno = axmlNode.getTextContent(this.returnType);\n\t\t}\n\n\t\treturn retorno;\n\t}",
"public String encodeFromXpath(String expression, Document xmlDocument) throws SCNotifyRequestProcessingException {\n\t\tlogger.debug(\"(.) inside encodeFromXpath method of ServiceChannelNotificationProcessBean Class \");\n\t\tNotificationUtil notificationUtil = new NotificationUtil();\n\t\tString fieldVal = null;\n\t\tXPath xPath = XPathFactory.newInstance().newXPath();\n\t\tNodeList nodeList = null;\n\t\ttry {\n\t\t\tnodeList = (NodeList) xPath.compile(expression).evaluate(xmlDocument, XPathConstants.NODESET);\n\t\t\tfor (int i = 0; i < nodeList.getLength(); i++) {\n\t\t\t\tif (nodeList.item(0).getNodeType() != Node.ELEMENT_NODE) {\n\t\t\t\t\tfieldVal = nodeList.item(0).getTextContent().trim();\n\t\t\t\t\tlogger.debug(\".encodedData (StoreID OR CustomerID) : \" + fieldVal);\n\t\t\t\t} else {\n\t\t\t\t\tNode givenNode = nodeList.item(0);\n\t\t\t\t\tfieldVal = notificationUtil.nodeToString(givenNode.getFirstChild()).trim();\n\t\t\t\t\tlogger.debug(\".xmlData : \" + fieldVal);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn fieldVal;\n\t\t} catch (XPathExpressionException e) {\n\t\t\tthrow new SCNotifyRequestProcessingException(\"Unable to compile the xpath expression at index - \"\n\t\t\t\t\t+ \" when evaluating document - \" + xmlDocument.getFirstChild().getNodeName() + \"..\", e);\n\t\t} \n\t}",
"public ListOfListicatorLists getListOfListicatorLists(String payload) {\n try {\n //context = JAXBContext.newInstance(ListOfListicatorListsPayload.class);\n //Unmarshaller m = context.createUnmarshaller();\n //ListOfListicatorListsPayload lists = (ListOfListicatorListsPayload)m.unmarshal(new StringReader(payload));\n ListOfListicatorListsPayload lists = (ListOfListicatorListsPayload) xstream.fromXML(payload);\n\n return new PayloadConvertor().transformFromPayLoadObject(lists);\n\n //} catch (JAXBException e) {\n }catch(Exception e){\n e.printStackTrace();\n return new ListOfListicatorLists();\n }\n }",
"public static ExaminationType_type0 parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\n ExaminationType_type0 object = null;\n // initialize a hash map to keep values\n java.util.Map attributeMap = new java.util.HashMap();\n java.util.List extraAttributeList = new java.util.ArrayList<org.apache.axiom.om.OMAttribute>();\n \n\n int event;\n java.lang.String nillableValue = null;\n java.lang.String prefix =\"\";\n java.lang.String namespaceuri =\"\";\n try {\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n\n \n\n \n // Note all attributes that were handled. Used to differ normal attributes\n // from anyAttributes.\n java.util.Vector handledAttributes = new java.util.Vector();\n \n\n \n while(!reader.isEndElement()) {\n if (reader.isStartElement() || reader.hasText()){\n \n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"nil\");\n if (\"true\".equals(nillableValue) || \"1\".equals(nillableValue)){\n throw new org.apache.axis2.databinding.ADBException(\"The element: \"+\"ExaminationType_type0\" +\" cannot be null\");\n }\n \n\n java.lang.String content = reader.getElementText();\n \n if (content.indexOf(\":\") > 0) {\n // this seems to be a Qname so find the namespace and send\n prefix = content.substring(0, content.indexOf(\":\"));\n namespaceuri = reader.getNamespaceURI(prefix);\n object = ExaminationType_type0.Factory.fromString(content,namespaceuri);\n } else {\n // this seems to be not a qname send and empty namespace incase of it is\n // check is done in fromString method\n object = ExaminationType_type0.Factory.fromString(content,\"\");\n }\n \n \n } else {\n reader.next();\n } \n } // end of while loop\n \n\n\n\n } catch (javax.xml.stream.XMLStreamException e) {\n throw new java.lang.Exception(e);\n }\n\n return object;\n }",
"@Override\r\n public Object getValueFromString(String text_p) throws Exception\r\n {\n return null;\r\n }",
"private void processNode(String str) {\r\n String[] strs = str.split(\":\");\r\n int id = Integer.valueOf(strs[0].trim());\r\n String[] strings = strs[1].split(\",\");\r\n int num = strings[1].indexOf(\"(\");\r\n int x = Integer\r\n .valueOf(strings[1].substring(num + 1, strings[1].length()));\r\n int y = Integer\r\n .valueOf(strings[2].trim().substring(0,\r\n strings[2].trim().length() - 1));\r\n\r\n if (strings[0].trim().toLowerCase().equals(\"input\")) {\r\n ArrayList<Circle> inputList = new ArrayList<>();\r\n NodeSet.add(new InputNode(id, x, y, inputList));\r\n } else if (strings[0].trim().toLowerCase().equals(\"passthrough\")) {\r\n NodeSet.add(new ThingNode(id, x, y));\r\n }\r\n\r\n else if (strings[0].trim().toLowerCase().equals(\"sink\")) {\r\n NodeSet.add(new SinkNode(id, x, y));\r\n }\r\n }",
"public static void main(String[] args) throws Exception {\n\t\tString response = \"<AuditResultHospital xmlns=\\\"http://schemas.datacontract.org/2004/07/BMI.Engine.Common.Hospital\\\" xmlns:i=\\\"http://www.w3.org/2001/XMLSchema-instance\\\">\"\n\t\t\t\t+ \"<ClaimID>50b768e10c02b60f7c9343d9</ClaimID>\" + \"<Elapsed>0:0:0:324.324563</Elapsed>\"\n\t\t\t\t+ \"<Patient_IDStr>0057824702</Patient_IDStr>\" + \"<ViolationResult>\" + \"<RuleResultHospital>\"\n\t\t\t\t+ \"<DetailID>0</DetailID>\" + \"<FullTip/>\" + \"<GroupCode>{30E50964211259DAF0D7832C075574CF}</GroupCode>\"\n\t\t\t\t+ \"<ITEM_ID/>\" + \"<ITEM_NAME/>\" + \"<Reason>诊断信息不规范</Reason>\"\n\t\t\t\t+ \"<Related>50b768e10c02b60f7c9343d9</Related>\" + \"<ResultType>1</ResultType>\"\n\t\t\t\t+ \"<ResultTypeName>非医保支付</ResultTypeName>\" + \"<RuleName>就诊信息数据异常</RuleName>\" + \"<RuleNo>150001</RuleNo>\"\n\t\t\t\t+ \"<TipsCode4Hospital>N</TipsCode4Hospital>\" + \"</RuleResultHospital>\" + \"<RuleResultHospital>\"\n\t\t\t\t+ \"<DetailID>70b768e10c02b60f7c934428</DetailID>\" + \"<FullTip/>\"\n\t\t\t\t+ \"<GroupCode>{ABF47EFF6CDEED4FFF8684A5BD7832CA}</GroupCode>\" + \"<ITEM_ID>x090203004191001</ITEM_ID>\"\n\t\t\t\t+ \"<ITEM_NAME>重组人白介素-11[Ⅰ]</ITEM_NAME>\" + \"<Reason>限放化疗引起的血小板减少患者</Reason>\"\n\t\t\t\t+ \"<Related>50b768e10c02b60f7c9343d9|70b768e10c02b60f7c934428</Related>\" + \"<ResultType>2</ResultType>\"\n\t\t\t\t+ \"<ResultTypeName>待核实</ResultTypeName>\" + \"<RuleName>违反限定适应症(条件)用药</RuleName>\"\n\t\t\t\t+ \"<RuleNo>100301</RuleNo>\" + \"<TipsCode4Hospital>N</TipsCode4Hospital>\" + \"</RuleResultHospital>\"\n\t\t\t\t+ \"<RuleResultHospital>\" + \"<DetailID>70b768e10c02b60f7c934424</DetailID>\" + \"<FullTip/>\"\n\t\t\t\t+ \"<GroupCode>{D3A8CA51A1DB07AA23EF11D8D6295B40}</GroupCode>\" + \"<ITEM_ID>f12010001100</ITEM_ID>\"\n\t\t\t\t+ \"<ITEM_NAME>吸痰护理</ITEM_NAME>\"\n\t\t\t\t+ \"<Reason>重复收费</Reason><Related>50b768e10c02b60f7c9343d9|70b768e10c02b60f7c934422,50b768e10c02b60f7c9343d9|70b768e10c02b60f7c934424</Related>\"\n\t\t\t\t+ \"<ResultType>1</ResultType>\" + \"<ResultTypeName>非医保支付</ResultTypeName>\" + \"<RuleName>重复收费</RuleName>\"\n\t\t\t\t+ \"<RuleNo>130301</RuleNo>\"\n\t\t\t\t+ \"<TipsCode4Hospital>130301|{C81E728D9D4C2F636F067F89CC14862C}@0</TipsCode4Hospital>\"\n\t\t\t\t+ \"</RuleResultHospital>\" + \"</ViolationResult>\" + \"</AuditResultHospital>\";\n\t\tMap<String, Object> map = TransformUtil.xmlToMap(response);\n\t\tSystem.out.println(map);\n\t}",
"@Override\n\tpublic void startElement(String arg0, String arg1, String arg2, Attributes arg3) throws SAXException {\n\t\tSystem.out.println(arg2+\"解析开始\");\n\t}",
"public Object transform(MuleMessage message, String encoding) throws TransformerException {\n if (message.getExceptionPayload() != null)\n return message;\n\n try {\n\n // When the HTTP URI ends with the string \"?wsdl\", return WSDL file.\n String url = (String) message.getProperty(\"http.request\");\n if (url != null && url.matches(\"(?i).*\\\\?wsdl$\")) {\n /* Above regex matches url ending with '?wsdl' in case-insensitive manner.\n * (?i) - flag for case-insensitive matching. \n * .* - any sequence of characters, \n * \\\\? - ? escaped to prevent special meaning.\n */\n\n message.setBooleanProperty(Constants.SKIP_FURTHER_PROCESSING, true);\n String interfaceFile = message.getStringProperty(\"interfaceFile\", \"\");\n String serviceLocation = getEndpoint().getEndpointURI().getAddress();\n return new Interface2WSDL().getWSDL(interfaceFile, serviceLocation);\n }\n\n // Get the input stream to the received SOAP message.\n InputStream soapIs = (InputStream) message.getPayload(InputStream.class);\n final XMLStreamReader reader = inputFactory.createXMLStreamReader(soapIs);\n\n // Skip the tags until, we reach the SOAP body.\n while (reader.hasNext()) {\n int eventType = reader.nextTag();\n if (isSoapBodyStartElement(reader)) {\n \n reader.nextTag(); \n if (reader.isStartElement()) {\n String operationName = reader.getLocalName();\n message.setStringProperty(\"operationName\", operationName);\n break;\n }\n }\n }\n\n // Setup a delegate reader that allows next transformer to read only the XML inside SOAP body.\n StreamReaderDelegate delegate = new StreamReaderDelegate(reader) {\n \n public int next() throws XMLStreamException {\n int event = reader.next();\n if (isSoapBodyEndElement(reader)) {\n while (reader.hasNext())\n event = reader.next();\n }\n\n return event;\n }\n\n public int nextTag() throws XMLStreamException {\n int event = reader.nextTag();\n if (isSoapBodyEndElement(reader)) {\n while (reader.hasNext())\n event = reader.nextTag();\n }\n\n return event;\n }\n };\n\n // Return the delegate, that is used by next transformer to read XML in Soap body (in streaming way).\n return delegate;\n\n } catch (Exception e) {\n logger.error(e);\n message.setExceptionPayload(new DefaultExceptionPayload(e));\n return message;\n }\n }",
"abstract protected String getOtherXml();",
"public StringTemplateElement()\n {\n super(String.class);\n }",
"public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {\n/* 47 */ String thisElement = qName;\n/* 48 */ if (thisElement != null) {\n/* 49 */ this.elNames.push(thisElement);\n/* */ \n/* 51 */ if (thisElement.equals(\"methodResponse\")) {\n/* 52 */ this.objects.push(new MethodResponse());\n/* 53 */ } else if (thisElement.equals(\"params\")) {\n/* 54 */ this.objects.push(new Params());\n/* 55 */ } else if (thisElement.equals(\"param\")) {\n/* 56 */ this.objects.push(new Param());\n/* 57 */ } else if (thisElement.equals(\"value\")) {\n/* 58 */ this.objects.push(new Value());\n/* 59 */ } else if (thisElement.equals(\"array\")) {\n/* 60 */ this.objects.push(new Array());\n/* 61 */ } else if (thisElement.equals(\"data\")) {\n/* 62 */ this.objects.push(new Data());\n/* 63 */ } else if (thisElement.equals(\"struct\")) {\n/* 64 */ this.objects.push(new Struct());\n/* 65 */ } else if (thisElement.equals(\"member\")) {\n/* 66 */ this.objects.push(new Member());\n/* 67 */ } else if (thisElement.equals(\"fault\")) {\n/* 68 */ this.objects.push(new Fault());\n/* */ } \n/* */ } \n/* */ }",
"@Override\n\tpublic void characters(char[] ch, int start, int length)\n\t\t\tthrows SAXException {\n\t\tsuper.characters(ch, start, length);\n\t\tString data = new String(ch, start, length);\n\t\t// System.out.println(\"data is \" + data);\n\t}",
"public interface IUtlXml {\n\n /**\n * <p>Escape XML for given string.</p>\n * @param pSource source\n * @return escaped string\n * @throws Exception - an exception\n **/\n String escStr(String pSource) throws Exception;\n\n /**\n * <p>Escape XML for given char.</p>\n * @param pChar char\n * @return escaped string\n * @throws Exception - an exception\n **/\n String escChr(char pChar) throws Exception;\n\n /**\n * <p>Unescape XML for given string.</p>\n * @param pSource source\n * @return unescaped string\n * @throws Exception - an exception\n **/\n String unescStr(String pSource) throws Exception;\n\n /**\n * <p>\n * Unescape XML for given string.\n * </p>\n * @param pEscaped Escaped\n * @return unescaped char\n * @throws Exception - an exception\n **/\n char unescChr(String pEscaped) throws Exception;\n\n /**\n * <p>Read attributes from stream. Start the XML element\n * must be read out.</p>\n * @param pReader reader.\n * @param pRqVs request scoped vars\n * @return attributes map\n * @throws Exception - an exception\n **/\n Map<String, String> readAttrs(Map<String, Object> pRqVs,\n Reader pReader) throws Exception;\n\n\n /**\n * <p>Read stream until start given element e.g. <message.</p>\n * @param pReader reader.\n * @param pElement element\n * @return true if start element is happen, false if end of stream\n * @throws Exception - an exception\n **/\n boolean readUntilStart(Reader pReader,\n String pElement) throws Exception;\n}",
"public void clientInputEvent(String xml);",
"@Override\n public void parseXml(Element ele, LoadContext lc) {\n\n }",
"public StringInputSource(String s) {\n _index = 0;\n _input = s;\n }",
"public UserPayload getUserPayload(String payload) {\n try {\n\n UserPayload user = (UserPayload) xstream.fromXML(payload);\n return user;\n\n //context = JAXBContext.newInstance(UserPayload.class);\n //Unmarshaller m = context.createUnmarshaller();\n //return (UserPayload)m.unmarshal(new StringReader(payload));\n //} catch (JAXBException e) {\n }catch(Exception e){\n e.printStackTrace();\n }\n return null;\n }",
"public String getNodeValue ();",
"SAPL parse(InputStream saplInputStream);",
"@Override\n public Object getData() {\n return new String(outputData);\n }",
"@Override\n\tpublic void characters(char[] arg0, int arg1, int arg2) throws SAXException {\n\t\tString content=new String(arg0,arg1,arg2);\n\t\tif(content.length()>0) {\n\t\t\tSystem.out.println(\"<\"+CurrentTag+\">元素的内容是: \"+content.trim());\n\t\t}\n\t}",
"@Override\n public NamespacedProperty getValueMessageElementXpath() {\n return valueMessageElementXpath;\n }",
"XPath parseXPath(String xpath) throws SAXPathException;",
"public static native JavaScriptObject parseString(String xml) /*-{\n\t\treturn Titanium.XML.parseString(xml);\n\t}-*/;",
"public static void validateMediatorPosition(String xmlContent) throws TransformerException {\n\n String erroneousMediator = \"\";\n\n try {\n OMElement element = AXIOMUtil.stringToOM(xmlContent);\n\n String localName = element.getLocalName();\n\n if (localName.equals(\"proxy\")) {\n\n OMElement target = (OMElement) element.getFirstChildWithName(new QName(SYNAPSE_NAMESPACE, \"target\"));\n OMElement inSequence = target.getFirstChildWithName(new QName(SYNAPSE_NAMESPACE, IN_SEQUENCE));\n if (inSequence != null) {\n erroneousMediator = processSequence(inSequence, IN_SEQUENCE);\n }\n if (erroneousMediator.equals(\"\")) {\n OMElement outSequence = target.getFirstChildWithName(new QName(SYNAPSE_NAMESPACE, OUT_SEQUENCE));\n if (outSequence != null) {\n erroneousMediator = processSequence(outSequence, OUT_SEQUENCE);\n }\n }\n\n if (erroneousMediator.equals(\"\")) {\n OMElement faultSequence = target\n .getFirstChildWithName(new QName(SYNAPSE_NAMESPACE, FAULT_SEQUENCE));\n if (faultSequence != null) {\n erroneousMediator = processSequence(faultSequence, FAULT_SEQUENCE);\n }\n }\n\n } else if (localName.equals(\"api\")) {\n Iterator resources = element.getChildrenWithName(new QName(SYNAPSE_NAMESPACE, \"resource\"));\n while (resources.hasNext()) {\n Object resourceObj = resources.next();\n if (resourceObj instanceof OMElement) {\n\n OMElement resource = (OMElement) resourceObj;\n if (erroneousMediator.equals(\"\")) {\n OMElement inSequence = resource\n .getFirstChildWithName(new QName(SYNAPSE_NAMESPACE, IN_SEQUENCE));\n if (inSequence != null) {\n erroneousMediator = processSequence(inSequence, IN_SEQUENCE);\n }\n }\n if (erroneousMediator.equals(\"\")) {\n OMElement outSequence = resource\n .getFirstChildWithName(new QName(SYNAPSE_NAMESPACE, OUT_SEQUENCE));\n if (outSequence != null) {\n erroneousMediator = processSequence(outSequence, OUT_SEQUENCE);\n }\n }\n\n if (erroneousMediator.equals(\"\")) {\n OMElement faultSequence = resource\n .getFirstChildWithName(new QName(SYNAPSE_NAMESPACE, FAULT_SEQUENCE));\n if (faultSequence != null) {\n erroneousMediator = processSequence(faultSequence, FAULT_SEQUENCE);\n }\n }\n }\n }\n\n } else if (localName.equals(\"sequence\")) {\n erroneousMediator = processSequence(element, \"sequence\");\n\n } else if (localName.equals(\"template\") && xmlContent.contains(\"sequence\")) {\n OMElement sequence = (OMElement) element\n .getFirstChildWithName(new QName(SYNAPSE_NAMESPACE, \"sequence\"));\n if (sequence != null) {\n erroneousMediator = processSequence(sequence, \"sequence\");\n }\n }\n\n } catch (XMLStreamException e) {\n return;\n }\n\n if (!erroneousMediator.equals(\"\")) {\n throw new TransformerException(erroneousMediator);\n }\n }",
"@org.junit.Test\n public void constrCompelemString1() {\n final XQuery query = new XQuery(\n \"fn:string(element elem {'a', element a {}, 'b'})\",\n ctx);\n try {\n result = new QT3Result(query.value());\n } catch(final Throwable trw) {\n result = new QT3Result(trw);\n } finally {\n query.close();\n }\n test(\n assertStringValue(false, \"ab\")\n );\n }",
"void simpleContent(ComplexTypeSG type) throws SAXException;",
"public void fromString(String xmlString) throws Exception {\r\n\t\tJAXBContext jc = JAXBContext.newInstance(TaskTypes.class);\r\n\t\tUnmarshaller u = jc.createUnmarshaller();\r\n\t\tTaskTypes tt = (TaskTypes) u.unmarshal(new StringReader(xmlString));\r\n\t\tthis.taskTypes = tt.taskTypes;\r\n\t}",
"@Test\n\tpublic void testTextFromXml()\n\t{\n\t\tString xml = \"<text val=\\\"Steve Unger Smells\\\" />\";\t\t\n\t\tDocument doc = XMLUtil.parse(xml);\n\t\tElement element = doc.getDocumentElement();\n\t\tText text = this.parser.fromXML(element);\n\t\t\n\t\tassertEquals(\"Steve Unger Smells\",text.getText());\n\t}",
"@Override\n public void endElement(String str1, String str2, String element) throws SAXException {\n \n if (element.equals(\"phone\")) {\n phones.put(\"S\"+x, phone);\n x++;\n\n return;\n }\n if (element.equalsIgnoreCase(\"phoneImage\")) {\n phone.setImage(elementValueRead);\n\n return;\n }\n if (element.equalsIgnoreCase(\"phoneName\")) {\n phone.setName(elementValueRead);\n\n return;\n }\n if (element.equalsIgnoreCase(\"phoneCompany\")) {\n phone.setCompany(elementValueRead);\n\n return;\n }\n if (element.equalsIgnoreCase(\"phoneCondition\")) {\n phone.setCondition(elementValueRead);\n\n return;\n }\n if(element.equalsIgnoreCase(\"phonePrice\")){\n phone.setPrice(Float.parseFloat(elementValueRead));\n\n return;\n }\n if(element.equalsIgnoreCase(\"phoneColor\")){\n phone.setColor(elementValueRead);\n \n return;\n }\n if(element.equalsIgnoreCase(\"phoneDescription\")){\n phone.setDescription(elementValueRead);\n return;\n }\n\t\t\nif(element.equalsIgnoreCase(\"phoneQuantity\")){\n phone.setQty(Integer.parseInt(elementValueRead));\n return;\n }\n \n if(element.equalsIgnoreCase(\"phoneRebate\")){\n phone.setRebate(elementValueRead);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"phoneRebateName\")){\n phone.setRebateName(elementValueRead);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"phoneOriginal\")){\n phone.setOriginal(Float.parseFloat(elementValueRead));\n\t\t\t\n\t return;\n }\n\t\tif(element.equalsIgnoreCase(\"phoneSale\")){\n phone.setSale(elementValueRead);\n return;\n }\n//Fetching values of Smart Watches\n\n if (element.equals(\"smartwatch\")) {\n smartwatches.put(\"T\"+y, watch);\n y++;\n return;\n }\n if (element.equalsIgnoreCase(\"watchImage\")) {\n watch.setImage(elementValueRead);\n return;\n }\n if (element.equalsIgnoreCase(\"watchName\")) {\n watch.setName(elementValueRead);\n return;\n }\n if (element.equalsIgnoreCase(\"watchCompany\")) {\n watch.setCompany(elementValueRead);\n return;\n }\n if (element.equalsIgnoreCase(\"watchCondition\")) {\n watch.setCondition(elementValueRead);\n return;\n }\n if(element.equalsIgnoreCase(\"watchPrice\")){\n watch.setPrice(Float.parseFloat(elementValueRead));\n return;\n }\n if(element.equalsIgnoreCase(\"watchColor\")){\n watch.setColor(elementValueRead);\n return;\n }\n if(element.equalsIgnoreCase(\"watchDescription\")){\n watch.setDescription(elementValueRead);\n //watches.put(\"T\", watch);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"watchQuantity\")){\n watch.setQty(Integer.parseInt(elementValueRead));\n return;\n }\n if(element.equalsIgnoreCase(\"watchRebate\")){\n watch.setRebate(elementValueRead);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"watchRebateName\")){\n watch.setRebateName(elementValueRead);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"watchOriginal\")){\n watch.setOriginal(Float.parseFloat(elementValueRead));\n\t\t\t\n\t return;\n }\n\t\tif(element.equalsIgnoreCase(\"watchSale\")){\n watch.setSale(elementValueRead);\n return;\n }\n \n// Fetching values of Laptops\n\n if (element.equals(\"laptop\")) {\n laptops.put(\"L\"+z, laptop);\n z++;\n return;\n }\n if (element.equalsIgnoreCase(\"laptopImage\")) {\n laptop.setImage(elementValueRead);\n return;\n }\n if (element.equalsIgnoreCase(\"laptopName\")) {\n laptop.setName(elementValueRead);\n return;\n }\n if (element.equalsIgnoreCase(\"laptopCompany\")) {\n laptop.setCompany(elementValueRead);\n return;\n }\n if (element.equalsIgnoreCase(\"laptopCondition\")) {\n laptop.setCondition(elementValueRead);\n return;\n }\n if(element.equalsIgnoreCase(\"laptopPrice\")){\n laptop.setPrice(Float.parseFloat(elementValueRead));\n return;\n }\n if(element.equalsIgnoreCase(\"laptopColor\")){\n laptop.setColor(elementValueRead);\n return;\n }\n if(element.equalsIgnoreCase(\"laptopDescription\")){\n laptop.setDescription(elementValueRead);\n //laptops.put(\"L\", laptop);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"laptopQuantity\")){\n laptop.setQty(Integer.parseInt(elementValueRead));\n return;\n }\n if(element.equalsIgnoreCase(\"laptopRebate\")){\n laptop.setRebate(elementValueRead);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"laptopRebateName\")){\n laptop.setRebateName(elementValueRead);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"laptopOriginal\")){\n laptop.setOriginal(Float.parseFloat(elementValueRead));\n\t\t\t\n\t return;\n }\n\t\tif(element.equalsIgnoreCase(\"laptopSale\")){\n laptop.setSale(elementValueRead);\n return;\n }\n\n\n// Fetching values of Speakers\n\n\n\n if (element.equals(\"speaker\")) {\n speakers.put(\"S\"+s, speaker);\n s++;\n return;\n }\n if (element.equalsIgnoreCase(\"speakerImage\")) {\n speaker.setImage(elementValueRead);\n return;\n }\n if (element.equalsIgnoreCase(\"speakerName\")) {\n speaker.setName(elementValueRead);\n return;\n }\n if (element.equalsIgnoreCase(\"speakerCompany\")) {\n speaker.setCompany(elementValueRead);\n return;\n }\n if (element.equalsIgnoreCase(\"speakerCondition\")) {\n speaker.setCondition(elementValueRead);\n return;\n }\n if(element.equalsIgnoreCase(\"speakerPrice\")){\n speaker.setPrice(Float.parseFloat(elementValueRead));\n return;\n }\n if(element.equalsIgnoreCase(\"speakerColor\")){\n speaker.setColor(elementValueRead);\n return;\n }\n if(element.equalsIgnoreCase(\"speakerDescription\")){\n speaker.setDescription(elementValueRead);\n //speakers.put(\"Tv\", speaker);\n return;\n }\n if(element.equalsIgnoreCase(\"speakerQuantity\")){\n speaker.setQty(Integer.parseInt(elementValueRead));\n return;\n }\nif(element.equalsIgnoreCase(\"speakerRebate\")){\n speaker.setRebate(elementValueRead);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"speakerRebateName\")){\n speaker.setRebateName(elementValueRead);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"speakerOriginal\")){\n speaker.setOriginal(Float.parseFloat(elementValueRead));\n\t\t\t\n\t return;\n }\n\t\tif(element.equalsIgnoreCase(\"speakerSale\")){\n speaker.setSale(elementValueRead);\n return;\n }\n\n\nif (element.equals(\"headphone\")) {\n headphones.put(\"H\"+h, headphone);\n h++;\n return;\n }\n if (element.equalsIgnoreCase(\"headphoneImage\")) {\n headphone.setImage(elementValueRead);\n return;\n }\n if (element.equalsIgnoreCase(\"headphoneName\")) {\n headphone.setName(elementValueRead);\n return;\n }\n if (element.equalsIgnoreCase(\"headphoneCompany\")) {\n headphone.setCompany(elementValueRead);\n return;\n }\n if (element.equalsIgnoreCase(\"headphoneCondition\")) {\n headphone.setCondition(elementValueRead);\n return;\n }\n if(element.equalsIgnoreCase(\"headphonePrice\")){\n headphone.setPrice(Float.parseFloat(elementValueRead));\n return;\n }\n if(element.equalsIgnoreCase(\"headphoneColor\")){\n headphone.setColor(elementValueRead);\n return;\n }\n if(element.equalsIgnoreCase(\"headphoneDescription\")){\n headphone.setDescription(elementValueRead);\n //speakers.put(\"Tv\", speaker);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"headphoneQuantity\")){\n headphone.setQty(Integer.parseInt(elementValueRead));\n return;\n }\n if(element.equalsIgnoreCase(\"headphoneRebate\")){\n headphone.setRebate(elementValueRead);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"headphoneRebateName\")){\n headphone.setRebateName(elementValueRead);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"headphoneOriginal\")){\n headphone.setOriginal(Float.parseFloat(elementValueRead));\n\t\t\t\n\t return;\n }\n\t\tif(element.equalsIgnoreCase(\"headphoneSale\")){\n headphone.setSale(elementValueRead);\n return;\n }\n\t\t\n\t\t\nif (element.equals(\"externalstorage\")) {\n externalstorages.put(\"E\"+e, externalstorage);\n e++;\n return;\n }\n if (element.equalsIgnoreCase(\"externalstorageImage\")) {\n externalstorage.setImage(elementValueRead);\n return;\n }\n if (element.equalsIgnoreCase(\"externalstorageName\")) {\n externalstorage.setName(elementValueRead);\n return;\n }\n if (element.equalsIgnoreCase(\"externalstorageCompany\")) {\n externalstorage.setCompany(elementValueRead);\n return;\n }\n if (element.equalsIgnoreCase(\"externalstorageCondition\")) {\n externalstorage.setCondition(elementValueRead);\n return;\n }\n if(element.equalsIgnoreCase(\"externalstoragePrice\")){\n externalstorage.setPrice(Float.parseFloat(elementValueRead));\n return;\n }\n if(element.equalsIgnoreCase(\"externalstorageColor\")){\n externalstorage.setColor(elementValueRead);\n return;\n }\n if(element.equalsIgnoreCase(\"externalstorageDescription\")){\n externalstorage.setDescription(elementValueRead);\n //speakers.put(\"Tv\", speaker);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"externalstorageQuantity\")){\n externalstorage.setQty(Integer.parseInt(elementValueRead));\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"externalstorageRebate\")){\n externalstorage.setRebate(elementValueRead);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"externalstorageRebateName\")){\n externalstorage.setRebateName(elementValueRead);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"externalstorageOriginal\")){\n externalstorage.setOriginal(Float.parseFloat(elementValueRead));\n\t\t\t\n\t return;\n }\n\t\tif(element.equalsIgnoreCase(\"externalstorageSale\")){\n externalstorage.setSale(elementValueRead);\n return;\n }\n\t\t\n\t\t\n\t\t\n if (element.equals(\"accessory\")) {\n\t\t\taccessories.put(\"A\"+a, accessory);\n\t\t\ta++;\n\t\t\t\n\t return;\n }\n if (element.equalsIgnoreCase(\"accessoryImage\")) {\n accessory.setImage(elementValueRead);\n\t\t\n\t return;\n }\n if (element.equalsIgnoreCase(\"accessoryName\")) {\n accessory.setName(elementValueRead);\n\t\t\t\n\t return;\n }\n\t\tif (element.equalsIgnoreCase(\"accessoryCompany\")) {\n accessory.setCompany(elementValueRead);\n\t\t\t\n\t return;\n }\n\t\tif (element.equalsIgnoreCase(\"accessoryCondition\")) {\n accessory.setCondition(elementValueRead);\n\t\t\t\n\t return;\n }\n\t\tif(element.equalsIgnoreCase(\"accessoryPrice\")){\n accessory.setPrice(Float.parseFloat(elementValueRead));\n\t\t\t\n\t return;\n }\n if(element.equalsIgnoreCase(\"accessoryColor\")){\n accessory.setColor(elementValueRead);\n\t\t \n\t return;\n }\n\t\tif(element.equalsIgnoreCase(\"accessoryDescription\")){\n accessory.setDescription(elementValueRead);\n\t return;\n }\n\t\tif(element.equalsIgnoreCase(\"accessoryQuantity\")){\n accessory.setQty(Integer.parseInt(elementValueRead));\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"accessoryRebate\")){\n accessory.setRebate(elementValueRead);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"accessoryRebateName\")){\n accessory.setRebateName(elementValueRead);\n return;\n }\n\t\tif(element.equalsIgnoreCase(\"accessoryOriginal\")){\n accessory.setOriginal(Float.parseFloat(elementValueRead));\n\t\t\t\n\t return;\n }\n\t\tif(element.equalsIgnoreCase(\"accessorySale\")){\n accessory.setSale(elementValueRead);\n return;\n }\n\t\t\n\t\t\n\t\t\n\t}",
"private String getValueFromXPath(HtmlPage appPage, String xPath) throws Exception {\n\t\treturn ((HtmlElement) appPage.getByXPath(xPath).get(0)).asText();\n\t}",
"public Item evaluateItem(XPathContext xpathContext) throws XPathException\n \t{\n \t\tXPathFunctionContext functionContext = getFunctionContext(xpathContext);\n \n \t\tif (functionContext != null)\n \t\t{\n Item item = argument[0].evaluateItem(xpathContext);\n \n if (item != null) {\n Node node = (Node) ((NodeWrapper) item).getUnderlyingNode();\n \n NamedNodeMap namedNodeMap = node.getAttributes();\n StringBuffer props = new StringBuffer(\"{\");\n \n for (int i = 0;i <namedNodeMap.getLength(); i++) {\n Attr attributeNode = (Attr) namedNodeMap.item(i);\n props.append(\"\\\"\" + attributeNode.getName() + \"\\\"\");\n props.append(\":\");\n props.append(\"\\\"\" + attributeNode.getValue() + \"\\\"\");\n props.append(',');\n }\n \n props.deleteCharAt(props.length()-1);\n \n props.append(\"}\");\n \n \n return new StringValue(props.toString());\n \t\t\t}\n \t\t}\n \t\treturn new StringValue(\"{}\");\n \t}",
"java.lang.String getData();",
"private void parsePrivate(String xmlString) throws XmlPullParserException,\n IOException\n {\n if (xmlString == null || xmlString.length() == 0)\n return;\n\n XmlPullParserFactory factory = XmlPullParserFactory.newInstance();\n // factory.setNamespaceAware(true);\n XmlPullParser xpp = factory.newPullParser();\n\n xpp.setInput(new StringReader(xmlString));\n int eventType = xpp.getEventType();\n while (eventType != XmlPullParser.END_DOCUMENT)\n {\n if (eventType == XmlPullParser.START_DOCUMENT)\n {\n Log.v(TAG, \"Start document\");\n }\n else if (eventType == XmlPullParser.START_TAG)\n {\n String name = xpp.getName();\n //Log.v(TAG, \"Start tag: \" + name);\n if (name.equalsIgnoreCase(TEMPERATURE))\n {\n String attrValue = readAttributeValue(xpp, \"type\",\n INVALID);\n if (attrValue.equalsIgnoreCase(MAXIMUM))\n readMaxTemperatureValues(xpp);\n else if (attrValue.equalsIgnoreCase(MINIMUM))\n readMinTemperatureValues(xpp);\n }\n else if (name.equalsIgnoreCase(WEATHER))\n {\n readWeatherConditions(xpp);\n }\n else if (name.equalsIgnoreCase(CONDITIONS_ICON))\n {\n readIconLinks(xpp);\n }\n }\n eventType = xpp.next();\n }\n }",
"public void startElement(String uri, String localName,String qName,\n Attributes attributes) throws SAXException {\n\n if(qName.equalsIgnoreCase(\"sce:PLPExtract\") | (qName.equalsIgnoreCase(\"sce:Payload\"))\n | (qName.equalsIgnoreCase(\"sce:Header\"))) {\n return;\n }\n\n builder.append(\"<\").append(qName).append(\">\");\n\n if (qName.equalsIgnoreCase(\"sce:mRID\")) {\n mRID = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:aliasName\")) {\n aliasName = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:name\")) {\n name = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:grandFatherFlag\")) {\n grandFather = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:type\")) {\n pType = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:value\")) {\n value = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:baseKind\")) {\n baseKind = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:classification\")) {\n classification = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:unit\")) {\n unit = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:speciesType\")) {\n speciesT = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:rSMVal\")) {\n rSMVal = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:specialProjectName\")) {\n specialProj = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:currentRating\")) {\n cRating = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:inServiceRating\")) {\n iRating = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:highWindFlag\")) {\n highWind = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:highFireFlag\")) {\n highFire = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:srsName\")) {\n srsName = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:xPosition\")) {\n xPos = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:yPosition\")) {\n yPos = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:description\")) {\n desc = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:street\")) {\n street = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:city\")) {\n city = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:mapRefNumber\")) {\n mapRef = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:installationDate\")) {\n installDate = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:symbolRef\")) {\n symbolRef = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:orientation\")) {\n orientation = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:substationMRID\")) {\n substationMRID = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:owner\")) {\n owner = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:ownerType\")) {\n ownerType = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:ratedVoltage\")) {\n ratedVoltage = true;\n }\n\n if (qName.equalsIgnoreCase(\"gml:pos\")) {\n pos = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:bundleType\")) {\n bundleType = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:circuitName\")) {\n circuitName = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:circuitSection\")) {\n circuitSection = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:material\")) {\n material = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:size\")) {\n size = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:quantity\")) {\n quantity = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:phase\")) {\n phase = true;\n }\n\n if (qName.equalsIgnoreCase(\"gml:posList\")) {\n posList = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:no_of_wires\")) {\n no_of_wires = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:commIndicator\")) {\n commIndicator = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:structureID\")) {\n structureID = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:strucRefMRID\")) {\n strucRefMRID = true;\n }\n\n if (qName.equalsIgnoreCase(\"sce:serviceType\")) {\n serviceType = true;\n }\n\n }",
"protected Object parseValue (String value)\n throws Exception\n {\n return value;\n }",
"public static HelloAuthenticatedWithEntitlementPrecheck parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\n HelloAuthenticatedWithEntitlementPrecheck object =\n new HelloAuthenticatedWithEntitlementPrecheck();\n\n int event;\n java.lang.String nillableValue = null;\n java.lang.String prefix =\"\";\n java.lang.String namespaceuri =\"\";\n try {\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n\n \n if (reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"type\")!=null){\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\n \"type\");\n if (fullTypeName!=null){\n java.lang.String nsPrefix = null;\n if (fullTypeName.indexOf(\":\") > -1){\n nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(\":\"));\n }\n nsPrefix = nsPrefix==null?\"\":nsPrefix;\n\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\":\")+1);\n \n if (!\"helloAuthenticatedWithEntitlementPrecheck\".equals(type)){\n //find namespace for the prefix\n java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix);\n return (HelloAuthenticatedWithEntitlementPrecheck)ExtensionMapper.getTypeObject(\n nsUri,type,reader);\n }\n \n\n }\n \n\n }\n\n \n\n \n // Note all attributes that were handled. Used to differ normal attributes\n // from anyAttributes.\n java.util.Vector handledAttributes = new java.util.Vector();\n \n\n \n \n reader.next();\n \n \n while (!reader.isStartElement() && !reader.isEndElement()) reader.next();\n \n if (reader.isStartElement() && new javax.xml.namespace.QName(\"http://ws.sample\",\"param0\").equals(reader.getName())){\n \n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"nil\");\n if (!\"true\".equals(nillableValue) && !\"1\".equals(nillableValue)){\n \n java.lang.String content = reader.getElementText();\n \n object.setParam0(\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));\n \n } else {\n \n \n reader.getElementText(); // throw away text nodes if any.\n }\n \n reader.next();\n \n } // End of if for expected property start element\n \n else {\n \n }\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n \n if (reader.isStartElement())\n // A start element we are not expecting indicates a trailing invalid property\n throw new org.apache.axis2.databinding.ADBException(\"Unexpected subelement \" + reader.getLocalName());\n \n\n\n\n } catch (javax.xml.stream.XMLStreamException e) {\n throw new java.lang.Exception(e);\n }\n\n return object;\n }",
"List<LoggingEvent> parse(String xml) throws ParseException;",
"@Override\n public void characters(char[] ch, int start, int length)\n throws SAXException{\n super.characters(ch, start, length);\n if(length<=0)\n return;\n for(int i=start; i<start+length; i++){\n if(ch[i]=='\\n')\n return;\n }\n\n String str=new String(ch,start,length);\n switch (tagName)\n {\n case \"key\":wordValue.setWord(str); break;\n case \"ps\": if(wordValue.getPsE().length()<=0)\n wordValue.setPsE(str);\n else wordValue.setPsA(str);\n break;\n case \"pron\":if(wordValue.getPronE().length()<=0)\n wordValue.setPronE(str);\n else wordValue.setPronA(str);\n break;\n case \"pos\":isChinese=false;\n interpret+=str+\" \";\n break;\n case \"acceptation\":interpret+=str+\"\\n\";\n interpret=wordValue.getInterpret()+interpret;\n wordValue.setInterpret(interpret);\n interpret=\"\";\n break;\n case \"orig\":orig=wordValue.getSentOrig();\n wordValue.setSentOrig(orig+str+\"\\n\");\n break;\n case \"trans\":trans=wordValue.getSentTrans();\n wordValue.setSentTrans(trans+str+\"\\n\");\n break;\n case \"fy\":isChinese=true;\n wordValue.setInterpret(str);\n }\n }",
"public static GetVehicleInfoPage parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\n GetVehicleInfoPage object =\n new GetVehicleInfoPage();\n\n int event;\n java.lang.String nillableValue = null;\n java.lang.String prefix =\"\";\n java.lang.String namespaceuri =\"\";\n try {\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n\n \n if (reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"type\")!=null){\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\n \"type\");\n if (fullTypeName!=null){\n java.lang.String nsPrefix = null;\n if (fullTypeName.indexOf(\":\") > -1){\n nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(\":\"));\n }\n nsPrefix = nsPrefix==null?\"\":nsPrefix;\n\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\":\")+1);\n \n if (!\"getVehicleInfoPage\".equals(type)){\n //find namespace for the prefix\n java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix);\n return (GetVehicleInfoPage)ExtensionMapper.getTypeObject(\n nsUri,type,reader);\n }\n \n\n }\n \n\n }\n\n \n\n \n // Note all attributes that were handled. Used to differ normal attributes\n // from anyAttributes.\n java.util.Vector handledAttributes = new java.util.Vector();\n \n\n \n \n reader.next();\n \n \n while (!reader.isStartElement() && !reader.isEndElement()) reader.next();\n \n if (reader.isStartElement() && new javax.xml.namespace.QName(\"http://impl.thirdsdk.api.pms.cms.hikvision.com\",\"requestXml\").equals(reader.getName())){\n \n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"nil\");\n if (!\"true\".equals(nillableValue) && !\"1\".equals(nillableValue)){\n \n java.lang.String content = reader.getElementText();\n \n object.setRequestXml(\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));\n \n } else {\n \n \n reader.getElementText(); // throw away text nodes if any.\n }\n \n reader.next();\n \n } // End of if for expected property start element\n \n else {\n \n }\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n \n if (reader.isStartElement())\n // A start element we are not expecting indicates a trailing invalid property\n throw new org.apache.axis2.databinding.ADBException(\"Unexpected subelement \" + reader.getLocalName());\n \n\n\n\n } catch (javax.xml.stream.XMLStreamException e) {\n throw new java.lang.Exception(e);\n }\n\n return object;\n }",
"@Override\n public void onNext(String value) {\n\n }",
"public static GetVehicleRecordPage parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\n GetVehicleRecordPage object =\n new GetVehicleRecordPage();\n\n int event;\n java.lang.String nillableValue = null;\n java.lang.String prefix =\"\";\n java.lang.String namespaceuri =\"\";\n try {\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n\n \n if (reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"type\")!=null){\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\n \"type\");\n if (fullTypeName!=null){\n java.lang.String nsPrefix = null;\n if (fullTypeName.indexOf(\":\") > -1){\n nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(\":\"));\n }\n nsPrefix = nsPrefix==null?\"\":nsPrefix;\n\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\":\")+1);\n \n if (!\"getVehicleRecordPage\".equals(type)){\n //find namespace for the prefix\n java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix);\n return (GetVehicleRecordPage)ExtensionMapper.getTypeObject(\n nsUri,type,reader);\n }\n \n\n }\n \n\n }\n\n \n\n \n // Note all attributes that were handled. Used to differ normal attributes\n // from anyAttributes.\n java.util.Vector handledAttributes = new java.util.Vector();\n \n\n \n \n reader.next();\n \n \n while (!reader.isStartElement() && !reader.isEndElement()) reader.next();\n \n if (reader.isStartElement() && new javax.xml.namespace.QName(\"http://impl.thirdsdk.api.pms.cms.hikvision.com\",\"requestXml\").equals(reader.getName())){\n \n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"nil\");\n if (!\"true\".equals(nillableValue) && !\"1\".equals(nillableValue)){\n \n java.lang.String content = reader.getElementText();\n \n object.setRequestXml(\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));\n \n } else {\n \n \n reader.getElementText(); // throw away text nodes if any.\n }\n \n reader.next();\n \n } // End of if for expected property start element\n \n else {\n \n }\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n \n if (reader.isStartElement())\n // A start element we are not expecting indicates a trailing invalid property\n throw new org.apache.axis2.databinding.ADBException(\"Unexpected subelement \" + reader.getLocalName());\n \n\n\n\n } catch (javax.xml.stream.XMLStreamException e) {\n throw new java.lang.Exception(e);\n }\n\n return object;\n }",
"private String getValueFromXPathAndDescendants(HtmlPage appPage, String xPath) throws Exception {\n\t\treturn ((HtmlElement) appPage.getByXPath(xPath).get(0)).getTextContent();\n\t}",
"@Test\n public void testParseString() {\n /** Create a UIParser and string to test\n * \n */\n UIParser uiParserTest = new UIParser();\n String input = \"<html><head></head><body>test message</body></html>\";\n \n /**Use UIParser to parse string and test test that it is not null.\n * \n * \n */\n Document doc = uiParserTest.parse(input);\n assertNotNull(doc);\n \n /**Use doc to get documentElement and test that it is not null.\n * \n */\n Element html = doc.documentElement();\n assertNotNull(html);\n \n /** Test whether the tag Name is correct\n * \n */\n assertEquals(\"tagName of root element should be <html>\", \"html\", html.tagName());\n \n /**Get the child list of documentElement and test whether the child count correct \n * \n */\n NodeList list = html.childNodes();\n assertEquals(\"list length should be one\",list.length(),2);\n \n /**Get the first child and test whether the node name is correct.\n * \n */\n Node head = list.item(0);\n assertEquals(\"first child of <html> should be <head>\", \"head\", head.nodeName());\n \n /**Get the second child and test whether the node name is correct.\n * \n */\n Node body = list.item(1);\n assertEquals(\"second child of <html> should be <body>\", \"body\", body.nodeName()); \n \n /**Get the childlist of second component and test whether the count of list is correct.\n * \n */\n NodeList bodyChildList = body.childNodes();\n assertEquals(\"list length should be one\",bodyChildList.length(),1);\n \n /**Get the grandchild of second child and test whether the nodeType and node Value are correct. \n * \n */\n Node bodyChild = bodyChildList.item(0);\n assertEquals(\"type of first child of <body> should be TEXT_NODE\", Node.TEXT_NODE, bodyChild.nodeType());\n assertEquals(\"value of first child of <employ> should be test message\", \"test message\", bodyChild.nodeValue());\n \n }",
"@Test\n public final void testGetXPathWithSpacedText() {\n \n Document testDoc = TestDocHelper.createDocument(\n \"<a>x<b>4</b>y</a>\");\n Element docEl = testDoc.getDocumentElement();\n \n //Move to beforeclass method\n XPathFactory xPathFac = XPathFactory.newInstance();\n XPath xpathExpr = xPathFac.newXPath();\n \n testXPathForNode(docEl, xpathExpr);\n testXPathForNode(docEl.getFirstChild(), xpathExpr);\n }",
"@Override\n\t\tpublic void processingInstruction(String target, String data)\n\t\t\t\tthrows SAXException {\n\t\t\t\n\t\t}",
"public static HelloAuthenticatedWithEntitlements parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\n HelloAuthenticatedWithEntitlements object =\n new HelloAuthenticatedWithEntitlements();\n\n int event;\n java.lang.String nillableValue = null;\n java.lang.String prefix =\"\";\n java.lang.String namespaceuri =\"\";\n try {\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n\n \n if (reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"type\")!=null){\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\n \"type\");\n if (fullTypeName!=null){\n java.lang.String nsPrefix = null;\n if (fullTypeName.indexOf(\":\") > -1){\n nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(\":\"));\n }\n nsPrefix = nsPrefix==null?\"\":nsPrefix;\n\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\":\")+1);\n \n if (!\"helloAuthenticatedWithEntitlements\".equals(type)){\n //find namespace for the prefix\n java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix);\n return (HelloAuthenticatedWithEntitlements)ExtensionMapper.getTypeObject(\n nsUri,type,reader);\n }\n \n\n }\n \n\n }\n\n \n\n \n // Note all attributes that were handled. Used to differ normal attributes\n // from anyAttributes.\n java.util.Vector handledAttributes = new java.util.Vector();\n \n\n \n \n reader.next();\n \n \n while (!reader.isStartElement() && !reader.isEndElement()) reader.next();\n \n if (reader.isStartElement() && new javax.xml.namespace.QName(\"http://ws.sample\",\"param0\").equals(reader.getName())){\n \n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"nil\");\n if (!\"true\".equals(nillableValue) && !\"1\".equals(nillableValue)){\n \n java.lang.String content = reader.getElementText();\n \n object.setParam0(\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));\n \n } else {\n \n \n reader.getElementText(); // throw away text nodes if any.\n }\n \n reader.next();\n \n } // End of if for expected property start element\n \n else {\n \n }\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n \n if (reader.isStartElement())\n // A start element we are not expecting indicates a trailing invalid property\n throw new org.apache.axis2.databinding.ADBException(\"Unexpected subelement \" + reader.getLocalName());\n \n\n\n\n } catch (javax.xml.stream.XMLStreamException e) {\n throw new java.lang.Exception(e);\n }\n\n return object;\n }",
"public String getXPath() {\n return xPathStr;\n }",
"private void testStringArray() {\n\t\tMessage message = Message.createMessage(getId(), \"Triggers\");\n\t\tString array[] = { \"Gimme\", \"a\", \"break\", \"dude\" };\n\t\tmessage.setPayload(array);\n\t\tsend(message);\n\t}",
"public void startContent() throws XPathException {\r\n nextReceiver.startElement(elementNameCode, elementProperties);\r\n\r\n final int length = bufferedAttributes.getLength();\r\n for (int i=0; i<length; i++) {\r\n nextReceiver.attribute(bufferedAttributes.getNameCode(i),\r\n bufferedAttributes.getValue(i)\r\n );\r\n }\r\n for (NamespaceBinding nb : bufferedNamespaces) {\r\n nextReceiver.namespace(nb, 0);\r\n }\r\n\r\n nextReceiver.startContent();\r\n }",
"@Test\n\tpublic void stringFilterTest(){\n\t\t\n\t\tList<IElement> result = filter.process(elements);\n\t\t\n\t\tAssert.assertNotNull(\"The result of filter is null!\",result);\n\t\tAssert.assertEquals(\"More results than expected, filter execution fail.\",\n\t\t\t\texpectedResultNum.intValue(),result.size());\n\t\t\n\t\t\n\t}",
"public static HelloAuthenticated parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\n HelloAuthenticated object =\n new HelloAuthenticated();\n\n int event;\n java.lang.String nillableValue = null;\n java.lang.String prefix =\"\";\n java.lang.String namespaceuri =\"\";\n try {\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n\n \n if (reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"type\")!=null){\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\n \"type\");\n if (fullTypeName!=null){\n java.lang.String nsPrefix = null;\n if (fullTypeName.indexOf(\":\") > -1){\n nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(\":\"));\n }\n nsPrefix = nsPrefix==null?\"\":nsPrefix;\n\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\":\")+1);\n \n if (!\"helloAuthenticated\".equals(type)){\n //find namespace for the prefix\n java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix);\n return (HelloAuthenticated)ExtensionMapper.getTypeObject(\n nsUri,type,reader);\n }\n \n\n }\n \n\n }\n\n \n\n \n // Note all attributes that were handled. Used to differ normal attributes\n // from anyAttributes.\n java.util.Vector handledAttributes = new java.util.Vector();\n \n\n \n \n reader.next();\n \n \n while (!reader.isStartElement() && !reader.isEndElement()) reader.next();\n \n if (reader.isStartElement() && new javax.xml.namespace.QName(\"http://ws.sample\",\"param0\").equals(reader.getName())){\n \n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"nil\");\n if (!\"true\".equals(nillableValue) && !\"1\".equals(nillableValue)){\n \n java.lang.String content = reader.getElementText();\n \n object.setParam0(\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));\n \n } else {\n \n \n reader.getElementText(); // throw away text nodes if any.\n }\n \n reader.next();\n \n } // End of if for expected property start element\n \n else {\n \n }\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n \n if (reader.isStartElement())\n // A start element we are not expecting indicates a trailing invalid property\n throw new org.apache.axis2.databinding.ADBException(\"Unexpected subelement \" + reader.getLocalName());\n \n\n\n\n } catch (javax.xml.stream.XMLStreamException e) {\n throw new java.lang.Exception(e);\n }\n\n return object;\n }",
"private ArrayList<?> ParseXMLResponse(StringBuilder response, IDataInterface myHandler){\n \t\t SAXParserFactory spf = SAXParserFactory.newInstance();\n \t\t try {\n \t\t\tSAXParser sp = spf.newSAXParser();\n \t\t\tXMLReader xr = sp.getXMLReader();\n \t\t\t\n \t\t\txr.setContentHandler((ContentHandler) myHandler);\n \t\t\tInputSource is = new InputSource();\n \t\t\tis.setCharacterStream(new StringReader(response.toString()));\n \t\t\txr.parse(is);\n \t\t\t\n \t\t} catch (ParserConfigurationException e) {\n \t\t\te.printStackTrace();\n \t\t} catch (SAXException e) {\n \t\t\te.printStackTrace();\n \t\t} catch (IOException e) {\n \t\t\te.printStackTrace();\n \t\t}\n \t\treturn myHandler.getData();\n \t}",
"public static GetDirectSrvInfo parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\n GetDirectSrvInfo object =\n new GetDirectSrvInfo();\n\n int event;\n java.lang.String nillableValue = null;\n java.lang.String prefix =\"\";\n java.lang.String namespaceuri =\"\";\n try {\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n\n \n if (reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"type\")!=null){\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\n \"type\");\n if (fullTypeName!=null){\n java.lang.String nsPrefix = null;\n if (fullTypeName.indexOf(\":\") > -1){\n nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(\":\"));\n }\n nsPrefix = nsPrefix==null?\"\":nsPrefix;\n\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\":\")+1);\n \n if (!\"getDirectSrvInfo\".equals(type)){\n //find namespace for the prefix\n java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix);\n return (GetDirectSrvInfo)ExtensionMapper.getTypeObject(\n nsUri,type,reader);\n }\n \n\n }\n \n\n }\n\n \n\n \n // Note all attributes that were handled. Used to differ normal attributes\n // from anyAttributes.\n java.util.Vector handledAttributes = new java.util.Vector();\n \n\n \n \n reader.next();\n \n \n while (!reader.isStartElement() && !reader.isEndElement()) reader.next();\n \n if (reader.isStartElement() && new javax.xml.namespace.QName(\"\",\"requestXml\").equals(reader.getName())){\n \n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"nil\");\n if (\"true\".equals(nillableValue) || \"1\".equals(nillableValue)){\n object.setRequestXml(null);\n reader.next();\n \n reader.next();\n \n }else{\n \n object.setRequestXml(org.apache.axis2.databinding.types.soapencoding.String.Factory.parse(reader));\n \n reader.next();\n }\n } // End of if for expected property start element\n \n else{\n // A start element we are not expecting indicates an invalid parameter was passed\n throw new org.apache.axis2.databinding.ADBException(\"Unexpected subelement \" + reader.getName());\n }\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n \n if (reader.isStartElement())\n // A start element we are not expecting indicates a trailing invalid property\n throw new org.apache.axis2.databinding.ADBException(\"Unexpected subelement \" + reader.getName());\n \n\n\n\n } catch (javax.xml.stream.XMLStreamException e) {\n throw new java.lang.Exception(e);\n }\n\n return object;\n }",
"@Override\n\tpublic void startElement(String uri, String localName, String qName, Attributes atts) {\n\t\tchars = new StringBuffer();\n\t}",
"@Override\n public void handleString(String s) {\n\n }",
"public static GetVehicleAlarmInfoPage parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\n GetVehicleAlarmInfoPage object =\n new GetVehicleAlarmInfoPage();\n\n int event;\n java.lang.String nillableValue = null;\n java.lang.String prefix =\"\";\n java.lang.String namespaceuri =\"\";\n try {\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n\n \n if (reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"type\")!=null){\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\n \"type\");\n if (fullTypeName!=null){\n java.lang.String nsPrefix = null;\n if (fullTypeName.indexOf(\":\") > -1){\n nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(\":\"));\n }\n nsPrefix = nsPrefix==null?\"\":nsPrefix;\n\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\":\")+1);\n \n if (!\"getVehicleAlarmInfoPage\".equals(type)){\n //find namespace for the prefix\n java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix);\n return (GetVehicleAlarmInfoPage)ExtensionMapper.getTypeObject(\n nsUri,type,reader);\n }\n \n\n }\n \n\n }\n\n \n\n \n // Note all attributes that were handled. Used to differ normal attributes\n // from anyAttributes.\n java.util.Vector handledAttributes = new java.util.Vector();\n \n\n \n \n reader.next();\n \n \n while (!reader.isStartElement() && !reader.isEndElement()) reader.next();\n \n if (reader.isStartElement() && new javax.xml.namespace.QName(\"http://impl.thirdsdk.api.pms.cms.hikvision.com\",\"requestXml\").equals(reader.getName())){\n \n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"nil\");\n if (!\"true\".equals(nillableValue) && !\"1\".equals(nillableValue)){\n \n java.lang.String content = reader.getElementText();\n \n object.setRequestXml(\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));\n \n } else {\n \n \n reader.getElementText(); // throw away text nodes if any.\n }\n \n reader.next();\n \n } // End of if for expected property start element\n \n else {\n \n }\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n \n if (reader.isStartElement())\n // A start element we are not expecting indicates a trailing invalid property\n throw new org.apache.axis2.databinding.ADBException(\"Unexpected subelement \" + reader.getLocalName());\n \n\n\n\n } catch (javax.xml.stream.XMLStreamException e) {\n throw new java.lang.Exception(e);\n }\n\n return object;\n }",
"@Override\n public Object xpathGet(String xpath) {\n if (xpath==null) {\n return null;\n }\n\n try {\n return fetchJXPathContext().getValue(XPath.xpath(xpath));\n } catch (JXPathException e) {\n throw new TypeXPathException(e);\n }\n }",
"public void xmlInputStream() {\n inputStream = context.getResources().openRawResource(R.raw.flowers_xml);\n //stringInputStream = convertInputStreamToString(inputStream);\n //System.out.println(\"------------ InputStream ------------\\n\" + stringInputStream);\n //------------------------------------------------------------------------------------------\n }"
]
| [
"0.57119626",
"0.53346527",
"0.5231553",
"0.51885176",
"0.5175024",
"0.51178914",
"0.5063916",
"0.50568926",
"0.50511104",
"0.5049206",
"0.5048258",
"0.5042182",
"0.49916545",
"0.49903318",
"0.49786225",
"0.49782532",
"0.49416155",
"0.4937257",
"0.49325275",
"0.49163878",
"0.49143243",
"0.49052918",
"0.48973778",
"0.4890702",
"0.48811114",
"0.48778838",
"0.48778838",
"0.48778838",
"0.48672205",
"0.48603803",
"0.4839701",
"0.48393512",
"0.48378867",
"0.4836398",
"0.48362592",
"0.4833544",
"0.48314768",
"0.4825005",
"0.4823554",
"0.4810109",
"0.48092604",
"0.4806144",
"0.48042643",
"0.4792943",
"0.47917542",
"0.4770338",
"0.47693443",
"0.47527334",
"0.47451398",
"0.47407883",
"0.47331822",
"0.47326565",
"0.47243622",
"0.4720946",
"0.47089252",
"0.47078124",
"0.47008583",
"0.46909815",
"0.46848068",
"0.4675458",
"0.46734738",
"0.4670709",
"0.46701142",
"0.46668914",
"0.46624103",
"0.46514577",
"0.46356398",
"0.46221504",
"0.4619419",
"0.4614134",
"0.46135348",
"0.46109024",
"0.46061006",
"0.46034366",
"0.46000245",
"0.45875156",
"0.4586106",
"0.4584928",
"0.45729226",
"0.45707092",
"0.45702124",
"0.45645994",
"0.45586148",
"0.45572597",
"0.45565566",
"0.45524764",
"0.4549306",
"0.45472652",
"0.4544461",
"0.45381808",
"0.45381263",
"0.45358902",
"0.4534247",
"0.45325956",
"0.4531739",
"0.45316333",
"0.4523658",
"0.45189694",
"0.4518958",
"0.45178986",
"0.45177618"
]
| 0.0 | -1 |
Creates new form MainFrame | public MainFrame() {
initComponents();
java.net.URL imgURL = getClass().getResource("/pkg4seqgui/images/dna.png");
ImageIcon image = new ImageIcon(imgURL);
DefaultTreeCellRenderer renderer =(DefaultTreeCellRenderer) AnalysisTree.getCellRenderer();
renderer.setLeafIcon(image);
imgURL = getClass().getResource("/pkg4seqgui/images/dna1.png");
ImageIcon image2 = new ImageIcon(imgURL);
renderer.setOpenIcon(image2);
expandAllNodes(AnalysisTree, 0, AnalysisTree.getRowCount());
//JTREE MULTIPLEFILE
//adding here all the textarea that must be maneged with right button mouse
//vRNAPanel
contextMenu.add(vThreadText);
contextMenu.add(vAdapter5Text);
contextMenu.add(vAdapter3Text);
contextMenu.add(vMinLengthText);
contextMenu.add(vOrganismText);
//indexingSTARPanel
contextMenu.add(iThreadText);
contextMenu.add(iGenomeURLText);
contextMenu.add(iGTFURLText);
//miRNAPanel
contextMenu.add(mmiRBaseText);
//PCA
contextMenu.add(pComponent1Text);
contextMenu.add(pComponent2Text);
//DES
contextMenu.add(dLog2fcText);
contextMenu.add(dFDRText);
//indexingBW
contextMenu.add(iThreadBText);
contextMenu.add(iGenomeURLBText);
//indexingSalmonPanel
contextMenu.add(iThreadSText);
contextMenu.add(iGenomeURLSText);
contextMenu.add(iGTFURLSText);
//countingSalmon
contextMenu.add(cThreadText);
contextMenu.add(cAdapter5Text);
contextMenu.add(cAdapter3Text);
contextMenu.add(cMinLengthText);
//filterCount
contextMenu.add(fFPKMfileText);
contextMenu.add(fOutputFolderText);
FPKMFileTable.getColumn("Folder").setPreferredWidth(1000);
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
String HorSplPan = getPreferences().get("4SeqGUI_HorizontalSplitPanel", null);
if (HorSplPan!=null){
HorizontalSplitPanel.setDividerLocation(Integer.valueOf(HorSplPan));
}
else{
HorizontalSplitPanel.setDividerLocation(screenSize.height*3/10);
}
String VerSplPan = getPreferences().get("4SeqGUI_VerticalSplitPanel", null);
if (VerSplPan!=null){
VerticalSplitPanel.setDividerLocation(Integer.valueOf(VerSplPan));
}
else {
VerticalSplitPanel.setDividerLocation(screenSize.height*7/10);
}
String WindowWidth= getPreferences().get("4SeqGUI_WindowWidth", null);
String WindowHeight= getPreferences().get("4SeqGUI_WindowHeight", null);
if ((WindowWidth!=null)&&(WindowHeight!=null)){
setSize(Integer.valueOf(WindowWidth),Integer.valueOf(WindowHeight));
}
else{
setSize(screenSize.width*95/100,screenSize.height*95/100);
}
//OUTPUT FRAME
int OutputframeWidth= Integer.valueOf(getPreferences().get("4SeqGUI_WindowOutputWidth", "0"));
int OutputframeHeight= Integer.valueOf(getPreferences().get("4SeqGUI_WindowOutputHeight", "0"));
if ((OutputframeWidth==0)||(OutputframeHeight==0)){
OutputframeWidth=screenSize.width*4/100;
OutputframeHeight=screenSize.height*5/100;
}
OutputFrame.setSize(OutputframeWidth,OutputframeHeight);
int DownloadframeWidth= Integer.valueOf(getPreferences().get("4SeqGUI_WindowDownloadWidth", "0"));
int DownloadframeHeight= Integer.valueOf(getPreferences().get("4SeqGUI_WindowDownloadHeight", "0"));
if ((DownloadframeWidth==0)||(DownloadframeHeight==0)){
DownloadframeWidth=screenSize.width*4/100;
DownloadframeHeight=screenSize.height*5/100;
}
DownloadFrame.setSize(DownloadframeWidth,DownloadframeHeight);
String WidthGroup = getPreferences().get("4SeqGUI_GroupCellWidth", null);
String WidthBatch = getPreferences().get("4SeqGUI_BatchCellWidth", null);
String WidthFolder = getPreferences().get("4SeqGUI_FolderCellWidth", null);
if ((WidthGroup!=null)&&(WidthBatch!=null)&&(WidthFolder!=null)){
FPKMFileTable.getColumnModel().getColumn(1).setPreferredWidth(Integer.valueOf(WidthGroup));
FPKMFileTable.getColumnModel().getColumn(2).setPreferredWidth(Integer.valueOf(WidthBatch));
FPKMFileTable.getColumnModel().getColumn(0).setPreferredWidth(Integer.valueOf(WidthFolder));
}
else
FPKMFileTable.getColumnModel().getColumn(1).setPreferredWidth(FPKMFileTable.getWidth()*10/100);
String WidthGroup1 = getPreferences().get("4SeqGUI_Group1CellWidth", null);
String WidthBatch1 = getPreferences().get("4SeqGUI_Batch1CellWidth", null);
String WidthHeader = getPreferences().get("4SeqGUI_HeaderCellWidth", null);
if ((WidthGroup1!=null)&&(WidthBatch1!=null)&&(WidthHeader!=null)){
CCountHeaderTable.getColumnModel().getColumn(1).setPreferredWidth(Integer.valueOf(WidthGroup1));
CCountHeaderTable.getColumnModel().getColumn(2).setPreferredWidth(Integer.valueOf(WidthBatch1));
CCountHeaderTable.getColumnModel().getColumn(0).setPreferredWidth(Integer.valueOf(WidthHeader));
}
else
CCountHeaderTable.getColumnModel().getColumn(1).setPreferredWidth(CCountHeaderTable.getWidth()*10/100);
setLocationRelativeTo(null);
invalidate();
doLayout();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void createMainframe()\n\t{\n\t\t//Creates the frame\n\t\tJFrame foodFrame = new JFrame(\"USDA Food Database\");\n\t\t//Sets up the frame\n\t\tfoodFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tfoodFrame.setSize(1000,750);\n\t\tfoodFrame.setResizable(false);\n\t\tfoodFrame.setIconImage(icon.getImage());\n\t\t\n\t\tGui gui = new Gui();\n\t\t\n\t\tgui.setOpaque(true);\n\t\tfoodFrame.setContentPane(gui);\n\t\t\n\t\tfoodFrame.setVisible(true);\n\t}",
"public MainFrame() {\n initComponents();\n \n }",
"public MainFrame() {\n\t\tsuper();\n\t\tinitialize();\n\t}",
"public Mainframe() {\n initComponents();\n }",
"public MainFrame() {\n initComponents();\n }",
"public MainFrame() {\n initComponents();\n }",
"public MainFrame() {\n initComponents();\n }",
"public MainFrame() {\n initComponents();\n }",
"public MainFrame() {\n initComponents();\n }",
"public MainFrame() {\n initComponents();\n }",
"public MainFrame() {\n initComponents();\n }",
"public MainFrame() {\n initComponents();\n }",
"public MainFrame() {\n initComponents();\n }",
"public MainFrame() {\n initComponents();\n }",
"public MainFrame() {\n initComponents();\n }",
"public MainFrame() {\n initComponents();\n }",
"public mainframe() {\n initComponents();\n }",
"public MainFrame() {\n initComponents();\n setLocationRelativeTo(null);\n }",
"public MainFrame() {\n initComponents();\n\n\n }",
"private void buildFrame() {\n String title = \"\";\n switch (formType) {\n case \"Add\":\n title = \"Add a new event\";\n break;\n case \"Edit\":\n title = \"Edit an existing event\";\n break;\n default:\n }\n frame.setTitle(title);\n frame.setResizable(false);\n frame.setPreferredSize(new Dimension(300, 350));\n frame.pack();\n frame.setLocationRelativeTo(null);\n frame.setVisible(true);\n\n frame.addWindowListener(new WindowAdapter() {\n @Override\n public void windowClosing(WindowEvent e) {\n // sets the main form to be visible if the event form was exited\n // and not completed.\n mainForm.getFrame().setEnabled(true);\n mainForm.getFrame().setVisible(true);\n }\n });\n }",
"public NewFrame() {\n initComponents();\n }",
"public MainFrame() {\n super(\"Gestione Concessionaria\");\n this.initComponents();\n this.generaFasciaPrezzo();\n this.pack();\n this.setLocationRelativeTo(null);\n this.initPanels();\n this.ToggleMenu.addActionListener(this);\n }",
"public MainFrame() {\n try {\n initComponents();\n initElements();\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, \"Error \" + e.getMessage());\n }\n }",
"private void makeGUI()\n {\n mainFrame = new JFrame();\n mainFrame.setPreferredSize(new Dimension(750,400));\n aw = new AccountWindow();\n mainFrame.add(aw);\n mainFrame.setVisible(true);\n mainFrame.pack();\n }",
"public JFrameMain() {\n initComponents();\n \n }",
"Frame createFrame();",
"public AddFrame(MainFrame parent) {\n this.parent = parent;\n initComponents();\n }",
"public MainFrame() {\n \n initComponents();\n \n this.initNetwork();\n \n this.render();\n \n }",
"public void run() {\r\n frame = new MainFrame(this);\r\n newAccountFrame = new NewAccountPage(this);\r\n \r\n frame.setVisible(true);\r\n }",
"public JFrameMain() {\n initComponents();\n }",
"public cinema_main_form() {\n \t\t\n \t\tmain_frame = new JFrame();//main frame\n\t\tmain_panel = new JPanel();//kedriko panel\n\t\t\n\t\t// Add the panel to the frame.\n\t\tmain_frame.getContentPane().add(main_panel, BorderLayout.CENTER);\n \t\n initComponents();\n\t\n\t\t// Exit when the window is closed.\n\t\tmain_frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n }",
"public NewJFrame() {\n initComponents();\n IniciarTabla();\n \n \n // ingreso al githup \n \n }",
"public NewJFrame() {\n Connect();\n initComponents();\n }",
"public FrameMain() {\n try {\n UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());\n initComponents();\n refreshSchedule();\n } catch (ClassNotFoundException ex) {\n Logger.getLogger(FrameMain.class.getName()).log(Level.SEVERE, null, ex);\n } catch (InstantiationException ex) {\n Logger.getLogger(FrameMain.class.getName()).log(Level.SEVERE, null, ex);\n } catch (IllegalAccessException ex) {\n Logger.getLogger(FrameMain.class.getName()).log(Level.SEVERE, null, ex);\n } catch (UnsupportedLookAndFeelException ex) {\n Logger.getLogger(FrameMain.class.getName()).log(Level.SEVERE, null, ex);\n }\n }",
"public NewJFrame() {\n initComponents();\n \n }",
"private void initMainFrame(){\n \n this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n this.setSize(MAINFRAMESIZE);\n BoxLayout bl = new BoxLayout(getContentPane(), BoxLayout.Y_AXIS);\n this.getContentPane().setLayout(bl);\n this.setPreferredSize(MAINFRAMESIZE);\n this.setResizable(false);\n this.pack();\n }",
"public NewJFrame() {\r\n initComponents();\r\n }",
"public MainFrame() {\n initComponents();\n this.setLocationRelativeTo(null);\n }",
"public NewJFrame() {\n initComponents();\n }",
"public NewJFrame() {\n initComponents();\n }",
"public NewJFrame() {\n initComponents();\n }",
"public NewJFrame() {\n initComponents();\n }",
"public NewJFrame() {\n initComponents();\n }",
"public NewJFrame() {\n initComponents();\n }",
"public NewJFrame() {\n initComponents();\n }",
"public MainFrame() {\n initComponents();\n\n mAlmondUI.addWindowWatcher(this);\n mAlmondUI.initoptions();\n\n initActions();\n init();\n\n if (IS_MAC) {\n initMac();\n }\n\n initMenus();\n mActionManager.setEnabledDocumentActions(false);\n }",
"private static void createAndShowGUI() {\n JFrame frame = new JFrame(\"FEEx v. \"+VERSION);\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n \n //Create and set up the content pane.\n Main p = new Main();\n p.addComponentToPane(frame.getContentPane());\n\n frame.addWindowListener(new java.awt.event.WindowAdapter() {\n @Override\n public void windowClosing(java.awt.event.WindowEvent windowEvent) {\n \tstopPolling();\n \tstopMPP();\n p.port.close();\n Utils.storeSizeAndPosition(frame);\n }\n });\n \n //Display the window.\n frame.pack();\n Utils.restoreSizeAndPosition(frame);\n frame.setVisible(true);\n }",
"void setMainFrame(NewMainFrame mainFrame) {\n this.mainFrame = mainFrame;\n }",
"private static void createAndShowGUI()\r\n {\r\n JFrame frame = new JFrame(\"ChangingTitleFrame Application\");\r\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n frame.getContentPane().add(new FramePanel(frame).getPanel());\r\n frame.pack();\r\n frame.setLocationRelativeTo(null);\r\n frame.setVisible(true);\r\n }",
"public static MainFrame createNewFrame(Display display, Document doc)\n {\n Shell shell = new Shell(display);\n\n MainFrame frame = new MainFrame(shell, doc);\n frame.initComponents(null);\n\n shell.open();\n\n return frame;\n }",
"public MainFrame() {\n \n new DangNhapDialog(this, true).setVisible(true);\n initComponents();\n init();\n }",
"public NewJFrame()\r\n {\r\n initComponents();\r\n }",
"private static void createAndShowGUI() {\n JFrame frame = new JFrame(\"Firma digital\");\r\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n frame.setLocationRelativeTo(null);\r\n\r\n //Create and set up the content pane.\r\n final FirmaDigital newContentPane = new FirmaDigital(frame);\r\n newContentPane.setOpaque(true); //content panes must be opaque\r\n frame.setContentPane(newContentPane);\r\n\r\n //Make sure the focus goes to the right component\r\n //whenever the frame is initially given the focus.\r\n frame.addWindowListener(new WindowAdapter() {\r\n public void windowActivated(WindowEvent e) {\r\n newContentPane.resetFocus();\r\n }\r\n });\r\n\r\n //Display the window.\r\n frame.pack();\r\n frame.setVisible(true);\r\n }",
"public MasterGUI() {\n\n\t\tmainFrame.setPreferredSize(FRAME_SIZE);\n\t\tmainFrame.pack();\n\n\t\tmainPane.addTab(\"Element\", new ElementGUI().elementMainPanel);\n\t\tmainPane.addTab(\"Metal\", new MetalGUI().metalMainPanel);\n\t\tmainPane.addTab(\"Compound\", new CompoundGUI().compoundMainPanel);\n\t\tmainPane.addTab(\"Acid\", new AcidGUI().acidMainPanel);\n\t\tmainPane.addTab(\"Base\", new BaseGUI().baseMainPanel);\n\t\tmainPane.addTab(\"Chemical\", new ChemicalGUI().chemicalMainPanel);\n\n\t\tmainFrame.add(mainPane);\n\t\tmainFrame.setVisible(true);\n\t}",
"public frame() {\r\n\t\tadd(createMainPanel());\r\n\t\tsetTitle(\"Lunch Date\");\r\n\t\tsetSize(FRAME_WIDTH, FRAME_HEIGHT);\r\n\r\n\t}",
"public MainFrame() {\n\t\tsuper(\"Contry Detail\");\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tsetPreferredSize(new Dimension(450, 300));\n\t\tsetResizable(false);\n\t\t\n\t\tinitComponents();\n\t\t\n\t\tcontroller = new Service(this);\n\t}",
"public mainFrame() {\n initComponents();\n \n pnlWelcome.removeAll();\n homePanel = new PnlHome();\n pnlWelcome.add(homePanel);\n homePanel.setSize(530, 200);\n homePanel.setVisible(true);\n pnlWelcome.revalidate();\n pnlWelcome.repaint();\n\n pnlNew.removeAll();\n pnlGeneral = new PnlGeneral(this);\n pnlNew.add(pnlGeneral);\n pnlGeneral.setSize(500, 500);\n pnlGeneral.setVisible(true);\n pnlNew.revalidate();\n pnlNew.repaint();\n \n f = new ArrayList<>();\n\n }",
"public frmMain() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public MainPanel(MainFrame m)\r\n\t{\r\n\t\t//Link back to the Frame\r\n\t\tmainFrame = m;\r\n\t\t\r\n\t\t//Setup the layout\r\n\t\tsetLayout(new GridLayout(4,1,5,5)); //Grid with 4 rows and 1 column.\r\n\t\t\r\n\t\t//add buttons and action listeners to the buttons\r\n\t\tthis.add(play);\r\n\t\tplay.addActionListener(mainListener);\r\n\t\tthis.add(edit);\r\n\t\tedit.addActionListener(mainListener);\r\n\t\tthis.add(editExisting);\r\n\t\teditExisting.addActionListener(mainListener);\r\n\t\tthis.add(exit);\r\n\t\texit.addActionListener(mainListener);\t\r\n\t}",
"public MainForm() {\n initComponents();\n \n }",
"public FrameForm() {\n initComponents();\n }",
"public NewJFrame1() {\n initComponents();\n }",
"public static void main( String args[] )\n\t{\n\t\tmainFrame = getInstance();\n\t\tmainFrame.setVisible( true );\n\t\t\n\t}",
"public NewJFrame() {\n initComponents();\n\n }",
"public void createAndShowGUI(JFrame frame) {\n providerSideBar(frame.getContentPane(), pat);\n topBarPatientInformation(frame.getContentPane(), pat);\n patientReferralPanel(frame.getContentPane());\n\n }",
"public NewJFrame() {\n initComponents();\n // HidenLable.setVisible(false);\n }",
"private static void createGUI(){\r\n\t\tframe = new JFrame(\"Untitled\");\r\n\r\n\t\tBibtexImport bib = new BibtexImport();\r\n\t\tbib.setOpaque(true);\r\n\r\n\t\tframe.setExtendedState(JFrame.MAXIMIZED_BOTH);\r\n\t\tframe.setContentPane(bib);\r\n\t\tframe.setJMenuBar(bib.menu);\r\n\t\tframe.pack();\r\n\t\tframe.setVisible(true);\r\n\t}",
"private void makeFrame(){\n frame = new JFrame(\"Rebellion\");\n\n frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n frame.setSize(800,800);\n\n makeContent(frame);\n\n frame.setBackground(Color.getHSBColor(10,99,35));\n frame.pack();\n frame.setVisible(true);\n }",
"public NewJFrame1() {\n initComponents();\n\n dip();\n sh();\n }",
"public xinxiNewJFrame() {\n initComponents();\n }",
"public NewJFrame1(NewJFrame n) {\n main = n;\n initComponents();\n winOpen();\n setLocationFrame();\n this.setVisible(true);\n }",
"public MainFrame() {\n initComponents();this.setTitle(\"Student Record System - NIIST \");\n }",
"private void makeContent(JFrame frame){\n Container content = frame.getContentPane();\n content.setSize(700,700);\n\n makeButtons();\n makeRooms();\n makeLabels();\n\n content.add(inputPanel,BorderLayout.SOUTH);\n content.add(roomPanel, BorderLayout.CENTER);\n content.add(infoPanel, BorderLayout.EAST);\n\n }",
"public MainFrame() {\n super(\"ToDo List\");\n setLayout(new BorderLayout());\n toDoList = new ToDoList();\n toDoList.loadAll(fileLocation);\n initializeButtonPanel();\n add(buttonPanel, BorderLayout.NORTH);\n add(radioPanel, BorderLayout.LINE_START);\n\n setSize(1000, 1000);\n setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n setVisible(true);\n setListeners();\n exitListener();\n refresh();\n }",
"public MainFrame() {\n super(\"Classic Crypto Tools\");\n initComponents();\n this.setResizable(false);\n plainOutputButton.setSelected(true);\n }",
"public MenuView(MainFrame main) {\n initComponents();\n \n this.mainFrame = main;\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainFrameController() {\n }",
"public launchFrame() {\n \n initComponents();\n \n }",
"FRAME createFRAME();",
"public RunFrame(MainFrame mainFrame) {\n\tthis.mainFrame = mainFrame;\n\tmainFrame.addScriptEventListener(scrEvtLis);\n\tsetAlwaysOnTop(true);\n setFocusable(false);\n setLocationByPlatform(true);\n\tsetLayout(new GridBagLayout());\n\tsetUndecorated(true);\n\tsetTitle(\"JUltima Toolbar\");\n\n\taddMouseListener(this);\n\taddMouseMotionListener(this);\n }",
"private void buildFrame() {\n mainFrame = new JFrame();\n header = new JLabel(\"View Contact Information\");\n header.setHorizontalAlignment(JLabel.CENTER);\n header.setBorder(BorderFactory.createEmptyBorder(5, 0, 0, 0));\n \n infoTable.setFillsViewportHeight(true);\n infoTable.setShowGrid(true);\n infoTable.setVisible(true);\n scrollPane = new JScrollPane(infoTable);\n\n mainFrame.add(header, BorderLayout.NORTH);\n mainFrame.add(scrollPane, BorderLayout.CENTER);\n }",
"public MainFrame(){\n\t\ttry {\n\t\t\tUIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());\n\t\t} catch (ClassNotFoundException | IllegalAccessException | UnsupportedLookAndFeelException | InstantiationException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tnbRules = 1;\n \tnbTabs = 0;\n \tbasePanel = new JPanel();\n \tbasePanel.setLayout(new FlowLayout(FlowLayout.CENTER));\n \ttabs = new JTabbedPane(SwingConstants.TOP);\n\n \tJToolBar toolBar = new JToolBar();\n newGen = new JButton(\"Nouvelle génération\");\n newGen.addActionListener(new Listener(\"Tab\",this));\n toolBar.add(newGen);\n example = new JButton(\"Exemples\");\n example.addActionListener(new Listener(\"Example\", this));\n toolBar.add(example);\n help = new JButton(\"Aide\");\n help.addActionListener(new Listener(\"Help\",this));\n toolBar.add(help);\n\n this.setTitle(\"L-system interface\");\n this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tDimension windowDimension = new Dimension(Constants.INITIAL_WIDTH, Constants.INITIAL_HEIGHT);\n this.setSize(windowDimension);\n this.setLocationRelativeTo(null);\n this.add(tabs);\n this.add(toolBar, BorderLayout.NORTH);\n this.setPreferredSize(windowDimension);\n newComponent((byte)1);\n\t\trenameTabs();\n\t\tthis.setResizable(false);\n }",
"public MainApp() {\r\n\t\tsuper();\r\n\t\tthis.setSize(642, 455);\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t}",
"public MainFrame(String title){\n\t\ttry {\n\t\t\t//Make the look and feel Windows.\n\t UIManager.setLookAndFeel(\"com.sun.java.swing.plaf.windows.WindowsLookAndFeel\");\n\t \n\t //Hope there's not an exception. If there ever an exception is it's an undocumented feature :)\n\t } catch (Exception evt) {}\n\t\t\t \n\t //Create a new JFrame with user-defined title. Make it referenceable so that other classes can refer to it.\n\t\tsetCurrentFrame(new JFrame(title));\n\t\tthis.getCurrentFrame().setResizable(false);\n\t\t\n\t\t//Exit not dispose. When this JFrame is closed, the entire program is closed.\n\t\tgetCurrentFrame().setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t}",
"public NewJFrame17() {\n initComponents();\n }",
"public void main(String[] args) {\n // TODO code application logic here\n MF= new MainFrame();\n }",
"static void abrir() {\n frame = new ModificarPesos();\n //Create and set up the window.\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n //Set up the content pane.\n frame.addComponentsToPane(frame.getContentPane());\n //Display the window.\n frame.pack();\n frame.setVisible(true);\n }",
"public static void buildFrame() {\r\n\t\t// Make sure we have nice window decorations\r\n\t\tJFrame.setDefaultLookAndFeelDecorated(true);\r\n\t\t\r\n\t\t// Create and set up the window.\r\n\t\t//ParentFrame frame = new ParentFrame();\r\n\t\tMediator frame = new Mediator();\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\t\r\n\t\t// Display the window\r\n\t\tframe.setVisible(true);\r\n\t}",
"public mainUI() {\n initComponents();\n }",
"public MercadoFrame() {\n initComponents();\n }",
"public mainFrame() {\r\n initComponents();\r\n try {\r\n setDir();\r\n } catch (FileNotFoundException ex) {\r\n Logger.getLogger(mainFrame.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (IOException ex) {\r\n Logger.getLogger(mainFrame.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n \r\n \r\n lab_android.setText(\"Android not read\");\r\n lab_moodle.setText(\"Moodle not read\");\r\n \r\n }",
"private static void createAndShowGUI() {\n\t\t/*\n //Create and set up the window.\n JFrame frame = new JFrame(\"HelloWorldSwing\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n //Add the ubiquitous \"Hello World\" label.\n JLabel label = new JLabel(\"Hello World\");\n frame.getContentPane().add(label);\n\n //Display the window.\n frame.pack();\n frame.setVisible(true);\n */\n\t\tfinal AC_GUI currentGUI = new AC_GUI();\n\t\t//currentGUI.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tcurrentGUI.setSize(900, 800);\n\t\t// make the frame full screen\n\t\t// currentGUI.setExtendedState(JFrame.MAXIMIZED_BOTH);\n }",
"public GuiMainFrame() {\n this(new ArrayBlockingQueue<String>(100), new OBORunnerConfiguration());\n }",
"private static void createAndShowGUI() {\n //Create and set up the window.\n JFrame frame = new JFrame(\"WAR OF MINE\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n //Create and set up the content pane.\n JComponent newContentPane = new Gameframe();\n newContentPane.setOpaque(true); //content panes must be opaque\n frame.setContentPane(newContentPane);\n\n //Display the window.\n frame.setSize(800,1000);\n frame.setVisible(true);\n }",
"public static void main(String args[]){\r\n JFrame frame = new JFrame();\r\n frame.getContentPane().add(new S2SSubmissionDetailForm());\r\n// frame.setSize(690,420);\r\n frame.pack();\r\n frame.show();\r\n// frame.setVisible(true);\r\n }",
"public Main() {\n initComponents();\n this.setLocationRelativeTo(null);\n \n \n }",
"private void show() {\n mainFrame.setVisible(true);\r\n\t}"
]
| [
"0.7865973",
"0.7794478",
"0.772496",
"0.7702068",
"0.7677763",
"0.7677763",
"0.7677763",
"0.7677763",
"0.7677763",
"0.7677763",
"0.7677763",
"0.7677763",
"0.7677763",
"0.7677763",
"0.7677763",
"0.7677763",
"0.7630447",
"0.7617989",
"0.7527141",
"0.749589",
"0.730413",
"0.7293425",
"0.7249061",
"0.72448045",
"0.7226256",
"0.720807",
"0.71694976",
"0.71501786",
"0.71425754",
"0.71267945",
"0.7107943",
"0.7082129",
"0.70758915",
"0.7071928",
"0.70488256",
"0.704484",
"0.7041022",
"0.70229596",
"0.700798",
"0.700798",
"0.700798",
"0.700798",
"0.700798",
"0.700798",
"0.700798",
"0.699594",
"0.6995608",
"0.6987582",
"0.6979729",
"0.697467",
"0.6948183",
"0.69474053",
"0.6935478",
"0.69245744",
"0.6915081",
"0.6911554",
"0.6906477",
"0.69064134",
"0.69064134",
"0.6900652",
"0.6892175",
"0.6880037",
"0.6876515",
"0.6856614",
"0.68552494",
"0.6842959",
"0.6833742",
"0.6832189",
"0.6828324",
"0.68080384",
"0.67990696",
"0.67980444",
"0.6789432",
"0.6768629",
"0.6768294",
"0.6758024",
"0.6757625",
"0.6757445",
"0.6757445",
"0.6757445",
"0.675382",
"0.6743434",
"0.6740923",
"0.67318344",
"0.6728454",
"0.67237335",
"0.6723551",
"0.6706454",
"0.67051435",
"0.66842484",
"0.6674182",
"0.6668718",
"0.6657789",
"0.66545445",
"0.66471905",
"0.6636924",
"0.6634322",
"0.66292864",
"0.6627717",
"0.6625937",
"0.66221404"
]
| 0.0 | -1 |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor. | @SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
java.awt.GridBagConstraints gridBagConstraints;
jMenu1 = new javax.swing.JMenu();
jMenu2 = new javax.swing.JMenu();
vExecution = new javax.swing.ButtonGroup();
vSeq = new javax.swing.ButtonGroup();
Strand = new javax.swing.ButtonGroup();
Truncating = new javax.swing.ButtonGroup();
Annotation = new javax.swing.ButtonGroup();
mExecution = new javax.swing.ButtonGroup();
mDownload = new javax.swing.ButtonGroup();
mTrimmed = new javax.swing.ButtonGroup();
OutputFrame = new javax.swing.JFrame();
jScrollPane3 = new javax.swing.JScrollPane();
OutputText = new javax.swing.JTextArea();
CloseOutput = new javax.swing.JToggleButton();
ReloadOutput = new javax.swing.JToggleButton();
RemoveOutput = new javax.swing.JButton();
DlogButton = new javax.swing.JButton();
IExecutionStarRSEM = new javax.swing.ButtonGroup();
ConfigurationFrame = new javax.swing.JFrame();
jLabel18 = new javax.swing.JLabel();
ParallelTextField = new javax.swing.JTextField();
jLabel19 = new javax.swing.JLabel();
ThreadTextField = new javax.swing.JTextField();
jLabel21 = new javax.swing.JLabel();
Adapter5TextField = new javax.swing.JTextField();
jLabel22 = new javax.swing.JLabel();
Adapter3TextField = new javax.swing.JTextField();
ConfCancell = new javax.swing.JButton();
jButton10 = new javax.swing.JButton();
jButton11 = new javax.swing.JButton();
jMenuItem5 = new javax.swing.JMenuItem();
CovComboBox = new javax.swing.JComboBox<>();
DataType = new javax.swing.ButtonGroup();
Covariates = new javax.swing.ButtonGroup();
DEStype = new javax.swing.ButtonGroup();
buttonGroup1 = new javax.swing.ButtonGroup();
IExecutionBWA = new javax.swing.ButtonGroup();
GATK = new javax.swing.ButtonGroup();
jRadioButton1 = new javax.swing.JRadioButton();
MExecution = new javax.swing.ButtonGroup();
MSeq = new javax.swing.ButtonGroup();
MRemoveDuplicates = new javax.swing.ButtonGroup();
MAdapter = new javax.swing.ButtonGroup();
BatchComboBox = new javax.swing.JComboBox<>();
DESBatch = new javax.swing.ButtonGroup();
DownloadFrame = new javax.swing.JFrame();
jButton31 = new javax.swing.JButton();
jButton32 = new javax.swing.JButton();
jPanel1 = new javax.swing.JPanel();
jLabel12 = new javax.swing.JLabel();
jButton33 = new javax.swing.JButton();
jButton34 = new javax.swing.JButton();
Downloadtext = new javax.swing.JTextField();
About4SeqGUIFrame = new javax.swing.JFrame();
jLabel96 = new javax.swing.JLabel();
jLabel100 = new javax.swing.JLabel();
jLabel101 = new javax.swing.JLabel();
jButton36 = new javax.swing.JButton();
jLabel99 = new javax.swing.JLabel();
jLabel102 = new javax.swing.JLabel();
IExecutionSalmon = new javax.swing.ButtonGroup();
cExecutiionSalmon = new javax.swing.ButtonGroup();
cSeq = new javax.swing.ButtonGroup();
cStrand = new javax.swing.ButtonGroup();
DataFilter = new javax.swing.ButtonGroup();
jToolBar1 = new javax.swing.JToolBar();
jButton1 = new javax.swing.JButton();
jButton2 = new javax.swing.JButton();
jToggleButton11 = new javax.swing.JToggleButton();
jButton9 = new javax.swing.JButton();
jButton26 = new javax.swing.JButton();
jButton35 = new javax.swing.JButton();
VerticalSplitPanel = new javax.swing.JSplitPane();
BottomPanel = new javax.swing.JPanel();
jScrollPane4 = new javax.swing.JScrollPane();
ProcStatusPanel = new javax.swing.JPanel();
jScrollPane2 = new javax.swing.JScrollPane();
ProcList = new javax.swing.JList<>();
HorizontalSplitPanel = new javax.swing.JSplitPane();
MainPanel = new javax.swing.JPanel();
Empty = new javax.swing.JScrollPane();
EmptyPanel = new javax.swing.JPanel();
jLabel24 = new javax.swing.JLabel();
IndexingStarRSEM = new javax.swing.JScrollPane();
IndexingStarRSEMPanel = new javax.swing.JPanel();
iCloseButton = new javax.swing.JButton();
jButton12 = new javax.swing.JButton();
iResetButton = new javax.swing.JButton();
jButton14 = new javax.swing.JButton();
jPanel13 = new javax.swing.JPanel();
jLabel28 = new javax.swing.JLabel();
iGenomeFolderText = new javax.swing.JTextField();
jToggleButton15 = new javax.swing.JToggleButton();
jToggleButton16 = new javax.swing.JToggleButton();
jLabel30 = new javax.swing.JLabel();
iGenomeURLText = new javax.swing.JTextField();
jLabel33 = new javax.swing.JLabel();
iGTFURLText = new javax.swing.JTextField();
jPanel14 = new javax.swing.JPanel();
jLabel31 = new javax.swing.JLabel();
iSudoRadioButton = new javax.swing.JRadioButton();
iDockerRadioButton = new javax.swing.JRadioButton();
jLabel32 = new javax.swing.JLabel();
iThreadText = new javax.swing.JTextField();
mRNA = new javax.swing.JScrollPane();
mRNAPanel = new javax.swing.JPanel();
jButton6 = new javax.swing.JButton();
jButton8 = new javax.swing.JButton();
jButton7 = new javax.swing.JButton();
vCloseButton1 = new javax.swing.JButton();
jPanel9 = new javax.swing.JPanel();
jLabel17 = new javax.swing.JLabel();
mmiRBaseText = new javax.swing.JTextField();
jLabel20 = new javax.swing.JLabel();
mDTrueRadioButton = new javax.swing.JRadioButton();
mDFalseRadioButton = new javax.swing.JRadioButton();
jLabel23 = new javax.swing.JLabel();
mANEBRadioButton = new javax.swing.JRadioButton();
mAILLUMINARadioButton = new javax.swing.JRadioButton();
jLabel25 = new javax.swing.JLabel();
mTTrueRadioButton = new javax.swing.JRadioButton();
mTFalseRadioButton = new javax.swing.JRadioButton();
jPanel8 = new javax.swing.JPanel();
jLabel15 = new javax.swing.JLabel();
mFastQFolderText = new javax.swing.JTextField();
jToggleButton8 = new javax.swing.JToggleButton();
jToggleButton7 = new javax.swing.JToggleButton();
mOutputFolderText = new javax.swing.JTextField();
jToggleButton9 = new javax.swing.JToggleButton();
jToggleButton10 = new javax.swing.JToggleButton();
jLabel16 = new javax.swing.JLabel();
jPanel7 = new javax.swing.JPanel();
jLabel14 = new javax.swing.JLabel();
mSudoRadioButton = new javax.swing.JRadioButton();
mDockerRadioButton = new javax.swing.JRadioButton();
FPKM = new javax.swing.JScrollPane();
FPKMPanel = new javax.swing.JPanel();
jPanel4 = new javax.swing.JPanel();
jScrollPane6 = new javax.swing.JScrollPane();
FPKMFileTable = new javax.swing.JTable();
FAddFile = new javax.swing.JButton();
jButton13 = new javax.swing.JButton();
jLabel26 = new javax.swing.JLabel();
FtypesComboBox = new javax.swing.JComboBox<>();
jLabel27 = new javax.swing.JLabel();
FOutputFolderText = new javax.swing.JTextField();
Fbrowes = new javax.swing.JButton();
Fcancel = new javax.swing.JButton();
FExecuteButton = new javax.swing.JButton();
FSaveButton = new javax.swing.JButton();
FResetButton = new javax.swing.JButton();
FCloseButton = new javax.swing.JButton();
vmRNA = new javax.swing.JScrollPane();
vmRNAPanel = new javax.swing.JPanel();
vCloseButton = new javax.swing.JButton();
jButton4 = new javax.swing.JButton();
jButton5 = new javax.swing.JButton();
jButton3 = new javax.swing.JButton();
jPanel2 = new javax.swing.JPanel();
jLabel2 = new javax.swing.JLabel();
vFastQFolderText = new javax.swing.JTextField();
jToggleButton2 = new javax.swing.JToggleButton();
jToggleButton1 = new javax.swing.JToggleButton();
jLabel3 = new javax.swing.JLabel();
vOutputFolderText = new javax.swing.JTextField();
jToggleButton4 = new javax.swing.JToggleButton();
jToggleButton3 = new javax.swing.JToggleButton();
jLabel9 = new javax.swing.JLabel();
vGenomeFolderText = new javax.swing.JTextField();
jToggleButton5 = new javax.swing.JToggleButton();
jToggleButton6 = new javax.swing.JToggleButton();
jPanel3 = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
vSudoRadioButton = new javax.swing.JRadioButton();
vDockerRadioButton = new javax.swing.JRadioButton();
jLabel4 = new javax.swing.JLabel();
vThreadText = new javax.swing.JTextField();
jPanel6 = new javax.swing.JPanel();
vAdapter5Text = new javax.swing.JTextField();
jLabel5 = new javax.swing.JLabel();
jLabel6 = new javax.swing.JLabel();
vAdapter3Text = new javax.swing.JTextField();
vPeRadioButton = new javax.swing.JRadioButton();
vSeRadioButton = new javax.swing.JRadioButton();
jLabel7 = new javax.swing.JLabel();
jLabel8 = new javax.swing.JLabel();
vMinLengthText = new javax.swing.JTextField();
jLabel10 = new javax.swing.JLabel();
vSNoneRadioButton = new javax.swing.JRadioButton();
vSForwardRadioButton = new javax.swing.JRadioButton();
vSReverseRadioButton = new javax.swing.JRadioButton();
vOrganismText = new javax.swing.JTextField();
jLabel11 = new javax.swing.JLabel();
jLabel13 = new javax.swing.JLabel();
vBAMyesRadioButton = new javax.swing.JRadioButton();
vBAMnoLRadioButton = new javax.swing.JRadioButton();
PCA = new javax.swing.JScrollPane();
PCAPanel = new javax.swing.JPanel();
vCloseButton2 = new javax.swing.JButton();
jButton15 = new javax.swing.JButton();
jButton16 = new javax.swing.JButton();
jButton17 = new javax.swing.JButton();
jPanel5 = new javax.swing.JPanel();
jLabel29 = new javax.swing.JLabel();
pFPKMfileText = new javax.swing.JTextField();
jToggleButton12 = new javax.swing.JToggleButton();
fCancelButton = new javax.swing.JToggleButton();
jLabel34 = new javax.swing.JLabel();
pOutputFolderText = new javax.swing.JTextField();
jToggleButton13 = new javax.swing.JToggleButton();
fCancelButton1 = new javax.swing.JToggleButton();
jPanel11 = new javax.swing.JPanel();
pComponent1Text = new javax.swing.JTextField();
jLabel38 = new javax.swing.JLabel();
jLabel39 = new javax.swing.JLabel();
pComponent2Text = new javax.swing.JTextField();
jLabel42 = new javax.swing.JLabel();
pCountsRadioButton = new javax.swing.JRadioButton();
pFPKMRadioButton = new javax.swing.JRadioButton();
pTPMRadioButton = new javax.swing.JRadioButton();
jLabel43 = new javax.swing.JLabel();
jLabel44 = new javax.swing.JLabel();
pCovYesRadioButton = new javax.swing.JRadioButton();
pCovNoRadioButton = new javax.swing.JRadioButton();
pLegendComboBox = new javax.swing.JComboBox<>();
DES = new javax.swing.JScrollPane();
DESPanel = new javax.swing.JPanel();
vCloseButton3 = new javax.swing.JButton();
jButton18 = new javax.swing.JButton();
jButton19 = new javax.swing.JButton();
jButton20 = new javax.swing.JButton();
jPanel10 = new javax.swing.JPanel();
jLabel35 = new javax.swing.JLabel();
dFPKMfileText = new javax.swing.JTextField();
jToggleButton14 = new javax.swing.JToggleButton();
fCancelButton2 = new javax.swing.JToggleButton();
jLabel36 = new javax.swing.JLabel();
dOutputFolderText = new javax.swing.JTextField();
jToggleButton17 = new javax.swing.JToggleButton();
fCancelButton3 = new javax.swing.JToggleButton();
jPanel12 = new javax.swing.JPanel();
dLog2fcText = new javax.swing.JTextField();
jLabel40 = new javax.swing.JLabel();
jLabel41 = new javax.swing.JLabel();
dFDRText = new javax.swing.JTextField();
jLabel45 = new javax.swing.JLabel();
dGeneRadioButton = new javax.swing.JRadioButton();
jLabel47 = new javax.swing.JLabel();
dCovComboBox = new javax.swing.JComboBox<>();
dmiRNARadioButton = new javax.swing.JRadioButton();
jLabel58 = new javax.swing.JLabel();
jLabel59 = new javax.swing.JLabel();
dIsoformRadioButton = new javax.swing.JRadioButton();
jLabel62 = new javax.swing.JLabel();
dBatchesTrue = new javax.swing.JRadioButton();
DBatchesFalse = new javax.swing.JRadioButton();
IndexingBWA = new javax.swing.JScrollPane();
IndexingBWAPanel = new javax.swing.JPanel();
iCloseButton1 = new javax.swing.JButton();
jButton21 = new javax.swing.JButton();
iResetButton1 = new javax.swing.JButton();
jButton22 = new javax.swing.JButton();
jPanel15 = new javax.swing.JPanel();
jLabel37 = new javax.swing.JLabel();
iGenomeFolderBText = new javax.swing.JTextField();
jToggleButton18 = new javax.swing.JToggleButton();
jToggleButton19 = new javax.swing.JToggleButton();
jLabel46 = new javax.swing.JLabel();
iGenomeURLBText = new javax.swing.JTextField();
jLabel48 = new javax.swing.JLabel();
idbSPNText = new javax.swing.JTextField();
jLabel51 = new javax.swing.JLabel();
iBTrueRadioButton = new javax.swing.JRadioButton();
iBFalseRadioButton = new javax.swing.JRadioButton();
i1000GenomeText = new javax.swing.JTextField();
jLabel52 = new javax.swing.JLabel();
i1000BrowseButton = new javax.swing.JToggleButton();
i1000CancelButton = new javax.swing.JToggleButton();
idbSPNBrowseButton = new javax.swing.JToggleButton();
idbSPNCancelButton = new javax.swing.JToggleButton();
jPanel16 = new javax.swing.JPanel();
jLabel49 = new javax.swing.JLabel();
iSudoBRadioButton = new javax.swing.JRadioButton();
iDockerBRadioButton = new javax.swing.JRadioButton();
jLabel50 = new javax.swing.JLabel();
iThreadBText = new javax.swing.JTextField();
MACS = new javax.swing.JScrollPane();
MACSPanel = new javax.swing.JPanel();
vCloseButton4 = new javax.swing.JButton();
jButton23 = new javax.swing.JButton();
jButton24 = new javax.swing.JButton();
jButton25 = new javax.swing.JButton();
jPanel17 = new javax.swing.JPanel();
jLabel53 = new javax.swing.JLabel();
MOutputFolderText = new javax.swing.JTextField();
jToggleButton20 = new javax.swing.JToggleButton();
jToggleButton21 = new javax.swing.JToggleButton();
jLabel54 = new javax.swing.JLabel();
MScratchFolderText = new javax.swing.JTextField();
jToggleButton22 = new javax.swing.JToggleButton();
jToggleButton23 = new javax.swing.JToggleButton();
jLabel55 = new javax.swing.JLabel();
MMockFolderText = new javax.swing.JTextField();
jToggleButton24 = new javax.swing.JToggleButton();
jToggleButton25 = new javax.swing.JToggleButton();
MGenomeFolderText = new javax.swing.JTextField();
jToggleButton26 = new javax.swing.JToggleButton();
jToggleButton27 = new javax.swing.JToggleButton();
jLabel60 = new javax.swing.JLabel();
jLabel67 = new javax.swing.JLabel();
MTestFolderText = new javax.swing.JTextField();
jToggleButton28 = new javax.swing.JToggleButton();
jToggleButton29 = new javax.swing.JToggleButton();
jPanel18 = new javax.swing.JPanel();
jLabel56 = new javax.swing.JLabel();
MSudoRadioButton = new javax.swing.JRadioButton();
MDockerRadioButton = new javax.swing.JRadioButton();
jLabel57 = new javax.swing.JLabel();
MThreadText = new javax.swing.JTextField();
jLabel61 = new javax.swing.JLabel();
jPanel19 = new javax.swing.JPanel();
jLabel63 = new javax.swing.JLabel();
MToolComboBox = new javax.swing.JComboBox<>();
Tool = new javax.swing.JPanel();
jPanel22 = new javax.swing.JPanel();
jLabel78 = new javax.swing.JLabel();
MMaxmfoldText = new javax.swing.JTextField();
jLabel79 = new javax.swing.JLabel();
jLabel82 = new javax.swing.JLabel();
MMinmfoldText = new javax.swing.JTextField();
MMpvalueText = new javax.swing.JTextField();
jPanel23 = new javax.swing.JPanel();
jLabel80 = new javax.swing.JLabel();
MSgsizeText = new javax.swing.JTextField();
jLabel81 = new javax.swing.JLabel();
jLabel83 = new javax.swing.JLabel();
MSWindowsText = new javax.swing.JTextField();
MSFDRText = new javax.swing.JTextField();
jPanel20 = new javax.swing.JPanel();
MAdapter5Text = new javax.swing.JTextField();
jLabel68 = new javax.swing.JLabel();
jLabel69 = new javax.swing.JLabel();
MAdapter3Text = new javax.swing.JTextField();
jLabel70 = new javax.swing.JLabel();
MTTSText = new javax.swing.JTextField();
jLabel71 = new javax.swing.JLabel();
jLabel72 = new javax.swing.JLabel();
jLabel73 = new javax.swing.JLabel();
MRyesRadioButton = new javax.swing.JRadioButton();
MRnoRadioButton = new javax.swing.JRadioButton();
jLabel74 = new javax.swing.JLabel();
MOrgComboBox = new javax.swing.JComboBox<>();
MMinLengthText = new javax.swing.JTextField();
MMaxUpstreamText = new javax.swing.JTextField();
jLabel75 = new javax.swing.JLabel();
jLabel76 = new javax.swing.JLabel();
MReadLengthTextField = new javax.swing.JTextField();
SampleSize = new javax.swing.JScrollPane();
SampleSizePanel = new javax.swing.JPanel();
jPanel21 = new javax.swing.JPanel();
jLabel64 = new javax.swing.JLabel();
SSOutputFolderText = new javax.swing.JTextField();
SSbrowes = new javax.swing.JButton();
SScancel = new javax.swing.JButton();
jLabel65 = new javax.swing.JLabel();
jLabel66 = new javax.swing.JLabel();
SSCountTableText = new javax.swing.JTextField();
jButton27 = new javax.swing.JButton();
jButton28 = new javax.swing.JButton();
SSExecuteButton = new javax.swing.JButton();
SSSaveButton = new javax.swing.JButton();
SSResetButton = new javax.swing.JButton();
SSCloseButton = new javax.swing.JButton();
jPanel24 = new javax.swing.JPanel();
jLabel77 = new javax.swing.JLabel();
jLabel84 = new javax.swing.JLabel();
jLabel85 = new javax.swing.JLabel();
jLabel86 = new javax.swing.JLabel();
SSPowerText = new javax.swing.JTextField();
SSGeneText = new javax.swing.JTextField();
SSlog2Text = new javax.swing.JTextField();
jLabel87 = new javax.swing.JLabel();
SSFDRtext = new javax.swing.JTextField();
ExperimentPower = new javax.swing.JScrollPane();
ExperimentPowerPanel = new javax.swing.JPanel();
jPanel25 = new javax.swing.JPanel();
jLabel88 = new javax.swing.JLabel();
EPOutputFolderText = new javax.swing.JTextField();
SSbrowes1 = new javax.swing.JButton();
SScancel1 = new javax.swing.JButton();
jLabel89 = new javax.swing.JLabel();
jLabel90 = new javax.swing.JLabel();
EPCountTableText = new javax.swing.JTextField();
jButton29 = new javax.swing.JButton();
jButton30 = new javax.swing.JButton();
EPExecuteButton1 = new javax.swing.JButton();
EPSaveButton = new javax.swing.JButton();
EPResetButton = new javax.swing.JButton();
EPCloseButton = new javax.swing.JButton();
jPanel26 = new javax.swing.JPanel();
jLabel91 = new javax.swing.JLabel();
jLabel92 = new javax.swing.JLabel();
jLabel93 = new javax.swing.JLabel();
jLabel94 = new javax.swing.JLabel();
EPSampleText = new javax.swing.JTextField();
EPGeneText = new javax.swing.JTextField();
EPlog2Text = new javax.swing.JTextField();
jLabel95 = new javax.swing.JLabel();
EPFDRtext = new javax.swing.JTextField();
mRNABatch = new javax.swing.JScrollPane();
mRNABatchPanel = new javax.swing.JPanel();
jPanel27 = new javax.swing.JPanel();
jScrollPane7 = new javax.swing.JScrollPane();
CCountHeaderTable = new javax.swing.JTable();
CCovInputFileText = new javax.swing.JTextField();
Cinbrowes = new javax.swing.JButton();
Cincancel = new javax.swing.JButton();
jLabel98 = new javax.swing.JLabel();
jLabel97 = new javax.swing.JLabel();
COutputFolderText = new javax.swing.JTextField();
Coutbrowes = new javax.swing.JButton();
Coutcancel = new javax.swing.JButton();
FExecuteButton1 = new javax.swing.JButton();
FSaveButton1 = new javax.swing.JButton();
CResetButton1 = new javax.swing.JButton();
CCloseButton1 = new javax.swing.JButton();
IndexingSalmon = new javax.swing.JScrollPane();
IndexingSalmonPanel = new javax.swing.JPanel();
iCloseButton2 = new javax.swing.JButton();
jButton37 = new javax.swing.JButton();
iResetButton2 = new javax.swing.JButton();
jButton38 = new javax.swing.JButton();
jPanel28 = new javax.swing.JPanel();
jLabel103 = new javax.swing.JLabel();
iGenomeFolderSText = new javax.swing.JTextField();
jToggleButton30 = new javax.swing.JToggleButton();
jToggleButton31 = new javax.swing.JToggleButton();
jLabel104 = new javax.swing.JLabel();
iGenomeURLSText = new javax.swing.JTextField();
jLabel105 = new javax.swing.JLabel();
iGTFURLSText = new javax.swing.JTextField();
iKmerSText = new javax.swing.JTextField();
jLabel108 = new javax.swing.JLabel();
jLabel109 = new javax.swing.JLabel();
jPanel29 = new javax.swing.JPanel();
jLabel106 = new javax.swing.JLabel();
iSudoRadioSButton = new javax.swing.JRadioButton();
iDockerRadioSButton = new javax.swing.JRadioButton();
jLabel107 = new javax.swing.JLabel();
iThreadSText = new javax.swing.JTextField();
CountingSalmon = new javax.swing.JScrollPane();
CountingSalmonPanel = new javax.swing.JPanel();
vCloseButton5 = new javax.swing.JButton();
jButton39 = new javax.swing.JButton();
jButton40 = new javax.swing.JButton();
jButton41 = new javax.swing.JButton();
jPanel30 = new javax.swing.JPanel();
jLabel110 = new javax.swing.JLabel();
cFastQFolderText = new javax.swing.JTextField();
jToggleButton32 = new javax.swing.JToggleButton();
jToggleButton33 = new javax.swing.JToggleButton();
jLabel111 = new javax.swing.JLabel();
cOutputFolderText = new javax.swing.JTextField();
jToggleButton34 = new javax.swing.JToggleButton();
jToggleButton35 = new javax.swing.JToggleButton();
jLabel112 = new javax.swing.JLabel();
cGenomeFolderText = new javax.swing.JTextField();
jToggleButton36 = new javax.swing.JToggleButton();
jToggleButton37 = new javax.swing.JToggleButton();
jPanel31 = new javax.swing.JPanel();
jLabel113 = new javax.swing.JLabel();
cSudoRadioButton = new javax.swing.JRadioButton();
cDockerRadioButton = new javax.swing.JRadioButton();
jLabel114 = new javax.swing.JLabel();
cThreadText = new javax.swing.JTextField();
jPanel32 = new javax.swing.JPanel();
cAdapter5Text = new javax.swing.JTextField();
jLabel115 = new javax.swing.JLabel();
jLabel116 = new javax.swing.JLabel();
cAdapter3Text = new javax.swing.JTextField();
cPeRadioButton = new javax.swing.JRadioButton();
cSeRadioButton = new javax.swing.JRadioButton();
jLabel117 = new javax.swing.JLabel();
jLabel118 = new javax.swing.JLabel();
cMinLengthText = new javax.swing.JTextField();
jLabel119 = new javax.swing.JLabel();
cSNoneRadioButton = new javax.swing.JRadioButton();
cSForwardRadioButton = new javax.swing.JRadioButton();
cSReverseRadioButton = new javax.swing.JRadioButton();
filterCounts = new javax.swing.JScrollPane();
filterCountsPanel = new javax.swing.JPanel();
vCloseButton6 = new javax.swing.JButton();
jButton42 = new javax.swing.JButton();
jButton43 = new javax.swing.JButton();
jButton44 = new javax.swing.JButton();
jPanel33 = new javax.swing.JPanel();
jLabel120 = new javax.swing.JLabel();
fFPKMfileText = new javax.swing.JTextField();
jToggleButton38 = new javax.swing.JToggleButton();
fCancelButton4 = new javax.swing.JToggleButton();
jLabel121 = new javax.swing.JLabel();
fOutputFolderText = new javax.swing.JTextField();
jToggleButton39 = new javax.swing.JToggleButton();
fCancelButton5 = new javax.swing.JToggleButton();
jPanel34 = new javax.swing.JPanel();
jLabel124 = new javax.swing.JLabel();
fgeneRadioButton = new javax.swing.JRadioButton();
fisoformRadioButton = new javax.swing.JRadioButton();
fmirnaRadioButton = new javax.swing.JRadioButton();
LeftPanel = new javax.swing.JPanel();
jScrollPane1 = new javax.swing.JScrollPane();
AnalysisTree = new javax.swing.JTree();
jMenuBar1 = new javax.swing.JMenuBar();
jMenu3 = new javax.swing.JMenu();
jMenuItem3 = new javax.swing.JMenuItem();
jMenuItem4 = new javax.swing.JMenuItem();
jMenuItem6 = new javax.swing.JMenuItem();
jMenu4 = new javax.swing.JMenu();
jMenuItem1 = new javax.swing.JMenuItem();
jMenuItem8 = new javax.swing.JMenuItem();
jMenuItem2 = new javax.swing.JMenuItem();
jMenu5 = new javax.swing.JMenu();
jMenuItem7 = new javax.swing.JMenuItem();
jMenu1.setText("jMenu1");
jMenu2.setText("jMenu2");
OutputFrame.setTitle("Process Output");
OutputFrame.setLocation(new java.awt.Point(100, 100));
OutputFrame.addWindowListener(new java.awt.event.WindowAdapter() {
public void windowClosing(java.awt.event.WindowEvent evt) {
OutputFrameWindowClosing(evt);
}
});
OutputFrame.getContentPane().setLayout(new java.awt.GridBagLayout());
OutputText.setEditable(false);
OutputText.setColumns(20);
OutputText.setRows(5);
jScrollPane3.setViewportView(OutputText);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 6;
gridBagConstraints.gridheight = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.weighty = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
OutputFrame.getContentPane().add(jScrollPane3, gridBagConstraints);
CloseOutput.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
CloseOutput.setText("Close");
CloseOutput.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
CloseOutputActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 5;
gridBagConstraints.gridy = 5;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
OutputFrame.getContentPane().add(CloseOutput, gridBagConstraints);
ReloadOutput.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/reset.png"))); // NOI18N
ReloadOutput.setText("Reload");
ReloadOutput.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
ReloadOutputActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 5;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
OutputFrame.getContentPane().add(ReloadOutput, gridBagConstraints);
RemoveOutput.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/remove.png"))); // NOI18N
RemoveOutput.setText("RemoveEntry");
RemoveOutput.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
RemoveOutputActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 5;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
OutputFrame.getContentPane().add(RemoveOutput, gridBagConstraints);
DlogButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/log.png"))); // NOI18N
DlogButton.setText("Docker Logs");
DlogButton.setEnabled(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 5;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
OutputFrame.getContentPane().add(DlogButton, gridBagConstraints);
ConfigurationFrame.setTitle("Configuration");
ConfigurationFrame.setLocation(new java.awt.Point(200, 200));
ConfigurationFrame.setName("ConfigurationFrame"); // NOI18N
ConfigurationFrame.setResizable(false);
jLabel18.setText("Maximum number of parallel proceses:");
jLabel19.setText("Maximum number of threads for process:");
jLabel21.setText("Default adapter 5':");
jLabel22.setText("Default adapter 3':");
ConfCancell.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
ConfCancell.setText("Cancel");
ConfCancell.setToolTipText("");
ConfCancell.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
ConfCancellActionPerformed(evt);
}
});
jButton10.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86b.png"))); // NOI18N
jButton10.setText("Save&Close");
jButton10.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton10ActionPerformed(evt);
}
});
jButton11.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/reset.png"))); // NOI18N
jButton11.setText("Reset");
jButton11.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton11ActionPerformed(evt);
}
});
javax.swing.GroupLayout ConfigurationFrameLayout = new javax.swing.GroupLayout(ConfigurationFrame.getContentPane());
ConfigurationFrame.getContentPane().setLayout(ConfigurationFrameLayout);
ConfigurationFrameLayout.setHorizontalGroup(
ConfigurationFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(ConfigurationFrameLayout.createSequentialGroup()
.addContainerGap()
.addGroup(ConfigurationFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(ConfigurationFrameLayout.createSequentialGroup()
.addGroup(ConfigurationFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(ConfigurationFrameLayout.createSequentialGroup()
.addComponent(jLabel18, javax.swing.GroupLayout.PREFERRED_SIZE, 297, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(ParallelTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 114, Short.MAX_VALUE))
.addGroup(ConfigurationFrameLayout.createSequentialGroup()
.addComponent(jLabel19, javax.swing.GroupLayout.PREFERRED_SIZE, 297, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(ThreadTextField)))
.addGap(627, 627, 627))
.addGroup(ConfigurationFrameLayout.createSequentialGroup()
.addComponent(jLabel21, javax.swing.GroupLayout.PREFERRED_SIZE, 297, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(Adapter5TextField)
.addContainerGap())
.addGroup(ConfigurationFrameLayout.createSequentialGroup()
.addComponent(jLabel22, javax.swing.GroupLayout.PREFERRED_SIZE, 297, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(Adapter3TextField)
.addContainerGap())))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, ConfigurationFrameLayout.createSequentialGroup()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jButton11)
.addGap(18, 18, 18)
.addComponent(jButton10)
.addGap(18, 18, 18)
.addComponent(ConfCancell)
.addContainerGap())
);
ConfigurationFrameLayout.setVerticalGroup(
ConfigurationFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(ConfigurationFrameLayout.createSequentialGroup()
.addContainerGap()
.addGroup(ConfigurationFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel18)
.addComponent(ParallelTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(ConfigurationFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel19)
.addComponent(ThreadTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(ConfigurationFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel21)
.addComponent(Adapter5TextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(ConfigurationFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel22)
.addComponent(Adapter3TextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 14, Short.MAX_VALUE)
.addGroup(ConfigurationFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(ConfCancell)
.addComponent(jButton10)
.addComponent(jButton11))
.addContainerGap())
);
jMenuItem5.setText("jMenuItem5");
CovComboBox.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "Cov.1", "Cov.2", "Cov.3", "Cov.4", "Cov.5", "Cov.6", "Cov.7", "Cov.8", "Cov.9", "Cov.10", "Cov.11", "Cov.12", "Cov.13", "Cov.14", "Cov.15", "Cov.16", "Cov.17", "Cov.18", "Cov.19", "Cov.20", "Cov.21", "Cov.22", "Cov.23", "Cov.24", "Cov.25", "Cov.26", "Cov.27", "Cov.28", "Cov.29", "Cov.30" }));
jRadioButton1.setText("jRadioButton1");
BatchComboBox.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "Batch1", "Batch2", "Batch3", "Batch4", "Batch5", "Batch6", "Batch7", "Batch8", "Batch9", "Batch10", "Batch11", "Batch12", "Batch13", "Batch14", "Batch15", "Batch16", "Batch17", "Batch18", "Batch19", "Batch20" }));
DownloadFrame.setTitle("Download Docker imges");
DownloadFrame.getContentPane().setLayout(new java.awt.GridBagLayout());
jButton31.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/close.png"))); // NOI18N
jButton31.setText("Cancel");
jButton31.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton31ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 8);
DownloadFrame.getContentPane().add(jButton31, gridBagConstraints);
jButton32.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/downloadb.png"))); // NOI18N
jButton32.setText("Download");
jButton32.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton32ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
DownloadFrame.getContentPane().add(jButton32, gridBagConstraints);
jPanel1.setBackground(new java.awt.Color(194, 238, 194));
jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Select a subset of Images (Optional)", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 1, 12), new java.awt.Color(0, 102, 51))); // NOI18N
jPanel1.setLayout(new java.awt.GridBagLayout());
jLabel12.setText("Container list file: ");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.insets = new java.awt.Insets(15, 10, 10, 10);
jPanel1.add(jLabel12, gridBagConstraints);
jButton33.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jButton33.setText("Cancel");
jButton33.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton33ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 8;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel1.add(jButton33, gridBagConstraints);
jButton34.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/fileb.png"))); // NOI18N
jButton34.setText("Browse ");
jButton34.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton34ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel1.add(jButton34, gridBagConstraints);
Downloadtext.setEditable(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.weightx = 5.0;
gridBagConstraints.insets = new java.awt.Insets(15, 10, 10, 10);
jPanel1.add(Downloadtext, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 3;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 0, 10);
DownloadFrame.getContentPane().add(jPanel1, gridBagConstraints);
About4SeqGUIFrame.setTitle("About 4SeqGUI");
About4SeqGUIFrame.setResizable(false);
About4SeqGUIFrame.getContentPane().setLayout(new java.awt.GridBagLayout());
jLabel96.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/4SeqGUI.png"))); // NOI18N
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.weightx = 0.01;
gridBagConstraints.insets = new java.awt.Insets(10, 1, 10, 1);
About4SeqGUIFrame.getContentPane().add(jLabel96, gridBagConstraints);
jLabel100.setFont(new java.awt.Font("Dialog", 1, 14)); // NOI18N
jLabel100.setText("Version 1.2.1");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.insets = new java.awt.Insets(1, 1, 1, 1);
About4SeqGUIFrame.getContentPane().add(jLabel100, gridBagConstraints);
jLabel101.setFont(new java.awt.Font("Dialog", 1, 10)); // NOI18N
jLabel101.setText("Copyright © January 2017");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.insets = new java.awt.Insets(10, 0, 10, 0);
About4SeqGUIFrame.getContentPane().add(jLabel101, gridBagConstraints);
jButton36.setText("OK");
jButton36.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton36ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 4;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
About4SeqGUIFrame.getContentPane().add(jButton36, gridBagConstraints);
jLabel99.setFont(jLabel99.getFont());
jLabel99.setText("M. Beccuti, R. Calogero and F. Cordero");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.insets = new java.awt.Insets(5, 20, 10, 20);
About4SeqGUIFrame.getContentPane().add(jLabel99, gridBagConstraints);
About4SeqGUIFrame.getContentPane().add(jLabel102, new java.awt.GridBagConstraints());
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle("4SeqGUI");
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowClosing(java.awt.event.WindowEvent evt) {
formWindowClosing(evt);
}
});
jToolBar1.setBackground(new java.awt.Color(237, 237, 237));
jToolBar1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
jToolBar1.setRollover(true);
jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52.png"))); // NOI18N
jButton1.setToolTipText("Open a previous execution");
jButton1.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 10, 5, 5));
jButton1.setFocusable(false);
jButton1.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
jButton1.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
jToolBar1.add(jButton1);
jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86.png"))); // NOI18N
jButton2.setToolTipText("Save current executions");
jButton2.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));
jButton2.setFocusable(false);
jButton2.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
jButton2.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
jButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton2ActionPerformed(evt);
}
});
jToolBar1.add(jButton2);
jToggleButton11.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/preference.png"))); // NOI18N
jToggleButton11.setToolTipText("Configure 4SeqGUI");
jToggleButton11.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 15, 5, 15));
jToggleButton11.setFocusable(false);
jToggleButton11.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
jToggleButton11.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
jToggleButton11.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton11ActionPerformed(evt);
}
});
jToolBar1.add(jToggleButton11);
jButton9.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/docker.png"))); // NOI18N
jButton9.setToolTipText("Remove docker containers");
jButton9.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));
jButton9.setFocusable(false);
jButton9.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
jButton9.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
jButton9.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton9ActionPerformed(evt);
}
});
jToolBar1.add(jButton9);
jButton26.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/download.png"))); // NOI18N
jButton26.setToolTipText("Download docker images");
jButton26.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));
jButton26.setFocusable(false);
jButton26.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
jButton26.setMargin(new java.awt.Insets(2, 140, 2, 140));
jButton26.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
jButton26.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton26ActionPerformed(evt);
}
});
jToolBar1.add(jButton26);
jButton35.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/iconDNA-small.png"))); // NOI18N
jButton35.setToolTipText("About 4SeqGUI");
jButton35.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 15, 5, 15));
jButton35.setFocusable(false);
jButton35.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
jButton35.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
jButton35.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton35ActionPerformed(evt);
}
});
jToolBar1.add(jButton35);
getContentPane().add(jToolBar1, java.awt.BorderLayout.NORTH);
VerticalSplitPanel.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
BottomPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
BottomPanel.setLayout(new java.awt.GridBagLayout());
jScrollPane4.setToolTipText("");
ProcStatusPanel.setLayout(new java.awt.GridBagLayout());
ProcList.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Process status", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 1, 14), new java.awt.Color(0, 82, 150))); // NOI18N
ProcList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
ProcList.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
ProcListMouseClicked(evt);
}
});
ProcList.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
ProcListValueChanged(evt);
}
});
jScrollPane2.setViewportView(ProcList);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.weighty = 0.1;
ProcStatusPanel.add(jScrollPane2, gridBagConstraints);
jScrollPane4.setViewportView(ProcStatusPanel);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.weighty = 0.1;
BottomPanel.add(jScrollPane4, gridBagConstraints);
VerticalSplitPanel.setBottomComponent(BottomPanel);
HorizontalSplitPanel.setBorder(null);
MainPanel.setBackground(new java.awt.Color(255, 255, 255));
MainPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
MainPanel.setLayout(new java.awt.CardLayout());
EmptyPanel.setBackground(new java.awt.Color(255, 255, 255));
EmptyPanel.setLayout(new java.awt.GridBagLayout());
jLabel24.setBackground(new java.awt.Color(255, 255, 255));
jLabel24.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
jLabel24.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/background.png"))); // NOI18N
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.insets = new java.awt.Insets(12, 12, 12, 12);
EmptyPanel.add(jLabel24, gridBagConstraints);
Empty.setViewportView(EmptyPanel);
MainPanel.add(Empty, "Empty");
IndexingStarRSEMPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Genome indexing STAR-RSEM", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 1, 14), new java.awt.Color(0, 102, 102))); // NOI18N
IndexingStarRSEMPanel.setToolTipText("");
IndexingStarRSEMPanel.setLayout(new java.awt.GridBagLayout());
iCloseButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/close.png"))); // NOI18N
iCloseButton.setText("Close");
iCloseButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iCloseButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingStarRSEMPanel.add(iCloseButton, gridBagConstraints);
jButton12.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/exec.png"))); // NOI18N
jButton12.setText("Execute");
jButton12.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton12ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weightx = 0.3;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingStarRSEMPanel.add(jButton12, gridBagConstraints);
iResetButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/reset.png"))); // NOI18N
iResetButton.setText("Reset");
iResetButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iResetButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingStarRSEMPanel.add(iResetButton, gridBagConstraints);
jButton14.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86b.png"))); // NOI18N
jButton14.setText("Save conf.");
jButton14.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton14ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingStarRSEMPanel.add(jButton14, gridBagConstraints);
jPanel13.setBackground(new java.awt.Color(230, 235, 235));
jPanel13.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel13.setLayout(new java.awt.GridBagLayout());
jLabel28.setText("Genome folder:");
jLabel28.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel13.add(jLabel28, gridBagConstraints);
iGenomeFolderText.setEditable(false);
iGenomeFolderText.setToolTipText("The folder that will contain the indexed genome.");
iGenomeFolderText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iGenomeFolderTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel13.add(iGenomeFolderText, gridBagConstraints);
jToggleButton15.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton15.setText("Browse");
jToggleButton15.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton15ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 5;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel13.add(jToggleButton15, gridBagConstraints);
jToggleButton16.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jToggleButton16.setText("Cancel");
jToggleButton16.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton16ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel13.add(jToggleButton16, gridBagConstraints);
jLabel30.setText("Genome url:");
jLabel30.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel13.add(jLabel30, gridBagConstraints);
iGenomeURLText.setToolTipText("The URL which will be used to download the genome");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 6;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel13.add(iGenomeURLText, gridBagConstraints);
jLabel33.setText("GTF url:");
jLabel33.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel13.add(jLabel33, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 6;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel13.add(iGTFURLText, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingStarRSEMPanel.add(jPanel13, gridBagConstraints);
jPanel14.setBackground(new java.awt.Color(230, 235, 235));
jPanel14.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel14.setLayout(new java.awt.GridBagLayout());
jLabel31.setText("Execution:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel14.add(jLabel31, gridBagConstraints);
iSudoRadioButton.setBackground(new java.awt.Color(230, 235, 235));
IExecutionStarRSEM.add(iSudoRadioButton);
iSudoRadioButton.setText("sudo");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel14.add(iSudoRadioButton, gridBagConstraints);
iDockerRadioButton.setBackground(new java.awt.Color(230, 235, 235));
IExecutionStarRSEM.add(iDockerRadioButton);
iDockerRadioButton.setSelected(true);
iDockerRadioButton.setText("docker");
iDockerRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iDockerRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel14.add(iDockerRadioButton, gridBagConstraints);
jLabel32.setText("Thread number:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel14.add(jLabel32, gridBagConstraints);
iThreadText.setText("8");
iThreadText.setToolTipText("The number of threads which will be used during the computation.");
iThreadText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
iThreadTextFocusLost(evt);
}
});
iThreadText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iThreadTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel14.add(iThreadText, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingStarRSEMPanel.add(jPanel14, gridBagConstraints);
IndexingStarRSEM.setViewportView(IndexingStarRSEMPanel);
MainPanel.add(IndexingStarRSEM, "indexing");
mRNA.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "miRNA counting", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 1, 14), new java.awt.Color(153, 0, 0))); // NOI18N
mRNAPanel.setLayout(new java.awt.GridBagLayout());
jButton6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/exec.png"))); // NOI18N
jButton6.setText("Execute");
jButton6.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton6ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
mRNAPanel.add(jButton6, gridBagConstraints);
jButton8.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86b.png"))); // NOI18N
jButton8.setText("Save conf.");
jButton8.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton8ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
mRNAPanel.add(jButton8, gridBagConstraints);
jButton7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/reset.png"))); // NOI18N
jButton7.setText("Reset");
jButton7.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton7ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
mRNAPanel.add(jButton7, gridBagConstraints);
vCloseButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/close.png"))); // NOI18N
vCloseButton1.setText("Close");
vCloseButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vCloseButton1ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
mRNAPanel.add(vCloseButton1, gridBagConstraints);
jPanel9.setBackground(new java.awt.Color(235, 230, 230));
jPanel9.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel9.setLayout(new java.awt.GridBagLayout());
jLabel17.setText("miRBase organism:");
jLabel17.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel9.add(jLabel17, gridBagConstraints);
mmiRBaseText.setText("hsa");
mmiRBaseText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
mmiRBaseTextFocusLost(evt);
}
});
mmiRBaseText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
mmiRBaseTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 9;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel9.add(mmiRBaseText, gridBagConstraints);
jLabel20.setText("mirBase donwload: ");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel9.add(jLabel20, gridBagConstraints);
mDTrueRadioButton.setBackground(new java.awt.Color(235, 230, 230));
mDownload.add(mDTrueRadioButton);
mDTrueRadioButton.setText("True");
mDTrueRadioButton.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel9.add(mDTrueRadioButton, gridBagConstraints);
mDFalseRadioButton.setBackground(new java.awt.Color(235, 230, 230));
mDownload.add(mDFalseRadioButton);
mDFalseRadioButton.setSelected(true);
mDFalseRadioButton.setText("False");
mDFalseRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
mDFalseRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel9.add(mDFalseRadioButton, gridBagConstraints);
jLabel23.setText("Adapter type:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 4;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel9.add(jLabel23, gridBagConstraints);
mANEBRadioButton.setBackground(new java.awt.Color(235, 230, 230));
MAdapter.add(mANEBRadioButton);
mANEBRadioButton.setText("NEB");
mANEBRadioButton.setToolTipText("");
mANEBRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
mANEBRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 3;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel9.add(mANEBRadioButton, gridBagConstraints);
mAILLUMINARadioButton.setBackground(new java.awt.Color(235, 230, 230));
MAdapter.add(mAILLUMINARadioButton);
mAILLUMINARadioButton.setSelected(true);
mAILLUMINARadioButton.setText("ILLUMINA");
mAILLUMINARadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
mAILLUMINARadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 6;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel9.add(mAILLUMINARadioButton, gridBagConstraints);
jLabel25.setText("Save trimmed Fastq:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 6;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel9.add(jLabel25, gridBagConstraints);
mTTrueRadioButton.setBackground(new java.awt.Color(230, 230, 235));
mTrimmed.add(mTTrueRadioButton);
mTTrueRadioButton.setText("True");
mTTrueRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
mTTrueRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 6;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel9.add(mTTrueRadioButton, gridBagConstraints);
mTFalseRadioButton.setBackground(new java.awt.Color(230, 230, 235));
mTrimmed.add(mTFalseRadioButton);
mTFalseRadioButton.setSelected(true);
mTFalseRadioButton.setText("False");
mTFalseRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
mTFalseRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 6;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel9.add(mTFalseRadioButton, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
mRNAPanel.add(jPanel9, gridBagConstraints);
jPanel8.setBackground(new java.awt.Color(235, 230, 230));
jPanel8.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel8.setLayout(new java.awt.GridBagLayout());
jLabel15.setText("FastQ folder:");
jLabel15.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel8.add(jLabel15, gridBagConstraints);
mFastQFolderText.setEditable(false);
mFastQFolderText.setToolTipText("The folder containing the input reads");
mFastQFolderText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
mFastQFolderTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 50, 10, 10);
jPanel8.add(mFastQFolderText, gridBagConstraints);
jToggleButton8.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton8.setText("Browse");
jToggleButton8.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton8ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 5;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_TRAILING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel8.add(jToggleButton8, gridBagConstraints);
jToggleButton7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jToggleButton7.setText("Cancel");
jToggleButton7.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton7ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_TRAILING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel8.add(jToggleButton7, gridBagConstraints);
mOutputFolderText.setEditable(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 50, 10, 10);
jPanel8.add(mOutputFolderText, gridBagConstraints);
jToggleButton9.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jToggleButton9.setText("Cancel");
jToggleButton9.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton9ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_TRAILING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel8.add(jToggleButton9, gridBagConstraints);
jToggleButton10.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton10.setText("Browse");
jToggleButton10.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton10ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 5;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_TRAILING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel8.add(jToggleButton10, gridBagConstraints);
jLabel16.setText("Scratch folder:");
jLabel16.setToolTipText("This folder will be mounted in the docker container");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel8.add(jLabel16, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
mRNAPanel.add(jPanel8, gridBagConstraints);
jPanel7.setBackground(new java.awt.Color(235, 230, 230));
jPanel7.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel7.setLayout(new java.awt.GridBagLayout());
jLabel14.setText("Execution:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel7.add(jLabel14, gridBagConstraints);
mSudoRadioButton.setBackground(new java.awt.Color(237, 230, 230));
mExecution.add(mSudoRadioButton);
mSudoRadioButton.setText("sudo");
mSudoRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
mSudoRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 85, 10, 10);
jPanel7.add(mSudoRadioButton, gridBagConstraints);
mDockerRadioButton.setBackground(new java.awt.Color(237, 230, 230));
mExecution.add(mDockerRadioButton);
mDockerRadioButton.setSelected(true);
mDockerRadioButton.setText("docker");
mDockerRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
mDockerRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel7.add(mDockerRadioButton, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
mRNAPanel.add(jPanel7, gridBagConstraints);
mRNA.setViewportView(mRNAPanel);
MainPanel.add(mRNA, "mRNA");
FPKMPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "From samples to experiment", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 1, 14), new java.awt.Color(102, 0, 153))); // NOI18N
FPKMPanel.setLayout(new java.awt.GridBagLayout());
jPanel4.setBackground(new java.awt.Color(232, 232, 242));
jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel4.setLayout(new java.awt.GridBagLayout());
FPKMFileTable.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
},
new String [] {
"Folder", "Grouping", "Batch"
}
) {
Class[] types = new Class [] {
java.lang.String.class, java.lang.Object.class, java.lang.Object.class
};
public Class getColumnClass(int columnIndex) {
return types [columnIndex];
}
});
FPKMFileTable.setColumnSelectionAllowed(true);
FPKMFileTable.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
FPKMFileTable.getTableHeader().setReorderingAllowed(false);
jScrollPane6.setViewportView(FPKMFileTable);
FPKMFileTable.getColumnModel().getSelectionModel().setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
if (FPKMFileTable.getColumnModel().getColumnCount() > 0) {
FPKMFileTable.getColumnModel().getColumn(1).setCellEditor(new DefaultCellEditor(CovComboBox));
FPKMFileTable.getColumnModel().getColumn(2).setCellEditor(new DefaultCellEditor(BatchComboBox));
}
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.weighty = 1.0;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel4.add(jScrollPane6, gridBagConstraints);
FAddFile.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/fileb.png"))); // NOI18N
FAddFile.setText("Add");
FAddFile.setToolTipText("");
FAddFile.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
FAddFileActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 1;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel4.add(FAddFile, gridBagConstraints);
jButton13.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/remove.png"))); // NOI18N
jButton13.setText("Remove");
jButton13.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton13ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel4.add(jButton13, gridBagConstraints);
jLabel26.setText("Biological Types:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 4;
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel4.add(jLabel26, gridBagConstraints);
FtypesComboBox.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "protein_coding", "unitary_pseudogene", "unprocessed_pseudogene", "processed_pseudogene", "transcribed_unprocessed_pseudogene", "processed_transcript", "antisense", "transcribed_unitary_pseudogene", "polymorphic_pseudogene", "lincRNA", "sense_intronic", "transcribed_processed_pseudogene", "sense_overlapping", "IG_V_pseudogene", "pseudogene", "TR_V_gene", "3prime_overlapping_ncRNA", "IG_V_gene", "bidirectional_promoter_lncRNA", "snRNA", "miRNA", "misc_RNA", "snoRNA", "rRNA", "IG_C_gene", "IG_J_gene", "TR_J_gene", "TR_C_gene", "TR_V_pseudogene", "TR_J_pseudogene", "IG_D_gene", "ribozyme", "IG_C_pseudogene", "TR_D_gene", "TEC", "IG_J_pseudogene", "scRNA", "scaRNA", "vaultRNA", "sRNA", "macro_lncRNA", "non_coding", "IG_pseudogene" }));
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel4.add(FtypesComboBox, gridBagConstraints);
jLabel27.setText("Output Folder:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel4.add(jLabel27, gridBagConstraints);
FOutputFolderText.setEditable(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.weightx = 0.4;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel4.add(FOutputFolderText, gridBagConstraints);
Fbrowes.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
Fbrowes.setText("Browse");
Fbrowes.setToolTipText("");
Fbrowes.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
FbrowesActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel4.add(Fbrowes, gridBagConstraints);
Fcancel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
Fcancel.setText("Cancel");
Fcancel.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
FcancelActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_TRAILING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel4.add(Fcancel, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
FPKMPanel.add(jPanel4, gridBagConstraints);
FExecuteButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/exec.png"))); // NOI18N
FExecuteButton.setText("Execute");
FExecuteButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
FExecuteButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
FPKMPanel.add(FExecuteButton, gridBagConstraints);
FSaveButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86b.png"))); // NOI18N
FSaveButton.setText("Save conf.");
FSaveButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
FSaveButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
FPKMPanel.add(FSaveButton, gridBagConstraints);
FResetButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/reset.png"))); // NOI18N
FResetButton.setText("Reset");
FResetButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
FResetButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
FPKMPanel.add(FResetButton, gridBagConstraints);
FCloseButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/close.png"))); // NOI18N
FCloseButton.setText("Close");
FCloseButton.setToolTipText("");
FCloseButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
FCloseButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
FPKMPanel.add(FCloseButton, gridBagConstraints);
FPKM.setViewportView(FPKMPanel);
MainPanel.add(FPKM, "FPKMCounting");
vmRNAPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Genes, isoforms counting RSEM", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 1, 14), new java.awt.Color(0, 102, 102))); // NOI18N
vmRNAPanel.setToolTipText("");
vmRNAPanel.setLayout(new java.awt.GridBagLayout());
vCloseButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/close.png"))); // NOI18N
vCloseButton.setText("Close");
vCloseButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vCloseButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
vmRNAPanel.add(vCloseButton, gridBagConstraints);
jButton4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/exec.png"))); // NOI18N
jButton4.setText("Execute");
jButton4.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton4ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
vmRNAPanel.add(jButton4, gridBagConstraints);
jButton5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/reset.png"))); // NOI18N
jButton5.setText("Reset");
jButton5.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton5ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
vmRNAPanel.add(jButton5, gridBagConstraints);
jButton3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86b.png"))); // NOI18N
jButton3.setText("Save conf.");
jButton3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton3ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
vmRNAPanel.add(jButton3, gridBagConstraints);
jPanel2.setBackground(new java.awt.Color(230, 235, 235));
jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel2.setLayout(new java.awt.GridBagLayout());
jLabel2.setText("FastQ folder:");
jLabel2.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel2.add(jLabel2, gridBagConstraints);
vFastQFolderText.setEditable(false);
vFastQFolderText.setToolTipText("The folder containing the input reads in FastQ format.");
vFastQFolderText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vFastQFolderTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 28, 10, 10);
jPanel2.add(vFastQFolderText, gridBagConstraints);
jToggleButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton2.setText("Browse");
jToggleButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton2ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel2.add(jToggleButton2, gridBagConstraints);
jToggleButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jToggleButton1.setText("Cancel");
jToggleButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton1ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 7;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel2.add(jToggleButton1, gridBagConstraints);
jLabel3.setText("Scratch folder:");
jLabel3.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel2.add(jLabel3, gridBagConstraints);
vOutputFolderText.setEditable(false);
vOutputFolderText.setToolTipText("This folder will be mounted in the docker container.");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 28, 10, 10);
jPanel2.add(vOutputFolderText, gridBagConstraints);
jToggleButton4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton4.setText("Browse");
jToggleButton4.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton4ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel2.add(jToggleButton4, gridBagConstraints);
jToggleButton3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jToggleButton3.setText("Cancel");
jToggleButton3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton3ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 7;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel2.add(jToggleButton3, gridBagConstraints);
jLabel9.setText("Genome folder:");
jLabel9.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 1.6;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel2.add(jLabel9, gridBagConstraints);
vGenomeFolderText.setEditable(false);
vGenomeFolderText.setToolTipText("The folder containing the indexed genome.");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 28, 10, 10);
jPanel2.add(vGenomeFolderText, gridBagConstraints);
jToggleButton5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton5.setText("Browse");
jToggleButton5.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton5ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel2.add(jToggleButton5, gridBagConstraints);
jToggleButton6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jToggleButton6.setText("Cancel");
jToggleButton6.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton6ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 7;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel2.add(jToggleButton6, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
vmRNAPanel.add(jPanel2, gridBagConstraints);
jPanel3.setBackground(new java.awt.Color(230, 235, 235));
jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel3.setLayout(new java.awt.GridBagLayout());
jLabel1.setText("Execution:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel3.add(jLabel1, gridBagConstraints);
vSudoRadioButton.setBackground(new java.awt.Color(230, 235, 235));
vExecution.add(vSudoRadioButton);
vSudoRadioButton.setText("sudo");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 28, 10, 10);
jPanel3.add(vSudoRadioButton, gridBagConstraints);
vDockerRadioButton.setBackground(new java.awt.Color(230, 235, 235));
vExecution.add(vDockerRadioButton);
vDockerRadioButton.setSelected(true);
vDockerRadioButton.setText("docker");
vDockerRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vDockerRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel3.add(vDockerRadioButton, gridBagConstraints);
jLabel4.setText("Thread number:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel3.add(jLabel4, gridBagConstraints);
vThreadText.setText("8");
vThreadText.setToolTipText("The number of threads which will be used during the computation.");
vThreadText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
vThreadTextFocusLost(evt);
}
});
vThreadText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vThreadTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 28, 10, 10);
jPanel3.add(vThreadText, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
vmRNAPanel.add(jPanel3, gridBagConstraints);
jPanel6.setBackground(new java.awt.Color(230, 235, 235));
jPanel6.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel6.setLayout(new java.awt.GridBagLayout());
vAdapter5Text.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
vAdapter5TextFocusLost(evt);
}
});
vAdapter5Text.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vAdapter5TextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 24;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(vAdapter5Text, gridBagConstraints);
jLabel5.setText("Adapter 5':");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(jLabel5, gridBagConstraints);
jLabel6.setText("Adapter 3':");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(jLabel6, gridBagConstraints);
vAdapter3Text.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
vAdapter3TextFocusLost(evt);
}
});
vAdapter3Text.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vAdapter3TextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 24;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(vAdapter3Text, gridBagConstraints);
vPeRadioButton.setBackground(new java.awt.Color(230, 235, 235));
vSeq.add(vPeRadioButton);
vPeRadioButton.setSelected(true);
vPeRadioButton.setText("paired-end");
vPeRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vPeRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 7;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 7;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(vPeRadioButton, gridBagConstraints);
vSeRadioButton.setBackground(new java.awt.Color(230, 235, 235));
vSeq.add(vSeRadioButton);
vSeRadioButton.setText("single-end");
vSeRadioButton.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(vSeRadioButton, gridBagConstraints);
jLabel7.setText("Type of Sequence");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(jLabel7, gridBagConstraints);
jLabel8.setText("Min length:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 6;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(jLabel8, gridBagConstraints);
vMinLengthText.setText("40");
vMinLengthText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
vMinLengthTextFocusLost(evt);
}
});
vMinLengthText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vMinLengthTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 6;
gridBagConstraints.gridwidth = 3;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(vMinLengthText, gridBagConstraints);
jLabel10.setText("Strandness:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 8;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(jLabel10, gridBagConstraints);
vSNoneRadioButton.setBackground(new java.awt.Color(230, 235, 235));
Strand.add(vSNoneRadioButton);
vSNoneRadioButton.setSelected(true);
vSNoneRadioButton.setText("none");
vSNoneRadioButton.setToolTipText("");
vSNoneRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vSNoneRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 8;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(vSNoneRadioButton, gridBagConstraints);
vSForwardRadioButton.setBackground(new java.awt.Color(230, 235, 235));
Strand.add(vSForwardRadioButton);
vSForwardRadioButton.setText("forward");
vSForwardRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vSForwardRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 7;
gridBagConstraints.gridy = 8;
gridBagConstraints.gridwidth = 6;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(vSForwardRadioButton, gridBagConstraints);
vSReverseRadioButton.setBackground(new java.awt.Color(230, 235, 235));
Strand.add(vSReverseRadioButton);
vSReverseRadioButton.setText("reverse");
vSReverseRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vSReverseRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 16;
gridBagConstraints.gridy = 8;
gridBagConstraints.gridwidth = 8;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(vSReverseRadioButton, gridBagConstraints);
vOrganismText.setText("hg38");
vOrganismText.setToolTipText("");
vOrganismText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
vOrganismTextFocusLost(evt);
}
});
vOrganismText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vOrganismTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 10;
gridBagConstraints.gridwidth = 24;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(vOrganismText, gridBagConstraints);
jLabel11.setText("Organism:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 10;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(jLabel11, gridBagConstraints);
jLabel13.setText("Save alignments:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 12;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_TRAILING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(jLabel13, gridBagConstraints);
vBAMyesRadioButton.setBackground(new java.awt.Color(230, 235, 235));
Annotation.add(vBAMyesRadioButton);
vBAMyesRadioButton.setText("Yes");
vBAMyesRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vBAMyesRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 12;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(vBAMyesRadioButton, gridBagConstraints);
vBAMnoLRadioButton.setBackground(new java.awt.Color(230, 235, 235));
Annotation.add(vBAMnoLRadioButton);
vBAMnoLRadioButton.setSelected(true);
vBAMnoLRadioButton.setText("No");
vBAMnoLRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vBAMnoLRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 12;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel6.add(vBAMnoLRadioButton, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
vmRNAPanel.add(jPanel6, gridBagConstraints);
vmRNA.setViewportView(vmRNAPanel);
MainPanel.add(vmRNA, "vmRNA");
PCAPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "PCA", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 1, 14), new java.awt.Color(204, 102, 0))); // NOI18N
PCAPanel.setToolTipText("");
PCAPanel.setLayout(new java.awt.GridBagLayout());
vCloseButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/close.png"))); // NOI18N
vCloseButton2.setText("Close");
vCloseButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vCloseButton2ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
PCAPanel.add(vCloseButton2, gridBagConstraints);
jButton15.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/exec.png"))); // NOI18N
jButton15.setText("Execute");
jButton15.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton15ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.weighty = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
PCAPanel.add(jButton15, gridBagConstraints);
jButton16.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/reset.png"))); // NOI18N
jButton16.setText("Reset");
jButton16.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton16ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
PCAPanel.add(jButton16, gridBagConstraints);
jButton17.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86b.png"))); // NOI18N
jButton17.setText("Save conf.");
jButton17.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton17ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
PCAPanel.add(jButton17, gridBagConstraints);
jPanel5.setBackground(new java.awt.Color(250, 241, 233));
jPanel5.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel5.setLayout(new java.awt.GridBagLayout());
jLabel29.setText("Output folders:");
jLabel29.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel5.add(jLabel29, gridBagConstraints);
pFPKMfileText.setEditable(false);
pFPKMfileText.setToolTipText("Input data folder.");
pFPKMfileText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
pFPKMfileTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 20, 10, 10);
jPanel5.add(pFPKMfileText, gridBagConstraints);
jToggleButton12.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/fileb.png"))); // NOI18N
jToggleButton12.setText("Browse");
jToggleButton12.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton12ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel5.add(jToggleButton12, gridBagConstraints);
fCancelButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
fCancelButton.setText("Cancel");
fCancelButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
fCancelButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel5.add(fCancelButton, gridBagConstraints);
jLabel34.setText("FPKM/TPM file:");
jLabel34.setToolTipText("The FPKM or TPM table file name");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel5.add(jLabel34, gridBagConstraints);
pOutputFolderText.setEditable(false);
pOutputFolderText.setToolTipText("Output data folder.");
pOutputFolderText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
pOutputFolderTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 20, 10, 10);
jPanel5.add(pOutputFolderText, gridBagConstraints);
jToggleButton13.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton13.setText("Browse");
jToggleButton13.setEnabled(false);
jToggleButton13.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton13ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel5.add(jToggleButton13, gridBagConstraints);
fCancelButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
fCancelButton1.setText("Cancel");
fCancelButton1.setEnabled(false);
fCancelButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
fCancelButton1ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel5.add(fCancelButton1, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
PCAPanel.add(jPanel5, gridBagConstraints);
jPanel11.setBackground(new java.awt.Color(250, 241, 233));
jPanel11.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel11.setLayout(new java.awt.GridBagLayout());
pComponent1Text.setToolTipText("First component number");
pComponent1Text.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
pComponent1TextFocusLost(evt);
}
});
pComponent1Text.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
pComponent1TextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 0;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel11.add(pComponent1Text, gridBagConstraints);
jLabel38.setText("Component 1:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel11.add(jLabel38, gridBagConstraints);
jLabel39.setText("Component 2:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel11.add(jLabel39, gridBagConstraints);
pComponent2Text.setToolTipText("Second componet number");
pComponent2Text.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
pComponent2TextFocusLost(evt);
}
});
pComponent2Text.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
pComponent2TextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 1;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel11.add(pComponent2Text, gridBagConstraints);
jLabel42.setText("Data type:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel11.add(jLabel42, gridBagConstraints);
pCountsRadioButton.setBackground(new java.awt.Color(250, 241, 233));
DataType.add(pCountsRadioButton);
pCountsRadioButton.setText("counts");
pCountsRadioButton.setToolTipText("");
pCountsRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
pCountsRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel11.add(pCountsRadioButton, gridBagConstraints);
pFPKMRadioButton.setBackground(new java.awt.Color(250, 241, 233));
DataType.add(pFPKMRadioButton);
pFPKMRadioButton.setSelected(true);
pFPKMRadioButton.setText("FPKM");
pFPKMRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
pFPKMRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 6;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel11.add(pFPKMRadioButton, gridBagConstraints);
pTPMRadioButton.setBackground(new java.awt.Color(250, 241, 233));
DataType.add(pTPMRadioButton);
pTPMRadioButton.setText("TPM");
pTPMRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
pTPMRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 11;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 8;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.3;
gridBagConstraints.weighty = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 25, 10, 10);
jPanel11.add(pTPMRadioButton, gridBagConstraints);
jLabel43.setText("Legend position:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel11.add(jLabel43, gridBagConstraints);
jLabel44.setText("Covariates:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel11.add(jLabel44, gridBagConstraints);
pCovYesRadioButton.setBackground(new java.awt.Color(250, 241, 233));
Covariates.add(pCovYesRadioButton);
pCovYesRadioButton.setSelected(true);
pCovYesRadioButton.setText("yes");
pCovYesRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
pCovYesRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 4;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel11.add(pCovYesRadioButton, gridBagConstraints);
pCovNoRadioButton.setBackground(new java.awt.Color(250, 241, 233));
Covariates.add(pCovNoRadioButton);
pCovNoRadioButton.setText("no");
pCovNoRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
pCovNoRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weighty = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel11.add(pCovNoRadioButton, gridBagConstraints);
pLegendComboBox.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "bottom", "bottomleft", "left", "topleft", "top", "topright", "right", "center" }));
pLegendComboBox.setSelectedIndex(1);
pLegendComboBox.setToolTipText("Plot legend position.");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel11.add(pLegendComboBox, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
PCAPanel.add(jPanel11, gridBagConstraints);
PCA.setViewportView(PCAPanel);
MainPanel.add(PCA, "PCA");
DESPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "DESeq2 analysis", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 1, 14), new java.awt.Color(0, 153, 204))); // NOI18N
DESPanel.setToolTipText("");
DESPanel.setLayout(new java.awt.GridBagLayout());
vCloseButton3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/close.png"))); // NOI18N
vCloseButton3.setText("Close");
vCloseButton3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vCloseButton3ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
DESPanel.add(vCloseButton3, gridBagConstraints);
jButton18.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/exec.png"))); // NOI18N
jButton18.setText("Execute");
jButton18.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton18ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.weighty = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
DESPanel.add(jButton18, gridBagConstraints);
jButton19.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/reset.png"))); // NOI18N
jButton19.setText("Reset");
jButton19.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton19ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
DESPanel.add(jButton19, gridBagConstraints);
jButton20.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86b.png"))); // NOI18N
jButton20.setText("Save conf.");
jButton20.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton20ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
DESPanel.add(jButton20, gridBagConstraints);
jPanel10.setBackground(new java.awt.Color(233, 243, 251));
jPanel10.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel10.setLayout(new java.awt.GridBagLayout());
jLabel35.setText("Output folders:");
jLabel35.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel10.add(jLabel35, gridBagConstraints);
dFPKMfileText.setEditable(false);
dFPKMfileText.setToolTipText("Input data folder.");
dFPKMfileText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
dFPKMfileTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 65, 10, 10);
jPanel10.add(dFPKMfileText, gridBagConstraints);
jToggleButton14.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/fileb.png"))); // NOI18N
jToggleButton14.setText("Browse");
jToggleButton14.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton14ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel10.add(jToggleButton14, gridBagConstraints);
fCancelButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
fCancelButton2.setText("Cancel");
fCancelButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
fCancelButton2ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel10.add(fCancelButton2, gridBagConstraints);
jLabel36.setText("Count file:");
jLabel36.setToolTipText("The FPKM or TPM table file nam");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel10.add(jLabel36, gridBagConstraints);
dOutputFolderText.setEditable(false);
dOutputFolderText.setToolTipText("Output data folder.");
dOutputFolderText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
dOutputFolderTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 65, 10, 10);
jPanel10.add(dOutputFolderText, gridBagConstraints);
jToggleButton17.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton17.setText("Browse");
jToggleButton17.setEnabled(false);
jToggleButton17.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton17ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel10.add(jToggleButton17, gridBagConstraints);
fCancelButton3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
fCancelButton3.setText("Cancel");
fCancelButton3.setEnabled(false);
fCancelButton3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
fCancelButton3ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel10.add(fCancelButton3, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
DESPanel.add(jPanel10, gridBagConstraints);
jPanel12.setBackground(new java.awt.Color(233, 243, 251));
jPanel12.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel12.setLayout(new java.awt.GridBagLayout());
dLog2fcText.setToolTipText("Log_2 fold change threshold for differetially expressed genes");
dLog2fcText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
dLog2fcTextFocusLost(evt);
}
});
dLog2fcText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
dLog2fcTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel12.add(dLog2fcText, gridBagConstraints);
jLabel40.setText("Log2fc threshold:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel12.add(jLabel40, gridBagConstraints);
jLabel41.setText("adj. p-value threshold:");
jLabel41.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel12.add(jLabel41, gridBagConstraints);
dFDRText.setToolTipText("adjusted p-value threshold");
dFDRText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
dFDRTextFocusLost(evt);
}
});
dFDRText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
dFDRTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel12.add(dFDRText, gridBagConstraints);
jLabel45.setText("Data type:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel12.add(jLabel45, gridBagConstraints);
dGeneRadioButton.setBackground(new java.awt.Color(225, 239, 250));
DEStype.add(dGeneRadioButton);
dGeneRadioButton.setText("gene");
dGeneRadioButton.setToolTipText("");
dGeneRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
dGeneRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel12.add(dGeneRadioButton, gridBagConstraints);
jLabel47.setText("Ref. Covariates:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel12.add(jLabel47, gridBagConstraints);
dCovComboBox.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "Cov.1", "Cov.2", "Cov.3", "Cov.4", "Cov.5", "Cov.6", "Cov.7", "Cov.8", "Cov.9", "Cov.10" }));
dCovComboBox.setToolTipText("Plot legend position.");
dCovComboBox.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
dCovComboBoxActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 3;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel12.add(dCovComboBox, gridBagConstraints);
dmiRNARadioButton.setBackground(new java.awt.Color(225, 239, 250));
DEStype.add(dmiRNARadioButton);
dmiRNARadioButton.setText("miRNA");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 7;
gridBagConstraints.gridy = 2;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel12.add(dmiRNARadioButton, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
gridBagConstraints.weightx = 0.3;
jPanel12.add(jLabel58, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
gridBagConstraints.weightx = 0.3;
jPanel12.add(jLabel59, gridBagConstraints);
dIsoformRadioButton.setBackground(new java.awt.Color(225, 239, 250));
DEStype.add(dIsoformRadioButton);
dIsoformRadioButton.setSelected(true);
dIsoformRadioButton.setText("isoform");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 5;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel12.add(dIsoformRadioButton, gridBagConstraints);
jLabel62.setText("Batches:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 4;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel12.add(jLabel62, gridBagConstraints);
dBatchesTrue.setBackground(new java.awt.Color(225, 239, 250));
DESBatch.add(dBatchesTrue);
dBatchesTrue.setText("TRUE");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 4;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel12.add(dBatchesTrue, gridBagConstraints);
DBatchesFalse.setBackground(new java.awt.Color(225, 239, 250));
DESBatch.add(DBatchesFalse);
DBatchesFalse.setSelected(true);
DBatchesFalse.setText("FALSE");
DBatchesFalse.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
DBatchesFalseActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 5;
gridBagConstraints.gridy = 4;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel12.add(DBatchesFalse, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
DESPanel.add(jPanel12, gridBagConstraints);
DES.setViewportView(DESPanel);
MainPanel.add(DES, "DES");
IndexingBWAPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Genome indexing BWA", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 1, 14), new java.awt.Color(0, 153, 153))); // NOI18N
IndexingBWAPanel.setToolTipText("");
IndexingBWAPanel.setLayout(new java.awt.GridBagLayout());
iCloseButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/close.png"))); // NOI18N
iCloseButton1.setText("Close");
iCloseButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iCloseButton1ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingBWAPanel.add(iCloseButton1, gridBagConstraints);
jButton21.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/exec.png"))); // NOI18N
jButton21.setText("Execute");
jButton21.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton21ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weightx = 0.3;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingBWAPanel.add(jButton21, gridBagConstraints);
iResetButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/reset.png"))); // NOI18N
iResetButton1.setText("Reset");
iResetButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iResetButton1ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingBWAPanel.add(iResetButton1, gridBagConstraints);
jButton22.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86b.png"))); // NOI18N
jButton22.setText("Save conf.");
jButton22.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton22ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingBWAPanel.add(jButton22, gridBagConstraints);
jPanel15.setBackground(new java.awt.Color(230, 235, 235));
jPanel15.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel15.setLayout(new java.awt.GridBagLayout());
jLabel37.setText("Genome folder:");
jLabel37.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel15.add(jLabel37, gridBagConstraints);
iGenomeFolderBText.setEditable(false);
iGenomeFolderBText.setToolTipText("The folder that will contain the indexed genome.");
iGenomeFolderBText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iGenomeFolderBTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 20, 10, 10);
jPanel15.add(iGenomeFolderBText, gridBagConstraints);
jToggleButton18.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton18.setText("Browse");
jToggleButton18.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton18ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 5;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel15.add(jToggleButton18, gridBagConstraints);
jToggleButton19.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jToggleButton19.setText("Cancel");
jToggleButton19.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton19ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel15.add(jToggleButton19, gridBagConstraints);
jLabel46.setText("USCS Genome url:");
jLabel46.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel15.add(jLabel46, gridBagConstraints);
iGenomeURLBText.setToolTipText("The URL which will be used to download the genome");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 6;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 20, 10, 10);
jPanel15.add(iGenomeURLBText, gridBagConstraints);
jLabel48.setText("dbSNP VCF file:");
jLabel48.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 4;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel15.add(jLabel48, gridBagConstraints);
idbSPNText.setEditable(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 20, 10, 10);
jPanel15.add(idbSPNText, gridBagConstraints);
jLabel51.setText("GATK:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel15.add(jLabel51, gridBagConstraints);
iBTrueRadioButton.setBackground(new java.awt.Color(230, 235, 235));
GATK.add(iBTrueRadioButton);
iBTrueRadioButton.setText("True");
iBTrueRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iBTrueRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 20, 10, 10);
jPanel15.add(iBTrueRadioButton, gridBagConstraints);
iBFalseRadioButton.setBackground(new java.awt.Color(230, 235, 235));
GATK.add(iBFalseRadioButton);
iBFalseRadioButton.setSelected(true);
iBFalseRadioButton.setText("False");
iBFalseRadioButton.addChangeListener(new javax.swing.event.ChangeListener() {
public void stateChanged(javax.swing.event.ChangeEvent evt) {
iBFalseRadioButtonStateChanged(evt);
}
});
iBFalseRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iBFalseRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel15.add(iBFalseRadioButton, gridBagConstraints);
i1000GenomeText.setEditable(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 3;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 20, 10, 10);
jPanel15.add(i1000GenomeText, gridBagConstraints);
jLabel52.setText(" 1000 Genome VCF file:");
jLabel52.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel15.add(jLabel52, gridBagConstraints);
i1000BrowseButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/fileb.png"))); // NOI18N
i1000BrowseButton.setText("Browse");
i1000BrowseButton.setEnabled(false);
i1000BrowseButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
i1000BrowseButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 5;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel15.add(i1000BrowseButton, gridBagConstraints);
i1000CancelButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
i1000CancelButton.setText("Cancel");
i1000CancelButton.setEnabled(false);
i1000CancelButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
i1000CancelButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel15.add(i1000CancelButton, gridBagConstraints);
idbSPNBrowseButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/fileb.png"))); // NOI18N
idbSPNBrowseButton.setText("Browse");
idbSPNBrowseButton.setEnabled(false);
idbSPNBrowseButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
idbSPNBrowseButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 5;
gridBagConstraints.gridy = 4;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel15.add(idbSPNBrowseButton, gridBagConstraints);
idbSPNCancelButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
idbSPNCancelButton.setText("Cancel");
idbSPNCancelButton.setEnabled(false);
idbSPNCancelButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
idbSPNCancelButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 4;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel15.add(idbSPNCancelButton, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingBWAPanel.add(jPanel15, gridBagConstraints);
jPanel16.setBackground(new java.awt.Color(230, 235, 235));
jPanel16.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel16.setLayout(new java.awt.GridBagLayout());
jLabel49.setText("Execution:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel16.add(jLabel49, gridBagConstraints);
iSudoBRadioButton.setBackground(new java.awt.Color(230, 235, 235));
IExecutionBWA.add(iSudoBRadioButton);
iSudoBRadioButton.setText("sudo");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 70, 10, 10);
jPanel16.add(iSudoBRadioButton, gridBagConstraints);
iDockerBRadioButton.setBackground(new java.awt.Color(230, 235, 235));
IExecutionBWA.add(iDockerBRadioButton);
iDockerBRadioButton.setSelected(true);
iDockerBRadioButton.setText("docker");
iDockerBRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iDockerBRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel16.add(iDockerBRadioButton, gridBagConstraints);
jLabel50.setText("Thread number:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel16.add(jLabel50, gridBagConstraints);
iThreadBText.setText("8");
iThreadBText.setToolTipText("The number of threads which will be used during the computation.");
iThreadBText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
iThreadBTextFocusLost(evt);
}
});
iThreadBText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iThreadBTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 70, 10, 10);
jPanel16.add(iThreadBText, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingBWAPanel.add(jPanel16, gridBagConstraints);
IndexingBWA.setViewportView(IndexingBWAPanel);
MainPanel.add(IndexingBWA, "indexingB");
MACSPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "MACS & SICER analysis", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 1, 14), new java.awt.Color(51, 153, 0))); // NOI18N
MACSPanel.setToolTipText("");
MACSPanel.setLayout(new java.awt.GridBagLayout());
vCloseButton4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/close.png"))); // NOI18N
vCloseButton4.setText("Close");
vCloseButton4.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vCloseButton4ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 4;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
MACSPanel.add(vCloseButton4, gridBagConstraints);
jButton23.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/exec.png"))); // NOI18N
jButton23.setText("Execute");
jButton23.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton23ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 4;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
MACSPanel.add(jButton23, gridBagConstraints);
jButton24.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/reset.png"))); // NOI18N
jButton24.setText("Reset");
jButton24.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton24ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 4;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
MACSPanel.add(jButton24, gridBagConstraints);
jButton25.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86b.png"))); // NOI18N
jButton25.setText("Save conf.");
jButton25.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton25ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 4;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
MACSPanel.add(jButton25, gridBagConstraints);
jPanel17.setBackground(new java.awt.Color(230, 240, 230));
jPanel17.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel17.setLayout(new java.awt.GridBagLayout());
jLabel53.setText("Output folder:");
jLabel53.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel17.add(jLabel53, gridBagConstraints);
MOutputFolderText.setEditable(false);
MOutputFolderText.setToolTipText("The ouput folder, where the data will be saved.");
MOutputFolderText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MOutputFolderTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 7;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weightx = 0.5;
gridBagConstraints.insets = new java.awt.Insets(10, 35, 10, 10);
jPanel17.add(MOutputFolderText, gridBagConstraints);
jToggleButton20.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton20.setText("Browse");
jToggleButton20.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton20ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 8;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel17.add(jToggleButton20, gridBagConstraints);
jToggleButton21.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jToggleButton21.setText("Cancel");
jToggleButton21.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton21ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 9;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel17.add(jToggleButton21, gridBagConstraints);
jLabel54.setText("Scratch folder:");
jLabel54.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel17.add(jLabel54, gridBagConstraints);
MScratchFolderText.setEditable(false);
MScratchFolderText.setToolTipText("This folder will be mounted in the docker container.");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 7;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weightx = 0.5;
gridBagConstraints.insets = new java.awt.Insets(10, 35, 10, 10);
jPanel17.add(MScratchFolderText, gridBagConstraints);
jToggleButton22.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton22.setText("Browse");
jToggleButton22.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton22ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 8;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel17.add(jToggleButton22, gridBagConstraints);
jToggleButton23.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jToggleButton23.setText("Cancel");
jToggleButton23.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton23ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 9;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel17.add(jToggleButton23, gridBagConstraints);
jLabel55.setText("Mock folder:");
jLabel55.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 4;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel17.add(jLabel55, gridBagConstraints);
MMockFolderText.setEditable(false);
MMockFolderText.setToolTipText("The folder containing the indexed genome.");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 7;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 35, 10, 10);
jPanel17.add(MMockFolderText, gridBagConstraints);
jToggleButton24.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton24.setText("Browse");
jToggleButton24.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton24ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 8;
gridBagConstraints.gridy = 4;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel17.add(jToggleButton24, gridBagConstraints);
jToggleButton25.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jToggleButton25.setText("Cancel");
jToggleButton25.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton25ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 9;
gridBagConstraints.gridy = 4;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel17.add(jToggleButton25, gridBagConstraints);
MGenomeFolderText.setEditable(false);
MGenomeFolderText.setToolTipText("The folder containing the indexed genome.");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 7;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 35, 10, 10);
jPanel17.add(MGenomeFolderText, gridBagConstraints);
jToggleButton26.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton26.setText("Browse");
jToggleButton26.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton26ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 8;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel17.add(jToggleButton26, gridBagConstraints);
jToggleButton27.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jToggleButton27.setText("Cancel");
jToggleButton27.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton27ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 9;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel17.add(jToggleButton27, gridBagConstraints);
jLabel60.setText("Genome folder:");
jLabel60.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel17.add(jLabel60, gridBagConstraints);
jLabel67.setText("Test folder:");
jLabel67.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel17.add(jLabel67, gridBagConstraints);
MTestFolderText.setEditable(false);
MTestFolderText.setToolTipText("The folder containing the indexed genome.");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 3;
gridBagConstraints.gridwidth = 7;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 35, 10, 10);
jPanel17.add(MTestFolderText, gridBagConstraints);
jToggleButton28.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton28.setText("Browse");
jToggleButton28.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton28ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 8;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel17.add(jToggleButton28, gridBagConstraints);
jToggleButton29.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jToggleButton29.setText("Cancel");
jToggleButton29.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton29ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 9;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel17.add(jToggleButton29, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
MACSPanel.add(jPanel17, gridBagConstraints);
jPanel18.setBackground(new java.awt.Color(230, 240, 230));
jPanel18.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel18.setLayout(new java.awt.GridBagLayout());
jLabel56.setText("Execution:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = java.awt.GridBagConstraints.RELATIVE;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel18.add(jLabel56, gridBagConstraints);
MSudoRadioButton.setBackground(new java.awt.Color(230, 240, 230));
MExecution.add(MSudoRadioButton);
MSudoRadioButton.setText("sudo");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = java.awt.GridBagConstraints.RELATIVE;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 35, 10, 10);
jPanel18.add(MSudoRadioButton, gridBagConstraints);
MDockerRadioButton.setBackground(new java.awt.Color(230, 240, 230));
MExecution.add(MDockerRadioButton);
MDockerRadioButton.setSelected(true);
MDockerRadioButton.setText("docker");
MDockerRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MDockerRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = java.awt.GridBagConstraints.RELATIVE;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel18.add(MDockerRadioButton, gridBagConstraints);
jLabel57.setText("Thread number:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 5;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = java.awt.GridBagConstraints.RELATIVE;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel18.add(jLabel57, gridBagConstraints);
MThreadText.setText("8");
MThreadText.setToolTipText("The number of threads which will be used during the computation.");
MThreadText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
MThreadTextFocusLost(evt);
}
});
MThreadText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MThreadTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 3;
gridBagConstraints.gridheight = java.awt.GridBagConstraints.RELATIVE;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weightx = 0.05;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel18.add(MThreadText, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 9;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
gridBagConstraints.weightx = 1.0;
jPanel18.add(jLabel61, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
MACSPanel.add(jPanel18, gridBagConstraints);
jPanel19.setBackground(new java.awt.Color(230, 240, 230));
jPanel19.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel19.setLayout(new java.awt.GridBagLayout());
jLabel63.setText("Tool selection:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel19.add(jLabel63, gridBagConstraints);
MToolComboBox.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "macs", "sicer" }));
MToolComboBox.setToolTipText("");
MToolComboBox.addItemListener(new java.awt.event.ItemListener() {
public void itemStateChanged(java.awt.event.ItemEvent evt) {
MToolComboBoxItemStateChanged(evt);
}
});
MToolComboBox.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MToolComboBoxActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 40, 10, 10);
jPanel19.add(MToolComboBox, gridBagConstraints);
Tool.setLayout(new java.awt.CardLayout());
jPanel22.setBackground(new java.awt.Color(230, 240, 230));
jPanel22.setLayout(new java.awt.GridBagLayout());
jLabel78.setText("MACS min. mfold:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel22.add(jLabel78, gridBagConstraints);
MMaxmfoldText.setText("30");
MMaxmfoldText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
MMaxmfoldTextFocusLost(evt);
}
});
MMaxmfoldText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MMaxmfoldTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 8;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 20, 10, 10);
jPanel22.add(MMaxmfoldText, gridBagConstraints);
jLabel79.setText("MACS p-value:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 12;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel22.add(jLabel79, gridBagConstraints);
jLabel82.setText("MACS max. mfold:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 7;
gridBagConstraints.gridy = 0;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel22.add(jLabel82, gridBagConstraints);
MMinmfoldText.setText("10");
MMinmfoldText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
MMinmfoldTextFocusLost(evt);
}
});
MMinmfoldText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MMinmfoldTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 20, 10, 10);
jPanel22.add(MMinmfoldText, gridBagConstraints);
MMpvalueText.setText("1e-5");
MMpvalueText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
MMpvalueTextFocusLost(evt);
}
});
MMpvalueText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MMpvalueTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 13;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 20, 10, 10);
jPanel22.add(MMpvalueText, gridBagConstraints);
Tool.add(jPanel22, "MACS");
jPanel23.setBackground(new java.awt.Color(230, 240, 230));
jPanel23.setLayout(new java.awt.GridBagLayout());
jLabel80.setText("SICER windows:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel23.add(jLabel80, gridBagConstraints);
MSgsizeText.setText("200");
MSgsizeText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
MSgsizeTextFocusLost(evt);
}
});
MSgsizeText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MSgsizeTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 8;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 20, 10, 10);
jPanel23.add(MSgsizeText, gridBagConstraints);
jLabel81.setText("SICER FDR:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 12;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel23.add(jLabel81, gridBagConstraints);
jLabel83.setText("SICER gsize:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 7;
gridBagConstraints.gridy = 0;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel23.add(jLabel83, gridBagConstraints);
MSWindowsText.setText("200");
MSWindowsText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
MSWindowsTextFocusLost(evt);
}
});
MSWindowsText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MSWindowsTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 30, 10, 10);
jPanel23.add(MSWindowsText, gridBagConstraints);
MSFDRText.setText("0.1");
MSFDRText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
MSFDRTextFocusLost(evt);
}
});
MSFDRText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MSFDRTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 13;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 20, 10, 10);
jPanel23.add(MSFDRText, gridBagConstraints);
Tool.add(jPanel23, "SICER");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.weightx = 0.2;
jPanel19.add(Tool, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
MACSPanel.add(jPanel19, gridBagConstraints);
jPanel20.setBackground(new java.awt.Color(230, 240, 230));
jPanel20.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel20.setLayout(new java.awt.GridBagLayout());
MAdapter5Text.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
MAdapter5TextFocusLost(evt);
}
});
MAdapter5Text.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MAdapter5TextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 27;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(MAdapter5Text, gridBagConstraints);
jLabel68.setText("Adapter 5':");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(jLabel68, gridBagConstraints);
jLabel69.setText("Adapter 3':");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(jLabel69, gridBagConstraints);
MAdapter3Text.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
MAdapter3TextFocusLost(evt);
}
});
MAdapter3Text.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MAdapter3TextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 27;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(MAdapter3Text, gridBagConstraints);
jLabel70.setText("Min length:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(jLabel70, gridBagConstraints);
MTTSText.setText("0");
MTTSText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
MTTSTextFocusLost(evt);
}
});
MTTSText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MTTSTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 15;
gridBagConstraints.gridy = 5;
gridBagConstraints.gridwidth = 6;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(MTTSText, gridBagConstraints);
jLabel71.setText("Max. upstream distance:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 9;
gridBagConstraints.gridy = 5;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(jLabel71, gridBagConstraints);
jLabel72.setText("Organism:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 14;
gridBagConstraints.gridy = 4;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(jLabel72, gridBagConstraints);
jLabel73.setText("Remove duplicates:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 5;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(jLabel73, gridBagConstraints);
MRyesRadioButton.setBackground(new java.awt.Color(230, 240, 230));
MRemoveDuplicates.add(MRyesRadioButton);
MRyesRadioButton.setText("yes");
MRyesRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MRyesRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 5;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(MRyesRadioButton, gridBagConstraints);
MRnoRadioButton.setBackground(new java.awt.Color(230, 240, 230));
MRemoveDuplicates.add(MRnoRadioButton);
MRnoRadioButton.setSelected(true);
MRnoRadioButton.setText("no");
MRnoRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MRnoRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 5;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(MRnoRadioButton, gridBagConstraints);
jLabel74.setText("Read length:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 9;
gridBagConstraints.gridy = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(jLabel74, gridBagConstraints);
MOrgComboBox.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "hg19", "hg38", "mm9", "mm10" }));
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 15;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 3;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(MOrgComboBox, gridBagConstraints);
MMinLengthText.setText("30");
MMinLengthText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
MMinLengthTextFocusLost(evt);
}
});
MMinLengthText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MMinLengthTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 6;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(MMinLengthText, gridBagConstraints);
MMaxUpstreamText.setText("10000");
MMaxUpstreamText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
MMaxUpstreamTextFocusLost(evt);
}
});
MMaxUpstreamText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
MMaxUpstreamTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 10;
gridBagConstraints.gridy = 5;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(MMaxUpstreamText, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 21;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 3;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.weightx = 0.5;
jPanel20.add(jLabel75, gridBagConstraints);
jLabel76.setText("TTS distance:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 14;
gridBagConstraints.gridy = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(jLabel76, gridBagConstraints);
MReadLengthTextField.setText("50");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 10;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel20.add(MReadLengthTextField, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
MACSPanel.add(jPanel20, gridBagConstraints);
MACS.setViewportView(MACSPanel);
MainPanel.add(MACS, "MACS");
SampleSizePanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Sample size estimator", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 1, 14), new java.awt.Color(218, 174, 0))); // NOI18N
SampleSizePanel.setLayout(new java.awt.GridBagLayout());
jPanel21.setBackground(new java.awt.Color(249, 248, 235));
jPanel21.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel21.setLayout(new java.awt.GridBagLayout());
jLabel64.setText("Output Folder:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel21.add(jLabel64, gridBagConstraints);
SSOutputFolderText.setEditable(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.weightx = 0.4;
gridBagConstraints.insets = new java.awt.Insets(10, 48, 10, 10);
jPanel21.add(SSOutputFolderText, gridBagConstraints);
SSbrowes.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
SSbrowes.setText("Browse");
SSbrowes.setToolTipText("");
SSbrowes.setEnabled(false);
SSbrowes.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
SSbrowesActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel21.add(SSbrowes, gridBagConstraints);
SScancel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
SScancel.setText("Cancel");
SScancel.setEnabled(false);
SScancel.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
SScancelActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_TRAILING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel21.add(SScancel, gridBagConstraints);
jPanel21.add(jLabel65, new java.awt.GridBagConstraints());
jLabel66.setText("Count table file:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel21.add(jLabel66, gridBagConstraints);
SSCountTableText.setEditable(false);
SSCountTableText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
SSCountTableTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 48, 10, 10);
jPanel21.add(SSCountTableText, gridBagConstraints);
jButton27.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/fileb.png"))); // NOI18N
jButton27.setText("Browse");
jButton27.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton27ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 0;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel21.add(jButton27, gridBagConstraints);
jButton28.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jButton28.setText("Cancel");
jButton28.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton28ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 0;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel21.add(jButton28, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
SampleSizePanel.add(jPanel21, gridBagConstraints);
SSExecuteButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/exec.png"))); // NOI18N
SSExecuteButton.setText("Execute");
SSExecuteButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
SSExecuteButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
SampleSizePanel.add(SSExecuteButton, gridBagConstraints);
SSSaveButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86b.png"))); // NOI18N
SSSaveButton.setText("Save conf.");
SSSaveButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
SSSaveButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
SampleSizePanel.add(SSSaveButton, gridBagConstraints);
SSResetButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/reset.png"))); // NOI18N
SSResetButton.setText("Reset");
SSResetButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
SSResetButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
SampleSizePanel.add(SSResetButton, gridBagConstraints);
SSCloseButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/close.png"))); // NOI18N
SSCloseButton.setText("Close");
SSCloseButton.setToolTipText("");
SSCloseButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
SSCloseButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
SampleSizePanel.add(SSCloseButton, gridBagConstraints);
jPanel24.setBackground(new java.awt.Color(249, 248, 235));
jPanel24.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel24.setLayout(new java.awt.GridBagLayout());
jLabel77.setText("Log2 fold change:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel24.add(jLabel77, gridBagConstraints);
jLabel84.setText("#gene for dispertion:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel24.add(jLabel84, gridBagConstraints);
jPanel24.add(jLabel85, new java.awt.GridBagConstraints());
jLabel86.setText("Statistical power:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel24.add(jLabel86, gridBagConstraints);
SSPowerText.setText("0.8");
SSPowerText.setToolTipText("expected statistical power required to detect prognostic genes");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel24.add(SSPowerText, gridBagConstraints);
SSGeneText.setText("200");
SSGeneText.setToolTipText(" an integer indicating the number of genes used in estimation of read counts and dispersion distribution");
SSGeneText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
SSGeneTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.weightx = 0.4;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel24.add(SSGeneText, gridBagConstraints);
SSlog2Text.setText("1");
SSlog2Text.setToolTipText("an integer indicating the minimum log2 fold change for prognostic genes between two group");
SSlog2Text.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
SSlog2TextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel24.add(SSlog2Text, gridBagConstraints);
jLabel87.setText("False discovery rate:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 6;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel24.add(jLabel87, gridBagConstraints);
SSFDRtext.setText("0.1");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 6;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel24.add(SSFDRtext, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
SampleSizePanel.add(jPanel24, gridBagConstraints);
SampleSize.setViewportView(SampleSizePanel);
MainPanel.add(SampleSize, "SampleSize");
ExperimentPowerPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Experiment power", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 1, 14), new java.awt.Color(0, 51, 102))); // NOI18N
ExperimentPowerPanel.setLayout(new java.awt.GridBagLayout());
jPanel25.setBackground(new java.awt.Color(233, 242, 250));
jPanel25.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel25.setLayout(new java.awt.GridBagLayout());
jLabel88.setText("Output Folder:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel25.add(jLabel88, gridBagConstraints);
EPOutputFolderText.setEditable(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.weightx = 0.4;
gridBagConstraints.insets = new java.awt.Insets(10, 48, 10, 10);
jPanel25.add(EPOutputFolderText, gridBagConstraints);
SSbrowes1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
SSbrowes1.setText("Browse");
SSbrowes1.setToolTipText("");
SSbrowes1.setEnabled(false);
SSbrowes1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
SSbrowes1ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel25.add(SSbrowes1, gridBagConstraints);
SScancel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
SScancel1.setText("Cancel");
SScancel1.setEnabled(false);
SScancel1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
SScancel1ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_TRAILING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel25.add(SScancel1, gridBagConstraints);
jPanel25.add(jLabel89, new java.awt.GridBagConstraints());
jLabel90.setText("Count table file:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel25.add(jLabel90, gridBagConstraints);
EPCountTableText.setEditable(false);
EPCountTableText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
EPCountTableTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 48, 10, 10);
jPanel25.add(EPCountTableText, gridBagConstraints);
jButton29.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/fileb.png"))); // NOI18N
jButton29.setText("Browse");
jButton29.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton29ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 0;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel25.add(jButton29, gridBagConstraints);
jButton30.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jButton30.setText("Cancel");
jButton30.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton30ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 0;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel25.add(jButton30, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
ExperimentPowerPanel.add(jPanel25, gridBagConstraints);
EPExecuteButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/exec.png"))); // NOI18N
EPExecuteButton1.setText("Execute");
EPExecuteButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
EPExecuteButton1ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
ExperimentPowerPanel.add(EPExecuteButton1, gridBagConstraints);
EPSaveButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86b.png"))); // NOI18N
EPSaveButton.setText("Save conf.");
EPSaveButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
EPSaveButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
ExperimentPowerPanel.add(EPSaveButton, gridBagConstraints);
EPResetButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/reset.png"))); // NOI18N
EPResetButton.setText("Reset");
EPResetButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
EPResetButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
ExperimentPowerPanel.add(EPResetButton, gridBagConstraints);
EPCloseButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/close.png"))); // NOI18N
EPCloseButton.setText("Close");
EPCloseButton.setToolTipText("");
EPCloseButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
EPCloseButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
ExperimentPowerPanel.add(EPCloseButton, gridBagConstraints);
jPanel26.setBackground(new java.awt.Color(233, 242, 250));
jPanel26.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel26.setLayout(new java.awt.GridBagLayout());
jLabel91.setText("Log2 fold change:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel26.add(jLabel91, gridBagConstraints);
jLabel92.setText("#gene for dispertion:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel26.add(jLabel92, gridBagConstraints);
jPanel26.add(jLabel93, new java.awt.GridBagConstraints());
jLabel94.setText("Number of samples:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel26.add(jLabel94, gridBagConstraints);
EPSampleText.setText("3");
EPSampleText.setToolTipText("the number of samples in each group");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel26.add(EPSampleText, gridBagConstraints);
EPGeneText.setText("200");
EPGeneText.setToolTipText(" an integer indicating the number of genes used in estimation of read counts and dispersion distribution");
EPGeneText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
EPGeneTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.weightx = 0.4;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel26.add(EPGeneText, gridBagConstraints);
EPlog2Text.setText("1");
EPlog2Text.setToolTipText("an integer indicating the minimum log2 fold change for prognostic genes between two group");
EPlog2Text.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
EPlog2TextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel26.add(EPlog2Text, gridBagConstraints);
jLabel95.setText("False discovery rate:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 6;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel26.add(jLabel95, gridBagConstraints);
EPFDRtext.setText("0.1");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 6;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel26.add(EPFDRtext, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
ExperimentPowerPanel.add(jPanel26, gridBagConstraints);
ExperimentPower.setViewportView(ExperimentPowerPanel);
MainPanel.add(ExperimentPower, "ExperimentPower");
mRNABatchPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Adding covariates and batch information", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 1, 14), new java.awt.Color(0, 153, 153))); // NOI18N
mRNABatchPanel.setLayout(new java.awt.GridBagLayout());
jPanel27.setBackground(new java.awt.Color(238, 250, 247));
jPanel27.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel27.setToolTipText("the all.counts.txt file generated from miRNAseq step");
jPanel27.setLayout(new java.awt.GridBagLayout());
CCountHeaderTable.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
},
new String [] {
"Count Header", "Grouping", "Batch"
}
) {
Class[] types = new Class [] {
java.lang.String.class, java.lang.Object.class, java.lang.Object.class
};
public Class getColumnClass(int columnIndex) {
return types [columnIndex];
}
});
CCountHeaderTable.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
CCountHeaderTable.getTableHeader().setReorderingAllowed(false);
jScrollPane7.setViewportView(CCountHeaderTable);
CCountHeaderTable.getColumnModel().getSelectionModel().setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
if (CCountHeaderTable.getColumnModel().getColumnCount() > 0) {
CCountHeaderTable.getColumnModel().getColumn(1).setCellEditor(new DefaultCellEditor(CovComboBox));
CCountHeaderTable.getColumnModel().getColumn(2).setCellEditor(new DefaultCellEditor(BatchComboBox));
}
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.weighty = 1.0;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel27.add(jScrollPane7, gridBagConstraints);
CCovInputFileText.setEditable(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel27.add(CCovInputFileText, gridBagConstraints);
Cinbrowes.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/fileb.png"))); // NOI18N
Cinbrowes.setText("Browse");
Cinbrowes.setToolTipText("");
Cinbrowes.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
CinbrowesActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 0;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel27.add(Cinbrowes, gridBagConstraints);
Cincancel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
Cincancel.setText("Cancel");
Cincancel.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
CincancelActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 0;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel27.add(Cincancel, gridBagConstraints);
jLabel98.setText("Output Folder:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel27.add(jLabel98, gridBagConstraints);
jLabel97.setText("Count file:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel27.add(jLabel97, gridBagConstraints);
COutputFolderText.setEditable(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 3;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.weightx = 0.4;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel27.add(COutputFolderText, gridBagConstraints);
Coutbrowes.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
Coutbrowes.setText("Browse");
Coutbrowes.setToolTipText("");
Coutbrowes.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
CoutbrowesActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel27.add(Coutbrowes, gridBagConstraints);
Coutcancel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
Coutcancel.setText("Cancel");
Coutcancel.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
CoutcancelActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 3;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_TRAILING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel27.add(Coutcancel, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
mRNABatchPanel.add(jPanel27, gridBagConstraints);
FExecuteButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/exec.png"))); // NOI18N
FExecuteButton1.setText("Execute");
FExecuteButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
FExecuteButton1ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
mRNABatchPanel.add(FExecuteButton1, gridBagConstraints);
FSaveButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86b.png"))); // NOI18N
FSaveButton1.setText("Save conf.");
FSaveButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
FSaveButton1ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
mRNABatchPanel.add(FSaveButton1, gridBagConstraints);
CResetButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/reset.png"))); // NOI18N
CResetButton1.setText("Reset");
CResetButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
CResetButton1ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
mRNABatchPanel.add(CResetButton1, gridBagConstraints);
CCloseButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/close.png"))); // NOI18N
CCloseButton1.setText("Close");
CCloseButton1.setToolTipText("");
CCloseButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
CCloseButton1ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
mRNABatchPanel.add(CCloseButton1, gridBagConstraints);
mRNABatch.setViewportView(mRNABatchPanel);
MainPanel.add(mRNABatch, "AddingCovmRNA");
IndexingSalmonPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Transcriptome pseudo-reference building with Salmon\n", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 1, 14), new java.awt.Color(255, 102, 102))); // NOI18N
IndexingSalmonPanel.setToolTipText("");
IndexingSalmonPanel.setLayout(new java.awt.GridBagLayout());
iCloseButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/close.png"))); // NOI18N
iCloseButton2.setText("Close");
iCloseButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iCloseButton2ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingSalmonPanel.add(iCloseButton2, gridBagConstraints);
jButton37.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/exec.png"))); // NOI18N
jButton37.setText("Execute");
jButton37.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton37ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weightx = 0.3;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingSalmonPanel.add(jButton37, gridBagConstraints);
iResetButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/reset.png"))); // NOI18N
iResetButton2.setText("Reset");
iResetButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iResetButton2ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingSalmonPanel.add(iResetButton2, gridBagConstraints);
jButton38.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86b.png"))); // NOI18N
jButton38.setText("Save conf.");
jButton38.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton38ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingSalmonPanel.add(jButton38, gridBagConstraints);
jPanel28.setBackground(new java.awt.Color(253, 232, 232));
jPanel28.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel28.setLayout(new java.awt.GridBagLayout());
jLabel103.setText("Genome folder:");
jLabel103.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel28.add(jLabel103, gridBagConstraints);
iGenomeFolderSText.setEditable(false);
iGenomeFolderSText.setToolTipText("The folder that will contain the indexed genome.");
iGenomeFolderSText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iGenomeFolderSTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel28.add(iGenomeFolderSText, gridBagConstraints);
jToggleButton30.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton30.setText("Browse");
jToggleButton30.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton30ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 5;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel28.add(jToggleButton30, gridBagConstraints);
jToggleButton31.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jToggleButton31.setText("Cancel");
jToggleButton31.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton31ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel28.add(jToggleButton31, gridBagConstraints);
jLabel104.setText("Genome url:");
jLabel104.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel28.add(jLabel104, gridBagConstraints);
iGenomeURLSText.setToolTipText("The URL which will be used to download the genome");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 6;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel28.add(iGenomeURLSText, gridBagConstraints);
jLabel105.setText("GTF url:");
jLabel105.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel28.add(jLabel105, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 6;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel28.add(iGTFURLSText, gridBagConstraints);
iKmerSText.setText("31");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 3;
gridBagConstraints.gridwidth = 3;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
gridBagConstraints.weightx = 0.05;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel28.add(iKmerSText, gridBagConstraints);
jLabel108.setText("K-mer size:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel28.add(jLabel108, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
gridBagConstraints.weightx = 0.2;
jPanel28.add(jLabel109, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingSalmonPanel.add(jPanel28, gridBagConstraints);
jPanel29.setBackground(new java.awt.Color(253, 232, 232));
jPanel29.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel29.setLayout(new java.awt.GridBagLayout());
jLabel106.setText("Execution:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel29.add(jLabel106, gridBagConstraints);
iSudoRadioSButton.setBackground(new java.awt.Color(253, 232, 232));
IExecutionSalmon.add(iSudoRadioSButton);
iSudoRadioSButton.setText("sudo");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel29.add(iSudoRadioSButton, gridBagConstraints);
iDockerRadioSButton.setBackground(new java.awt.Color(253, 232, 232));
IExecutionSalmon.add(iDockerRadioSButton);
iDockerRadioSButton.setSelected(true);
iDockerRadioSButton.setText("docker");
iDockerRadioSButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iDockerRadioSButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel29.add(iDockerRadioSButton, gridBagConstraints);
jLabel107.setText("Thread number:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel29.add(jLabel107, gridBagConstraints);
iThreadSText.setText("8");
iThreadSText.setToolTipText("The number of threads which will be used during the computation.");
iThreadSText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
iThreadSTextFocusLost(evt);
}
});
iThreadSText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
iThreadSTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.ABOVE_BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel29.add(iThreadSText, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
IndexingSalmonPanel.add(jPanel29, gridBagConstraints);
IndexingSalmon.setViewportView(IndexingSalmonPanel);
MainPanel.add(IndexingSalmon, "indexingSalmon");
CountingSalmonPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Transcripts and genes counting with Salmon ", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 1, 14), new java.awt.Color(255, 102, 102))); // NOI18N
CountingSalmonPanel.setToolTipText("");
CountingSalmonPanel.setLayout(new java.awt.GridBagLayout());
vCloseButton5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/close.png"))); // NOI18N
vCloseButton5.setText("Close");
vCloseButton5.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vCloseButton5ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
CountingSalmonPanel.add(vCloseButton5, gridBagConstraints);
jButton39.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/exec.png"))); // NOI18N
jButton39.setText("Execute");
jButton39.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton39ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
CountingSalmonPanel.add(jButton39, gridBagConstraints);
jButton40.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/reset.png"))); // NOI18N
jButton40.setText("Reset");
jButton40.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton40ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
CountingSalmonPanel.add(jButton40, gridBagConstraints);
jButton41.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86b.png"))); // NOI18N
jButton41.setText("Save conf.");
jButton41.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton41ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
CountingSalmonPanel.add(jButton41, gridBagConstraints);
jPanel30.setBackground(new java.awt.Color(253, 232, 232));
jPanel30.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel30.setToolTipText("");
jPanel30.setLayout(new java.awt.GridBagLayout());
jLabel110.setText("FastQ folder:");
jLabel110.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel30.add(jLabel110, gridBagConstraints);
cFastQFolderText.setEditable(false);
cFastQFolderText.setToolTipText("The folder containing the input reads in FastQ format.");
cFastQFolderText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cFastQFolderTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 28, 10, 10);
jPanel30.add(cFastQFolderText, gridBagConstraints);
jToggleButton32.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton32.setText("Browse");
jToggleButton32.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton32ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel30.add(jToggleButton32, gridBagConstraints);
jToggleButton33.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jToggleButton33.setText("Cancel");
jToggleButton33.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton33ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 7;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel30.add(jToggleButton33, gridBagConstraints);
jLabel111.setText("Scratch folder:");
jLabel111.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel30.add(jLabel111, gridBagConstraints);
cOutputFolderText.setEditable(false);
cOutputFolderText.setToolTipText("This folder will be mounted in the docker container.");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.weighty = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 28, 10, 10);
jPanel30.add(cOutputFolderText, gridBagConstraints);
jToggleButton34.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton34.setText("Browse");
jToggleButton34.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton34ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel30.add(jToggleButton34, gridBagConstraints);
jToggleButton35.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jToggleButton35.setText("Cancel");
jToggleButton35.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton35ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 7;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel30.add(jToggleButton35, gridBagConstraints);
jLabel112.setText("Genome folder:");
jLabel112.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 1.6;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel30.add(jLabel112, gridBagConstraints);
cGenomeFolderText.setEditable(false);
cGenomeFolderText.setToolTipText("The folder containing the indexed genome.");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weightx = 0.2;
gridBagConstraints.insets = new java.awt.Insets(10, 28, 10, 10);
jPanel30.add(cGenomeFolderText, gridBagConstraints);
jToggleButton36.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton36.setText("Browse");
jToggleButton36.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton36ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 6;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel30.add(jToggleButton36, gridBagConstraints);
jToggleButton37.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
jToggleButton37.setText("Cancel");
jToggleButton37.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton37ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 7;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel30.add(jToggleButton37, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
CountingSalmonPanel.add(jPanel30, gridBagConstraints);
jPanel31.setBackground(new java.awt.Color(253, 232, 232));
jPanel31.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel31.setToolTipText("");
jPanel31.setLayout(new java.awt.GridBagLayout());
jLabel113.setText("Execution:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel31.add(jLabel113, gridBagConstraints);
cSudoRadioButton.setBackground(new java.awt.Color(253, 232, 232));
cExecutiionSalmon.add(cSudoRadioButton);
cSudoRadioButton.setText("sudo");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 28, 10, 10);
jPanel31.add(cSudoRadioButton, gridBagConstraints);
cDockerRadioButton.setBackground(new java.awt.Color(253, 232, 232));
cExecutiionSalmon.add(cDockerRadioButton);
cDockerRadioButton.setSelected(true);
cDockerRadioButton.setText("docker");
cDockerRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cDockerRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel31.add(cDockerRadioButton, gridBagConstraints);
jLabel114.setText("Thread number:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel31.add(jLabel114, gridBagConstraints);
cThreadText.setText("8");
cThreadText.setToolTipText("The number of threads which will be used during the computation.");
cThreadText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
cThreadTextFocusLost(evt);
}
});
cThreadText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cThreadTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 28, 10, 10);
jPanel31.add(cThreadText, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
CountingSalmonPanel.add(jPanel31, gridBagConstraints);
jPanel32.setBackground(new java.awt.Color(253, 232, 232));
jPanel32.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel32.setLayout(new java.awt.GridBagLayout());
cAdapter5Text.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
cAdapter5TextFocusLost(evt);
}
});
cAdapter5Text.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cAdapter5TextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 24;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel32.add(cAdapter5Text, gridBagConstraints);
jLabel115.setText("Adapter 5':");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel32.add(jLabel115, gridBagConstraints);
jLabel116.setText("Adapter 3':");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel32.add(jLabel116, gridBagConstraints);
cAdapter3Text.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
cAdapter3TextFocusLost(evt);
}
});
cAdapter3Text.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cAdapter3TextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 24;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel32.add(cAdapter3Text, gridBagConstraints);
cPeRadioButton.setBackground(new java.awt.Color(253, 232, 232));
cSeq.add(cPeRadioButton);
cPeRadioButton.setSelected(true);
cPeRadioButton.setText("paired-end");
cPeRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cPeRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 7;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 7;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel32.add(cPeRadioButton, gridBagConstraints);
cSeRadioButton.setBackground(new java.awt.Color(253, 232, 232));
cSeq.add(cSeRadioButton);
cSeRadioButton.setText("single-end");
cSeRadioButton.setToolTipText("");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 5;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel32.add(cSeRadioButton, gridBagConstraints);
jLabel117.setText("Type of Sequence");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 4;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel32.add(jLabel117, gridBagConstraints);
jLabel118.setText("Min length:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 6;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel32.add(jLabel118, gridBagConstraints);
cMinLengthText.setText("40");
cMinLengthText.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
cMinLengthTextFocusLost(evt);
}
});
cMinLengthText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cMinLengthTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 6;
gridBagConstraints.gridwidth = 3;
gridBagConstraints.gridheight = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel32.add(cMinLengthText, gridBagConstraints);
jLabel119.setText("Strandness:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 8;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel32.add(jLabel119, gridBagConstraints);
cSNoneRadioButton.setBackground(new java.awt.Color(253, 232, 232));
cStrand.add(cSNoneRadioButton);
cSNoneRadioButton.setSelected(true);
cSNoneRadioButton.setText("none");
cSNoneRadioButton.setToolTipText("");
cSNoneRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cSNoneRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 8;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel32.add(cSNoneRadioButton, gridBagConstraints);
cSForwardRadioButton.setBackground(new java.awt.Color(253, 232, 232));
cStrand.add(cSForwardRadioButton);
cSForwardRadioButton.setText("forward");
cSForwardRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cSForwardRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 7;
gridBagConstraints.gridy = 8;
gridBagConstraints.gridwidth = 6;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel32.add(cSForwardRadioButton, gridBagConstraints);
cSReverseRadioButton.setBackground(new java.awt.Color(253, 232, 232));
cStrand.add(cSReverseRadioButton);
cSReverseRadioButton.setText("reverse");
cSReverseRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cSReverseRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 16;
gridBagConstraints.gridy = 8;
gridBagConstraints.gridwidth = 8;
gridBagConstraints.gridheight = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel32.add(cSReverseRadioButton, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
CountingSalmonPanel.add(jPanel32, gridBagConstraints);
CountingSalmon.setViewportView(CountingSalmonPanel);
MainPanel.add(CountingSalmon, "countingSalmon");
filterCountsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Filter Counts", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 1, 14), new java.awt.Color(255, 51, 51))); // NOI18N
filterCountsPanel.setToolTipText("");
filterCountsPanel.setLayout(new java.awt.GridBagLayout());
vCloseButton6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/close.png"))); // NOI18N
vCloseButton6.setText("Close");
vCloseButton6.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
vCloseButton6ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
filterCountsPanel.add(vCloseButton6, gridBagConstraints);
jButton42.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/exec.png"))); // NOI18N
jButton42.setText("Execute");
jButton42.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton42ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.weighty = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
filterCountsPanel.add(jButton42, gridBagConstraints);
jButton43.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/reset.png"))); // NOI18N
jButton43.setText("Reset");
jButton43.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton43ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
filterCountsPanel.add(jButton43, gridBagConstraints);
jButton44.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86b.png"))); // NOI18N
jButton44.setText("Save conf.");
jButton44.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton44ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weighty = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
filterCountsPanel.add(jButton44, gridBagConstraints);
jPanel33.setBackground(new java.awt.Color(250, 231, 225));
jPanel33.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel33.setLayout(new java.awt.GridBagLayout());
jLabel120.setText("Output folder:");
jLabel120.setToolTipText("Output folder");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel33.add(jLabel120, gridBagConstraints);
fFPKMfileText.setEditable(false);
fFPKMfileText.setToolTipText("Input data folder.");
fFPKMfileText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
fFPKMfileTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 20, 10, 10);
jPanel33.add(fFPKMfileText, gridBagConstraints);
jToggleButton38.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/fileb.png"))); // NOI18N
jToggleButton38.setText("Browse");
jToggleButton38.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton38ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel33.add(jToggleButton38, gridBagConstraints);
fCancelButton4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
fCancelButton4.setText("Cancel");
fCancelButton4.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
fCancelButton4ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel33.add(fCancelButton4, gridBagConstraints);
jLabel121.setText("Input folder:");
jLabel121.setToolTipText("The folder containing FPKM or TPM table files");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel33.add(jLabel121, gridBagConstraints);
fOutputFolderText.setEditable(false);
fOutputFolderText.setToolTipText("Output data folder.");
fOutputFolderText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
fOutputFolderTextActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 20, 10, 10);
jPanel33.add(fOutputFolderText, gridBagConstraints);
jToggleButton39.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52b.png"))); // NOI18N
jToggleButton39.setText("Browse");
jToggleButton39.setEnabled(false);
jToggleButton39.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jToggleButton39ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
gridBagConstraints.weightx = 0.1;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel33.add(jToggleButton39, gridBagConstraints);
fCancelButton5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33b.png"))); // NOI18N
fCancelButton5.setText("Cancel");
fCancelButton5.setEnabled(false);
fCancelButton5.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
fCancelButton5ActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel33.add(fCancelButton5, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
filterCountsPanel.add(jPanel33, gridBagConstraints);
jPanel34.setBackground(new java.awt.Color(250, 231, 225));
jPanel34.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jPanel34.setLayout(new java.awt.GridBagLayout());
jLabel124.setText("Data type:");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel34.add(jLabel124, gridBagConstraints);
fgeneRadioButton.setBackground(new java.awt.Color(250, 231, 225));
DataFilter.add(fgeneRadioButton);
fgeneRadioButton.setText("gene");
fgeneRadioButton.setToolTipText("");
fgeneRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
fgeneRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel34.add(fgeneRadioButton, gridBagConstraints);
fisoformRadioButton.setBackground(new java.awt.Color(250, 231, 225));
DataFilter.add(fisoformRadioButton);
fisoformRadioButton.setSelected(true);
fisoformRadioButton.setText("isoform");
fisoformRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
fisoformRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 6;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
jPanel34.add(fisoformRadioButton, gridBagConstraints);
fmirnaRadioButton.setBackground(new java.awt.Color(250, 231, 225));
DataFilter.add(fmirnaRadioButton);
fmirnaRadioButton.setText("mirna");
fmirnaRadioButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
fmirnaRadioButtonActionPerformed(evt);
}
});
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 11;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 8;
gridBagConstraints.anchor = java.awt.GridBagConstraints.BASELINE_LEADING;
gridBagConstraints.weightx = 0.3;
gridBagConstraints.weighty = 0.3;
gridBagConstraints.insets = new java.awt.Insets(10, 25, 10, 10);
jPanel34.add(fmirnaRadioButton, gridBagConstraints);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.gridwidth = 4;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
filterCountsPanel.add(jPanel34, gridBagConstraints);
filterCounts.setViewportView(filterCountsPanel);
MainPanel.add(filterCounts, "filtercounts");
HorizontalSplitPanel.setRightComponent(MainPanel);
LeftPanel.setBackground(new java.awt.Color(255, 255, 255));
LeftPanel.setLayout(new java.awt.GridBagLayout());
jScrollPane1.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
javax.swing.tree.DefaultMutableTreeNode treeNode1 = new javax.swing.tree.DefaultMutableTreeNode("SeqBox");
javax.swing.tree.DefaultMutableTreeNode treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("RNAseq Workflow");
javax.swing.tree.DefaultMutableTreeNode treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Genome indexing STAR-RSEM");
treeNode2.add(treeNode3);
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Genes, isoforms counting RSEM");
treeNode2.add(treeNode3);
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Transcriptome pseudo-reference building with Salmon");
treeNode2.add(treeNode3);
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Transcripts and genes counting with Salmon");
treeNode2.add(treeNode3);
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("From samples to experiment");
treeNode2.add(treeNode3);
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("PCA");
treeNode2.add(treeNode3);
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Sample size estimator");
treeNode2.add(treeNode3);
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Experiment stat. Power");
treeNode2.add(treeNode3);
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("DESeq2 analysis");
treeNode2.add(treeNode3);
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Count Filter");
treeNode2.add(treeNode3);
treeNode1.add(treeNode2);
treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("miRNA workflow");
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("miRNA counting");
treeNode2.add(treeNode3);
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Adding covariates and batchs");
treeNode2.add(treeNode3);
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("PCA");
treeNode2.add(treeNode3);
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Sample size estimator");
treeNode2.add(treeNode3);
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Experiment stat. Power");
treeNode2.add(treeNode3);
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("DESeq2 analysis");
treeNode2.add(treeNode3);
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Count Filter");
treeNode2.add(treeNode3);
treeNode1.add(treeNode2);
treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("Chipseq workflow");
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Genome indexing BWA");
treeNode2.add(treeNode3);
treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("MACS & SICER analysis");
treeNode2.add(treeNode3);
treeNode1.add(treeNode2);
AnalysisTree.setModel(new javax.swing.tree.DefaultTreeModel(treeNode1));
AnalysisTree.addTreeSelectionListener(new javax.swing.event.TreeSelectionListener() {
public void valueChanged(javax.swing.event.TreeSelectionEvent evt) {
AnalysisTreeValueChanged(evt);
}
});
jScrollPane1.setViewportView(AnalysisTree);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.weighty = 1.0;
LeftPanel.add(jScrollPane1, gridBagConstraints);
HorizontalSplitPanel.setLeftComponent(LeftPanel);
VerticalSplitPanel.setTopComponent(HorizontalSplitPanel);
getContentPane().add(VerticalSplitPanel, java.awt.BorderLayout.CENTER);
jMenuBar1.setBorder(javax.swing.BorderFactory.createCompoundBorder());
jMenu3.setText("File");
jMenuItem3.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, java.awt.event.InputEvent.CTRL_MASK));
jMenuItem3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/52.png"))); // NOI18N
jMenuItem3.setText("Open");
jMenuItem3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem3ActionPerformed(evt);
}
});
jMenu3.add(jMenuItem3);
jMenuItem4.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.CTRL_MASK));
jMenuItem4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/86.png"))); // NOI18N
jMenuItem4.setText("Save");
jMenuItem4.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem4ActionPerformed(evt);
}
});
jMenu3.add(jMenuItem4);
jMenuItem6.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_X, java.awt.event.InputEvent.CTRL_MASK));
jMenuItem6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/33.png"))); // NOI18N
jMenuItem6.setText("Exit");
jMenuItem6.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem6ActionPerformed(evt);
}
});
jMenu3.add(jMenuItem6);
jMenuBar1.add(jMenu3);
jMenu4.setText("Edit");
jMenuItem1.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F, java.awt.event.InputEvent.CTRL_MASK));
jMenuItem1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/preference.png"))); // NOI18N
jMenuItem1.setText("Configure 4SeqGUI");
jMenuItem1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem1ActionPerformed(evt);
}
});
jMenu4.add(jMenuItem1);
jMenuItem8.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_I, java.awt.event.InputEvent.CTRL_MASK));
jMenuItem8.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/download.png"))); // NOI18N
jMenuItem8.setText("Download Docker Images");
jMenuItem8.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem8ActionPerformed(evt);
}
});
jMenu4.add(jMenuItem8);
jMenuItem2.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_D, java.awt.event.InputEvent.CTRL_MASK));
jMenuItem2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/docker.png"))); // NOI18N
jMenuItem2.setText("Remove Docker Containers");
jMenuItem2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem2ActionPerformed(evt);
}
});
jMenu4.add(jMenuItem2);
jMenuBar1.add(jMenu4);
jMenu5.setText("?");
jMenu5.setToolTipText("");
jMenuItem7.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_A, java.awt.event.InputEvent.CTRL_MASK));
jMenuItem7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pkg4seqgui/images/iconDNA-small.png"))); // NOI18N
jMenuItem7.setText("About 4SeqGUI");
jMenuItem7.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem7ActionPerformed(evt);
}
});
jMenu5.add(jMenuItem7);
jMenuBar1.add(jMenu5);
setJMenuBar(jMenuBar1);
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 PatientUI() {\n initComponents();\n }",
"public Customer_Form() {\n initComponents();\n setSize(890,740);\n \n \n }",
"public Oddeven() {\n initComponents();\n }",
"public myForm() {\n\t\t\tinitComponents();\n\t\t}",
"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}",
"public kunde() {\n initComponents();\n }",
"public LixeiraForm() {\n initComponents();\n setLocationRelativeTo(null);\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 Botonera() {\n initComponents();\n }",
"public FrmMenu() {\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 Kost() {\n initComponents();\n }",
"public FormHorarioSSE() {\n initComponents();\n }",
"public frmacceso() {\n initComponents();\n }",
"public UploadForm() {\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 Lihat_Dokter_Keseluruhan() {\n initComponents();\n }",
"public JFrmPrincipal() {\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 CovidGUI(){\n initComponents();\n }"
]
| [
"0.73206544",
"0.7291311",
"0.7291311",
"0.7291311",
"0.7286492",
"0.7249181",
"0.7213362",
"0.72085494",
"0.71965617",
"0.7190475",
"0.7184897",
"0.7159234",
"0.71483016",
"0.7094075",
"0.7081491",
"0.70579433",
"0.6987627",
"0.69776064",
"0.69552463",
"0.69549114",
"0.69453007",
"0.69439274",
"0.69369227",
"0.6932056",
"0.6927733",
"0.6925948",
"0.69254535",
"0.69121534",
"0.6911907",
"0.6894101",
"0.6892413",
"0.68919593",
"0.6891924",
"0.6889863",
"0.6884052",
"0.6883223",
"0.688166",
"0.68787736",
"0.68764126",
"0.68745583",
"0.68721986",
"0.68595314",
"0.685675",
"0.68565613",
"0.6855288",
"0.6854687",
"0.6854457",
"0.685303",
"0.685303",
"0.68448347",
"0.6837389",
"0.6837193",
"0.6829965",
"0.6829964",
"0.68275386",
"0.68249714",
"0.6823691",
"0.6818224",
"0.68173605",
"0.6811417",
"0.6809674",
"0.680964",
"0.6809329",
"0.68085754",
"0.6802194",
"0.67955625",
"0.67938477",
"0.6793322",
"0.679176",
"0.67900634",
"0.6789749",
"0.67888486",
"0.6781942",
"0.6767308",
"0.6766431",
"0.6765252",
"0.67573947",
"0.6756327",
"0.6753509",
"0.67520833",
"0.6741834",
"0.6740361",
"0.6737793",
"0.67370224",
"0.6734898",
"0.6727867",
"0.6727453",
"0.67214817",
"0.6716735",
"0.67162156",
"0.6715855",
"0.6709997",
"0.6707508",
"0.67042965",
"0.6702483",
"0.67014945",
"0.67007315",
"0.6699097",
"0.669545",
"0.6692102",
"0.6690473"
]
| 0.0 | -1 |
Creates or finds a ApplicationGatewayClientRevocationOptions from its string representation. | @JsonCreator
public static ApplicationGatewayClientRevocationOptions fromString(String name) {
return fromString(name, ApplicationGatewayClientRevocationOptions.class);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Collection<ApplicationGatewayClientRevocationOptions> values() {\n return values(ApplicationGatewayClientRevocationOptions.class);\n }",
"public static AriVersion fromVersionString( String version ) throws ARIException {\n\n for ( AriVersion av: AriVersion.values() ) {\n if ( av.builder != null ) {\n if (av.versionString.equalsIgnoreCase(version) ) {\n return av;\n }\n }\n }\n\n throw new ARIException( \"Unknown ARI Version object for \" + version );\n }",
"static <T extends SyntheticOptions> T optionsFromString(String json, Class<T> type)\n throws IOException {\n ObjectMapper mapper = new ObjectMapper();\n T result = mapper.readValue(json, type);\n result.validate();\n return result;\n }",
"@ZAttr(id=1200)\n public void setReverseProxyClientCertModeAsString(String zimbraReverseProxyClientCertMode) throws com.zimbra.common.service.ServiceException {\n HashMap<String,Object> attrs = new HashMap<String,Object>();\n attrs.put(Provisioning.A_zimbraReverseProxyClientCertMode, zimbraReverseProxyClientCertMode);\n getProvisioning().modifyAttrs(this, attrs);\n }",
"public static AzureDataLakeConf fromConfiguration(URI storeUri, Configuration conf) {\n final AzureDataLakeConf outputConf = new AzureDataLakeConf();\n outputConf.accountName = storeUri.getHost();\n final int periodPos = outputConf.accountName.indexOf('.');\n if (periodPos != -1) {\n outputConf.accountName = outputConf.accountName.substring(0, periodPos);\n }\n outputConf.mode = ADLAuth.CLIENT_KEY;\n\n for (Map.Entry<String, String> prop : conf) {\n if (outputConf.propertyList == null) {\n outputConf.propertyList = new ArrayList<>();\n }\n\n outputConf.propertyList.add(new Property(prop.getKey(), prop.getValue()));\n\n switch (prop.getKey()) {\n case AdlConfKeys.AZURE_AD_CLIENT_ID_KEY:\n case \"dfs.adls.oauth2.client.id\":\n outputConf.clientId = prop.getValue();\n break;\n\n case AdlConfKeys.AZURE_AD_CLIENT_SECRET_KEY:\n case \"dfs.adls.oauth2.credential\":\n outputConf.clientKeyPassword = prop.getValue();\n break;\n\n case AdlConfKeys.AZURE_AD_TOKEN_PROVIDER_TYPE_KEY:\n outputConf.mode = \"RefreshToken\".equals(prop.getValue()) ? ADLAuth.REFRESH_TOKEN : ADLAuth.CLIENT_KEY;\n break;\n\n case AdlConfKeys.AZURE_AD_REFRESH_URL_KEY:\n case \"dfs.adls.oauth2.refresh.url\":\n outputConf.clientKeyRefreshUrl = prop.getValue();\n break;\n\n case AdlConfKeys.AZURE_AD_REFRESH_TOKEN_KEY:\n case \"dfs.adls.oauth2.refresh.token\":\n outputConf.refreshTokenSecret = prop.getValue();\n break;\n\n default:\n // Do nothing.\n }\n }\n\n Preconditions.checkNotNull(outputConf.accountName, \"Account name must be set.\");\n Preconditions.checkNotNull(outputConf.clientId, \"Client ID must be set.\");\n Preconditions.checkNotNull(outputConf.mode, \"Authentication mode must be set.\");\n return outputConf;\n }",
"@JsonCreator\n public static PathRenameMode fromString(String value) {\n PathRenameMode[] items = PathRenameMode.values();\n for (PathRenameMode item : items) {\n if (item.toString().equalsIgnoreCase(value)) {\n return item;\n }\n }\n return null;\n }",
"public static InitFieldConfig from(String initFieldConfigString) {\n String fieldName = null;\n String entityName = null;\n InitValue value = null;\n\n String[] equalsParts = initFieldConfigString.split(\"[=]\");\n if (equalsParts.length > 2) {\n throw new IllegalArgumentException(\"Inconsistent: found multiple '=' characters\");\n } else if (equalsParts.length == 2) {\n value = parseValueString(equalsParts[1]);\n }\n\n String[] fieldSpecs = equalsParts[0].split(\"[%]\");\n fieldName = fieldSpecs[0];\n if (fieldSpecs.length == 2) {\n entityName = fieldSpecs[1];\n } else if (fieldSpecs.length > 2) {\n throw new IllegalArgumentException(\"Inconsistent: found multiple '%' characters\");\n }\n return new AutoValue_InitFieldConfig(fieldName, entityName, value);\n }",
"public org.LNDCDC_NCS_TCS.ORDER_TYPES.apache.nifi.LNDCDC_NCS_TCS_ORDER_TYPES.Builder setREVENUEREPORTIND(java.lang.CharSequence value) {\n validate(fields()[6], value);\n this.REVENUE_REPORT_IND = value;\n fieldSetFlags()[6] = true;\n return this;\n }",
"@ZAttr(id=1200)\n public Map<String,Object> setReverseProxyClientCertModeAsString(String zimbraReverseProxyClientCertMode, Map<String,Object> attrs) {\n if (attrs == null) attrs = new HashMap<String,Object>();\n attrs.put(Provisioning.A_zimbraReverseProxyClientCertMode, zimbraReverseProxyClientCertMode);\n return attrs;\n }",
"public static Builder fromLocationString(final String location) {\n if (StringUtils.isBlank(location)) {\n throw new IllegalArgumentException(\"Location is null or blank\");\n }\n\n final String[] locationParts = location.split(SEPARATOR);\n if (locationParts.length != 4) {\n throw new IllegalArgumentException(\"Invalid location: \" + location);\n }\n\n return new Builder()\n .group(locationParts[0])\n .artifact(locationParts[1])\n .version(locationParts[2])\n .bundleIdentifier(locationParts[3].replace(\".nar\", \"\"));\n }",
"protected static ConfigurationOption<String> createStringOption(String key, String dflt) {\r\n return new ConfigurationOption<String>(key, dflt, PropertyReader.STRING_READER);\r\n }",
"protected void setBrokerOptions(ClientOptions clientOptions, String brokerUrl) {\n\n String uriProtocol = null;\n if (Boolean.parseBoolean(clientOptions.getOption(ClientOptions.CON_RECONNECT).getValue())) {\n // use failover mechanism by default, discovery otherwise\n uriProtocol = ClientOptions.FAILOVER_PROTO;\n }\n if (uriProtocol != null) {\n checkAndSetOption(ClientOptions.PROTOCOL, uriProtocol, clientOptions);\n // Set the whole url as failoverUrl. Do not parse it. connection options should come as input \"conn-*\"\n\n // failover:(dhcp-75-212.lab.eng.brq.redhat.com:5672,dhcp-75-219.lab.eng.brq.redhat.com:5672) -->\n // failover:(tcp://dhcp-75-212.lab.eng.brq.redhat.com:5672,tcp://dhcp-75-219.lab.eng.brq.redhat.com:5672) -->\n // TODO discovery..\n // discovery:(tcp://dhcp-75-212.lab.eng.brq.redhat.com:5672,tcp://dhcp-75-219.lab.eng.brq.redhat.com:5672) -->\n brokerUrl = appendMissingProtocol(brokerUrl);\n\n // If Failover-url list contains a broker value, add it here\n if (clientOptions.getOption(ClientOptions.CON_FAILOVER_URLS).hasParsedValue()) {\n StringBuilder failoverBrokers = new StringBuilder(\",\");\n String reconnectBrokers = clientOptions.getOption(ClientOptions.CON_FAILOVER_URLS).getValue();\n\n for (String brokerFailover : reconnectBrokers.split(\",\")) {\n failoverBrokers.append(appendMissingProtocol(brokerFailover)).append(\",\");\n }\n failoverBrokers.deleteCharAt(failoverBrokers.length() - 1);\n brokerUrl += failoverBrokers;\n }\n\n checkAndSetOption(ClientOptions.FAILOVER_URL, brokerUrl, clientOptions);\n } else {\n super.setBrokerOptions(clientOptions, brokerUrl);\n }\n }",
"public static ClientStatus fromString(String value) {\n ClientStatus typeValue = values.get(value);\n if (typeValue == null) {\n typeValue = extendedValues.get(value);\n if (typeValue == null) {\n throw new IllegalArgumentException(\"invalid value '\" + value\n + \"', possible values are: \" + literals);\n }\n }\n return typeValue;\n }",
"protected FromToOption createOption() {\n return new FromToOption();\n }",
"public org.LNDCDC_NCS_TCS.ORDER_TYPES.apache.nifi.LNDCDC_NCS_TCS_ORDER_TYPES.Builder setREVENUEDEFAULTIND(java.lang.CharSequence value) {\n validate(fields()[7], value);\n this.REVENUE_DEFAULT_IND = value;\n fieldSetFlags()[7] = true;\n return this;\n }",
"@Override\n\tprotected IPAddressStringParameters createFromStringParams() {\n\t\treturn new IPAddressStringParameters.Builder().\n\t\t\t\tgetIPv4AddressParametersBuilder().setNetwork(getNetwork()).getParentBuilder().\n\t\t\t\tgetIPv6AddressParametersBuilder().setNetwork(getIPv6Network()).getParentBuilder().toParams();\n\t}",
"@Override\n Builder overrideConfiguration(ClientOverrideConfiguration clientOverrideConfiguration);",
"public Builder setOptions(go.micro.runtime.RuntimeOuterClass.CreateOptions value) {\n if (optionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n options_ = value;\n onChanged();\n } else {\n optionsBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public Version createVersion(String versionValue);",
"@JsonCreator\n public static CreateMode fromString(String name) {\n return fromString(name, CreateMode.class);\n }",
"public static Config parseString(String s, ConfigParseOptions options) {\n return Parseable.newString(s, options).parse().toConfig();\n }",
"@Inject\n public RevocationGatewayImpl(OCSPVerifier ocspVerifier, CRLVerifier crlVerifier) {\n this.ocspVerifier = ocspVerifier;\n this.crlVerifier = crlVerifier;\n }",
"public abstract IOptions newDocumentOptions();",
"@Override\n\tpublic OrdineTestata fromString(String ordineTestata) {\n\t\treturn null;\n\t}",
"public com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.vehicleoptions.v1.VehicleOptions \n\t\t\t\t\t\t\tgetVehicleOptionsReq( VehicleOptions vehicleOptions ){\n\t\tcom.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.vehicleoptions.v1.VehicleOptions vehicleOptionsReq =\n\t\t\tnew com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.vehicleoptions.v1.VehicleOptions();\n\t\t\n\t\tvehicleOptionsReq.setPickupLocation( vehicleOptions.getPickupLocation() );\n\t\tvehicleOptionsReq.setDropoffLocation( vehicleOptions.getDropoffLocation() );\n\t\tvehicleOptionsReq.setVendorCode( vehicleOptions.getVendorCode() );\n\t\tvehicleOptionsReq.setVehicleClass( vehicleOptions.getVehicleClass() );\n\t\tif( vehicleOptions.getPickupDateTime() != null ){\n\t\t\tvehicleOptionsReq.setPickupDateTime( this.getDate( vehicleOptions.getPickupDateTime() ) );\n\t\t}\n\t\tif( vehicleOptions.getDropoffDateTime() != null ){\n\t\t\tvehicleOptionsReq.setDropoffDateTime( this.getDate( vehicleOptions.getDropoffDateTime() ) );\n\t\t}\n\t\t\n\t\treturn vehicleOptionsReq;\n\t}",
"@JsonCreator\n public static RestoreDetailsName fromString(String name) {\n return fromString(name, RestoreDetailsName.class);\n }",
"@JsonCreator\n public static FailoverMode fromString(String name) {\n return fromString(name, FailoverMode.class);\n }",
"public Builder setOptions(go.micro.runtime.RuntimeOuterClass.ListOptions value) {\n if (optionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n options_ = value;\n onChanged();\n } else {\n optionsBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public Builder setOptions(\n go.micro.runtime.RuntimeOuterClass.ReadOptions.Builder builderForValue) {\n if (optionsBuilder_ == null) {\n options_ = builderForValue.build();\n onChanged();\n } else {\n optionsBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }",
"public void setReverseAgency(boolean value) {\r\n this.reverseAgency = value;\r\n }",
"@Override\r\n\tprotected Object stringToValue(String valueString) throws ParseException {\r\n\t\ttry {\r\n\t\t\treturn PersistentBean.findOrCreate(beanClass, valueString);\r\n\t\t} catch (Exception e) {\r\n\t\t\tthrow new ParseException(e.getMessage(), 0);\r\n\t\t}\r\n\t}",
"public Builder setOptions(go.micro.runtime.RuntimeOuterClass.ReadOptions value) {\n if (optionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n options_ = value;\n onChanged();\n } else {\n optionsBuilder_.setMessage(value);\n }\n\n return this;\n }",
"abstract public Config createConfigFromString(String data);",
"public GOption makeOption(String optText){\n\t\tGOption opt = null;\n\t\tif(optText != null && !optText.equals(\"\")){\n\t\t\topt = new GOption(winApp, optText, 0, 0, (int)width - 10);\n\t\t\topt.addEventHandler(this, \"processOptionSelection\");\n\t\t\topt.setVisible(false);\n\t\t\topt.setOpaque(true);\n\t\t\topt.setBorder(0);\n\t\t}\n\t\treturn opt;\n\t}",
"private SankeyElementOptionsFactory(String elementKeyAsString) {\n\t\t\tsuper(elementKeyAsString);\n\t\t}",
"public void setRevocationUrl(String revocationUrl) {\r\n\t\tthis.revocationUrl = revocationUrl;\r\n\t}",
"public Builder setOptions(\n go.micro.runtime.RuntimeOuterClass.ListOptions.Builder builderForValue) {\n if (optionsBuilder_ == null) {\n options_ = builderForValue.build();\n onChanged();\n } else {\n optionsBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }",
"public Builder setOptions(\n go.micro.runtime.RuntimeOuterClass.CreateOptions.Builder builderForValue) {\n if (optionsBuilder_ == null) {\n options_ = builderForValue.build();\n onChanged();\n } else {\n optionsBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }",
"public CreateDhcpOptionsResponse createDhcpOptions(CreateDhcpOptions createDhcpOptions) {\n \t\treturn null;\r\n \t}",
"public static Options.OptionsBuilder getOptionsFromParameters(Options.OptionsBuilder optionsBuilder) {\n Map<String, String> params = getParameters();\n if (!params.containsKey(ACCESS_TOKEN))\n return null;\n\n Options.OptionsBuilder opts = optionsBuilder\n .withAccessToken(params.get(ACCESS_TOKEN));\n\n // As we use the okhttp collector, do override default values properly:\n opts\n .withCollectorHost(DEFAULT_COLLECTOR_HOST)\n .withCollectorProtocol(DEFAULT_COLLECTOR_PROTOCOL)\n .withCollectorPort(DEFAULT_COLLECTOR_PORT)\n .withCollectorClient(Options.CollectorClient.HTTP);\n\n if (params.containsKey(CLOCK_SKEW_CORRECTION))\n opts.withClockSkewCorrection(toBoolean(params.get(CLOCK_SKEW_CORRECTION)));\n\n if (params.containsKey(COMPONENT_NAME))\n opts.withComponentName(params.get(COMPONENT_NAME));\n\n if (params.containsKey(COLLECTOR_CLIENT)) {\n String value = params.get(COLLECTOR_CLIENT);\n for (Options.CollectorClient client : Options.CollectorClient.values()) {\n if (client.name().toLowerCase().equals(value)) {\n opts.withCollectorClient(client);\n }\n }\n }\n\n if (params.containsKey(COLLECTOR_HOST)) {\n String value = params.get(COLLECTOR_HOST);\n if (validateNonEmptyString(value))\n opts.withCollectorHost(value);\n }\n\n if (params.containsKey(COLLECTOR_PROTOCOL)) {\n String value = params.get(COLLECTOR_PROTOCOL);\n if (validateProtocol(value))\n opts.withCollectorProtocol(value);\n }\n\n if (params.containsKey(COLLECTOR_PORT)) {\n Integer value = toInteger(params.get(COLLECTOR_PORT));\n if (validatePort(value))\n opts.withCollectorPort(value);\n }\n\n if (params.containsKey(DEADLINE_MILLIS)) {\n Long value = toLong(params.get(DEADLINE_MILLIS));\n if (value != null)\n opts.withDeadlineMillis(value);\n }\n\n if (params.containsKey(DISABLE_REPORTING_LOOP))\n opts.withDisableReportingLoop(toBoolean(params.get(DISABLE_REPORTING_LOOP)));\n\n if (params.containsKey(MAX_BUFFERED_SPANS)) {\n Integer value = toInteger(params.get(MAX_BUFFERED_SPANS));\n if (value != null)\n opts.withMaxBufferedSpans(value);\n }\n\n if (params.containsKey(MAX_REPORTING_INTERVAL_MILLIS)) {\n Integer value = toInteger(params.get(MAX_REPORTING_INTERVAL_MILLIS));\n if (value != null)\n opts.withMaxReportingIntervalMillis(value);\n }\n\n if (params.containsKey(RESET_CLIENT))\n opts.withResetClient(toBoolean(params.get(RESET_CLIENT)));\n\n if (params.containsKey(VERBOSITY)) {\n Integer value = toInteger(params.get(VERBOSITY));\n if (value != null)\n opts.withVerbosity(value);\n }\n\n if (params.containsKey(TAGS)) {\n Map<String, Object> tags = toMap(params.get(TAGS));\n for (Map.Entry<String, Object> entry : tags.entrySet()) {\n opts.withTag(entry.getKey(), entry.getValue());\n }\n }\n\n if (params.containsKey(PROPAGATOR)) {\n String propagator = params.get(PROPAGATOR);\n if (\"b3\".equalsIgnoreCase(propagator)) {\n opts.withPropagator(Format.Builtin.HTTP_HEADERS, new B3Propagator());\n }\n }\n\n if (params.containsKey(SERVICE_VERSION)) {\n String serviceVersion = params.get(SERVICE_VERSION);\n if (validateNonEmptyString(serviceVersion))\n opts.withServiceVersion(serviceVersion);\n }\n\n if (params.containsKey(DISABLE_METRICS_REPORTING)) {\n Boolean disableMetrics = toBoolean(params.get(DISABLE_METRICS_REPORTING));\n opts.withDisableMetricsReporting(disableMetrics);\n }\n\n if (params.containsKey(METRICS_URL)) {\n String metricsUrl = params.get(METRICS_URL);\n if (validateNonEmptyString(metricsUrl))\n opts.withMetricsUrl(metricsUrl);\n }\n\n if (params.containsKey(HOSTNAME)) {\n String hostname = params.get(HOSTNAME);\n if (validateNonEmptyString(hostname))\n opts.withHostname(hostname);\n }\n\n return opts;\n }",
"public Builder setOptions(\n go.micro.runtime.RuntimeOuterClass.DeleteOptions.Builder builderForValue) {\n if (optionsBuilder_ == null) {\n options_ = builderForValue.build();\n onChanged();\n } else {\n optionsBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }",
"public Builder setHotelAddress(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n hotelAddress_ = value;\n onChanged();\n return this;\n }",
"public static Optional<BRCryptoKey> createFromPrivateKeyString(byte[] keyString) {\n keyString = Arrays.copyOf(keyString, keyString.length + 1);\n try {\n Memory keyMemory = new Memory(keyString.length);\n try {\n keyMemory.write(0, keyString, 0, keyString.length);\n ByteBuffer keyBuffer = keyMemory.getByteBuffer(0, keyString.length);\n\n return Optional.fromNullable(CryptoLibrary.INSTANCE.cryptoKeyCreateFromStringPrivate(keyBuffer));\n } finally {\n keyMemory.clear();\n }\n } finally {\n // clear out our copy; caller responsible for original array\n Arrays.fill(keyString, (byte) 0);\n }\n }",
"CdapServiceInstanceConfiguration createCdapServiceInstanceConfiguration();",
"@Test\n public void testToVendorConfiguration_generateReferenceBook() {\n A10Configuration a10Configuration = new A10Configuration();\n a10Configuration.setHostname(\"c\");\n VirtualServerTarget target1 = new VirtualServerTargetAddress(Ip.parse(\"1.1.1.1\"));\n VirtualServerTarget target2 = new VirtualServerTargetAddress(Ip.parse(\"2.2.2.2\"));\n a10Configuration.getOrCreateVirtualServer(\"vs1\", target1);\n a10Configuration.getOrCreateVirtualServer(\"vs2\", target2);\n Configuration c =\n Iterables.getOnlyElement(a10Configuration.toVendorIndependentConfigurations());\n\n String bookName = GeneratedRefBookUtils.getName(\"c\", BookType.VirtualAddresses);\n\n assertThat(\n c.getGeneratedReferenceBooks(),\n equalTo(\n ImmutableMap.of(\n bookName,\n ReferenceBook.builder(bookName)\n .setAddressGroups(\n ImmutableList.of(\n new AddressGroup(ImmutableSortedSet.of(\"1.1.1.1\"), \"vs1\"),\n new AddressGroup(ImmutableSortedSet.of(\"2.2.2.2\"), \"vs2\")))\n .build())));\n }",
"go.micro.runtime.RuntimeOuterClass.CreateOptionsOrBuilder getOptionsOrBuilder();",
"public static Config parseString(String s) {\n return parseString(s, ConfigParseOptions.defaults());\n }",
"public abstract Builder zza(String str);",
"public static RequestOptions fromJson(JsonReader jsonReader) throws IOException {\n return jsonReader.readObject(\n reader -> {\n RequestOptions deserializedRequestOptions = new RequestOptions();\n while (reader.nextToken() != JsonToken.END_OBJECT) {\n String fieldName = reader.getFieldName();\n reader.nextToken();\n\n if (\"x-ms-client-request-id\".equals(fieldName)) {\n deserializedRequestOptions.xMsClientRequestId =\n reader.getNullable(nonNullReader -> UUID.fromString(nonNullReader.getString()));\n } else {\n reader.skipChildren();\n }\n }\n\n return deserializedRequestOptions;\n });\n }",
"OPTION createOPTION();",
"public Builder mergeOptions(go.micro.runtime.RuntimeOuterClass.DeleteOptions value) {\n if (optionsBuilder_ == null) {\n if (options_ != null) {\n options_ =\n go.micro.runtime.RuntimeOuterClass.DeleteOptions.newBuilder(options_).mergeFrom(value).buildPartial();\n } else {\n options_ = value;\n }\n onChanged();\n } else {\n optionsBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"private void fromString(String serverInfoString) {\n\t\tif (serverInfoString != null && !serverInfoString.isEmpty()) {\n\t\t\tString[] tokens = serverInfoString.split(\" \");\n\t\t\tif (tokens.length == 3) {\n\t\t\t\tsetServerName(tokens[0]);\n\t\t\t\tsetAddress(tokens[1]);\n\t\t\t\tsetPort(Integer.parseInt(tokens[2]));\n\t\t\t} else\n\t\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\t\"Config file is not formatted as expected. near \"\n\t\t\t\t\t\t\t\t+ serverInfoString);\n\n\t\t}\n\n\t}",
"public CharStringOptionInspector() {\n this((CharTypeInfo) TypeInfoFactory.charTypeInfo);\n }",
"public static EsApprover fromUser(String user) {\r\n return new EsApprover().withUser(user);\r\n }",
"ShipmentGatewayConfigType createShipmentGatewayConfigType();",
"go.micro.runtime.RuntimeOuterClass.UpdateOptions getOptions();",
"public org.LNDCDC_NCS_TCS.ORDER_TYPES.apache.nifi.LNDCDC_NCS_TCS_ORDER_TYPES.Builder setREVENUESEQUENCE(java.lang.Double value) {\n validate(fields()[8], value);\n this.REVENUE_SEQUENCE = value;\n fieldSetFlags()[8] = true;\n return this;\n }",
"public static ResourceAddress from(String address) {\n if (address == null) {\n throw new IllegalArgumentException(\"Address must not be null\");\n }\n\n ResourceAddress ra;\n if (address.trim().length() == 0) {\n ra = ResourceAddress.root();\n } else {\n String safeAddress = address.startsWith(\"/\") ? address.substring(1) : address;\n if (safeAddress.length() == 0) {\n ra = ResourceAddress.root();\n } else if (!safeAddress.contains(\"/\")) {\n ra = new ResourceAddress();\n String[] parts = safeAddress.split(\"=\");\n if (parts.length != 2) {\n throw new IllegalArgumentException(\"Malformed address: \" + address);\n }\n ra.add(parts[0], parts[1]);\n } else {\n ra = new ResourceAddress();\n String[] parts = safeAddress.split(\"/\");\n if (parts.length == 0) {\n throw new IllegalArgumentException(\"Malformed address: \" + address);\n }\n for (String part : parts) {\n String[] kv = part.split(\"=\");\n if (kv.length != 2) {\n throw new IllegalArgumentException(\"Malformed part '\" + part + \"' in address: \" + address);\n }\n ra.add(kv[0], kv[1]);\n }\n }\n }\n return ra;\n }",
"public VersionParser(final String versionReadable) {\n if (versionReadable == null) {\n this.versionReadable = \"\";\n } else {\n this.versionReadable = versionReadable;\n }\n }",
"public void setDeprovisionString(String deprovisionString1) {\r\n this.deprovisionString = deprovisionString1;\r\n }",
"public BuilderOptions(String[][] options) {\r\n this.options = options;\r\n }",
"@SuppressWarnings(\"rawtypes\")\n private okhttp3.Call cancelOptionsOrderValidateBeforeCall(Long orderId, final ApiCallback _callback) throws ApiException {\n if (orderId == null) {\n throw new ApiException(\"Missing the required parameter 'orderId' when calling cancelOptionsOrder(Async)\");\n }\n\n okhttp3.Call localVarCall = cancelOptionsOrderCall(orderId, _callback);\n return localVarCall;\n }",
"public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setReceiverAddressEnvelopeLevel2(java.lang.String value) {\n validate(fields()[29], value);\n this.receiverAddressEnvelopeLevel2 = value;\n fieldSetFlags()[29] = true;\n return this;\n }",
"go.micro.runtime.RuntimeOuterClass.UpdateOptionsOrBuilder getOptionsOrBuilder();",
"@Override\n\t\t\tpublic Device fromString(String arg0) {\n\t\t\t\treturn null;\n\t\t\t}",
"@Override\n\t\t\tpublic Device fromString(String arg0) {\n\t\t\t\treturn null;\n\t\t\t}",
"@SuppressWarnings(\"rawtypes\")\n private okhttp3.Call listOptionsOrderBookValidateBeforeCall(String contract, String interval, Integer limit, Boolean withId, final ApiCallback _callback) throws ApiException {\n if (contract == null) {\n throw new ApiException(\"Missing the required parameter 'contract' when calling listOptionsOrderBook(Async)\");\n }\n\n okhttp3.Call localVarCall = listOptionsOrderBookCall(contract, interval, limit, withId, _callback);\n return localVarCall;\n }",
"public Builder setOptions(go.micro.runtime.RuntimeOuterClass.DeleteOptions value) {\n if (optionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n options_ = value;\n onChanged();\n } else {\n optionsBuilder_.setMessage(value);\n }\n\n return this;\n }",
"public static KeycloakAdminClientConfig loadConfig(KeycloakPropertyReader keycloakPropertyReader) {\n\n KeycloakAdminClientConfig builder = new KeycloakAdminClientConfig();\n\n try {\n String keycloakServer = System.getProperty(\"keycloak.url\");\n if (!StringUtils.isBlank(keycloakServer)) {\n builder.setServerUrl(keycloakServer);\n\n } else {\n builder.setServerUrl(keycloakPropertyReader.getProperty(\"keycloak.auth-server-url\"));\n }\n\n String realm = System.getProperty(\"keycloak.realm\");\n if (!StringUtils.isBlank(realm)) {\n builder.setRealm(realm);\n\n } else {\n builder.setRealm(keycloakPropertyReader.getProperty(\"keycloak.realm\"));\n }\n\n String clientId = System.getProperty(\"keycloak.clientId\");\n if (!StringUtils.isBlank(clientId)) {\n builder.setClientId(clientId);\n\n } else {\n builder.setClientId(keycloakPropertyReader.getProperty(\"keycloak.resource\"));\n }\n\n String clientSecret = System.getProperty(\"keycloak.secret\");\n if (!StringUtils.isBlank(clientSecret)) {\n builder.setClientSecret(clientSecret);\n\n } else {\n builder.setClientSecret(keycloakPropertyReader.getProperty(\"keycloak.secret\"));\n }\n\n } catch (Exception e) {\n log.error(\"Error: Loading keycloak admin configuration => {}\", e.getMessage());\n }\n\n KeycloakAdminClientConfig config = builder;\n log.debug(\"Found keycloak configuration: {}\", config);\n\n return config;\n }",
"public com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.hoteloptions.v1.HotelOptions getHotelOptionsReq(HotelOptions hotelOptions){\n\t\tcom.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.hoteloptions.v1.HotelOptions hotelOptionsReq = \n\t\t\tnew com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.hoteloptions.v1.HotelOptions();\n\t\t\n\t\thotelOptionsReq.setAppleRating( hotelOptions.getAppleRating() );\n\t\t//hotelOptionsReq.setGdsHotelCode(arg0)//ignore\n\t\thotelOptionsReq.setHotelChain( hotelOptions.getHotelChain() );\n\t\tif( hotelOptions.getHotelCode() != null ){\n\t\t\thotelOptionsReq.setHotelCode( hotelOptions.getHotelCode() );\n\t\t}\n\t\telse{\n\t\t\thotelOptionsReq.setHotelCode( \"\" );\n\t\t}\n\t\thotelOptionsReq.setHotelName( hotelOptions.getHotelName() );\n\t\t\n\t\tif( this.getIMApplicationInfo() != null ){\n\t\t\thotelOptionsReq.setImApplicationInfo( this.getImApplicationInfoReq( this.getIMApplicationInfo() ) );\n\t\t}\n\t\t\n\t\thotelOptionsReq.setNoOfRooms( new Integer(hotelOptions.getNoOfRooms()) );\n\t\thotelOptionsReq.setShowAll( new Boolean(hotelOptions.isShowAll()) );\n\t\thotelOptionsReq.setRoomTypeCode( hotelOptions.getRoomTypeCode() );\n\t\thotelOptionsReq.setRatePlanCode( hotelOptions.getRatePlanCode() );\n\t\tif( hotelOptions.getResortArea() != null ){\n\t\t\thotelOptionsReq.setResortArea( this.getResortAreaReq( hotelOptions.getResortArea() ) );\n\t\t}\n\t\tif( (hotelOptions.getAmenities() != null) && (hotelOptions.getAmenities().size() > 0) ){\n\t\t\tfor(int i=0; i < hotelOptions.getAmenities().size(); i++){\n\t\t\t\tif( hotelOptions.getAmenities().get(i) != null ){\n\t\t\t\t\thotelOptionsReq.getAmenities().add(this.getAmenityReq(hotelOptions.getAmenities().get(i)));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn hotelOptionsReq;\n\t}",
"public static org.xms.g.common.AccountPicker.AccountChooserOptions.Builder dynamicCast(java.lang.Object param0) {\n throw new java.lang.RuntimeException(\"Not Supported\");\n }",
"public Address createAddress(String address);",
"@ZAttr(id=1201)\n public void setReverseProxyClientCertCA(String zimbraReverseProxyClientCertCA) throws com.zimbra.common.service.ServiceException {\n HashMap<String,Object> attrs = new HashMap<String,Object>();\n attrs.put(Provisioning.A_zimbraReverseProxyClientCertCA, zimbraReverseProxyClientCertCA);\n getProvisioning().modifyAttrs(this, attrs);\n }",
"private static Properties getOptions(TunnelController controller) {\n if (controller == null) return null;\n String opts = controller.getClientOptions();\n StringTokenizer tok = new StringTokenizer(opts);\n Properties props = new Properties();\n while (tok.hasMoreTokens()) {\n String pair = tok.nextToken();\n int eq = pair.indexOf('=');\n if ( (eq <= 0) || (eq >= pair.length()) )\n continue;\n String key = pair.substring(0, eq);\n String val = pair.substring(eq+1);\n props.setProperty(key, val);\n }\n return props;\n }",
"@SuppressWarnings(\"rawtypes\")\n private okhttp3.Call getOptionsOrderValidateBeforeCall(Long orderId, final ApiCallback _callback) throws ApiException {\n if (orderId == null) {\n throw new ApiException(\"Missing the required parameter 'orderId' when calling getOptionsOrder(Async)\");\n }\n\n okhttp3.Call localVarCall = getOptionsOrderCall(orderId, _callback);\n return localVarCall;\n }",
"go.micro.runtime.RuntimeOuterClass.ListOptionsOrBuilder getOptionsOrBuilder();",
"public static Map<String, String> fillOptionWithDefaultValue(Map<String, String> options)\n throws InvalidLoadOptionException {\n Map<String, String> optionsFinal = new HashMap<>();\n optionsFinal.put(\"delimiter\", Maps.getOrDefault(options, \"delimiter\", \",\"));\n optionsFinal.put(\"quotechar\", Maps.getOrDefault(options, \"quotechar\", \"\\\"\"));\n optionsFinal.put(\"fileheader\", Maps.getOrDefault(options, \"fileheader\", \"\"));\n optionsFinal.put(\"commentchar\", Maps.getOrDefault(options, \"commentchar\", \"#\"));\n String headerOption = options.get(\"header\");\n if (headerOption != null) {\n if (!headerOption.equalsIgnoreCase(\"true\") &&\n !headerOption.equalsIgnoreCase(\"false\")) {\n throw new InvalidLoadOptionException(\n \"'header' option should be either 'true' or 'false'.\");\n }\n }\n optionsFinal.put(\"header\", Maps.getOrDefault(options, \"header\", \"\"));\n optionsFinal.put(\n \"escapechar\",\n CarbonLoaderUtil.getEscapeChar(Maps.getOrDefault(options, \"escapechar\", \"\\\\\")));\n\n optionsFinal.put(\n \"serialization_null_format\",\n Maps.getOrDefault(options, \"serialization_null_format\", \"\\\\N\"));\n\n optionsFinal.put(\n \"bad_records_logger_enable\",\n Maps.getOrDefault(\n options,\n \"bad_records_logger_enable\",\n CarbonProperties.getInstance().getProperty(\n CarbonLoadOptionConstants.CARBON_OPTIONS_BAD_RECORDS_LOGGER_ENABLE,\n CarbonLoadOptionConstants.CARBON_OPTIONS_BAD_RECORDS_LOGGER_ENABLE_DEFAULT)));\n\n String badRecordActionValue = CarbonProperties.getInstance().getProperty(\n CarbonCommonConstants.CARBON_BAD_RECORDS_ACTION,\n CarbonCommonConstants.CARBON_BAD_RECORDS_ACTION_DEFAULT);\n\n optionsFinal.put(\n \"bad_records_action\",\n Maps.getOrDefault(\n options,\n \"bad_records_action\",\n CarbonProperties.getInstance().getProperty(\n CarbonLoadOptionConstants.CARBON_OPTIONS_BAD_RECORDS_ACTION,\n badRecordActionValue)));\n\n optionsFinal.put(\n \"is_empty_data_bad_record\",\n Maps.getOrDefault(\n options,\n \"is_empty_data_bad_record\",\n CarbonProperties.getInstance().getProperty(\n CarbonLoadOptionConstants.CARBON_OPTIONS_IS_EMPTY_DATA_BAD_RECORD,\n CarbonLoadOptionConstants.CARBON_OPTIONS_IS_EMPTY_DATA_BAD_RECORD_DEFAULT)));\n\n optionsFinal.put(\n \"skip_empty_line\",\n Maps.getOrDefault(\n options,\n \"skip_empty_line\",\n CarbonProperties.getInstance().getProperty(\n CarbonLoadOptionConstants.CARBON_OPTIONS_SKIP_EMPTY_LINE)));\n\n optionsFinal.put(\"complex_delimiter_level_1\",\n Maps.getOrDefault(options, \"complex_delimiter_level_1\",\n CarbonProperties.getInstance().getProperty(\n CarbonCommonConstants.COMPLEX_DELIMITERS_LEVEL_1,\n ComplexDelimitersEnum.COMPLEX_DELIMITERS_LEVEL_1.value())));\n\n optionsFinal.put(\"complex_delimiter_level_2\",\n Maps.getOrDefault(options, \"complex_delimiter_level_2\",\n CarbonProperties.getInstance().getProperty(\n CarbonCommonConstants.COMPLEX_DELIMITERS_LEVEL_2,\n ComplexDelimitersEnum.COMPLEX_DELIMITERS_LEVEL_2.value())));\n\n optionsFinal.put(\"complex_delimiter_level_3\",\n Maps.getOrDefault(options, \"complex_delimiter_level_3\",\n CarbonProperties.getInstance().getProperty(\n CarbonCommonConstants.COMPLEX_DELIMITERS_LEVEL_3,\n ComplexDelimitersEnum.COMPLEX_DELIMITERS_LEVEL_3.value())));\n\n optionsFinal.put(\"complex_delimiter_level_4\",\n Maps.getOrDefault(options, \"complex_delimiter_level_4\",\n CarbonProperties.getInstance().getProperty(\n CarbonCommonConstants.COMPLEX_DELIMITERS_LEVEL_4,\n ComplexDelimitersEnum.COMPLEX_DELIMITERS_LEVEL_4.value())));\n\n optionsFinal.put(\n \"dateformat\",\n Maps.getOrDefault(\n options,\n \"dateformat\",\n CarbonProperties.getInstance().getProperty(\n CarbonLoadOptionConstants.CARBON_OPTIONS_DATEFORMAT,\n CarbonLoadOptionConstants.CARBON_OPTIONS_DATEFORMAT_DEFAULT)));\n\n optionsFinal.put(\n \"timestampformat\",\n Maps.getOrDefault(\n options,\n \"timestampformat\",\n CarbonProperties.getInstance().getProperty(\n CarbonLoadOptionConstants.CARBON_OPTIONS_TIMESTAMPFORMAT,\n CarbonLoadOptionConstants.CARBON_OPTIONS_TIMESTAMPFORMAT_DEFAULT)));\n\n optionsFinal.put(\n \"global_sort_partitions\",\n Maps.getOrDefault(\n options,\n \"global_sort_partitions\",\n CarbonProperties.getInstance().getProperty(\n CarbonLoadOptionConstants.CARBON_OPTIONS_GLOBAL_SORT_PARTITIONS,\n null)));\n\n optionsFinal.put(\"maxcolumns\", Maps.getOrDefault(options, \"maxcolumns\", null));\n optionsFinal.put(\"sort_scope\", CarbonCommonConstants.LOAD_SORT_SCOPE_DEFAULT);\n optionsFinal.put(\"sort_column_bounds\", Maps.getOrDefault(options, \"sort_column_bounds\", \"\"));\n optionsFinal.put(CarbonCommonConstants.CARBON_LOAD_MIN_SIZE_INMB,\n Maps.getOrDefault(options, CarbonCommonConstants.CARBON_LOAD_MIN_SIZE_INMB,\n CarbonCommonConstants.CARBON_LOAD_MIN_SIZE_INMB_DEFAULT));\n\n optionsFinal.put(\"range_column\", Maps.getOrDefault(options, \"range_column\", null));\n optionsFinal.put(\"scale_factor\", Maps.getOrDefault(options, \"scale_factor\", null));\n return optionsFinal;\n }",
"@ZAttr(id=1200)\n public void setReverseProxyClientCertMode(ZAttrProvisioning.ReverseProxyClientCertMode zimbraReverseProxyClientCertMode) throws com.zimbra.common.service.ServiceException {\n HashMap<String,Object> attrs = new HashMap<String,Object>();\n attrs.put(Provisioning.A_zimbraReverseProxyClientCertMode, zimbraReverseProxyClientCertMode.toString());\n getProvisioning().modifyAttrs(this, attrs);\n }",
"Option findOption(final String trigger);",
"public Builder mergeOptions(go.micro.runtime.RuntimeOuterClass.CreateOptions value) {\n if (optionsBuilder_ == null) {\n if (options_ != null) {\n options_ =\n go.micro.runtime.RuntimeOuterClass.CreateOptions.newBuilder(options_).mergeFrom(value).buildPartial();\n } else {\n options_ = value;\n }\n onChanged();\n } else {\n optionsBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"public Builder setOptions(\n go.micro.runtime.RuntimeOuterClass.UpdateOptions.Builder builderForValue) {\n if (optionsBuilder_ == null) {\n options_ = builderForValue.build();\n onChanged();\n } else {\n optionsBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }",
"CdapInternalApplicationConfiguration createCdapInternalApplicationConfiguration();",
"public Builder setHotelAddressBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n hotelAddress_ = value;\n onChanged();\n return this;\n }",
"@ZAttr(id=1201)\n public void unsetReverseProxyClientCertCA() throws com.zimbra.common.service.ServiceException {\n HashMap<String,Object> attrs = new HashMap<String,Object>();\n attrs.put(Provisioning.A_zimbraReverseProxyClientCertCA, \"\");\n getProvisioning().modifyAttrs(this, attrs);\n }",
"@SuppressWarnings(\"rawtypes\")\n private okhttp3.Call createOptionsOrderValidateBeforeCall(OptionsOrder optionsOrder, final ApiCallback _callback) throws ApiException {\n if (optionsOrder == null) {\n throw new ApiException(\"Missing the required parameter 'optionsOrder' when calling createOptionsOrder(Async)\");\n }\n\n okhttp3.Call localVarCall = createOptionsOrderCall(optionsOrder, _callback);\n return localVarCall;\n }",
"public abstract Builder setBaseOptions(BaseOptions value);",
"OBCArgs createOBCArgs();",
"public StoreFactoryOptions createOptionsInstance() {\n\t\treturn new AccumuloRequiredOptions();\n\t}",
"public void testConstructorWithStringTypeArrayWithReferences() throws Exception {\r\n root.addChild(createArray(\"array1\", TYPE_FULL_STRING, \"1\", \"{str1, \\\"string2\\\"}\"));\r\n\r\n ConfigurationObject object = createObject(\"str1\", TYPE_FULL_STRING);\r\n ConfigurationObject params = new DefaultConfigurationObject(\"params\");\r\n params.addChild(createParam(1, TYPE_FULL_STRING, \"string1\"));\r\n object.addChild(params);\r\n root.addChild(object);\r\n\r\n specificationFactory = new ConfigurationObjectSpecificationFactory(root);\r\n\r\n ObjectSpecification array = specificationFactory.getObjectSpecification(\"array1\", null);\r\n\r\n assertEquals(\"SpecType should be array.\", ObjectSpecification.ARRAY_SPECIFICATION, array\r\n .getSpecType());\r\n assertNull(\"Identifier should be null.\", array.getIdentifier());\r\n assertEquals(\"Type should be String.\", TYPE_FULL_STRING, array.getType());\r\n assertEquals(\"Dimension should be 1.\", 1, array.getDimension());\r\n\r\n Object[] array1 = array.getParameters();\r\n ObjectSpecification string1 = (ObjectSpecification) array1[0];\r\n ObjectSpecification string2 = (ObjectSpecification) array1[1];\r\n\r\n assertEquals(\"Array should have 2 elements.\", 2, array1.length);\r\n assertTrue(\"Elements should be 'String'.\", string1.getType().equals(TYPE_FULL_STRING)\r\n && string2.getType().equals(TYPE_FULL_STRING));\r\n assertEquals(\"Element should be str1.\", specificationFactory.getObjectSpecification(\"str1\",\r\n null), string1);\r\n assertEquals(\"Element should be \\\"string2\\\".\", \"string2\", string2.getValue());\r\n }",
"@JsonCreator\n public static RecommendedIndexTypes fromString(String value) {\n RecommendedIndexTypes[] items = RecommendedIndexTypes.values();\n for (RecommendedIndexTypes item : items) {\n if (item.toString().equalsIgnoreCase(value)) {\n return item;\n }\n }\n return null;\n }",
"public Builder mergeOptions(go.micro.runtime.RuntimeOuterClass.ListOptions value) {\n if (optionsBuilder_ == null) {\n if (options_ != null) {\n options_ =\n go.micro.runtime.RuntimeOuterClass.ListOptions.newBuilder(options_).mergeFrom(value).buildPartial();\n } else {\n options_ = value;\n }\n onChanged();\n } else {\n optionsBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"public static org.xms.g.maps.model.PolygonOptions dynamicCast(java.lang.Object param0) {\n return ((org.xms.g.maps.model.PolygonOptions) param0);\n }",
"private Option(Builder builder) {\n this.shortSwitches = builder.shortSwitches;\n this.longSwitches = builder.longSwitches;\n this.mandatory = builder.mandatory;\n this.argument = builder.argument;\n this.argumentPresence = builder.argumentPresence;\n this.description = builder.description;\n this.messageArgMissing = builder.messageArgMissing;\n }",
"go.micro.runtime.RuntimeOuterClass.CreateOptions getOptions();",
"public OptionalThing<UrlReverseOption> toRestfulReversePath(UrlReverseResource resource) {\n if (!determineRestfulAction(resource)) {\n return OptionalThing.empty();\n }\n final RestfulPathConvertingParam convertingParam = createRestfulPathConvertingParam(resource);\n final UrlReverseOption option = createUrlReverseOption(resource, convertingParam);\n return OptionalThing.of(option);\n }",
"public Rezervare(Rezervare other) {\r\n __isset_bitfield = other.__isset_bitfield;\r\n this.id = other.id;\r\n this.idCursa = other.idCursa;\r\n this.nrLoc = other.nrLoc;\r\n if (other.isSetClient()) {\r\n this.client = other.client;\r\n }\r\n }",
"private String createReversalVoucher() throws ParseException {\n\n final String appConfigKey = \"GJV_FOR_RCPT_CHQ_DISHON\";\n final AppConfigValues appConfigValues = appConfigValuesService.getConfigValuesByModuleAndKey(\n FinancialConstants.MODULE_NAME_APPCONFIG, appConfigKey).get(0);\n appConfigValues.getValue();\n CVoucherHeader voucherHeader = null;\n // DishonoredEntriesDelegate delegat e = new DishonoredEntriesDelegate();\n\n // Create bank charges\n if (dishonorChequeView.getBankChargesAmt().compareTo(BigDecimal.ZERO) > 0)\n try {\n bankChargesReversalVoucher = createBankReversalVoucher();\n } catch (final HibernateException e) {\n LOGGER.error(e.getMessage(), e);\n final List<ValidationError> errors = new ArrayList<ValidationError>();\n errors.add(new ValidationError(\"exception\", e.getMessage()));\n throw new ValidationException(errors);\n } catch (final TaskFailedException e) {\n LOGGER.error(e.getMessage(), e);\n final List<ValidationError> errors = new ArrayList<ValidationError>();\n errors.add(new ValidationError(\"exception\", e.getMessage()));\n throw new ValidationException(errors);\n } catch (final SQLException e) {\n LOGGER.error(e.getMessage(), e);\n final List<ValidationError> errors = new ArrayList<ValidationError>();\n errors.add(new ValidationError(\"exception\", e.getMessage()));\n throw new ValidationException(errors);\n }\n // Create bank charges receipt reversal voucher\n if (null != dishonorChequeView.getOriginalVoucherHeader().getType()\n && dishonorChequeView.getOriginalVoucherHeader().getType().equalsIgnoreCase(RECEIPT)\n || JOURNAL_VOUCHER.equalsIgnoreCase(dishonorChequeView.getOriginalVoucherHeader().getType())) {\n if (LOGGER.isDebugEnabled())\n LOGGER.debug(\"CREATING RECEIPT Reversal >>>>>>>>>>\");\n\n voucherHeader = createVoucherHeader(FinancialConstants.STANDARD_VOUCHER_TYPE_JOURNAL,\n dishonorChequeView.getInstrumentDishonorReason());\n /*\n * //If reversal for receipt, then according to appconfig value get the prefix for voucher. if\n * (dishonorChequeView.getOriginalVoucherHeader().getType().equalsIgnoreCase(RECEIPT) &&\n * gjvForRcpt.equalsIgnoreCase(\"Y\")){ voucherHeader =\n * createVoucherHeader(FinancialConstants.STANDARD_VOUCHER_TYPE_JOURNAL\n * ,dishonorChequeView.getInstrumentDishonorReason()); } else { voucherHeader =\n * createVoucherHeader(FinancialConstants.\n * STANDARD_VOUCHER_TYPE_PAYMENT,dishonorChequeView.getInstrumentDishonorReason()); }\n */\n if (!(null == dishonorChequeView.getInstrumentDishonorReason() && dishonorChequeView.getInstrumentDishonorReason()\n .equals(\"\"))) {\n final String narration = \"Reversal Voucher Entry for receipt number \"\n + dishonorChequeView.getOriginalVoucherHeader().getVoucherNumber() +\n \", Cheque Number \" + dishonorChequeView.getInstrumentHeader().getInstrumentNumber() + \" Cheque Dated :\"\n + getFormattedDate(dishonorChequeView.getInstrumentHeader().getInstrumentDate());\n voucherHeader.setDescription(narration);\n } else\n voucherHeader.setDescription(dishonorChequeView.getInstrumentDishonorReason());\n final List<InstrumentHeader> instrument = instrumentService.addToInstrument(createInstruments(\"1\", getTotalAmount(),\n FinancialConstants.INSTRUMENT_TYPE_BANK_TO_BANK));\n instrument.get(0).setStatusId(getReconciledStatus());\n instrumentHeaderService.persist(instrument.get(0));\n // if(LOGGER.isInfoEnabled()) LOGGER.info(\"---------------------------\"+debitAmount.toString());\n instrumentService.updateInstrumentOtherDetailsStatus(instrument.get(0), dishonorChequeView.getTransactionDate(),\n getTotalAmount());\n voucherHeader.setName(\"Receipt Reversal\");\n // voucherHeader.setDescription(dishonorChequeView.getInstrumentDishonorReason());\n final HashMap<String, Object> headerDetails = createHeaderAndMisDetails(voucherHeader);\n paymentVoucher = createVoucher(voucherHeader, headerDetails, \"Receipt Reversal\");\n // String reversalVhIdValue = paymentVoucher.getId().toString();\n instrumentService.addToBankReconcilation(voucherHeader, instrument.get(0));\n updateInstrumentVoucherReference(instrument, paymentVoucher);\n\n }\n\n return \"view\";\n }",
"@ZAttr(id=1200)\n public Map<String,Object> setReverseProxyClientCertMode(ZAttrProvisioning.ReverseProxyClientCertMode zimbraReverseProxyClientCertMode, Map<String,Object> attrs) {\n if (attrs == null) attrs = new HashMap<String,Object>();\n attrs.put(Provisioning.A_zimbraReverseProxyClientCertMode, zimbraReverseProxyClientCertMode.toString());\n return attrs;\n }",
"public BEROctetString(byte[] string, int segmentSize)\n {\n this(string, null, segmentSize);\n }",
"@SuppressWarnings(\"rawtypes\")\n private okhttp3.Call listOptionsContractsValidateBeforeCall(String underlying, Long expiration, final ApiCallback _callback) throws ApiException {\n if (underlying == null) {\n throw new ApiException(\"Missing the required parameter 'underlying' when calling listOptionsContracts(Async)\");\n }\n\n okhttp3.Call localVarCall = listOptionsContractsCall(underlying, expiration, _callback);\n return localVarCall;\n }"
]
| [
"0.4941495",
"0.4572294",
"0.43942514",
"0.43191925",
"0.42136732",
"0.41573447",
"0.40876588",
"0.40069035",
"0.3995727",
"0.3992638",
"0.3981743",
"0.39636934",
"0.39408314",
"0.39393333",
"0.3900779",
"0.38973048",
"0.38785267",
"0.3866078",
"0.3853994",
"0.3852275",
"0.3825743",
"0.38243717",
"0.38157007",
"0.38152248",
"0.38097146",
"0.38017878",
"0.37995258",
"0.37880734",
"0.37859145",
"0.37701467",
"0.3729786",
"0.37218195",
"0.37165758",
"0.37143183",
"0.37129793",
"0.37124476",
"0.37005973",
"0.3697853",
"0.3687495",
"0.36838043",
"0.36833265",
"0.36803934",
"0.36684886",
"0.3666059",
"0.3657295",
"0.36505944",
"0.36414927",
"0.3633914",
"0.36246318",
"0.36140588",
"0.36069447",
"0.36024573",
"0.36006016",
"0.35910887",
"0.35894817",
"0.35891795",
"0.35817614",
"0.35765365",
"0.35763925",
"0.35760927",
"0.35742056",
"0.35620585",
"0.35587573",
"0.35581422",
"0.3553201",
"0.3553201",
"0.35421723",
"0.35404187",
"0.35403585",
"0.35386935",
"0.3538374",
"0.35297963",
"0.35280684",
"0.3527148",
"0.35223106",
"0.35170075",
"0.35129073",
"0.35123223",
"0.35055348",
"0.35019794",
"0.35001758",
"0.34989423",
"0.34969178",
"0.349687",
"0.34857878",
"0.3484967",
"0.3483006",
"0.34783262",
"0.34713724",
"0.34643617",
"0.34497514",
"0.34448984",
"0.34436938",
"0.34428516",
"0.34424013",
"0.34377226",
"0.3437358",
"0.34289497",
"0.34265995",
"0.3422601"
]
| 0.75945157 | 0 |
Gets known ApplicationGatewayClientRevocationOptions values. | public static Collection<ApplicationGatewayClientRevocationOptions> values() {
return values(ApplicationGatewayClientRevocationOptions.class);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public List<VpnClientRevokedCertificateInner> vpnClientRevokedCertificates() {\n return this.vpnClientRevokedCertificates;\n }",
"@JsonCreator\n public static ApplicationGatewayClientRevocationOptions fromString(String name) {\n return fromString(name, ApplicationGatewayClientRevocationOptions.class);\n }",
"private static Properties getOptions(TunnelController controller) {\n if (controller == null) return null;\n String opts = controller.getClientOptions();\n StringTokenizer tok = new StringTokenizer(opts);\n Properties props = new Properties();\n while (tok.hasMoreTokens()) {\n String pair = tok.nextToken();\n int eq = pair.indexOf('=');\n if ( (eq <= 0) || (eq >= pair.length()) )\n continue;\n String key = pair.substring(0, eq);\n String val = pair.substring(eq+1);\n props.setProperty(key, val);\n }\n return props;\n }",
"@GET\n @Path(\"/\" + AggregatorOptionListContainer.OPTIONS)\n @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })\n @ApiOperation(value = \"Get options over aggregator conext.\", httpMethod = \"GET\", response = AggregatorOptionListContainer.class)\n @ApiResponses(value = {\n @ApiResponse(code = 200, message = \"OK (Response containing a list of all available options)\")\n })\n public AggregatorOptionListContainer getGETOptions() {\n return getOptions();\n }",
"public String getRevocationUrl() {\r\n\t\treturn revocationUrl;\r\n\t}",
"public ArcOptions getArcOptions() {\n return this.arcOptions;\n }",
"go.micro.runtime.RuntimeOuterClass.ListOptionsOrBuilder getOptionsOrBuilder();",
"public com.cognos.developer.schemas.rds.types._2.POptions[] getOptions() {\r\n return options;\r\n }",
"public go.micro.runtime.RuntimeOuterClass.ListOptionsOrBuilder getOptionsOrBuilder() {\n return getOptions();\n }",
"public static ApplicationOptions getOptions (){\n\t\treturn _applicationOptions;\n\t}",
"@VisibleForTesting\n public List<String> getCompilerOptions() throws CommandLineExpansionException {\n return compileCommandLine.getCompilerOptions(/*overwrittenVariables=*/ null);\n }",
"public go.micro.runtime.RuntimeOuterClass.DeleteOptionsOrBuilder getOptionsOrBuilder() {\n return getOptions();\n }",
"public String[] getOptions() {\n\t\tString[] EvaluatorOptions = new String[0];\n\t\tString[] SearchOptions = new String[0];\n\t\tint current = 0;\n\n//\t\tif (m_ASEvaluator instanceof OptionHandler) {\n//\t\t\tEvaluatorOptions = ((OptionHandler) m_ASEvaluator).getOptions();\n//\t\t}\n//\n//\t\tif (m_ASSearch instanceof OptionHandler) {\n//\t\t\tSearchOptions = ((OptionHandler) m_ASSearch).getOptions();\n//\t\t}\n\n\t\tString[] setOptions = new String[10];\n//\t\tsetOptions[current++] = \"-E\";\n//\t\tsetOptions[current++] = getEvaluator().getClass().getName() + \" \"\n//\t\t\t\t+ Utils.joinOptions(EvaluatorOptions);\n//\n//\t\tsetOptions[current++] = \"-S\";\n//\t\tsetOptions[current++] = getSearch().getClass().getName() + \" \"\n//\t\t\t\t+ Utils.joinOptions(SearchOptions);\n//\t\t\n\t\t setOptions[current++] = \"-k\";\n\t\t setOptions[current++] = \"\" + getK();\n\t\t setOptions[current++] = \"-p\";\n\t\t setOptions[current++] = \"\" + getminF_Correlation();\n\n\t\twhile (current < setOptions.length) {\n\t\t\tsetOptions[current++] = \"\";\n\t\t}\n\n\t\treturn setOptions;\n\t}",
"com.google.container.v1.GkeBackupAgentConfigOrBuilder getGkeBackupAgentConfigOrBuilder();",
"go.micro.runtime.RuntimeOuterClass.ListOptions getOptions();",
"public Integer[] getClientValues() {\n return clientValues;\n }",
"@ZAttr(id=1201)\n public String getReverseProxyClientCertCA() {\n return getAttr(Provisioning.A_zimbraReverseProxyClientCertCA, null);\n }",
"@NonNull\n\t\tMap<String, String> getOptions();",
"public go.micro.runtime.RuntimeOuterClass.ListOptions getOptions() {\n if (optionsBuilder_ == null) {\n return options_ == null ? go.micro.runtime.RuntimeOuterClass.ListOptions.getDefaultInstance() : options_;\n } else {\n return optionsBuilder_.getMessage();\n }\n }",
"@Override\n public String[] getOptions() {\n List<String> options = new ArrayList<String>();\n\n for (String opt : getJobOptionsOnly()) {\n options.add(opt);\n }\n\n return options.toArray(new String[options.size()]);\n }",
"public go.micro.runtime.RuntimeOuterClass.ListOptionsOrBuilder getOptionsOrBuilder() {\n if (optionsBuilder_ != null) {\n return optionsBuilder_.getMessageOrBuilder();\n } else {\n return options_ == null ?\n go.micro.runtime.RuntimeOuterClass.ListOptions.getDefaultInstance() : options_;\n }\n }",
"public go.micro.runtime.RuntimeOuterClass.ReadOptionsOrBuilder getOptionsOrBuilder() {\n return getOptions();\n }",
"public abstract String[] getOptions();",
"com.google.container.v1.GkeBackupAgentConfig getGkeBackupAgentConfig();",
"String getOptionsOrThrow(\n String key);",
"String getOptionsOrThrow(\n String key);",
"String getOptionsOrThrow(\n String key);",
"public VpnClientConfiguration withVpnClientRevokedCertificates(List<VpnClientRevokedCertificateInner> vpnClientRevokedCertificates) {\n this.vpnClientRevokedCertificates = vpnClientRevokedCertificates;\n return this;\n }",
"ImmutableList<String> vmOptions();",
"public String[] getOptions(){\n\n String[] options = new String[5];\n int current = 0;\n\n options[current++] = \"-G\"; options[current++] = \"\" + m_NumAttemptsOfGene;\n options[current++] = \"-I\"; options[current++] = \"\" + m_NumFoldersMI;\n\n while (current < options.length) {\n options[current++] = \"\";\n }\n return options;\n }",
"public ComboItem[] getCar_options() {\r\n\t\treturn car_options;\r\n\t}",
"public go.micro.runtime.RuntimeOuterClass.UpdateOptionsOrBuilder getOptionsOrBuilder() {\n return getOptions();\n }",
"public go.micro.runtime.RuntimeOuterClass.ListOptions getOptions() {\n return options_ == null ? go.micro.runtime.RuntimeOuterClass.ListOptions.getDefaultInstance() : options_;\n }",
"public Iterator getOptions() {\n synchronized (options) {\n return Collections.unmodifiableList(new ArrayList(options)).iterator();\n }\n }",
"public go.micro.runtime.RuntimeOuterClass.DeleteOptionsOrBuilder getOptionsOrBuilder() {\n if (optionsBuilder_ != null) {\n return optionsBuilder_.getMessageOrBuilder();\n } else {\n return options_ == null ?\n go.micro.runtime.RuntimeOuterClass.DeleteOptions.getDefaultInstance() : options_;\n }\n }",
"public Collection<String> recognizedOptions()\n {\n // We default to null for backward compatibility sake\n return null;\n }",
"public List<Opt> getOptions() {\n\t\treturn options;\n\t}",
"public go.micro.runtime.RuntimeOuterClass.DeleteOptions getOptions() {\n if (optionsBuilder_ == null) {\n return options_ == null ? go.micro.runtime.RuntimeOuterClass.DeleteOptions.getDefaultInstance() : options_;\n } else {\n return optionsBuilder_.getMessage();\n }\n }",
"List<String> getJavaOptions();",
"public Collection<String> getOptions() {\n return options==null? Collections.emptyList() : Arrays.asList(options);\n }",
"Map getOptions();",
"public String getOptionsAsString() {\n\t\tStringBuilder buf = new StringBuilder();\n\t\tfor (int i = 0; i <propertyKeys.size(); i++) {\n\t\t\tString key = propertyKeys.get(i);\n\t\t\tif (!runtimeKeys.get(i))\n buf.append(key + \" : \" + getOption(key)).append(\"\\r\\n\");\n\t\t}\n\t\tfor (int i = 0; i <propertyKeys.size(); i++) {\n\t\t\tString key = propertyKeys.get(i);\n\t\t\tif (runtimeKeys.get(i))\n buf.append(\"* \" + key + \" : \" + getOption(key)).append(\"\\r\\n\");\n\t\t}\n\t\treturn buf.toString();\n\t}",
"public Map<String, RelyingPartyConfiguration> getRelyingPartyConfigurations();",
"public GbossValueSet getOptions() {\n return BigrGbossData.getValueSetAlphabetized(ArtsConstants.VALUE_SET_PROCEDURE_HIERARCHY);\n }",
"public String[][] getOptions() {\r\n return options;\r\n }",
"@java.lang.Deprecated\n public java.util.List<io.kubernetes.client.openapi.models.V1PodDNSConfigOption> getOptions() {\n return options != null ? build(options) : null;\n }",
"public static Options getOptions() {\n return OPTIONS;\n }",
"@OPTIONS\n @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })\n @ApiOperation(value = \"Get options over aggregator conext.\", httpMethod = \"OPTIONS\", response = AggregatorOptionListContainer.class)\n @ApiResponses(value = {\n @ApiResponse(code = 200, message = \"OK (Response containing a list of all available options)\")\n })\n public AggregatorOptionListContainer getOptions() {\n AggregatorOptionListContainer aggregatorOptionListContainer = new AggregatorOptionListContainer(uriInfo.getBaseUri());\n return aggregatorOptionListContainer;\n }",
"public DeleteTOptions getOptions() {\n return this.options;\n }",
"@Override\n\tpublic String[] getOptions() {\n\t\tVector<String> result = new Vector<String>();\n\n\t\tresult.add(\"-populationSize\");\n\t\tresult.add(\"\" + populationSize);\n\n\t\tresult.add(\"-initialMaxDepth\");\n\t\tresult.add(\"\" + maxDepth);\n\n\t\tCollections.addAll(result, super.getOptions());\n\n\t\treturn result.toArray(new String[result.size()]);\n\t}",
"public PathOptions getPathOptions() {\n return this.pathOptions;\n }",
"public java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureEdge.Builder> \n getEdgeBuilderList() {\n return getEdgeFieldBuilder().getBuilderList();\n }",
"public go.micro.runtime.RuntimeOuterClass.DeleteOptions getOptions() {\n return options_ == null ? go.micro.runtime.RuntimeOuterClass.DeleteOptions.getDefaultInstance() : options_;\n }",
"public abstract Options getOptions();",
"public void setRevocationUrl(String revocationUrl) {\r\n\t\tthis.revocationUrl = revocationUrl;\r\n\t}",
"go.micro.runtime.RuntimeOuterClass.DeleteOptionsOrBuilder getOptionsOrBuilder();",
"private static GetRevisionHistoryOptions getRevisionHistoryOptions() {\n\tGetRevisionHistoryOptions options = new GetRevisionHistoryOptions();\n\toptions.setIncludeInherited(true);\n\toptions.setLongOutput(true);\n\toptions.setMaxRevs(1000);\n\toptions.setOmitNonContributaryIntegrations(true);\n\treturn options;\n }",
"public QueryRequestOptions options() {\n return this.options;\n }",
"@Override\n\tpublic String[] getOptions() {\n\t\treturn null;\n\t}",
"public go.micro.runtime.RuntimeOuterClass.DeleteOptions.Builder getOptionsBuilder() {\n \n onChanged();\n return getOptionsFieldBuilder().getBuilder();\n }",
"go.micro.runtime.RuntimeOuterClass.UpdateOptions getOptions();",
"public List<String> getExtraOpts() {\r\n \t\treturn extraOpts;\r\n \t}",
"public String getOptions() {\n return this.options;\n }",
"public String[] getClientNames() {\n return clientNames;\n }",
"@ZAttr(id=1200)\n public ZAttrProvisioning.ReverseProxyClientCertMode getReverseProxyClientCertMode() {\n try { String v = getAttr(Provisioning.A_zimbraReverseProxyClientCertMode); return v == null ? ZAttrProvisioning.ReverseProxyClientCertMode.off : ZAttrProvisioning.ReverseProxyClientCertMode.fromString(v); } catch(com.zimbra.common.service.ServiceException e) { return ZAttrProvisioning.ReverseProxyClientCertMode.off; }\n }",
"@Override\n\tpublic Properties getOptions() {\n\t\treturn options;\n\t}",
"public go.micro.runtime.RuntimeOuterClass.ReadOptionsOrBuilder getOptionsOrBuilder() {\n if (optionsBuilder_ != null) {\n return optionsBuilder_.getMessageOrBuilder();\n } else {\n return options_ == null ?\n go.micro.runtime.RuntimeOuterClass.ReadOptions.getDefaultInstance() : options_;\n }\n }",
"@ZAttr(id=1191)\n public String[] getOpenidConsumerAllowedOPEndpointURL() {\n return getMultiAttr(Provisioning.A_zimbraOpenidConsumerAllowedOPEndpointURL);\n }",
"public FreeTOptions getOptions() {\n return this.options;\n }",
"@java.lang.Deprecated public java.util.List<io.envoyproxy.envoy.config.core.v3.Address.Builder> \n getListeningAddressesBuilderList() {\n return getListeningAddressesFieldBuilder().getBuilderList();\n }",
"public java.util.List<pb4client.ValueChange.Builder> \n getVcBuilderList() {\n return getVcFieldBuilder().getBuilderList();\n }",
"public java.util.List<? extends pb4client.ValueChangeOrBuilder> \n getVcOrBuilderList() {\n return vc_;\n }",
"public com.google.protobuf.ProtocolStringList\n getClientFeaturesList() {\n return clientFeatures_.getUnmodifiableView();\n }",
"go.micro.runtime.RuntimeOuterClass.ReadOptionsOrBuilder getOptionsOrBuilder();",
"public CreateUpdateOptions options() {\n return this.innerProperties() == null ? null : this.innerProperties().options();\n }",
"public final HttpParams getClientParams() {\n/* 159 */ return this.clientParams;\n/* */ }",
"public Options getOptions() {\n return options;\n }",
"com.google.protobuf.ByteString getKeyRevocationActionTypeBytes();",
"public Hashtable<String, Object> getOptions() {\n return options;\n }",
"go.micro.runtime.RuntimeOuterClass.DeleteOptions getOptions();",
"@Override\n public String[] getOptions() {\n\n Vector<String> result = new Vector<String>();\n\n result.add(\"-K\");\n result.add(\"\" + m_kBEPPConstant);\n\n if (getL()) {\n result.add(\"-L\");\n }\n\n if (getUnbiasedEstimate()) {\n result.add(\"-U\");\n }\n\n if (getB()) {\n result.add(\"-B\");\n }\n\n result.add(\"-Ba\");\n result.add(\"\" + m_bagInstanceMultiplier);\n\n result.add(\"-M\");\n result.add(\"\" + m_SplitMethod);\n\n result.add(\"-A\");\n result.add(\"\" + m_AttributesToSplit);\n\n result.add(\"-An\");\n result.add(\"\" + m_AttributeSplitChoices);\n\n Collections.addAll(result, super.getOptions());\n\n return result.toArray(new String[result.size()]);\n }",
"public ArrayList<String> getOptionValues() {\n return optionValues;\n }",
"com.google.protobuf.AnyOrBuilder getOldConfigOrBuilder();",
"public static OptionValues getInitialOptions() {\n return Graal.getRequiredCapability(OptionValues.class);\n }",
"public com.coda.www.efinance.schemas.elementmaster.elementmaster_6_0.webservice.GetRequestGetOptions getGetOptions() {\r\n return getOptions;\r\n }",
"public String getExtraOptions() {\n return this.extraOptions;\n }",
"public java.util.List<com.lesen.rpc.protobuf.LesenRPCProto.LesenRPCResult.Builder> \n getReaultBuilderList() {\n return getReaultFieldBuilder().getBuilderList();\n }",
"@ZAttr(id=1200)\n public String getReverseProxyClientCertModeAsString() {\n return getAttr(Provisioning.A_zimbraReverseProxyClientCertMode, \"off\");\n }",
"go.micro.runtime.RuntimeOuterClass.UpdateOptionsOrBuilder getOptionsOrBuilder();",
"public LsOptions getOptions() {\n return options;\n }",
"public int getOptions() {\n\t\treturn this.options;\n\t}",
"@Output\n public GkeAutoUpgradeOptions getUpgradeOptions() {\n return upgradeOptions;\n }",
"@Override\n public io.emqx.exhook.ClientInfoOrBuilder getClientinfoOrBuilder() {\n return getClientinfo();\n }",
"@ZAttr(id=1201)\n public void unsetReverseProxyClientCertCA() throws com.zimbra.common.service.ServiceException {\n HashMap<String,Object> attrs = new HashMap<String,Object>();\n attrs.put(Provisioning.A_zimbraReverseProxyClientCertCA, \"\");\n getProvisioning().modifyAttrs(this, attrs);\n }",
"public go.micro.runtime.RuntimeOuterClass.ListOptions.Builder getOptionsBuilder() {\n \n onChanged();\n return getOptionsFieldBuilder().getBuilder();\n }",
"@Override\n\n public java.util.Map<String, String> getOptionsMap() {\n return internalGetOptions().getMap();\n }",
"@Override\n\n public java.util.Map<String, String> getOptionsMap() {\n return internalGetOptions().getMap();\n }",
"@Override\n\n public java.util.Map<String, String> getOptionsMap() {\n return internalGetOptions().getMap();\n }",
"public TreeMap getCondictionCodesOptions()\n\t{\n\t\t\n\t\treturn ACMICache.getConditionCodes();\n\t\t\n\t}",
"String getControllerAuthorties(String clientId);"
]
| [
"0.6032188",
"0.5610515",
"0.5341461",
"0.5081167",
"0.50512993",
"0.5001583",
"0.49807373",
"0.49655548",
"0.49156734",
"0.48575735",
"0.48484132",
"0.48462686",
"0.48214015",
"0.48139942",
"0.47971487",
"0.47772297",
"0.4776363",
"0.47735626",
"0.47638845",
"0.4708615",
"0.46902773",
"0.46893334",
"0.46740928",
"0.46732014",
"0.46663395",
"0.46663395",
"0.46663395",
"0.46613002",
"0.46542907",
"0.46362737",
"0.46253073",
"0.461162",
"0.46113202",
"0.46034124",
"0.4593151",
"0.45794943",
"0.45620057",
"0.4556049",
"0.4548387",
"0.45331085",
"0.45177287",
"0.45131063",
"0.44885176",
"0.44855535",
"0.44801366",
"0.4476482",
"0.44746095",
"0.446865",
"0.44672006",
"0.44628233",
"0.44623578",
"0.44496596",
"0.4448573",
"0.44472823",
"0.4431714",
"0.4431403",
"0.44214404",
"0.4413967",
"0.4409141",
"0.44015697",
"0.4399547",
"0.437796",
"0.43713546",
"0.4365409",
"0.43647277",
"0.43621227",
"0.43549475",
"0.435433",
"0.4352787",
"0.43517843",
"0.43460393",
"0.43455774",
"0.43428844",
"0.43400297",
"0.43372387",
"0.43289593",
"0.4328876",
"0.4327997",
"0.43273786",
"0.4305138",
"0.43044558",
"0.42903733",
"0.42897812",
"0.42847562",
"0.42815053",
"0.42809957",
"0.42702085",
"0.42690998",
"0.42686185",
"0.42658138",
"0.42599544",
"0.42553616",
"0.42461246",
"0.4243013",
"0.4238821",
"0.4230066",
"0.4230066",
"0.4230066",
"0.4224608",
"0.4223854"
]
| 0.8349333 | 0 |
/ Getters / Setters | public String getProduct() {
return product;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected abstract Set method_1559();",
"@Override\r\n\tpublic void get() {\n\t\t\r\n\t}",
"@Override\n public void get() {}",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"public void get() {\n }",
"public void setdat()\n {\n }",
"@Override\n\tpublic void getData() {\n\t\t\n\t}",
"public void setAge(int age) { this.age = age; }",
"public int getAge() {return age;}",
"@Test\r\n\tpublic void testGettersSetters()\r\n\t{\r\n\t\tPerson p = new Person(42);\r\n\t\tp.setDisplayName(\"Fred\");\r\n\t\tassertEquals(\"Fred\", p.getFullname());\r\n\t\tp.setPassword(\"hunter2\");\r\n\t\tassertEquals(\"hunter2\", p.getPassword());\r\n\t\tassertEquals(42, p.getID());\r\n\t}",
"String setValue();",
"private void assignment() {\n\n\t\t\t}",
"@Override\n\n // <editor-fold defaultstate=\"collapsed\" desc=\" UML Marker \"> \n // #[regen=yes,id=DCE.E1700BD9-298C-DA86-4BFF-194B41A6CF5E]\n // </editor-fold> \n protected String getProperties() {\n\n return \"Size = \" + size + \", Index = \" + value;\n\n }",
"@Override\n\tprotected void getExras() {\n\n\t}",
"private PropertyAccess() {\n\t\tsuper();\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\n String get();",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"@Test\n public void testSongGettersSetters() {\n Integer id = 4;\n String title=\"title\",uri = \"uri\";\n\n Song song = new Song();\n song.setId(id);\n song.setTitle(title);\n song.setUri(uri);\n\n assertEquals(\"Problem with id\",id, song.getId());\n assertEquals(\"Problem with title\",title, song.getTitle());\n assertEquals(\"Problem with uri\",uri, song.getUri());\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\npublic void setAttributes() {\n\t\n}",
"public Student getStudent() { return student; }",
"public String getAuthor(){return author;}",
"public int getAge(){\n return age;\n }",
"public void setName(String name){this.name=name;}",
"public void setNombre(String nombre) {\r\n\tthis.nombre = nombre;\r\n}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"public String getID(){return ID;}",
"@Test\r\n\tpublic void gettersSettersTest() {\r\n\t\tItem item = new Item();\r\n\t\titem.setCount(NUMBER);\r\n\t\tassertEquals(item.getCount(), NUMBER);\r\n\t\titem.setDescription(\"word\");\r\n\t\tassertEquals(item.getDescription(), \"word\");\r\n\t\titem.setId(NUMBER);\r\n\t\tassertEquals(item.getId(), NUMBER);\r\n\t\titem.setName(\"word\");\r\n\t\tassertEquals(item.getName(), \"word\");\r\n\t\titem.setPicture(\"picture\");\r\n\t\tassertEquals(item.getPicture(), \"picture\");\r\n\t\titem.setPrice(FLOATNUMBER);\r\n\t\tassertEquals(item.getPrice(), FLOATNUMBER, 0);\r\n\t\titem.setType(\"word\");\r\n\t\tassertEquals(item.getType(), \"word\");\r\n\t\titem.setSellerId(NUMBER);\r\n\t\tassertEquals(item.getSellerId(), NUMBER);\r\n\t\titem.setDeleted(false);\r\n\t\tassertEquals(item.isDeleted(), false);\r\n\t\titem.setDeleted(true);\r\n\t\tassertEquals(item.isDeleted(), true);\t\t\r\n\t}",
"public String get();",
"public int getSet() {\n return set;\n }",
"@Override\n protected void updateProperties() {\n }",
"private ReadProperty()\r\n {\r\n\r\n }",
"String getName(){return this.name;}",
"public int getAge()\r\n {\r\n return age;\r\n }",
"public int getlife(){\r\n return life;\r\n}",
"private Attributes getAttributes()\r\n\t{\r\n\t return attributes;\r\n\t}",
"public void setNombre(String nombre) {this.nombre = nombre;}",
"public abstract String get();",
"public String getName () { return this.name; }",
"public Address getAddress() { return address; }",
"private Get() {}",
"private Get() {}",
"public Book getBook() \t\t{ return this.myBook; }",
"@Override\n //Method for getting output from String declaration\n //First set of accessor/mutator that returns value as String\n public String toString(){\n return \"[\"+name+\",\"+type+\",\"+value+\"]\";\n }",
"public int getID() {return id;}",
"public int getID() {return id;}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"public int getArmadura(){return armadura;}",
"@Override\n\tpublic void set() {\n\t\tSystem.out.println(\"A==========set\");\n\t}",
"public String getNombre()\r\n/* 17: */ {\r\n/* 18:41 */ return this.nombre;\r\n/* 19: */ }",
"public String getName(){return this.name;}",
"public void Data(){\n\t\t\t\t\t\t\n\t\t\t\t\t}",
"public void setPrice(double price){this.price=price;}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public String getNombre()\r\n/* 113: */ {\r\n/* 114:204 */ return this.nombre;\r\n/* 115: */ }",
"public int getID(){\r\n return this.ID;\r\n }",
"public String getNombre()\r\n/* 60: */ {\r\n/* 61: 67 */ return this.nombre;\r\n/* 62: */ }",
"public int getAge()\n {\n return age;\n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void initValue() {\n\t\t\n\t}",
"public void setName(String name){this.name = name;}",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"public int getNumber(){return number;}",
"private void setData() {\n\n }",
"public int get () { return rating; }",
"public String getValue() {\n/* 99 */ return this.value;\n/* */ }",
"@Override\n public void memoria() {\n \n }",
"@Override\n\tprotected void getDataFromUCF() {\n\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"public int\t\tget() { return value; }",
"@Override\n\tpublic void setData() {\n\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void initializeValues() {\n\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}",
"@Override\n void init() {\n }",
"public int getLives(){return lives;}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"public contrustor(){\r\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public int getValue() {\n/* 450 */ return this.value;\n/* */ }",
"public void setupProperties() {\n // left empty for subclass to override\n }",
"public Empleado getEmpleado()\r\n/* 183: */ {\r\n/* 184:337 */ return this.empleado;\r\n/* 185: */ }",
"@Test\n\tpublic void testSet() {\n\t}",
"public int getYearsOffice()\n {\n return yearsOffice;\n}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"public String getName(){\n return name;\n}",
"@Override\n public void init() {\n\n }",
"public int getAge() {\n\t \t return age; \n\t}",
"public String getName(){return name;}",
"public String getName(){return name;}",
"public String getName(){return name;}",
"public String getName(){return name;}"
]
| [
"0.68003595",
"0.6558789",
"0.6552484",
"0.64120036",
"0.62294185",
"0.6210205",
"0.61401826",
"0.61208946",
"0.6081686",
"0.6043031",
"0.5965628",
"0.5945217",
"0.59434736",
"0.5939926",
"0.5920166",
"0.5899987",
"0.5898689",
"0.58881354",
"0.5869365",
"0.5869247",
"0.5838588",
"0.5812347",
"0.5797407",
"0.5794814",
"0.579031",
"0.57795644",
"0.577835",
"0.5770927",
"0.57701164",
"0.57680756",
"0.57675654",
"0.5766282",
"0.57647616",
"0.57614684",
"0.5754689",
"0.5750062",
"0.5742365",
"0.5741466",
"0.57404214",
"0.573494",
"0.57308143",
"0.57302564",
"0.57302564",
"0.572279",
"0.5719592",
"0.57076836",
"0.57076836",
"0.57069826",
"0.5703922",
"0.5700368",
"0.5692091",
"0.5688439",
"0.56798893",
"0.567682",
"0.56743133",
"0.56743133",
"0.567216",
"0.56696355",
"0.5665813",
"0.5660841",
"0.56600046",
"0.5656578",
"0.5655491",
"0.5654439",
"0.56543267",
"0.5653469",
"0.56531894",
"0.56499314",
"0.56488204",
"0.5648613",
"0.5646114",
"0.5636076",
"0.5627856",
"0.5624369",
"0.56243557",
"0.5616",
"0.5616",
"0.5616",
"0.5616",
"0.5616",
"0.5616",
"0.56148374",
"0.56133807",
"0.56128955",
"0.5612112",
"0.56117326",
"0.5606357",
"0.56051844",
"0.5604293",
"0.5602374",
"0.5601846",
"0.5599406",
"0.55964756",
"0.55964756",
"0.5593973",
"0.5591566",
"0.5591156",
"0.5587491",
"0.5587491",
"0.5587491",
"0.5587491"
]
| 0.0 | -1 |
/ Constructor Default constructor | public DescriptorImpl() {
super();
load();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Constructor(){\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"defaultConstructor(){}",
"void DefaultConstructor(){}",
"@SuppressWarnings(\"unused\")\n public NoConstructor() {\n // Empty\n }",
"ConstructorPractice () {\n\t\tSystem.out.println(\"Default Constructor\");\n\t}",
"private Instantiation(){}",
"public Basic() {}",
"public CyanSus() {\n\n }",
"public Pasien() {\r\n }",
"public Pitonyak_09_02() {\r\n }",
"public CSSTidier() {\n\t}",
"private Default()\n {}",
"public PSRelation()\n {\n }",
"public Chauffeur() {\r\n\t}",
"public Curso() {\r\n }",
"public Orbiter() {\n }",
"public Clade() {}",
"public Chick() {\n\t}",
"public Anschrift() {\r\n }",
"public Parser()\n {\n //nothing to do\n }",
"public Demo() {\n\t\t\n\t}",
"public Person() {\n\t\t\n\t}",
"public Overview() {\n\t\t// It will work whenever i create object with using no parameter const\n\t\tSystem.out.println(\"This is constructor\");\n\t}",
"public Coche() {\n super();\n }",
"public Lanceur() {\n\t}",
"public Cohete() {\n\n\t}",
"public Odontologo() {\n }",
"private SingleObject()\r\n {\r\n }",
"public Zeffit()\n {\n // TODO: initialize instance variable(s)\n }",
"public Data() {}",
"public Student() {\n//\t\tname = \"\";\n//\t\tage = 0;\n\t\t\n\t\t\n\t\t//call constructors inside of other constructors\n\t\tthis(999,0);\n\t}",
"public Generic(){\n\t\tthis(null);\n\t}",
"public Method() {\n }",
"public SlanjePoruke() {\n }",
"public Achterbahn() {\n }",
"public _355() {\n\n }",
"public TTau() {}",
"public Data() {\n }",
"public Data() {\n }",
"public lo() {}",
"public Mannschaft() {\n }",
"public Libro() {\r\n }",
"public Supercar() {\r\n\t\t\r\n\t}",
"public TennisCoach () {\n\t\tSystem.out.println(\">> inside default constructor.\");\n\t}",
"public Car() {\r\n this(\"\", \"\", \"\", 0, Category.EMPTY, 0.00, \"\", 0, \"\", 0.00, \"\", DriveTrain.EMPTY,\r\n Aspiration.EMPTY, 0.00, 0.00, 0.00, 0.00, 0.0, 0.0, 0.0, 0.0, 0.0);\r\n }",
"public Ov_Chipkaart() {\n\t\t\n\t}",
"public Alojamiento() {\r\n\t}",
"public D() {}",
"public prueba()\r\n {\r\n }",
"public Data() {\n \n }",
"public Book() {\n\t\t// Default constructor\n\t}",
"public Tbdtokhaihq3() {\n super();\n }",
"public Phl() {\n }",
"public CMN() {\n\t}",
"public Demo3() {}",
"public Carrera(){\n }",
"public Vector() {\n construct();\n }",
"public Aanbieder() {\r\n\t\t}",
"public JSFOla() {\n }",
"public Excellon ()\n {}",
"public Classe() {\r\n }",
"public Node() {\n\t}",
"public Person() {}",
"public God() {}",
"public Connection() {\n\t\t\n\t}",
"public Mueble() {\n }",
"private SingleObject(){}",
"public Node() {\n }",
"public Node() {\r\n\t}",
"public Node() {\r\n\t}",
"public Model() {\n\t}",
"public Model() {\n\t}",
"public Member() {\r\n\t}",
"public CD() {}",
"public Magazzino() {\r\n }",
"public Mitarbeit() {\r\n }",
"private SimpleRepository() {\n \t\t// private ct to disallow external object creation\n \t}",
"public GTFTranslator()\r\n {\r\n // do nothing - no variables to instantiate\r\n }",
"private Rekenhulp()\n\t{\n\t}",
"public SgaexpedbultoImpl()\n {\n }",
"public Member() {}",
"public Rol() {}",
"public AntrianPasien() {\r\n\r\n }",
"public TV() {\r\n\t}",
"public Student(){}",
"private TMCourse() {\n\t}",
"public ChaCha()\n\t{\n\t\tsuper();\n\t}",
"public Soil()\n\t{\n\n\t}",
"protected Asignatura()\r\n\t{}",
"public WordList() {\t\t//Default constructor\n\t}",
"public Account() {\n // special case of the word \"this\"\n this(\"01234\", 0.00, \"Default Name\", \"Default Email\", \"Default Phone\");\n System.out.println(\"Empty constructor called\"); // only called once when instantiated.\n }",
"public RngObject() {\n\t\t\n\t}",
"public Music()\n {\n this(0, \"\", \"\", \"\", \"\", \"\");\n }",
"public Tbdcongvan36() {\n super();\n }",
"public Parser()\n{\n //nothing to do\n}",
"public Account() {\n this(0, 0.0, \"Unknown name\"); // Invole the 2-param constructor\n }",
"O() { super(null); }",
"public Main() {\r\n\t}",
"public Stat()\n {\n // empty constructor\n }",
"public Vaccine() {\n\t}"
]
| [
"0.83749145",
"0.8343262",
"0.7992264",
"0.78817445",
"0.7779739",
"0.77190185",
"0.75351423",
"0.74882823",
"0.7461926",
"0.74335325",
"0.7425329",
"0.73703325",
"0.7352034",
"0.73460907",
"0.7344312",
"0.733987",
"0.7333713",
"0.73313683",
"0.73140347",
"0.72804683",
"0.72773284",
"0.7253528",
"0.7218163",
"0.72149694",
"0.7199298",
"0.71932614",
"0.7180325",
"0.7176393",
"0.7164928",
"0.7110955",
"0.7104221",
"0.7099473",
"0.70947397",
"0.7094532",
"0.7093996",
"0.7091832",
"0.7084378",
"0.7084094",
"0.70807886",
"0.70807886",
"0.70755935",
"0.7069279",
"0.7064461",
"0.70634216",
"0.70633805",
"0.70603603",
"0.705798",
"0.7056031",
"0.70530707",
"0.7050135",
"0.70481604",
"0.7043649",
"0.70402795",
"0.7039206",
"0.70362985",
"0.70346767",
"0.7028975",
"0.7028567",
"0.702465",
"0.701894",
"0.7018364",
"0.7013024",
"0.70111793",
"0.7005928",
"0.70019066",
"0.7001057",
"0.6996996",
"0.69937235",
"0.6991628",
"0.6991466",
"0.6991466",
"0.6983913",
"0.6983913",
"0.6980194",
"0.6979512",
"0.69750655",
"0.69722074",
"0.6968793",
"0.6964358",
"0.6960575",
"0.6956709",
"0.69565934",
"0.69565594",
"0.69518465",
"0.6951779",
"0.69514024",
"0.6951122",
"0.6947117",
"0.6941057",
"0.6930438",
"0.6930132",
"0.6928712",
"0.69269216",
"0.6926171",
"0.6926126",
"0.6921623",
"0.692153",
"0.69189256",
"0.691663",
"0.6915937",
"0.6915759"
]
| 0.0 | -1 |
/ Getters / Setters | public String getServiceUrl() {
return serviceUrl;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected abstract Set method_1559();",
"@Override\r\n\tpublic void get() {\n\t\t\r\n\t}",
"@Override\n public void get() {}",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"public void get() {\n }",
"public void setdat()\n {\n }",
"@Override\n\tpublic void getData() {\n\t\t\n\t}",
"public void setAge(int age) { this.age = age; }",
"public int getAge() {return age;}",
"@Test\r\n\tpublic void testGettersSetters()\r\n\t{\r\n\t\tPerson p = new Person(42);\r\n\t\tp.setDisplayName(\"Fred\");\r\n\t\tassertEquals(\"Fred\", p.getFullname());\r\n\t\tp.setPassword(\"hunter2\");\r\n\t\tassertEquals(\"hunter2\", p.getPassword());\r\n\t\tassertEquals(42, p.getID());\r\n\t}",
"String setValue();",
"private void assignment() {\n\n\t\t\t}",
"@Override\n\n // <editor-fold defaultstate=\"collapsed\" desc=\" UML Marker \"> \n // #[regen=yes,id=DCE.E1700BD9-298C-DA86-4BFF-194B41A6CF5E]\n // </editor-fold> \n protected String getProperties() {\n\n return \"Size = \" + size + \", Index = \" + value;\n\n }",
"@Override\n\tprotected void getExras() {\n\n\t}",
"private PropertyAccess() {\n\t\tsuper();\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\n String get();",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"@Test\n public void testSongGettersSetters() {\n Integer id = 4;\n String title=\"title\",uri = \"uri\";\n\n Song song = new Song();\n song.setId(id);\n song.setTitle(title);\n song.setUri(uri);\n\n assertEquals(\"Problem with id\",id, song.getId());\n assertEquals(\"Problem with title\",title, song.getTitle());\n assertEquals(\"Problem with uri\",uri, song.getUri());\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\npublic void setAttributes() {\n\t\n}",
"public Student getStudent() { return student; }",
"public String getAuthor(){return author;}",
"public int getAge(){\n return age;\n }",
"public void setName(String name){this.name=name;}",
"public void setNombre(String nombre) {\r\n\tthis.nombre = nombre;\r\n}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"public String getID(){return ID;}",
"@Test\r\n\tpublic void gettersSettersTest() {\r\n\t\tItem item = new Item();\r\n\t\titem.setCount(NUMBER);\r\n\t\tassertEquals(item.getCount(), NUMBER);\r\n\t\titem.setDescription(\"word\");\r\n\t\tassertEquals(item.getDescription(), \"word\");\r\n\t\titem.setId(NUMBER);\r\n\t\tassertEquals(item.getId(), NUMBER);\r\n\t\titem.setName(\"word\");\r\n\t\tassertEquals(item.getName(), \"word\");\r\n\t\titem.setPicture(\"picture\");\r\n\t\tassertEquals(item.getPicture(), \"picture\");\r\n\t\titem.setPrice(FLOATNUMBER);\r\n\t\tassertEquals(item.getPrice(), FLOATNUMBER, 0);\r\n\t\titem.setType(\"word\");\r\n\t\tassertEquals(item.getType(), \"word\");\r\n\t\titem.setSellerId(NUMBER);\r\n\t\tassertEquals(item.getSellerId(), NUMBER);\r\n\t\titem.setDeleted(false);\r\n\t\tassertEquals(item.isDeleted(), false);\r\n\t\titem.setDeleted(true);\r\n\t\tassertEquals(item.isDeleted(), true);\t\t\r\n\t}",
"public String get();",
"public int getSet() {\n return set;\n }",
"@Override\n protected void updateProperties() {\n }",
"private ReadProperty()\r\n {\r\n\r\n }",
"String getName(){return this.name;}",
"public int getAge()\r\n {\r\n return age;\r\n }",
"public int getlife(){\r\n return life;\r\n}",
"private Attributes getAttributes()\r\n\t{\r\n\t return attributes;\r\n\t}",
"public void setNombre(String nombre) {this.nombre = nombre;}",
"public abstract String get();",
"public String getName () { return this.name; }",
"public Address getAddress() { return address; }",
"private Get() {}",
"private Get() {}",
"public Book getBook() \t\t{ return this.myBook; }",
"@Override\n //Method for getting output from String declaration\n //First set of accessor/mutator that returns value as String\n public String toString(){\n return \"[\"+name+\",\"+type+\",\"+value+\"]\";\n }",
"public int getID() {return id;}",
"public int getID() {return id;}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"public int getArmadura(){return armadura;}",
"@Override\n\tpublic void set() {\n\t\tSystem.out.println(\"A==========set\");\n\t}",
"public String getNombre()\r\n/* 17: */ {\r\n/* 18:41 */ return this.nombre;\r\n/* 19: */ }",
"public String getName(){return this.name;}",
"public void Data(){\n\t\t\t\t\t\t\n\t\t\t\t\t}",
"public void setPrice(double price){this.price=price;}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public String getNombre()\r\n/* 113: */ {\r\n/* 114:204 */ return this.nombre;\r\n/* 115: */ }",
"public int getID(){\r\n return this.ID;\r\n }",
"public String getNombre()\r\n/* 60: */ {\r\n/* 61: 67 */ return this.nombre;\r\n/* 62: */ }",
"public int getAge()\n {\n return age;\n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void initValue() {\n\t\t\n\t}",
"public void setName(String name){this.name = name;}",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"public int getNumber(){return number;}",
"private void setData() {\n\n }",
"public int get () { return rating; }",
"public String getValue() {\n/* 99 */ return this.value;\n/* */ }",
"@Override\n public void memoria() {\n \n }",
"@Override\n\tprotected void getDataFromUCF() {\n\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"public int\t\tget() { return value; }",
"@Override\n\tpublic void setData() {\n\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void initializeValues() {\n\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}",
"@Override\n void init() {\n }",
"public int getLives(){return lives;}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"public contrustor(){\r\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public int getValue() {\n/* 450 */ return this.value;\n/* */ }",
"public void setupProperties() {\n // left empty for subclass to override\n }",
"public Empleado getEmpleado()\r\n/* 183: */ {\r\n/* 184:337 */ return this.empleado;\r\n/* 185: */ }",
"@Test\n\tpublic void testSet() {\n\t}",
"public int getYearsOffice()\n {\n return yearsOffice;\n}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"public String getName(){\n return name;\n}",
"@Override\n public void init() {\n\n }",
"public int getAge() {\n\t \t return age; \n\t}",
"public String getName(){return name;}",
"public String getName(){return name;}",
"public String getName(){return name;}",
"public String getName(){return name;}"
]
| [
"0.68003595",
"0.6558789",
"0.6552484",
"0.64120036",
"0.62294185",
"0.6210205",
"0.61401826",
"0.61208946",
"0.6081686",
"0.6043031",
"0.5965628",
"0.5945217",
"0.59434736",
"0.5939926",
"0.5920166",
"0.5899987",
"0.5898689",
"0.58881354",
"0.5869365",
"0.5869247",
"0.5838588",
"0.5812347",
"0.5797407",
"0.5794814",
"0.579031",
"0.57795644",
"0.577835",
"0.5770927",
"0.57701164",
"0.57680756",
"0.57675654",
"0.5766282",
"0.57647616",
"0.57614684",
"0.5754689",
"0.5750062",
"0.5742365",
"0.5741466",
"0.57404214",
"0.573494",
"0.57308143",
"0.57302564",
"0.57302564",
"0.572279",
"0.5719592",
"0.57076836",
"0.57076836",
"0.57069826",
"0.5703922",
"0.5700368",
"0.5692091",
"0.5688439",
"0.56798893",
"0.567682",
"0.56743133",
"0.56743133",
"0.567216",
"0.56696355",
"0.5665813",
"0.5660841",
"0.56600046",
"0.5656578",
"0.5655491",
"0.5654439",
"0.56543267",
"0.5653469",
"0.56531894",
"0.56499314",
"0.56488204",
"0.5648613",
"0.5646114",
"0.5636076",
"0.5627856",
"0.5624369",
"0.56243557",
"0.5616",
"0.5616",
"0.5616",
"0.5616",
"0.5616",
"0.5616",
"0.56148374",
"0.56133807",
"0.56128955",
"0.5612112",
"0.56117326",
"0.5606357",
"0.56051844",
"0.5604293",
"0.5602374",
"0.5601846",
"0.5599406",
"0.55964756",
"0.55964756",
"0.5593973",
"0.5591566",
"0.5591156",
"0.5587491",
"0.5587491",
"0.5587491",
"0.5587491"
]
| 0.0 | -1 |
/ Overridden methods Fires step right after build job ends | @Override
public Void run() throws Exception {
TaskListener listener = getContext().get(TaskListener.class);
assert listener != null;
PrintStream logger = listener.getLogger();
logger.println(Constants.UPDATING_WHITESOURCE);
Run run = getContext().get(Run.class);
WhiteSourceStep whiteSourceStep = new WhiteSourceStep(step, new WhiteSourceDescriptor((DescriptorImpl) step.getDescriptor()));
// make sure we have an organization token
if (StringUtils.isBlank(Secret.toString(whiteSourceStep.getJobApiToken()))) {
logger.println(Constants.INVALID_API_TOKEN);
return null;
}
FilePath workspace = getContext().get(FilePath.class);
Collection<AgentProjectInfo> projectInfos = whiteSourceStep.getProjectInfos(run, listener, workspace, true);
// if (projectInfos == null) {
// whiteSourceStep.stopBuild(run, listener, "Unrecognized build type " + run.getClass().getName());
// return null;
// } else
if (projectInfos.isEmpty()) {
logger.println(Constants.OSS_INFO_NOT_FOUND);
} else {
whiteSourceStep.update(run, listener, projectInfos);
}
return null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void runAfterStep() {}",
"@Override\n protected void finished(StepContext context) throws Exception {\n boolean finished = false;\n while (!finished) {\n List<String> log = context.get(Run.class).getLog(100);\n for (String s : log) {\n if (s.contains(\"BUILD\") || s.contains(\"ERROR\")) {\n finished = true;\n break;\n }\n }\n Thread.sleep(100);\n }\n\n List<String> log = context.get(Run.class).getLog(100);\n for (String s : log) {\n if (s.contains(\"BUILD FAILED\")) {\n context.onFailure(new Failure(\"Gradle build was marked as FAILURE\"));\n return;\n } else if (s.contains(\"ERROR\")) {\n context.onFailure(new Failure(\"Gradle threw an ERROR\"));\n return;\n }\n }\n context.onSuccess(Result.SUCCESS);\n }",
"public static void endStep() {\n\t\tTestNotify.log(GenLogTC() + \"has been tested.\");\n\t}",
"protected void afterJobExecution() {\n\t}",
"@Override\r\n\tpublic void doAfterJob() {\n\r\n\t}",
"@Override\n public void onStepCompleted(FlowStep flowStep) {\n HadoopStepStats stats = (HadoopStepStats)flowStep.getFlowStepStats();\n String jobId = stats.getJobID();\n\n //get job node\n DAGNode<CascadingJob> node = dagNodeJobIdMap.get(jobId);\n if (node == null) {\n log.warn(\"Unrecognized jobId reported for succeeded job: \" + stats.getJobID());\n return;\n }\n addCompletedJobStats(node.getJob(), stats);\n pushEvent(currentFlowId, new Event.JobFinishedEvent(node));\n }",
"public void targetFinished(BuildEvent event) {\n }",
"protected void finishExecution() {\r\n\r\n\t}",
"public void taskFinished(BuildEvent event) {\n }",
"@Override\r\n\tpublic void onFinish(ITestContext arg0) {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void onFinish(ITestContext arg0) {\n\t\t\r\n\t}",
"@Override\n\tpublic void onFinish(ITestContext arg0) {\n\t\tSystem.out.println(\"when finished\");\n\t\t\n\t}",
"@Override\r\n\tpublic void onFinish(ITestContext arg0) {\n\t}",
"public void step()\n {\n status = stepInternal();\n }",
"@Override\n\tpublic void onFinish(ITestContext arg0) {\n\t\t\n\t}",
"@Override\n public void afterFinish() {\n \n }",
"@Override\n\t\tpublic void onFinish(ITestContext context) {\n\t\t\tSystem.out.println((\"Extent Reports Version 3 Test Suite is ending!\"));\n\t extent.flush();\n\t\t\t\n\t\t}",
"@Override\n\tvoid finishWork() {\n\t\t\n\t}",
"@Override\n\tvoid finishWork() {\n\t\t\n\t}",
"@Override\n\tpublic void step() {\n\t}",
"@Override\n\tpublic void step() {\n\t}",
"protected void jobFinished(Progress job) {\n }",
"private void finishBuilding() {\n buildTarget = null;\n buildStep = 0;\n buildInstructions = null;\n buildLocation = null;\n buildHeight = null;\n\n knowledge.myState = RobotState.IDLE;\n }",
"@Override\n public void finished(String description) {\n\n }",
"public void onFinish(ITestContext arg0) {\n\t\t\n\t}",
"public void onFinish(ITestContext arg0) {\n\t\t\n\t}",
"public void onFinish(ITestContext arg0) {\n\t\t\r\n\t}",
"public void onFinish(ITestContext arg0) {\n\t\t\r\n\t}",
"public void finalizeJob() {\n // override to implement\n }",
"@Override\n\tpublic void onFinish(ITestContext context) {\n\t\t\n\t}",
"@Override\n\tpublic void onFinish(ITestContext context) {\n\t\t\n\t}",
"@Override\n\tpublic void onFinish(ITestContext context) {\n\n\t}",
"@Override\n public void onStepStopping(FlowStep flowStep) {\n }",
"@Override\r\n public void updateExit() {\r\n if (((CompositeGoal) compositeGoal).allOtherGoalsComplete()) {\r\n goalCompleted = true;\r\n compositeGoal.processGoal();\r\n } else {\r\n System.out.println(\"Need to complete other goals first\");\r\n }\r\n }",
"@Override\n\tpublic void step() {\n\t\t\n\t}",
"@Override\n\tpublic void step() {\n\t\t\n\t}",
"@Override\n public void onSequenceFinish() {\n // Yay\n }",
"protected void finish() {\n }",
"protected void end() {\n \tif (waitForMovement) Robot.intake.setHopperTracker(deploy ? Status.deployed : Status.stowed);\n }",
"public void onFinish(ITestContext arg0) {\n\n }",
"@Override\n public void onFinish(ITestContext context) {\n\n }",
"@Override\n public void onFinish(ITestContext context) {\n\n }",
"public void afterDone() {\n }",
"public void afterDone() {\n }",
"@Override\n\tpublic void onFinish(ITestContext result) {\n\t\t\n\t}",
"@Override\n\tpublic void finish() {\n\n\t}",
"@Override\n\tpublic void finish() {\n\n\t}",
"@Override\n\tpublic void finish() {\n\n\t}",
"@Override\r\n\tprotected void doExecute(StepExecution stepExecution) throws Exception {\n\t\t\r\n\t}",
"@Override\n protected boolean isFinished() {\n return true;\n }",
"public void onFinish(ITestContext context) {\n\t\tSystem.out.println(\"********** \tcompleted : \"+context.getName());\n\t\t\n\t\t\n\t}",
"protected abstract R runStep();",
"public void run() {\n super.executeStep();\n }",
"@Override\n\tpublic void finish() {\n\t\t\n\t}",
"@Override\n \tpublic void finished()\n \t{\n \t}",
"public void afterMojoExecutionSuccess()\n throws MojoExecutionException;",
"public void onFinish(ITestContext context) {\n\t\t\r\n\t}",
"public void onFinish(ITestContext context) {\n\t\t\r\n\t}",
"public abstract void performStep();",
"void PostRun() {\n }",
"public void onFinish(ITestContext context) {\n\t\tSystem.out.println(\"*********Test finish :\"+context.getName());\r\n\t}",
"public void finish() {}",
"protected abstract void after();",
"public void onFinish(ITestContext context) {\n\t\t\n\t}",
"public void onFinish(ITestContext context) {\n\t\t\n\t}",
"public void onFinish(ITestContext context) {\n\t\t\n\t}",
"public interface OnStepFinishListener {\n void onStepFinish(BindStep step, boolean finish);\n}",
"private void finish() {\n }",
"public void onFinish(ITestContext arg0) {\n\t\n}",
"@Override\n protected boolean isFinished() {\n return true;\n }",
"@Override\n public void onStepRunning(FlowStep flowStep) {\n //getting Hadoop running job and job client\n HadoopStepStats stats = (HadoopStepStats)flowStep.getFlowStepStats();\n JobClient jc = stats.getJobClient();\n\n // first we report the scripts progress\n int progress = (int) (((runnigJobs * 1.0) / totalNumberOfJobs) * 100);\n Map<Event.WorkflowProgressField, String> eventData = Maps.newHashMap();\n eventData.put(Event.WorkflowProgressField.workflowProgress, Integer.toString(progress));\n pushEvent(currentFlowId, new Event.WorkflowProgressEvent(eventData));\n\n //get job node\n String jobId = stats.getJobID();\n DAGNode<CascadingJob> node = dagNodeJobIdMap.get(jobId);\n if (node == null) {\n log.warn(\"Unrecognized jobId reported for succeeded job: \" + stats.getJobID());\n return;\n }\n\n //only push job progress events for a completed job once\n if (node.getJob().getMapReduceJobState() != null && !completedJobIds.contains(node.getJob().getId())) {\n pushEvent(currentFlowId, new Event.JobProgressEvent(node));\n addMapReduceJobState(node.getJob(), stats);\n\n if (node.getJob().getMapReduceJobState().isComplete()) {\n completedJobIds.add(node.getJob().getId());\n }\n }\n }",
"@Override\n\tpublic void reallyDoStep() {\n\t\tif(!(this.isFinished())) this.timeRemaining--; \n\t\treturn;\n\t}",
"@Override\r\n\tprotected void processFinish() {\n\r\n\t}",
"@Override\r\n\tprotected void processFinish() {\n\r\n\t}",
"@Override\r\n\tprotected void processFinish() {\n\r\n\t}",
"@Override\n public final void onCompleted(final Run run, @Nonnull final TaskListener listener) {\n final String jobName = run.getParent().getDisplayName();\n\n // Process only if job in NOT in blacklist\n if ( isJobTracked(jobName) ) {\n logger.fine(\"Completed build!\");\n\n // Collect Data\n JSONObject builddata = gatherBuildMetadata(run, listener);\n\n // Add event_type to assist in roll-ups\n builddata.put(\"event_type\", \"build result\"); // string\n\n // Report Data\n event(builddata);\n gauge(\"jenkins.job.duration\", builddata, \"duration\");\n if ( \"SUCCESS\".equals(builddata.get(\"result\")) ) {\n serviceCheck(\"jenkins.job.status\", this.OK, builddata);\n } else {\n serviceCheck(\"jenkins.job.status\", this.CRITICAL, builddata);\n }\n }\n }",
"public void finish() {\n\n\t}",
"@Override\n\tpublic void onFinish(ISuite arg0) {\n\t\tSystem.out.println(\"Test suite finish \" + arg0.getName() + \",\" + new Date());\n\n\t}",
"@Override\n\tpublic void postRun() {\n\t}",
"@Override\n\tprotected void fireFinishWar() {\n\t\t\n\t}",
"@AfterMethod\n\tpublic void end()\n\t{\n\n\t}",
"public void finish() { \n\t\t\n\t}",
"@Override\n public void onFinished() {\n\n }",
"@Override\n public void onSequenceFinish() {\n // Yay\n mShowingTour = false;\n mPresenter.showCaseFinished();\n }",
"@Override\n public void onFinished() {\n\n }",
"void afterRun();",
"@Override\n public ExitStatus afterStep(StepExecution stepExecution) {\n String mode = getExecutionMode(stepExecution.getJobParameters());\n\n if(mode.equals(MODE_WATER_IQ)) {\n // If data import is successful, compute consumption clusters\n if(stepExecution.getExitStatus().getExitCode().equals(ExitStatus.COMPLETED.getExitCode())) {\n String key = STEP_IMPORT_RESULT +\n Constants.PARAMETER_NAME_DELIMITER +\n SavingsPotentialImportDataTask.EnumInParameter.COMPUTE_CONSUMPTION_CLUSTERS.getValue();\n if(stepExecution.getJobParameters().getString(key, \"true\").equals(\"true\")) {\n schedulerService.launch(\"CONSUMPTION-CLUSTERS\");\n }\n }\n }\n\n return null;\n }",
"@Override\n\tpublic void onFinish(ISuite suite) {\n\n\t}",
"@Override\n public boolean isFinished() {\n return true;\n }",
"private void handleGoalFinishedEvent() {\n Collection<RGoal> agentActiveGoals = internalFeature.getCapability().getGoals();\n\n // Iterate goal instances stored in my active goal map to find if we have record of goal which is no longer active\n for (String myActiveGoalKey : myActiveGoals.keySet()) {\n\n boolean isStillActive = false;\n\n // Iterate currently active access goals\n for (IGoal goal : agentActiveGoals) {\n\n // If goal instance stored in my active goal map is still currently active access goal break and continue\n // with testing next goal instance stored in my active goal map\n if (myActiveGoalKey.equals(goal.toString())) {\n isStillActive = true;\n break;\n }\n }\n\n // If goal instance stored in my active goal map is no longer currently active access goal fire goal finished emotional event\n if (!isStillActive) {\n\n IGoal goal = myActiveGoals.get(myActiveGoalKey);\n\n // Remove no longer active goal instance from my active goal map to avoid multiple goal finished events for one goal instance\n myActiveGoals.remove(myActiveGoalKey);\n\n // Get objectValue\n String elementName = goal.getModelElement().getDescription();\n Element element = engine.getElement(elementName, R.GOAL);\n\n // Create emotional event\n EmotionalEvent emotionalEvent = new EmotionalEvent();\n\n // Get goal result for emotional event processing\n int goalResult;\n if (goal.isSucceeded()) {\n goalResult = R.RESULT_SUCCESS;\n } else {\n goalResult = R.RESULT_FAILURE;\n }\n\n // Set emotional event values\n emotionalEvent.setElementName(elementName);\n emotionalEvent.setEventType(R.EVT_GOAL_FINISHED);\n emotionalEvent.setResultType(goalResult);\n emotionalEvent.setUserParameters(params.getGoalUserParameterValues((RGoal) goal, JBDIEmo.UserGoalParams\n .get(engine.getAgentName()).get(elementName).value()));\n emotionalEvent.setSystemParameters(params.getSystemParameterValues(element));\n\n // Fire emotional event\n element.processEmotionalEvent(emotionalEvent);\n }\n }\n }",
"public void testRunWhileBuilding() {\n \t\tfinal IWorkspace workspace = ResourcesPlugin.getWorkspace();\n \t\t//create a POST_BUILD listener that will touch a project\n \t\tfinal IProject touch = workspace.getRoot().getProject(\"ToTouch\");\n \t\tfinal IProject rule = workspace.getRoot().getProject(\"jobThree\");\n \t\tfinal IFile ruleFile = rule.getFile(\"somefile.txt\");\n \t\tensureExistsInWorkspace(rule, true);\n \t\tensureExistsInWorkspace(touch, true);\n \t\tensureExistsInWorkspace(ruleFile, true);\n \t\tfinal Throwable[] failure = new Throwable[1];\n \t\tIResourceChangeListener listener = new IResourceChangeListener() {\n \t\t\tpublic void resourceChanged(IResourceChangeEvent event) {\n \t\t\t\ttry {\n \t\t\t\t\ttouch.touch(null);\n \t\t\t\t} catch (CoreException e) {\n \t\t\t\t\tfailure[0] = e;\n \t\t\t\t} catch (RuntimeException e) {\n \t\t\t\t\tfailure[0] = e;\n \t\t\t\t}\n \t\t\t}\n \t\t};\n \t\tworkspace.addResourceChangeListener(listener, IResourceChangeEvent.POST_BUILD);\n \t\ttry {\n \t\t\t//create one job that does a build, and then waits\n \t\t\tfinal int[] status = new int[3];\n \t\t\tJob jobOne = new Job(\"jobOne\") {\n \t\t\t\tprotected IStatus run(IProgressMonitor monitor) {\n \t\t\t\t\ttry {\n \t\t\t\t\t\tworkspace.run(new IWorkspaceRunnable() {\n \t\t\t\t\t\t\tpublic void run(IProgressMonitor monitor) throws CoreException {\n \t\t\t\t\t\t\t\t//do a build\n \t\t\t\t\t\t\t\tworkspace.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, monitor);\n \t\t\t\t\t\t\t\t//signal that the job has done the build\n \t\t\t\t\t\t\t\tstatus[0] = TestBarrier.STATUS_RUNNING;\n \t\t\t\t\t\t\t\t//wait for job two to start\n \t\t\t\t\t\t\t\tTestBarrier.waitForStatus(status, 0, TestBarrier.STATUS_WAIT_FOR_DONE);\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t}, null);\n \t\t\t\t\t} catch (CoreException e) {\n \t\t\t\t\t\treturn e.getStatus();\n \t\t\t\t\t}\n \t\t\t\t\treturn Status.OK_STATUS;\n \t\t\t\t}\n \t\t\t};\n \t\t\t//schedule and wait for job one to start\n \t\t\tjobOne.schedule();\n \t\t\tTestBarrier.waitForStatus(status, 0, TestBarrier.STATUS_RUNNING);\n \t\t\t\n \t\t\t//create job two that does an empty workspace operation\n \t\t\tJob jobTwo = new Job(\"jobTwo\") {\n \t\t\t\tprotected IStatus run(IProgressMonitor monitor) {\n \t\t\t\t\ttry {\n \t\t\t\t\t\tworkspace.run(new IWorkspaceRunnable() {\n\t\t\t\t\t\t\tpublic void run(IProgressMonitor monitor) throws CoreException {\n \t\t\t\t\t\t\t\t//signal that this job has started\n \t\t\t\t\t\t\t\tstatus[1] = TestBarrier.STATUS_RUNNING;\n \t\t\t\t\t\t\t\t//let job one finish\n \t\t\t\t\t\t\t\tstatus[0] = TestBarrier.STATUS_WAIT_FOR_DONE;\n \t\t\t\t\t\t\t\t//wait for job three to start\n \t\t\t\t\t\t\t\tTestBarrier.waitForStatus(status, 1, TestBarrier.STATUS_WAIT_FOR_DONE);\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t}, null, IResource.NONE, null);\n \t\t\t\t\t} catch (CoreException e) {\n \t\t\t\t\t\treturn e.getStatus();\n \t\t\t\t\t}\n \t\t\t\t\treturn Status.OK_STATUS;\n \t\t\t\t}\n \t\t\t};\n \t\t\tjobTwo.schedule();\n \t\t\t//create job three that has a non-null rule\n \t\t\tJob jobThree= new Job(\"jobThree\") {\n \t\t\t\tprotected IStatus run(IProgressMonitor monitor) {\n \t\t\t\t\ttry {\n \t\t\t\t\t\tworkspace.run(new IWorkspaceRunnable() {\n \t\t\t\t\t\t\tpublic void run(IProgressMonitor monitor) throws CoreException {\n \t\t\t\t\t\t\t\t//signal that this job has started\n \t\t\t\t\t\t\t\tstatus[2] = TestBarrier.STATUS_RUNNING;\n \t\t\t\t\t\t\t\t//let job two finish\n \t\t\t\t\t\t\t\tstatus[1] = TestBarrier.STATUS_WAIT_FOR_DONE;\n \t\t\t\t\t\t\t\t//ensure this job does something so the build listener runs\n \t\t\t\t\t\t\t\truleFile.touch(null);\n \t\t\t\t\t\t\t\t//wait for the ok to complete\n \t\t\t\t\t\t\t\tTestBarrier.waitForStatus(status, 2, TestBarrier.STATUS_WAIT_FOR_DONE);\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t}, workspace.getRuleFactory().modifyRule(ruleFile), IResource.NONE, null);\n \t\t\t\t\t} catch (CoreException e) {\n \t\t\t\t\t\treturn e.getStatus();\n \t\t\t\t\t}\n \t\t\t\t\treturn Status.OK_STATUS;\n \t\t\t\t}\n \t\t\t};\n \t\t\tjobThree.schedule();\n \t\t\t//wait for job two to complete\n \t\t\twaitForCompletion(jobTwo);\n \t\t\t\n \t\t\t//let job three complete\n \t\t\tstatus[2] = TestBarrier.STATUS_WAIT_FOR_DONE;\n \t\t\t\n \t\t\t//wait for job three to complete\n \t\t\twaitForCompletion(jobThree);\n \n \t\t\t//ensure no jobs failed\n \t\t\tIStatus result = jobOne.getResult();\n \t\t\tif (!result.isOK())\n \t\t\t\tfail(\"1.0\", new CoreException(result));\n \t\t\tresult = jobTwo.getResult();\n \t\t\tif (!result.isOK())\n \t\t\t\tfail(\"1.1\", new CoreException(result));\n \t\t\tresult = jobThree.getResult();\n \t\t\tif (!result.isOK())\n \t\t\t\tfail(\"1.2\", new CoreException(result));\n \t\t\t\n \t\t\tif (failure[0] != null)\n \t\t\t\tfail(\"1.3\", failure[0]);\n \t\t} finally {\n\t\t\t//esure listener is removed\n \t\t\tworkspace.removeResourceChangeListener(listener);\n \t\t}\n \t}",
"@Override\n public void onFinished() {\n }",
"@Override\n public void onFinished() {\n }",
"public void onFinish(ITestContext context) {\n\t\tSystem.out.println(context.getName()+\"********** All Tests Finish.............This is result.getName\");\r\n\t\t\r\n\t}",
"@Override\npublic void onFinish(ITestContext context) {\n\t\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}",
"@AfterStep\r\n\tpublic void afterStep(StepExecution stepExecution) {\r\n\t\tLOG.info(DOLLAR+INSIDE_METHOD+DOLLAR);\r\n\t\tLOG.info(STAR+STEP_ID + stepExecution.getId()+STAR);\r\n\t\tLOG.info(READ_COUNT + dataLength);\r\n\t\tLOG.info(READ_SKIPPED_COUNT + stepExecution.getReadSkipCount());\r\n\t\tLOG.info(WRITE_COUNT + commonutility.getRowCount());\r\n\t\tLOG.info(WRITE_SKIPPED_COUNT + stepExecution.getWriteSkipCount());\r\n\r\n\t\tif (stepExecution.getExitStatus().getExitCode().equals(FAILED)) {\r\n\r\n\t\t\tcommonutility.setStatus(PDConstants.INTERFACE_FAILURE_STATUS);\r\n\t\t\tcommonutility.setRemarks(M00076.replace(PDConstants.ERROR_MESSAGE_1, stepExecution\r\n\t\t\t\t\t.getFailureExceptions().toString()));\r\n\t\t\tLOG.error(M00076.replace(PDConstants.ERROR_MESSAGE_1,stepExecution.getFailureExceptions().toString()));\r\n\t\t\t\t\t\t\r\n\t\t}\r\n\t\telse if (isDataExist && commonutility.getRowCount() == dataLength) {\r\n\t\t\t//write count in header\r\n\t\t\tcommonutility.setWriteCount(stepExecution.getWriteCount());\r\n\t\t\tcommonutility.setStatus(PDConstants.INTERFACE_UNPROCESSED_STATUS);\r\n\t\t\tcommonutility.setRemarks(M00113);\r\n\t\t\tLOG.info(M00113);\r\n\t\t}\r\n\t\t//Else condition will not occur as the execution falls in anyone of the above conditions\r\n\t\tLOG.info(DOLLAR+OUTSIDE_METHOD+DOLLAR);\r\n\t}",
"@Test\n \tpublic void testHandleStep() throws Exception {\n \t\t\n \t\tclass StubStep extends StepSupport {\n \n \t\t\tstatic final String value = \"message for next steps\";\n \n \t\t\tstatic final String key = \"StubStep\";\n \n \t\t\t{\n \t\t\t\tsetName(\"StubStep\");\n \t\t\t}\n \n \t\t\tpublic void execute(StepExecution stepExecution) throws JobInterruptedException {\n \t\t\t\tstepExecution.getJobExecution().getExecutionContext().put(key, value);\n \t\t\t}\n \t\t}\n \t\t\n \t\tMapJobRepositoryFactoryBean.clear();\n \t\tMapJobRepositoryFactoryBean factory = new MapJobRepositoryFactoryBean();\n \t\tfactory.setTransactionManager(new ResourcelessTransactionManager());\n \t\tfactory.afterPropertiesSet();\n \t\tJobRepository repository = (JobRepository) factory.getObject();\n \t\tjob.setJobRepository(repository);\n \t\tjob.setRestartable(true);\n \n \t\tJobExecution execution = repository.createJobExecution(\"testHandleStepJob\", new JobParameters());\n \t\tjob.handleStep(new StubStep(), execution);\n \n \t\tassertEquals(StubStep.value, execution.getExecutionContext().get(StubStep.key));\n \n \t\t// simulate restart and check the job execution context's content survives\n \t\texecution.setEndTime(new Date());\n \t\texecution.setStatus(BatchStatus.FAILED);\n \t\trepository.update(execution);\n \n \t\tJobExecution restarted = repository.createJobExecution(\"testHandleStepJob\", new JobParameters());\n \t\tassertEquals(StubStep.value, restarted.getExecutionContext().get(StubStep.key));\n \t}",
"@Override\n public boolean isFinished() {\n return true;\n }",
"@Override\n\tprotected void postRun() {\n\n\t}"
]
| [
"0.7585181",
"0.71707237",
"0.6864101",
"0.68379956",
"0.6597854",
"0.65855366",
"0.64448154",
"0.6431088",
"0.6408814",
"0.6350777",
"0.6350777",
"0.6315343",
"0.6313897",
"0.6306966",
"0.63016474",
"0.62472326",
"0.6229074",
"0.6200591",
"0.6200591",
"0.617306",
"0.617306",
"0.6165727",
"0.61654335",
"0.6149064",
"0.61447203",
"0.61447203",
"0.6141636",
"0.6141636",
"0.6133945",
"0.61297786",
"0.61297786",
"0.61269236",
"0.6119777",
"0.6114869",
"0.61108726",
"0.61108726",
"0.6071906",
"0.60442334",
"0.60369307",
"0.60018605",
"0.60009545",
"0.60009545",
"0.6000373",
"0.6000373",
"0.5984377",
"0.59775126",
"0.59775126",
"0.59775126",
"0.5972027",
"0.5957928",
"0.5954282",
"0.595022",
"0.5944937",
"0.5936381",
"0.59327817",
"0.59299743",
"0.59211695",
"0.59211695",
"0.5914511",
"0.59073627",
"0.59063554",
"0.5892812",
"0.5891053",
"0.588391",
"0.588391",
"0.588391",
"0.5878157",
"0.58750856",
"0.5874573",
"0.5864414",
"0.5856837",
"0.58403164",
"0.58370125",
"0.58370125",
"0.58370125",
"0.583197",
"0.5826918",
"0.58261836",
"0.58249134",
"0.5820387",
"0.58113045",
"0.579927",
"0.5792069",
"0.5790812",
"0.57901543",
"0.57835746",
"0.5774713",
"0.57701623",
"0.57657033",
"0.57597923",
"0.5750382",
"0.5740083",
"0.5740083",
"0.57311434",
"0.5721507",
"0.5707192",
"0.5707192",
"0.57054013",
"0.56987554",
"0.569142",
"0.56907916"
]
| 0.0 | -1 |
TODO Autogenerated method stub | public Iterator iterator() {
return new IteratorLinkedList<T>(cabeza);
} | {
"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.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
"0.6076905",
"0.6041205",
"0.6024897",
"0.60200036",
"0.59985113",
"0.5967729",
"0.5967729",
"0.5965808",
"0.5949083",
"0.5941002",
"0.59236866",
"0.5909713",
"0.59030116",
"0.589475",
"0.58857024",
"0.58837134",
"0.586915",
"0.58575684",
"0.5850424",
"0.5847001",
"0.5824116",
"0.5810248",
"0.5809659",
"0.58069366",
"0.58069366",
"0.5800507",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.57900196",
"0.5790005",
"0.578691",
"0.578416",
"0.578416",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5761079",
"0.57592577",
"0.57592577",
"0.5749888",
"0.5749888",
"0.5749888",
"0.5748457",
"0.5733414",
"0.5733414",
"0.5733414",
"0.57209575",
"0.57154554",
"0.57149583",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.571194",
"0.57043016",
"0.56993437",
"0.5696782",
"0.5687825",
"0.5677794",
"0.5673577",
"0.5672046",
"0.5669512",
"0.5661156",
"0.56579345",
"0.5655569",
"0.5655569",
"0.5655569",
"0.56546396",
"0.56543446",
"0.5653163",
"0.56502634"
]
| 0.0 | -1 |
check wether to pokemon have same information | static boolean pokemonEq(Pokemon a, Pokemon b) {
if (a == null || b == null) {
System.out.println("null error");
return false;
}
String aStr = a.getName();
String bStr = b.getName();
if (aStr == null || !aStr.equals(bStr)) {
System.out.print("name not match: ");
System.out.print(aStr);
System.out.println(bStr);
return false;
}
aStr = a.getType1();
bStr = b.getType1();
if (aStr == null || !aStr.equals(bStr)) {
System.out.print("type1 not match: ");
System.out.print(aStr);
System.out.println(bStr);
return false;
}
aStr = a.getType2();
bStr = b.getType2();
if (aStr == null || !aStr.equals(bStr)) {
System.out.print("type2 not match: ");
System.out.print(aStr);
System.out.println(bStr);
return false;
}
if (a.getHp() != b.getHp()) {
System.out.println("hp not match");
return false;
}
if (a.getAttack() != b.getAttack()) {
System.out.println("attack not match");
return false;
}
if (a.getDefense() != b.getDefense()) {
System.out.println("defense not match");
return false;
}
if (a.getSpAttack() != b.getSpAttack()) {
System.out.println("SpAttack not match");
return false;
}
if (a.getSpDefense() != b.getSpDefense()) {
System.out.println("SpDefense not match");
return false;
}
if (a.getSpeed() != b.getSpeed()) {
System.out.println("speed not match");
return false;
}
if (a.isLegendary() != b.isLegendary()) {
System.out.println("legendary not match");
return false;
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n public boolean equals(Object obj) {\r\n if (obj instanceof Pokemon) {\r\n Pokemon objOne = (Pokemon) obj;\r\n return objOne.number == this.number;\r\n// return objOne.hashCode() == this.hashCode();\r\n } else {\r\n return false;\r\n }\r\n }",
"void checkRepeated() {\r\n Move check = listOfMoves.peek();\r\n if (map.containsKey(check)) {\r\n _repeated = true;\r\n _winner = map.get(check.from()).opponent();\r\n }\r\n _repeated = false;\r\n }",
"public boolean caughtAnotherPokemon() {\r\n\r\n\t\tint count = 0;\r\n\t\tfor (int poke : caughtPokemon.values()) {\r\n\t\t\tcount += poke;\r\n\t\t}\r\n\t\tif (pokeCount < count) {\r\n\t\t\tpokeCount = count;\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}",
"public static boolean testPokemomGetSet() {\r\n Pokemon inst = new Pokemon(\"name\", \"type1\", \"type2\", 2, 3, 4, 5, 6, 7, 8, false, false);\r\n if (!Objects.equals(inst.getName(), \"name\") || !Objects.equals(inst.getType1(), \"type1\")\r\n || !Objects.equals(inst.getType2(), \"type2\") || !Objects.equals(inst.getHp(), 2)\r\n || !Objects.equals(inst.getAttack(), 3) || !Objects.equals(inst.getDefense(), 4)\r\n || !Objects.equals(inst.getSpAttack(), 5) || !Objects.equals(inst.getSpDefense(), 6)\r\n || !Objects.equals(inst.getSpeed(), 7) || !Objects.equals(inst.getTotal(), 8)\r\n || !Objects.equals(inst.isLegendary(), false) || !Objects\r\n .equals(inst.getFavorite(), false)) {\r\n return false;\r\n }\r\n inst.setName(\"sName\");\r\n inst.setType1(\"ttype1\");\r\n inst.setType2(\"ttype2\");\r\n inst.setHp(11);\r\n inst.setAttack(10);\r\n inst.setDefense(33);\r\n inst.setSpAttack(44);\r\n inst.setSpDefense(41);\r\n inst.setSpeed(1);\r\n inst.setTotal(222);\r\n inst.setLegendary(true);\r\n inst.setFavorite(true);\r\n if (!Objects.equals(inst.getName(), \"sName\") || !Objects.equals(inst.getType1(), \"ttype1\")\r\n || !Objects.equals(inst.getType2(), \"ttype2\") || !Objects.equals(inst.getHp(), 11)\r\n || !Objects.equals(inst.getAttack(), 10) || !Objects.equals(inst.getDefense(), 33)\r\n || !Objects.equals(inst.getSpAttack(), 44) || !Objects.equals(inst.getSpDefense(), 41)\r\n || !Objects.equals(inst.getSpeed(), 1) || !Objects.equals(inst.getTotal(), 222)\r\n || !Objects.equals(inst.isLegendary(), true) || !Objects\r\n .equals(inst.getFavorite(), true)) {\r\n return false;\r\n }\r\n return true;\r\n }",
"boolean hasPokemon();",
"boolean hasPokemonDisplay();",
"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 }",
"boolean hasActivePokemon();",
"private boolean checkRep()\r\n/* 126: */ {\r\n/* 127: */ Iterator localIterator2;\r\n/* 128:217 */ for (Iterator localIterator1 = this.map.keySet().iterator(); localIterator1.hasNext(); localIterator2.hasNext())\r\n/* 129: */ {\r\n/* 130:217 */ N n = (Object)localIterator1.next();\r\n/* 131:218 */ localIterator2 = ((Map)this.map.get(n)).keySet().iterator(); continue;N suc = (Object)localIterator2.next();\r\n/* 132:219 */ if (!((Map)this.map.get(suc)).containsKey(n)) {\r\n/* 133:220 */ return false;\r\n/* 134: */ }\r\n/* 135:223 */ if (!((Map)this.map.get(n)).get(suc).equals(((Map)this.map.get(suc)).get(n))) {\r\n/* 136:224 */ return false;\r\n/* 137: */ }\r\n/* 138: */ }\r\n/* 139:230 */ return true;\r\n/* 140: */ }",
"private boolean isOver() {\r\n return players.size() == 1;\r\n }",
"private boolean caughtEmAll(){\n\t\tint howMany = 1;\n\t\tArrayList<Pokemon> pokedex = theTrainer.getPokedex();\n\t\tCollections.sort(pokedex);\n\t\tfor(int i = 0; i < pokedex.size() - 1; i++){\n\t\t\tif(pokedex.get(i+1).getPokemonID() != pokedex.get(i).getPokemonID()){\n\t\t\t\thowMany++;\n\t\t\t}\n\t\t}\n\t\treturn (howMany == 10);\n\t}",
"private boolean sameTeamCheck(char state)\r\n {\r\n if((state == 'b' && isHuman) || (state == 'p' && !isHuman))\r\n return true;\r\n return false;\r\n }",
"public boolean isSame(){\r\n\t\tHugeInt mod2 = new HugeInt(this.p);\r\n\t\tmod2.modByHugeInt(new HugeInt(\"2\"));\r\n\t\tmod2.printHugeInt();\r\n\t\t\r\n\t\tHugeInt mod3 = new HugeInt(this.p);\r\n\t\tmod3.modByHugeInt(new HugeInt(\"3\"));\r\n\t\t\r\n\t\tif(this.p.compareHugeInts(this.p, new HugeInt(\"1\")) != -1)\r\n\t\t\tSystem.out.println(\"less than or equal to 1\");\r\n\t\telse if(this.p.compareHugeInts(this.p, new HugeInt(\"3\")) != -1)\r\n\t\t\tSystem.out.println(\"greater than 1 but less than 3\");\r\n\t\telse if(mod2.areAllZeros() || mod3.areAllZeros())\r\n\t\t\tSystem.out.println(\"mod by 2 or 3\");\r\n\t\t\r\n\t\treturn true;\r\n\t}",
"public boolean uniqueCheck(Person person){\r\n\t\treturn (housePosition!=person.housePosition) && (color!=person.color) && (nationality!=person.nationality) \r\n\t\t\t\t && (beverage!=person.beverage) && (cigar!=person.cigar) && (pet!=person.pet);\r\n\t}",
"public boolean getGotLucky()\n {\n return (die1.getFacevalue() == 6 && die2.getFacevalue() == 6 && lastThrow[0] == 6 && lastThrow[1] == 6);\n }",
"private boolean isCheckMate() {\n if (whitePlayer.getOccupiedSet().isEmpty()) {\n System.out.println(\"BLACK PLAYER WINS\");\n return true;\n }\n else if (blackPlayer.getOccupiedSet().isEmpty()) {\n System.out.println(\"WHITE PLAYER WINS\");\n return true;\n }\n else return false;\n }",
"public boolean jackpot()\n {\n\treturn (_fruits[0].equals(_fruits[1]) \n\t\t&& _fruits[1].equals(_fruits[2]));\n }",
"public boolean immobilises(Pokemon poke) {\n BattleField field = poke.getField();\n if (field.getRandom().nextDouble() <= 0.25) {\n field.showMessage(poke.getName() + \" is paralysed! It can't move!\");\n return true;\n }\n return false;\n }",
"public boolean samePieceCheck(GameBoardVertex p){\n if (pieceAtVertex == null){\n if (p.getPiece() == null){\n return true;\n } else {\n return false;\n }\n } else {\n if (p.getPiece() == null) {\n return false;\n } else {\n return pieceAtVertex.equals(p.getPiece());\n }\n }\n }",
"public boolean isPeace() {\r\n\t\tfor (int i=0; i<piece.size(); i++) {\r\n\t\t\tChessPiece p = piece.get(order[i]);\r\n\t\t\tif (p.chessPlayer.equals(\"black\") || p.chessPlayer.equals(\"white\")) {\r\n\t\t\t\tVector<ChessBoardBlock> blocks = this.getMovablePosition(p);\r\n\t\t\t\tif (blocks.size()>1) {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}",
"private boolean inSameSuit() {\n for (int i = 0; i < cards.length-2; i++) {\n if (cards[i].charAt(1) != cards[i + 1].charAt(1)) {\n return false;\n }\n }\n \n return true;\n }",
"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 boolean isPokemonSeen(int i)\n\t{\n\t\treturn m_pokedex.isPokemonSeen(i);\n\t}",
"public boolean checkForCodek(){\n int size = pile.size();\n if(size >= 4){\n for(int i = size-1; i >= size-3; i--)\n if(pile.get(i).getVal() != pile.get(i-1).getVal())\n return false;\n return true;\n }\n else return false;\n }",
"public boolean sameAsGold() {\n\t\tif (this.level == null) {\n\t\t\treturn false;\n\t\t}\n\n\t\tArrayList<Gold> goldObjects = this.level.getGoldObjects();\n\n\t\tfor (int i = 0; i < goldObjects.size(); i++) {\n\t\t\tif (this.tilePositionX == goldObjects.get(i).getPositionX()\n\t\t\t\t\t&& this.tilePositionY == goldObjects.get(i).getPositionY()) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}",
"public boolean oneRound (){\r\n\r\n\t if(this.isOver()){\r\n\t\t return false;\r\n\t }\r\n\t \r\n\t //\r\n\t int p= trick.pick(player1);\r\n\t int p2=trick.pick(player2);\r\n\t \r\n\t while(p==p2){\r\n\r\n\t\tfor(int i=0; i<2; i++){\r\n\t\t\t\r\n\r\n\t\t\t if(this.isOver()){\r\n\t\t\t\t \r\n\t\t\t\t p=trick.pick(player1);\r\n\t\t\t\t p2=trick.pick(player2);\r\n\t\t\t\t return false;\r\n\t\t\t }\r\n\t\t\t \r\n\t\t}\r\n\t\tif(p>p2){\r\n\t\t\t\r\n\t\t\tplayer1.pickAll(trick);\r\n\t\t}else{\r\n\t\t\t\r\n\t\t\tplayer2.pickAll(trick);\r\n\t\t\t\r\n\t\t}\r\n\t }\r\n\treturn true;\r\n\t \r\n }",
"boolean repeatedPosition() {\r\n if (_repeated && _winner == BLACK) {\r\n System.out.println(\"* Black wins\");\r\n } else if (_repeated && _winner == WHITE) {\r\n System.out.println(\"* White wins\");\r\n }\r\n return _repeated;\r\n }",
"public boolean checkDuplicates() {\n\t\tboolean[] vals = new boolean[9];\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tfor(int k = 0; k < 3; k++) {\n\t\t\t\tint num = this.getCellNum(i, k);\n\t\t\t\tif(num != 0) {\n\t\t\t\t\tif(!vals[num-1]) {\n\t\t\t\t\t\t//The number hasn't already been found\n\t\t\t\t\t\tvals[num-1] = true;\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\t//A duplicate number was found\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"private boolean validatePlayerSettings(){\n if(playerAmount > 0) return true; //TODO: entfernen\n HashSet<Integer> hash = new HashSet<>();\n\n // check if alle colors different\n if (hash.add(P1color.getSelectedIndex()) && hash.add(P2color.getSelectedIndex()) && hash.add(P3color.getSelectedIndex())\n && hash.add(P4color.getSelectedIndex()) && hash.add(P5color.getSelectedIndex()) && hash.add(P6color.getSelectedIndex())){\n\n // check if all names different\n hash.clear();\n HashSet<String> hash2 = new HashSet<>();\n if (hash2.add(P1text.getText()) && hash2.add(P2text.getText()) && hash2.add(P3text.getText())\n && hash2.add(P4text.getText()) && hash2.add(P5text.getText()) && hash2.add(P6text.getText())){\n\n // check if all names are not empty\n hash2.clear();\n if (P1text.getText() != \"\" && P2text.getText() != \"\" && P3text.getText() != \"\" && P4text.getText() != \"\"\n && P5text.getText() != \"\" && P6text.getText() != \"\"){\n\n return true;\n }\n }\n }\n return false;\n }",
"boolean hasSameAs();",
"public boolean betterEquals(Object obj)\n\t{\n\t\tif (obj instanceof Player)\n\t\t{\n\t\t\tPlayer other = (Player) obj;\n\t\t\treturn this.name.equals(other.name) && this.pawn == other.pawn;\n\t\t}\n\t\treturn false;\n\t}",
"private boolean usesies(ActivePokemon p) {\n boolean used = false;\n for (Stat stat : Stat.BATTLE_STATS) {\n if (p.getStage(stat) < 0) {\n p.getStages().setStage(stat, 0);\n used = true;\n }\n }\n return used;\n }",
"boolean gameOver() {\n return piecesContiguous(BP) || piecesContiguous(WP);\n }",
"static boolean alreadyShot(Point shotPoint, BattleshipModel model, boolean player){\n List<Point> checkHits;\n List<Point> checkMisses;\n\n int sizeHits;\n int sizeMisses;\n\n //if player\n if(player) {\n checkHits = model.getComputerHits(); //Grabs the point list for player\n checkMisses = model.getComputerMisses();\n\n sizeHits = model.getComputerHits().size();\n sizeMisses = model.getComputerMisses().size();\n\n }else{\n checkHits = model.getPlayerHits(); //Grabs the point list for computer\n checkMisses = model.getPlayerMisses();\n\n sizeHits = model.getPlayerHits().size();\n sizeMisses = model.getPlayerMisses().size();\n }\n\n for(int i = 0; i < sizeHits; i++){ //checks the Hit list for the same point\n if(shotPoint.getAcross() == checkHits.get(i).getAcross() && shotPoint.getDown() == checkHits.get(i).getDown()){\n return true;\n }\n }\n\n for(int i = 0; i < sizeMisses; i++){ //checks the Hit list for the same point\n if(shotPoint.getAcross() == checkMisses.get(i).getAcross() && shotPoint.getDown() == checkMisses.get(i).getDown() ){\n return true;\n }\n }\n\n return false;\n }",
"@Override\r\n public boolean equals(Object obj) {\r\n if (obj instanceof PeptideHit) {\r\n return getSequence().equals(((PeptideHit) obj).getSequence());\r\n }\r\n return false;\r\n }",
"public boolean shooting(){\n\t\t\tif(x==tmp || x==tmp1 || x==tmp2 || x == tmp3){\n\t\t\t\treturn true; \n\t\t\t}\n\t\t\telse \n\t\t\t\treturn false; \n\t}",
"private boolean hasPossibleMove()\n {\n for(int i=0; i<FieldSize; ++i)\n {\n for(int j=1; j<FieldSize; ++j)\n {\n if(field[i][j] == field[i][j-1])\n return true;\n }\n }\n for(int j=0; j<FieldSize; ++j)\n {\n for(int i=1; i<FieldSize; ++i)\n {\n if(field[i][j] == field[i-1][j])\n return true;\n }\n }\n return false;\n }",
"public boolean isWin_CommanderVimes(){\r\n // player got LordSelachii card\r\n Player playerHoldCard = null;\r\n for (Player player : discWorld.getPlayer_HASH().values()) {\r\n if (player.getPersonalityCardID() == 7) {\r\n playerHoldCard = player;\r\n break;\r\n }\r\n }\r\n \r\n if(playerHoldCard != null){\r\n if(discWorld.getShuffled_PlayerCard().size() == 0){\r\n return true;\r\n }\r\n } \r\n \r\n return false;\r\n }",
"public boolean checkWithFragmentingWarheadRocketJump ()\n {\n Map<Square, List<Player>> squarePlayerListMap = checkRocketJump();\n List<Player> playerList;\n\n for (Square squareIterate : squarePlayerListMap.keySet())\n {\n\n for (Player playerIterate : squarePlayerListMap.get(squareIterate))\n {\n playerList = new ArrayList<>();\n\n playerList.addAll(playerIterate.getSquare().getPlayerList());\n playerList.remove(player);\n\n if (playerList.size()>1)\n return true;\n\n }\n }\n\n return false;\n }",
"boolean hasPokers();",
"boolean hasPokers();",
"public static boolean testLoading() {\r\n Data instance = new Data();\r\n Pokemon[] list;\r\n try {\r\n instance.update();\r\n list = instance.getPokemonList();\r\n int cnt = 0;\r\n while (cnt < list.length && list[cnt] != null)\r\n cnt++;\r\n if (cnt != 799) {\r\n System.out.print(\"Pokemon num incorrect: \");\r\n System.out.println(cnt - 1);\r\n return false;\r\n }\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n System.out.println(\"fall the test in exception\");\r\n return false;\r\n }\r\n\r\n for (int i = 0; i < 6; i++) {\r\n if (!pokemonEq(testList[i], list[indices[i]])) {\r\n System.out.print(\"fail the test in check element \");\r\n System.out.println(i);\r\n return false;\r\n }\r\n }\r\n\r\n return true;\r\n }",
"@java.lang.Override\n public boolean hasActivePokemon() {\n return activePokemon_ != null;\n }",
"boolean checkPsychicEnergy(AbstractPsychicPokemon pokemon);",
"public boolean equals(Piece p) {\n\t\tif(y != p.y || x != p.x || type != p.type || color != p.color || timesMoved != p.timesMoved) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}",
"private static boolean checkPotionToReagentsMapContents(Map<String, Set<String>> map)\n\t{\n\t\tif (map.size() != 4)\n\t\t\treturn false;\n\n\t\tif (!map.containsKey(\"Pygmy Oil\") ||\n\t\t !map.containsKey(\"Flask of Pure Mojo\") ||\n\t\t !map.containsKey(\"Leznupar's Draught\") ||\n\t\t !map.containsKey(\"Guru's Elixir\"))\n\t\t\treturn false;\n\n\t\tSet<String> set;\n\n\t\t// Check map for Pygmy Oil.\n\t\tset = map.get(\"Pygmy Oil\");\n\t\tif (set.size() != 1)\n\t\tif (!set.contains(\"Pygmy Suckerfish\"))\n\t\t\treturn false;\n\n\t\t// Check map for Flask of Pure Mojo.\n\t\tset = map.get(\"Flask of Pure Mojo\");\n\t\tif (set.size() != 3)\n\t\tif (!set.contains(\"Icethorn\") ||\n\t\t !set.contains(\"Pygmy Oil\") ||\n\t\t !set.contains(\"Frost Lotus\"))\n\t\t\treturn false;\n\n\t\t// Check map for Leznupar's Draught.\n\t\tset = map.get(\"Leznupar's Draught\");\n\t\tif (set.size() != 5)\n\t\tif (!set.contains(\"Wax from a Partially Burned Candle\") ||\n\t\t !set.contains(\"Frost Lotus\") ||\n\t\t !set.contains(\"Phoenix Feather\") ||\n\t\t !set.contains(\"12-ounce Can of Root Beer\") ||\n\t\t !set.contains(\"Rain from a Category 3 Hurricane\"))\n\t\t\treturn false;\n\n\t\t// Check map for Guru's Elixir.\n\t\tset = map.get(\"Guru's Elixir\");\n\t\tif (set.size() != 1)\n\t\tif (!set.contains(\"Pygmy Oil\"))\n\t\t\treturn false;\n\n\t\treturn true;\n\t}",
"public boolean checkEquality(){\n boolean flag = true;\n for (int i = 0; i < boardRows ; i++) {\n for (int j = 0; j < boardColumns; j++) {\n if(this.currentBoardState[i][j] != this.goalBoardState[i][j]){\n flag = false;\n }\n }\n }\n return flag;\n }",
"public boolean stupneProOriGraf(){\n\t\tint pom = 0;\n\t\tfor(int i = 0; i < vrchP.length;i++){\n\t\t\tif(vrchP[i].stupenVstup != vrchP[i].stupenVystup)\n\t\t\t\tpom++;\n\t\t}\n\t\tif(pom != 0)\n\t\t\treturn false;\n\t\t\n\t\treturn true;\n\t}",
"private boolean hasEatenPowerUp() {\r\n if (snake[HEAD].row == powerUp.row && \r\n snake[HEAD].column == powerUp.column) { \r\n growSnake();\r\n newPowerUp();\r\n MainClass.totalPoints++;\r\n return true;\r\n }\r\n return false;\r\n }",
"public boolean pickedup(Player player) {\n\t\treturn false;\n\t}",
"boolean hasPlayerBag();",
"public boolean equals(Actor a){\n return (x == a.getX() && y == a.getY() && pok.getName().equalsIgnoreCase(a.getPokemon().getName()));\n }",
"public boolean Tie() {\n\t\tboolean isTie = false;\n\t\tfor(int i=1;i<numPlayers;i++)\t{\n\t\t\tif(!isTie)\t{\n\t\t\t\tif(!record[i].equalsIgnoreCase(\"p\") && record[i-1].equalsIgnoreCase(\"p\"))\t{\n\t\t\t\t\tisTie = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn isTie;\n\t}",
"public boolean tileOccupied(int x, int y, int pno){\n\t\tfor (int key : playerPosition.keySet()){\n\t\t\tif (key != pno){\n\t\t\t\tint a = playerPosition.get(key)[0];\n\t\t\t\tint b = playerPosition.get(key)[1];\n\t\t\t\tif (a == x && b == y){\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}",
"private boolean checkSameHit(TrackerHit hit, TrackerHit trackerHit) {\n List<RawTrackerHit> rawhits = hit.getRawHits();\n List<RawTrackerHit> rawtrackerhits = trackerHit.getRawHits();\n \n //If the rawhits are different array sizes, they can't be the same hit\n if(rawhits.size() != rawtrackerhits.size())\n return false;\n \n boolean[] isSameRawHit = new boolean[rawhits.size()];\n boolean[] isSameRawTrackerHit = new boolean[rawtrackerhits.size()];\n \n //Initialize boolean arrays\n for(int i = 0; i < rawhits.size(); i++){\n isSameRawHit[i] = false;\n }\n for(int i = 0; i < rawtrackerhits.size(); i++){\n isSameRawTrackerHit[i] = false;\n }\n \n int i = 0;\n for(RawTrackerHit rawhit:rawhits){\n int j = 0;\n for(RawTrackerHit rawtrackerhit:rawtrackerhits){\n if(rawhit.equals(rawtrackerhit)){\n isSameRawHit[i] = true;\n isSameRawTrackerHit[j] = true;\n break;\n }\n j++;\n }\n i++;\n }\n \n //If any of the raw hits are not the same, this is not the same 3D hit\n for(int j = 0; j < isSameRawHit.length; j++){\n if(!isSameRawHit[j])\n return false;\n }\n for(int j = 0; j < isSameRawTrackerHit.length; j++){\n if(!isSameRawTrackerHit[j])\n return false;\n }\n return true;\n }",
"private static boolean isWin()\n {\n boolean win = true;\n for(Ship[] k:map)\n {\n for(Ship o:k)\n {\n if(o.getState()==1)\n win=false;\n }\n }\n return win;\n }",
"private void checkRep() {\n for (Ball ball : balls) {\n assert ball.getPosition().d1 >= 0\n && ball.getPosition().d1 <= WIDTH - 1;\n assert ball.getPosition().d2 >= 0\n && ball.getPosition().d2 <= HEIGHT - 1;\n }\n for (Gadget gadget : gadgets) {\n assert gadget.getPosition().d1 >= 0\n && gadget.getPosition().d1 <= WIDTH - 1;\n assert gadget.getPosition().d2 >= 0\n && gadget.getPosition().d2 <= HEIGHT - 1;\n }\n\n assert GRAVITY > 0 && MU2 > 0 && MU > 0;\n }",
"public boolean allDuplicatesEqual() {\n int[] input = {1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5};\n int dupA = findDuplicatesA(input);\n int dupB = findDuplicatesB(input);\n int dupC = findDuplicatesC(input);\n int dupD = findDuplicatesD(input);\n int dupE = findDuplicatesE(input);\n return dupA == dupB && dupA == dupC && dupA == dupD && dupA == dupE;\n }",
"private boolean mozeLiSeSpojiti() {\r\n\t\t// provjera po redovima\r\n\t\tfor(int i = 0 ; i < 4 ; i++)\r\n\t\t\tfor(int j = 0 ; j < 3 ; j++)\r\n\t\t\t\tif(tabela[i][j] == tabela[i][j + 1])\r\n\t\t\t\t\treturn true;\r\n\t\t// provjera po kolonama\r\n\t\tfor(int j = 0 ; j < 4 ; j++)\r\n\t\t\tfor(int i = 0 ; i < 3 ; i++)\r\n\t\t\t\tif(tabela[i][j] == tabela[i + 1][j])\r\n\t\t\t\t\treturn true;\r\n\t\treturn false;\r\n\t}",
"public boolean checkforDuplicates(Tour tocheck) {\r\n\t\t boolean duplicate=false;\r\n\t\tfor(int t=0; t<tours.length-1;t++) {\r\n\t\t\tif(tocheck.checkforOrderDiffrence(tours[t])==false) {\r\n\t\t\t\tduplicate=true;\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn duplicate;\r\n\t}",
"private boolean arePointsRepeated(Point[] points) {\n for (int i = 0; i < points.length; i++) {\r\n for (int j = i + 1; j < points.length; j++) {\r\n if (points[i].compareTo(points[j]) == 0)\r\n return true;\r\n }\r\n }\r\n return false;\r\n }",
"public boolean repOk()\n {\n boolean flag[] = new boolean[3];\n if(shipLength >0 )\n {\n flag[0] = true;\n }\n for(Point p: shipLocation)\n {\n if(p.x>0)\n {flag[1] = true;}\n if(p.y>0)\n {flag[2] = true;}\n }\n \n return (flag[0]&&flag[1]&&flag[2]);\n \n }",
"public boolean miniWin()\n {\n\treturn (jackpot()\n\t\t||( (! _fruits[0].equals(_fruits[1]))\n\t\t && (! _fruits[1].equals(_fruits[2]))\n\t\t && (! _fruits[0].equals(_fruits[2]))));\n }",
"public static boolean testTableGet() {\r\n try {\r\n for (int i = 0; i < 6; i++) {\r\n if (!pokemonEq(table.get(testList[i].getName()), testList[i]))\r\n return false;\r\n }\r\n } catch (NoSuchElementException e) {\r\n return false;\r\n }\r\n return true;\r\n }",
"private static boolean isSame(List<PokerLabel> list, int size) {\n PokerLabel firstPokerLabel = list.get(0);\n int num = firstPokerLabel.getNum();\n for (PokerLabel p: list) {\n if (num != p.getNum()) {\n return false;\n }\n }\n return true;\n }",
"public boolean win(){\r\n for(int row = 0; row<map.length; row++){\r\n for(int col = 0; col<map[0].length; col++){\r\n if(map[row][col].getSafe() == false && (map[row][col].getVisual().equals(square) || map[row][col].getVisual().equals(bomb))){\r\n return false;\r\n }\r\n if(map[row][col].getSafe() == true && map[row][col].getVisual().equals(flag)){\r\n return false;\r\n }\r\n }\r\n }\r\n return true;\r\n }",
"public boolean mayPickup(Player debug1) {\n/* 112 */ return true;\n/* */ }",
"@Override\n public boolean equals( Object o ) { \n if (o!=null && this.getClass() == (o.getClass()) && \n getP1().equals(((Triangle)o).getP1()) && \n getP2().equals(((Triangle)o).getP2()) && \n getP3().equals(((Triangle)o).getP3())){\n return true;\n }\n return false;//if not equal to each other\n\n }",
"public boolean isDone() {\n //check if valid board\n assert isValidSolitaireBoard();\n if (numPiles == NUM_FINAL_PILES){\n //create array checkDonewith size NUM_FINAL_PILES\n int[] checkDone = new int[NUM_FINAL_PILES];\n \n /**\n the value in piles[i] needs to be unique, not greater than NUM_FINAL_PILES\n and no duplicates of the number\n each value is used as an index to the new array and their value is\n the checkDone's value. Eg. piles[2] = 4, checkDone[4] = 4\n if the checkDone[piles[i]] equals to piles[i], there is a duplicate.\n */\n for (int i = 0 ; i < numPiles; i++){\n if ((piles[i] <= NUM_FINAL_PILES) && (checkDone[piles[i] - 1] != piles[i])){\n checkDone[piles[i] - 1] = piles[i];\n }\n else\n return false;\n }\n return true;\n }\n else\n return false;\n }",
"public boolean GameOver() {\r\n if(Main.player1.SuaVida()==0 || Main.player2.SuaVida()==0)\r\n return true;\r\n return false;\r\n }",
"boolean isGameFinished() {\n if (tiles.takenTilesNumber() < 3)\n return false;\n Symbol winningSymbol = tiles.getTile(1);\n if (!winningSymbol.equals(Symbol.EMPTY)) {\n if (tiles.getTile(5).equals(winningSymbol)) {\n if (tiles.getTile(9).equals(winningSymbol)) {\n return true;\n }\n }\n if(tiles.getTile(2).equals(winningSymbol)) {\n if(tiles.getTile(3).equals(winningSymbol)) return true;\n }\n if(tiles.getTile(4).equals(winningSymbol)) {\n if(tiles.getTile(7).equals(winningSymbol)) return true;\n }\n }\n winningSymbol = tiles.getTile(2);\n if (!winningSymbol.equals(Symbol.EMPTY)) {\n if (tiles.getTile(5).equals(winningSymbol)) {\n if (tiles.getTile(8).equals(winningSymbol)) return true;\n }\n }\n\n winningSymbol = tiles.getTile(3);\n if (!winningSymbol.equals(Symbol.EMPTY)) {\n if (tiles.getTile(5).equals(winningSymbol)) {\n if (tiles.getTile(7).equals(winningSymbol)) return true;\n }\n if (tiles.getTile(6).equals(winningSymbol)) {\n if (tiles.getTile(9).equals(winningSymbol)) return true;\n }\n }\n\n\n winningSymbol = tiles.getTile(4);\n if (!winningSymbol.equals(Symbol.EMPTY)) {\n if (tiles.getTile(5).equals(winningSymbol)) {\n if (tiles.getTile(7).equals(winningSymbol)) return true;\n }\n }\n\n winningSymbol = tiles.getTile(7);\n if (!winningSymbol.equals(Symbol.EMPTY)) {\n if (tiles.getTile(8).equals(winningSymbol)) {\n if (tiles.getTile(9).equals(winningSymbol)) return true;\n }\n }\n return false;\n }",
"public boolean checkGameOver(){\n\t\tfor(int x = 0; x < this.tile[3].length; x++){\n\t\t if(this.isFilled(3, x)){\n\t\t \tSystem.out.println(\"game over\");\n\t\t return true;\n\t\t }\n\t\t}\n\t\treturn false;\n\t}",
"public boolean checkCheckMate() {\n\t\t// \n\t\tboolean checked = false;\n\t\tfor (int i = 0; i < 32; i++) { \n\t\t\tif (pieces[i].handlePieceCheckMate()) {\n\t\t\t\tchecked = true;\n\n\t\t\t\tswitch (pieces[i].getColor())\n\t\t\t\t{\n\t\t\t\tcase BLACK:\n\t\t\t\t\twhichKing = 28;\n\t\t\t\t\tbreak;\n\t\t\t\tcase WHITE:\n\t\t\t\t\twhichKing = 4;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\twhichKing = 40;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t} \t\n\t\t}\n\t\treturn checked;\n\t}",
"private boolean unique() {\n\t\tfor (int i = 1; i <= 9; i++) {\n\t\t\tcopy(problem, comp);\n\t\t\tsolve(0, 0, i, comp);\n\t\t\tif (!checkComp()) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\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}",
"public boolean completed(){\n int count = 0;\n for(int Y=0; Y<size; Y++){\n for(int X=0; X<size; X++){\n if(tiles[X][Y] instanceof EindVeld){\n EindVeld tmp = (EindVeld)tiles[X][Y];\n if(tmp.hasDoos())\n count++;\n }\n }\n }\n \n if(eindVelden == count){\n System.out.println(\"DOOLHOF COMPLEET !!!\");\n return true;\n }else{\n return false;\n }\n }",
"@Override\n public boolean equals(Object obj) {\n if (obj instanceof UsageInfo) {\n UsageInfo info = (UsageInfo)obj;\n return info.getPhysicalMachine().getID() == pm.getID();\n }\n return false;\n }",
"private static boolean isItVisted(Node node) {\n\t\t\n\t\tboolean areNodesEqual = false;\n\t\tfor (Node temp : nodesCovered) {\n\t\t\tif(choice==1){\n\t\t\t\tif (node.count == temp.count) \t\t\t\t{\n\t\t\t\t\tif (areTheyEqual(temp.stateSpace, node.stateSpace)) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t }\n\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\t\n\t\t\t\t\tif (node.manhattanDist == temp.manhattanDist) {\n\t\t\t\t\t\tif (areTheyEqual(temp.stateSpace, node.stateSpace)) {\n\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t}\n\t\treturn areNodesEqual;\n\t}",
"public boolean checkCheck(Player p){\n\t\tPosition position = null;\n\t\tfor (int i = Position.MAX_ROW; i >= Position.MIN_ROW; i--) {\n\t\t\tfor (char c = Position.MIN_COLUMN; c <= Position.MAX_COLUMN; c++) {\n\t Piece piece = gameState.getPieceAt(String.valueOf(c) + i);\n\t if(piece!=null &&piece.getClass().equals(King.class) && piece.getOwner()==p){\n\t \tposition = new Position(c,i);\n\t \tbreak;\n\t }\n\t\t\t}\n\t\t}\n\t\t//Find out if a move of other player contains position of king\n\t\tList<Move> moves = gameState.listAllMoves(p==Player.Black?Player.White:Player.Black,false);\n\t\tfor(Move move : moves){\n\t\t\tif(move.getDestination().equals(position)){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t\t\n\t}",
"public boolean isCheckmate()\n {\n Game g = Game.getInstance();\n\n int sum = 0;\n\n for(Piece[] p1 : g.m_board.m_pieces)\n {\n for(Piece p2 : p1)\n {\n if(p2 != null)\n {\n if(p2.m_color == this.m_color)\n {\n sum += p2.getLegalMoves().size();\n }\n }\n }\n }\n\n if(sum == 0){ return true; } else { return false; }\n }",
"@java.lang.Override\n public boolean hasPokemonDisplay() {\n return pokemonDisplay_ != null;\n }",
"private boolean isCorrect() {\n\t\t// if a single tile is incorrect, return false\n\t\tfor (Tile tile : tiles) {\n\t\t\tif (!tile.isCorrect()) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"public int isDuplicate(Member m) {\r\n\t\tfor(int i=0; i<ms.size();i++) {\r\n\t\t\tif(ms.get(i).getNumber().equals(m.getNumber())) {return i;}\r\n\t\t}\r\n\t\treturn -1;\r\n\t}",
"protected boolean isDuplicate(ELesxUseCase useCase) {\n return false;\n }",
"boolean gameOver() {\n return piecesContiguous(BLACK) || piecesContiguous(WHITE);\n }",
"public boolean getPair()\n {\n return die1.getFacevalue() == die2.getFacevalue();\n }",
"public boolean isFailed() {\n return candyName.equals(\"\") && pokemonHP == 10 && pokemonCP == 10;\r\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 }",
"public boolean isDupe(T element);",
"public boolean hasAdjacentEqualPair()\n { \n \tfor( int i = 0; i < purchases.size()-1; i++ )\n \t{\n \t\tGizmo curr = purchases.get( i );\n \t\tGizmo nxt = purchases.get( i + 1 );\n \t\tif( curr.equals( nxt ) )\n \t\t\treturn true;\n \t}\n \treturn false; \t\n }",
"boolean hasIsEquivalent();",
"public boolean winOfJuggernaut(){\n\tString [] names=getJoueurs();\n\tfor(int i=0; i<players.size(); i++){\n\t if(i!=juggernaut && players.get(names[i])) return false;\n\t}\n\treturn true;\n }",
"public boolean gameOverP1()\n\t{\n\t\tfor(Block b:blocks1)\n\t\t{\n\t\t\tif(b != p1.head)\n\t\t\t{\n\t\t\t\tif(b.posX == p1.head.posX && b.posY == p1.head.posY)\n\t\t\t\t{\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif(p1.head.posX == getW() - 2 || p1.head.posY == getH() - 2)\t//south & east walls\t\n\t\t\t\t{\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif(p1.head.posX < 1 || p1.head.posY < 1)\n\t\t\t\t{\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}",
"public boolean isWin_DragonKingOfArms(){\r\n // player got LordSelachii card\r\n /*Player playerHoldCard = null;\r\n for (Player player : discWorld.getPlayer_HASH().values()) {\r\n if (player.getPersonalityCardID() == 5) {\r\n playerHoldCard = player;\r\n break;\r\n }\r\n }*/\r\n int count = 0;\r\n for(TroubleMarker troubleMarker : discWorld.getTroubleMarker_HASH().values()){\r\n if(troubleMarker.getAreaNumber() != ConstantField.DEFAULT_PIECE_AREA_NUMBER){\r\n count++;\r\n }\r\n }\r\n \r\n if(count >= 8){\r\n return true;\r\n }else{\r\n return false;\r\n }\r\n \r\n }",
"@Override\n public boolean equals(Object obj) {\n if (this == obj) {\n return true;\n }\n if (!(obj.getClass() == this.getClass())) {\n return false;\n }\n Guppy otherGuppy = (Guppy) obj;\n return genus.equals(otherGuppy.genus) && species.equals(otherGuppy.species)\n && ageInWeeks == otherGuppy.ageInWeeks && isFemale == otherGuppy.isFemale\n && generationNumber == otherGuppy.generationNumber && isAlive == otherGuppy.isAlive\n && healthCoefficient == otherGuppy.healthCoefficient;\n }",
"private boolean hasUniqueState()\n {\n return (getExternalArcState() == getMiddleArcState() && getExternalArcState() == getInternalArcState() && getExternalArcState() == getCircleState());\n }",
"private boolean checkPoints() {\n\n for (Map.Entry pair : playersAgentsMap.entrySet()) {\n ArrayList<IAgent> iAgentList = (ArrayList<IAgent>) pair.getValue();\n\n int points = 0;\n try {\n points = iPlayerList.get(iAgentList.get(0).getName()).getPoints();\n } catch (RemoteException ex) {\n Logger.getLogger(ServerFrame.class.getName()).log(Level.SEVERE, null, ex);\n }\n try {\n for (Component comp : playerList.getComponents()) {\n if (comp instanceof PlayerPanel) {\n PlayerPanel panel = (PlayerPanel) comp;\n if (panel.getName().equals(iAgentList.get(0).getName())) {\n panel.setPlayerPoints(points);\n }\n }\n\n }\n } catch (RemoteException e1) {\n e1.printStackTrace();\n }\n if (points >= targetAmount) {\n try {\n System.out.println(iAgentList.get(0).getName() + \" has won with \" + points + \" points\");\n } catch (RemoteException e) {\n e.printStackTrace();\n }\n return false;\n }\n }\n\n return true;\n }",
"private boolean validateOrder() {\n\t\t// players with no id\n\t\tList<String> playersNoId = new ArrayList<>();\n\t\tList<ChesspairingPlayer> players = mTournament.getPlayers();\n\t\tfor (ChesspairingPlayer player : players) {\n\t\t\tif (player.getInitialOrderId() <= 0) {\n\t\t\t\tplayersNoId.add(player.getName());\n\t\t\t}\n\t\t}\n\t\tif (playersNoId.size() > 0) {\n\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\tsb.append(\"You have players with no initialOrderId: \");\n\t\t\tfor (String name : playersNoId) {\n\t\t\t\tsb.append(name + \", \");//\n\t\t\t}\n\t\t\tint id = sb.lastIndexOf(\", \");\n\t\t\tsb.replace(id, sb.length(), \"\");\n\t\t\tPairingSummary parringSummary = new PairingSummary();\n\t\t\tparringSummary.setShortMessage(PairingSummary.PARRING_NOT_OK);\n\t\t\tparringSummary.setLongMessage(sb.toString());\n\t\t\tmTournament.setParringSummary(parringSummary);\n\t\t\treturn false;\n\t\t}\n\n\t\t// players with the same id\n\t\tMap<Integer, ChesspairingPlayer> map = new HashMap<>();\n\t\tfor (ChesspairingPlayer player : players) {\n\t\t\tif (map.containsKey(player.getInitialOrderId())) {\n\t\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\t\tsb.append(\"You have players with the same initialOrderId: \");\n\t\t\t\tsb.append(map.get(player.getInitialOrderId()).getName() + \" and \");\n\t\t\t\tsb.append(player.getName());\n\t\t\t\tPairingSummary parringSummary = new PairingSummary();\n\t\t\t\tparringSummary.setShortMessage(PairingSummary.PARRING_NOT_OK);\n\t\t\t\tparringSummary.setLongMessage(sb.toString());\n\t\t\t\tmTournament.setParringSummary(parringSummary);\n\t\t\t\treturn false;\n\t\t\t} else {\n\t\t\t\tmap.put(player.getInitialOrderId(), player);\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"public boolean switchOut(Pokemon p) {\n return false;\n }",
"public boolean repOk(){\n\t\tif(pool<0 || squares == null || communityCards == null || chanceCards == null || map == null)\n\t\t\treturn false;\n\t\tfor (Square[] layer : squares) {\n\t\t\tfor (Square square : layer) {\n\t\t\t\tif(square == null)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn mh.repOk();\n\t}"
]
| [
"0.7002782",
"0.67708236",
"0.6770135",
"0.67612106",
"0.6719853",
"0.65481055",
"0.6430279",
"0.63853246",
"0.613073",
"0.61185795",
"0.6081182",
"0.60203964",
"0.59712934",
"0.59595937",
"0.5959333",
"0.592369",
"0.59055054",
"0.58921796",
"0.5872973",
"0.5869204",
"0.5859594",
"0.58522683",
"0.58464885",
"0.5839883",
"0.5833645",
"0.5810953",
"0.5800281",
"0.57967305",
"0.57779884",
"0.57693154",
"0.5766591",
"0.5752384",
"0.5750379",
"0.57421845",
"0.5731425",
"0.57288796",
"0.57246244",
"0.5705256",
"0.56937546",
"0.5682912",
"0.5682912",
"0.5670494",
"0.5669902",
"0.56688106",
"0.56678927",
"0.56630456",
"0.5661052",
"0.56592524",
"0.5652306",
"0.5647216",
"0.5640404",
"0.5632646",
"0.5626142",
"0.56199116",
"0.5615095",
"0.5609059",
"0.55985993",
"0.5598326",
"0.55957144",
"0.558241",
"0.55815095",
"0.5576809",
"0.5572494",
"0.5570004",
"0.5567461",
"0.5561032",
"0.55601513",
"0.55595577",
"0.5554282",
"0.55503386",
"0.55494106",
"0.55467826",
"0.5545966",
"0.5544848",
"0.55322444",
"0.5523615",
"0.5521821",
"0.55169517",
"0.5515858",
"0.5511301",
"0.55074245",
"0.550596",
"0.55041295",
"0.55038613",
"0.5490431",
"0.5487905",
"0.54758227",
"0.5474616",
"0.5461752",
"0.5461751",
"0.54610753",
"0.5458492",
"0.54565585",
"0.5454479",
"0.5451621",
"0.5451316",
"0.54513115",
"0.544915",
"0.5442813",
"0.5440714"
]
| 0.67782605 | 1 |
test the loading of the data from csv file | public static boolean testLoading() {
Data instance = new Data();
Pokemon[] list;
try {
instance.update();
list = instance.getPokemonList();
int cnt = 0;
while (cnt < list.length && list[cnt] != null)
cnt++;
if (cnt != 799) {
System.out.print("Pokemon num incorrect: ");
System.out.println(cnt - 1);
return false;
}
} catch (IOException e) {
e.printStackTrace();
System.out.println("fall the test in exception");
return false;
}
for (int i = 0; i < 6; i++) {
if (!pokemonEq(testList[i], list[indices[i]])) {
System.out.print("fail the test in check element ");
System.out.println(i);
return false;
}
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void testDataReader() {\n File csv = new File(pathTest);\n try (FileReader fr = new FileReader(csv); BufferedReader bfr = new BufferedReader(fr)) {\n Logger.printInfo(\"Reading test data\");\n for (String line; (line = bfr.readLine()) != null; ) {\n String[] split = line.split(\",\");\n String data = textCleaner(split[indexData].toLowerCase());\n int label = Integer.parseInt(split[indexLabel].toLowerCase());\n\n linesTest.add(data);\n labelsTest.add(label);\n Logger.print(\"Reading size: \" + linesTest.size());\n }\n for (String l : linesTest) {\n matrixTest.add(wordVectorizer(l));\n }\n } catch (IOException ex) {\n Logger.printError(\"!! Test Data Not Reading !!\");\n System.exit(0);\n }\n }",
"@Test\n\tpublic void testReadCsvFile() throws FileNotFoundException {\n\t\tFileParser fp = new FileParser();\n\t\tArrayList<String> parsedLines = fp.readCsvFile(\"movies.csv\");\n\t\tassertEquals(\"toy story\", parsedLines.get(0));\n\t}",
"@Test\n public void givenUSCensusData_WhenTrue_RecordShouldMatch() throws CSVBuilderException {\n final String CSV_FILE_PATH = \"src/test/resources/USCensusData.csv\";\n try\n {\n int noOfRecords = usCensusAnalyzer.loadStateCensusCSVData(CensusAnalyser.Country.US, CSV_FILE_PATH);\n Assert.assertEquals(51, noOfRecords);\n }\n catch (CSVBuilderException e)\n {\n\n }\n }",
"@Test\r\n\tpublic void readCsvTest() throws IOException {\r\n\t\t\tfail(\"Not yet implemented\");\r\n\t}",
"@Test\r\n public void readCsvFile() throws FileNotFoundException, IOException { \r\n CsvReader csvr = new CsvReader(CSV_FILE);\r\n \r\n List<NetworkElement> nes = csvr.getNetworkElements();\r\n assertEquals(55,nes.size()); \r\n }",
"public void openPlayerDataFromCSV() throws FileNotFoundException {\n csvReader = new BufferedReader(new FileReader(PATH_TO_CSV));\n }",
"@Override\n public void importCSV(File file) {\n System.out.println(\"oi\");\n System.out.println(file.isFile()+\" \"+file.getAbsolutePath());\n if(file.isFile() && file.getPath().toLowerCase().contains(\".csv\")){\n System.out.println(\"Entro\");\n try {\n final Reader reader = new FileReader(file);\n final BufferedReader bufferReader = new BufferedReader(reader);\n String[] cabecalho = bufferReader.readLine().split(\",\");\n int tipo;\n if(cabecalho.length == 3){\n if(cabecalho[2].equalsIgnoreCase(\"SIGLA\")){\n tipo = 1;\n System.out.println(\"TIPO PAIS\");\n }\n else {\n tipo = 2;\n System.out.println(\"TIPO CIDADE\");\n }\n }else {\n tipo = 3;\n System.out.println(\"TIPO ESTADO\");\n }\n \n while(true){\n String linha = bufferReader.readLine();\n if(linha == null){\n break;\n }\n String[] row = linha.split(\",\");\n switch (tipo) {\n case 1:\n Pais pais = new Pais();\n pais.setId(Long.parseLong(row[0]));\n pais.setNome(row[1]);\n pais.setSigla(row[2]);\n new PaisDaoImpl().insert(pais);\n break;\n case 2:\n Cidade cidade = new Cidade();\n cidade.setId(Long.parseLong(row[0]));\n cidade.setNome(row[1]);\n cidade.setEstado(Long.parseLong(row[2]));\n new CidadeDaoImpl().insert(cidade);\n break;\n default:\n Estado estado = new Estado();\n estado.setId(Long.parseLong(row[0]));\n estado.setNome(row[1]);\n estado.setUf(row[2]);\n estado.setPais(Long.parseLong(row[3]));\n new EstadoDaoImpl().insert(estado);\n break;\n }\n }\n \n } catch (FileNotFoundException ex) {\n Logger.getLogger(SQLUtilsImpl.class.getName()).log(Level.SEVERE, null, ex);\n } catch (IOException ex) {\n Logger.getLogger(SQLUtilsImpl.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n }",
"@Test\n public void doImport_doesNotModifyOriginalCsv() {\n ExternalDataReader externalDataReader = new ExternalDataReaderImpl(null);\n externalDataReader.doImport(formDefToCsvMedia);\n\n assertThat(dbFile.exists(), is(true));\n assertThat(csvFile.exists(), is(true));\n }",
"@Test\n public void givenNumberOfRecords_WhenMatched_ShouldReturnTrue() {\n String CSV_FILE_PATH = \"src/test/resources/StateCensusData.csv\";\n try {\n int numberOfRecords = indianCensusAnalyzer.loadStateCensusCSVData(CensusAnalyser.Country.INDIA, CSV_FILE_PATH);\n Assert.assertEquals(29, numberOfRecords);\n } catch (CSVBuilderException e) {\n\n }\n }",
"@Given(\"I have data available in CSV file\")\r\n public void i_have_data_available_in_CSV_file() {\n }",
"@Test\n @Timeout(value = 5, timeUnit = TimeUnit.SECONDS)\n public void testMinimalCsvFileImport2(Vertx vertx, VertxTestContext testContext) {\n String pathCsvFile = AssertResponseGivenRequestHelper.class.getResource(\"/http/ingestion/csv/onemetric-3points/csvfiles/datapoints_without_quality.csv\").getFile();\n testMinimalCsvFileImport(vertx, testContext, pathCsvFile);\n }",
"public void loadCSVData() throws IOException, SQLException {\r\n //SQL statement to load csv information into data table\r\n String insertvaluesSQL = \"INSERT INTO data\"\r\n + \"(InvoiceNo, StockCode, Description, Quantity, InvoiceDate, UnitPrice, CustomerID, Country)\"\r\n + \" VALUES (?,?,?,?,?,?,?,?);\";\r\n\r\n //code to read csv file taken from W03 practical\r\n BufferedReader br = new BufferedReader(new FileReader(filePath));\r\n String line = br.readLine();\r\n String[] informationArray;\r\n while (line != null) {\r\n informationArray = line.split(\",\");\r\n PreparedStatement preparedStatement = connection.prepareStatement(insertvaluesSQL);\r\n //the first '?' corresponds to the 0th term in the information array\r\n //the second '?' corresponds to the 1st term in the information array\r\n for (int i = 1; i < 9; i++) {\r\n preparedStatement.setString(i, informationArray[i - 1]);\r\n }\r\n preparedStatement.executeUpdate();\r\n line = br.readLine();\r\n }\r\n Statement statement = connection.createStatement();\r\n statement.executeUpdate(\"DELETE FROM data WHERE InvoiceNo = 'InvoiceNo';\");\r\n statement.close();\r\n }",
"@Test\n public void givenStateCode_WhenTrue_ReturnNumberOfRecordMatch() {\n String CSV_FILE_PATH = \"src/test/resources/StateCode.csv\";\n try {\n int numberOfRecords =indianCensusAnalyzer.loadStateCensusCSVData(CensusAnalyser.Country.INDIA, CSV_FILE_PATH);\n\n Assert.assertEquals(37, numberOfRecords);\n } catch (CSVBuilderException e) {\n\n }\n\n }",
"@Test\n public void givenStateCensusAnalyserFile_WhenImproperFile_ReturnsException() {\n String CSV_FILE_PATH = \"src/test/resources/stateCensus.csv\";\n try {\n indianCensusAnalyzer.loadStateCensusCSVData(CensusAnalyser.Country.INDIA, CSV_FILE_PATH);\n } catch (CSVBuilderException e) {\n Assert.assertEquals(CSVBuilderException.TypeOfException.NO_FILE_FOUND, e.typeOfException);\n }\n }",
"public void testValidData() throws CSVFormatException, AddMicrosoftBandFileException, FileNotFoundException {\r\n\t\tInputStream testFile = new FileInputStream(fileDirectory + \"MS_Band_Valid.csv\");\r\n\t\tAddMicrosoftFileAction apfa = new AddMicrosoftFileAction(testFile, prodDAO, ID);\r\n//\t\tassertEquals(4, apfa.getPatients().size());\r\n\t\tassertFalse(apfa.getErrors().hasErrors());\r\n\t}",
"public int loadData(Reader csv, KeywordFactory kwf) \n throws InterruptedException, IOException\n {\n return loadData(csv, kwf, false);\n }",
"@Test\n void testBrokenCSV() throws IOException {\n try {\n createInstance().read(null, null);\n fail(\"IOException not thrown on null csv\");\n } catch (NullPointerException ex) {\n assertThat(ex.getMessage()).isNull();\n } catch (IngestException ex) {\n assertThat(ex.getErrorKey()).isEqualTo(IngestError.UNKNOWN_ERROR);\n }\n File file = getFile(\"csv/ingest/BrokenCSV.csv\");\n try (FileInputStream fileInputStream = new FileInputStream(file);\n BufferedInputStream stream = new BufferedInputStream(fileInputStream)) {\n createInstance().read(Tuple.of(stream, file), null);\n fail(\"IOException was not thrown when collumns do not align.\");\n } catch (IngestException ex) {\n assertThat(ex.getErrorKey()).isEqualTo(IngestError.CSV_RECORD_MISMATCH);\n }\n }",
"public int loadData(Reader csv, KeywordFactory kwf, boolean quiet) \n throws InterruptedException, IOException\n {\n if (! tablecreated) \n System.err.println(\"Warning: table not created yet?\");\n\n DbLoadCSV ldr = new DbLoadCSV(tbl, kwf, csv);\n ldr.addHMSCol(\"RA\");\n ldr.addDMSCol(\"Dec\");\n ldr.addDMSCol(\"Decl\");\n\n Process proc = startDbClient();\n Writer w = new OutputStreamWriter(proc.getOutputStream());\n ldr.sendData(w);\n\n w.close();\n proc.waitFor();\n if (!quiet) {\n if (proc.exitValue() > 0) {\n for (String line : emsgs) \n System.err.println(line);\n }\n else \n System.err.println(\"Table data loaded\");\n }\n\n return proc.exitValue();\n }",
"@Test\n @Timeout(value = 5, timeUnit = TimeUnit.SECONDS)\n public void testMinimalCsvFileImport3(Vertx vertx, VertxTestContext testContext) {\n String pathCsvFile = AssertResponseGivenRequestHelper.class.getResource(\"/http/ingestion/csv/onemetric-3points/csvfiles/datapoints_shuffled_columns.csv\").getFile();\n testMinimalCsvFileImport(vertx, testContext, pathCsvFile);\n }",
"public void loadFromCsv(String filePath) throws Exception {\n\tBufferedReader br=new BufferedReader(new FileReader(filePath));\n\tString line=\"\";\n\tint i=0;\n\n\tline=br.readLine();\n\tthis.gen=Integer.parseInt(line);\n\t\n\twhile((line=br.readLine()) != null) {\n\t this.setBna(i,line);\n\t i++;\n\t}\n\tbr.close();\n }",
"@Test\n public void testVisaCCPositive_CSV() {\n String visaCCNumber = UtilityParsers.csvHelper(visaInputFilePathCSV);\n CreditCardValidator creditCardValidator = new VisaCCValidator(visaCCNumber);\n assertTrue(creditCardValidator.validateCreditCard());\n }",
"private void loadAllCountData(){\n // load from csv\n try{\n FileReader file = new FileReader(\"/home/ubuntu/user_counts_small.csv\");\n //FileReader file = new FileReader(\"/Users/YHWH/Desktop/cloud computing/team project/user_counts.csv\");\n BufferedReader buff = new BufferedReader(file);\n String line = \"\";\n boolean eof = false;\n\n while(!eof){\n line = buff.readLine();\n if(line == null){\n eof = true;\n }\n else{\n String[] data = line.split(\"\\t\"); //0->id, 1->selfCount, 2->prevCount\n wholeCountData.put(data[0], Integer.parseInt(data[2]));\n }\n }\n buff.close();\n }\n catch(IOException e){\n e.printStackTrace();\n }\n }",
"public void read()\r\n\t{\r\n\t\tScanner input = null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tint i = 0;\r\n\r\n\t\t\tinput = new Scanner(new File(\"netflix.csv\")).useDelimiter(\"[,\\r\\n]\");\r\n\r\n\t\t\twhile (input.hasNext())\r\n\t\t\t{\r\n\t\t\t\tinput.nextLine();\r\n\t\t\t\tString title = input.next();\r\n\r\n\t\t\t\tString rating = input.next();\r\n\r\n\t\t\t\tint year = Integer.parseInt(input.next());\r\n\r\n\t\t\t\tint score = Integer.parseInt(input.next());\r\n\t\t\t\tMovie a = new Movie(title, rating, year, score);\r\n\t\t\t\tdata[i] = a;\r\n\t\t\t\ti++;\r\n\t\t\t\tactualSize++;\r\n\r\n\t\t\t}\r\n\t\t\tinput.close();\r\n\r\n\t\t}\r\n\t\tcatch (FileNotFoundException e)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"File not found\");\r\n\r\n\t\t}\r\n\r\n\t}",
"@Test\n\t@Rollback(true)\n\t@Transactional\n\tpublic void test_status_created_if_csv_valid() throws Exception {\n\n\t\tString fileName = \"sample.csv\";\n\t\tMockMultipartFile file = new MockMultipartFile(\"file\", fileName, \"text/csv\",\n\t\t\t\t(\"name, emailId, contactNumber, street, city, state, country\\r\\n\"\n\t\t\t\t\t\t+ \"testname, [email protected], 9876543210, testStreet, testCity, testState, testCountry\\r\\n\")\n\t\t\t\t\t\t\t\t.getBytes());\n\n\t\tMockMultipartHttpServletRequestBuilder multipartRequest = MockMvcRequestBuilders\n\t\t\t\t.multipart(\"/api/v1/client/upload-csv\");\n\n\t\tmockMvc.perform(multipartRequest.file(file).header(\"userId\", 121)).andExpect(status().isCreated());\n\n\t}",
"public void LoadFromCSV(){\n InputStream inputStream = getResources().openRawResource(R.raw.movielist);\n CSVinput csVinput = new CSVinput(inputStream);\n final List<String[]> movList = csVinput.read();\n\n for(String[] data : movList) {\n itemArrAdapt.add(data);\n }\n }",
"@Test\n public void givenStateCensusAnalyserFile_WhenImproperFileName_ReturnsException() {\n String CSV_FILE_PATH = \"src/test/resources/StateCensus.jpg\";\n try {\n indianCensusAnalyzer.loadStateCensusCSVData(CensusAnalyser.Country.INDIA, CSV_FILE_PATH);\n } catch (CSVBuilderException e) {\n Assert.assertEquals(CSVBuilderException.TypeOfException.NO_FILE_FOUND, e.typeOfException);\n }\n }",
"public static void loadcars() {\n Cars xx = new Cars();\n System.out.println(\"Load cars\");\n listcars.clear();\n try {\n File fileload = new File(\"cars.csv\");\n BufferedReader in = new BufferedReader(new FileReader(fileload));\n String st;\n while((st = in.readLine()) != null) {\n String[] strs = st.split(\"[,//;]\");\n addcar(strs[0], strs[1], strs[2],Integer.parseInt(strs[3]));\n }\n in.close();\n System.out.println(\"cars data restored from cars.csv\");\n } catch (IOException i) {\n i.printStackTrace();\n }\n\n\n }",
"public void loadListFromCsv() {\n List<Publication> list = new ArrayList<>();\n String line;\n try(BufferedReader bufferedReader = new BufferedReader(new FileReader(\"saves/data.csv\"))){\n while ((line = bufferedReader.readLine()) != null){\n String[] attributes = line.split(\",(?=([^\\\"]*\\\"[^\\\"]*\\\")*[^\\\"]*$)\");\n String[] formattedAttributes = formatAttributes(attributes);\n Publication book = createPublicationFromAttributes(formattedAttributes);\n list.add(book);\n }\n } catch (IOException e){\n System.out.println(\"IOException occurred: \" + e.getMessage());\n }\n\n this.library = list;\n }",
"private static void readInputDataFromCSV(String pathToCSVfile) throws IOException {\n\n // open the file\n BufferedReader reader = new BufferedReader(new FileReader(pathToCSVfile));\n // read line by line\n String line = null;\n Scanner scanner = null;\n int index = 0;\n inputPlayersList = new ArrayList<>();\n\n while ((line = reader.readLine()) != null) {\n Player pl = new Player();\n scanner = new Scanner(line);\n scanner.useDelimiter(\",\");\n while (scanner.hasNext()) {\n String data = scanner.next();\n if (index == 0)\n pl.setLastName(data);\n else if (index == 1)\n pl.setFirstName(data);\n else if (index == 2)\n pl.setCountry(data);\n else if (index == 3)\n pl.setTicketNumber(data);\n else\n System.out.println(\"Incorrect data: \" + data);\n index++;\n }\n index = 0;\n inputPlayersList.add(pl);\n\n }\n //close reader\n reader.close();\n }",
"public Set<Airport> loadFile(final String csvFile) throws CoreException;",
"@Test\n public void givenStateCensusAnalyserFile_WhenImproperHeader_ReturnsException() {\n String CSV_FILE_PATH = \"src/test/resources/StateCensusData.csv\";\n try {\n indianCensusAnalyzer.loadStateCensusCSVData(CensusAnalyser.Country.INDIA, CSV_FILE_PATH);\n } catch (CSVBuilderException e) {\n Assert.assertEquals(CSVBuilderException.TypeOfException.INCORRECT_DELIMITER_HEADER_EXCEPTION, e.typeOfException);\n }\n }",
"@Test\n public void givenStateCensusAnalyserFile_WhenImproperDelimiter_ReturnsException() {\n\n String CSV_FILE_PATH = \"src/test/resources/StateCensusData.csv\";\n try {\n indianCensusAnalyzer.loadStateCensusCSVData(CensusAnalyser.Country.INDIA, CSV_FILE_PATH);\n } catch (CSVBuilderException e) {\n Assert.assertEquals(CSVBuilderException.TypeOfException.INCORRECT_DELIMITER_HEADER_EXCEPTION, e.typeOfException);\n }\n }",
"@Test\n @Timeout(value = 5, timeUnit = TimeUnit.SECONDS)\n public void testCsvFileImportWithStringDates(Vertx vertx, VertxTestContext testContext) {\n String pathCsvFile = AssertResponseGivenRequestHelper.class.getResource(\"/http/ingestion/csv/onemetric-3points/csvfiles/datapoints_string_date_utc.csv\").getFile();\n MultipartForm multipartForm = MultipartForm.create()\n .attribute(FORMAT_DATE, \"yyyy-MM-dd'T'HH:mm:ss.SSS\")\n .attribute(TIMEZONE_DATE, \"UTC\")\n .textFileUpload(\"my_csv_file\", \"datapoints.csv\", pathCsvFile, \"text/csv\");\n List<RequestResponseConfI<?>> confs = Arrays.asList(\n new MultipartRequestResponseConf<JsonObject>(IMPORT_CSV_ENDPOINT,\n multipartForm,\n \"/http/ingestion/csv/onemetric-3points/testImport/expectedResponse.json\",\n CREATED, StatusMessages.CREATED,\n BodyCodec.jsonObject(), vertx),\n new RequestResponseConf<JsonArray>(HURENCE_DATASOURCE_GRAFANA_QUERY_API_ENDPOINT,\n \"/http/ingestion/csv/onemetric-3points/testQuery/request.json\",\n \"/http/ingestion/csv/onemetric-3points/testQuery/expectedResponse.json\",\n OK, StatusMessages.OK,\n BodyCodec.jsonArray(), vertx)\n );\n AssertResponseGivenRequestHelper\n .assertRequestGiveResponseFromFileAndFinishTest(webClient, testContext, confs);\n }",
"private boolean readData(String aCSVFilename)\n {\n try\n {\n // open the chosen file\n File file = new File(aCSVFilename);\n BufferedReader bufRdr = new BufferedReader(new FileReader(file));\n\n // read each line of text file\n String line = null;\n while ((line = bufRdr.readLine()) != null)\n {\n StringTokenizer st = new StringTokenizer(line, \",\");\n while (st.hasMoreTokens())\n {\n String key = st.nextToken();\n String value = st.nextToken();\n processKeyValuePair(key, value);\n }\n }\n //close the file\n bufRdr.close();\n return true;\n }\n catch (Exception e)\n {\n return false;\n }\n }",
"public void testInvalidData() throws CSVFormatException, AddMicrosoftBandFileException, FileNotFoundException {\r\n\t\tInputStream testFile = new FileInputStream(fileDirectory + \"MS_Band_Data.csv\");\r\n\t\tAddMicrosoftFileAction apfa = new AddMicrosoftFileAction(testFile, prodDAO, ID);\r\n//\t\tassertEquals(4, apfa.getPatients().size());\r\n\t\tassertTrue(apfa.getErrors().hasErrors());\r\n\t}",
"@Test\n public void doImport_reimportsCsvIfFileIsUpdated() throws IOException, InterruptedException {\n ExternalDataReader externalDataReader = new ExternalDataReaderImpl(null);\n externalDataReader.doImport(formDefToCsvMedia);\n assertThat(dbFile.exists(), is(true));\n\n SQLiteDatabase db = SQLiteDatabase.openDatabase(dbFile.getAbsolutePath(), null, SQLiteDatabase.OPEN_READWRITE);\n assertThat(db.rawQuery(SELECT_ALL_DATA_QUERY, null).getCount(), is(3));\n\n String originalHash = FileUtils.getMd5Hash(csvFile);\n String metadataTableHash = ExternalSQLiteOpenHelper.getLastMd5Hash(db, EXTERNAL_METADATA_TABLE_NAME, csvFile);\n assertThat(metadataTableHash, is(originalHash));\n\n try (Writer out = new BufferedWriter(new FileWriter(csvFile, true))) {\n out.write(\"\\ncherimoya,Cherimoya\");\n }\n\n String newHash = FileUtils.getMd5Hash(csvFile);\n assertThat(newHash, is(not(originalHash)));\n\n // Reimport\n externalDataReader = new ExternalDataReaderImpl(null);\n externalDataReader.doImport(formDefToCsvMedia);\n\n db = SQLiteDatabase.openDatabase(dbFile.getAbsolutePath(), null, SQLiteDatabase.OPEN_READONLY);\n assertThat(db.rawQuery(SELECT_ALL_DATA_QUERY, null).getCount(), is(4));\n\n // Check the metadata table import timestamp\n metadataTableHash = ExternalSQLiteOpenHelper.getLastMd5Hash(db, EXTERNAL_METADATA_TABLE_NAME, csvFile);\n assertThat(metadataTableHash, is(newHash));\n }",
"@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 void Read_Csv() {\n\t\t\n\t\tFile file = new File(\"Faucets.csv\");\n\t\tif(file.exists() == false) {\n\t\t\ttry {\n\t\t\t\t if (file.createNewFile()) {\n\t\t\t\t System.out.println(\"File created: \" + file.getName());\n\t\t\t\t } else {\n\t\t\t\t System.out.println(\"File already exists... Error\");\n\t\t\t\t }\n\t\t\t\t \n\t\t\t\tFileWriter myWriter = new FileWriter(\"Faucets.csv\");\n\t\t\t\tmyWriter.write(\"Freebitco.in,3600,228,\");\n\t\t\t\tmyWriter.close();\n\t\t\t\t\n\t\t\t\t\n\t\t\t}catch (IOException e) {\n\t\t\t\tSystem.out.println(\"Error\");\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\t//Reading the file\n\t\tString line = null;\n\t\ttry {\n\t\t\tFileReader fileReader = new FileReader(\"Faucets.csv\");\n\t\t\tBufferedReader bufferedReader = new BufferedReader(fileReader);\n\t\t\t\n\t\t\tint x = 0;\n\t\t\tint commacounter = 0;\n\t\t\tint commaposition[] = new int[3];\n\t\t\twhile((line = bufferedReader.readLine()) != null) {\n\t\t\t\t\n\t\t\t\twhile(x < line.length()) {\n\t\t\t\t\t\n\t\t\t\t\tif(line.charAt(x) == ',') {\n\t\t\t\t\t\tcommaposition[commacounter] = x;\n\t\t\t\t\t\tcommacounter +=1;\n\t\t\t\t\t}\n\t\t\t\t\tif(commacounter == 3) {\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\tFaucets.site[amount_counter] = line.substring(0, commaposition[0]);\n\t\t\t\t\t\tFaucets.time[amount_counter] = Integer.parseInt(line.substring(commaposition[0]+1, commaposition[1]));\n\t\t\t\t\t\tFaucets.amount[amount_counter] = Integer.parseInt(line.substring(commaposition[1]+1, commaposition[2]));\n\t\t\t\t\t\tamount_counter += 1;\n\t\t\t\t\t\tcommacounter=0;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tx+=1;\n\t\t\t\t}\n\t\t\t\tx=0;\n\t\t\t}\n\t\t\tbufferedReader.close();\n\t\t\t\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t\n\t\n\t\t\t\n\t}",
"public Set<Airport> loadFile(final File csvFile) throws CoreException;",
"@Test\n @Timeout(value = 5, timeUnit = TimeUnit.SECONDS)\n public void testCsvFileImportWithStringDates2(Vertx vertx, VertxTestContext testContext) {\n String pathCsvFile = AssertResponseGivenRequestHelper.class.getResource(\"/http/ingestion/csv/onemetric-3points/csvfiles/datapoints_string_date_utc_2.csv\").getFile();\n MultipartForm multipartForm = MultipartForm.create()\n .attribute(FORMAT_DATE, \"yyyy-D-m HH:mm:ss.SSS\")\n .attribute(TIMEZONE_DATE, \"UTC\")\n .textFileUpload(\"my_csv_file\", \"datapoints.csv\", pathCsvFile, \"text/csv\");\n List<RequestResponseConfI<?>> confs = Arrays.asList(\n new MultipartRequestResponseConf<JsonObject>(IMPORT_CSV_ENDPOINT,\n multipartForm,\n \"/http/ingestion/csv/onemetric-3points/testImport/expectedResponse.json\",\n CREATED, StatusMessages.CREATED,\n BodyCodec.jsonObject(), vertx),\n new RequestResponseConf<JsonArray>(HURENCE_DATASOURCE_GRAFANA_QUERY_API_ENDPOINT,\n \"/http/ingestion/csv/onemetric-3points/testQuery/request.json\",\n \"/http/ingestion/csv/onemetric-3points/testQuery/expectedResponse.json\",\n OK, StatusMessages.OK,\n BodyCodec.jsonArray(), vertx)\n );\n AssertResponseGivenRequestHelper\n .assertRequestGiveResponseFromFileAndFinishTest(webClient, testContext, confs);\n }",
"@Test\n public void testCSVHandlerForEmployees() throws IOException, URISyntaxException {\n val csvHandler = TestInjector.create(CSVHandler.class);\n // todo clean this up but also keep it working on windows\n val input = Paths.get(getClass().getResource(\"PrototypeEmployees.csv\").toURI()).toString();\n val output = \"build/Employees.csv\";\n csvHandler.importEmployees(input);\n csvHandler.exportEmployees(output);\n val inputLines = Files.readAllLines(Paths.get(input));\n val outputLines = Files.readAllLines(Paths.get(output));\n assertEquals(inputLines.size(), outputLines.size());\n assertEquals(inputLines.get(0), outputLines.get(0)); // make sure header lines are the same\n assertTrue(outputLines.containsAll(inputLines));\n assertTrue(inputLines.containsAll(outputLines));\n }",
"public void readCsvFile(String path) {\n\n // make sure the ArrayList is empty before you start recording the data\n if (!Records.isEmpty()) {\n Records.clear();\n }\n try {\n // read data from the .csv file\n System.out.println(\"Reading array list....\");\n BufferedReader br = new BufferedReader(new FileReader(path));\n // Skip the first line\n String line = br.readLine();\n while ((line = br.readLine()) != null) {\n\n String[] fields = line.split(\",\");\n Record record = new Record( // the fields in .csv are jumbled\n Integer.parseInt(fields[2]), // skierID\n Integer.parseInt(fields[3]), // liftID\n Integer.parseInt(fields[1]), // dayNum\n Integer.parseInt(fields[4])); // time\n Records.add(record);\n }\n\n br.close();\n System.out.println(\"!!Reading completed!!\");\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"@Test\n public void givenStateCode_WhenImproperDelimiter_ReturnExceptionFileNotFound() {\n String CSV_FILE_PATH = \"src/test/resources/StateCode.csv\";\n try {\n indianCensusAnalyzer.loadStateCensusCSVData(CensusAnalyser.Country.INDIA, CSV_FILE_PATH);\n } catch (CSVBuilderException e) {\n Assert.assertEquals(CSVBuilderException.TypeOfException.INCORRECT_DELIMITER_HEADER_EXCEPTION, e.typeOfException);\n }\n }",
"public void loadData()\n\t{\n\t\tString fileName = \"YouthTobaccoUse.csv\"; //file to be read and loaded in\n\t\tScanner input = FileUtils.openToRead(fileName).useDelimiter(\",\");\n\t\tint count = 0;\n\t\tboolean isNewState = false;\n\t\tString state = \"\", measure = \"\", stateAbbr = \"\";\n\t\tdouble percent = 0.0;\n\t\tint stateDate = 0;\n\t\twhile(input.hasNext())\n\t\t{\n\t\t\tString line = input.nextLine();\n\t\t\tint tokenCount = 0;\n\t\t\ttokens[tokenCount] = \"\";\n\t\t\t//each line tokenized\n\t\t\tfor(int i = 0; i < line.length(); i++)\n\t\t\t{\n\t\t\t\tif(line.charAt(i) == ',')\n\t\t\t\t{\n\t\t\t\t\ttokenCount++;\n\t\t\t\t\ttokens[tokenCount] = \"\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\ttokens[tokenCount] += line.charAt(i);\n\t\t\t}\n\t\t\t//loads values into variables, converts String into integers and doubles\n\t\t\tString abbr = tokens[1];\n\t\t\tString name = tokens[2];\n\t\t\tString measureDesc = tokens[5];\n\t\t\tint date = convertInteger(tokens[0]);\n\t\t\tdouble percentage = 0.0;\n\t\t\tif(tokens[10].equals(\"\") == false)\n\t\t\t\tpercentage = convertDouble();\n\t\t\tif(abbr.equals(stateAbbr))\n\t\t\t{\n\t\t\t\tif(measureDesc.equals(\"Smoking Status\") \n\t\t\t\t\t\t\t\t\t|| measureDesc.equals(\"User Status\"))\n\t\t\t\t\tpercent += percentage;\n\t\t\t}\n\t\t\telse\n\t\t\t\tisNewState = true;\n\t\t\tif(isNewState)\n\t\t\t{\n\t\t\t\t//calculates the average values for each state, then adds to \n\t\t\t\t//array list, stored as fields\n\t\t\t\tpercent = (double)(percent/count);\n\t\t\t\tif(state.equals(\"Arizona\") && stateDate == 2017)\n\t\t\t\t\ttobacco.add(new StateTobacco(state, stateAbbr, 3.75, 2017));\n\t\t\t\telse if(state.equals(\"Guam\") == false && count != 0 && count != 1\n\t\t\t\t&& stateAbbr.equals(\"US\") == false)\n\t\t\t\t\ttobacco.add(new StateTobacco(state, stateAbbr, percent, stateDate));\n\t\t\t\tstate = name;\n\t\t\t\tstateAbbr = abbr; \n\t\t\t\tstateDate = date;\n\t\t\t\tisNewState = false;\n\t\t\t\tpercent = 0.0;\n\t\t\t\tcount = 0;\n\t\t\t}\n\t\t\tcount++;\n\t\t}\n\t}",
"protected static ArrayList<String> load() throws Exception {\r\n\t\tArrayList<String> list;\r\n\t\tFileReader fileRead = new FileReader(csv);\r\n\t\tBufferedReader buff = Files.newBufferedReader(Paths.get(\"story.csv\"));\r\n\t\tlist = buff.lines().map(line -> line.split(\",\")).flatMap(Arrays::stream)\r\n\t\t\t\t.collect(Collectors.toCollection(ArrayList::new));\r\n\t\tbuff.close();\r\n\t\tfileRead.close();\r\n\r\n\t\treturn list;\r\n\t}",
"@SuppressWarnings(\"resource\")\r\n\tpublic static ArrayList<UserInfo> getUserDataFromCsvFile()\r\n\t{\r\n\t\t\r\n\t\tArrayList<UserInfo> unfList=null;\r\n\t\ttry{\r\n\t\t\tFile myObj= new File(\"E:\\\\Selenium Setup\\\\datadriven.csv\");\r\n\t\t\tunfList = new ArrayList<UserInfo>();\r\n\t\t\tScanner myReader= new Scanner(myObj);\r\n\t\t\tint count=0;\r\n\t\t\twhile (myReader.hasNextLine()) \r\n\t\t\t{\r\n\t\t\t\tString data= myReader.nextLine();\r\n\t\t\t\tif (count !=0)\r\n\t\t\t\t{\r\n\t\t\t\t\tString[] info =data.split(\"\\\\,\");\r\n\t\t\t\t\tunfList.add(new UserInfo(info[0],info[1]));\r\n\t\t\t\t\t//unfList.add(new UserInfo(info[0], info[1]));\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t++count;\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}catch (Exception e)\r\n\t\t\t{\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\t// TODO: handle exception\r\n\t\t\t}\r\n\t\t\treturn unfList;\r\n\t}",
"public void fillBoardFromCSV(String pathToCSV){\r\n \r\n BufferedReader br = null;\r\n String line = \" \";\r\n int index = 0;\r\n \r\n \r\n try{\r\n br = new BufferedReader(new FileReader(pathToCSV));\r\n while ((line = br.readLine()) != null) {\r\n String[] lines = line.split(\",\");\r\n System.out.println(lines.length);\r\n for(int i = 0; i < 11; i++){\r\n if(lines[i].equals(\"f\")){\r\n board[index][i] = new Flat(index,i);\r\n }\r\n if(lines[i].equals(\"s\")){\r\n board[index][i] = new Slot(index,i);\r\n }\r\n }\r\n index++; \r\n }\r\n } catch (FileNotFoundException e) {\r\n e.printStackTrace();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n } finally {\r\n if (br != null) {\r\n try {\r\n br.close();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n }\r\n \r\n \r\n }",
"@Override\n\tpublic void parseCSV(String csv) {\n\t\t\n\t}",
"@Test\n public void testIncludeHeaderCSV() throws Throwable {\n testIncludeHeaderCSV(false);\n }",
"public LoadCSV(String file_position){\r\n this.file_position = file_position;\r\n }",
"@Test\n public void givenStateCode_WhenImproperHeader_ReturnExceptionFileNotFound() {\n String CSV_FILE_PATH = \"src/test/resources/StateCode.csv\";\n try {\n indianCensusAnalyzer.loadStateCensusCSVData(CensusAnalyser.Country.INDIA, CSV_FILE_PATH);\n } catch (CSVBuilderException e) {\n Assert.assertEquals(CSVBuilderException.TypeOfException.INCORRECT_DELIMITER_HEADER_EXCEPTION, e.typeOfException);\n }\n }",
"static public void readCSVData(String csvFile, String imagePath)\n\t{\t\n String line = \"\";\n String cvsSplitBy = \"\\t\";\n\n try (BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(csvFile), \"UTF8\"))) {\n\n while ((line = br.readLine()) != null) {\n String[] dataMovie = line.split(cvsSplitBy);\n //System.out.println(\"Nom: \" + dataMovie[0] + \"\\nDate de sortie: \" + dataMovie[1] + \"\\nRealisateur: \" + dataMovie[2] + \"\\nDescription: \" + dataMovie[3] + \"\\nLien de la BA: \" + dataMovie[4] + \"\\nLiens sceances: \" + dataMovie[5] + \"\\nNom fichier image: \" + dataMovie[6] + \"\\n\");\n\t\t\t\tmoviesDataTab.add(dataMovie[0] + \"\\t\" + dataMovie[1] + \"\\t\" + dataMovie[2] + \"\\t\" + dataMovie[3] + \"\\t\" + dataMovie[4] + \"\\t\" + dataMovie[5]);\n\t\t\t\timageTab.add(imagePath +\"/images/\" +dataMovie[6]);\n\t\t\t}\n } catch (IOException e) {\n e.printStackTrace();\n }\t\n\t}",
"@Override\r\n public void init() throws HarvesterException {\r\n JsonSimple options = new JsonSimple(getJsonConfig().getObject(\"harvester\", \"csv\"));\r\n \r\n String filePath = options.getString(null, \"fileLocation\");\r\n if (filePath == null) {\r\n throw new HarvesterException(\"No data file provided!\");\r\n }\r\n File csvDataFile = new File(filePath);\r\n if (csvDataFile == null || !csvDataFile.exists()) {\r\n throw new HarvesterException(\"Could not find CSV file '\" + filePath + \"'\");\r\n }\r\n filename = csvDataFile.getName();\r\n \r\n idPrefix = options.getString(\"\", \"recordIDPrefix\");\r\n maxRows = options.getInteger(-1, \"maxRows\");\r\n ignoredFields = getStringList(options, \"ignoreFields\");\r\n includedFields = getStringList(options, \"includedFields\");\r\n payloadId = options.getString(DEFAULT_PAYLOAD_ID, \"payloadId\");\r\n batchSize = options.getInteger(DEFAULT_BATCH_SIZE, \"batchSize\");\r\n hasMore = true;\r\n \r\n try {\r\n // open the CSV file for reading\r\n Reader fileReader = new InputStreamReader(new FileInputStream(csvDataFile), \"UTF-8\");\r\n char delimiter = options.getString(String.valueOf(DEFAULT_DELIMITER), \"delimiter\").charAt(0);\r\n csvReader = new CSVReader(fileReader, delimiter);\r\n \r\n // configure the data fields\r\n if (options.getBoolean(true, \"headerRow\")) {\r\n dataFields = Arrays.asList(csvReader.readNext());\r\n } else {\r\n dataFields = getStringList(options, \"headerList\");\r\n }\r\n \r\n // check that the specified id column is valid\r\n idColumn = options.getString(null, \"idColumn\");\r\n if (idColumn != null && !dataFields.contains(idColumn)) {\r\n throw new HarvesterException(\"'\" + idColumn + \"' is invalid!\");\r\n }\r\n } catch (IOException ioe) {\r\n throw new HarvesterException(ioe);\r\n }\r\n }",
"@Test(timeout = 4000)\n public void test076() throws Throwable {\n Csv csv0 = Csv.getInstance();\n SimpleResultSet simpleResultSet0 = new SimpleResultSet(csv0);\n Object[] objectArray0 = DBUtil.currentLine(simpleResultSet0);\n assertEquals(0, objectArray0.length);\n }",
"public static String[][] ReadTestData(String pathToCSVfile) throws Exception{\n\t\t\t\n\t\t//\tHashMap<String,String> theMap = new HashMap<String,String>();\n\n\t\t \n //Create object of FileReader\n FileReader inputFile = new FileReader(pathToCSVfile);\n \n //Instantiate the BufferedReader Class\n BufferedReader bufferReader = new BufferedReader(inputFile);\n \n //Variable to hold one line data\n String line;\n int NumberOfLines = 0;\n \n String[][] data = new String[1000][25]; // set the max rows to 1000 and col to 100\n \n // Read file line by line and print on the console\n while ((line = bufferReader.readLine()) != null) {\n \t \n \t String[] lineArray = line.split(Pattern.quote(\",\")); //split the line up and save to array\n \t int lineSize = lineArray.length;\n \t int z;\n \t for (z = 0; z <= (lineSize-1);)\n \t {\n \t\t data[NumberOfLines][z] = lineArray[z].toString();\n \t\t z++;\n \t } \n \t \n \t if(z <= 25) // read in 25 cols to make sure the array does not have nulls that other areas of the code are looking in\n \t {\t \t\t \n \t\t while (z <= 24)\n\t \t {\t\t \n \t\t\t data[NumberOfLines][z] = \" \";\n\t \t\t z++;\n\t \t } \n \t }\n \t NumberOfLines++; \n \t \n }\n \n bufferReader.close();\n \n // for (int h=0; h< NumberOfLines; h++) {theMap.put(data[h][0],data[h][1]); }\n \n \n System.out.println(\"Test Data has been saved \"); \n \n \t \n return data;\n \n\t \n\t}",
"private void loadData() {\n try {\n URL source = new URL(CSV_URL);\n URLConnection connect = source.openConnection();\n BufferedReader f = new BufferedReader(new InputStreamReader(connect.getInputStream()));\n\n header = f.readLine().split(\",\");\n // Replace third header with Difficulty Rating\n header[3] = \"Difficulty\";\n\n String line;\n while((line = f.readLine()) != null) {\n String[] row = line.split(\",\");\n // Section: 0, 1, 2, 3 for now, 3 will be WCC\n\n int problemNumber = Integer.parseInt(row[0]);\n int section;\n int year;\n String exam = row[1];\n String answer = row[2];\n\n if(row.length > 3) {\n answer += \"~\" + row[3];\n }\n\n if(exam.matches(\"USNCO .*\")) {\n exam = exam.substring(6);\n year = Integer.parseInt(exam.substring(1, 5));\n if(exam.charAt(0) == 'N') {\n section = 1;\n }\n else {\n section = 0;\n }\n }\n else {\n year = Integer.parseInt(exam.substring(4, 8));\n section = 3;\n }\n\n int id = year*240 + problemNumber*4 + section;\n data.put(id, answer);\n }\n }\n catch (Exception e) {\n // Solution given by StackOverflow: https://stackoverflow.com/questions/1149703/\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter(sw);\n e.printStackTrace(pw);\n String sStackTrace = sw.toString().substring(0, 800); // stack trace as a string\n\n // Send error messages to me\n instance.retrieveUserById(CREATOR).queue(\n user -> user.openPrivateChannel().queue(\n channel -> channel.sendMessage(sStackTrace).queue()));\n\n }\n }",
"@Test\n public void givenStateCodeWhenFalse_ReturnExceptionFileNotFound() {\n String CSV_FILE_PATH = \"src/test/resources/WrongNameForStateCode.csv\";\n try {\n indianCensusAnalyzer.loadStateCensusCSVData(CensusAnalyser.Country.INDIA, CSV_FILE_PATH);\n } catch (CSVBuilderException e) {\n Assert.assertEquals(CSVBuilderException.TypeOfException.NO_FILE_FOUND, e.typeOfException);\n }\n }",
"@Test\n void loadData() {\n }",
"@Override\n public void csvImport(String filename) {\n try {\n FileReader r = new FileReader(filename);\n Scanner in = new Scanner(r);\n\n while (in.hasNext()) {\n String firstInput = in.next().trim();\n String firstName = firstInput.substring(0, firstInput.length() - 1).trim();\n String lastInput = in.next().trim();\n String lastName = lastInput.substring(0, lastInput.length() - 1).trim();\n String ID = in.next().substring(0, 5);\n int pID = Integer.parseInt(ID);\n String grade = in.next();\n\n Student s = new Student(firstName, lastName, pID);\n Grade g = new Grade(grade);\n\n map.put(s, g);\n }\n checker = true;\n } catch (FileNotFoundException ex) {\n System.out.println(\"File was not found\");\n checker = false;\n }\n }",
"@Test\n\tpublic void testUTF8() throws IOException {\n\t\tBufferedReader reader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(new FileInputStream(UTF8_FILE), \"UTF-8\")\n\t\t);\n\t\tReadTestCSVFile(reader);\n\t}",
"public boolean checkCSVIntegrity(final ProgressMonitor monitor,\r\n final File csvFile)\r\n {\r\n if (monitor == null)\r\n throw new NullPointerException(\"monitor may not be null\");\r\n\r\n boolean valid = true;\r\n\r\n try\r\n {\r\n FileInputStream fis = new FileInputStream(csvFile);\r\n BufferedInputStream bis = new BufferedInputStream(fis);\r\n\r\n byte[] rCache = new byte[1024];\r\n int numberOfChars = 0;\r\n int numColumns = 0;\r\n int lastPosition = 0;\r\n boolean headerComplete = false;\r\n\r\n /* read header and identify amount of columns */\r\n while (!headerComplete)\r\n {\r\n numberOfChars = bis.read(rCache, 0, 1024);\r\n if (numberOfChars == -1)\r\n break;\r\n\r\n for (lastPosition = 0; lastPosition < numberOfChars; lastPosition++)\r\n {\r\n if (rCache[lastPosition] == SEPARATOR)\r\n {\r\n numColumns++;\r\n }\r\n else if (rCache[lastPosition] == '\\n')\r\n {\r\n numColumns++;\r\n headerComplete = true;\r\n break;\r\n }\r\n else\r\n {\r\n /*\r\n * for each other character nothing has to be done, this part will\r\n * be removed by the compiler so just leave for information\r\n */\r\n }\r\n }\r\n }\r\n\r\n /* not ending header */\r\n if (!headerComplete)\r\n {\r\n monitor\r\n .setStatusText(\"Keine Daten oder keine Kopfzeile oder Encoding falsch. Siehe http://http://www.jverein.de/administration_import.php\");\r\n valid = false;\r\n }\r\n\r\n /* the position needs to increased because of the break in the for loop */\r\n lastPosition++;\r\n\r\n int columnsPerLine = 0;\r\n int lineNo = 1;\r\n /* count columns in each line */\r\n do\r\n {\r\n\r\n for (; lastPosition < numberOfChars; lastPosition++)\r\n {\r\n if (rCache[lastPosition] == SEPARATOR)\r\n columnsPerLine++;\r\n else if (rCache[lastPosition] == ' ')\r\n {\r\n if (lastPosition - 1 >= 0 && rCache[lastPosition - 1] == SEPARATOR)\r\n {\r\n monitor\r\n .setStatusText(String\r\n .format(\r\n \"Leerzeichen nach einem Semikolon in Zeile: {0} und Spalte: {1}\",\r\n new Object[] { lineNo + \"\", columnsPerLine + \"\" }));\r\n valid = false;\r\n }\r\n if (lastPosition + 1 < numberOfChars\r\n && rCache[lastPosition + 1] == SEPARATOR)\r\n {\r\n monitor\r\n .setStatusText(String\r\n .format(\r\n \"Leerzeichen vor einem Semikolon in Zeile: {0} und Spalte: {1}\",\r\n new Object[] { lineNo + \"\", columnsPerLine + \"\" }));\r\n valid = false;\r\n }\r\n }\r\n else if (rCache[lastPosition] == '\\n')\r\n {\r\n columnsPerLine++;\r\n lineNo++;\r\n if (columnsPerLine != numColumns)\r\n {\r\n monitor\r\n .setStatusText(String\r\n .format(\r\n \"Anzahl der Spalten in Zeile: {0} passt nicht mit der Anzahl Spalten in der Kopfzeile ueberein.\",\r\n lineNo + \"\"));\r\n valid = false;\r\n }\r\n columnsPerLine = 0;\r\n }\r\n else\r\n {\r\n /*\r\n * for each other character nothing has to be done, this part will\r\n * be removed by the compiler so just leave it for information\r\n */\r\n }\r\n }\r\n lastPosition = 0;\r\n numberOfChars = bis.read(rCache, 0, 1024);\r\n }\r\n while (numberOfChars != -1);\r\n\r\n bis.close();\r\n fis.close();\r\n }\r\n catch (FileNotFoundException e)\r\n {\r\n Logger.error(\"Fehler\", e);\r\n valid = false;\r\n }\r\n catch (IOException e)\r\n {\r\n Logger.error(\"Fehler\", e);\r\n valid = false;\r\n }\r\n return valid;\r\n }",
"@Test\n public void testCSVHandlerForNodes() throws IOException, URISyntaxException {\n val csvHandler = TestInjector.create(CSVHandler.class);\n // todo clean this up but also keep it working on windows\n val input = Paths.get(getClass().getResource(\"PrototypeNodes.csv\").toURI()).toString();\n val output = \"build/Nodes.csv\";\n csvHandler.importNodes(input);\n csvHandler.exportNodes(output);\n val inputLines = Files.readAllLines(Paths.get(input));\n val outputLines = Files.readAllLines(Paths.get(output));\n assertEquals(inputLines.size(), outputLines.size());\n assertEquals(inputLines.get(0), outputLines.get(0)); // make sure header lines are the same\n assertTrue(outputLines.containsAll(inputLines));\n assertTrue(inputLines.containsAll(outputLines));\n }",
"private Agent loadFromFile(String _login)\n {\n Agent agent = new Agent();\n File file = new File(_login + \".csv\");\n FileReader fr;\n BufferedReader br;\n String line;\n try {\n fr = new FileReader(file);\n br = new BufferedReader(fr);\n\n line = br.readLine();\n\n int numCients;\n { // to restrain the scope of csvData\n String[] csvData = line.split(\",\");\n agent.setID(Integer.parseInt(csvData[0]));\n agent.setName(csvData[1]);\n agent.setSalary(Double.parseDouble(csvData[2]));\n agent.setSalesBalance(Double.parseDouble(csvData[3]));\n\n numCients = Integer.parseInt(csvData[4]);\n }\n\n for(int i = 0; i<numCients; i++) {\n line = br.readLine();\n\n Client client = new Client();\n int numProp;\n\n {\n String[] csvData = line.split(\",\");\n client.setID(Integer.parseInt(csvData[0]));\n client.setName(csvData[1]);\n client.setIncome(Double.parseDouble(csvData[2]));\n\n numProp = Integer.parseInt(csvData[3]);\n }\n\n for(int j=0; j<numProp; j++)\n {\n line = br.readLine();\n\n String[] csvData = line.split(\",\");\n\n if(csvData[0].equals(\"house\")) {\n House property = new House();\n\n property.setAddress(csvData[1]);\n property.setNumRoom(Integer.parseInt(csvData[2]));\n property.setPrice(Double.parseDouble(csvData[3]));\n property.setSize(Double.parseDouble(csvData[4]));\n property.setHasGarage(Boolean.parseBoolean(csvData[5]));\n\n property.setHasGarden(Boolean.parseBoolean(csvData[6]));\n property.setHasPool(Boolean.parseBoolean(csvData[7]));\n\n client.addProperty(property);\n }\n else if(csvData[0].equals(\"apt\"))\n {\n Apartment property = new Apartment();\n\n property.setAddress(csvData[1]);\n property.setNumRoom(Integer.parseInt(csvData[2]));\n property.setPrice(Double.parseDouble(csvData[3]));\n property.setSize(Double.parseDouble(csvData[4]));\n property.setHasGarage(Boolean.parseBoolean(csvData[5]));\n\n property.setHasTerrace(Boolean.parseBoolean(csvData[6]));\n property.setHasElevator(Boolean.parseBoolean(csvData[7]));\n property.setFloor(Integer.parseInt(csvData[8]));\n property.setNumber(Integer.parseInt(csvData[9]));\n\n client.addProperty(property);\n }\n }\n\n agent.addClient(client);\n }\n fr.close();\n br.close();\n return agent;\n }\n catch (NumberFormatException nfEx) {\n JOptionPane.showMessageDialog(null, \"There was a problem when retrieving \" +\n \"the agent's data.\\n Please try again\");\n return null;\n }\n catch (IOException ioEx) {\n JOptionPane.showMessageDialog(null, \"This user doesn't exist....\");\n return null;\n }\n }",
"@Test\n\tpublic void testPopulateCustomerDataset1() throws CustomerException, LogHandlerException{\n\t\tcustomers = LogHandler.populateCustomerDataset(correctFile1);\n\t}",
"private static ArrayList<Glootie> loadAliensFromFile(String pathToCSV) throws Exception{\r\n\t\tArrayList<Glootie> alienArray = new ArrayList<>();\r\n\t\tBufferedReader csvReader = new BufferedReader(new FileReader(pathToCSV));\r\n\t\t//Read and ignore header row:\r\n\t\tString row = csvReader.readLine();\r\n\t\t//Read remain data from CSV file\r\n\t\twhile ((row = csvReader.readLine()) != null) {\r\n\t\t\tString[] data = row.split(\",\");\r\n\t\t\t// Add new Glootie to array\r\n\t\t\talienArray.add(new Glootie(data));\r\n\t\t}\r\n\t\tcsvReader.close();\r\n\r\n\t\treturn alienArray;\r\n\t}",
"public boolean loadData() throws IOException{\n showFileBrowser();\n m_FileName = PATH+ m_FileName;\n m_File = new Scanner(new FileInputStream(m_FileName));\n if (fileFound()){\n if (m_File.hasNextLine()) {\n if (readGrid()){\n } else {\n return false;\n }\n } else {\n JOptionPane.showMessageDialog(null, \"Empty File\");\n return false;\n }\n } else {\n return false;\n }\n return true;\n }",
"@Before\r\n\tpublic void faireAvant(){\r\n\t\tfile3Donnees = new File(\"fichierTest3Donnees.csv\");\r\n\t\tfile11Donnees = new File(\"fichierTest11Donnees.csv\");\r\n\t}",
"@Test public void testEuropeanComma() {\n char comma = ';';\n int n = random.nextInt(10) + 10;\n String[] src = new String[n];\n for (int i = 0; i < n; i++) {\n src[i] = randomString();\n }\n println(Arrays.toString(src));\n try (CSVUtil.Writer writer = CSVUtil.newWriter(path, comma)) {\n for (String s : src) {\n writer.write(s);\n }\n } catch (IOException e) {\n e.printStackTrace();\n assert false;\n }\n\n try {\n List<String[]> strings = CSVUtil.read(path, comma);\n assert strings.size() == 1;\n println(Arrays.toString(strings.get(0)));\n assert Arrays.toString(src).equals(Arrays.toString(strings.get(0)));\n } catch (IOException e) {\n e.printStackTrace();\n assert false;\n }\n\n try {\n List<String[]> strings = CSVUtil.read(path);\n assert strings.size() == 1;\n println(Arrays.toString(strings.get(0)));\n assert Arrays.toString(src).equals(Arrays.toString(strings.get(0)));\n } catch (IOException e) {\n e.printStackTrace();\n assert false;\n }\n }",
"public void ach_doc_type_csv_test () {\n\t\t\n\t}",
"@Test\n public void positive() throws FileNotFoundException, InvalidDatasetException {\n final var fileName = \"2019-08-20T21_30_00.147998006Z_Balances.csv\";\n final var path = Paths.get(\"/account_balances\", fileName);\n final var datastream = getClass().getResourceAsStream(path.toString());\n final var cut = new AccountBalancesDatasetV2(path.toString(), datastream);\n assertAll(\n () -> assertEquals(1566336600, cut.getConsensusTimestamp().getEpochSecond())\n ,() -> assertEquals(147998006, cut.getConsensusTimestamp().getNano())\n ,() -> assertEquals(2, cut.getLineNumber()) // 2 line header\n );\n var i = cut.getRecordStream().iterator();\n var l1 = i.next();\n var l2 = i.next();\n assertAll(\n () -> assertEquals(3, l1.getLineNumber())\n ,() -> assertEquals(\"0,0,1,0\", l1.getValue())\n ,() -> assertEquals(4, l2.getLineNumber())\n ,() -> assertEquals(\"0,0,2,4999970459167843402\", l2.getValue())\n );\n }",
"public static void readFromCSVIntoTable() {\n try {\n for (String tn : ORDERED_TABLE_NAMES) {\n handle.execute(buildInsertIntoFromCSV(tn));\n }\n } catch (Throwable e) {\n itsLogger.error(e.getMessage(), e);\n }\n\n }",
"public void readEntityCSV(String line) {\n List<String> items = Arrays.asList(line.split(\",\"));\n this.setId(Long.valueOf(items.get(0)));\n this.noOfRounds = Integer.parseInt(items.get(1));\n this.caliber = Float.parseFloat(items.get(2));\n this.manufacturer = items.get(3);\n this.price = Float.parseFloat(items.get(4));\n }",
"private void processCSVFile( BufferedReader csvFile ) throws IOException {\r\n\t\t\r\n\t\tboolean headerRowRead = false;\r\n\t\tString[] headerArray = null;\r\n\t\t\r\n\t\t//loop through all rows and create contacts\r\n\t\tString row = csvFile.readLine();\r\n\t\t\r\n\t\twhile (row != null) {\r\n\t\t\t\r\n\t\t\tif (row.length()==0 || row.startsWith(\"#\") || row.startsWith(\";\") ) {\t\t\r\n\t\t\t\t\r\n\t\t\t\t//empty or comment row: skip\r\n\t\t\t\t\r\n\t\t\t} else if (!headerRowRead) {\r\n\t\t\t\t\r\n\t\t\t\t//header row is the first non-blank, not-comment row in the CSV file\r\n\t\t\t\t//the required header row contains the attribute names\r\n\t\t\t\t\r\n\t\t\t\theaderRowRead = true;\r\n\t\t\t\t\r\n\t\t\t\t//read header\r\n\t\t\t\theaderArray = parseCSVLine( row, true); \t\t\r\n\t\t\t\tLogger.debug(\"header: \" + row);\r\n\t\t\t\t\r\n\t\t\t} else {\r\n\t\t\t\r\n\t\t\t\tHashMap<String,String> contactObject = ContactsImport.getRowValues(headerArray, row);\r\n\t\t\t\tcreateContact(contactObject);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\trow = csvFile.readLine(); //read next line form csv file\r\n\t\t}\r\n\t\t\r\n\t\tLogger.debug(\"finished\");\r\n\r\n\t}",
"@ParameterizedTest\n @CsvFileSource(files = \"src/test/resources/params/shoppinglist.csv\",\n numLinesToSkip = 1) // The first line in .csv is a header, this is to skip that line\n public void csvFileSource_StringDoubleIntStringString(String name,\n double price, int qty, String uom,\n String provider){\n System.out.println(\"name = \" + name + \", price = \" + price + \", qty = \" + qty\n + \", uom = \" + uom + \", provider = \" + provider);\n }",
"@Test\n public void givenIndianStateCensusData_WhenSorted_ReturnSortedResult() {\n String CSV_FILE_PATH = \"src/test/resources/StateCensusData.csv\";\n try {\n indianCensusAnalyzer.loadStateCensusCSVData(CensusAnalyser.Country.INDIA, CSV_FILE_PATH);\n String SortedData = indianCensusAnalyzer.sortedStateCensusData(CensusAnalyser.SortingMode.STATENAME);\n CSVStateCensus[] censusCSV = new Gson().fromJson(SortedData, CSVStateCensus[].class);\n Assert.assertEquals(\"Andhra Pradesh\", censusCSV[0].StateName);\n } catch (CSVBuilderException e) {\n\n }\n }",
"@Before\n public void setUp() throws Exception {\n lego = new CSVReader();\n array = lego.getLegoArrayList();\n collection = new NewDoublyLinkedList();\n\n for(String[] number : array){\n String numb = number[0];\n numb = numb.replace(\"\\\"\", \"\");\n collection.add(Integer.parseInt(numb)); //Voegt alle elementen toe aan de newlinkedlist\n }\n }",
"@ParameterizedTest\n @CsvFileSource(files = {\"src/test/resources/params/shoppinglist.csv\",\n \"src/test/resources/params/shoppinglist2.csv\"},\n numLinesToSkip = 1) // The first line in .csv is a header, this is to skip that line\n public void csvFileSource_StringDoubleIntStringString2(String name,\n double price, int qty, String uom,\n String provider){\n System.out.println(\"name = \" + name + \", price = \" + price + \", qty = \" + qty\n + \", uom = \" + uom + \", provider = \" + provider);\n }",
"@Before\n public void setUp() throws Exception {\n countryCode=\"RU\";\n cityName=\"Razvilka\";\n lat=\"55.5917\";\n lon=\"37.7408\";\n\n /**\n * Citirea din fisier\n */\n ArrayList<String> list=new ArrayList<String>();\n File inputFile=new File(\"src/main/resources/input.txt\");\n Scanner myReader = new Scanner(inputFile);\n while(myReader.hasNextLine())\n {\n String data;\n data = myReader.nextLine();\n list.add(data);\n }\n myReader.close();\n\n String[] cuv;\n cuv = list.get(0).split(\"\\t\");\n\n testModel=new PatraWeatherModel(cuv[4],cuv[1],cuv[2],cuv[3]);\n\n\n }",
"@Test(dataProvider = \"getRandomData\")\r\n\r\n\tpublic void testCSVData(String Sku, String Product, String DiaAmountSIGH, String DiaAmountVVSEF,\r\n\r\n\t\t\tString totalGemAmount, String MetalType, String height, String width, String MetalWeight, String Catagory,\r\n\r\n\t\t\tString TypeOfProduct, String diaColor, String diaClarity, String DiamondShape, String NoOfDiamonds,\r\n\r\n\t\t\tString TotalDiamondWeight, String Collection, String GemstoneType, String GemstoneShape,\r\n\r\n\t\t\tString NoOfGemstones, String TotalGemWeight) throws InterruptedException {\r\n\r\n\t\tinitilizeEtry();\r\n\r\n\t\tSystem.out.println(Sku);\r\n\t\tdriver = threadDriver.get();\r\n\r\n\t\tdriver.findElement(By.xpath(\"//div[@id='ajax_register_close']\")).click();// popup\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// close\r\n\r\n\t\tdriver.findElement(By.xpath(\"//div[@class='search_outer']//img\")).click();// for\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// search\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// option\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// click\r\n\r\n\t\tThread.sleep(3000);\r\n\r\n\t\tWebElement elem = driver.findElement(By.xpath(\"//*[@id='ild_search_box']//form//div//input[@id='search']\"));// click\r\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// image\r\n\r\n\t\telem.sendKeys(Sku);\r\n\r\n\t\telem.sendKeys(\"\\n\");\r\n\r\n\t\tdriver.findElement(By.xpath(\"//a[@class='product-image']\")).click();\r\n\r\n\t\t// verify if the buynow button enable or not\r\n\r\n\t\tWebElement e = driver.findElement(By.xpath(\"//input[@class='add-cart2']\"));\r\n\r\n\t\tAssert.assertTrue(e.isEnabled());// return true when the buynow button\r\n\t\t\t\t\t\t\t\t\t\t\t// enable\r\n\r\n\t\tif (driver.findElements(By.xpath(\"//a[@class='product-image']\")).size() != 0) {\r\n\r\n\t\t\tSystem.out.println(\"Buynow button enable\");\r\n\r\n\t\t} else {\r\n\r\n\t\t\tSystem.out.println(\"Buynow button disable\");\r\n\r\n\t\t}\r\n\t\tThread.sleep(4000);\r\n\t\tdriver.findElement(By.xpath(\"//div/a[@id='viewbreakup']\")).click();\r\n\r\n\t\tThread.sleep(2000);\r\n\r\n\t\tProduct productItms = null;\r\n\r\n\t\tproductItms = new Product(driver);\r\n\r\n\t\t// for diamond quality radio button selection - SI-GH\r\n\r\n\t\tif (diaClarity.contains(\"SI\") && diaColor.contains(\"GH\")) {\r\n\r\n\t\t\tdriver.findElement(\r\n\t\t\t\t\tBy.xpath(\"//div[@class='input-box']/label[@class='label-radio-configurable'][\" + 1 + \"]/input\"))\r\n\t\t\t\t\t.click();\r\n\r\n\t\t\t// breakup selection view click\r\n\r\n\t\t\t// verification of sku of the product for SI-GH\r\n\r\n\t\t\tString actualsku = productItms.getsku();\r\n\r\n\t\t\tif (!(actualsku.trim().toUpperCase().contains(Sku.trim().toUpperCase()))) {\r\n\r\n\t\t\t\tfinalResult.put(\"Sku\", finalResult.get(\"Sku\") & false);\r\n\r\n\t\t\t}\r\n\r\n\t\t\t// Verification of Diamond price SIGH\r\n\r\n\t\t\tString actualDiamondPriceSIGH = utility.converPrice(productItms.getDiamondPriceSIGH());\r\n\r\n\t\t\tif (!(actualDiamondPriceSIGH.trim().toUpperCase().equals(DiaAmountSIGH.trim().toUpperCase()))) {\r\n\r\n\t\t\t\tfinalResult.put(\"DiaAmountSIGH\", finalResult.get(\"DiaAmountSIGH\") & false);\r\n\r\n\t\t\t}\r\n\r\n\t\t\t/**\r\n\t\t\t * \r\n\t\t\t * common mapping function for both SIGH & VVSEF\r\n\t\t\t * \r\n\t\t\t */\r\n\r\n\t\t\tverifyProductDetailAttribute(Sku, totalGemAmount, MetalType, height, width, MetalWeight, Catagory, TypeOfProduct,\r\n\r\n\t\t\t\t\tDiamondShape, NoOfDiamonds, Collection, GemstoneType, GemstoneShape, NoOfGemstones, TotalGemWeight,\r\n\r\n\t\t\t\t\tTotalDiamondWeight, productItms);\r\n\r\n\t\t}\r\n\r\n\t\t// VVSEF - Radio button click\r\n\r\n\t\tdriver.findElement(\r\n\t\t\t\tBy.xpath(\"//div[@class='input-box']/label[@class='label-radio-configurable'][\" + 2 + \"]/input\"))\r\n\t\t\t\t.click();\r\n\r\n\t\tThread.sleep(5000);\r\n\r\n\t\tproductItms = new Product(driver);\r\n\r\n\t\t// verification of sku of the product for VVSEF\r\n\r\n\t\tString actualsku = productItms.getsku();\r\n\r\n\t\tif (!(actualsku.trim().toUpperCase().contains(Sku.trim().toUpperCase()))) {\r\n\r\n\t\t\tfinalResult.put(\"Sku\", finalResult.get(\"Sku\") & false);\r\n\r\n\t\t}\r\n\r\n\t\t// Verification of Diamond price VVSEF\r\n\r\n\t\tString x = productItms.getDiamondPriceVVSEF();\r\n\r\n\t\tString actualDiamondPriceSIGH = utility.converPrice(x);\r\n\r\n\t\tif (!(actualDiamondPriceSIGH.trim().toUpperCase().equals(DiaAmountVVSEF.trim().toUpperCase()))) {\r\n\r\n\t\t\tfinalResult.put(\"DiaAmountVVSEF\", finalResult.get(\"DiaAmountVVSEF\") & false);\r\n\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t * \r\n\t\t * common mapping function for both SIGH & VVSEF\r\n\t\t * \r\n\t\t */\r\n\r\n\t\tverifyProductDetailAttribute(Sku, totalGemAmount, MetalType, height, width, MetalWeight, Catagory, TypeOfProduct,\r\n\r\n\t\t\t\tDiamondShape, NoOfDiamonds, Collection, GemstoneType, GemstoneShape, NoOfGemstones, TotalGemWeight,\r\n\r\n\t\t\t\tTotalDiamondWeight, productItms);\r\n\r\n\t\t// Add to cart\r\n\r\n\t\tWebElement button1 = driver.findElement(By.xpath(\"//input[@class='add-cart2']\"));\r\n\r\n\t\tbutton1.click();\r\n\r\n\t\t// verify the cart message in cart page\r\n\r\n\t\tif (driver.getPageSource().contains(\"was added to your shopping cart.\")) {\r\n\r\n\t\t\tSystem.out.println(\"cart page message is coming for the added product\");\r\n\r\n\t\t} else {\r\n\r\n\t\t\tSystem.out.println(\"cart page message is not coming\");\r\n\r\n\t\t\tdriver.close();\r\n\r\n\t\t}\r\n\r\n\t\t// for edit\r\n\r\n\t\tdriver.findElement(By.xpath(\"//a[@title='Edit item parameters']\")).click();\r\n\r\n\t\tdriver.findElement(By.xpath(\"//button[@title='Update Cart']\")).click();\r\n\r\n\t\t// for increase and decrease quantity\r\n\r\n\t\tdriver.findElement(By.xpath(\"//button[@title='Increase Quantity']\")).click();\r\n\r\n\t\tdriver.findElement(By.xpath(\"//button[@title='Decrease Quantity']\")).click();\r\n\r\n\t\tdriver.findElement(By.xpath(\"//span[contains(text(),'Proceed to Checkout')]\")).click();\r\n if((Sku.contains(\"RG\")||Sku.contains(\"BR\")))\r\n {\r\n MetalWeight=\"N/A\";\r\n \r\n }\r\n\r\n\r\n\t\tcreateHtML(Sku, Product, DiaAmountSIGH, DiaAmountVVSEF, totalGemAmount, MetalType, height, width,\r\n\r\n\t\t\t\tMetalWeight, Catagory, TypeOfProduct, diaColor, diaClarity, DiamondShape, NoOfDiamonds, Collection,\r\n\r\n\t\t\t\tGemstoneType, GemstoneShape, NoOfGemstones, TotalGemWeight, TotalDiamondWeight);\r\n\r\n\t}",
"@Test\n\tpublic void testForTask1() throws JSONException {\n\t\tList<Row> csvResultsRows = csvResults.getRows();\n\t\tJSONArray jsonArray = jsonResults.getJSONArray(COLUMN_NAME_PRICE);\n\t\tList<Row> dataTestRows = dataTest.getRows();\n\n\t\tint j = csvResultsRows.size() - 1;\n\t\tfor (int i = dataTestRows.size() - 1; i >= 0; i--) {\n\t\t\tRow dataTestRow = dataTestRows.get(i);\n\t\t\tRow csvResultRow = csvResultsRows.get(j);\n\t\t\tJSONObject jsonRow = jsonArray.getJSONObject(j);\n\t\t\tj--;\n\t\t\t// test csv\n\t\t\tAssert.assertEquals(csvResultRow.getValueByColumn(COLUMN_NAME_TICKER), \"FB\");\n\t\t\tAssert.assertEquals(csvResultRow.getValueByColumn(COLUMN_NAME_DATE),\n\t\t\t\t\tdataTestRow.getValueByColumn(COLUMN_NAME_DATE));\n\t\t\tAssert.assertTrue(Math.abs(convertStringToDouble(csvResultRow.getValueByColumn(COLUMN_NAME_OPEN))\n\t\t\t\t\t- convertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_OPEN))) <= 0.0001);\n\t\t\tAssert.assertTrue(Math.abs(convertStringToDouble(csvResultRow.getValueByColumn(COLUMN_NAME_HIGH))\n\t\t\t\t\t- convertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_HIGH))) <= 0.0001);\n\t\t\tAssert.assertTrue(Math.abs(convertStringToDouble(csvResultRow.getValueByColumn(COLUMN_NAME_LOW))\n\t\t\t\t\t- convertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_LOW))) <= 0.0001);\n\t\t\tAssert.assertTrue(Math.abs(convertStringToDouble(csvResultRow.getValueByColumn(COLUMN_NAME_CLOSE))\n\t\t\t\t\t- convertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_CLOSE))) <= 0.0001);\n\t\t\tAssert.assertEquals(convertStringToDouble(csvResultRow.getValueByColumn(COLUMN_NAME_VOLUME)),\n\t\t\t\t\tconvertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_VOLUME)));\n\t\t\tAssert.assertTrue(Math.abs(convertStringToDouble(csvResultRow.getValueByColumn(COLUMN_NAME_TWAP_OPEN))\n\t\t\t\t\t- convertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_TWAP_OPEN))) <= 0.0001);\n\t\t\tAssert.assertTrue(Math.abs(convertStringToDouble(csvResultRow.getValueByColumn(COLUMN_NAME_TWAP_HIGH))\n\t\t\t\t\t- convertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_TWAP_HIGH))) <= 0.0001);\n\t\t\tAssert.assertTrue(Math.abs(convertStringToDouble(csvResultRow.getValueByColumn(COLUMN_NAME_TWAP_LOW))\n\t\t\t\t\t- convertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_TWAP_LOW))) <= 0.0001);\n\t\t\tAssert.assertTrue(Math.abs(convertStringToDouble(csvResultRow.getValueByColumn(COLUMN_NAME_TWAP_CLOSE))\n\t\t\t\t\t- convertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_TWAP_CLOSE))) <= 0.0001);\n\n\t\t\t// test json\n\t\t\tAssert.assertEquals(jsonRow.getString(COLUMN_NAME_TICKER), \"FB\");\n\t\t\tAssert.assertEquals(jsonRow.getString(COLUMN_NAME_DATE), dataTestRow.getValueByColumn(COLUMN_NAME_DATE));\n\t\t\tAssert.assertTrue(Math.abs(convertStringToDouble(jsonRow.getString(COLUMN_NAME_OPEN))\n\t\t\t\t\t- convertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_OPEN))) <= 0.0001);\n\t\t\tAssert.assertTrue(Math.abs(convertStringToDouble(jsonRow.getString(COLUMN_NAME_HIGH))\n\t\t\t\t\t- convertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_HIGH))) <= 0.0001);\n\t\t\tAssert.assertTrue(Math.abs(convertStringToDouble(jsonRow.getString(COLUMN_NAME_LOW))\n\t\t\t\t\t- convertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_LOW))) <= 0.0001);\n\t\t\tAssert.assertTrue(Math.abs(convertStringToDouble(jsonRow.getString(COLUMN_NAME_CLOSE))\n\t\t\t\t\t- convertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_CLOSE))) <= 0.0001);\n\t\t\tAssert.assertEquals(convertStringToDouble(jsonRow.getString(COLUMN_NAME_VOLUME)),\n\t\t\t\t\tconvertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_VOLUME)));\n\t\t\tAssert.assertTrue(Math.abs(convertStringToDouble(jsonRow.getString(COLUMN_NAME_TWAP_OPEN))\n\t\t\t\t\t- convertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_TWAP_OPEN))) <= 0.0001);\n\t\t\tAssert.assertTrue(Math.abs(convertStringToDouble(jsonRow.getString(COLUMN_NAME_TWAP_HIGH))\n\t\t\t\t\t- convertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_TWAP_HIGH))) <= 0.0001);\n\t\t\tAssert.assertTrue(Math.abs(convertStringToDouble(jsonRow.getString(COLUMN_NAME_TWAP_LOW))\n\t\t\t\t\t- convertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_TWAP_LOW))) <= 0.0001);\n\t\t\tAssert.assertTrue(Math.abs(convertStringToDouble(jsonRow.getString(COLUMN_NAME_TWAP_CLOSE))\n\t\t\t\t\t- convertStringToDouble(dataTestRow.getValueByColumn(COLUMN_NAME_TWAP_CLOSE))) <= 0.0001);\n\n\t\t}\n\n\t}",
"@Override\n public ToDoList readCSV(String csvPath) throws InvalidArgumentException {\n this.csvPath = csvPath;\n this.toDoList = new ToDoList();\n\n BufferedReader inputFile = null;\n try {\n inputFile = new BufferedReader(new FileReader(this.csvPath));\n\n String line = inputFile.readLine();\n if (line == null) {\n inputFile.close();\n return this.toDoList;\n } // Empty CSV file, no need for processing.\n this.processHeader(line);\n while ((line = inputFile.readLine()) != null) {\n this.processToDoItem(line);\n }\n inputFile.close();\n return this.toDoList;\n } catch (FileNotFoundException fnfe) {\n throw new InvalidArgumentException(\"OOPS! File not found!\");\n } catch (IOException ioe) {\n throw new InvalidArgumentException(\"There is somthing wrong!\");\n }\n }",
"@Test(timeout=100)\r\n\tpublic void testConstructorWithFilename() throws IOException {\r\n\t\tString [] r1 = {\"NAME\", \"ADDRESS\",\"EMAIL\"};\r\n\t\t// should not remove space inside of quotes\r\n\t\tString [] r2 = {\"Santa Claus\",\"North Pole\",\"[email protected]\"};\r\n\t\twriteArrayToLine(r1);\r\n\t\twriteArrayToLine(r2);\r\n\t\tout.close();\r\n\t\t\r\n\t\tString filename = file.getAbsolutePath();\r\n\t\t//System.out.println(\"test: new CSVReader(\"+filename+\")\");\r\n\t\tCSVReader csv = new CSVReader(filename);\r\n\t\tassertTrue(\"Open with filename \"+filename, csv.hasNext());\r\n\t\tassertArrayEquals( r1, csv.next() );\r\n\t\tassertTrue(csv.hasNext());\r\n\t\tassertArrayEquals( r2, csv.next() );\r\n\t\tassertFalse(csv.hasNext());\r\n\t}",
"public void read_file(String filename ,int storage_level){\n input=sqlContext.read()\r\n .format(\"com.databricks.spark.csv\")\r\n .option(\"header\",\"true\")\r\n .option(\"inferSchema\",\"true\")\r\n .load(filename);\r\n\r\n input.saveAsTable(\"crimeData\");\r\n cache_data(storage_level);\r\n }",
"public InputReader(String csv){\n inputStream = new Scanner(csv);\n instantiate();\n assert(invariant());\n }",
"@Test\n public void givenUSCensusData_WhenSortedByPopulation_ReturnSortedResult() {\n final String CSV_FILE_PATH = \"src/test/resources/USCensusData.csv\";\n try {\n usCensusAnalyzer.loadStateCensusCSVData(CensusAnalyser.Country.US, CSV_FILE_PATH);\n String sortedCensusData = usCensusAnalyzer.sortedDataPopulationWise();\n CensusDAO[] censusDAO = new Gson().fromJson(sortedCensusData, CensusDAO[].class);\n Assert.assertEquals(\"California\",censusDAO[0].StateName);\n } catch ( CSVBuilderException e) {\n e.printStackTrace();\n }\n }",
"@Test\n public void givenTheUSCensusData_WhenSortedOnArea_ShouldReturnSortedResult() {\n final String CSV_FILE_PATH = \"src/test/resources/USCensusData.csv\";\n try {\n usCensusAnalyzer.loadStateCensusCSVData(CensusAnalyser.Country.US, CSV_FILE_PATH);\n String sortedCensusData = usCensusAnalyzer.sortedStateCensusData(CensusAnalyser.SortingMode.AREA);\n CensusDAO[] censusDAO = new Gson().fromJson(sortedCensusData, CensusDAO[].class);\n Assert.assertEquals(\"Alaska\",censusDAO[0].StateName);\n } catch (CSVBuilderException e) {\n e.printStackTrace();\n }\n }",
"@Override\r\n\tpublic ArrayList<String> importCsv(File file) {\r\n\t\t\tFileReader monFichier = null;\r\n\t\t\tBufferedReader tampon = null;\r\n\t\t\tArrayList<String> aLImport = new ArrayList<String>();\r\n\t\t\tString[] tabString ;\r\n\t\t\tint sizeLine;\r\n\t\t\r\n\t\t\ttry {\r\n\t\t\t\t// file path\r\n\t\t\t\tmonFichier = new FileReader(file.getAbsolutePath());\r\n\t\t\t\ttampon = new BufferedReader(monFichier);\r\n\r\n\t\t\t\t// read the first line of the file .csv\r\n\t\t\t\tString ligneTemp = tampon.readLine();\r\n\t\t\t\ttabString = ligneTemp.split(\";\");\r\n\t\t\t\tthis.setNbColumnsRead(tabString.length);\r\n\t\t\t\t\r\n\t\t\t\t//Start of the actual content (first line only acting as a header)\r\n\t\t\t\tligneTemp = tampon.readLine();\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\t// faire la gestion des erreurs \r\n\t\t\t\t\t\t/*JOptionPane.showMessageDialog(this, \"Le fichier .csv n'est pas valide\", \"Erreur !\",\r\n\t\t\t\t\t\t\t\t\tJOptionPane.ERROR_MESSAGE);*/\r\n\t\t\t\t\r\n\t\t\t\t// read all the lines one by one and split them to keep the\r\n\t\t\t\t// structure's name\r\n\t\t\t\twhile (ligneTemp != null) {\t\t\t\t\t\r\n\t\t\t\t\ttabString = ligneTemp.split(\";\");\r\n\t\t\t\t\t\r\n\t\t\t\t\tsizeLine = tabString.length;\r\n\t\t\t\t\t//This for start at 1 in order to skip the first cell, assuming it is always \"Start\" and is therefore not required in the ArrayList\r\n\t\t\t\t\tfor (int i = 1; i < sizeLine; i+=2) {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(!tabString[i].contains(\"End\")){\r\n\t\t\t\t\t\t\taLImport.add(tabString[i]);\r\n\t\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\tligneTemp = tampon.readLine();\r\n\t\t\t\t}\r\n\r\n\t\t\t} catch (IOException exception) {\r\n\t\t\t\texception.printStackTrace();\r\n\t\t\t\treturn null;\r\n\t\t\t} finally {\r\n\t\t\t\ttry {\r\n\t\t\t\tif (tampon != null)\r\n\t\t\t\t{\r\n\t\t\t\t\ttampon.close();\r\n\t\t\t\t}\r\n\t\t\t\tif (monFichier != null)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tmonFichier.close();\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (IOException exception1) {\r\n\t\t\t\t\texception1.printStackTrace();\r\n\t\t\t\t\treturn null;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\treturn aLImport;\t\r\n\t}",
"public static StockSetData getStockSetDataFromCSV(String filePath) {\r\n int TOP_HEADER_ROW_INDEX = 4;\r\n // Create our BuyOptionObject\r\n StockSetData stockSetData = new StockSetData();\r\n // Get all the data as records\r\n List<List<String>> records = getCSV2(filePath);\r\n // Label the columns\r\n List<String> topHeader = records.get(TOP_HEADER_ROW_INDEX);\r\n List<String> nameHeader = records.get(TOP_HEADER_ROW_INDEX + 1);\r\n\r\n // loop horizontally through the elements in the top header\r\n for (int i = 0; i < topHeader.size(); i++) {\r\n // decide the type of column\r\n\r\n if (topHeader.get(i).equals(\"l\")) {\r\n ArrayList<String> loaderArray = new ArrayList<>();\r\n for (int j = TOP_HEADER_ROW_INDEX + 2; j < records.size(); j++) {\r\n loaderArray.add(records.get(j).get(i));\r\n }\r\n ColumnAndName columnAndName = new ColumnAndName(loaderArray ,nameHeader.get(i));\r\n stockSetData.getLabelValues().add(columnAndName);\r\n }\r\n if (topHeader.get(i).equals(\"s\")) {\r\n ArrayList<String> loaderArray = new ArrayList<>();\r\n for (int j = TOP_HEADER_ROW_INDEX + 2; j < records.size(); j++) {\r\n loaderArray.add(records.get(j).get(i));\r\n }\r\n ColumnAndName columnAndName = new ColumnAndName(loaderArray ,nameHeader.get(i));\r\n stockSetData.getSortingValues().add(columnAndName);\r\n }\r\n if (topHeader.get(i).equals(\"f\")) {\r\n ArrayList<String> loaderArray = new ArrayList<>();\r\n for (int j = TOP_HEADER_ROW_INDEX + 2; j < records.size(); j++) {\r\n loaderArray.add(records.get(j).get(i));\r\n }\r\n ColumnAndName columnAndName = new ColumnAndName(loaderArray ,nameHeader.get(i));\r\n stockSetData.getFitnessValues().add(columnAndName);\r\n }\r\n\r\n\r\n }\r\n\r\n return stockSetData;\r\n }",
"@Test\n public void doImport_reimportsCsvIfMetadataTableIsMissing() {\n ExternalDataReader externalDataReader = new ExternalDataReaderImpl(null);\n externalDataReader.doImport(formDefToCsvMedia);\n assertThat(dbFile.exists(), is(true));\n\n // Remove the metadata table (mimicking prior versions without the metadata table)\n SQLiteDatabase db = SQLiteDatabase.openDatabase(dbFile.getAbsolutePath(), null, SQLiteDatabase.OPEN_READWRITE);\n SQLiteUtils.dropTable(db, EXTERNAL_METADATA_TABLE_NAME);\n db.close();\n\n // Reimport\n externalDataReader = new ExternalDataReaderImpl(null);\n externalDataReader.doImport(formDefToCsvMedia);\n assertThat(dbFile.exists(), is(true));\n db = SQLiteDatabase.openDatabase(dbFile.getAbsolutePath(), null, SQLiteDatabase.OPEN_READWRITE);\n assertThat(\"metadata table should be recreated\", SQLiteUtils.doesTableExist(db, EXTERNAL_METADATA_TABLE_NAME));\n db.close();\n }",
"public Instances openCSV(String path)\n\t{\n\t\ttry\n\t\t{\n\t\t\tCSVLoader loader = new CSVLoader();\n\t\t\tloader.setSource(new File(path));\n\t\t\tdataset = loader.getDataSet();\n\t\t\t\n\t\t\t//VERIFICA QUE HAYA UNA CLASE, SI NO LO HAY LO ESTABLECE\n\t\t\tif (dataset.classIndex() == -1)\n\t\t\t\tdataset.setClassIndex(dataset.numAttributes() - 1);\n\t\t}\n\t\tcatch(IOException ex)\n\t\t{\n\t\t\tSystem.out.println(ex);\n\t\t}\n\t\t\n\t\treturn this.dataset;\n\t}",
"public ArrayList<Player> importPlayerData() {\n \n try {\n //Try to access player.csv in the given directory\n\t\t\tFile file = new File(\"data\\\\player.csv\");\n Scanner fileIn = new Scanner(file);\n \n fileIn.skip(\"userName,fullName,password,gold,exp,noOfLand\");\n \n\t\t\t//Use comma as delimiter in extracting various player info\n\t\t\tfileIn.useDelimiter(\",|\\r\\n|\\n\");\n \n while (fileIn.hasNext()) {\n String userName = fileIn.next().trim();\n String fullName = fileIn.next().trim();\n String password = fileIn.next().trim();\n int gold = fileIn.nextInt();\n int exp = fileIn.nextInt();\n\t\t\t\tint noOfLand = fileIn.nextInt();\n\t\t\t\t\n\t\t\t\t//Create new players based on extracted info\n Player player = new Player(userName, fullName, password, gold, exp, noOfLand);\n\t\t\t\t\n\t\t\t\t//Add players to playerList\n playerList.add(player);\n }\n \n }\n \n catch (IOException e) {\n //Specify the location of IOException\n\t\t\te.printStackTrace();\n }\n\t\t\n\t\treturn playerList;\n\t}",
"@Test\n public void testValidateGood()\n {\n S3InputSource s3InputSource = s3InputSource(\n Collections.singletonList(\"s3://foo/bar/file.csv\"), null, null, null);\n TableMetadata table = TableBuilder.external(\"foo\")\n .inputSource(toMap(s3InputSource))\n .inputFormat(CSV_FORMAT)\n .column(\"x\", Columns.VARCHAR)\n .build();\n ResolvedTable resolved = registry.resolve(table.spec());\n resolved.validate();\n }",
"protected long _loadTableCSV(File fromFile, DBLoadValidator validator, \n boolean insertRecords, boolean overwriteExisting, boolean noDropWarning)\n throws DBException\n {\n InputStream fis = null;\n\n /* load csv file */\n long recordCount = 0L;\n try {\n\n /* open csv file */\n try {\n fis = new FileInputStream(fromFile);\n } catch (IOException ioe) {\n throw new DBException(\"Unable to open CSV file\", ioe);\n }\n\n /* field/column definition */\n String oldFieldNames[]= null;\n try {\n String header = FileTools.readLine(fis);\n oldFieldNames = StringTools.parseArray(header);\n if (ListTools.isEmpty(oldFieldNames)) {\n throw new DBException(\"Unable to parse field names (no field names found)\");\n }\n } catch (EOFException eofe) {\n throw new DBException(\"Premature EOF\");\n }\n\n /* list fields */\n for (int i = 0; i < oldFieldNames.length; i++) {\n DBField field = this.getField(oldFieldNames[i]);\n if (field != null) {\n Print.logInfo(\"Column : \" + oldFieldNames[i]);\n } else\n if (!noDropWarning) {\n Print.logInfo(\"Column : \" + oldFieldNames[i] + \" - will be dropped\");\n }\n }\n\n /* initialize DBLoadValidator */\n if ((validator != null) && !validator.setFields(oldFieldNames)) {\n throw new DBException(\"Load fields rejected by insertion validator\");\n }\n\n /* loop through CSV file */\n int rowNumber = 2; // start at line '2'\n for (;;rowNumber++) {\n \n /* read/parse line */\n String rowValues[] = null;\n try {\n String line = FileTools.readLine(fis).trim();\n if (line.equals(\"\")) { \n // -- ignore blank lines\n continue; \n }\n //Print.logInfo(\"Parsing: \" + line);\n rowValues = StringTools.parseArray(line);\n if (rowValues.length != oldFieldNames.length) {\n // -- unexpected number of fields\n Print.logError(\"Fields - #found != #expected: \" + \n rowValues.length + \" != \" + oldFieldNames.length +\n \" [row \" + rowNumber + \"]\");\n Print.logError(\"Row: \" + line);\n continue;\n }\n } catch (EOFException eofe) {\n break;\n }\n\n /* create/insert record from fields */\n if (this._loadInsertRecord(oldFieldNames,rowValues,\n validator,insertRecords,overwriteExisting)) {\n recordCount++;\n }\n\n }\n \n } catch (DBException dbe) {\n throw dbe; // re-throw\n } catch (SQLException sqe) {\n throw new DBException(\"SQL error\", sqe);\n } catch (IOException ioe) {\n throw new DBException(\"Parsing error\", ioe);\n } catch (Throwable th) {\n throw new DBException(\"Unexpected error\", th);\n } finally {\n if (fis != null) { try { fis.close(); } catch (Throwable t) {} }\n }\n\n /* return number of records loaded */\n return recordCount;\n\n }",
"public void printData(String path , boolean isEmployee) {\n try {\n\n FileReader fileReader = new FileReader(path);\n BufferedReader buffReader = new BufferedReader(fileReader);\n String line ;\n boolean firstLine = true;\n\n // reading csv file and setting to person proto\n while((line = buffReader.readLine()) != null)\n {\n if ( firstLine) {\n firstLine = false;\n continue;\n }\n String [] data = line.split(\",\");\n\n if (isEmployee)\n readEmployeeData(data);\n else\n readBuildingData(data);\n }\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"private ArrayList<CSVRecord> processCsvData(String csvFile) {\n ArrayList<CSVRecord> records = new ArrayList<>();\n\n File csvData = new File(\"src/main/resources/csv/\" + csvFile + \".csv\");\n\n try {\n CSVParser parser = CSVParser.parse(csvData, Charset.defaultCharset(), CSVFormat.EXCEL);\n records.addAll(parser.getRecords());\n } catch (IOException exception) {\n logger.error(\"Unable to parse CSV file: \" + exception.getMessage());\n }\n\n return records;\n }",
"private String IMO_read_file() throws Exception {\n\t\t CSVReader reader = new CSVReader(new FileReader(System.getProperty(\"user.dir\") + \"\\\\src\\\\main\\\\resources\\\\FileUploadData\\\\test_IMO.csv\"));\n\t\t \n\t\t // this will load content into list\n\t\t List<String[]> li=reader.readAll();\n\t\t System.out.println(\"Total rows which we have is \"+li.size());\n\t\t \n\t\t // create Iterator reference\n\t\t Iterator<String[]>i1= li.iterator();\n\t\t \n\t\t // Iterate all values \n\t\t while(i1.hasNext()){\n\t\t \n\t\t String[] str=i1.next();\n\t\t \n\t\t \n\t\t for(int i=0;i<str.length;i++)\n\t\t{\n\t\t \n\t\t System.out.print(\" IMO \"+str[i]);\n\t\t \n\t\t}\n\t\t System.out.println(\" \");\n\t\t imo_from_spreadsheet = str[0]; \n\t\t\t System.out.println(\"IMO \" + imo_from_spreadsheet); \n\t\t \n\t\t}\n\t\n\t\treturn imo_from_spreadsheet;\n\t\t \n\t }",
"public void insertdata(String file) {\n\r\n\r\n final String csvFile = file;\r\n\r\n try (BufferedReader br = new BufferedReader(new FileReader(csvFile))) {\r\n\r\n\r\n while ((line = br.readLine()) != null) {\r\n\r\n\r\n // use comma as separator\r\n String[] country = line.split(\",\");\r\n\r\n if (country.length == 12) {\r\n model_lacakMobil = new Model_LacakMobil();\r\n realmHelper = new RealmHelper(realm);\r\n\r\n model_lacakMobil.setNama_mobil(country[1]);\r\n model_lacakMobil.setNo_plat(country[2]);\r\n model_lacakMobil.setNamaunit(country[3]);\r\n model_lacakMobil.setFinance(country[4]);\r\n model_lacakMobil.setOvd(country[5]);\r\n model_lacakMobil.setSaldo(country[6]);\r\n model_lacakMobil.setCabang(country[7]);\r\n model_lacakMobil.setNoka(country[8]);\r\n model_lacakMobil.setNosin(country[9]);\r\n model_lacakMobil.setTahun(country[10]);\r\n model_lacakMobil.setWarna(country[11]);\r\n realmHelper.save(model_lacakMobil);\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n } finally {\r\n// fixing_data();\r\n\r\n }\r\n }",
"@Test\r\n public void testSystemRunning() throws IOException {\r\n Simulator.main(new String[] {\"settings.txt\"});\r\n Scanner scanner = new Scanner(new FileInputStream(\"orders1.csv\"));\r\n String currentLine = scanner.nextLine();\r\n assertEquals(\"SES, Blue\", currentLine);\r\n currentLine = scanner.nextLine();\r\n assertEquals(\"SES, Red\", currentLine);\r\n currentLine = scanner.nextLine();\r\n assertEquals(\"SE, Beige\", currentLine);\r\n scanner.close();\r\n }",
"public List<Lender> readCSVFile(String path){\r\n\r\n List<Lender> inputList = new ArrayList<>();\r\n try{\r\n File inputF = new File(path);\r\n InputStream inputFS = new FileInputStream(inputF);\r\n BufferedReader br = new BufferedReader(new InputStreamReader(inputFS));\r\n // skip the header of the csv\r\n inputList = br.lines().skip(1).map(mapToItem).collect(Collectors.toList());\r\n br.close();\r\n } catch (IOException e) {\r\n throw new QuoteException(\"Error reading the csv file\", e);\r\n }\r\n\r\n return inputList ;\r\n }",
"public List<Country> readCountriesFromCSV(String fileName){\n try {\n Scanner scanner = new Scanner(new File(fileName));\n scanner.useDelimiter(\",\");\n scanner.nextLine();\n while(scanner.hasNextLine()){\n lsta.add(createCountry(scanner.nextLine().split(\",\")));\n// System.out.println(pyr.get_pharaoh()+\"|\"+pyr.get_modern_name()+\"|\"+pyr.get_site()+\"|\"+pyr.get_height()+\"|\");\n }\n scanner.close();\n } catch (FileNotFoundException ex) {\n Logger.getLogger(CityCSVDAO.class.getName()).log(Level.SEVERE, null, ex);\n }\n return lsta;\n }",
"@PostConstruct\n public void loaddata() throws IOException {\n File file = ResourceUtils.getFile(configProvider.getFilePath());\n Reader in = new FileReader(file.getPath());\n Iterable<CSVRecord> records = CSVFormat.RFC4180.withHeader(\n \"locationid\", \"Applicant\", \"FacilityType\", \"cnn\", \"LocationDescription\", \"Address\", \"blocklot\", \"block\", \"lot\",\n \"permit\", \"Status\", \"FoodItems\", \"X\", \"Y\", \"Latitude\", \"Longitude\", \"Schedule\",\n \"dayshours\", \"NOISent\", \"Approved\", \"Received\", \"PriorPermit\", \"ExpirationDate\",\n \"Location\", \"Fire Prevention Districts\", \"Police Districts\",\n \"Supervisor Districts\", \"Zip Codes\", \"Neighborhoods (old)\"\n ).parse(in);\n\n Iterator<CSVRecord> iterator = records.iterator();\n iterator.next();\n // use our own ids because of how atomic integers work, we can't have a 0 for an id, so can't rely on outside sources.\n int i = 0;\n while (iterator.hasNext()) {\n CSVRecord record = iterator.next();\n FoodTruck truck = new FoodTruck(Float.parseFloat(record.get(\"Latitude\")), Float.parseFloat(record.get(\"Longitude\")),\n record.get(\"Address\"), record.get(\"FoodItems\"), ++i);\n //add food truck to datastore\n truckDataStore.addTruck(truck.getId(), truck);\n\n final Rectangle rect = new Rectangle(truck.getLat(), truck.getLon(),\n truck.getLat(), truck.getLon());\n //add food truck location + id to location data store.\n locationDataStore.getSpatialIndex().add(rect, truck.getId());\n }\n }"
]
| [
"0.747721",
"0.7334183",
"0.7175028",
"0.7116729",
"0.71098155",
"0.6912641",
"0.6911568",
"0.6890037",
"0.6876813",
"0.6668234",
"0.66560537",
"0.66379565",
"0.6632718",
"0.6600711",
"0.6584993",
"0.65764576",
"0.6570389",
"0.65689397",
"0.6520383",
"0.6514191",
"0.64873403",
"0.6469112",
"0.6454754",
"0.64539397",
"0.63286555",
"0.63236886",
"0.6317324",
"0.63029355",
"0.6297712",
"0.6296595",
"0.62793905",
"0.6260201",
"0.62560326",
"0.62521446",
"0.62473154",
"0.62462515",
"0.62429357",
"0.62368256",
"0.6234278",
"0.6227954",
"0.6226343",
"0.62095654",
"0.62083215",
"0.61981565",
"0.61923975",
"0.61909527",
"0.6166536",
"0.61651224",
"0.6163547",
"0.61576694",
"0.61562693",
"0.6142901",
"0.6142859",
"0.6120278",
"0.6111645",
"0.6083517",
"0.6071611",
"0.606651",
"0.6057363",
"0.60562384",
"0.60506326",
"0.6044723",
"0.60437644",
"0.60385615",
"0.6037063",
"0.60347736",
"0.60296756",
"0.6023906",
"0.6011591",
"0.59851587",
"0.59744",
"0.59684676",
"0.59670997",
"0.5949526",
"0.59478",
"0.5931455",
"0.5929553",
"0.5926267",
"0.5924531",
"0.5923411",
"0.5921061",
"0.5906515",
"0.5887859",
"0.58701944",
"0.5855427",
"0.58473843",
"0.58457214",
"0.58444065",
"0.58438313",
"0.5836819",
"0.58177644",
"0.58090395",
"0.58077466",
"0.58060336",
"0.58045214",
"0.580098",
"0.5800318",
"0.5800149",
"0.5799936",
"0.57986295",
"0.5790792"
]
| 0.0 | -1 |
test the getter and setter of Pokemom class | public static boolean testPokemomGetSet() {
Pokemon inst = new Pokemon("name", "type1", "type2", 2, 3, 4, 5, 6, 7, 8, false, false);
if (!Objects.equals(inst.getName(), "name") || !Objects.equals(inst.getType1(), "type1")
|| !Objects.equals(inst.getType2(), "type2") || !Objects.equals(inst.getHp(), 2)
|| !Objects.equals(inst.getAttack(), 3) || !Objects.equals(inst.getDefense(), 4)
|| !Objects.equals(inst.getSpAttack(), 5) || !Objects.equals(inst.getSpDefense(), 6)
|| !Objects.equals(inst.getSpeed(), 7) || !Objects.equals(inst.getTotal(), 8)
|| !Objects.equals(inst.isLegendary(), false) || !Objects
.equals(inst.getFavorite(), false)) {
return false;
}
inst.setName("sName");
inst.setType1("ttype1");
inst.setType2("ttype2");
inst.setHp(11);
inst.setAttack(10);
inst.setDefense(33);
inst.setSpAttack(44);
inst.setSpDefense(41);
inst.setSpeed(1);
inst.setTotal(222);
inst.setLegendary(true);
inst.setFavorite(true);
if (!Objects.equals(inst.getName(), "sName") || !Objects.equals(inst.getType1(), "ttype1")
|| !Objects.equals(inst.getType2(), "ttype2") || !Objects.equals(inst.getHp(), 11)
|| !Objects.equals(inst.getAttack(), 10) || !Objects.equals(inst.getDefense(), 33)
|| !Objects.equals(inst.getSpAttack(), 44) || !Objects.equals(inst.getSpDefense(), 41)
|| !Objects.equals(inst.getSpeed(), 1) || !Objects.equals(inst.getTotal(), 222)
|| !Objects.equals(inst.isLegendary(), true) || !Objects
.equals(inst.getFavorite(), true)) {
return false;
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\r\n public void testSetMicentro() {\r\n System.out.println(\"setMicentro\");\r\n CentroEcu_Observado micentro = new CentroEcu_Observado();\r\n micentro.setCiudad(\"Loja\");\r\n Servicio_CentroEcu instance = new Servicio_CentroEcu();\r\n instance.setMicentro(micentro);\r\n assertEquals(instance.getMicentro().ciudad, \"Loja\");\r\n }",
"@Test\r\n\tpublic void test_setter_and_getter_title(){\r\n\t\ttestClassDefinition();\r\n\t\tBook c = new BookMock(\"Old Title\", 1);\r\n\t\tc.setTitle(\"New Title\");\r\n\t\tassertEquals(\"Changed title\", \"New Title\", c.getTitle());\r\n\t}",
"@Test\r\n public void testSetPrecio() {\r\n int expResult = 3;\r\n articuloPrueba.setPrecio(expResult);\r\n assertEquals(expResult, articuloPrueba.getPrecio());\r\n }",
"@Test\n public void testSongGettersSetters() {\n Integer id = 4;\n String title=\"title\",uri = \"uri\";\n\n Song song = new Song();\n song.setId(id);\n song.setTitle(title);\n song.setUri(uri);\n\n assertEquals(\"Problem with id\",id, song.getId());\n assertEquals(\"Problem with title\",title, song.getTitle());\n assertEquals(\"Problem with uri\",uri, song.getUri());\n }",
"@Test\r\n public void testSetNombre() {\r\n String nombre = \"Prueba\";\r\n articuloPrueba.setNombre(nombre);\r\n assertEquals(nombre, articuloPrueba.getNombre());\r\n }",
"@Test\r\n\tpublic void testGettersSetters()\r\n\t{\r\n\t\tPerson p = new Person(42);\r\n\t\tp.setDisplayName(\"Fred\");\r\n\t\tassertEquals(\"Fred\", p.getFullname());\r\n\t\tp.setPassword(\"hunter2\");\r\n\t\tassertEquals(\"hunter2\", p.getPassword());\r\n\t\tassertEquals(42, p.getID());\r\n\t}",
"@Test\r\n public void testSetValor() {\r\n \r\n }",
"@Test\r\n public void testSetOrigen() {\r\n String expResult = \"pruebaorigen\";\r\n articuloPrueba.setOrigen(expResult);\r\n assertEquals(expResult, articuloPrueba.getOrigen());\r\n }",
"@Test\r\n public void testGetMicentro() {\r\n System.out.println(\"getMicentro\");\r\n Servicio_CentroEcu instance = new Servicio_CentroEcu();\r\n CentroEcu_Observado expResult = new CentroEcu_Observado();\r\n instance.setMicentro(expResult);\r\n assertEquals(expResult, instance.getMicentro());\r\n }",
"@Test\r\n public void testSetMiservicio() {\r\n System.out.println(\"setMiservicio\");\r\n Servicio miservicio = new Servicio();\r\n miservicio.descripcion=\"gestion de vigilancia\";\r\n Servicio_CentroEcu instance = new Servicio_CentroEcu();\r\n instance.setMiservicio(miservicio);\r\n assertEquals(instance.getMiservicio().descripcion, \"gestion de vigilancia\");\r\n }",
"@Test\n public void testSetTipoSangre() {\n System.out.println(\"setTipoSangre\");\n String tipoSangre = \"\";\n Paciente instance = new Paciente();\n instance.setTipoSangre(tipoSangre);\n \n }",
"@Test\r\n public void testSetMois() {\r\n System.out.println(\"*****************\");\r\n System.out.println(\"Test : setMois\");\r\n String mois = \"octobre\";\r\n Cours_Reservation instance = new Cours_Reservation();\r\n instance.setMois(mois);\r\n assertEquals(instance.getMois(), mois);\r\n }",
"@Test\n public void testSetNombre() {\n System.out.println(\"setNombre\");\n Receta instance = new Receta();\n instance.setNombre(\"nom1\");\n String expResult = \"nom1\";\n String result = instance.getNombre();\n assertEquals(expResult, result);\n }",
"@Test\n public void testSetPersonaPaciente() {\n System.out.println(\"setPersonaPaciente\");\n Persona personaPaciente = null;\n Paciente instance = new Paciente();\n instance.setPersonaPaciente(personaPaciente);\n\n }",
"@Test\r\n public void testSetCodigo() {\r\n int expResult = 4;\r\n articuloPrueba.setCodigo(expResult);\r\n assertEquals(expResult, articuloPrueba.getCodigo());\r\n }",
"@Test\n\tpublic void testGettersAndSetters() {\n\t\tnew BeanTester().testBean(LeastCommonNodeInput.class, configuration);\n\n\t}",
"@Test\n public void testSetLugarNac() {\n System.out.println(\"setLugarNac\");\n String lugarNac = \"\";\n Paciente instance = new Paciente();\n instance.setLugarNac(lugarNac);\n \n }",
"@Test\n public void testSetPhone() {\n System.out.println(\"setPhone\");\n user.setPhone(\"110\");\n assertEquals(\"110\", user.getPhone());\n }",
"@Test\n public void test_getTelephone() {\n String value = \"new_value\";\n instance.setTelephone(value);\n\n assertEquals(\"'getTelephone' should be correct.\",\n value, instance.getTelephone());\n }",
"@Test\r\n public void testGetNombre() {\r\n String expResult = \"Mani\";\r\n articuloPrueba.setNombre(\"Mani\");\r\n String result = articuloPrueba.getNombre();\r\n assertEquals(expResult, result);\r\n }",
"@Test\n public void testSetPrenom() {\n String prenom = \"Pablo\";\n Beneficiaire instance = ben1;\n instance.setPrenom(prenom);\n assertTrue(prenom.equals(instance.getPrenom()));\n\n prenom = \"Nino\";\n instance = ben3;\n instance.setPrenom(prenom);\n assertTrue(prenom.equals(instance.getPrenom()));\n\n prenom = \"Lulu\";\n assertFalse(prenom.equals(instance.getPrenom()));\n }",
"@Test\n public void gettersAndSettersShouldWorkForEachProperty() {\n assertThat(AssignForceBatch.class, hasValidGettersAndSetters());\n }",
"@Test\n public void testSetEtnia() {\n System.out.println(\"setEtnia\");\n String etnia = \"\";\n Paciente instance = new Paciente();\n instance.setEtnia(etnia);\n\n }",
"@Test\r\n public void testGetPrecio() {\r\n int expResult = 2;\r\n articuloPrueba.setPrecio(expResult);\r\n int result = articuloPrueba.getPrecio();\r\n assertEquals(expResult, result);\r\n }",
"@Test\n\tpublic void testGetters() {\n\t\tEngine engine = new Engine(20);\n\t\tCoordinate point = new Coordinate(5,5);\n\t\tCoordinate playerLocation = engine.getMoveableObject(0).getLocation();\n\t\tint playerX = playerLocation.getX();\n\t\tint playerY = playerLocation.getY();\n\t\tassertEquals(\"failure - didn't create coordinate x-val\", 5, point.getX(), 0.0);\n\t\tassertEquals(\"failure - didn't create coordinate y-val\", 5, point.getY(), 0.0);\n\t\tassertEquals(\"failure - didn't get player's x coordinate correctly\", 3, playerX, 0.0);\n\t\tassertEquals(\"failure - didn't get player's y coordinate correctly\", 3, playerY, 0.0);\n\t\t}",
"@Test\n public void testSetValue ()\n {\n System.out.println (\"setValue\");\n String name = \"\";\n QueryDatas instance = new QueryDatas (\"nom\", \"value\");\n instance.setValue (name);\n }",
"@Test\n public void testSetUsuarioPaciente() {\n System.out.println(\"setUsuarioPaciente\");\n Usuario usuarioPaciente = null;\n Paciente instance = new Paciente();\n instance.setUsuarioPaciente(usuarioPaciente);\n\n }",
"public void testGetterAndSetter() {\n UDDIOperationInput uddiOperationInput = new UDDIOperationInput();\n\n //Test Get and Set ElementType\n QName qName = new QName(UDDI_NS_URI, \"input\");\n assertNotNull(\"getElementType was null\",\n uddiOperationInput.getElementType());\n assertTrue(\"getElementType was incorrect\",\n uddiOperationInput.getElementType().equals(qName));\n\n //Test Get and Set Required\n uddiOperationInput.setRequired(isRequired);\n assertFalse(\"getRequired returned true\",\n uddiOperationInput.getRequired());\n isRequired = true;\n uddiOperationInput.setRequired(isRequired);\n assertTrue(\"getRequired returned false\",\n uddiOperationInput.getRequired());\n\n //Test Get and Set BusinessName\n uddiOperationInput.setBusinessName(businessName);\n assertTrue(\"getBusinessName incorrect\",\n uddiOperationInput.getBusinessName().equals(businessName));\n\n //Test Get and Set ServiceName\n uddiOperationInput.setServiceName(serviceName);\n assertTrue(\"getServiceName incorrect\",\n uddiOperationInput.getServiceName().equals(serviceName));\n }",
"@Test\n public void setAndGetTest() {\n GameEntity t2 = new GameEntity(new Rectangle(10.0, 10.0));\n\n //Set and getting temp node\n t2.getView().setTranslateX(5.0);\n t2.getView().setTranslateY(5.0);\n Circle temp = new Circle(4);\n t2.setView(temp);\n assertEquals(\"Expected view to be changed\", temp, t2.getView());\n\n //Testing the alive and dead of the object\n t2.setAlive(false);\n assertEquals(\"Expected the object state to be set to dead.\", false, t2.isAlive());\n assertEquals(\"Expected the reverse of object state to be set to alive.\", true, t2.isDead());\n }",
"@Test\n public void setFishFinderOpPos(){\n Motorboot m = new Motorboot(\"boot1\",true,true);\n assertEquals(\"boot1\",m.getNaam());\n assertEquals(true,m.isRadarAanBoord());\n assertEquals(true,m.isFishFinderAanBoord());\n }",
"@Test\r\n public void testSetMaterial() {\r\n String expResult = \"pruebaMaterial\";\r\n articuloPrueba.setMaterial(expResult);\r\n assertEquals(expResult, articuloPrueba.getMaterial());\r\n }",
"@Test\n public void testSetQuantity() {\n o1.setQuantity(2);\n assertEquals(\"setQuantity failed\", 2, o1.getQuantity());\n }",
"@Test\n public void testGetter()\n {\n assertEquals(\"Virtus\",test.getPatterName());\n assertNotEquals(\"Fury\",test.getPatterName());\n }",
"@Test\r\n public void testGetOrigen() {\r\n String expResult = \"origenprueba\";\r\n articuloPrueba.setOrigen(expResult);\r\n String result = articuloPrueba.getOrigen();\r\n assertEquals(expResult, result);\r\n }",
"public void testBeforeSet() throws Exception {\r\n GroovyClassLoader gcl = new GroovyClassLoader();\r\n final Class<?> testClass = gcl.parseClass(\"class Test { def prop = 'hello' }\");\r\n GroovyObject go = (GroovyObject)testClass.newInstance();\r\n\r\n ProxyMetaClass pmc = ProxyMetaClass.getInstance(testClass);\r\n go.setMetaClass(pmc);\r\n\r\n pmc.setInterceptor( new PropertyAccessInterceptor(){\r\n\r\n public Object beforeGet(Object object, String property, InvocationCallback callback) {\r\n return null;\r\n }\r\n\r\n public void beforeSet(Object object, String property, Object newValue, InvocationCallback callback) {\r\n assertEquals(\"prop\", property);\r\n BeanWrapper bean = new BeanWrapperImpl(object);\r\n bean.setPropertyValue(\"prop\",\"success\");\r\n callback.markInvoked();\r\n }\r\n\r\n public Object beforeInvoke(Object object, String methodName, Object[] arguments, InvocationCallback callback) {\r\n return null;\r\n }\r\n\r\n public Object afterInvoke(Object object, String methodName, Object[] arguments, Object result) {\r\n return null;\r\n }\r\n });\r\n\r\n go.setProperty(\"prop\", \"newValue\");\r\n Object result = go.getProperty(\"prop\");\r\n assertNotNull(result);\r\n assertEquals(\"success\",result);\r\n }",
"@Test\r\n public void testGetMaterial() {\r\n String expResult = \"Materialprueba\";\r\n articuloPrueba.setMaterial(expResult);\r\n String result = articuloPrueba.getMaterial();\r\n assertEquals(expResult, result);\r\n }",
"@Test\r\n public void testSetProteinPerHundredGrams()\r\n {\r\n System.out.println(\"setProteinPerHundredGrams\");\r\n double proteinPerHundredGrams = 123.0;\r\n FoodBean instance = new FoodBean(5, \"Beans on toast\", \r\n Date.valueOf(\"2014-04-01\"), Time.valueOf(\"10:00:00\"), \r\n 100, 120, 5, 7, 500, 0, 3);\r\n instance.setProteinPerHundredGrams(proteinPerHundredGrams);\r\n assertEquals(proteinPerHundredGrams, instance.getProteinPerHundredGrams(), 0.0);\r\n }",
"@Test\r\n\tpublic void gettersSettersTest() {\r\n\t\tItem item = new Item();\r\n\t\titem.setCount(NUMBER);\r\n\t\tassertEquals(item.getCount(), NUMBER);\r\n\t\titem.setDescription(\"word\");\r\n\t\tassertEquals(item.getDescription(), \"word\");\r\n\t\titem.setId(NUMBER);\r\n\t\tassertEquals(item.getId(), NUMBER);\r\n\t\titem.setName(\"word\");\r\n\t\tassertEquals(item.getName(), \"word\");\r\n\t\titem.setPicture(\"picture\");\r\n\t\tassertEquals(item.getPicture(), \"picture\");\r\n\t\titem.setPrice(FLOATNUMBER);\r\n\t\tassertEquals(item.getPrice(), FLOATNUMBER, 0);\r\n\t\titem.setType(\"word\");\r\n\t\tassertEquals(item.getType(), \"word\");\r\n\t\titem.setSellerId(NUMBER);\r\n\t\tassertEquals(item.getSellerId(), NUMBER);\r\n\t\titem.setDeleted(false);\r\n\t\tassertEquals(item.isDeleted(), false);\r\n\t\titem.setDeleted(true);\r\n\t\tassertEquals(item.isDeleted(), true);\t\t\r\n\t}",
"@Test\r\n public void testGetCodigo() {\r\n int expResult = 2;\r\n articuloPrueba.setCodigo(expResult);\r\n int result = articuloPrueba.getCodigo();\r\n assertEquals(expResult, result);\r\n }",
"@Test\n\tpublic void testSet() {\n\t}",
"@Test\n\tpublic void testGettersAndSetters() {\n\t\tnew BeanTester().testBean(ShortestPathOutput.class, configuration);\n\t}",
"@Test\n public void testGetNombre() {\n System.out.println(\"getNombre\");\n Receta instance = new Receta();\n instance.setNombre(\"nom1\");\n String expResult = \"nom1\";\n String result = instance.getNombre();\n assertEquals(expResult, result);\n }",
"@Test public void setTest() throws NegativeValueException {\n PetBunny pb1 = new PetBunny(\"Floppy\", \"Holland Lop\", 3.5);\n \n pb1.setName(\"Flop\");\n pb1.setBreed(\"Other\");\n pb1.setWeight(5.0); \n \n Assert.assertEquals(\"Flop\", pb1.getName());\n Assert.assertEquals(\"Other\", pb1.getBreed());\n Assert.assertEquals(5.0, pb1.getWeight(), 0.00001);\n }",
"@Test\r\n public void testGetValorValido() {\r\n PapelMoeda instance = new PapelMoeda(100, 100);\r\n int expResult = 100;\r\n int result = instance.getValor();\r\n assertEquals(expResult, result);\r\n }",
"@Test\n public void testGetValue() {\n System.out.println(\"getValue\");\n Setting instance = null;\n Object expResult = null;\n Object result = instance.getValue();\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 }",
"@Test\n public void testSetPrice() {\n System.out.println(\"setPrice\");\n int price = 0;\n Menu instance = MenuFactory.createMenu(MenuType.FOOD, name, 14000);\n instance.setPrice(price);\n assertTrue(instance.getPrice() != 14000);\n assertTrue(instance.getPrice() == price);\n }",
"@Test\n public void testGetPrenom() {\n Beneficiaire instance = ben1;\n String expResult = \"Peter\";\n String result = instance.getPrenom();\n assertEquals(expResult, result);\n\n instance = ben3;\n expResult = \"Tai-Chin\";\n result = instance.getPrenom();\n assertEquals(expResult, result);\n\n expResult = \"Didou\";\n assertFalse(expResult.equals(result));\n }",
"@Test\n public void test_setTelephone() {\n String value = \"new_value\";\n instance.setTelephone(value);\n\n assertEquals(\"'setTelephone' should be correct.\",\n value, TestsHelper.getField(instance, \"telephone\"));\n }",
"@Test\n public void testSetIdPaciente() {\n System.out.println(\"setIdPaciente\");\n Integer idPaciente = null;\n Paciente instance = new Paciente();\n instance.setIdPaciente(idPaciente);\n \n }",
"public void testSetProperty() {\n rootBlog.setProperty(Blog.NAME_KEY, \"New name\");\n assertEquals(\"New name\", rootBlog.getProperty(Blog.NAME_KEY));\n assertEquals(\"New name\", rootBlog.getName());\n\n // and a new property\n rootBlog.setProperty(\"aNewPropertyKey\", \"A new property value\");\n assertEquals(\"A new property value\", rootBlog.getProperty(\"aNewPropertyKey\"));\n }",
"@Rubric(\n value=\"testBuildingSetAndGet\",\n goal=\"The goal of this evaluation is to testBuildingSetAndGet\",\n points=2.0,\n reference=\"This Test fails when: 1 or more of the Building.Set/Get had a problem\"\n )\n @Test(timeout=TIMEOUT)\n public void testBuildingSetAndGet() {\n Building b1 = new Building(10,20,30,40);\n assertEquals(10, b1.getLength());\n assertEquals(20, b1.getWidth());\n assertEquals(30, b1.getLotLength());\n assertEquals(40, b1.getLotWidth());\n b1.setLength(1);\n b1.setWidth(2);\n b1.setLotLength(3);\n b1.setLotWidth(4);\n assertEquals(1, b1.getLength());\n assertEquals(2, b1.getWidth());\n assertEquals(3, b1.getLotLength());\n assertEquals(4, b1.getLotWidth());\n }",
"@Test\r\n public void testSetNombreDepto() {\r\n System.out.println(\"setNombreDepto\");\r\n String nombreDepto = \"\";\r\n Departamento instance = new Departamento();\r\n instance.setNombreDepto(nombreDepto);\r\n // TODO review the generated test code and remove the default call to fail.\r\n }",
"@Test\n public void testSetNombre() {\n System.out.println(\"setNombre\");\n String nombre = \"T-3\";\n DboEdificio instance = new DboEdificio(1, \"T-3\");\n instance.setNombre(nombre);\n \n }",
"@Test\r\n public void testSetJour() {\r\n System.out.println(\"*****************\");\r\n System.out.println(\"Test : setJour\");\r\n int jour = 26;\r\n Cours_Reservation instance = new Cours_Reservation();\r\n instance.setJour(jour);\r\n assertEquals(instance.getJour(), jour);\r\n }",
"@Test\n public void testSetDor() {\n System.out.println(\"setDor\");\n Member instance = member;\n \n String dor = \"2019-11-01\";\n instance.setDor(dor);\n \n String expResult = dor;\n String result = instance.getDor();\n \n assertEquals(expResult,result);\n }",
"@Test\r\n public void testGetMois() {\r\n System.out.println(\"*****************\");\r\n System.out.println(\"Test : getMois\");\r\n Cours_Reservation instance = new Cours_Reservation();\r\n instance.setMois(\"octobre\");\r\n String expResult = \"octobre\";\r\n String result = instance.getMois();\r\n assertEquals(expResult, result);\r\n }",
"@Test\n public void testSetPagamentos() {\n }",
"@Test\r\n public void testSetPracownik() {\r\n System.out.println(\"setPracownik\");\r\n Pracownik pracownik = null;\r\n Faktura instance = new Faktura();\r\n instance.setPracownik(pracownik);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }",
"@Test\r\n public void testSetPostagePrice() {\r\n System.out.println(\"setPostagePrice\");\r\n double postagePrice = 0.0;\r\n \r\n instance.setPostagePrice(postagePrice);\r\n assertEquals(postagePrice, instance.getPostagePrice(), 0.0);\r\n \r\n }",
"@Test\n public void mainTests(){\n assertTrue(property1.getPropertyId() == id1);\n if(property1.getPropertyId() != id1) {\n property2.setPropertyId(id1);\n }\n else {\n assertTrue(property2.getPropertyId() == id2);\n }\n //Getter works Correct for ID\n }",
"@Test\n public void testGetTipoUsuario() {\n System.out.println(\"getTipoUsuario\");\n Usuario instance = new Usuario();\n Usuario.TipoUsuario expResult = Usuario.TipoUsuario.ADMIN;\n instance.setTipoUsuario(expResult);\n Usuario.TipoUsuario result = instance.getTipoUsuario();\n assertEquals(expResult, result);\n }",
"@Test\n public void testSetAddress() {\n System.out.println(\"setAddress\");\n user.setAddress(\"Tiquipaya\");\n assertEquals(\"Tiquipaya\", user.getAddress());\n }",
"@Test\n public void testSetPourcentage() {\n \n assertEquals(0.0,soin3.getPourcentage(),0.01);\n soin3.setPourcentage(0.7);\n assertEquals(0.7,soin3.getPourcentage(),0.01);\n }",
"@Test\n public void setGetPosition() {\n final CourseType courseType = new CourseType();\n final Integer POSITION = 5;\n courseType.setPosition(POSITION);\n\n assertSame(POSITION, courseType.getPosition());\n }",
"@Test\n public void testCartItemGetters() {\n int quantity = 4;\n Product p = new Product(\"test-product\", 5, new Category(\"Category1\"));\n CartItem cartItem = new CartItem(p, quantity);\n assertEquals(cartItem.getProduct(), p);\n assertEquals(cartItem.getQuantity(), quantity);\n }",
"@Test\n public void testSetManager1() {\n user1.setManager(true);\n assertEquals(\"Manager value should be true\", true, user1.isManager());\n }",
"@Test\n public void testSetValue()\n {\n when(m_AttributeModel.getType()).thenReturn(AttributeDefinition.LONG);\n m_SUT = new ConfigPropModelImpl(m_AttributeModel);\n m_SUT.setValue(5L);\n assertThat(m_SUT.getValue(), is((Object)5L));\n \n when(m_AttributeModel.getType()).thenReturn(AttributeDefinition.INTEGER);\n m_SUT = new ConfigPropModelImpl(m_AttributeModel);\n m_SUT.setValue(25);\n assertThat(m_SUT.getValue(), is((Object)25));\n \n when(m_AttributeModel.getType()).thenReturn(AttributeDefinition.SHORT);\n m_SUT = new ConfigPropModelImpl(m_AttributeModel);\n m_SUT.setValue((short)10);\n assertThat(m_SUT.getValue(), is((Object)(short)10));\n\n when(m_AttributeModel.getType()).thenReturn(AttributeDefinition.BYTE);\n m_SUT = new ConfigPropModelImpl(m_AttributeModel);\n m_SUT.setValue((byte)120);\n assertThat(m_SUT.getValue(), is((Object)(byte)120));\n \n when(m_AttributeModel.getType()).thenReturn(AttributeDefinition.DOUBLE);\n m_SUT = new ConfigPropModelImpl(m_AttributeModel);\n m_SUT.setValue(1.22);\n assertThat(m_SUT.getValue(), is((Object)1.22));\n \n when(m_AttributeModel.getType()).thenReturn(AttributeDefinition.FLOAT);\n m_SUT = new ConfigPropModelImpl(m_AttributeModel);\n m_SUT.setValue(12.5f);\n assertThat(m_SUT.getValue(), is((Object)12.5f));\n \n when(m_AttributeModel.getType()).thenReturn(AttributeDefinition.BOOLEAN);\n m_SUT = new ConfigPropModelImpl(m_AttributeModel);\n m_SUT.setValue(true);\n assertThat(m_SUT.getValue(), is((Object)true));\n \n when(m_AttributeModel.getType()).thenReturn(AttributeDefinition.CHARACTER);\n m_SUT = new ConfigPropModelImpl(m_AttributeModel);\n m_SUT.setValue('A');\n assertThat(m_SUT.getValue(), is((Object)'A'));\n \n //test invalid types\n m_SUT.setValue(null);\n assertThat(m_SUT.getValue(), is((Object)m_DefaultValues));\n m_SUT.setValue(\"\");\n assertThat(m_SUT.getValue(), is((Object)\"\"));\n }",
"@SuppressWarnings({ \"static-method\", \"nls\" })\n @Test\n public final void testGetProperty()\n {\n TestEasyPropertiesObject object = new TestEasyPropertiesObject();\n Assert.assertEquals(\"1.2.3\", object.getVersion());\n }",
"@Test\n public void testGetters()\n {\n assertEquals(\"\",test.getPlayerName());\n assertEquals(\"UseCard\",test.toString());\n assertEquals(13,test.getCardID());\n }",
"@Test\r\n public void testSetApellido() {\r\n System.out.println(\"setApellido\");\r\n String apellido = \"\";\r\n Usuario instance = new Usuario();\r\n instance.setApellido(apellido);\r\n // TODO review the generated test code and remove the default call to fail.\r\n }",
"@Test\n public void testSetPK() {\n System.out.println(\"setPK\");\n int pk = 5;\n Regime instance = r1;\n instance.setPK(pk);\n int result=instance.getPK();\n int expResult=5;\n assertEquals(expResult, result);\n }",
"public void testBeforeGet() throws Exception {\r\n GroovyClassLoader gcl = new GroovyClassLoader();\r\n final Class<?> testClass = gcl.parseClass(\"class Test { def prop = 'hello' }\");\r\n GroovyObject go = (GroovyObject)testClass.newInstance();\r\n\r\n ProxyMetaClass pmc = ProxyMetaClass.getInstance(testClass);\r\n go.setMetaClass(pmc);\r\n\r\n pmc.setInterceptor( new PropertyAccessInterceptor(){\r\n\r\n public Object beforeGet(Object object, String property, InvocationCallback callback) {\r\n callback.markInvoked();\r\n return \"success\";\r\n }\r\n\r\n public void beforeSet(Object object, String property, Object newValue, InvocationCallback callback) {\r\n // TODO Auto-generated method stub\r\n }\r\n\r\n public Object beforeInvoke(Object object, String methodName, Object[] arguments, InvocationCallback callback) {\r\n return null;\r\n }\r\n\r\n public Object afterInvoke(Object object, String methodName, Object[] arguments, Object result) {\r\n return null;\r\n }\r\n });\r\n\r\n Object result = go.getProperty(\"prop\");\r\n assertNotNull(result);\r\n assertEquals(\"success\",result);\r\n }",
"@Test\n public void testGetNombreUsuario() {\n System.out.println(\"getNombreUsuario\");\n Usuario instance = new Usuario();\n String expResult = \"usuario 1\";\n instance.setNombreUsuario(expResult);\n String result = instance.getNombreUsuario();\n assertEquals(expResult, result);\n }",
"@Test\r\n public void testSetCantidadVendidos() {\r\n int expResult = 5;\r\n articuloPrueba.setCantidadVendidos(expResult);\r\n assertEquals(expResult, articuloPrueba.getCantidadVendidos());\r\n }",
"@Test\n public void setExtraSavesExtra()\n {\n //arrange\n String expectedExtra = \"some user agent extra\";\n ProductInfo actual = new ProductInfo();\n\n //act\n actual.setExtra(expectedExtra);\n\n //assert\n assertEquals(expectedExtra, Deencapsulation.getField(actual, \"extra\"));\n }",
"@Test\r\n public void testSetAnnee() {\r\n System.out.println(\"*****************\");\r\n System.out.println(\"Test : setAnnee\");\r\n int annee = 1994;\r\n Cours_Reservation instance = new Cours_Reservation();\r\n instance.setAnnee(annee);\r\n assertEquals(instance.getAnnee(), annee);\r\n }",
"@Test\r\n public void testSetModule() {\r\n System.out.println(\"*****************\");\r\n System.out.println(\"Test : setModule\");\r\n String module = \"programmation\";\r\n Cours_Reservation instance = new Cours_Reservation();\r\n instance.setModule(module);\r\n assertEquals(module, instance.getModule());\r\n }",
"@Test\n void set_1M_pop() {\n Tests tests = new Tests();\n tests.set_1M_pop(\"664865\");\n assertEquals(\"664865\",tests.get_1M_pop());\n\n }",
"@Test\n public void testSetTipoFinal() {\n System.out.println(\"setTipoFinal\");\n String tipoFinal = \"\";\n Reserva instance = new Reserva();\n instance.setTipoFinal(tipoFinal);\n \n }",
"@Test\n\tpublic void testSettersAddress() {\n\t\tassertTrue(beanTester.testSetters());\n\t}",
"@Test\r\n public void testSetGenero() {\r\n System.out.println(\"setGenero\");\r\n String genero = \"\";\r\n Usuario instance = new Usuario();\r\n instance.setGenero(genero);\r\n // TODO review the generated test code and remove the default call to fail.\r\n }",
"@Test\r\n public void testSetSamochod() {\r\n System.out.println(\"setSamochod\");\r\n Samochod samochod = null;\r\n Faktura instance = new Faktura();\r\n instance.setSamochod(samochod);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }",
"@Test @DisplayName(\"Injector - setting (direct)\")\n void injectorSetters() throws Exception {\n val injector = injector(inj -> {\n inj.set(\"text\", \"some text\");\n inj.set(\"label\", \"a label\");\n inj.set(\"attrs\", Map.of(\"alpha\", \"one\"));\n });\n\n val injected = injector.inject(new OtherObject());\n assertEquals(\"some text\", injected.getText());\n assertEquals(\"a label\", injected.label);\n assertEquals(Map.of(\"alpha\", \"one\"), injected.getAttrs());\n }",
"@Test\r\n public void testGetterMethodSucess() throws Exception {\r\n Method m = GetterMethod.getGetter(Tumor.class, \"tumorId\");\r\n assertNotNull(m);\r\n assertEquals(\"getTumorId\", m.getName());\r\n }",
"private ReadProperty()\r\n {\r\n\r\n }",
"@Test\n public void testGetPersonaPaciente() {\n System.out.println(\"getPersonaPaciente\");\n Paciente instance = new Paciente();\n Persona expResult = null;\n Persona result = instance.getPersonaPaciente();\n assertEquals(expResult, result);\n\n }",
"public void testGetNewValue_Accuracy() {\r\n String newValue = \"newValue\";\r\n UnitTestHelper.setPrivateField(AuditDetail.class, auditDetail, \"newValue\", newValue);\r\n assertEquals(\"The newValue value should be got properly.\", newValue, auditDetail.getNewValue());\r\n }",
"@Test\n public void test16PersistentProperty() throws Exception\n {\n // test find all meta\n List<PSPersistentPropertyMeta> listMeta = ms_cms.findAllPersistentMeta();\n assertTrue(listMeta.size() == 3);\n\n // test find persistent meta by name\n listMeta = ms_cms\n .findPersistentMetaByName(PSPersistentPropertyManager.SYS_USER);\n assertTrue(listMeta.size() == 3);\n\n // test find all properties\n List<PSPersistentProperty> origProps = ms_cms.findAllPersistentProperties();\n\n String myUser = \"myUser\" + System.currentTimeMillis();\n\n // test find by name\n List<PSPersistentProperty> props = ms_cms\n .findPersistentPropertiesByName(myUser);\n assertTrue(props.size() == 0);\n\n // test insert / save property\n PSPersistentProperty prop = new PSPersistentProperty(myUser, \"sys_lang\",\n \"sys_session\", \"private\", \"admin2 sys_lang private\");\n ms_cms.savePersistentProperty(prop);\n props = ms_cms.findPersistentPropertiesByName(myUser);\n assertTrue(props.size() == 1);\n\n // test modify / update property\n String newValue = \"changed\";\n prop.setValue(newValue);\n ms_cms.updatePersistentProperty(prop);\n\n // test delete property\n ms_cms.deletePersistentProperty(prop);\n props = ms_cms.findPersistentPropertiesByName(myUser);\n assertTrue(props.size() == 0);\n\n props = ms_cms.findAllPersistentProperties();\n assertTrue(origProps.size() == props.size());\n }",
"@Test\n\tpublic static void testGetters() {\n\t\tCompoundMadeOfElementDTO idk = new CompoundMadeOfElementDTO(1, 3, 20);\n\t\tassertEquals(1, idk.getCompoundID());\n\t\tassertEquals(3, idk.getElementID());\n\t\tassertEquals(20, idk.getElementQuantity());\n\t}",
"@Test\r\n public void testSetUserOccupation()\r\n {\r\n System.out.println(\"setUserOccupation\");\r\n String userOccupation = \"Nurse\";\r\n String occupation = \"Doctor\";\r\n String[] hobbies = {\"Reading\", \"Cooking\"};\r\n int id = 5;\r\n LifeStyleBean instance = new LifeStyleBean(occupation, hobbies, id);\r\n instance.setUserOccupation(userOccupation);\r\n assertEquals(userOccupation, instance.getUserOccupation());\r\n }",
"@Test\n public void testGetSets() {\n ref.setKey(\"test23\");\n assertEquals(\"test23\", ref.getKey());\n ref.setAuthor(\"test23\");\n assertEquals(\"test23\", ref.getAuthor());\n ref.setEditor(\"test23\");\n assertEquals(\"test23\", ref.getEditor());\n ref.setTitle(\"test23\");\n assertEquals(\"test23\", ref.getTitle());\n ref.setBooktitle(\"test23\");\n assertEquals(\"test23\", ref.getBooktitle());\n ref.setYear(\"1839\");\n assertEquals(\"1839\", ref.getYear());\n ref.setPublisher(\"Otava\");\n assertEquals(\"Otava\", ref.getPublisher());\n ref.setJournal(\"test23\");\n assertEquals(\"test23\", ref.getJournal());\n ref.setVolume(\"3\");\n assertEquals(\"3\", ref.getVolume());\n ref.setNumber(\"123\");\n assertEquals(\"123\", ref.getNumber());\n ref.setSeries(\"test23\");\n assertEquals(\"test23\", ref.getSeries());\n ref.setEdition(\"3rd\");\n assertEquals(\"3rd\", ref.getEdition());\n ref.setPages(\"12-35\");\n assertEquals(\"12-35\", ref.getPages());\n ref.setMonth(\"May\");\n assertEquals(\"May\", ref.getMonth());\n ref.setNote(\"test23\");\n assertEquals(\"test23\", ref.getNote());\n }",
"@Test\n\tpublic void get_test()\n\t{\n\t\tb.set(1,2,'x');\n\t\tassertEquals(b.get(1,2),'x');\n\t}",
"@Test\n public void testSetHealthPoint() throws Exception {\n n1=10;\n n2=20;\n playerHuman.setHealthPoint(n1);\n playerIA.setHealthPoint(n2);\n org.junit.Assert.assertEquals(n1, playerHuman.getHealthPoint());\n org.junit.Assert.assertEquals(n2, playerIA.getHealthPoint());\n }",
"@Test\r\n public void testSetPolarizacaoPorAbsorcao() {\r\n System.out.println(\"setPolarizacaoPorAbsorcao\");\r\n PolarizacaoPorAbsorcao polarizacaoPorAbsorcao = new PolarizacaoPorAbsorcao();\r\n Simulacao instance = new Simulacao(TipoDPolarizacao.ABSORCAO);\r\n instance.setPolarizacaoPorAbsorcao(polarizacaoPorAbsorcao);\r\n }",
"@Before(order=0)\n\tpublic void getProperty() {\n\t\tconfigReader = new ConfigReaders();\n\t\tprop = configReader.init_prop();\n\t\t\n\t}",
"@Test\n public void testSetDob() {\n System.out.println(\"setDob\");\n Member instance = member;\n \n String dob = \"2000-01-01\"; \n instance.setDob(dob);\n \n String expResult = dob;\n String result = instance.getDob();\n \n assertEquals(expResult,result);\n }",
"@Test\n public void testGetSetName() {\n\n String name = \"name\";\n messtyp.setName(name);\n assertEquals(name, messtyp.getName());\n\n }",
"@Test\n public void testSetAge() {\n System.out.println(\"Animal.setAge\");\n animal1.setAge(20);\n animal2.setAge(5);\n assertEquals(20, animal1.getAge());\n assertEquals(5, animal2.getAge());\n }",
"@Test\n public void testGetValue ()\n {\n System.out.println (\"getValue\");\n QueryDatas instance = new QueryDatas (\"nom\", \"value\");\n String expResult = \"value\";\n String result = instance.getValue ();\n Assert.assertEquals (expResult, result);\n\n }",
"@Test\n public void testSetEstado() {\n System.out.println(\"setEstado\");\n String estado = \"\";\n Reserva instance = new Reserva();\n instance.setEstado(estado);\n \n }"
]
| [
"0.6696676",
"0.65274096",
"0.64796424",
"0.64533097",
"0.64170593",
"0.64124185",
"0.64024067",
"0.6372416",
"0.63685",
"0.6321013",
"0.6309157",
"0.6297054",
"0.6271117",
"0.6270293",
"0.62689817",
"0.62645537",
"0.6246085",
"0.6228915",
"0.62081546",
"0.61819077",
"0.6171434",
"0.61568654",
"0.6155271",
"0.61466944",
"0.6144851",
"0.613369",
"0.6090488",
"0.6081617",
"0.6063256",
"0.605218",
"0.60508555",
"0.6046619",
"0.60441434",
"0.60354596",
"0.60341483",
"0.6019673",
"0.6015718",
"0.59979707",
"0.59963274",
"0.59909207",
"0.59736294",
"0.5958176",
"0.5937336",
"0.5936517",
"0.59280574",
"0.5922434",
"0.5919503",
"0.5880599",
"0.5873807",
"0.58651197",
"0.5849802",
"0.5830603",
"0.5826402",
"0.58263177",
"0.5826307",
"0.58223933",
"0.58220416",
"0.58170587",
"0.5814362",
"0.580889",
"0.5808703",
"0.5808522",
"0.5806046",
"0.58054316",
"0.57966924",
"0.5793535",
"0.578621",
"0.5774632",
"0.57742727",
"0.57660294",
"0.576465",
"0.5763087",
"0.5756492",
"0.5756088",
"0.57510597",
"0.5745711",
"0.5743087",
"0.5736583",
"0.573451",
"0.57316875",
"0.5722744",
"0.5713545",
"0.5711579",
"0.5710927",
"0.5700401",
"0.5696619",
"0.5696377",
"0.56874037",
"0.5685436",
"0.56843764",
"0.5683186",
"0.56674033",
"0.5667026",
"0.566199",
"0.5653433",
"0.56437856",
"0.5635254",
"0.5635008",
"0.5628761",
"0.56271017"
]
| 0.65486926 | 1 |
test the get method of hashtable | public static boolean testTableGet() {
try {
for (int i = 0; i < 6; i++) {
if (!pokemonEq(table.get(testList[i].getName()), testList[i]))
return false;
}
} catch (NoSuchElementException e) {
return false;
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@org.junit.Test\n public void get() throws Exception {\n assertEquals(null, hashTable.get(\"savon\"));\n assertEquals(\"camp\", hashTable.get(\"math\"));\n hashTable.put(\"math\", \"club\");\n assertEquals(\"club\", hashTable.get(\"math\"));\n }",
"@org.junit.jupiter.api.Test\n void get() {\n HashTable hashTable = new HashTable();\n // Intentamos coger un valor inexistente\n assertNull(hashTable.get(\"0\"));\n System.out.println(hashTable);\n\n // Pedimos un elemento que no exista en la LinkedList\n assertNull(hashTable.get(\"58\"));\n System.out.println(hashTable);\n // Pedimos un elemento existente\n hashTable.put(\"1\",\"Paquito\");\n assertEquals(\"Paquito\", hashTable.get(\"1\"));\n System.out.println(hashTable);\n // Pedimos un valor que ha colisionado y existe en la LinkedList\n hashTable.put(\"34\",\"Willyrex\");\n assertEquals(\"Willyrex\", hashTable.get(\"34\"));\n System.out.println(hashTable);\n }",
"@Test\n public void test002_Insert_And_Get() {\n try {\n HashTableADT test = new HashTable<Integer, String>();\n test.insert(1, \"2\");\n test.insert(2, \"3\");\n test.insert(3, \"4\");\n if (test.get(1) != \"2\") { //checks if get returns the correct values\n fail(\"insert or get didn't work\");\n }\n if (test.get(2) != \"3\") {\n fail(\"insert or get didn't work\");\n }\n if (test.get(3) != \"4\") {\n fail(\"insert or get didn't work\");\n }\n } catch (Exception e) {\n fail(\"Exception shouldn't be thrown\");\n }\n }",
"@Test\n\tpublic void get_test()\n\t{\n\t\tb.set(1,2,'x');\n\t\tassertEquals(b.get(1,2),'x');\n\t}",
"@Test\n public void testGet()\n {\n SsOhMap m = new SsOhMap();\n m.put(\"a\", \"1\");\n m.put(\"b\", \"2\");\n m.put(\"a\", \"3\");\n\n assertEquals(\"3\", m.get(\"a\"));\n m.free();\n }",
"public void testGet() throws Exception {\n\t\tLOGGER.info(\"TestDictionay.testGet()\");\n\t\tDictionaryLZW dict = new DictionaryLZW();\n\t\tdict.addEntry(\"AT\");\n\t\tdict.addEntry(\"AA\");\n\t\tfor (int i = 1; i < dict.size(); i++) {\n\t\t\tString val = dict.getStringAt(i);\n\t\t\tAssert.assertEquals(i, dict.findEntry(val));\n\t\t}\n\t\t// Now some bad attempts. Boundary errors will throw, so catch them here\n\t\t// and assert if there was not a throw.\n\t\t// This test might need maintenance as the dictionary data structure changes.\n\t\t// IndexOutOfBoundsException is fairly general, so it may work still.\n\t\tboolean caught = false;\n\t\ttry {\n\t\t\tdict.getStringAt(-1);\n\t\t} catch (IndexOutOfBoundsException e) {\n\t\t\tcaught = true;\n\t\t}\n\t\tAssert.assertTrue(caught);\n\t\tcaught = false;\n\t\ttry {\n\t\t\tdict.getStringAt(29);\n\t\t} catch (IndexOutOfBoundsException e) {\n\t\t\tcaught = true;\n\t\t}\n\t\tAssert.assertTrue(caught);\n\n\t}",
"public void testGet() {\n System.out.println(\"get\");\n String key = \"\";\n int modo= 0;\n ObjectTempSwapWizard instance = new ObjectTempSwapWizard(modo);\n Object expResult = null;\n Object result = instance.get(key);\n assertEquals(expResult, result);\n }",
"@Test\n public void testGet() throws Exception {\n map.set(\"key-1\", \"value-1\", 10);\n \n Assert.assertEquals(map.get(\"key-1\"), \"value-1\");\n \n map.set(\"key-1\", \"value-2\", 10);\n \n Assert.assertEquals(map.get(\"key-1\"), \"value-2\");\n \n map.set(\"key-2\", \"value-1\", 10);\n \n Assert.assertEquals(map.get(\"key-2\"), \"value-1\");\n }",
"@Test\n public void get() throws Exception {\n CollisionList list = new CollisionList();\n list.add(\"key\", \"value\");\n assertEquals(\"value\", list.get(\"key\"));\n }",
"@SneakyThrows\n\t@Test\n\tpublic void testHsetTtl() {\n\t\tString value = JedisUtils.HASH.hget(\"testMap\", \"testField\");\n\t\tassertNull(value);\n\t}",
"@Test\n public void testPutGet() {\n cache.put(\"A\", \"first\");\n cache.put(\"C\", \"second\");\n cache.put(\"C\", \"third\");\n \n assertEquals(\"first\", cache.get(\"A\"));\n assertEquals(\"third\", cache.get(\"C\"));\n }",
"public void testMapGet() {\r\n }",
"protected abstract Object _get(String key);",
"@Test\r\n void test3(){\r\n HashDictionary D=new HashDictionary();\r\n D.set(8,9);\r\n assertEquals(D.set(8,7),9);\r\n }",
"@Test\r\n public void testGet() {\r\n System.out.println(\"get\");\r\n int index = 1;\r\n Number n3 = nc1.get(index);\r\n assertEquals(n1.getNumber(), n3.getNumber());\r\n \r\n }",
"@Test\n\tpublic void testGet() {\n\t\tWellRegistryKey well = new WellRegistryKey(\"USGS\", \"402734087033401\"); // was 007\n\t\tWellDataType type = WellDataType.WATERLEVEL;\n\t\tCacheMetaData cmd = dao.get(well, type);\n\t\t\n\t\tassertNotNull(\"expected some meta data\",cmd);\n\t\tSystem.out.printf(\"Got successCt=%d, failCt=%d, last attempt=%s\\n\", cmd.getSuccessCt(), cmd.getFailCt(), cmd.getMostRecentAttemptDt());\n\t\tassertEquals(\"Agency code\", \"USGS\", cmd.getAgencyCd());\n\t\tassertEquals(\"Site no\", \"402734087033401\", cmd.getSiteNo());\n\t\tassertTrue(\"non-negative fail count\", cmd.getFailCt() >= 0);\n\t\tassertTrue(\"non-negative success count\", cmd.getSuccessCt() >= 0);\n\t\t\n\t}",
"@Test \n\tpublic void get() \n\t{\n\t\tassertTrue(true);\n\t}",
"@Test\n public void testCoh3710_get()\n {\n doExpiryOpTest(new Runnable()\n {\n public void run()\n {\n assertNull(getNamedCache(getCacheName0()).get(Integer.valueOf(1)));\n }\n });\n }",
"@Test \n public void testGet() {\n System.out.println(\"get\");\n al.add(1);\n al.add(8);\n Integer a = 1;\n Integer b = 8;\n assertEquals(a, al.get(0));\n assertEquals(b, al.get(1));\n \n }",
"@Test\n void testGetReturnsRightValueAfterMultiplePuts() {\n MyList l = new MyList();\n for (int i = 0; i < 10; i++)\n l.put(\"key\" + i, \"value\" + i);\n\n assertEquals(\"value4\", l.get(\"key4\"));\n }",
"Object get(Object key) throws NullPointerException;",
"public abstract T get(String key);",
"@Test\n public void testGet_03() {\n System.out.println(\"get\");\n SkillsList instance = new SkillsList();\n Skill result = instance.get(\"Java\");\n assertTrue(result==null);\n }",
"@Test\n\tpublic void testGetAccessReodersElement() {\n\t\tmap.get(\"key1\");\n\n\t\tSet<String> keySet = map.keySet();\n\t\tassertEquals(\"Calling get on an element did not move it to the bottom\", \"key1\",\n\t\t\tkeySet.iterator().next());\n\n\t\t// move 2 to the top/front\n\t\tmap.get(\"key2\");\n\t\tassertEquals(\"Calling get on an element did not move it to the bottom\", \"key2\",\n\t\t\tkeySet.iterator().next());\n\t}",
"@Test(expected = Exception.class)\n public void test() throws Exception {\n\n new HashMap<>();\n MyHashTable2 mp = new MyHashTable2();\n mp.put(\"prem\",7);\n mp.put(\"radha\",72);\n mp.put(\"geeta\",74);\n mp.put(\"sunita\",76);\n mp.put(\"atul\",87);\n mp.put(\"rakesh\",37);\n mp.put(\"aklesh\",72);\n\n // try to add duplicate keys and test exception\n mp.put(\"aklesh\",72);\n\n\n assert 7 == mp.get(\"prem\");\n assert 72 == mp.get(\"aklesh\");\n assert 87 == mp.get(\"atul\");\n assert null == mp.get(\"noting\");\n\n System.out.println(mp.getKeySet());\n\n mp.prettyPrint();\n }",
"@Test\n public void get() {\n Object str = redisUtil.get(\"key\");\n System.out.println(str);\n }",
"@Test\n void testGetReturnsNull() {\n MyList l = new MyList();\n l.put(\"key\", \"value\");\n\n assertEquals(null, l.get(\"not key\"));\n }",
"private void doAPITest(Map<Object,Object> table) {\n\t\tint size = table.size();\n\t\tObject key, value;\n\t\t\n\t\tMap<Object,Object> clone = cloneMap(table);\n\t\t\n\t\t// retrieve values using values()\n\t\tCollection<Object> values = table.values();\n\t\t\n\t\t// retrieve keys using keySet()\n\t\tSet<Object> keySet = table.keySet();\t\t\n\t\tObject[] keySetArray = keySet.toArray();\n\t\t\n\t\tint step = 1 + random.nextInt(5);\n\t\t\n\t\tfor (int i=0; i<keySetArray.length; i=i+step)\n\t\t{\n\t\t\tkey = keySetArray[i];\n\t\t\t// retrieve value\n\t\t\tvalue = table.get(key);\n\t\t\t\n\t\t\t// assert value is in the table\n\t\t\tassertTrue(table.containsValue(value));\n\t\t\t/*\n\t\t\t * assertTrue(table.contains(value)); // Removed as not supported by the Map interface, and identical to containsValue\n\t\t\t * if value is a wrapped key then check it's equal \n\t\t\t * to the key \n\t\t\t */\n\t\t\tif (value instanceof CustomValue)\n\t\t\t{\n\t\t\t\tassertEquals(key, ((CustomValue)value).key);\n\t\t\t}\n\t\t\t\n\t\t\t// count how many occurrences of this value there are\n\t\t\tint occurrences = numberOccurrences(values, value);\n\t\t\t\n\t\t\t// find the Map.Entry\n\t\t\tSet<Map.Entry<Object, Object>> entrySet = table.entrySet();\n\t\t\tIterator<Map.Entry<Object, Object>> entrySetIterator = entrySet.iterator();\n\t\t\tMap.Entry<Object,Object> entry = null;\n\t\t\tdo\n\t\t\t{\n\t\t\t\tentry = entrySetIterator.next();\n\t\t\t} while (!entry.getKey().equals(key));\n\t\t\t\n\t\t\t// remove from table in different ways\n\t\t\tswitch (i % 3)\n\t\t\t{\n\t\t\tcase 0:\n\t\t\t\ttable.remove(key);\n\t\t\t\tbreak;\n\t\t\tcase 1:\n\t\t\t\tkeySet.remove(key);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\t\n\t\t\t\tentrySet.remove(entry);\n\t\t\t}\n\t\t\t\n\t\t\t// assert key is no longer in the table\n\t\t\tassertFalse(table.containsKey(key));\n\t\t\t// assert key is no longer in the keyset\n\t\t\tassertFalse(keySet.contains(key));\n\t\t\t// assert key is no longer in the entrySet\n\t\t\tassertFalse(entrySet.contains(entry));\n\t\t\t\n\t\t\t// assert that there's one fewer of this value in the hashtable\n\t\t\tassertEquals(occurrences, numberOccurrences(values, value) + 1);\n\t\t\t\n\t\t\t// re-insert key\n\t\t\ttable.put(key, value);\n\t\t\t\n\t\t\t// assert key is in the table\n\t\t\tassertTrue(table.containsKey(key));\n\t\t\t// assert key is in the keyset\n\t\t\tassertTrue(keySet.contains(key));\n\t\t\t// assert EntrySet is same size\n\t\t\tassertEquals(size, entrySet.size());\n\t\t}\n\t\t\n\t\t// test hashtable is the same size\n\t\tassertEquals(size, table.size());\n\t\t\n\t\t// test keySet is expected size\n\t\tassertEquals(size, keySet.size());\n\t\t\n\t\t// retrieve keys using keys()\n\t\tIterator<?> keys = table.keySet().iterator();\n\t\t\n\t\t// remove a subset of elements from the table. store in a map\n\t\tint counter = table.size() / 4;\n\t\tMap<Object,Object> map = new HashMap<Object, Object>();\n\t\twhile (keys.hasNext() && counter-- >= 0)\n\t\t{\n\t\t\tkey = keys.next();\n\t\t\tvalue = table.get(key);\n\t\t\tmap.put(key, value);\n\t\t\tkeys.remove(); // removes the most recent retrieved element\n\t\t}\n\t\t// re-add the elements using putAll\n\t\ttable.putAll(map);\n\t\t\n\t\t// test equal to copy\n\t\tassertEquals(clone, table);\n\t\t\n\t\t// clear the copy\n\t\tclone.clear();\n\t\t\n\t\t// assert size of clone is zero\n\t\tassertEquals(0, clone.size());\n\t\t\n\t\t// assert size of original is the same\n\t\tassertEquals(size, table.size());\n\t}",
"@Override\r\n public V get(Object key) {\r\n return get(key,table);\r\n }",
"@Test\r\n public void testGetMarks() {\r\n System.out.println(\"getMarks\");\r\n Student instance = new Student();\r\n HashMap<String, Integer> expResult = null;\r\n HashMap<String, Integer> result = instance.getMarks();\r\n assertEquals(expResult, result);\r\n \r\n }",
"@Test\n public void testGetCoinTypeList() throws Exception {\n\n Map<Long,VirtualCoin> map;\n map = CacheHelper.getObj(CacheKey.VIRTUAL_COIN_ALL_KEY);\n Boolean flag = false;\n if (map == null){\n flag = true;\n }\n System.out.println(\"sdafds = \" + flag );\n }",
"@Test\n public void mapGet() {\n check(MAPGET);\n query(MAPGET.args(MAPNEW.args(\"()\"), 1), \"\");\n query(MAPGET.args(MAPENTRY.args(1, 2), 1), 2);\n }",
"private void testGet() {\n System.out.println(\"------ TESTING: get(int index) ------\");\n System.out.println(\"Expected: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 \");\n System.out.print(\"Returned: \");\n try{\n for(int i = 0; i < iSize; i++) {\n if (iTestList.get(i) != i)\n throw new RuntimeException(\"FAILED -> get value is not working correctly\");\n else\n System.out.print(iTestList.get(i) + \" \");\n }\n // test to see if we can get values out of bounds\n iTestList.get(-9);\n iTestList.get(iSize+10);\n }catch (RuntimeException e){\n System.out.print(e.getMessage());\n }\n System.out.print(\"\\n\");\n }",
"@Test\n public void getHead() throws Exception {\n CollisionList list = new CollisionList();\n list.add(\"key\", \"value\");\n assertEquals(\"key\", list.getHead().getKey());\n }",
"Object get(Object key);",
"@Test\n public void testCoh3710_getAll()\n {\n doExpiryOpTest(new Runnable()\n {\n public void run()\n {\n assertEquals(NullImplementation.getMap(),\n getNamedCache(getCacheName0()).getAll(\n Collections.singleton(Integer.valueOf(1))));\n }\n });\n }",
"T get(String key);",
"@Before\r\n public void test_change(){\r\n HashTable<String,String> table = new HashTable<>(1);\r\n MySet<String> s = (MySet<String>) table.keySet();\r\n table.put(\"AA\",\"BB\");\r\n table.put(\"AA\",\"CC\");\r\n assertTrue(s.contains(\"AA\"));\r\n table.remove(\"AA\");\r\n assertFalse(s.contains(\"AA\"));\r\n }",
"public void testLookups() throws Exception {\n // value equality\n result = eval(\"key = 'a'; hash = {key => 'one'}; hash.store('a', 'two'); puts hash[key]\");\n assertEquals(\"two\", result);\n result = eval(\"key = [1,2]; hash = {key => 'one'}; hash[[1,2]] = 'two'; puts hash[key]\");\n assertEquals(\"two\", result);\n result = eval(\"key = :a; hash = {key => 'one'}; hash[:a] = 'two'; puts hash[key]\");\n assertEquals(\"two\", result);\n result = eval(\"key = 1234; hash = {key => 'one'}; hash[1234] = 'two'; puts hash[key]\");\n assertEquals(\"two\", result);\n result = eval(\"key = 12.4; hash = {key => 'one'}; hash[12.4] = 'two'; puts hash[key]\");\n assertEquals(\"two\", result);\n result = eval(\"key = 19223372036854775807; hash = {key => 'one'}; hash[19223372036854775807] = 'two'; puts hash[key]\");\n assertEquals(\"two\", result);\n // identity equality\n result = eval(\"key = /a/; hash = {key => 'one'}; hash[/a/] = 'two'; puts hash[key]\");\n assertEquals(\"one\", result);\n result = eval(\"key = (1..3); hash = {key => 'one'}; hash[(1..3)] = 'two'; puts hash[key]\");\n assertEquals(\"two\", result);\n }",
"@Test\n public void testGetKey()\n { \n assertThat(m_SUT.getKey(), is(\"test key\"));\n }",
"@Override\n\tpublic Thing get(String hash) {\n\t\treturn null;\n\t}",
"T get(String key) throws IOException;",
"@Test(expected = DataRetrievalFailureException.class)\n public void testGet() {\n // given\n // No current value\n\n // when\n redisAtomicIntegerExampleBean.get();\n }",
"public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\tHashtable h1= new Hashtable();\n\t\th1.put(1,\"Tom\");\n\t\th1.put(2,\"Jerry\");\n\t\th1.put(3,\"Harry\");\n\t\t//create Clone/Shallow copy\n\t\tHashtable h2= new Hashtable();\n\t\th2=(Hashtable)h1.clone();\n\t\th1.clear();\n\t\t\n\t\tSystem.out.println(\"The value from h1:\"+ h1);\n\t\tSystem.out.println(\"The value from h2:\"+ h2);\n\t\t\n\t\t//Contains value\n\t\t\n\t\tHashtable h3=new Hashtable();\n\t\th3.put(\"A\", \"Selenium\");\n\t\th3.put(\"B\", \"Sahi\");\n\t\th3.put(\"C\", \"RFT\");\n\t\t\n\t\tif(h3.containsValue(\"Sahi\")){\n\t\t\tSystem.out.println(\"yes calue is present\");\n\t\t}\n\t\t\n\t\t//Print all the key and value of the Hashtable\n\t\tEnumeration e=h3.elements();\n\t\tSystem.out.println(\"Print values from h3\");\n\t\twhile(e.hasMoreElements()){\n\t\t\tSystem.out.print(e.nextElement());\n\t\t}\n\t\t// Print using entryset\n\t\tSet s=h3.entrySet();\n\t\tSystem.out.println(s);\n\t\t\n\t\t//check both hastable are equal or not\n\t\tHashtable h4=new Hashtable();\n\t\th4.put(\"A\", \"Selenium\");\n\t\th4.put(\"B\", \"Sahi\");\n\t\th4.put(\"C\", \"RFT\");\n\t\t\n\t\tif(h3.equals(h4)){\n\t\t\tSystem.out.println(\"Yes h3 and h4 are equal\");\n\t\t}\n\t\t\n\t\t//get key \n\t\tSystem.out.println(h4.get(\"A\"));\n\t\t\n\t\t//Hashcode value of hashtable\n\t\tSystem.out.println(h3.hashCode());\n\t\t\n\t\t\n\t\t\n\t}",
"@Test\n\tpublic void testGet() {\n\t\tdouble result = m1.get(2, 1);\n\t\tassertEquals(-0.2, result, 0.000001);\n\t}",
"@Test\n public void testGetTabla() {\n System.out.println(\"getTabla\");\n Huffman instance = null;\n byte[][] expResult = null;\n byte[][] result = instance.getTabla();\n \n // TODO review the generated test code and remove the default call to fail.\n \n }",
"@Test\n public void testGetTable() {\n System.out.println(\"getTable\");\n Resource instance = new ResourceImpl();\n String expResult = \"\";\n String result = instance.getTable();\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 }",
"@Override\r\n public ValueType get(KeyType key) throws NoSuchElementException {\r\n // if capacity is 0, throw an exception\r\n if (capacity == 0) {\r\n throw new NoSuchElementException(\"No Match Found\");\r\n }\r\n\r\n int index = hashFunction(key); // the index of the pair in the hashTable\r\n\r\n // If the linked list at the index is null, target is not exist, and throw an exception.\r\n if (hashTable[index] == null) {\r\n throw new NoSuchElementException(\"No Match Found\");\r\n }\r\n\r\n // Find the target in the linked list. If found, return the value, if not found, throw an exception.\r\n for (HashNode node : hashTable[index]) {\r\n if (node.key.equals(key)) {\r\n return node.value;\r\n }\r\n }\r\n throw new NoSuchElementException(\"No Match Found\");\r\n }",
"@Test\n public void testContainsKey() {\n System.out.println(\"containsKey\");\n \n // GIVEN\n SimpleStyleableMap instance = new SimpleStyleableMap();\n \n // WHEN getOrDefault and no value has been put\n Object key = \"dummyKey\";\n boolean result = instance.containsKey(key);\n \n // THEN must return false\n assertEquals(false, result);\n \n // WHEN getOrDefault and a value has been put\n Object putValue=\"putValue\";\n instance.put(key, putValue );\n result = instance.containsKey(key);\n \n // THEN must returnt rue\n assertEquals(true, result);\n \n // WHEN key is removed\n instance.remove(key);\n result = instance.containsKey(key);\n // THEN must return default value\n assertEquals(false, result);\n }",
"Object get(String key);",
"Object get(String key);",
"public String get (String key) {\r\n // String gets hashed to become hashed key, which is the index to find the linked list\r\n int arrIndex = hash(key);\r\n\r\n if (hashTableArray[arrIndex] == null) {\r\n hashTableArray[arrIndex] = new LinkedList<>();\r\n }\r\n for (int i = 0; i < hashTableArray[arrIndex].size(); i++) {\r\n // if at i the key in the hashtable is the same as the key that is supplied, return the value\r\n if (hashTableArray[arrIndex].get(i).key.equals(key)){\r\n return hashTableArray[arrIndex].get(i).value;\r\n }\r\n }\r\n return null;\r\n }",
"public static void main(String[] args)\n {\n Hashtable<String, Integer> ht = new Hashtable<>();\n\n // Add elements to the hashtable\n ht.put(\"Palak\", 10);\n ht.put(\"Soumya\", 30);\n ht.put(\"Kalash\", 20);\n\n // Print size and content\n System.out.println(\"Size of map is:- \" + ht.size());\n System.out.println(ht);\n\n // Check if a key is present and if\n // present, print value\n if (ht.containsKey(\"Palak\")) {\n Integer a = ht.get(\"Palak\");\n System.out.println(\"value for key\" + \" \\\"Palak\\\" is:- \" + a);\n }\n }",
"public static void main(String[] args) {\n\t\tHashtable h = new Hashtable();\n\t\th.put(\"A\", \"Test\");//h.put(key, value);\n\t\th.put(\"B\", \"Hello\");\n\t\th.put(\"C\", \"World\");\n\t\tSystem.out.println(h.size());\n\t\t\n\t\th.put(1, 100);//put to insert data\n\t\th.put(2, 200);\n\t\th.put(3, 300);\n\t\th.put(4, 400);\n\t\tSystem.out.println(h.size());\n\t\t\n\t\tSystem.out.println(h.get(2));\n\t\tSystem.out.println(h.get(\"C\"));\n\t\t\n\t\t//to restrict type it could take\n\t\tHashtable<Integer,String> h1 = new Hashtable<Integer,String>();\n\t\th1.put(10, \"Cute\");\n\t\tSystem.out.println(h1.get(10));\n\t}",
"public void get() {\n }",
"@Test\n @Override\n public void testMapGet() {\n }",
"public static void main(String[] args) {\n\t\t\r\n\t\t Hashtable<String, String> hm = new Hashtable<String, String>();\r\n\t //add key-value pair to Hashtable\r\n\t hm.put(\"first\", \"FIRST INSERTED\");\r\n\t hm.put(\"second\", \"SECOND INSERTED\");\r\n\t hm.put(\"third\",\"THIRD INSERTED\");\r\n\t // hm.put(null,null); Throw run time error - NullPointer Exception\r\n\t Iterator it = (Iterator) hm.keys();\r\n\t System.out.println(\"My Hashtable content:\");\r\n\t System.out.println(hm); // Display the contents by key wise reverse order\r\n\t //Checking Keys\r\n\t if(hm.containsKey(\"first\")){\r\n\t System.out.println(\"The Hashtable contains key first\");\r\n\t } else {\r\n\t System.out.println(\"The Hashtable does not contains key first\");\r\n\t }\r\n\t // Checking Value \r\n\t if(hm.containsValue(\"SECOND INSERTED\")){\r\n\t System.out.println(\"The Hashtable contains value SECOND INSERTED\");\r\n\t } else {\r\n\t System.out.println(\"The Hashtable does not contains value SECOND INSERTED\");\r\n\t }\r\n\t //Clearing Items\r\n\t \r\n\t System.out.println(\"Clearing Hashtable:\");\r\n\t hm.clear();\r\n\t System.out.println(\"Content After clear:\");\r\n\t System.out.println(hm);}",
"public static void main(String[] args) {\n HashTableChained hashtable = new HashTableChained();\n int i = 1;\n while (i <= 50) {\n int rando = (int) Math.random() * 1000;\n hashtable.insert(new Integer(rando), \"TestVal\");\n i++;\n }\n hashtable.insert(\"Robby\", \"This is the one.\");\n while (i <= 1000) {\n int rando = (int) Math.random() * 1000;\n hashtable.insert(new Integer(rando), \"TestVal\");\n i++;\n }\n System.out.println(hashtable.size());\n System.out.println(hashtable.find(\"Robby\").value());\n }",
"public Value get(Key key) ;",
"@org.junit.Test\n public void contains() throws Exception {\n assertEquals(true, hashTable.contains(\"Blue\"));\n assertEquals(false, hashTable.contains(\"blue\"));\n }",
"@Test\n public void testGetHomeCommunityName() {\n String homeCommunityId = \"1.1\";\n String homeCommunityName = \"DoD\";\n \n String foundName = hMap.getHomeCommunityName(homeCommunityId);\n assertEquals(homeCommunityName, foundName);\n\n homeCommunityId = \"123456\";\n foundName = hMap.getHomeCommunityName(homeCommunityId);\n assertEquals(\"\", foundName);\n }",
"public Object get(String key);",
"public Result get(Get get) throws IOException;",
"@Test\n public void test004_test_numKeys() {\n try {\n HashTableADT test = new HashTable<Integer, String>();\n if (test.numKeys() != 0) {\n fail(\"numKeys not correct\");\n }\n test.insert(1, \"2\");\n if (test.numKeys() != 1) {\n fail(\"numKeys not correct\");\n }\n test.insert(2, \"3\");\n if (test.numKeys() != 2) {\n fail(\"numKeys not correct\");\n }\n test.insert(3, \"4\");\n if (test.numKeys() != 3) {\n fail(\"numKeys not correct\");\n }\n test.remove(2);\n if(test.numKeys() != 2) {\n fail(\"numKeys not correct\");\n }\n } catch (Exception e) {\n fail(\"Exception shouldn't be thrown\");\n }\n }",
"private void testGet() {\n init();\n assertTrue(\"FListInteger.get(l1, 0)\", FListInteger.get(l1, 0) == 5);\n assertTrue(\"FListInteger.get(l2, 0)\", FListInteger.get(l2, 0) == 4);\n assertTrue(\"FListInteger.get(l3, 0)\", FListInteger.get(l3, 0) == 7);\n }",
"private static void LessonHash() {\n\n System.out.println(\"---Hash Table---\");\n\n Hashtable<Integer, String> oopPrinciples = new Hashtable<>();\n oopPrinciples.put(1, \"Inheritance\");\n oopPrinciples.put(2, \"Polymorphism\");\n oopPrinciples.put(3, \"Abstraction\");\n oopPrinciples.put(4, \"Encapsulation\");\n //oopPrinciples.put(5, null); // throws null pointer execption\n\n //Single output from hashtable\n System.out.println(oopPrinciples.get(3));\n\n //All values\n for(Integer key : oopPrinciples.keySet()) {\n System.out.println(oopPrinciples.get(key));\n };\n System.out.println(\"----------------\");\n\n // Key-Value Pairs / Value List\n /*\n Hash Map\n 1.) Does allow null for either key or value\n 2.) unsynchronized, not thread safe, but performance is better\n */\n\n System.out.println(\"---Hash Map---\");\n\n HashMap<Integer, String> oopPrinciples2 = new HashMap<>();\n oopPrinciples2.put(1, \"Inheritance\");\n oopPrinciples2.put(2, \"Polymorphism\");\n oopPrinciples2.put(3, \"Abstraction\");\n oopPrinciples2.put(4, \"Encapsulation\");\n oopPrinciples2.put(5, null);\n\n //Single output from hashtable\n System.out.println(oopPrinciples2.get(3));\n\n //All values\n for(Integer key : oopPrinciples.keySet()) {\n System.out.println(oopPrinciples.get(key));\n };\n System.out.println(\"----------------\");\n\n // Key-Value Pairs / Value List\n /*\n Hash Set\n 1.) Built in mechanism for duplicates\n 2.) used for when you wanna maintain unique list\n */\n\n System.out.println(\"---Hash Set---\");\n\n HashSet<String> oopPrinciples3 = new HashSet<>();\n oopPrinciples3.add(\"Inheritance\");\n oopPrinciples3.add(\"Polymorphism\");\n oopPrinciples3.add(\"Abstraction\");\n oopPrinciples3.add(\"Encapsulation\");\n\n //Single output from hashtable\n System.out.println(oopPrinciples3);\n\n //All values\n for(String s : oopPrinciples3) {\n System.out.println(s);\n }\n\n if(oopPrinciples.contains(\"Inheritance\")) {\n System.out.println(\"Value does exist!\");\n } else {\n System.out.println(\"Value does not exist!\");\n }\n\n System.out.println(\"----------------\");\n }",
"@Test\r\n public void testGetSlot() {\r\n System.out.println(\"getSlot\");\r\n int s = 0;\r\n Table instance = new Table(\"S\",2);\r\n String expResult = \"10-11\";\r\n String result = instance.getSlot(s);\r\n assertEquals(expResult, result);\r\n \r\n }",
"ISObject get(String key);",
"@org.junit.Test\n public void put() throws Exception {\n for (int i = 0; i < 2_000_000; i++) {\n hashTable.put(Integer.toString(i), Integer.toString(i));\n }\n\n for (int i = 0; i < 2_000_000; i++) {\n assertEquals(true, hashTable.contains(Integer.toString(i)));\n }\n}",
"@Test\n\tpublic void testGet() {\n\t\tassertTrue(LevelGen.connected(LevelGen.get(100, 100)));\n\t}",
"private void get(String key){\n KeyValueObj obj = this.handler.getObj(key);\n if (obj == null){\n System.out.println(\"[User] value with key \" + key + \" was not found\");\n return;\n }\n System.out.println(obj.toString());\n }",
"public static void main(String[] args)\r\n\t{\n\t\t\r\n\t\tHashtable hashtableObj = new Hashtable();\r\n\t\thashtableObj.put(new CustomKey(5), \"A\");\r\n\t\thashtableObj.put(new CustomKey(2), \"B\");\r\n\t\thashtableObj.put(new CustomKey(6), \"C\");\r\n\t\thashtableObj.put(new CustomKey(15), \"D\");\r\n\t\thashtableObj.put(new CustomKey(23), \"E\");\r\n\t\thashtableObj.put(new CustomKey(16), \"F\");\r\n//\t\thashtableObj.put(\"Bas\", null); //java.lang.NullPointerException\r\n\t\tSystem.out.println(hashtableObj); // hashcode ret value is i =>{6=C, 16=F, 5=A, 15=D, 2=B, 23=E} based on size of Hashtable is 11 and (i %11)\r\n\t\t\t\t\t\t\t\t\t\t// if the return value of hashCode is (i %9) then outputs is => {16=F, 15=D, 6=C, 23=E, 5=A, 2=B}\r\n\t}",
"@Test\r\n\tpublic void testGet() {\r\n\t\tAssert.assertTrue(list.get(2).equals(new Munitions(2, 3, \"iron\")));\r\n\t}",
"@Test\n\tpublic void testHashMap() {\n\n\t\t/*\n\t\t * Creates an empty HashMap object with default initial capacity 16 and default\n\t\t * fill ratio \"0.75\".\n\t\t */\n\t\tHashMap hm = new HashMap();\n\t\thm.put(\"evyaan\", 700);\n\t\thm.put(\"varun\", 100);\n\t\thm.put(\"dolly\", 300);\n\t\thm.put(\"vaishu\", 400);\n\t\thm.put(\"vaishu\", 300);\n\t\thm.put(null, 500);\n\t\thm.put(null, 600);\n\t\t// System.out.println(hm);\n\n\t\tCollection values = hm.values();\n//\t\tSystem.out.println(values);\n\n\t\tSet entrySet = hm.entrySet();\n\t\t// System.out.println(entrySet);\n\n\t\tIterator iterator = entrySet.iterator();\n\t\twhile (iterator.hasNext()) {\n\t\t\tMap.Entry entry = (Map.Entry) iterator.next();\n\t\t\t// System.out.println(entry.getKey()+\":\"+entry.getValue());\n\t\t}\n\n\t}",
"@org.junit.Test\n public void size() throws Exception {\n assertEquals(3, hashTable.size());\n hashTable.put(\"math\", \"club\");\n assertEquals(3, hashTable.size());\n hashTable.put(\"input\", \"string\");\n assertEquals(4, hashTable.size());\n }",
"@Test\n public void test003_test_loadFactor() {\n try {\n HashTableADT test = new HashTable<Integer, String>();\n test.insert(1, \"2\");\n test.insert(2, \"3\");\n test.insert(3, \"4\");\n if (test.getLoadFactor() != (double) 3 / 11) {\n fail(\"loadFactor not correct\");\n }\n } catch (Exception e) {\n fail(\"Exception shouldn't be thrown\");\n }\n }",
"@Test\n public void test2 ()\n {\n MyMap m = new MyMap();\n m.put(\"a\", \"1\");\n m.put(\"b\", \"2\");\n m.put(\"a\", \"3\");\n assertEquals(2, m.size());\n assertEquals(\"3\", m.get(\"a\"));\n assertEquals(\"2\", m.get(\"b\"));\n assertNull(m.get(\"c\"));\n }",
"@Test\r\n public void testGetCapacity() {\r\n System.out.println(\"getCapacity\");\r\n Table instance = new Table(\"S\",2);\r\n int expResult = 2;\r\n int result = instance.getCapacity();\r\n assertEquals(expResult, result);\r\n \r\n }",
"public Object get(Object key) {\n\t\tint index = key.hashCode() % SLOTS;\n\t\t// check if key is already present in that slot/bucket.\n\t\tfor(Pair p:table[index]) {\n\t\t\tif(key.equals(p.key))\n\t\t\t\treturn p.value;\n\t\t}\n\t\t// if not found, return null\n\t\treturn null;\n\t}",
"@Test\n public void testGetIndex() {\n System.out.println(\"getIndex\");\n Data instance = null;\n ArrayList<IndexKey> expResult = null;\n ArrayList<IndexKey> result = instance.getIndex();\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 }",
"@Test\n\tpublic void testPutAccessReodersElement() {\n\t\tmap.put(\"key1\", \"value1\");\n\n\t\tSet<String> keySet = map.keySet();\n\t\tassertEquals(\"Calling get on an element did not move it to the front\", \"key1\",\n\t\t\tkeySet.iterator().next());\n\n\t\t// move 2 to the top/front\n\t\tmap.put(\"key2\", \"value2\");\n\t\tassertEquals(\"Calling get on an element did not move it to the front\", \"key2\",\n\t\t\tkeySet.iterator().next());\n\t}",
"@Test\n public void testGet() {\n System.out.println(\"get\");\n int id = 0;\n Address result = instance.get(id);\n assertTrue(result.validate());\n \n }",
"@Test\n public void verifyThatEmployeesAreReal() {\n Map<String, String> employees = getEmployees();\n// Your code here\n }",
"@Test\n public void testGetOrDefault() {\n System.out.println(\"getOrDefault\");\n \n // GIVEN\n SimpleStyleableMap instance = new SimpleStyleableMap();\n \n // WHEN getOrDefault and no value has been put\n Object key = \"dummyKey\";\n Object defaultValue = \"defaultValue\";\n Object result = instance.getOrDefault(key, defaultValue);\n \n // THEN must return default value\n assertEquals(defaultValue, result);\n \n // WHEN getOrDefault and a value has been put\n Object putValue=\"putValue\";\n instance.put(key, putValue );\n result = instance.getOrDefault(key, defaultValue);\n \n // THEN must return put value\n assertEquals(putValue, result);\n \n // WHEN key is removed\n instance.remove(key);\n result = instance.getOrDefault(key, defaultValue);\n // THEN must return default value\n assertEquals(defaultValue, result);\n }",
"@Test\n public void hashMapInitialised()\n {\n Map<Integer, String> strings = MapUtil.<Integer, String>hashMap().keyValue(1, \"Me\").keyValue(2, \"You\");\n // Is this really better than calling strings.put(..)?\n\n assertEquals(\"You\", strings.get(2));\n }",
"@SuppressWarnings(\"unchecked\")\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"rawtypes\")\n\t\tHashtable h = new Hashtable();\n\t\t\n\t\th.put(1, 30);\n\t\th.put(2, 60);\n\t\th.put(\"class\", \"11th\");\n\t\th.put(\"name\", \"password\");\n\t\th.put(67, \"fail\");\n\t\t\n\t\tSystem.out.println(\"The size of the hashtable is \" + h.size());\n\t\t\n\t\tHashtable emp = new Hashtable();\n\t\t\n\t\temp = (Hashtable)h.clone();\n\t\t\n\t\tSystem.out.print(emp + \" \");\n\t\t\n\t\t\n\t\t// 2.Hashtable with generic data type of key and value pair\n\t\tHashtable <Integer, Integer> h1 = new Hashtable <Integer, Integer> ();\n\t\t\n\t\th1.put(1, 10);\n\t\th1.put(2, 20);\n\t\th1.put(3,30);\n\t\th1.put(4,40);\n\t\t\n Hashtable emp1 = new Hashtable();\n\t\t\n\t\temp1 = (Hashtable)h1.clone();\n\t\t\n\t\tSystem.out.print(emp1 + \" \");\n\t\t\n //3. To display only values by using enumeration \n\t\t\n\t\tHashtable h2 = new Hashtable(); \n \n\t\th2.put(3, \"Geeks\"); \n h2.put(2, \"forGeeks\"); \n h2.put(1, \"isBest\"); \n \n // create enumeration \n Enumeration e = h2.elements(); \n \n System.out.println(\"display values:\"); \n \n while (e.hasMoreElements()) \n { \n System.out.println(e.nextElement());\n \n } \n\tSystem.out.println(\"***************************\");\t\n\t\n\t\n }",
"@Test\r\n public void testGet() {\r\n System.out.println(\"get\");\r\n Long codigoCliente = null;\r\n ClienteDAO instance = new ClienteDAO();\r\n ClienteEmpresa expResult = null;\r\n ClienteEmpresa result = instance.get(codigoCliente);\r\n assertEquals(expResult, result);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }",
"@Override\n\tpublic T get(S key) throws Exception {\n\t\treturn null;\n\t}",
"@Test\n public void testGetNoResult()\n {\n IHBaseTable table = new HBaseTable(MockHTable.create());\n\n Get get = new Get(Bytes.toBytes(\"totallyArbitraryRowKey\"));\n Result result = table.get(get);\n Assert.assertTrue(result.isEmpty());\n }",
"@Test \n\tpublic void getABSversionTest(){\n\t\tlogger.info(\"--------------------start---getABSversionTest--------------------------------------------------------------------------------------------------\");\n\t\tMap<String,Object> map=trustManagementService.getABSversion();\n\t\tSet<String> set=map.keySet();\n\t\tfor (String string : set) {\n\t\t\tlogger.info(\"查找结果getABSversionTest -----map--set----键key:(\"+string+\") 值value:\" +map.get(string) ); \n\t\t}\n\t\t\n\t\tlogger.info(\"--------------------end---getABSversionTest--------------------------------------------------------------------------------------------------\");\n\t}",
"@org.junit.Test\n public void mapGet007() {\n final XQuery query = new XQuery(\n \"map:get(map:entry(xs:untypedAtomic(\\\"foo\\\"), \\\"bar\\\"), \\\"foo\\\")\",\n ctx);\n\n final QT3Result res = result(query);\n result = res;\n test(\n assertStringValue(false, \"bar\")\n );\n }",
"Object getAfterMiss(ThreadLocal<?> key) {\n Object[] table = this.table;\n int index = key.hash & mask;\n\n // If the first slot is empty, the search is over.\n if (table[index] == null) {\n Object value = key.initialValue();\n\n // If the table is still the same and the slot is still empty...\n if (this.table == table && table[index] == null) {\n table[index] = key.reference;\n table[index + 1] = value;\n size++;\n\n cleanUp();\n return value;\n }\n\n // The table changed during initialValue().\n put(key, value);\n return value;\n }\n\n // Keep track of first tombstone. That's where we want to go back\n // and add an entry if necessary.\n int firstTombstone = -1;\n\n // Continue search.\n for (index = next(index);; index = next(index)) {\n Object reference = table[index];\n if (reference == key.reference) {\n return table[index + 1];\n }\n\n // If no entry was found...\n if (reference == null) {\n Object value = key.initialValue();\n\n // If the table is still the same...\n if (this.table == table) {\n // If we passed a tombstone and that slot still\n // contains a tombstone...\n if (firstTombstone > -1\n && table[firstTombstone] == TOMBSTONE) {\n table[firstTombstone] = key.reference;\n table[firstTombstone + 1] = value;\n tombstones--;\n size++;\n\n // No need to clean up here. We aren't filling\n // in a null slot.\n return value;\n }\n\n // If this slot is still empty...\n if (table[index] == null) {\n table[index] = key.reference;\n table[index + 1] = value;\n size++;\n\n cleanUp();\n return value;\n }\n }\n\n // The table changed during initialValue().\n put(key, value);\n return value;\n }\n\n if (firstTombstone == -1 && reference == TOMBSTONE) {\n // Keep track of this tombstone so we can overwrite it.\n firstTombstone = index;\n }\n }\n }",
"@Override\r\n\tpublic void get() {\n\t\t\r\n\t}",
"@Test\n public void testCoh3710_containsKey()\n {\n doExpiryOpTest(new Runnable()\n {\n public void run()\n {\n assertFalse(getNamedCache(getCacheName0()).containsKey(Integer.valueOf(1)));\n }\n });\n }",
"public void testCache() {\n MethodKey m = new MethodKey(\"aclass\", \"amethod\", new Object[]{1, \"fads\", new Object()});\n String mValue = \"my fancy value\";\n MethodKey m1 = new MethodKey(\"aclass\", \"amethod1\", new Object[]{1, \"fads\", new Object()});\n String mValue1 = \"my fancy value1\";\n MethodKey m2 = new MethodKey(\"aclass\", \"amethod2\", new Object[]{1, \"fads\", new Object()});\n String mValue2 = \"my fancy value2\";\n\n GenericCache.setValue(m, mValue);\n GenericCache.setValue(m1, mValue1);\n GenericCache.setValue(m2, mValue2);\n\n assertEquals(GenericCache.getValue(m), mValue);\n assertEquals(GenericCache.getValue(m1), mValue1);\n assertEquals(GenericCache.getValue(m2), mValue2);\n }",
"@Test\n public void testGet_02() {\n System.out.println(\"get\");\n Skill s = mock(Skill.class);\n when(s.getName()).thenReturn(\"Java\");\n when(s.getType()).thenReturn(\"Technical\");\n when(s.getCost()).thenReturn(2);\n when(s.getLevel()).thenReturn(4);\n when(s.getCostFormula()).thenReturn(Skill.PLUS_2);\n SkillsList instance = new SkillsList();\n instance.add(s);\n Skill result = instance.get(\"C\");\n assertTrue(result==null);\n }",
"@org.junit.Test\n public void mapGet006() {\n final XQuery query = new XQuery(\n \"map:get(map:entry(\\\"foo\\\", \\\"bar\\\"), xs:untypedAtomic(\\\"foo\\\"))\",\n ctx);\n\n final QT3Result res = result(query);\n result = res;\n test(\n assertStringValue(false, \"bar\")\n );\n }",
"@Override\r\n\tpublic void displayHashTable()\r\n\t{\r\n\t\tSystem.out.println(hm.toString());\r\n\t}",
"public static void main(String[] args)\n\t{\n\t\t\n\t\tHashMap<String, Integer> map=new HashMap<String, Integer>(); // creating hashmap\n\t\t\n\t\tmap.put(\"Vishal\",12276); // adding object\n\t\tmap.put(\"Rashmi\",12277);\n\t\tmap.put(\"Shubhangi\",12278);\n\t\tmap.put(null,12279); // allowed null key so give value\n\t\t\n\t//\tSystem.out.println(map.get(\"Rashmi\")); \n\t//\tSystem.out.println(map.get(null)); \n\t\t\n\t\tSet<String> set =map.keySet(); // fetching all the value of key\n\t\t\n\t\tfor(String s:set)\n\t\t{\n\t\t\tSystem.out.println(map.get(s)); // iterating key..\n\t\t}\n\t\t\n\t\tSystem.out.println(\"--------------------\");\n\t\t\n\t\tHashtable<String, String> map2 = new Hashtable<String, String>();\n\t\t\n\t\tmap2.put(\"Firstname\", \"Vishal\");\n\t\tmap2.put(\"Lastname\",\"Pandey\");\n\t\t//map2.put(null,\"test\"); // will not allowed null key so give null pointer exception error.\n\t\t\n\t\tSystem.out.println(map2.get(null));\n\t\t\n\n\t}",
"@org.junit.Test\n public void mapGet005() {\n final XQuery query = new XQuery(\n \"map:get(map:entry(\\\"foo\\\", \\\"bar\\\"), \\\"foo\\\")\",\n ctx);\n\n final QT3Result res = result(query);\n result = res;\n test(\n assertStringValue(false, \"bar\")\n );\n }"
]
| [
"0.80471456",
"0.78119123",
"0.7135702",
"0.7004146",
"0.6905201",
"0.68464726",
"0.6624307",
"0.6601733",
"0.6537614",
"0.65327185",
"0.65097535",
"0.63555384",
"0.62959325",
"0.62949365",
"0.628786",
"0.6275381",
"0.62297654",
"0.6214728",
"0.62134874",
"0.61754173",
"0.6161952",
"0.61222297",
"0.6103284",
"0.61007726",
"0.6079681",
"0.60731095",
"0.60664535",
"0.60510474",
"0.6045978",
"0.6039762",
"0.60058165",
"0.5997256",
"0.5995087",
"0.5984377",
"0.59798366",
"0.5975378",
"0.59537274",
"0.59533805",
"0.59280133",
"0.5908062",
"0.5907986",
"0.5904704",
"0.58922464",
"0.5888067",
"0.5882188",
"0.58800787",
"0.5878458",
"0.5868298",
"0.5856035",
"0.5829032",
"0.5829032",
"0.57775176",
"0.5768914",
"0.5755363",
"0.57469654",
"0.57337826",
"0.57269466",
"0.57231545",
"0.5692833",
"0.568705",
"0.568624",
"0.56819254",
"0.56807345",
"0.56770855",
"0.5661239",
"0.56593436",
"0.5649714",
"0.56421566",
"0.56315035",
"0.56252956",
"0.56219",
"0.5618465",
"0.56178313",
"0.56043047",
"0.5601295",
"0.55994135",
"0.5580841",
"0.557366",
"0.55716974",
"0.5570999",
"0.5564837",
"0.556123",
"0.55389106",
"0.553527",
"0.5531408",
"0.55264",
"0.5523472",
"0.55185294",
"0.55110925",
"0.5501294",
"0.5489723",
"0.54878235",
"0.5480891",
"0.547665",
"0.54760873",
"0.54753184",
"0.5474077",
"0.5470604",
"0.54690546",
"0.5459318"
]
| 0.5908581 | 39 |
test the clean method of hashtable | public static boolean testTableClear() {
table.clear();
if (table.size() != 0)
return false;
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@org.junit.Test\n public void clear() throws Exception {\n hashTable.clear();\n assertEquals(null, hashTable.get(\"Savon\"));\n assertEquals(null, hashTable.get(\"Blue\"));\n assertEquals(null, hashTable.get(\"math\"));\n }",
"@org.junit.jupiter.api.Test\n void dropNormal() {\n String key = \"12345\";\n String value =\"David\";\n String key2 = \"21\";\n String value2 =\"ferrero\";\n HashTable hashTable = new HashTable();\n hashTable.put(key,value);\n hashTable.put(key2,value2);\n\n hashTable.drop(\"12345\");\n\n String esperado = \"bucket[15] = [21, ferrero]\\n\";\n Assertions.assertEquals(esperado,hashTable.toString());\n int count = 1;\n Assertions.assertEquals(count,hashTable.count());\n }",
"@org.junit.Test\n public void remove() throws Exception {\n assertEquals(null, hashTable.remove(\"savon\"));\n assertEquals(\"Yuliya\", hashTable.remove(\"Savon\"));\n assertEquals(null, hashTable.remove(\"Savon\"));\n\n for (int i = 0; i < 2_000_000; i++) {\n hashTable.put(Integer.toString(i), Integer.toString(i));\n }\n\n for (int i = 0; i < 2_000_000; i++) {\n String curValue = hashTable.remove(Integer.toString(i));\n assertEquals(Integer.toString(i), curValue);\n }\n }",
"@org.junit.jupiter.api.Test\n void dropColision1() {\n String key = \"0\";\n String value =\"David\";\n String key2 = \"11\";\n String value2 =\"ferrero\";\n HashTable hashTable = new HashTable();\n hashTable.put(key,value);\n hashTable.put(key2,value2);\n hashTable.put(\"22\",\"hola\");\n hashTable.drop(\"0\");\n String esperado =\"bucket[0] = [11, ferrero]\\n\" + \" -> [22, hola]\\n\";\n Assertions.assertEquals(esperado,hashTable.toString());\n int count = 2;\n Assertions.assertEquals(count,hashTable.count());\n }",
"@org.junit.jupiter.api.Test\n void dropColision3() {\n String key = \"0\";\n String value =\"David\";\n String key2 = \"11\";\n String value2 =\"ferrero\";\n HashTable hashTable = new HashTable();\n hashTable.put(key,value);\n hashTable.put(key2,value2);\n hashTable.put(\"22\",\"hola\");\n hashTable.drop(\"22\");\n String esperado =\"bucket[0] = [0, David]\\n\" + \" -> [11, ferrero]\\n\";\n Assertions.assertEquals(esperado,hashTable.toString());\n int count = 2;\n Assertions.assertEquals(count,hashTable.count());\n }",
"@Before\r\n public void test_change(){\r\n HashTable<String,String> table = new HashTable<>(1);\r\n MySet<String> s = (MySet<String>) table.keySet();\r\n table.put(\"AA\",\"BB\");\r\n table.put(\"AA\",\"CC\");\r\n assertTrue(s.contains(\"AA\"));\r\n table.remove(\"AA\");\r\n assertFalse(s.contains(\"AA\"));\r\n }",
"@org.junit.jupiter.api.Test\n void dropColision2() {\n String key = \"0\";\n String value =\"David\";\n String key2 = \"11\";\n String value2 =\"ferrero\";\n HashTable hashTable = new HashTable();\n hashTable.put(key,value);\n hashTable.put(key2,value2);\n hashTable.put(\"22\",\"hola\");\n hashTable.drop(\"11\");\n String esperado =\"bucket[0] = [0, David]\\n\" + \" -> [22, hola]\\n\";\n Assertions.assertEquals(esperado,hashTable.toString());\n int count = 2;\n Assertions.assertEquals(count,hashTable.count());\n }",
"@org.junit.jupiter.api.Test\n void drop1elementoColisionNoExiste() {\n String key = \"0\";\n String value =\"David\";\n HashTable hashTable = new HashTable();\n hashTable.put(key,value);\n hashTable.drop(\"11\");\n String esperado = \"bucket[0] = [0, David]\\n\";\n Assertions.assertEquals(esperado,hashTable.toString());\n int count = 1;\n Assertions.assertEquals(count,hashTable.count());\n }",
"@org.junit.jupiter.api.Test\n void drop2ColisionesJuntos() {\n String key = \"0\";\n String value =\"David\";\n String key2 = \"11\";\n String value2 =\"ferrero\";\n HashTable hashTable = new HashTable();\n hashTable.put(key,value);\n hashTable.put(key2,value2);\n hashTable.put(\"22\",\"hola\");\n\n hashTable.drop(\"0\");\n hashTable.drop(\"11\");\n\n String esperado =\"bucket[0] = [22, hola]\\n\";\n Assertions.assertEquals(esperado,hashTable.toString());\n\n }",
"@Override\n public void clear() {\n hashtableBean = null;\n\n hashtableBean = new HashTableBean[5];\n position = 0;\n }",
"public static void main(String[] args) {\n \n HashTable maylin = new HashTable(10,0.75);\n maylin.put(20, \"lol\");\n maylin.put(10, \"twerk\");\n maylin.put(10, \"bro\");\n maylin.put(30,\"rally\");\n maylin.put(40, \"eek\");\n System.out.println(maylin.isEmpty());\n System.out.println(maylin.get(30));\n System.out.println(maylin.size());\n System.out.println(maylin.get(10));\n System.out.println(\"\\n\"+maylin.remove(10));\n System.out.println(maylin.size());\n System.out.println(maylin.remove(20) +\"\"+ maylin.remove(30));\n System.out.println(maylin.size());\n \n \n maylin.clear();\n maylin.clear();\n System.out.println(\"\\n\" + maylin.remove(20));\n try {\n System.out.println(maylin.get(20));\n } catch (NoSuchElementException e) {\n System.out.println(e);\n }\n try {\n System.out.println(maylin.remove(null));\n } catch(Exception e) {\n System.out.println(e);\n }\n System.out.println(maylin.size());\n System.out.println(maylin.isEmpty());\n try {\n System.out.println(maylin.put(null, \"lmao\"));\n } catch (Exception e){\n System.out.println(e);\n }\n \n //put, clear, get, isEmpty, remove, size\n \n \n }",
"@org.junit.jupiter.api.Test\n void drop2ColisionesSeparados() {\n String key = \"0\";\n String value =\"David\";\n String key2 = \"11\";\n String value2 =\"ferrero\";\n HashTable hashTable = new HashTable();\n hashTable.put(key,value);\n hashTable.put(key2,value2);\n hashTable.put(\"22\",\"hola\");\n\n hashTable.drop(\"0\");\n hashTable.drop(\"22\");\n\n String esperado =\"bucket[0] = [11, ferrero]\\n\";\n Assertions.assertEquals(esperado,hashTable.toString());\n\n }",
"public void testNormalClearIsEmpty()\r\n throws Exception\r\n {\r\n try\r\n {\r\n SCOMapTests.checkClearMap(pmf,\r\n HashMap1.class,\r\n ContainerItem.class);\r\n }\r\n finally\r\n {\r\n clean(HashMap1.class);\r\n clean(ContainerItem.class);\r\n }\r\n }",
"public void clearHashTable()\n {\n int index;\n\n for(index = 0; index < tableSize; index++)\n {\n tableArray[index] = null;\n }\n }",
"public void testInverseClearIsEmpty()\r\n throws Exception\r\n {\r\n try\r\n {\r\n SCOMapTests.checkClearMap(pmf,\r\n HashMap2.class,\r\n HashMap2Item.class);\r\n }\r\n finally\r\n {\r\n clean(HashMap2.class);\r\n clean(HashMap2Item.class);\r\n }\r\n }",
"public void makeEmpty() { \r\n for (int i = 0; i < hash_table.length; i++) {\r\n if (hash_table[i] != null) {\r\n hash_table[i] = null;\r\n }\r\n }\r\n size = 0;\r\n }",
"public final void mo18090a(Hashtable hashtable) {\n HashMap hashMap = new HashMap();\n for (Entry entry : hashtable.entrySet()) {\n String str = (String) f3784a.get(entry.getKey());\n if (str == null) {\n str = (String) entry.getKey();\n }\n this.f3787e.f3806b.remove(str);\n hashMap.put(str, entry.getValue());\n }\n this.f3788f.f3806b = hashMap;\n setChanged();\n }",
"@Test(timeout=1000)\n\tpublic void TestComplexRemove(){\n\t\thashmap.add(s1);\n\t\thashmap.add(s2);\n\t\thashmap.add(s3);\n\t\thashmap.add(s4);\n\t\thashmap.add(s5);\n\t\thashmap.add(s6);\n\t\thashmap.add(s7);\n\t\t\n\t\thashmap.remove(s2);\n\t\thashmap.remove(s5);\n\n\t\tassertEquals(\"An error ocurred in remove in array[0]\", s6, hashmap.getArray()[0]);\n\t\tassertEquals(\"An error ocurred in remove in array[1]\", null, hashmap.getArray()[1]);\n\t\tassertEquals(\"An error ocurred in remove in array[2]\", null, hashmap.getArray()[2]);\n\t\tassertEquals(\"An error ocurred in remove in array[3]\", s1, hashmap.getArray()[3]);\n\t\tassertEquals(\"An error ocurred in remove in array[4]\", s3, hashmap.getArray()[4]);\n\t\tassertEquals(\"An error ocurred in remove in array[5]\", s4, hashmap.getArray()[5]);\n\t\tassertEquals(\"An error ocurred in remove in array[6]\", s7, hashmap.getArray()[6]);\n\t\t\n\t\thashmap.remove(s7);\n\t\thashmap.remove(s1);\n\t\thashmap.remove(s4);\n\t\thashmap.remove(s3);\n\t\thashmap.remove(s6);\n\t\t\n\t\tfor(int i = 0; i < hashmap.getArray().length; i++){\n\t\t\tif(hashmap.getArray()[i] != null){\n\t\t\t\tfail(\"Student at position\" + i + \"was not removed\");\n\t\t\t}\n\t\t}\n\t}",
"public void clear (){\n\t\tfor (int i = 0; i < table.length; i++)\n\t\t\ttable[i] = null;\n\n\t\t// we have modified the hash table, and it has\n\t\t// no entries\n\t\tmodCount++;\n\t\thashTableSize = 0;\n\t}",
"public void testNormalEntrySet()\r\n throws Exception\r\n {\r\n try\r\n {\r\n SCOMapTests.checkEntrySet(pmf,\r\n HashMap1.class,\r\n ContainerItem.class,\r\n String.class);\r\n }\r\n finally\r\n {\r\n clean(HashMap1.class);\r\n clean(ContainerItem.class);\r\n }\r\n }",
"@Test\n public void test007_test_remove() {\n try {\n HashTableADT test = new HashTable<Integer, String>();\n test.insert(1, \"2\");\n if(test.remove(2) != false) {\n fail(\"remove didn't work correctly on value not present.\");\n }\n test.insert(2, \"3\");\n if (test.remove(2) != true) {\n fail(\"remove didn't work correctly on an added value\");\n }\n } catch (Exception e) {\n fail(\"Exception shouldn't be thrown\");\n }\n }",
"public static void main(String[] args) {\n\t\t\r\n\t\t Hashtable<String, String> hm = new Hashtable<String, String>();\r\n\t //add key-value pair to Hashtable\r\n\t hm.put(\"first\", \"FIRST INSERTED\");\r\n\t hm.put(\"second\", \"SECOND INSERTED\");\r\n\t hm.put(\"third\",\"THIRD INSERTED\");\r\n\t // hm.put(null,null); Throw run time error - NullPointer Exception\r\n\t Iterator it = (Iterator) hm.keys();\r\n\t System.out.println(\"My Hashtable content:\");\r\n\t System.out.println(hm); // Display the contents by key wise reverse order\r\n\t //Checking Keys\r\n\t if(hm.containsKey(\"first\")){\r\n\t System.out.println(\"The Hashtable contains key first\");\r\n\t } else {\r\n\t System.out.println(\"The Hashtable does not contains key first\");\r\n\t }\r\n\t // Checking Value \r\n\t if(hm.containsValue(\"SECOND INSERTED\")){\r\n\t System.out.println(\"The Hashtable contains value SECOND INSERTED\");\r\n\t } else {\r\n\t System.out.println(\"The Hashtable does not contains value SECOND INSERTED\");\r\n\t }\r\n\t //Clearing Items\r\n\t \r\n\t System.out.println(\"Clearing Hashtable:\");\r\n\t hm.clear();\r\n\t System.out.println(\"Content After clear:\");\r\n\t System.out.println(hm);}",
"public void testNormalKeySet()\r\n throws Exception\r\n {\r\n try\r\n {\r\n SCOMapTests.checkKeySet(pmf,\r\n HashMap1.class,\r\n ContainerItem.class,\r\n String.class);\r\n }\r\n finally\r\n {\r\n clean(HashMap1.class);\r\n clean(ContainerItem.class);\r\n }\r\n }",
"private void doAPITest(Map<Object,Object> table) {\n\t\tint size = table.size();\n\t\tObject key, value;\n\t\t\n\t\tMap<Object,Object> clone = cloneMap(table);\n\t\t\n\t\t// retrieve values using values()\n\t\tCollection<Object> values = table.values();\n\t\t\n\t\t// retrieve keys using keySet()\n\t\tSet<Object> keySet = table.keySet();\t\t\n\t\tObject[] keySetArray = keySet.toArray();\n\t\t\n\t\tint step = 1 + random.nextInt(5);\n\t\t\n\t\tfor (int i=0; i<keySetArray.length; i=i+step)\n\t\t{\n\t\t\tkey = keySetArray[i];\n\t\t\t// retrieve value\n\t\t\tvalue = table.get(key);\n\t\t\t\n\t\t\t// assert value is in the table\n\t\t\tassertTrue(table.containsValue(value));\n\t\t\t/*\n\t\t\t * assertTrue(table.contains(value)); // Removed as not supported by the Map interface, and identical to containsValue\n\t\t\t * if value is a wrapped key then check it's equal \n\t\t\t * to the key \n\t\t\t */\n\t\t\tif (value instanceof CustomValue)\n\t\t\t{\n\t\t\t\tassertEquals(key, ((CustomValue)value).key);\n\t\t\t}\n\t\t\t\n\t\t\t// count how many occurrences of this value there are\n\t\t\tint occurrences = numberOccurrences(values, value);\n\t\t\t\n\t\t\t// find the Map.Entry\n\t\t\tSet<Map.Entry<Object, Object>> entrySet = table.entrySet();\n\t\t\tIterator<Map.Entry<Object, Object>> entrySetIterator = entrySet.iterator();\n\t\t\tMap.Entry<Object,Object> entry = null;\n\t\t\tdo\n\t\t\t{\n\t\t\t\tentry = entrySetIterator.next();\n\t\t\t} while (!entry.getKey().equals(key));\n\t\t\t\n\t\t\t// remove from table in different ways\n\t\t\tswitch (i % 3)\n\t\t\t{\n\t\t\tcase 0:\n\t\t\t\ttable.remove(key);\n\t\t\t\tbreak;\n\t\t\tcase 1:\n\t\t\t\tkeySet.remove(key);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\t\n\t\t\t\tentrySet.remove(entry);\n\t\t\t}\n\t\t\t\n\t\t\t// assert key is no longer in the table\n\t\t\tassertFalse(table.containsKey(key));\n\t\t\t// assert key is no longer in the keyset\n\t\t\tassertFalse(keySet.contains(key));\n\t\t\t// assert key is no longer in the entrySet\n\t\t\tassertFalse(entrySet.contains(entry));\n\t\t\t\n\t\t\t// assert that there's one fewer of this value in the hashtable\n\t\t\tassertEquals(occurrences, numberOccurrences(values, value) + 1);\n\t\t\t\n\t\t\t// re-insert key\n\t\t\ttable.put(key, value);\n\t\t\t\n\t\t\t// assert key is in the table\n\t\t\tassertTrue(table.containsKey(key));\n\t\t\t// assert key is in the keyset\n\t\t\tassertTrue(keySet.contains(key));\n\t\t\t// assert EntrySet is same size\n\t\t\tassertEquals(size, entrySet.size());\n\t\t}\n\t\t\n\t\t// test hashtable is the same size\n\t\tassertEquals(size, table.size());\n\t\t\n\t\t// test keySet is expected size\n\t\tassertEquals(size, keySet.size());\n\t\t\n\t\t// retrieve keys using keys()\n\t\tIterator<?> keys = table.keySet().iterator();\n\t\t\n\t\t// remove a subset of elements from the table. store in a map\n\t\tint counter = table.size() / 4;\n\t\tMap<Object,Object> map = new HashMap<Object, Object>();\n\t\twhile (keys.hasNext() && counter-- >= 0)\n\t\t{\n\t\t\tkey = keys.next();\n\t\t\tvalue = table.get(key);\n\t\t\tmap.put(key, value);\n\t\t\tkeys.remove(); // removes the most recent retrieved element\n\t\t}\n\t\t// re-add the elements using putAll\n\t\ttable.putAll(map);\n\t\t\n\t\t// test equal to copy\n\t\tassertEquals(clone, table);\n\t\t\n\t\t// clear the copy\n\t\tclone.clear();\n\t\t\n\t\t// assert size of clone is zero\n\t\tassertEquals(0, clone.size());\n\t\t\n\t\t// assert size of original is the same\n\t\tassertEquals(size, table.size());\n\t}",
"public void clearHash() {\r\n\t\tinternedTexts.clear();\r\n\t\tinternedAttributes.clear();\r\n\t}",
"public void testNormalValues()\r\n throws Exception\r\n {\r\n try\r\n {\r\n SCOMapTests.checkValues(pmf,\r\n HashMap1.class,\r\n ContainerItem.class,\r\n String.class);\r\n }\r\n finally\r\n {\r\n clean(HashMap1.class);\r\n clean(ContainerItem.class);\r\n }\r\n }",
"public void removeAll() {\n _hash = new Hashtable();\n _first = null;\n _last = null;\n }",
"private void cleanUp() {\n if (rehash()) {\n // If we rehashed, we needn't clean up (clean up happens as\n // a side effect).\n return;\n }\n\n if (size == 0) {\n // No live entries == nothing to clean.\n return;\n }\n\n // Clean log(table.length) entries picking up where we left off\n // last time.\n int index = clean;\n Object[] table = this.table;\n for (int counter = table.length; counter > 0; counter >>= 1,\n index = next(index)) {\n Object k = table[index];\n\n if (k == TOMBSTONE || k == null) {\n continue; // on to next entry\n }\n\n // The table can only contain null, tombstones and references.\n @SuppressWarnings(\"unchecked\")\n Reference<ThreadLocal<?>> reference\n = (Reference<ThreadLocal<?>>) k;\n if (reference.get() == null) {\n // This thread local was reclaimed by the garbage collector.\n table[index] = TOMBSTONE;\n table[index + 1] = null;\n tombstones++;\n size--;\n }\n }\n\n // Point cursor to next index.\n clean = index;\n }",
"public void testNormalRemoveItem()\r\n throws Exception\r\n {\r\n try\r\n {\r\n SCOMapTests.checkRemove(pmf,\r\n HashMap1.class,\r\n ContainerItem.class);\r\n }\r\n finally\r\n {\r\n clean(HashMap1.class);\r\n clean(ContainerItem.class);\r\n }\r\n }",
"@Override\n public void clear() {\n for (LinkedList<Entry<K,V>> list : table) {\n list = null;\n }\n }",
"@Test\n\tvoid testIsUnique() {\n\t\tMap<String, String> testMap = new HashMap<String, String>();\n\t\ttestMap.put(\"Marty\", \"Stepp\");\n\t\ttestMap.put(\"Stuart\", \"Reges\");\n\t\tassertTrue(isUnique(testMap));\n\t\ttestMap.clear();\n\t\t\n\t\t// Test of non-unique map using two meanings of the word \"Paris\"\n\t\ttestMap.put(\"City of Light\", \"Paris\");\n\t\ttestMap.put(\"Homeric adjudicator\", \"Paris\");\n\t\tassertFalse(isUnique(testMap));\n\t}",
"@Test\n public void testGet()\n {\n SsOhMap m = new SsOhMap();\n m.put(\"a\", \"1\");\n m.put(\"b\", \"2\");\n m.put(\"a\", \"3\");\n\n assertEquals(\"3\", m.get(\"a\"));\n m.free();\n }",
"@Test(timeout=1000)\n\tpublic void testRemove() {\n\t\tStudent[] array = new Student[7];\n\t\tarray[5] = s2; // This is the correct hash position of this student\n\t\thashmap.setArray(array);\n\t\thashmap.remove(s2);\n\t\t// Check if the element has been removed\n\t\tboolean success = true;\n\t\tarray = hashmap.getArray();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tStudent s = array[i];\n\t\t\tif (s2.equals(s)){\n\t\t\t\tsuccess = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tassertTrue(\"remove() failed. Element was not removed from hashtable\", success);\n\t}",
"private static void cleanLeaseCache(Map<HashPair, Lease> tc) {\n for (Iterator<Lease> iter = tc.values().iterator(); iter.hasNext(); ) {\n Lease l = iter.next();\n if (l.isExpired(Router.CLOCK_FUDGE_FACTOR))\n iter.remove();\n }\n }",
"public void mo110858c() {\n HashMap hashMap = this.f90728d;\n if (hashMap != null) {\n hashMap.clear();\n }\n }",
"@Test(timeout=1000)\n\tpublic void testRemoveCase(){\n\t\tStudent[] array = new Student[6];\n\t\tarray[0] = s1;\n\t\tarray[1] = s4;\n\t\tarray[2] = s5;\n\t\tarray[3] = s6;\n\t\tarray[4] = s3;\n\t\tarray[5] = s2;\n\t\thashmap.setArray(array);\t\t\n\t\thashmap.remove(s1);\n\t\tassertEquals(\"Student 5 should not be moved\", s5, hashmap.getArray()[2]);\n\t\tassertEquals(\"Student 1 was not removed\", null, hashmap.getArray()[0]);\n\t}",
"public void DoesNeedCleaning() {\n\t\tSystem.out.println(\"Table is being cleaned right now.\");\n\t}",
"@AfterEach\n void cleanStringPair()\n {\t\n \t//clearing refrences of String pair after each test\n \tp = null;\n \tSystem.out.println(\"once After each test....\");\n }",
"@Test(timeout=1000)\n\tpublic void testRemoveOverEnd(){\n\t\t//System.out.println(hashmap.hashFunction(s6));\n\t\tStudent[] array = new Student[7];\n\t\tarray[5] = s2; // This is the correct hash position of this student\n\t\tarray[6] = s4;\n\t\tarray[0] = s6;\n\t\tarray[1] = s5;\n\t\tarray[3] = s1;\n\t\tarray[4] = s3;\n\t\thashmap.setArray(array);\n\t\thashmap.remove(s2);\n\t\t\n\t\tassertFalse(\"Student 4 was not removed\", hashmap.contains(s2));\n\t\tassertEquals(\"Linear probing does not work correctly\", s5, hashmap.getArray()[6]);\n\t\tassertEquals(\"Linear probing does not work correctly\", null, hashmap.getArray()[1]);\n\t}",
"public void testNormalPutNullValues()\r\n throws Exception\r\n {\r\n try\r\n {\r\n SCOMapTests.checkPutNullValues(pmf,\r\n HashMap1.class,\r\n ContainerItem.class);\r\n }\r\n finally\r\n {\r\n clean(HashMap1.class);\r\n clean(ContainerItem.class);\r\n }\r\n }",
"private void cleanup() {\n\t\tTreeSet<CacheEntry> entries = new TreeSet<CacheEntry>(map.values());\n\t\tint i = region.getItemsToEvict();\n\t\tIterator<CacheEntry> it = entries.iterator();\n\t\twhile (it.hasNext() && i > 0) {\n\t\t\tremoveEntry(it.next());\n\t\t\ti--;\n\t\t}\n\t}",
"@Test(timeout=1000)\n\tpublic void testWrongRemove(){\n\t\texception.expect(RuntimeException.class);\n\t\texception.reportMissingExceptionWithMessage(\"Student 7 shouldn`t be findable and therefore a RunTimeException should be thrown\");\n\t\tStudent[] array = new Student[7];\n\t\tarray[5] = s2; // This is the correct hash position of this student\n\t\tarray[6] = s4;\n\t\tarray[0] = s5;\n\t\tarray[3] = s1;\n\t\tarray[4] = s3;\n\t\tarray[2] = s7;\n\t\thashmap.setArray(array);\n\t\thashmap.remove(s7);\n\t}",
"public void clearMap()\n {\n ++this.versionStamp;\n IntHashMapEntry[] ainthashmapentry = this.slots;\n\n for (int i = 0; i < ainthashmapentry.length; ++i)\n {\n ainthashmapentry[i] = null;\n }\n\n this.count = 0;\n }",
"private static void LessonHash() {\n\n System.out.println(\"---Hash Table---\");\n\n Hashtable<Integer, String> oopPrinciples = new Hashtable<>();\n oopPrinciples.put(1, \"Inheritance\");\n oopPrinciples.put(2, \"Polymorphism\");\n oopPrinciples.put(3, \"Abstraction\");\n oopPrinciples.put(4, \"Encapsulation\");\n //oopPrinciples.put(5, null); // throws null pointer execption\n\n //Single output from hashtable\n System.out.println(oopPrinciples.get(3));\n\n //All values\n for(Integer key : oopPrinciples.keySet()) {\n System.out.println(oopPrinciples.get(key));\n };\n System.out.println(\"----------------\");\n\n // Key-Value Pairs / Value List\n /*\n Hash Map\n 1.) Does allow null for either key or value\n 2.) unsynchronized, not thread safe, but performance is better\n */\n\n System.out.println(\"---Hash Map---\");\n\n HashMap<Integer, String> oopPrinciples2 = new HashMap<>();\n oopPrinciples2.put(1, \"Inheritance\");\n oopPrinciples2.put(2, \"Polymorphism\");\n oopPrinciples2.put(3, \"Abstraction\");\n oopPrinciples2.put(4, \"Encapsulation\");\n oopPrinciples2.put(5, null);\n\n //Single output from hashtable\n System.out.println(oopPrinciples2.get(3));\n\n //All values\n for(Integer key : oopPrinciples.keySet()) {\n System.out.println(oopPrinciples.get(key));\n };\n System.out.println(\"----------------\");\n\n // Key-Value Pairs / Value List\n /*\n Hash Set\n 1.) Built in mechanism for duplicates\n 2.) used for when you wanna maintain unique list\n */\n\n System.out.println(\"---Hash Set---\");\n\n HashSet<String> oopPrinciples3 = new HashSet<>();\n oopPrinciples3.add(\"Inheritance\");\n oopPrinciples3.add(\"Polymorphism\");\n oopPrinciples3.add(\"Abstraction\");\n oopPrinciples3.add(\"Encapsulation\");\n\n //Single output from hashtable\n System.out.println(oopPrinciples3);\n\n //All values\n for(String s : oopPrinciples3) {\n System.out.println(s);\n }\n\n if(oopPrinciples.contains(\"Inheritance\")) {\n System.out.println(\"Value does exist!\");\n } else {\n System.out.println(\"Value does not exist!\");\n }\n\n System.out.println(\"----------------\");\n }",
"private static void cleanTunnelCache(RouterContext ctx, Map<HashPair, TunnelInfo> tc) {\n for (Iterator<Map.Entry<HashPair, TunnelInfo>> iter = tc.entrySet().iterator(); iter.hasNext(); ) {\n Map.Entry<HashPair, TunnelInfo> entry = iter.next();\n HashPair k = entry.getKey();\n TunnelInfo tunnel = entry.getValue();\n // This is a little sneaky, but get the _from back out of the \"opaque\" hash key\n if (!ctx.tunnelManager().isValidTunnel(k.sh, tunnel))\n iter.remove();\n }\n }",
"@Test (timeout=180000)\n public void testHBaseFsckClean() throws Exception {\n assertNoErrors(doFsck(conf, false));\n TableName table = TableName.valueOf(\"tableClean\");\n try {\n HBaseFsck hbck = doFsck(conf, false);\n assertNoErrors(hbck);\n\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // We created 1 table, should be fine\n hbck = doFsck(conf, false);\n assertNoErrors(hbck);\n assertEquals(0, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }",
"@Test(timeout=1000)\n\tpublic void testWeirdThingWithRemove(){\n\t\tStudent[] array = new Student[7];\n\t\tarray[0] = s6;\n\t\tarray[1] = s5;\n\t\tarray[5] = s2;\n\t\tarray[6] = s4;\n\t\thashmap.setArray(array);\n\t\t\n\t\thashmap.remove(s6);\n\t\tassertEquals(\"Student 6 was not removed or Student 5 was not moved correctly\", s5, hashmap.getArray()[0]);\n\t}",
"private void rehash() {\r\n Entry[] oldHashTable = this.hashTable;\r\n this.capacity = this.capacity * 2;\r\n this.hashTable = new Entry[this.capacity];\r\n this.size = 0;\r\n for (Entry eachEntry : oldHashTable) {\r\n if (eachEntry != null) {\r\n if (!eachEntry.isDeleted) {\r\n this.add((K)eachEntry.key,(V)eachEntry.value);\r\n }\r\n }\r\n }\r\n return;\r\n }",
"public void mo86898a() {\n HashMap hashMap = this.f63015a;\n if (hashMap != null) {\n hashMap.clear();\n }\n }",
"@Test\r\n public void testResetInventory1()\r\n {\r\n testLongTermStorage.resetInventory();\r\n assertEquals(\"Storage should be empty\", new HashMap<>(), testLongTermStorage.getInventory());\r\n }",
"@Override\r\n @SuppressWarnings(\"unchecked\")\r\n public void clear() {\r\n size = 0;\r\n hashTable = new LinkedList[capacity];\r\n }",
"@Test(expected = Exception.class)\n public void test() throws Exception {\n\n new HashMap<>();\n MyHashTable2 mp = new MyHashTable2();\n mp.put(\"prem\",7);\n mp.put(\"radha\",72);\n mp.put(\"geeta\",74);\n mp.put(\"sunita\",76);\n mp.put(\"atul\",87);\n mp.put(\"rakesh\",37);\n mp.put(\"aklesh\",72);\n\n // try to add duplicate keys and test exception\n mp.put(\"aklesh\",72);\n\n\n assert 7 == mp.get(\"prem\");\n assert 72 == mp.get(\"aklesh\");\n assert 87 == mp.get(\"atul\");\n assert null == mp.get(\"noting\");\n\n System.out.println(mp.getKeySet());\n\n mp.prettyPrint();\n }",
"public void test5() {\n\t\tSet<String> keySet = member.keySet();\n\t\tfor(String key : keySet) {\n\t\t\tif(key ==\"leess\") {\n\t\t\t\tmember.remove(key);\n\t\t\t}\n\t\t}\n\t}",
"void remove(ThreadLocal<?> key) {\n cleanUp();\n\n for (int index = key.hash & mask;; index = next(index)) {\n Object reference = table[index];\n\n if (reference == key.reference) {\n // Success!\n table[index] = TOMBSTONE;\n table[index + 1] = null;\n tombstones++;\n size--;\n return;\n }\n\n if (reference == null) {\n // No entry found.\n return;\n }\n }\n }",
"public static void clear() \r\n\t{\r\n\t\tEntry\ttab[] = m_table;\r\n\t\tint\t\tindex;\r\n\t\r\n\t\tif (tab != null) {\r\n\t\t\tfor (index = tab.length; --index >= 0; ) {\r\n\t\t\t\ttab[index] = null;\r\n\t\t}\t}\r\n\t\tm_count = 0;\r\n\t\tclearElisionCache();\r\n }",
"private void clean() {\n //use iterator\n Iterator<Long> it = nodes.keySet().iterator();\n while (it.hasNext()) {\n Long node = it.next();\n if (nodes.get(node).adjs.isEmpty()) {\n it.remove();\n }\n }\n }",
"public void cleanupData() {\n\t}",
"public void testDeleting() throws Exception {\n eval(\"$delete_h = {1=>2,3=>4}\");\n assertEquals(\"2\", eval(\"p $delete_h.delete(1)\"));\n assertEquals(\"{3=>4}\", eval(\"p $delete_h\"));\n assertEquals(\"nil\", eval(\"p $delete_h.delete(100)\"));\n assertEquals(\"100\", eval(\"$delete_h.delete(100) {|x| p x }\"));\n \n eval(\"$delete_h = {1=>2,3=>4,5=>6}\");\n assertEquals(\"{1=>2}\", eval(\"p $delete_h.delete_if {|k,v| k >= 3}\"));\n assertEquals(\"{1=>2}\", eval(\"p $delete_h\"));\n \n eval(\"$delete_h.clear\");\n assertEquals(\"{}\", eval(\"p $delete_h\"));\n \n eval(\"$delete_h = {1=>2,3=>4,5=>6}\");\n assertEquals(\"{1=>2}\", eval(\"p $delete_h.reject {|k,v| k >= 3}\"));\n assertEquals(\"3\", eval(\"p $delete_h.size\"));\n \n eval(\"$delete_h = {1=>2,3=>4,5=>6}\");\n eval(\"p $delete_h\");\n \n assertEquals(\"{1=>2}\", eval(\"p $delete_h.reject! {|k,v| k >= 3}\"));\n assertEquals(\"1\", eval(\"p $delete_h.size\"));\n assertEquals(\"nil\", eval(\"p $delete_h.reject! {|k,v| false}\"));\n }",
"@Test\n public void testClear_EmptyMap() {\n configureAnswer();\n testObject.clear();\n\n verifyZeroInteractions(helper);\n }",
"private void rehash(){\n\t\tHashTable that = new HashTable(2 * this.table.length);\n\t\tfor (int i = 0; i < this.table.length; i++){\n\t\t\tif (this.table[i] != null){\n\t\t\t\tthat.addRecord(this.table[i].getValue());\n\t\t\t}\n\t\t}\n\t\tthis.table = that.table;\n\t\treturn;\n\t}",
"public void mo78148b() {\n HashMap hashMap = this.f53724A;\n if (hashMap != null) {\n hashMap.clear();\n }\n }",
"public void testInverseEntrySet()\r\n throws Exception\r\n {\r\n try\r\n {\r\n SCOMapTests.checkEntrySet(pmf,\r\n HashMap2.class,\r\n HashMap2Item.class,\r\n String.class);\r\n }\r\n finally\r\n {\r\n clean(HashMap2.class);\r\n clean(HashMap2Item.class);\r\n }\r\n }",
"private void rehash( )\n {\n HashEntry<AnyType> [ ] oldArray = array;\n\n // Create a new double-sized, empty table\n allocateArray( 2 * oldArray.length );\n occupied = 0;\n theSize = 0;\n\n // Copy table over\n for( HashEntry<AnyType> entry : oldArray )\n if( entry != null) {\n \tput(entry.key, entry.value);\n }\n }",
"public void clean();",
"public void cleanStatistics() {\n\t\thasChildStopNominator = HashBasedTable.create();\n\t\thasChildStopDenominator = HashBasedTable.create();\n\t\tnoChildStopNominator = HashBasedTable.create();\n\t\tnoChildStopDenominator = HashBasedTable.create();\n\t\tleftAttachNominator = HashBasedTable.create();\n\t\tleftAttachDenominator = HashBasedTable.create();\n\t\trightAttachNominator = HashBasedTable.create();\n\t\trightAttachDenominator = HashBasedTable.create();\n\t}",
"@Before\n public void setUp() {\n hashTable = new HashTable();\n hashTable.put(\"Savon\", \"Yuliya\");\n hashTable.put(\"Blue\", \"lake\");\n hashTable.put(\"math\", \"camp\");\n }",
"@Test\n public void testClear_WithItems() {\n Map<String, String> toAdd = fillMap(1, 10);\n\n map.putAll(toAdd);\n\n configureAnswer();\n\n testObject.clear();\n\n for (Entry<String, String> entry : toAdd.entrySet()) {\n verify(helper).fireRemove(entry);\n }\n verifyNoMoreInteractions(helper);\n }",
"@Test\n public void test006_test_capcaity() {\n try {\n HashTableADT test = new HashTable<Integer, String>(2, 0.5);\n test.insert(1, \"2\");\n test.insert(2, \"3\");\n if (test.getCapacity() != 5) { //capacity should be 2* original + 1\n fail(\"resize not correct\");\n }\n } catch (Exception e) {\n fail(\"Correct Exception wasn't thrown\");\n }\n }",
"public void clean() {\r\n\t\t\r\n\t\tlogger.trace(\"Enter clean\");\r\n\t\t\r\n\t\tdata.clear();\r\n\t\tfireTableDataChanged();\r\n\t\t\r\n\t\tlogger.trace(\"Exit clean\");\r\n\t}",
"public void clear() \n { \n int count = 0;\n while (!isEmpty())\n {\n dictionary[count] = null;\n count++;\n numberOfEntries--;\n }\n }",
"@Test\n public void test3 ()\n {\n MyMap m = new MyMap();\n m.put(\"a\", \"7\");\n m.put(\"b\", \"14\");\n m.put(\"a\", \"21\");\n m.put(\"c\", \"28\");\n assertEquals(3, m.size());\n assertEquals(\"21\", m.get(\"a\"));\n assertEquals(\"14\", m.get(\"b\"));\n assertEquals(\"28\", m.get(\"c\"));\n \n m.remove(\"a\");\n assertEquals(2, m.size());\n assertNull(m.get(\"a\"));\n assertEquals(\"14\", m.get(\"b\"));\n assertEquals(\"28\", m.get(\"c\"));\n }",
"private void setup()\n\t{\n\t\tif(values == null)\n\t\t\tvalues = new HashMap<>();\n\t\telse\n\t\t\tvalues.clear();\n\t}",
"@Test\n public void test004_test_numKeys() {\n try {\n HashTableADT test = new HashTable<Integer, String>();\n if (test.numKeys() != 0) {\n fail(\"numKeys not correct\");\n }\n test.insert(1, \"2\");\n if (test.numKeys() != 1) {\n fail(\"numKeys not correct\");\n }\n test.insert(2, \"3\");\n if (test.numKeys() != 2) {\n fail(\"numKeys not correct\");\n }\n test.insert(3, \"4\");\n if (test.numKeys() != 3) {\n fail(\"numKeys not correct\");\n }\n test.remove(2);\n if(test.numKeys() != 2) {\n fail(\"numKeys not correct\");\n }\n } catch (Exception e) {\n fail(\"Exception shouldn't be thrown\");\n }\n }",
"private static void fixPopulation() {\r\n \t//get a copy of the population hash map\r\n \tHashMap<String, ArrayList<Critter>> copy = new HashMap<String, ArrayList<Critter>>(population);\r\n \tIterator<String> populationIterator = copy.keySet().iterator();\r\n \twhile (populationIterator.hasNext()) { \r\n String pos = populationIterator.next();\r\n ArrayList<Critter> critterList = copy.get(pos);\r\n //clear the key if there is no more critters in that space\r\n if(critterList.size() == 0 || critterList == null) {\r\n \tpopulation.remove(pos);\r\n }\r\n \t}\r\n }",
"public synchronized void clear() {\n Entry tab[] = table;\n for (int index = tab.length; --index >= 0; ) {\n tab[index] = null;\n }\n count = 0;\n }",
"public void testNormalPutItems()\r\n throws Exception\r\n {\r\n try\r\n {\r\n SCOMapTests.checkPutItems(pmf,\r\n HashMap1.class,\r\n ContainerItem.class);\r\n }\r\n finally\r\n {\r\n clean(HashMap1.class);\r\n clean(ContainerItem.class);\r\n }\r\n }",
"void clean();",
"void clean();",
"void clean();",
"private void clear() {\n\t\t\tkeySet.clear();\n\t\t\tvalueSet.clear();\n\t\t\tsize = 0;\n\t\t}",
"public void clean();",
"public void clean();",
"public void clean();",
"public void clean();",
"@SuppressWarnings(\"unchecked\")\r\n\tprivate void rehash()\r\n\t{\r\n\t\tint M = table.length;\r\n\t\tMapEntry<K, V>[] origTable = table; // save original\r\n\t\t\r\n\t\t//new table\r\n\t\ttable = new MapEntry[2*M + 1];\r\n\t\tcount = 0;\r\n\t\tmaxCount = table.length - table.length/3;\r\n\t\t\r\n\t\tfor (MapEntry<K, V> oe : origTable)\r\n\t\t{\r\n\t\t\tMapEntry<K, V> e = oe;\r\n\t\t\tif (e != null && e != DUMMY) // No need to rehash dummy\r\n\t\t\t{\r\n\t\t\t\tint slot = findSlot(e.getKey(), true);\r\n\t\t\t\ttable[slot] = e;\r\n\t\t\t\tcount++;\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"void clearMap() {\n STRING_STATISTICS.clear();\n }",
"@Test\n void testHeadIsCorrectAfterMultiplePutsAndRemoveHead() {\n MyList l = new MyList();\n for (int i = 0; i < 10; i++)\n l.put(\"key\" + i, \"value\" + i);\n l.remove(l.getHeadKey());\n\n assertEquals(\"key8\", l.getHeadKey());\n }",
"void cleanUp();",
"void cleanUp();",
"void cleanUp();",
"public void testInverseKeySet()\r\n throws Exception\r\n {\r\n try\r\n {\r\n SCOMapTests.checkKeySet(pmf,\r\n HashMap2.class,\r\n HashMap2Item.class,\r\n String.class);\r\n }\r\n finally\r\n {\r\n clean(HashMap2.class);\r\n clean(HashMap2Item.class);\r\n }\r\n }",
"public void testInverseRemoveItem()\r\n throws Exception\r\n {\r\n try\r\n {\r\n SCOMapTests.checkRemove(pmf,\r\n HashMap2.class,\r\n HashMap2Item.class);\r\n }\r\n finally\r\n {\r\n clean(HashMap2.class);\r\n clean(HashMap2Item.class);\r\n }\r\n }",
"protected void rehash( )\r\n\t{\r\n\t\tint newSize = nextPrime(this.tableSize*2);\r\n\t\tMyHashTable<T> newHashTable = new MyHashTable<T>(newSize);\r\n\t\tIterator<T> thisTableIter = this.iterator();\r\n\t\twhile(thisTableIter.hasNext())\r\n\t\t{\r\n\t\t\tT e = thisTableIter.next();\r\n\t\t\tnewHashTable.insert(e);\r\n\t\t}\r\n\t\tthis.clear();\r\n\t\tthis.size = newHashTable.size;\r\n\t\tthis.tableSize = newHashTable.tableSize;\r\n\t\tthis.table = newHashTable.table;\r\n\t}",
"@Test\n public void clear() {\n cache.put(1, \"a\");\n cache.put(2, \"b\");\n changesOf(0, 0, 2, 0);\n cache.clear();\n changesOf(0, 0, 0, 0);\n }",
"@Test\n public void testDelete() throws Exception {\n map.set(\"key-1\", \"value-1\", 10);\n \n Assert.assertEquals(map.get(\"key-1\"), \"value-1\");\n \n Assert.assertTrue(map.delete(\"key-1\", 0));\n \n Assert.assertNull(map.get(\"key-1\"));\n \n Assert.assertFalse(map.delete(\"no-set-key\", 0));\n }",
"@Override\r\n protected void finalize() throws Throwable {\n System.out.println(\"元素死亡\");\r\n super.finalize();\r\n }",
"public void removeAllEntries() {\n }",
"void removeAllEntries();",
"public abstract void clean();",
"public abstract void clean();"
]
| [
"0.7238472",
"0.6901835",
"0.6871635",
"0.67790616",
"0.6777133",
"0.67517096",
"0.6748745",
"0.6690692",
"0.6647514",
"0.6571599",
"0.65589106",
"0.65215075",
"0.6519071",
"0.6427396",
"0.6414259",
"0.64103967",
"0.63799524",
"0.6342357",
"0.6320749",
"0.62754905",
"0.6260952",
"0.6246086",
"0.62200344",
"0.61867857",
"0.6171729",
"0.6145342",
"0.61252713",
"0.6120506",
"0.60583216",
"0.605594",
"0.6050811",
"0.6022075",
"0.60166234",
"0.5982146",
"0.59787786",
"0.5958177",
"0.595441",
"0.59529704",
"0.59479177",
"0.5936058",
"0.58893466",
"0.5889281",
"0.58676934",
"0.5867263",
"0.5863479",
"0.58561814",
"0.5829928",
"0.5807218",
"0.57886016",
"0.5775859",
"0.5775187",
"0.57743365",
"0.5772486",
"0.5772285",
"0.5769497",
"0.575059",
"0.5726572",
"0.57191896",
"0.569173",
"0.5691614",
"0.568816",
"0.56880575",
"0.5682271",
"0.56575173",
"0.56548846",
"0.5651688",
"0.5649204",
"0.5645092",
"0.5643152",
"0.56315994",
"0.5625578",
"0.5623572",
"0.56219023",
"0.5610778",
"0.5610585",
"0.56028986",
"0.5599917",
"0.5599917",
"0.5599917",
"0.5595686",
"0.55943024",
"0.55943024",
"0.55943024",
"0.55943024",
"0.55923843",
"0.5587429",
"0.55792165",
"0.5574368",
"0.5574368",
"0.5574368",
"0.5570115",
"0.55694646",
"0.55665934",
"0.55567104",
"0.55504024",
"0.55365455",
"0.553256",
"0.55318713",
"0.5531096",
"0.5531096"
]
| 0.57589704 | 55 |
test the remove method of hashtable | public static boolean testTableRemove(int size) {
for (int i = 0; i < 6; i++) {
if (table.remove(testList[i].getName()) == null)
return false;
if (table.size() != size - 1 - i) {
return false;
}
try {
table.get(testList[i].getName());
} catch (NoSuchElementException e) {
continue;
}
return false;
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n public void test007_test_remove() {\n try {\n HashTableADT test = new HashTable<Integer, String>();\n test.insert(1, \"2\");\n if(test.remove(2) != false) {\n fail(\"remove didn't work correctly on value not present.\");\n }\n test.insert(2, \"3\");\n if (test.remove(2) != true) {\n fail(\"remove didn't work correctly on an added value\");\n }\n } catch (Exception e) {\n fail(\"Exception shouldn't be thrown\");\n }\n }",
"@org.junit.Test\n public void remove() throws Exception {\n assertEquals(null, hashTable.remove(\"savon\"));\n assertEquals(\"Yuliya\", hashTable.remove(\"Savon\"));\n assertEquals(null, hashTable.remove(\"Savon\"));\n\n for (int i = 0; i < 2_000_000; i++) {\n hashTable.put(Integer.toString(i), Integer.toString(i));\n }\n\n for (int i = 0; i < 2_000_000; i++) {\n String curValue = hashTable.remove(Integer.toString(i));\n assertEquals(Integer.toString(i), curValue);\n }\n }",
"@Test(timeout=1000)\n\tpublic void testRemove() {\n\t\tStudent[] array = new Student[7];\n\t\tarray[5] = s2; // This is the correct hash position of this student\n\t\thashmap.setArray(array);\n\t\thashmap.remove(s2);\n\t\t// Check if the element has been removed\n\t\tboolean success = true;\n\t\tarray = hashmap.getArray();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tStudent s = array[i];\n\t\t\tif (s2.equals(s)){\n\t\t\t\tsuccess = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tassertTrue(\"remove() failed. Element was not removed from hashtable\", success);\n\t}",
"@Test(timeout=1000)\n\tpublic void testRemoveCase(){\n\t\tStudent[] array = new Student[6];\n\t\tarray[0] = s1;\n\t\tarray[1] = s4;\n\t\tarray[2] = s5;\n\t\tarray[3] = s6;\n\t\tarray[4] = s3;\n\t\tarray[5] = s2;\n\t\thashmap.setArray(array);\t\t\n\t\thashmap.remove(s1);\n\t\tassertEquals(\"Student 5 should not be moved\", s5, hashmap.getArray()[2]);\n\t\tassertEquals(\"Student 1 was not removed\", null, hashmap.getArray()[0]);\n\t}",
"@Test(timeout=1000)\n\tpublic void testWeirdThingWithRemove(){\n\t\tStudent[] array = new Student[7];\n\t\tarray[0] = s6;\n\t\tarray[1] = s5;\n\t\tarray[5] = s2;\n\t\tarray[6] = s4;\n\t\thashmap.setArray(array);\n\t\t\n\t\thashmap.remove(s6);\n\t\tassertEquals(\"Student 6 was not removed or Student 5 was not moved correctly\", s5, hashmap.getArray()[0]);\n\t}",
"@Test(timeout=1000)\n\tpublic void TestComplexRemove(){\n\t\thashmap.add(s1);\n\t\thashmap.add(s2);\n\t\thashmap.add(s3);\n\t\thashmap.add(s4);\n\t\thashmap.add(s5);\n\t\thashmap.add(s6);\n\t\thashmap.add(s7);\n\t\t\n\t\thashmap.remove(s2);\n\t\thashmap.remove(s5);\n\n\t\tassertEquals(\"An error ocurred in remove in array[0]\", s6, hashmap.getArray()[0]);\n\t\tassertEquals(\"An error ocurred in remove in array[1]\", null, hashmap.getArray()[1]);\n\t\tassertEquals(\"An error ocurred in remove in array[2]\", null, hashmap.getArray()[2]);\n\t\tassertEquals(\"An error ocurred in remove in array[3]\", s1, hashmap.getArray()[3]);\n\t\tassertEquals(\"An error ocurred in remove in array[4]\", s3, hashmap.getArray()[4]);\n\t\tassertEquals(\"An error ocurred in remove in array[5]\", s4, hashmap.getArray()[5]);\n\t\tassertEquals(\"An error ocurred in remove in array[6]\", s7, hashmap.getArray()[6]);\n\t\t\n\t\thashmap.remove(s7);\n\t\thashmap.remove(s1);\n\t\thashmap.remove(s4);\n\t\thashmap.remove(s3);\n\t\thashmap.remove(s6);\n\t\t\n\t\tfor(int i = 0; i < hashmap.getArray().length; i++){\n\t\t\tif(hashmap.getArray()[i] != null){\n\t\t\t\tfail(\"Student at position\" + i + \"was not removed\");\n\t\t\t}\n\t\t}\n\t}",
"@Test(timeout=1000)\n\tpublic void testWrongRemove(){\n\t\texception.expect(RuntimeException.class);\n\t\texception.reportMissingExceptionWithMessage(\"Student 7 shouldn`t be findable and therefore a RunTimeException should be thrown\");\n\t\tStudent[] array = new Student[7];\n\t\tarray[5] = s2; // This is the correct hash position of this student\n\t\tarray[6] = s4;\n\t\tarray[0] = s5;\n\t\tarray[3] = s1;\n\t\tarray[4] = s3;\n\t\tarray[2] = s7;\n\t\thashmap.setArray(array);\n\t\thashmap.remove(s7);\n\t}",
"@Test(timeout=1000)\n\tpublic void testRemoveOverEnd(){\n\t\t//System.out.println(hashmap.hashFunction(s6));\n\t\tStudent[] array = new Student[7];\n\t\tarray[5] = s2; // This is the correct hash position of this student\n\t\tarray[6] = s4;\n\t\tarray[0] = s6;\n\t\tarray[1] = s5;\n\t\tarray[3] = s1;\n\t\tarray[4] = s3;\n\t\thashmap.setArray(array);\n\t\thashmap.remove(s2);\n\t\t\n\t\tassertFalse(\"Student 4 was not removed\", hashmap.contains(s2));\n\t\tassertEquals(\"Linear probing does not work correctly\", s5, hashmap.getArray()[6]);\n\t\tassertEquals(\"Linear probing does not work correctly\", null, hashmap.getArray()[1]);\n\t}",
"@org.junit.jupiter.api.Test\n void drop1elementoColisionNoExiste() {\n String key = \"0\";\n String value =\"David\";\n HashTable hashTable = new HashTable();\n hashTable.put(key,value);\n hashTable.drop(\"11\");\n String esperado = \"bucket[0] = [0, David]\\n\";\n Assertions.assertEquals(esperado,hashTable.toString());\n int count = 1;\n Assertions.assertEquals(count,hashTable.count());\n }",
"@Test(timeout=1000)\n\tpublic void testAddRemoveContains() {\n\t\thashmap.add(s1);\n\t\thashmap.add(s2);\n\t\thashmap.remove(s1);\n\t\tassertFalse(\"Student on was removed from the HashMap but the contains method still returns true\", hashmap.contains(s1));\n\t}",
"@org.junit.jupiter.api.Test\n void dropNormal() {\n String key = \"12345\";\n String value =\"David\";\n String key2 = \"21\";\n String value2 =\"ferrero\";\n HashTable hashTable = new HashTable();\n hashTable.put(key,value);\n hashTable.put(key2,value2);\n\n hashTable.drop(\"12345\");\n\n String esperado = \"bucket[15] = [21, ferrero]\\n\";\n Assertions.assertEquals(esperado,hashTable.toString());\n int count = 1;\n Assertions.assertEquals(count,hashTable.count());\n }",
"Object remove();",
"@org.junit.jupiter.api.Test\n void dropColision2() {\n String key = \"0\";\n String value =\"David\";\n String key2 = \"11\";\n String value2 =\"ferrero\";\n HashTable hashTable = new HashTable();\n hashTable.put(key,value);\n hashTable.put(key2,value2);\n hashTable.put(\"22\",\"hola\");\n hashTable.drop(\"11\");\n String esperado =\"bucket[0] = [0, David]\\n\" + \" -> [22, hola]\\n\";\n Assertions.assertEquals(esperado,hashTable.toString());\n int count = 2;\n Assertions.assertEquals(count,hashTable.count());\n }",
"@org.junit.jupiter.api.Test\n void dropColision3() {\n String key = \"0\";\n String value =\"David\";\n String key2 = \"11\";\n String value2 =\"ferrero\";\n HashTable hashTable = new HashTable();\n hashTable.put(key,value);\n hashTable.put(key2,value2);\n hashTable.put(\"22\",\"hola\");\n hashTable.drop(\"22\");\n String esperado =\"bucket[0] = [0, David]\\n\" + \" -> [11, ferrero]\\n\";\n Assertions.assertEquals(esperado,hashTable.toString());\n int count = 2;\n Assertions.assertEquals(count,hashTable.count());\n }",
"@Test\n void testRemoveDeletesElement() {\n MyList l = new MyList();\n l.put(\"key\", \"value\");\n l.remove(\"key\");\n\n assertEquals(false, l.contains(\"key\"));\n }",
"@Test\n public void remove() throws Exception {\n CollisionList list = new CollisionList();\n list.add(\"key\", \"value\");\n assertEquals(\"value\", list.remove(\"key\"));\n assertEquals(null, list.remove(\"key\"));\n }",
"@Test\n void testRemoveReturnsRightValue() {\n MyList l = new MyList();\n l.put(\"key\", \"value\");\n\n assertEquals(\"value\", l.remove(\"key\"));\n }",
"@Test\n public void testRemove() {\n map.put(\"Hello\", \"World\");\n map.put(\"Hi\", \"World2\");\n\n configureAnswer();\n\n testObject.remove(\"Hello\");\n\n verify(helper).fireRemove(entry(\"Hello\", \"World\"));\n\n verifyNoMoreInteractions(helper);\n }",
"@org.junit.jupiter.api.Test\n void dropColision1() {\n String key = \"0\";\n String value =\"David\";\n String key2 = \"11\";\n String value2 =\"ferrero\";\n HashTable hashTable = new HashTable();\n hashTable.put(key,value);\n hashTable.put(key2,value2);\n hashTable.put(\"22\",\"hola\");\n hashTable.drop(\"0\");\n String esperado =\"bucket[0] = [11, ferrero]\\n\" + \" -> [22, hola]\\n\";\n Assertions.assertEquals(esperado,hashTable.toString());\n int count = 2;\n Assertions.assertEquals(count,hashTable.count());\n }",
"public void remove(T t) throws NoSuchElementException{\n int bucket = hash(t);\n int index = Table.get(bucket).linearSearch(t);\n if (index == -1) {\n \tthrow new NoSuchElementException(\"remove(): \" \n \t\t\t+ \"element is not in the table\");\n } else {\n \tTable.get(bucket).advanceToIndex(index);\n \tTable.get(bucket).removeIterator();\n \tnumElements--;\n }\n }",
"@Test\n void testRemoveReturnsNull() {\n MyList l = new MyList();\n l.put(\"key\", \"value\");\n\n assertEquals(null, l.remove(\"another key\"));\n }",
"void remove(ThreadLocal<?> key) {\n cleanUp();\n\n for (int index = key.hash & mask;; index = next(index)) {\n Object reference = table[index];\n\n if (reference == key.reference) {\n // Success!\n table[index] = TOMBSTONE;\n table[index + 1] = null;\n tombstones++;\n size--;\n return;\n }\n\n if (reference == null) {\n // No entry found.\n return;\n }\n }\n }",
"public Object remove();",
"@Before\r\n public void test_change(){\r\n HashTable<String,String> table = new HashTable<>(1);\r\n MySet<String> s = (MySet<String>) table.keySet();\r\n table.put(\"AA\",\"BB\");\r\n table.put(\"AA\",\"CC\");\r\n assertTrue(s.contains(\"AA\"));\r\n table.remove(\"AA\");\r\n assertFalse(s.contains(\"AA\"));\r\n }",
"@Test(timeout=1000)\n\tpublic void testRemoveElementTwice() {\n\t\texception.expect(RuntimeException.class);\n\t\texception.reportMissingExceptionWithMessage(\"Student 1 was already remove and thus a RuntimeException should be thrown\");\n\t\thashmap.add(s1);\n\t\thashmap.add(s9);\n\t\thashmap.remove(s1);\n\t\thashmap.remove(s1);\n\t}",
"@Test\n void testRemoveDeletesHeadAfterMultiplePuts() {\n MyList l = new MyList();\n for (int i = 0; i < 10; i++)\n l.put(\"key\" + i, \"value\" + i);\n String oldHeadKey = l.getHeadKey();\n l.remove(oldHeadKey);\n\n assertEquals(false, l.contains(oldHeadKey));\n }",
"public void openAddressingRemoveKeyTest2(){\r\n int collisions = oa.removeKey(12);\r\n String result = collisions == oa.Table.length ? p : f;\r\n System.out.println(\"open addressing remove nonexisting key test: \" + result);\r\n }",
"V remove(Object key);",
"@Test\n void testHeadIsCorrectAfterMultiplePutsAndRemoveHead() {\n MyList l = new MyList();\n for (int i = 0; i < 10; i++)\n l.put(\"key\" + i, \"value\" + i);\n l.remove(l.getHeadKey());\n\n assertEquals(\"key8\", l.getHeadKey());\n }",
"void remove(String aKey);",
"public Object remove(String key);",
"public boolean remove (Object item){\n\t\t\t\tint index = (item.hashCode() & Integer.MAX_VALUE) % table.length;\n\t\t\t\t\n\t\t\t\tif (table[index].remove(item)) {\n\t\t\t\t\tmodCount++;\n\t\t\t\t\thashTableSize--;\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\treturn false;\n\n\t}",
"Object remove(Object key) throws NullPointerException;",
"@org.junit.jupiter.api.Test\n void drop2ColisionesJuntos() {\n String key = \"0\";\n String value =\"David\";\n String key2 = \"11\";\n String value2 =\"ferrero\";\n HashTable hashTable = new HashTable();\n hashTable.put(key,value);\n hashTable.put(key2,value2);\n hashTable.put(\"22\",\"hola\");\n\n hashTable.drop(\"0\");\n hashTable.drop(\"11\");\n\n String esperado =\"bucket[0] = [22, hola]\\n\";\n Assertions.assertEquals(esperado,hashTable.toString());\n\n }",
"protected abstract void remove(E entry);",
"public void testNormalRemoveItem()\r\n throws Exception\r\n {\r\n try\r\n {\r\n SCOMapTests.checkRemove(pmf,\r\n HashMap1.class,\r\n ContainerItem.class);\r\n }\r\n finally\r\n {\r\n clean(HashMap1.class);\r\n clean(ContainerItem.class);\r\n }\r\n }",
"public void remove () {}",
"void remove(String key);",
"void remove(String key);",
"void remove(String key);",
"public static void main(String[] args) {\n \n HashTable maylin = new HashTable(10,0.75);\n maylin.put(20, \"lol\");\n maylin.put(10, \"twerk\");\n maylin.put(10, \"bro\");\n maylin.put(30,\"rally\");\n maylin.put(40, \"eek\");\n System.out.println(maylin.isEmpty());\n System.out.println(maylin.get(30));\n System.out.println(maylin.size());\n System.out.println(maylin.get(10));\n System.out.println(\"\\n\"+maylin.remove(10));\n System.out.println(maylin.size());\n System.out.println(maylin.remove(20) +\"\"+ maylin.remove(30));\n System.out.println(maylin.size());\n \n \n maylin.clear();\n maylin.clear();\n System.out.println(\"\\n\" + maylin.remove(20));\n try {\n System.out.println(maylin.get(20));\n } catch (NoSuchElementException e) {\n System.out.println(e);\n }\n try {\n System.out.println(maylin.remove(null));\n } catch(Exception e) {\n System.out.println(e);\n }\n System.out.println(maylin.size());\n System.out.println(maylin.isEmpty());\n try {\n System.out.println(maylin.put(null, \"lmao\"));\n } catch (Exception e){\n System.out.println(e);\n }\n \n //put, clear, get, isEmpty, remove, size\n \n \n }",
"public abstract void removeFromMap();",
"public abstract boolean remove(Key key);",
"@Test\n void testRemoveDeletesElementAfterMultiplePuts() {\n MyList l = new MyList();\n for (int i = 0; i < 10; i++)\n l.put(\"key\" + i, \"value\" + i);\n l.remove(\"key5\");\n\n assertEquals(false, l.contains(\"key5\"));\n }",
"public void testInverseRemoveItem()\r\n throws Exception\r\n {\r\n try\r\n {\r\n SCOMapTests.checkRemove(pmf,\r\n HashMap2.class,\r\n HashMap2Item.class);\r\n }\r\n finally\r\n {\r\n clean(HashMap2.class);\r\n clean(HashMap2Item.class);\r\n }\r\n }",
"boolean remove(Object key, Object value);",
"void remove(KeyType key);",
"public boolean remove(Key key) ;",
"@Test\n public void testRemove_Not_Contains() {\n SegmentedOasisList<Integer> instance = new SegmentedOasisList<>();\n instance.add(1);\n\n Integer item = 2;\n boolean expResult = false;\n boolean result = instance.remove(item);\n assertEquals(expResult, result);\n }",
"@Test\n public void test3 ()\n {\n MyMap m = new MyMap();\n m.put(\"a\", \"7\");\n m.put(\"b\", \"14\");\n m.put(\"a\", \"21\");\n m.put(\"c\", \"28\");\n assertEquals(3, m.size());\n assertEquals(\"21\", m.get(\"a\"));\n assertEquals(\"14\", m.get(\"b\"));\n assertEquals(\"28\", m.get(\"c\"));\n \n m.remove(\"a\");\n assertEquals(2, m.size());\n assertNull(m.get(\"a\"));\n assertEquals(\"14\", m.get(\"b\"));\n assertEquals(\"28\", m.get(\"c\"));\n }",
"@org.junit.jupiter.api.Test\n void drop2ColisionesSeparados() {\n String key = \"0\";\n String value =\"David\";\n String key2 = \"11\";\n String value2 =\"ferrero\";\n HashTable hashTable = new HashTable();\n hashTable.put(key,value);\n hashTable.put(key2,value2);\n hashTable.put(\"22\",\"hola\");\n\n hashTable.drop(\"0\");\n hashTable.drop(\"22\");\n\n String esperado =\"bucket[0] = [11, ferrero]\\n\";\n Assertions.assertEquals(esperado,hashTable.toString());\n\n }",
"public void testDeleting() throws Exception {\n eval(\"$delete_h = {1=>2,3=>4}\");\n assertEquals(\"2\", eval(\"p $delete_h.delete(1)\"));\n assertEquals(\"{3=>4}\", eval(\"p $delete_h\"));\n assertEquals(\"nil\", eval(\"p $delete_h.delete(100)\"));\n assertEquals(\"100\", eval(\"$delete_h.delete(100) {|x| p x }\"));\n \n eval(\"$delete_h = {1=>2,3=>4,5=>6}\");\n assertEquals(\"{1=>2}\", eval(\"p $delete_h.delete_if {|k,v| k >= 3}\"));\n assertEquals(\"{1=>2}\", eval(\"p $delete_h\"));\n \n eval(\"$delete_h.clear\");\n assertEquals(\"{}\", eval(\"p $delete_h\"));\n \n eval(\"$delete_h = {1=>2,3=>4,5=>6}\");\n assertEquals(\"{1=>2}\", eval(\"p $delete_h.reject {|k,v| k >= 3}\"));\n assertEquals(\"3\", eval(\"p $delete_h.size\"));\n \n eval(\"$delete_h = {1=>2,3=>4,5=>6}\");\n eval(\"p $delete_h\");\n \n assertEquals(\"{1=>2}\", eval(\"p $delete_h.reject! {|k,v| k >= 3}\"));\n assertEquals(\"1\", eval(\"p $delete_h.size\"));\n assertEquals(\"nil\", eval(\"p $delete_h.reject! {|k,v| false}\"));\n }",
"public void test5() {\n\t\tSet<String> keySet = member.keySet();\n\t\tfor(String key : keySet) {\n\t\t\tif(key ==\"leess\") {\n\t\t\t\tmember.remove(key);\n\t\t\t}\n\t\t}\n\t}",
"public boolean remove(T anEntry);",
"@org.junit.Test\n public void clear() throws Exception {\n hashTable.clear();\n assertEquals(null, hashTable.get(\"Savon\"));\n assertEquals(null, hashTable.get(\"Blue\"));\n assertEquals(null, hashTable.get(\"math\"));\n }",
"@Test\n public void testDelete() throws Exception {\n map.set(\"key-1\", \"value-1\", 10);\n \n Assert.assertEquals(map.get(\"key-1\"), \"value-1\");\n \n Assert.assertTrue(map.delete(\"key-1\", 0));\n \n Assert.assertNull(map.get(\"key-1\"));\n \n Assert.assertFalse(map.delete(\"no-set-key\", 0));\n }",
"public void remove(int key) {\n\n }",
"@Test\n public void testRemove_Contains() {\n SegmentedOasisList<Integer> instance = new SegmentedOasisList<>();\n instance.add(1);\n\n Integer item = 1;\n boolean expResult = true;\n boolean result = instance.remove(item);\n assertEquals(expResult, result);\n }",
"public void remove() {\r\n //\r\n }",
"public void remove();",
"public void remove();",
"public void remove();",
"public void remove();",
"public void remove();",
"public void testRemoveObj() {\r\n list.add(\"A\");\r\n list.add(\"B\");\r\n assertTrue(list.remove(\"A\"));\r\n assertEquals( \"B\", list.get(0));\r\n assertEquals( 1, list.size());\r\n list.add(\"C\");\r\n assertTrue(list.remove(\"C\"));\r\n assertEquals(\"B\", list.get(0));\r\n }",
"public Object removeItem (String key);",
"protected abstract void _del(String key);",
"public void testRemove() {\n try {\n test1.remove();\n }\n catch (Exception e) {\n assertTrue(e instanceof NoSuchElementException);\n }\n for (int i = 0; i < 10; i++) {\n test1.insert(new Buffer(i, rec));\n }\n Buffer test = test1.remove();\n assertEquals(9, test.getRecord(3).getKey());\n for (int i = 0; i < 9; i++) {\n test1.remove();\n }\n assertTrue(test1.isEmpty());\n }",
"void remove();",
"void remove();",
"void remove();",
"void remove();",
"void remove();",
"public void remove() {\r\n\t\t\trequireModificationCountUnchanged();\r\n\r\n\t\t\tif (currentEntry == null) {\r\n\t\t\t\tthrow new IllegalStateException();\r\n\t\t\t}\r\n\r\n\t\t\tSimpleHashtable.this.remove(currentEntry.key);\r\n\t\t\titeratorModificationCount++;\r\n\t\t\tcurrentEntry = null;\r\n\t\t}",
"@Test\n public void mapRemove() {\n check(MAPREM);\n query(MAPSIZE.args(MAPREM.args(MAPENTRY.args(1, 2), 1)), 0);\n }",
"public void remove() {\n\t}",
"public void remove() {\n\t}",
"public boolean remove(E element){\n // TO BE IMPLEMENTED\n Object result = map.remove(element);\n if(result != null){\n return true;\n }else{\n return false;\n } \n }",
"public abstract Object remove(CacheKey cacheKey);",
"@Test\r\n\tpublic void testRemoveObject() {\r\n\t\tAssert.assertFalse(list.remove(null));\r\n\t\tAssert.assertTrue(list.remove(new Munitions(2, 3, \"iron\")));\r\n\t\tAssert.assertEquals(14, list.size());\r\n\t}",
"@Override\n\tpublic void remove() {\n\t\t\n\t}",
"@Override\n\tpublic void remove() {\n\t\t\n\t}",
"@Override\n\tpublic void remove() {\n\t\t\n\t}",
"@Override\n\tpublic void remove() {\n\t\t\n\t}",
"@Override\n\tpublic void remove() {\n\t\t\n\t}",
"@Override\n\tpublic void remove() {\n\t\t\n\t}",
"@Override\n\tpublic void remove() {\n\t\t\n\t}",
"@Override\n\tpublic void remove() {\n\t\t\n\t}",
"public void remove() {\n\t }",
"public void remove() {\n\t }",
"public void remove() {\n\t }",
"public boolean remove(E e){\n int target = e.hashCode() % this.buckets;\n return this.data[target].remove(e) == null;\n }",
"@Override\n\t\tpublic void remove() {\n\t\t\t\n\t\t}",
"@Override\n\t\tpublic void remove() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void removeEntry(String key) {\n\t\t\r\n\t}",
"@Override\n\tpublic void remove() { }",
"void remove(K key);",
"void remove(K key);",
"void remove(K key);",
"@Override\r\n\t\tpublic void remove() {\n\r\n\t\t}",
"void remove(KeyType key, ValueType value);"
]
| [
"0.7952701",
"0.78927976",
"0.7850963",
"0.7599863",
"0.7411369",
"0.74025446",
"0.7315697",
"0.71743536",
"0.7090634",
"0.70486903",
"0.70208484",
"0.6979839",
"0.69792205",
"0.697009",
"0.6966183",
"0.6958399",
"0.694912",
"0.69117",
"0.6891791",
"0.68730086",
"0.6863083",
"0.68157536",
"0.6803727",
"0.67593485",
"0.67431927",
"0.67077094",
"0.6665069",
"0.6650885",
"0.6650299",
"0.66411406",
"0.66309494",
"0.6625186",
"0.66247755",
"0.6624433",
"0.6608965",
"0.66027725",
"0.65948707",
"0.656763",
"0.656763",
"0.656763",
"0.65579855",
"0.65508217",
"0.65506434",
"0.65254515",
"0.65247077",
"0.6520776",
"0.650626",
"0.650235",
"0.6488767",
"0.6488289",
"0.647236",
"0.6456186",
"0.64508057",
"0.64431095",
"0.64294916",
"0.64283425",
"0.6428133",
"0.64221984",
"0.64191544",
"0.64049345",
"0.64049345",
"0.64049345",
"0.64049345",
"0.64049345",
"0.6398018",
"0.63899887",
"0.6371361",
"0.63661313",
"0.6364664",
"0.6364664",
"0.6364664",
"0.6364664",
"0.6364664",
"0.63594776",
"0.6319996",
"0.6314004",
"0.6314004",
"0.6305339",
"0.62964064",
"0.62909424",
"0.62733203",
"0.62733203",
"0.62733203",
"0.62733203",
"0.62733203",
"0.62733203",
"0.62733203",
"0.62733203",
"0.6271736",
"0.6271736",
"0.6271736",
"0.6267014",
"0.62625235",
"0.62625235",
"0.6256761",
"0.62565047",
"0.6236522",
"0.6236522",
"0.6236522",
"0.6229968",
"0.6225721"
]
| 0.0 | -1 |
test all the sort method in the PokemonList class | public static boolean testSort() {
Manager inst;
try {
inst = new PokemonTable();
} catch (IOException e) {
e.printStackTrace();
return false;
}
LinkedList<Pokemon> list;
list = inst.sortByAttack(true);
for (int i = 1; i < list.size(); i++) {
if (list.get(i - 1).getAttack() < list.get(i).getAttack()) {
System.out.println("attack sort");
return false;
}
}
list = inst.sortByAttack(false);
for (int i = 1; i < list.size(); i++) {
if (list.get(i - 1).getAttack() > list.get(i).getAttack()) {
System.out.println("attack sort");
return false;
}
}
list = inst.sortByDefense(true);
for (int i = 1; i < list.size(); i++) {
if (list.get(i - 1).getDefense() < list.get(i).getDefense()) {
System.out.println("defense sort");
return false;
}
}
list = inst.sortByDefense(false);
for (int i = 1; i < list.size(); i++) {
if (list.get(i - 1).getDefense() > list.get(i).getDefense()) {
System.out.println("defense sort");
return false;
}
}
list = inst.sortByFavorite(true);
for (int i = 1; i < list.size(); i++) {
if (!list.get(i - 1).getFavorite() && list.get(i).getFavorite()) {
System.out.println("favorite sort");
return false;
}
}
list = inst.sortByFavorite(false);
for (int i = 1; i < list.size(); i++) {
if (list.get(i - 1).getFavorite() && !list.get(i).getFavorite()) {
System.out.println("favorite sort");
return false;
}
}
list = inst.sortByHp(true);
for (int i = 1; i < list.size(); i++) {
if (list.get(i - 1).getHp() < list.get(i).getHp()) {
System.out.println("hp sort");
return false;
}
}
list = inst.sortByHp(false);
for (int i = 1; i < list.size(); i++) {
if (list.get(i - 1).getHp() > list.get(i).getHp()) {
System.out.println("hp sort");
return false;
}
}
list = inst.sortByLegendary(true);
for (int i = 1; i < list.size(); i++) {
if (!list.get(i - 1).isLegendary() && list.get(i).isLegendary()) {
System.out.println("legendary sort");
return false;
}
}
list = inst.sortByLegendary(false);
for (int i = 1; i < list.size(); i++) {
if (list.get(i - 1).isLegendary() && !list.get(i).isLegendary()) {
System.out.println("legendary sort");
return false;
}
}
list = inst.sortByName(true);
for (int i = 1; i < list.size(); i++) {
if (list.get(i - 1).getName().compareTo(list.get(i).getName()) > 0) {
System.out.println("name sort");
return false;
}
}
list = inst.sortByName(false);
for (int i = 1; i < list.size(); i++) {
if (list.get(i - 1).getName().compareTo(list.get(i).getName()) < 0) {
System.out.println("name sort");
return false;
}
}
list = inst.sortBySpAttack(true);
for (int i = 1; i < list.size(); i++) {
if (list.get(i - 1).getSpAttack() < list.get(i).getSpAttack()) {
System.out.println("spAttack sort");
return false;
}
}
list = inst.sortBySpAttack(false);
for (int i = 1; i < list.size(); i++) {
if (list.get(i - 1).getSpAttack() > list.get(i).getSpAttack()) {
System.out.println("spAttack sort");
return false;
}
}
list = inst.sortBySpDefense(true);
for (int i = 1; i < list.size(); i++) {
if (list.get(i - 1).getSpDefense() < list.get(i).getSpDefense()) {
System.out.println("spDefense sort");
return false;
}
}
list = inst.sortBySpDefense(false);
for (int i = 1; i < list.size(); i++) {
if (list.get(i - 1).getSpDefense() > list.get(i).getSpDefense()) {
System.out.println("spDefense sort");
return false;
}
}
list = inst.sortBySpeed(true);
for (int i = 1; i < list.size(); i++) {
if (list.get(i - 1).getSpeed() < list.get(i).getSpeed()) {
System.out.println("speed sort");
return false;
}
}
list = inst.sortBySpeed(false);
for (int i = 1; i < list.size(); i++) {
if (list.get(i - 1).getSpeed() > list.get(i).getSpeed()) {
System.out.println("speed sort");
return false;
}
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n public void testSort() {\n initialize();\n var realList = new HighScoreList();\n realList.setList(list);\n realList.sort();\n\n assertEquals(300, realList.getList().get(0).getScore());\n assertEquals(200, realList.getList().get(1).getScore());\n assertEquals(100, realList.getList().get(2).getScore());\n }",
"public void sort() {\n }",
"public void sort(){\n Collections.sort(list, new SortBySpecies());\n }",
"@Test\r\n public void SortTest() {\r\n System.out.println(\"sort\");\r\n List<String> array = Arrays.asList(\"3\", \"2\", \"1\");\r\n List<String> expResult = Arrays.asList(\"1\",\"2\",\"3\");\r\n instance.sort(array);\r\n assertEquals(expResult,array);\r\n }",
"public void testTitleSort() {\n sorter.inssortTitle();\n list = sorter.getLibrary();\n assertEquals(list.get(0).getTitle(), \"one\");\n assertEquals(list.get(1).getTitle(), \"three\");\n assertEquals(list.get(2).getTitle(), \"two\");\n }",
"public String doSort();",
"@Test\n public void test_read_input_and_sort() {\n\n }",
"public void testGenreSort() {\n sorter.inssortGenre();\n list = sorter.getLibrary();\n assertEquals(list.get(0).getGenre(), \"Hip-Hop\");\n assertEquals(list.get(1).getGenre(), \"R&B\");\n assertEquals(list.get(2).getGenre(), \"Rock\");\n }",
"public void bubbleSort(ArrayList<Pokemon> p);",
"@Override\n public void sort(List<T> items) {\n }",
"private Sort() { }",
"@Test\n\tpublic void testLLSort() {\n\t\tLinkedList playerList = new LinkedList();\n\t\tPlayer tempInsert5 = new Player();\n\t\ttempInsert5.setName(\"test5\");\n\t\ttempInsert5.setPoints(5);\n\t\ttempInsert5.setWins(4);\n\t\ttempInsert5.setLosses(3);\n\t\tplayerList.LLInsert(tempInsert5);\n\t\tplayerList.LLPrint();\n\t\t\n\t\tPlayer tempInsert2 = new Player();\n\t\ttempInsert2.setName(\"test2\");\n\t\ttempInsert2.setPoints(2);\n\t\ttempInsert2.setWins(1);\n\t\ttempInsert2.setLosses(0);\n\t\tplayerList.LLInsert(tempInsert2);\n\t\t\n\t\tPlayer tempInsert3 = new Player();\n\t\ttempInsert3.setName(\"test3\");\n\t\ttempInsert3.setPoints(3);\n\t\ttempInsert3.setWins(2);\n\t\ttempInsert3.setLosses(1);\n\t\tplayerList.LLInsert(tempInsert3);\n\t\t\n\t\tPlayer tempInsert1 = new Player();\n\t\ttempInsert1.setName(\"test1\");\n\t\ttempInsert1.setPoints(1);\n\t\ttempInsert1.setWins(0);\n\t\ttempInsert1.setLosses(0);\n\t\tplayerList.LLInsert(tempInsert1);\n\t\tplayerList.LLPrint();\n\t\t\n\t\tPlayer tempInsert4 = new Player();\n\t\ttempInsert4.setName(\"test4\");\n\t\ttempInsert4.setPoints(4);\n\t\ttempInsert4.setWins(3);\n\t\ttempInsert4.setLosses(2);\n\t\tplayerList.LLInsert(tempInsert4);\n\t\tplayerList.LLPrint();\n\t\t\n\t\tplayerList.LLSort();\n\t\tassertEquals(playerList.LLPrint(), \n\t\t\t\t\"test5: Points: 5, Wins/Losses: 4/3\\n\"\n\t\t\t\t\t\t+ \"test4: Points: 4, Wins/Losses: 3/2\\n\"\n\t\t\t\t\t\t+ \"test3: Points: 3, Wins/Losses: 2/1\\n\"\n\t\t\t\t\t\t+ \"test2: Points: 2, Wins/Losses: 1/0\\n\"\n\t\t\t\t\t\t+ \"test1: Points: 1, Wins/Losses: 0/0\\n\");\n\t}",
"@Test(priority = 6)\n\tpublic void validateSortingFunctionality() {\n\t\tlog = Logger.getLogger(HeroImageProducttestscripts.class);\n\t\tLogReport.getlogger();\n\t\tlogger = extent.startTest(\"Validating the Sorting functionality\");\n\t\tHeroImageProductPageFlow.clickCustomerReviews(locator);\n\t\tlog.info(\"Content is present\");\n\t\tlog.info(\"Starting Sorting functionality testing\");\n\t}",
"@Override\r\n\tpublic void addSort() {\n\t\t\r\n\t}",
"@Test(priority = 8)\n\tpublic void validateSortingByRating() {\n\t\tlog = Logger.getLogger(HeroImageProducttestscripts.class);\n\t\tLogReport.getlogger();\n\t\tlogger = extent.startTest(\"Validating the Sorting functionality\");\n\t\tHeroImageProductPageFlow.selectSortingDropdown(2, locator);\n\t\theroImg.validateStarRating(3, locator, validate);\n\t\tHeroImageProductPageFlow.selectSortingDropdown(3, locator);\n\t\theroImg.validateStarRating(4, locator, validate);\n\t\tlog.info(\"sorting is correct\");\n\t}",
"public void sortCompetitors(){\n\t\t}",
"public void sort() {\n /*int jokers = this.getJokers();\n\t\tif (jokers > 0 && this.size() > 2) {\n\t\t\tArrayList<Tile> list = new ArrayList<>();\n for (int i=0; i<this.size(); i++) {\n\t\t\t\tif (this.get(i).getColour() == 'J') {\n\t\t\t\t\tTile joker = this.remove(this.get(i));\n\t\t\t\t\tlist.add(joker);\n\t\t\t\t\ti--;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (Tile j : list) {\n\t\t\t\tthis.addInSort(j);\n\t\t\t}\n }*/\n \n\n //may need something in here to accomodate a joker changing its form\n\n if (tiles.size() > 1) { //will only sort a meld with any tiles in it\n //Override default comparator to compare by tile value (ints)\n Collections.sort(tiles, new Comparator<Tile>() {\n @Override \n public int compare(Tile t1, Tile t2) { \n if (t1.getColour() > t2.getColour()) {\n return 1;\n } else if (t1.getColour() < t2.getColour()) {\n return -1;\n }\n if (t1.getValue() > t2.getValue()) {\n return 1;\n } else if (t1.getValue() < t2.getValue()) {\n return -1;\n } else {\n return 0;\n }\n }\n });\n }\n\n }",
"public static void main(String[] args) {\n sortGeneric list = new sortGeneric();\n list.add(100);\n list.add(7);\n list.add(6);\n list.add(20);\n list.add(1);\n list.add(15);\n System.out.print(\"trc khi sap xep : \");\n for (int i = 0; i < list.size(); i++) {\n System.out.print(list.get(i) + \" \");\n }\n System.out.println();\n list.sort();\n System.out.print(\"sau khi sap xep: \");\n for (int i = 0; i < list.size(); i++) {\n System.out.print(list.get(i) + \" \");\n }\n System.out.println();\n\n\n }",
"public void sortMatches();",
"public void sortObjectList(){\n\t\tint counter = gameObjectsList.size() - 1;\n\t\tif (gameObjectsList == null || gameObjectsList.size() == 0){\n\t\t\treturn;\n\t\t}\n\t\tquicksort(0, counter);\n\t}",
"public void sort() {\n Collections.sort(jumpers, new SortJumperByPoints()); \n }",
"void sort() {\n Card.arraySort(this.myCards, numCards);\n }",
"public static void doSort ( RunData data)\n\t{\n\t\tSessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ());\n\n\t\t//get the ParameterParser from RunData\n\t\tParameterParser params = data.getParameters ();\n\n\t\t// save the current selections\n\t\tSet selectedSet = new TreeSet();\n\t\tString[] selectedItems = data.getParameters ().getStrings (\"selectedMembers\");\n\t\tif(selectedItems != null)\n\t\t{\n\t\t\tselectedSet.addAll(Arrays.asList(selectedItems));\n\t\t}\n\t\tstate.setAttribute(STATE_LIST_SELECTIONS, selectedSet);\n\n\t\tString criteria = params.getString (\"criteria\");\n\n\t\tif (criteria.equals (\"title\"))\n\t\t{\n\t\t\tcriteria = ResourceProperties.PROP_DISPLAY_NAME;\n\t\t}\n\t\telse if (criteria.equals (\"size\"))\n\t\t{\n\t\t\tcriteria = ResourceProperties.PROP_CONTENT_LENGTH;\n\t\t}\n\t\telse if (criteria.equals (\"created by\"))\n\t\t{\n\t\t\tcriteria = ResourceProperties.PROP_CREATOR;\n\t\t}\n\t\telse if (criteria.equals (\"last modified\"))\n\t\t{\n\t\t\tcriteria = ResourceProperties.PROP_MODIFIED_DATE;\n\t\t}\n\t\telse if (criteria.equals(\"priority\") && ContentHostingService.isSortByPriorityEnabled())\n\t\t{\n\t\t\t// if error, use title sort\n\t\t\tcriteria = ResourceProperties.PROP_CONTENT_PRIORITY;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tcriteria = ResourceProperties.PROP_DISPLAY_NAME;\n\t\t}\n\n\t\tString sortBy_attribute = STATE_SORT_BY;\n\t\tString sortAsc_attribute = STATE_SORT_ASC;\n\t\tString comparator_attribute = STATE_LIST_VIEW_SORT;\n\t\t\n\t\tif(state.getAttribute(STATE_MODE).equals(MODE_REORDER))\n\t\t{\n\t\t\tsortBy_attribute = STATE_REORDER_SORT_BY;\n\t\t\tsortAsc_attribute = STATE_REORDER_SORT_ASC;\n\t\t\tcomparator_attribute = STATE_REORDER_SORT;\n\t\t}\n\t\t// current sorting sequence\n\t\tString asc = NULL_STRING;\n\t\tif (!criteria.equals (state.getAttribute (sortBy_attribute)))\n\t\t{\n\t\t\tstate.setAttribute (sortBy_attribute, criteria);\n\t\t\tasc = Boolean.TRUE.toString();\n\t\t\tstate.setAttribute (sortAsc_attribute, asc);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t// current sorting sequence\n\t\t\tasc = (String) state.getAttribute (sortAsc_attribute);\n\n\t\t\t//toggle between the ascending and descending sequence\n\t\t\tif (asc.equals (Boolean.TRUE.toString()))\n\t\t\t{\n\t\t\t\tasc = Boolean.FALSE.toString();\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tasc = Boolean.TRUE.toString();\n\t\t\t}\n\t\t\tstate.setAttribute (sortAsc_attribute, asc);\n\t\t}\n\n\t\tif (state.getAttribute(STATE_MESSAGE) == null)\n\t\t{\n\t\t\tComparator comparator = ContentHostingService.newContentHostingComparator(criteria, Boolean.getBoolean(asc));\n\t\t\tstate.setAttribute(comparator_attribute, comparator);\n\t\t\t\n\t\t\t// sort sucessful\n\t\t\t// state.setAttribute (STATE_MODE, MODE_LIST);\n\n\t\t}\t// if-else\n\n\t}",
"@Override\n public void execute() {\n itemList.sort_names();\n }",
"public final void testSortCriteria() throws Exception\n {\n Vector vect = new Vector();\n final long modifier = 100;\n long sdArr[][] = { { 0, 10 }, { 0, 12 }, { 0, 8 }, { -5, 20 }, { -5, 13 }, { -5, 15 }, { -5, -7 }, { 2, 10 },\n { 2, 8 }, { 2, 2 }, { 12, 14 }, { -5, 5 }, { 10, 2 } };\n long sorted[][] = { { -5, -7 }, { 10, 2 }, { 2, 2 }, { -5, 5 }, { 0, 8 }, { 2, 8 }, { 0, 10 }, { 2, 10 },\n { 0, 12 }, { -5, 13 }, { 12, 14 }, { -5, 15 }, { -5, 20 } };\n\n patchArray(sdArr, modifier);\n patchArray(sorted, modifier);\n\n for (int i = 0; i < sdArr.length; i++)\n {\n vect.addElement(new RecordingImplMock(new Date(sdArr[i][0]), sdArr[i][1]));\n }\n RecordingList recordingList = new RecordingListImpl(vect);\n Comparator comparator = new Comparator();\n\n RecordingList newList = recordingList.sortRecordingList(comparator);\n\n assertNotNull(\"recordingList returned null\", newList);\n\n // check results\n LocatorRecordingSpec lrs = null;\n RecordingRequest req = null;\n\n int i = newList.size();\n for (i = 0; i < newList.size(); i++)\n {\n req = (RecordingRequest) newList.getRecordingRequest(i);\n lrs = (LocatorRecordingSpec) req.getRecordingSpec();\n assertEquals(\"sort criteria is wrong\", sorted[i][1], lrs.getDuration());\n }\n }",
"@Test(priority = 7)\n\tpublic void validateSortingByDate() {\n\t\tlog = Logger.getLogger(HeroImageProducttestscripts.class);\n\t\tLogReport.getlogger();\n\t\tlogger = extent.startTest(\"Validating the Sorting functionality\");\n\t\tHeroImageProductPageFlow.selectSortingDropdown(0, locator);\n\t\theroImg.validateDate(1, locator, validate);\n\t\tHeroImageProductPageFlow.selectSortingDropdown(1, locator);\n\t\theroImg.validateDate(2, locator, validate);\n\t\tlog.info(\"sorting is correct\");\n\t}",
"@Override\n public void sortAndCount() {\n Insertion.reset();\n Insertion.sort(arrayForTests);\n comp = Sort.getComparisonOperations(); // Sort.getComp();\n copy = Sort.getCopyOperations(); // Sort.getCopy();\n }",
"@Test\r\n\tpublic void albumsListIsSorted() {\r\n\t\tListView listView = main.getActivity().getAlbumsListView();\r\n\t\t\r\n\t\tAlbumClass a1 = (AlbumClass) listView.getItemAtPosition(0);\r\n\t\tAlbumClass a2 = (AlbumClass) listView.getItemAtPosition(1);\r\n\t\tAlbumClass a3 = (AlbumClass) listView.getItemAtPosition(2);\r\n\t\tassertTrue(a1.getTitle().compareToIgnoreCase(a2.getTitle()) < 0);\r\n\t\tassertTrue(a2.getTitle().compareToIgnoreCase(a3.getTitle()) < 0);\r\n\t}",
"@Override\r\n\tpublic void editSort() {\n\t\t\r\n\t}",
"@Override\n\t public int compare(Player p1, Player p2) {\n\t boolean desc = sortField.startsWith(\"-\");\n\t String fieldToUse = desc ? sortField.substring(1): sortField; \n\n\t try {\n\t String field1 = BeanUtils.getProperty(p1, fieldToUse);\n\t String field2 = BeanUtils.getProperty(p2, fieldToUse);\n\t return (desc) ? field2.compareTo(field1) : field1.compareTo(field2);\n\t } catch (IllegalAccessException | InvocationTargetException | NoSuchMethodException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t// Again just for test purposes. Since we are in the service layer \n\t\t\t\t\t\t// and beyond the API. We will throw a Business Logic Exception.\n\t\t\t\t\t\tthrow new BusinessLogicException(e.getMessage(), \n\t\t\t\t\t\t\t\tBusinessErrorCodeEnum.INTERNAL_PROCESSING_ERROR);\n\t\t\t\t\t}\n\t\t\t\t}",
"public void sortManlist(){\r\n\t\tCollections.sort(Manlist, new MySort());\r\n\t}",
"public abstract void sort() throws RemoteException;",
"@Test\n public void testSortAlgorithm() {\n System.out.println(\"sortAlgorithm\");\n String input = \"8 0 3 1 6 5 -2 4 7\";\n CCGeneticDrift instance = new CCGeneticDrift();\n int expResult = 5;\n int result = instance.sortAlgorithm(input);\n assertEquals(result, expResult);\n }",
"@Test (priority = 1)\n public void sortAlphabetical(){\n\n for (int i = 0; i < allDepartments.getOptions().size()-1; i++) {\n String current = allDepartments.getOptions().get(i).getText();\n String next = allDepartments.getOptions().get(i+1).getText();\n\n System.out.println(\"comparing: \" + current + \" with \"+ next);\n\n Assert.assertTrue(current.compareTo(next)<=0);\n\n }\n }",
"private void sort()\n {\n pd = new ProgressDialog(this);\n pd.setMessage(\"Sorting movies...\");\n pd.setCancelable(false);\n pd.show();\n\n movieList.clear();\n if(show.equals(\"notWatched\"))\n watched(false);\n else if(show.equals(\"watched\"))\n watched(true);\n else movieList.addAll(baseMovieList);\n\n if(orderBy.equals(\"alphabet\"))\n sortAlphabet();\n else if(orderBy.equals(\"date\"))\n sortDate();\n else sortRating();\n\n if(orderType)\n Collections.reverse(movieList);\n\n recyclerView.setAdapter(movieAdapter);\n pd.dismiss();\n }",
"public void sort() {\n\n try {\n if (cards != null) {\n cards.sort(Comparator.comparing(Flashcard::getRepetitionDate));\n LogHelper.writeToLog(Level.INFO, \"Karten von Model.Deck \" + name + \" sortiert.\");\n\n } else {\n LogHelper.writeToLog(Level.INFO, \"Karten von Model.Deck \" + name + \" nicht sortiert (null).\");\n }\n } catch (Exception ex) {\n LogHelper.writeToLog(Level.INFO, \"Fehler beim Sortieren der Karten\" + ex);\n }\n }",
"@Test\n public void case3SortTwoElements(){\n //Already sorted array\n SortDemoData data2 = new SortDemoData() ;\n\n int[] testArray = {1,2};\n data2.initializeArray(\"2 1\");\n assertTrue(map.get(algoUnderTest)+\" Before Sort ...First Element\",data2.myArray[1].key == testArray[0]);\n assertTrue(map.get(algoUnderTest)+\" Before Sort ...Second Element\",data2.myArray[0].key == testArray[1]);\n\n data2.runAlgo(algoUnderTest);\n \n if(algoUnderTest != 0)\n {\n assertTrue(map.get(algoUnderTest)+\" After Sort ...First Element\",data2.myArray[0].key == testArray[0]);\n assertTrue(map.get(algoUnderTest)+\" After Sort ...Second Element\",data2.myArray[1].key == testArray[1]);\n }\n \n else {\n \t assertFalse(map.get(algoUnderTest)+\" After Sort ...First Element\",data2.myArray[0].key == testArray[0]);\n assertFalse(map.get(algoUnderTest)+\" After Sort ...Second Element\",data2.myArray[1].key == testArray[1]);\n }\n\n\n }",
"protected void sort() {\n\n\t\tCollections.sort(this.myRRList);\n\t}",
"private void sort() {\n ScoreComparator comparator = new ScoreComparator();\n Collections.sort(scores, comparator);\n }",
"public void testArtistSort() {\n sorter.inssortArtist();\n list = sorter.getLibrary();\n assertEquals(list.get(0).getArtist(), \"Hayley\");\n assertEquals(list.get(1).getArtist(), \"James\");\n assertEquals(list.get(2).getArtist(), \"Jason\");\n }",
"private void sortResults(){\r\n this.sortedPlayers = new ArrayList<>();\r\n int size = players.size();\r\n while (size > 0) {\r\n Player lowestPointsPlayer = this.players.get(0);\r\n for(int i = 0; i<this.players.size(); i++){\r\n if(lowestPointsPlayer.getPoints() <= this.players.get(i).getPoints()){\r\n lowestPointsPlayer = this.players.get(i);\r\n }\r\n }\r\n this.sortedPlayers.add(lowestPointsPlayer);\r\n this.players.remove(lowestPointsPlayer);\r\n size--;\r\n }\r\n\r\n\r\n }",
"@Test\n public void testSort() {\n System.out.println(\"sort\");\n ParallelMergeSort instance = null;\n instance.sort();\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }",
"@Test\n\tpublic void testGetBooksSortedByTitle() {\n\t\tSystem.out.println(\"Sorting books by title...\");\n\t\tList<Book> result = store.getBooksSortedByTitle();\n\t\tSystem.out.println(result);\n\t}",
"void sort()\n {\n Card.arraySort(myCards, numCards);\n }",
"public void sortSpeeds() {\n\n//\t\tSystem.out.println(\"BEGIN: SORT SPEEDS\");\n\t\tthis.printMoves();\n\n\t\tArrayList<Move> temp = new ArrayList<Move>();\n\t\tint i = 1;\n\t\tint x = 0;\n\t\tboolean y = true;\n\n\t\ttemp.add(niceMoves.get(0));\n\t\tint size = niceMoves.size();\n\n\t\twhile (i < niceMoves.size()) {\n\n//\t\t\tSystem.out.println(\"Reiterating.\");\n\t\t\ty = true;\n\n\t\t\twhile (y) {\n\n\t\t\t\t//System.out.println(\"I: \" + i + \" X: \" + x);\n\n\t\t\t\ttry {\n\n\t\t\t\t\tif (niceMoves.get(i).getSpeed() > temp.get(x).getCalcedSpeed()) {\n\n//\t\t\t\t\t\tSystem.out.println(\"Adding \" + niceMoves.get(i).getCaster() + \" to spot \" + x);\n\t\t\t\t\t\ttemp.add(x, niceMoves.get(i));\n\t\t\t\t\t\ty = false;\n\t\t\t\t\t}\n\t\t\t\t\t//X has cycled through temp, meaning nicemoves.i should be added to the end\n\t\t\t\t\t//The only way to check for this is to let it overflow lol\n\t\t\t\t} catch (Exception E) {\n//\t\t\t\t\tSystem.out.println(\"Adding \" + niceMoves.get(i).getCaster() + \" to spot \" + x);\n\t\t\t\t\ttemp.add(x, niceMoves.get(i));\n\t\t\t\t\ty = false;\n\n\t\t\t\t}\n\n\t\t\t\tx += 1;\n\t\t\t}\n\n\t\t\ti += 1;\n\t\t\tx = 0;\n\t\t}\n\n\t\tniceMoves = temp;\n\n//\t\tSystem.out.println();\n//\t\tSystem.out.println(\"Sorting Complete! New Order: \");\n//\t\tthis.printMoves();\n\t\t//end of sort speeds\n\t}",
"public void sort()\n\t{\n\n\n\t\t// Sort the Product Inventory Array List (by Product Name)\n\t\tCollections.sort(myProductInventory);\n\n\n\n\n\t}",
"public void sort()\r\n {\r\n Card.arraySort(myCards, myCards.length);\r\n }",
"void sort()\n {\n Card.arraySort(cards, topCard);\n }",
"public void sort() {\r\n // sort the process variables\r\n Arrays.sort(pvValues, categoryComparator);\r\n fireTableDataChanged();\r\n }",
"@Test\n void sortByDate() {\n }",
"@Test\n\tpublic void testSortNumbers() throws SortException {\n\t\tList<String> arrayList = sortApplication.sortNumbers(inputArr7);\n\t\tassertEquals(\"1\", arrayList.get(0));\n\t\tassertEquals(\"10\", arrayList.get(1));\n\t\tassertEquals(\"100\", arrayList.get(2));\n\t\tassertEquals(\"33\", arrayList.get(3));\n\t\tassertEquals(\"5\", arrayList.get(4));\n\t}",
"@Test\n\tpublic void testSortAll() throws SortException {\n\t\tList<String> arrayList = sortApplication.sortAll(inputArr1);\n\t\tassertEquals(\"#B@n@n0\", arrayList.get(0));\n\t\tassertEquals(\"100 B*anana\", arrayList.get(1));\n\t\tassertEquals(\"20 B*anana\", arrayList.get(2));\n\t\tassertEquals(\"P3@r\", arrayList.get(3));\n\t\tassertEquals(\"p3@R\", arrayList.get(4));\n\t}",
"public void sort(List<Product> pdts, final SortMethod method) {\n class ProductComparator implements Comparator<Product> {\n @Override\n public int compare(Product o1, Product o2) {\n if(method == SortMethod.BYTITLE) {\n return o1.title.compareTo(o2.title);\n } else {\n if(o1.price == o2.price) return 0;\n else if(o1.price < o2.price) return -1;\n else return 1;\n }\n }\n }\n Collections.sort(pdts, new ProductComparator());\n }",
"boolean isSortResult();",
"public void sortByRating() {\n Log.d(Contract.TAG_WORK_PROCESS_CHECKING, \"ListPresenter - sortByRating\");\n\n listInteractor.sortByRating(new ListCallback() {\n @Override\n public void setPhotosList(List<BasePojo.Result> photosList) {\n Log.d(Contract.TAG_WORK_PROCESS_CHECKING, \"ListPresenter - sortByRating - setPhotosList\");\n\n getViewState().setData(photosList);\n }\n });\n }",
"@Test\n public void whensortByAllFieldsListOfUsersThenListSortedByAllFields() {\n SortUser sortUser = new SortUser();\n\n User sergey = new User(\"Sergey\", 25);\n User sergey2 = new User(\"Sergey\", 30);\n User anna = new User(\"Anna\", 23);\n User denis = new User(\"Denis\", 21);\n User anna2 = new User(\"Anna\", 20);\n\n List<User> list = new ArrayList<>();\n list.add(sergey);\n list.add(sergey2);\n list.add(anna);\n list.add(denis);\n list.add(anna2);\n\n List<User> methodReturns = sortUser.sortByAllFields(list);\n\n List<User> expected = new ArrayList<>();\n expected.add(anna2);\n expected.add(anna);\n expected.add(denis);\n expected.add(sergey);\n expected.add(sergey2);\n\n assertThat(methodReturns, is(expected));\n }",
"private void sortPlayers(List<Player> players, String sortField) {\n\t LOG.info(\"sortPlayers=(players=\" + players + \",sortField=\" + sortField);\n\t if (sortField != null && !sortField.equals(\"\")) {\n\t Comparator<Player> comp = new Comparator<Player>(){\n\t @Override\n\t public int compare(Player p1, Player p2) {\n\t // Descending if it begins with a -\n\t boolean desc = sortField.startsWith(\"-\");\n\t String fieldToUse = desc ? sortField.substring(1): sortField; \n\n\t try {\n\t String field1 = BeanUtils.getProperty(p1, fieldToUse);\n\t String field2 = BeanUtils.getProperty(p2, fieldToUse);\n\t return (desc) ? field2.compareTo(field1) : field1.compareTo(field2);\n\t } catch (IllegalAccessException | InvocationTargetException | NoSuchMethodException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t// Again just for test purposes. Since we are in the service layer \n\t\t\t\t\t\t// and beyond the API. We will throw a Business Logic Exception.\n\t\t\t\t\t\tthrow new BusinessLogicException(e.getMessage(), \n\t\t\t\t\t\t\t\tBusinessErrorCodeEnum.INTERNAL_PROCESSING_ERROR);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t};\n\t\t\tCollections.sort(players, comp);\n\t\t}\n\t}",
"private static void performSort(TestApp testApp) {\n testApp.testPartition();\n\n /*\n Date end = new Date();\n System.out.println(\"Sort ended @ \" + end.getTime());\n System.out.println(\"Total time = \" + (end.getTime() - start.getTime())/1000.0 + \" seconds...\");\n */\n }",
"@Test\n\tpublic void givenAnUnsortedList_ThenListIsSorted() {\n\t\tList<Integer> unsorted = new ArrayList<>();\n\t\tunsorted.add(2);\n\t\tunsorted.add(1);\n\t\tunsorted.add(3);\n\t\tunsorted.add(5);\n\t\tunsorted.add(4);\n\t\t\n\t\t// Execute the code\n\t\tList<Integer> sorted = QuickSort.getInstance().sort(unsorted);\n\t\t\n\t\t// Verify the test result(s)\n\t\tassertThat(sorted.get(0), is(1));\n\t\tassertThat(sorted.get(1), is(2));\n\t\tassertThat(sorted.get(2), is(3));\n\t\tassertThat(sorted.get(3), is(4));\n\t\tassertThat(sorted.get(4), is(5));\n\t}",
"public void testSortedList() {\r\n List<InfoNode> sortedList = MapUtils.sortByDistance(exampleList, node3.getTitle());\r\n assertTrue(sortedList.size() == 2);\r\n assertTrue(sortedList.get(0) == node2);\r\n assertTrue(sortedList.get(1) == node1);\r\n assertTrue(sortedList.contains(node1));\r\n assertTrue(sortedList.contains(node2));\r\n assertFalse(sortedList.contains(node3));\r\n\r\n sortedList = MapUtils.sortByDistance(exampleList, node1.getTitle());\r\n assertTrue(sortedList.size() == 2);\r\n assertTrue(sortedList.get(0) == node2);\r\n assertTrue(sortedList.get(1) == node3);\r\n assertFalse(sortedList.contains(node1));\r\n assertTrue(sortedList.contains(node2));\r\n assertTrue(sortedList.contains(node3));\r\n\r\n sortedList = MapUtils.sortByDistance(exampleList, \" \");\r\n assertTrue(sortedList.equals(exampleList));\r\n }",
"@Override\r\n\t\t\tpublic int compare(Presentor o1, Presentor o2) {\n\t\t\t\tint sort = 0;\r\n\t\t\t\tint a = o1.getZs() - o2.getZs();\r\n\t\t\t\tif (a != 0) {\r\n\t\t\t\t\tsort = (a < 0) ? 1 : -1;\r\n\t\t\t\t} else {\r\n\t\t\t\t\ta = o1.getJd() - o2.getJd();\r\n\t\t\t\t\tif (a != 0) {\r\n\t\t\t\t\t\tsort = (a < 0) ? 1 : -1;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\treturn sort;\r\n\t\t\t}",
"public void sort()\n {\n com.jayway.restassured.response.Response response= given().relaxedHTTPSValidation().when().get(\"http://18.222.188.206:3333/accounts?_sort=title&_order=asc\");\n response.then().assertThat().statusCode(200);\n System.out.println(\"The accounts that are sorted according to it's title is displayed below:\");\n response.prettyPrint();\n \n }",
"public static void main(String[] args) {\n\t\tList<String> animal = new ArrayList<String>();\n\n\t\tanimal.add(\"Cat\");\n\t\tanimal.add(\"Mouse\");\n\t\tanimal.add(\"Lion\");\n\t\tanimal.add(\"Zeebra\");\n\t\tanimal.add(\"Bear\");\n\t\tanimal.add(\"Deer\");\n\n\t\t// Collections.sort(animal,new StringLengthComparator());\n\n\t\tCollections.sort(animal, new ReverseAlphabeticalComparator());\n\t\tfor (String animal1 : animal) {\n\n\t\t\tSystem.out.println(animal1);\n\t\t}\n\n\t\t/////////////////////////////// Sorting Numbers ////////////////////////////////\n\t\tList<Integer> numbers = new ArrayList<Integer>();\n\n\t\tnumbers.add(5);\n\t\tnumbers.add(31);\n\t\tnumbers.add(16);\n\t\tnumbers.add(605);\n\t\tnumbers.add(15);\n\n\t\tCollections.sort(numbers, new Comparator<Integer>() {\n\n\t\t\t@Override\n\t\t\tpublic int compare(Integer num1, Integer num2) {\n\n\t\t\t\treturn -num1.compareTo(num2);\n\t\t\t}\n\n\t\t});\n\n\t\tfor (Integer num1 : numbers) {\n\n\t\t\tSystem.out.println(num1);\n\t\t}\n\t\t///////////////////////////// Sorting Arbitrary Objects ////////////////////////////\n\n\t\tList<Person> people = new ArrayList<Person>();\n\n\t\tpeople.add(new Person(3, \"Ajeer\"));\n\t\tpeople.add(new Person(1, \"Sudeer\"));\n\t\tpeople.add(new Person(2, \"Sureash\"));\n\t\tpeople.add(new Person(4, \"Sam\"));\n\t\t\n\t\t// Sort in Order of ID\n\t\tCollections.sort(people, new Comparator<Person>() {\n\n\t\t\t@Override\n\t\t\tpublic int compare(Person p1, Person p2) {\n\t\t\t\tif (p1.getId() > p2.getId()) {\n\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\telse if (p1.getId()< p2.getId()) {\n\t\t\t\t\treturn -1;\n\t\t\t\t}\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t});\n\t\tfor (Person person1 : people) {\n\n\t\t\tSystem.out.println(person1);\n\t\t}\n\t\tSystem.out.println(\"\\n\");\n\t\t// Sort In Order of NAME....\n\t\tCollections.sort(people, new Comparator<Person>() {\n\n\t\t\t@Override\n\t\t\tpublic int compare(Person p1, Person p2) {\n\t\t\t\n\t\t\t\treturn p1.getName().compareTo(p2.getName());\n\t\t\t}\n\t\t});\n\t\tfor (Person person1 : people) {\n\n\t\t\tSystem.out.println(person1);\n\t\t}\n\t}",
"@Test\n public void f13OrderRULTest() {\n clickOn(\"#thumbnailTab\").moveBy(90, 200);\n scroll(50, VerticalDirection.UP).sleep(1000);\n\n scroll(50, VerticalDirection.DOWN).sleep(1000);\n clickOn(\"#sortAsset\").type(KeyCode.DOWN).type(KeyCode.ENTER);\n\n sleep(1000).moveBy(-90, 200).scroll(50, VerticalDirection.UP).sleep(1000);\n\n boolean isOrdered = true;\n double[] ruls = getRuls();\n\n //Check if the ascending ruls are ordered\n for (int i = 0; i < ruls.length - 1; i++) {\n if (ruls[i] > ruls[i + 1]) {\n isOrdered = false;\n break;\n }\n }\n\n sleep(1000).scroll(50, VerticalDirection.DOWN).sleep(1000);\n assertTrue(\"All RULs after sorting by ascending are ordered from smallest to largest.\", isOrdered);\n }",
"public void sortByPopularity() {\n Log.d(Contract.TAG_WORK_PROCESS_CHECKING, \"ListPresenter - sortByPopularity\");\n\n listInteractor.sortByPopularity(new ListCallback() {\n @Override\n public void setPhotosList(List<BasePojo.Result> photosList) {\n Log.d(Contract.TAG_WORK_PROCESS_CHECKING, \"ListPresenter - ListCallback - setPhotosList\");\n getViewState().setData(photosList);\n }\n });\n }",
"@Test\n public void whenListOfUsersWithDifferentNamesThenSortLengthSortsUsersByLengthOfName() {\n\n SortUser sort = new SortUser();\n\n List<User> test = new LinkedList<>();\n\n User basil = new User(\"Basil\", 27);\n User alex = new User(\"Alex\", 31);\n User sam = new User(\"Sam\", 33);\n\n test.add(basil);\n test.add(alex);\n test.add(sam);\n\n List<User> expected = new LinkedList<>();\n\n expected.add(sam);\n expected.add(alex);\n expected.add(basil);\n\n List<User> actual = sort.sortLength(test);\n\n assertThat(actual, is(expected));\n\n }",
"public static void main(String[] args) {\n List<SortBase<Integer>> list = Arrays.asList(new Select<>(), new Insert<>(), new Shell<>(), new MergeImpl2<>(), new Quick<>(),new HeapSort<>());\n for (SortBase<Integer> sort : list) {\n StdOut.print(sort.getClass().getSimpleName()+\"\\n\");\n sort.testCorrectness(new Integer[]{3, 2, 1, 5, 7, 8, 32, 12, 0, -4, -12});\n }\n }",
"@Test\n\tpublic void testSortNormalElements() {\n\t\tint[] arrayBeforeSort = { 565, 78, 34, 2, 23, 2222, 34 };\n\t\tint[] arrayAfterSort = { 565, 78, 34, 2, 23, 2222, 34 };\n\t\tArrayQuickSort.sort(arrayAfterSort);\n\t\tif (!isSorted(arrayBeforeSort, arrayAfterSort)) {\n\t\t\tAssert.fail(\"The array is not sorted!\");\n\t\t}\n\t}",
"void sort();",
"void sort();",
"public static void main(String[] args) {\n ArrayList<Comparable> BestBubble = new ArrayList<Comparable>();\r\n ArrayList<Comparable> WorstBubble = new ArrayList<Comparable>();\r\n ArrayList<Comparable> BestSelection = new ArrayList<Comparable>();\r\n ArrayList<Comparable> WorstSelection = new ArrayList<Comparable>();\r\n ArrayList<Comparable> BestInsertion = new ArrayList<Comparable>();\r\n ArrayList<Comparable> WorstInsertion = new ArrayList<Comparable>();\r\n\r\n // Best and worst case bubbleSortV testing...\r\n for (int i = 0; i < 10; i++) {\r\n BestBubble.add(i * 2);\r\n } System.out.println(\"BestBubble in pre-sorted ascending order...\\n\" + BestBubble + \"\\n\");\r\n\r\n for (int x = 10; x > 0; x--) {\r\n WorstBubble.add(x);\r\n }\r\n System.out.println(\"WorstBubble in descending order...\\n\" + WorstBubble + \"\\n\");\r\n\r\n // Best and worst case selectionSortV testing...\r\n for (int i = 0; i < 10; i++) {\r\n BestSelection.add(i * 2);\r\n } System.out.println(\"BestSelection in pre-sorted ascending order...\\n\" + BestSelection + \"\\n\");\r\n\r\n for (int x = 10; x > 0; x--) {\r\n WorstSelection.add(x);\r\n }\r\n System.out.println(\"WorstSelection in descending order...\\n\" + WorstSelection + \"\\n\");\r\n\r\n // Best and worst case insertionSortV testing...\r\n for (int i = 0; i < 10; i++) {\r\n BestInsertion.add(i * 2);\r\n } System.out.println(\"BestInsertion in pre-sorted ascending order...\\n\" + BestInsertion + \"\\n\");\r\n\r\n for (int x = 10; x > 0; x--) {\r\n WorstInsertion.add(x);\r\n }\r\n System.out.println(\"WorstInsertion in descending order...\\n\" + WorstInsertion + \"\\n\");\r\n\r\n // Sort every single instantiation of ArrayList\r\n MySorts.bubbleSortV(BestBubble);\r\n MySorts.bubbleSortV(WorstBubble);\r\n\r\n MySorts.selectionSortV(BestSelection);\r\n MySorts.selectionSortV(WorstSelection);\r\n\r\n MySorts.insertionSortV(BestInsertion);\r\n MySorts.insertionSortV(WorstInsertion);\r\n\r\n // Prints all the instantiations of ArrayList\r\n System.out.println(\"Sorted BestBubble...\\n\" + BestBubble + \"\\n\");\r\n System.out.println(\"Sorted WorstBubble...\\n\" + WorstBubble + \"\\n\");\r\n\r\n System.out.println(\"Sorted BestSelection...\\n\" + BestSelection + \"\\n\");\r\n System.out.println(\"Sorted WorstSelection...\\n\" + WorstSelection + \"\\n\");\r\n\r\n System.out.println(\"Sorted BestInsertion...\\n\" + BestInsertion + \"\\n\");\r\n System.out.println(\"Sorted WorstInsertion...\\n\" + WorstInsertion + \"\\n\");\r\n }",
"public static void main(String[] args) {\n\n List<String> animals = new ArrayList <String>();\n\n animals.add(\"Elephatn\");\n animals.add(\"snake\");\n animals.add(\"Lion\");\n animals.add(\"Mongoose\");\n animals.add(\"Cat\");\n\n\n\n// Collections.sort(animals, new StringLengthComparator());\n// Collections.sort(animals, new AlphabeticalComparator());\n Collections.sort(animals, new ReverseAlphabeticalComparator());\n for(String animal:animals){\n System.out.println(animal);\n }\n\n//////////////Sorting Numbers ///////////\n List<Integer> numbers = new ArrayList <Integer>();\n\n numbers.add(54);\n numbers.add(1);\n numbers.add(36);\n numbers.add(73);\n numbers.add(9);\n\n Collections.sort(numbers, new Comparator <Integer>() {\n @Override\n public int compare(Integer num1, Integer num2) {\n return num1.compareTo(num2);\n }\n });\n\n for(Integer number: numbers){\n System.out.println(number);\n }\n\n\n///////////////Sorting Arbitrary objects////////\n\n\n List<Person> people = new ArrayList <Person>();\n\n people.add(new Person(1,\"Joe\"));\n people.add(new Person(5,\"Harry\"));\n people.add(new Person(2,\"Hermoine\"));\n people.add(new Person(4,\"Muffet\"));\n\n// Sort in order of ID\n Collections.sort(people, new Comparator <Person>() {\n @Override\n public int compare(Person p1, Person p2) {\n\n if(p1.getId()>p2.getId()){\n return 1;\n }else if(p1.getId()<p2.getId()){\n return -1;\n }\n return 0;\n\n }\n });\n\n\n // Sort in order of Name\n Collections.sort(people, new Comparator <Person>() {\n @Override\n public int compare(Person p1, Person p2) {\n\n return p1.getName().compareTo(p2.getName());\n\n\n }\n });\n\n for(Person person: people){\n System.out.println(person);\n\n }\n\n }",
"@Override\n \tpublic void sort() {\n \t\tArrays.sort(data);\n \t}",
"public void sort() {\n\t\tif (data.size() < 10) {\n\t\t\tbubbleSort();\n\t\t\tSystem.out.println(\"Bubble Sort\");\n\t\t} else {\n\t\t\tquickSort();\n\t\t\tSystem.out.println(\"Quick Sort\");\n\t\t}\n\t}",
"@Test\n\tpublic void testSortAllNumFlagOn() throws SortException {\n\t\tList<String> arrayList = sortApplication.sortAllWithNumFlagOn(inputArr1);\n\t\tassertEquals(\"#B@n@n0\", arrayList.get(0));\n\t\tassertEquals(\"20 B*anana\", arrayList.get(1));\n\t\tassertEquals(\"100 B*anana\", arrayList.get(2));\n\t\tassertEquals(\"P3@r\", arrayList.get(3));\n\t\tassertEquals(\"p3@R\", arrayList.get(4));\n\t}",
"public static void userSort(ArrayList<FileData> fromFile, int primary_sort, int secondary_sort, int primary_order, int secondary_order)\n {\n \n // user wants to sort by primary = state code and secondary = county code\n if(primary_sort == 1 && secondary_sort == 2) \n {\n if(primary_order == 1 && secondary_order == 1){// user wants both primary and secondary in ascending order\n Collections.sort(fromFile, new Sort_State_Code());\n Collections.sort(fromFile,new Sort_County_Code());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo()); // print the sorted information by state and county code\n }\n }\n else if(primary_order == 2 && secondary_order == 2){ // user wants both primary and secondary in decending order\n Collections.sort(fromFile,new Sort_County_Code().reversed());\n Collections.sort(fromFile, new Sort_State_Code().reversed()); \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){// primary is ascending\n Collections.sort(fromFile, new Sort_State_Code());\n Collections.sort(fromFile,new Sort_County_Code().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){//primary is descending\n Collections.sort(fromFile, new Sort_State_Code().reversed()); \n Collections.sort(fromFile,new Sort_County_Code()); \n for(int i=0; i<fromFile.size(); i++){\n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n // user wants to sort by primary = county code and secondary = state code\n if(primary_sort == 2 && secondary_sort == 1){\n if(primary_order == 1 && secondary_order == 1){\n //primary and seconary is ascending\n Collections.sort(fromFile, new Sort_State_Code());\n Collections.sort(fromFile,new Sort_County_Code());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order == 2 && secondary_order == 2){\n //both descending\n Collections.sort(fromFile, new Sort_State_Code().reversed()); \n Collections.sort(fromFile,new Sort_County_Code().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){//primary is ascending\n Collections.sort(fromFile, new Sort_State_Code().reversed()); \n Collections.sort(fromFile,new Sort_County_Code()); // primary sort\n \n for(int i=0; i<fromFile.size(); i++){\n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){//primary is descending\n Collections.sort(fromFile, new Sort_State_Code());\n Collections.sort(fromFile,new Sort_County_Code().reversed()); // primary sort\n for(int i=0; i<fromFile.size(); i++){\n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n if(primary_sort==1&&secondary_sort==3){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n Collections.sort(fromFile,new Sort_State_Name());\n Collections.sort(fromFile, new Sort_State_Code());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n Collections.sort(fromFile, new Sort_State_Code().reversed()); \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n Collections.sort(fromFile, new Sort_State_Code()); \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo()); // print the sorted information by state and county code\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_State_Name());\n Collections.sort(fromFile, new Sort_State_Code().reversed()); \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo()); // print the sorted information by state and county code\n } \n } \n }\n \n if(primary_sort==3&&secondary_sort==1){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_State_Code());\n Collections.sort(fromFile,new Sort_State_Name());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile, new Sort_State_Code().reversed());\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile,new Sort_State_Code().reversed());\n Collections.sort(fromFile, new Sort_State_Name()); \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo()); // print the sorted information by state and county code\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_State_Code());\n Collections.sort(fromFile, new Sort_State_Name().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==1&&secondary_sort==4){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n Collections.sort(fromFile, new Sort_County_Name());\n Collections.sort(fromFile,new Sort_State_Code());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n Collections.sort(fromFile,new Sort_State_Code().reversed());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile,new Sort_County_Name().reversed());\n Collections.sort(fromFile, new Sort_State_Code()); \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_County_Name());\n Collections.sort(fromFile, new Sort_State_Code().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==4&&secondary_sort==1){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n Collections.sort(fromFile, new Sort_State_Code());\n Collections.sort(fromFile,new Sort_County_Name());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n \n Collections.sort(fromFile, new Sort_State_Code().reversed());\n Collections.sort(fromFile,new Sort_County_Name().reversed());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile,new Sort_State_Code().reversed());\n Collections.sort(fromFile, new Sort_County_Name()); \n for(int i=0; i<fromFile.size(); i++){\n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_State_Code());\n Collections.sort(fromFile, new Sort_County_Name().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n System.out.println(fromFile.get(i).printInfo());\n } \n } \n } \n if(primary_sort==1&&secondary_sort==5){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n Collections.sort(fromFile, new SortFirstConfirmCount());\n Collections.sort(fromFile,new Sort_State_Code());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortFirstConfirmCount().reversed());\n Collections.sort(fromFile, new Sort_State_Code().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n Collections.sort(fromFile,new Sort_State_Code());\n \n for(int i=0; i<fromFile.size(); i++){\n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortFirstConfirmCount());\n Collections.sort(fromFile, new Sort_State_Code().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==5&&secondary_sort==1){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n Collections.sort(fromFile,new Sort_State_Code());\n Collections.sort(fromFile, new SortFirstConfirmCount());\n for(int i=0; i<fromFile.size(); i++){\n System.out.println(fromFile.get(i).printInfo());\n } \n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile, new Sort_State_Code().reversed());\n Collections.sort(fromFile,new SortFirstConfirmCount().reversed());\n for(int i=0; i<fromFile.size(); i++){\n System.out.println(fromFile.get(i).printInfo());\n } \n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile,new Sort_State_Code().reversed());\n Collections.sort(fromFile, new SortFirstConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo()); // print the sorted information \n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_State_Code());\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed()); \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo()); // print the sorted information \n } \n } \n }\n \n \n if(primary_sort==1&&secondary_sort==6){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortSecondConfirmCount());\n Collections.sort(fromFile,new Sort_State_Code());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo()); \n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortSecondConfirmCount().reversed());\n Collections.sort(fromFile, new Sort_State_Code().reversed());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo()); \n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n Collections.sort(fromFile,new Sort_State_Code());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo()); // print the sorted information by state and county code\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortSecondConfirmCount());\n Collections.sort(fromFile, new Sort_State_Code().reversed()); \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo()); // print the sorted information by state and county code\n } \n } \n }\n \n if(primary_sort==6&&secondary_sort==1){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n Collections.sort(fromFile,new Sort_State_Code());\n Collections.sort(fromFile, new SortSecondConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile, new Sort_State_Code().reversed());\n Collections.sort(fromFile,new SortSecondConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile,new Sort_State_Code().reversed());\n Collections.sort(fromFile, new SortSecondConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_State_Code());\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==1&&secondary_sort==7){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortThirdConfirmCount());\n Collections.sort(fromFile,new Sort_State_Code());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortThirdConfirmCount().reversed());\n Collections.sort(fromFile, new Sort_State_Code().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n Collections.sort(fromFile,new Sort_State_Code());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortThirdConfirmCount());\n Collections.sort(fromFile, new Sort_State_Code().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==7&&secondary_sort==1){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n Collections.sort(fromFile,new Sort_State_Code());\n Collections.sort(fromFile, new SortThirdConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile, new Sort_State_Code().reversed());\n Collections.sort(fromFile,new SortThirdConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile,new Sort_State_Code().reversed());\n Collections.sort(fromFile, new SortThirdConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_State_Code());\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==1&&secondary_sort==8){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortFourthConfirmCount());\n Collections.sort(fromFile,new Sort_State_Code());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortFourthConfirmCount().reversed());\n Collections.sort(fromFile, new Sort_State_Code().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n Collections.sort(fromFile,new Sort_State_Code());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortFourthConfirmCount());\n Collections.sort(fromFile, new Sort_State_Code().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n \n if(primary_sort==8&&secondary_sort==1){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n Collections.sort(fromFile,new Sort_State_Code());\n Collections.sort(fromFile, new SortFourthConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile, new Sort_State_Code().reversed());\n Collections.sort(fromFile,new SortFourthConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile,new Sort_State_Code().reversed());\n Collections.sort(fromFile, new SortFourthConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_State_Code());\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==2&&secondary_sort==3){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_State_Name());\n Collections.sort(fromFile,new Sort_County_Code());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n Collections.sort(fromFile, new Sort_County_Code().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_State_Name().reversed());\n Collections.sort(fromFile,new Sort_County_Code());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_State_Name());\n Collections.sort(fromFile, new Sort_County_Code().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==3&&secondary_sort==2){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_County_Code());\n Collections.sort(fromFile,new Sort_State_Name());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_County_Code().reversed());\n Collections.sort(fromFile, new Sort_State_Name().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_County_Code().reversed());\n Collections.sort(fromFile,new Sort_State_Name());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_County_Code());\n Collections.sort(fromFile, new Sort_State_Name().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==2&&secondary_sort==4){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_County_Name());\n Collections.sort(fromFile,new Sort_County_Code());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_County_Name().reversed());\n Collections.sort(fromFile, new Sort_County_Code().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n Collections.sort(fromFile,new Sort_County_Code());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_County_Name());\n Collections.sort(fromFile, new Sort_County_Code().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==4&&secondary_sort==2){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_County_Code());\n Collections.sort(fromFile,new Sort_County_Name());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_County_Code().reversed());\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_County_Code().reversed());\n Collections.sort(fromFile,new Sort_County_Name());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_County_Code());\n Collections.sort(fromFile, new Sort_County_Name().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==2&&secondary_sort==5){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n \n Collections.sort(fromFile,new SortFirstConfirmCount());\n Collections.sort(fromFile, new Sort_County_Code());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n \n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n Collections.sort(fromFile,new Sort_County_Code().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n \n Collections.sort(fromFile,new SortFirstConfirmCount().reversed());\n Collections.sort(fromFile, new Sort_County_Code());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n \n Collections.sort(fromFile, new SortFirstConfirmCount());\n Collections.sort(fromFile,new Sort_County_Code().reversed());\n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==5&&secondary_sort==2){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_County_Code());\n Collections.sort(fromFile,new SortFirstConfirmCount());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_County_Code().reversed());\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_County_Code().reversed());\n Collections.sort(fromFile,new SortFirstConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_County_Code());\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n } \n \n if(primary_sort==2&&secondary_sort==6){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n \n Collections.sort(fromFile,new SortSecondConfirmCount());\n Collections.sort(fromFile, new Sort_County_Code());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n \n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n Collections.sort(fromFile,new Sort_County_Code().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n \n Collections.sort(fromFile,new SortSecondConfirmCount().reversed());\n Collections.sort(fromFile, new Sort_County_Code());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n \n Collections.sort(fromFile, new SortSecondConfirmCount());\n Collections.sort(fromFile,new Sort_County_Code().reversed());\n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n } \n if(primary_sort==6&&secondary_sort==2){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_County_Code());\n Collections.sort(fromFile,new SortSecondConfirmCount());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_County_Code().reversed());\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_County_Code().reversed());\n Collections.sort(fromFile,new SortSecondConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_County_Code());\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n } \n \n if(primary_sort==2&&secondary_sort==7){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n \n Collections.sort(fromFile,new SortThirdConfirmCount());\n Collections.sort(fromFile, new Sort_County_Code());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n \n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n Collections.sort(fromFile,new Sort_County_Code().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n \n Collections.sort(fromFile,new SortThirdConfirmCount().reversed());\n Collections.sort(fromFile, new Sort_County_Code());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n \n Collections.sort(fromFile, new SortThirdConfirmCount());\n Collections.sort(fromFile,new Sort_County_Code().reversed());\n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n } \n if(primary_sort==7&&secondary_sort==2){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_County_Code());\n Collections.sort(fromFile,new SortThirdConfirmCount());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_County_Code().reversed());\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_County_Code().reversed());\n Collections.sort(fromFile,new SortThirdConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_County_Code());\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==2&&secondary_sort==8){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n \n Collections.sort(fromFile,new SortFourthConfirmCount());\n Collections.sort(fromFile, new Sort_County_Code());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n \n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n Collections.sort(fromFile,new Sort_County_Code().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n \n Collections.sort(fromFile,new SortFourthConfirmCount().reversed());\n Collections.sort(fromFile, new Sort_County_Code());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n \n Collections.sort(fromFile, new SortFourthConfirmCount());\n Collections.sort(fromFile,new Sort_County_Code().reversed());\n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n } \n if(primary_sort==8&&secondary_sort==2){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_County_Code());\n Collections.sort(fromFile,new SortFourthConfirmCount());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_County_Code().reversed());\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_County_Code().reversed());\n Collections.sort(fromFile,new SortFourthConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_County_Code());\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed()); \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n } \n \n if(primary_sort==3&&secondary_sort==4){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n \n Collections.sort(fromFile,new Sort_County_Name());\n Collections.sort(fromFile, new Sort_State_Name());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n \n Collections.sort(fromFile, new Sort_County_Name().reversed());\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n \n Collections.sort(fromFile,new Sort_County_Name().reversed());\n Collections.sort(fromFile, new Sort_State_Name());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n \n Collections.sort(fromFile, new Sort_County_Name());\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n if(primary_sort==4&&secondary_sort==3){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_State_Name());\n Collections.sort(fromFile,new Sort_County_Name());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_State_Name().reversed());\n Collections.sort(fromFile,new Sort_County_Name());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_State_Name());\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==3&&secondary_sort==5){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n \n Collections.sort(fromFile,new SortFirstConfirmCount());\n Collections.sort(fromFile, new Sort_State_Name());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n \n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n \n Collections.sort(fromFile,new SortFirstConfirmCount().reversed());\n Collections.sort(fromFile, new Sort_State_Name());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n \n Collections.sort(fromFile, new SortFirstConfirmCount());\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n if(primary_sort==5&&secondary_sort==3){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_State_Name());\n Collections.sort(fromFile,new SortFirstConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_State_Name().reversed());\n Collections.sort(fromFile,new SortFirstConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_State_Name());\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==3&&secondary_sort==6){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n Collections.sort(fromFile, new Sort_State_Name());\n Collections.sort(fromFile,new SortSecondConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n \n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n \n Collections.sort(fromFile,new SortSecondConfirmCount().reversed());\n Collections.sort(fromFile, new Sort_State_Name());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile, new SortSecondConfirmCount());\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n if(primary_sort==6&&secondary_sort==3){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_State_Name());\n Collections.sort(fromFile,new SortSecondConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_State_Name().reversed());\n Collections.sort(fromFile,new SortSecondConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_State_Name());\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==3&&secondary_sort==7){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n \n Collections.sort(fromFile,new SortThirdConfirmCount());\n Collections.sort(fromFile, new Sort_State_Name());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n \n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n \n Collections.sort(fromFile,new SortThirdConfirmCount().reversed());\n Collections.sort(fromFile, new Sort_State_Name());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n \n Collections.sort(fromFile, new SortThirdConfirmCount());\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n if(primary_sort==7&&secondary_sort==3){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_State_Name());\n Collections.sort(fromFile,new SortThirdConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_State_Name().reversed());\n Collections.sort(fromFile,new SortThirdConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_State_Name());\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==3&&secondary_sort==8){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n \n Collections.sort(fromFile,new SortFourthConfirmCount());\n Collections.sort(fromFile, new Sort_State_Name());\n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n \n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n \n Collections.sort(fromFile,new SortFourthConfirmCount().reversed());\n Collections.sort(fromFile, new Sort_State_Name());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n \n Collections.sort(fromFile, new SortFourthConfirmCount());\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n if(primary_sort==8&&secondary_sort==3){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_State_Name());\n Collections.sort(fromFile,new SortFourthConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_State_Name().reversed());\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_State_Name().reversed());\n Collections.sort(fromFile,new SortFourthConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_State_Name());\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==4&&secondary_sort==5){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortFirstConfirmCount());\n Collections.sort(fromFile,new Sort_County_Name());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortFirstConfirmCount().reversed());\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n Collections.sort(fromFile,new Sort_County_Name());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortFirstConfirmCount());\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==5&&secondary_sort==4){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_County_Name());\n Collections.sort(fromFile,new SortFirstConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_County_Name().reversed());\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n Collections.sort(fromFile,new SortFirstConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_County_Name());\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==4&&secondary_sort==6){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortSecondConfirmCount());\n Collections.sort(fromFile,new Sort_County_Name());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortSecondConfirmCount().reversed());\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n Collections.sort(fromFile,new Sort_County_Name());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortSecondConfirmCount());\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==6&&secondary_sort==4){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_County_Name());\n Collections.sort(fromFile,new SortSecondConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_County_Name().reversed());\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n Collections.sort(fromFile,new SortSecondConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_County_Name());\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==4&&secondary_sort==7){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortThirdConfirmCount());\n Collections.sort(fromFile,new Sort_County_Name());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortThirdConfirmCount().reversed());\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n Collections.sort(fromFile,new Sort_County_Name());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortThirdConfirmCount());\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==7&&secondary_sort==4){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_County_Name());\n Collections.sort(fromFile,new SortThirdConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_County_Name().reversed());\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n Collections.sort(fromFile,new SortThirdConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_County_Name());\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==4&&secondary_sort==8){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortFourthConfirmCount());\n Collections.sort(fromFile,new Sort_County_Name());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortFourthConfirmCount().reversed());\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n Collections.sort(fromFile,new Sort_County_Name());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortFourthConfirmCount());\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==8&&secondary_sort==4){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new Sort_County_Name());\n Collections.sort(fromFile,new SortFourthConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new Sort_County_Name().reversed());\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new Sort_County_Name().reversed());\n Collections.sort(fromFile,new SortFourthConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new Sort_County_Name());\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==5&&secondary_sort==6){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortSecondConfirmCount());\n Collections.sort(fromFile,new SortFirstConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortSecondConfirmCount().reversed());\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n Collections.sort(fromFile,new SortFirstConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortSecondConfirmCount());\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==6&&secondary_sort==5){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortFirstConfirmCount());\n Collections.sort(fromFile,new SortSecondConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortFirstConfirmCount().reversed());\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n Collections.sort(fromFile,new SortSecondConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortFirstConfirmCount());\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==5&&secondary_sort==7){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortThirdConfirmCount());\n Collections.sort(fromFile,new SortFirstConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortThirdConfirmCount().reversed());\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n Collections.sort(fromFile,new SortFirstConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortThirdConfirmCount());\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==7&&secondary_sort==5){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortFirstConfirmCount());\n Collections.sort(fromFile,new SortThirdConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortFirstConfirmCount().reversed());\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n Collections.sort(fromFile,new SortThirdConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortFirstConfirmCount());\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==5&&secondary_sort==8){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortFourthConfirmCount());\n Collections.sort(fromFile,new SortFirstConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortFourthConfirmCount().reversed());\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n Collections.sort(fromFile,new SortFirstConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortFourthConfirmCount());\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n \n if(primary_sort==8&&secondary_sort==5){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortFirstConfirmCount());\n Collections.sort(fromFile,new SortFourthConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortFirstConfirmCount().reversed());\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortFirstConfirmCount().reversed());\n Collections.sort(fromFile,new SortFourthConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortFirstConfirmCount());\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n if(primary_sort==6&&secondary_sort==7){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortThirdConfirmCount());\n Collections.sort(fromFile,new SortSecondConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortThirdConfirmCount().reversed());\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n Collections.sort(fromFile,new SortSecondConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortThirdConfirmCount());\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n if(primary_sort==7&&secondary_sort==6){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortSecondConfirmCount());\n Collections.sort(fromFile,new SortThirdConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortSecondConfirmCount().reversed());\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n Collections.sort(fromFile,new SortThirdConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortSecondConfirmCount());\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n if(primary_sort==6&&secondary_sort==8){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortFourthConfirmCount());\n Collections.sort(fromFile,new SortSecondConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortFourthConfirmCount().reversed());\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n Collections.sort(fromFile,new SortSecondConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortFourthConfirmCount());\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n if(primary_sort==8&&secondary_sort==6){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortSecondConfirmCount());\n Collections.sort(fromFile,new SortFourthConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortSecondConfirmCount().reversed());\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortSecondConfirmCount().reversed());\n Collections.sort(fromFile,new SortFourthConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortSecondConfirmCount());\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n if(primary_sort==7&&secondary_sort==8){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortFourthConfirmCount());\n Collections.sort(fromFile,new SortThirdConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortFourthConfirmCount().reversed());\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n Collections.sort(fromFile,new SortThirdConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order==2){\n //primary is descending\n Collections.sort(fromFile,new SortFourthConfirmCount());\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n if(primary_sort==8&&secondary_sort==7){\n if(primary_order==1&&secondary_order==1){\n //primary and second is ascending\n \n Collections.sort(fromFile, new SortThirdConfirmCount());\n Collections.sort(fromFile,new SortFourthConfirmCount());\n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==2&&secondary_order==2){\n //both descending\n Collections.sort(fromFile,new SortThirdConfirmCount().reversed());\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n \n \n for(int i=0; i<fromFile.size(); i++){ \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n \n else if(primary_order==1){\n //secondary is descending\n Collections.sort(fromFile, new SortThirdConfirmCount().reversed());\n Collections.sort(fromFile,new SortFourthConfirmCount());\n \n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n }\n }\n else if(primary_order == 2){\n //primary is descending\n Collections.sort(fromFile,new SortThirdConfirmCount());\n Collections.sort(fromFile, new SortFourthConfirmCount().reversed());\n \n for(int i=0; i<fromFile.size(); i++){\n \n System.out.println(fromFile.get(i).printInfo());\n } \n } \n }\n }",
"@Test\n public void whenSortListOfUsersThenSortedSet() {\n SortUser sortUser = new SortUser();\n\n User anna = new User(\"Anna\", 23);\n User denis = new User(\"Denis\", 21);\n User sergey = new User(\"Sergey\", 25);\n\n List<User> list = new ArrayList<>();\n list.add(anna);\n list.add(denis);\n list.add(sergey);\n\n Set<User> methodReturns = sortUser.sort(list);\n\n Set<User> expected = new LinkedHashSet<>();\n expected.add(denis);\n expected.add(anna);\n expected.add(sergey);\n\n assertThat(methodReturns, is(expected));\n }",
"private void Sort(int[] list)\r\n {\r\n switch (SortField.getText())\r\n {\r\n case \"Insertion Sort\":\r\n {\r\n InsertionSort insertionSort = new InsertionSort();\r\n\r\n long startTime = System.currentTimeMillis();\r\n\r\n insertionSort.insertionSort(list);\r\n\r\n long endTime = System.currentTimeMillis();\r\n\r\n CompareField.setText(String.valueOf(insertionSort.getComparisons()));\r\n MovementField.setText(String.valueOf(insertionSort.getMovements()));\r\n TimeField.setText((endTime - startTime + \" milliseconds\"));\r\n TimeComField.setText(\"O(n*2)\");\r\n\r\n break;\r\n }\r\n case \"Selection Sort\":\r\n {\r\n SelectionSort selectionSort = new SelectionSort();\r\n\r\n long startTime = System.currentTimeMillis();\r\n\r\n selectionSort.selectionSort(list);\r\n\r\n long endTime = System.currentTimeMillis();\r\n\r\n CompareField.setText(String.valueOf(selectionSort.getComparisons()));\r\n MovementField.setText(String.valueOf(selectionSort.getMovements()));\r\n TimeField.setText((endTime - startTime + \" milliseconds\"));\r\n TimeComField.setText(\"O(n2)\");\r\n\r\n break;\r\n }\r\n case \"Quick Sort\":\r\n {\r\n QuickSort quickSort = new QuickSort();\r\n\r\n long startTime = System.currentTimeMillis();\r\n\r\n quickSort.quickSort(list);\r\n\r\n long endTime = System.currentTimeMillis();\r\n\r\n CompareField.setText(String.valueOf(quickSort.getComparisons()));\r\n MovementField.setText(String.valueOf(quickSort.getMovements()));\r\n TimeField.setText((endTime - startTime + \" milliseconds\"));\r\n TimeComField.setText(\"O(n log n)\");\r\n\r\n break;\r\n }\r\n case \"Merge Sort\":\r\n {\r\n MergeSort mergeSort = new MergeSort();\r\n\r\n long startTime = System.currentTimeMillis();\r\n\r\n mergeSort.mergeSort(list);\r\n\r\n long endTime = System.currentTimeMillis();\r\n\r\n CompareField.setText(String.valueOf(mergeSort.getComparisons()));\r\n MovementField.setText(String.valueOf(mergeSort.getMovements()));\r\n TimeField.setText((endTime - startTime + \" milliseconds\"));\r\n TimeComField.setText(\"T(n) = 2T(n/2) + θ(n)\");\r\n\r\n break;\r\n }\r\n case \"Heap Sort\":\r\n {\r\n HeapSort heapSort = new HeapSort();\r\n\r\n long startTime = System.currentTimeMillis();\r\n\r\n heapSort.heapSort(list);\r\n\r\n long endTime = System.currentTimeMillis();\r\n\r\n CompareField.setText(String.valueOf(heapSort.getComparisons()));\r\n MovementField.setText(String.valueOf(heapSort.getMovements()));\r\n TimeField.setText((endTime - startTime + \" milliseconds\"));\r\n TimeComField.setText(\"O(nLogn)\");\r\n\r\n break;\r\n }\r\n case \"Radix Sort\":\r\n {\r\n RadixSort radixSort = new RadixSort();\r\n\r\n long startTime = System.currentTimeMillis();\r\n\r\n radixSort.radixSort(list, Integer.parseInt(SizeField.getText()));\r\n\r\n long endTime = System.currentTimeMillis();\r\n\r\n CompareField.setText(\"Radix Sort has 0 comparisons\");\r\n MovementField.setText(String.valueOf(radixSort.getMovements()));\r\n TimeField.setText((endTime - startTime + \" milliseconds\"));\r\n TimeComField.setText(\"O(kn)\");\r\n\r\n break;\r\n }\r\n\r\n case \"Bubble Sort\":\r\n {\r\n BubbleSort bubbleSort = new BubbleSort();\r\n\r\n long startTime = System.currentTimeMillis();\r\n\r\n bubbleSort.bubbleSort(list);\r\n\r\n long endTime = System.currentTimeMillis();\r\n\r\n CompareField.setText(String.valueOf(bubbleSort.getComparisons()));\r\n MovementField.setText(String.valueOf(bubbleSort.getMovements()));\r\n TimeField.setText((endTime - startTime + \" milliseconds\"));\r\n TimeComField.setText(\"O(n*n)\");\r\n\r\n break;\r\n }\r\n }\r\n }",
"public SortingAlgorithmResult<E> sort(List<E> l);",
"private void testInsertionSort() {\n System.out.println(\"------ TESTING : insertionSort() ------\");\n try{\n iTestFileList.insertionSort(); // calling insertion sort function\n }catch(Exception e){\n System.out.println(e.getMessage());\n }\n }",
"@Test\n public void testSort() {\n topScreenModel.setSortFieldAndFields(Field.LOCALITY, fields);\n\n FieldValue previous = null;\n\n // Test for ascending sort\n topScreenModel.refreshMetricsData();\n\n for (Record record : topScreenModel.getRecords()) {\n FieldValue current = record.get(Field.LOCALITY);\n if (previous != null) {\n assertTrue(current.compareTo(previous) < 0);\n }\n previous = current;\n }\n\n // Test for descending sort\n topScreenModel.switchSortOrder();\n topScreenModel.refreshMetricsData();\n\n previous = null;\n for (Record record : topScreenModel.getRecords()) {\n FieldValue current = record.get(Field.LOCALITY);\n if (previous != null) {\n assertTrue(current.compareTo(previous) > 0);\n }\n previous = current;\n }\n }",
"@VTID(28)\n boolean getSortUsingCustomLists();",
"@Test\n\tpublic void testSortSimpleNumbers() throws SortException {\n\t\tList<String> arrayList = sortApplication.sortSimpleNumbers(inputArr6);\n\t\tassertEquals(\"100apples\", arrayList.get(0));\n\t\tassertEquals(\"1oranges\", arrayList.get(1));\n\t\tassertEquals(\"22pears\", arrayList.get(2));\n\t\tassertEquals(\"feb16\", arrayList.get(3));\n\t\tassertEquals(\"january2016\", arrayList.get(4));\n\t}",
"@Test\n public void whenSortNameLengthListOfUsersThenListSortedByNameLength() {\n SortUser sortUser = new SortUser();\n\n User sergey = new User(\"Sergey\", 25);\n User anna = new User(\"Anna\", 23);\n User denis = new User(\"Denis\", 21);\n\n List<User> list = new ArrayList<>();\n list.add(sergey);\n list.add(anna);\n list.add(denis);\n\n List<User> methodReturns = sortUser.sortNameLength(list);\n\n List<User> expected = new ArrayList<>();\n expected.add(anna);\n expected.add(denis);\n expected.add(sergey);\n\n assertThat(methodReturns, is(expected));\n }",
"@Override\n public void sort() {\n int cont = 0;\n int mov = 0;\n for (int i = 0; i < (100 - 1); i++) {\n int menor = i;\n for (int j = (i + 1); j < 100; j++){\n if (array[menor] > array[j]){\n cont= cont + 1;\n menor = j;\n mov = mov + 1;\n }\n }\n swap(menor, i);\n mov = mov + 3;\n }\n System.out.println(cont + \" comparações\");\n System.out.println(mov + \" Movimenteções\");\n }",
"public static void main(String[] args) throws Exception{\n testSort();\n }",
"@Test\n public void whenListOfUsersWithDifferentNamesAndAgesThenSortHashSortsUsersByHashcode() {\n\n SortUser sort = new SortUser();\n\n List<User> test = new LinkedList<>();\n\n User basil = new User(\"Basil\", 27);\n User alex = new User(\"Alex\", 31);\n User sam = new User(\"Sam\", 33);\n\n test.add(basil);\n test.add(alex);\n test.add(sam);\n\n List<User> expected = new LinkedList<>();\n\n expected.add(sam);\n expected.add(alex);\n expected.add(basil);\n\n List<User> actual = sort.sortHash(test);\n\n assertThat(actual, is(expected));\n\n }",
"public static void testSort() {\n\t\tint[] test = {-1,-2,-3,4,1,3,0,3,-2,1,-2,2,-1,1,-5,4,-3};\n\t\tArrays.sort(test);\n\t\tfor (int e : test) {\n\t\t\tSystem.out.print(e + \", \");\n\t\t}\n\t}",
"private void sort() {\n\t\tCollections.sort(this.entities, comparator);\n\t}",
"public void sort() {\n Card.arraySort(this.cards, this.topCard);\n }",
"@Test\n public void newSortingTest() {\n newSorting sort = new newSorting();\n int[] arr = {3, 2, 6, 5, 1, 7, 4};\n int[] expected = {1, 2, 3, 4, 5, 6, 7};\n sort.newSorting(arr, 4);\n assertArrayEquals(arr, expected);\n }",
"@Override\r\n public int compareTo(Object o) {\r\n Pokemon p = (Pokemon) o; // like o2\r\n return (this.getNumber() - p.getNumber()); // smallest to biggest\r\n }",
"@Test\r\n\tpublic void testPlayableCards2()\r\n\t{\n\t\t\r\n\t\tCardList clubList = new CardList();\r\n\t\tclubList.add(AllCards.a6C);\r\n\t\tclubList.add(AllCards.aTC);\t\t\r\n//\t\tassertTrue( h.playableCards(Suit.CLUBS, null).toString().equals(clubList.toString()));\r\n\t\t\r\n\t\tCardList diamondsList = new CardList();\r\n\t\tdiamondsList.add(AllCards.a7D);\r\n\t\tdiamondsList.add(AllCards.aQD);\r\n\t\tdiamondsList.add(AllCards.aKD);\r\n//\t\tassertTrue( h.playableCards(Suit.DIAMONDS, null).toString().equals(diamondsList.toString()));\r\n\t\t\r\n\t\tCardList heartsList = new CardList();\r\n\t\theartsList.add(AllCards.a9H);\t\t\r\n//\t\tassertTrue( h.playableCards(Suit.HEARTS, null).toString().equals(heartsList.toString()));\r\n\t\t\r\n\t\tCardList spadesList = new CardList();\r\n\t\tspadesList.add(AllCards.aTS);\r\n\t\tspadesList.add(AllCards.a7S);\r\n\t\tspadesList.add(AllCards.aJS);\r\n\t\tspadesList.add(AllCards.aKS);\r\n//\t\tassertTrue( h.playableCards(Suit.SPADES, null).toString().equals(spadesList.toString()));\r\n\t\t\r\n\t\tCardList joker = new CardList();\t\t\t\r\n\t\tjoker.add(AllCards.aLJo);\t\t\r\n\t\tjoker.add(AllCards.aHJo);\r\n//\t\tassertTrue(jokerhand.playableCards(Suit.DIAMONDS, null).sort(new Card.ByRankComparator()).toString().equals(joker.toString()));\r\n\t\t\r\n\t\t\r\n\t\t// Trump\r\n\t\tclubList.add(AllCards.aJS);\r\n\t\tclubList.add(AllCards.aLJo);\r\n\t\tclubList = clubList.sort(new Card.ByRankComparator());\r\n\t\tassertTrue( h.playableCards(Suit.CLUBS, Suit.CLUBS).sort(new Card.ByRankComparator()).toString().equals(clubList.toString()));\r\n\t\t\r\n\t\tdiamondsList.add(AllCards.aLJo);\r\n\t\tdiamondsList = diamondsList.sort(new Card.ByRankComparator());\r\n\t\tassertTrue( h.playableCards(Suit.DIAMONDS, Suit.DIAMONDS).sort(new Card.ByRankComparator()).toString().equals(diamondsList.toString()));\r\n\r\n\t\theartsList = heartsList.sort(new Card.ByRankComparator());\t\t\r\n\t\tassertTrue( h.playableCards(Suit.HEARTS, Suit.DIAMONDS).sort(new Card.ByRankComparator()).toString().equals(heartsList.toString()));\r\n\t\t\r\n\t\tspadesList.remove(AllCards.aJS);\r\n\t\tspadesList = spadesList.sort(new Card.ByRankComparator());\r\n\t\tassertTrue( h.playableCards(Suit.SPADES, Suit.CLUBS).sort(new Card.ByRankComparator()).toString().equals(spadesList.toString()));\r\n\t\t\r\n\t\t// no Trump in hand\r\n\t\tassertTrue(jokerhand.playableCards(Suit.DIAMONDS, Suit.DIAMONDS).sort(new Card.ByRankComparator()).toString().equals(joker.toString()));\r\n\t\tassertTrue(jokerhand.playableCards(Suit.DIAMONDS, Suit.CLUBS).sort(new Card.ByRankComparator()).toString().equals(joker.toString()));\r\n\t\t\r\n\t\tCardList jackList = new CardList();\r\n\t\tjackList.add(AllCards.aJS);\r\n\t\tjackList.add(AllCards.aJC);\r\n\t\tassertTrue(jackHand.playableCards(Suit.CLUBS, Suit.SPADES).sort(new Card.ByRankComparator()).toString().equals(jackList.toString()));\r\n\t\t\r\n\t}",
"public static <T extends Comparable <? super T>> void mysterySort3(List <T> list){\r\n\t\twhile (!isSorted(list)){ // O(n)\r\n\t\t\tCollections.shuffle(list); //O(n)\r\n\t\t}\r\n\t}",
"public int compare(Object o1, Object o2) {\n/* 25 */ Alphabet a1 = (Alphabet)o1;\n/* 26 */ Alphabet a2 = (Alphabet)o2;\n/* */ \n/* 28 */ return a2.order - a1.order;\n/* */ }",
"@Test\n\n public void student_Givenstudentobject_shouldbesorted() {\n Student s1 = new Student(1, \"shivani\", 24);\n Student s2 = new Student(2, \"madhuri\", 25);\n Student s3 = new Student(3, \"neha\", 24);\n Student s4 = new Student(4, \"shivani\", 22);\n Student s5 = new Student(5, \"minal\", 20);\n // list of type students\n ArrayList<Student> al = new ArrayList<Student>();\n al.add(s1);\n al.add(s2);\n al.add(s3);\n al.add(s4);\n al.add(s5);\n // store all list elements in list\n for (int i=0; i<al.size(); i++)\n System.out.println(al.get(i));\n Collections.sort(al, new StudentSorter());\n System.out.println(\"\\nSorted list\");\n for (int i=0; i<al.size(); i++)\n System.out.println(al.get(i));\n }",
"public abstract void sortInventory(Comparator<AbstractItemAPI> c);",
"@Test\n public void whenListOfUserContainsofFiveUsersThenSortByAge() {\n\n SortUser sort = new SortUser();\n\n User din = new User(\"Din\", 23);\n User sam = new User(\"Sam\", 15);\n User john = new User(\"John\", 31);\n User sara = new User(\"Sara\", 25);\n User greg = new User(\"Greg\", 28);\n\n List<User> users = new LinkedList<>();\n\n users.add(din);\n users.add(sam);\n users.add(john);\n users.add(sara);\n users.add(greg);\n\n Set<User> expectedSet = new TreeSet<>();\n\n expectedSet.add(sam);\n expectedSet.add(din);\n expectedSet.add(sara);\n expectedSet.add(greg);\n expectedSet.add(john);\n\n Set<User> actualSet = sort.sort(users);\n\n assertThat(actualSet, is(expectedSet));\n\n }",
"private void sort() {\n Collections.sort(mEntries, new Comparator<BarEntry>() {\n @Override\n public int compare(BarEntry o1, BarEntry o2) {\n return o1.getX() > o2.getX() ? 1 : o1.getX() < o2.getX() ? -1 : 0;\n }\n });\n }",
"public static void main(String[] args) {\n ArrayList<SortObjects> a = new ArrayList<SortObjects>();\n\n SortObjects o = new SortObjects(\"Latha\", 23, 26000);\n SortObjects o2= new SortObjects(\"Ramya\", 20, 11000);\n SortObjects o3= new SortObjects(\"Kalai\", 29, 30000);\n SortObjects o4= new SortObjects(\"Vidya\", 24, 25000);\n a.add(o);\n a.add(o2);\n a.add(o3);\n a.add(o4);\n SortComparator s = new SortComparator();\n a.sort(s);\n System.out.println(a);\n \n \n\n\t}"
]
| [
"0.71821016",
"0.7106772",
"0.68959653",
"0.68799037",
"0.6852728",
"0.68094736",
"0.67511743",
"0.6748985",
"0.6719028",
"0.67124665",
"0.6630915",
"0.65899247",
"0.65722275",
"0.6568198",
"0.65383536",
"0.65012056",
"0.64990884",
"0.646551",
"0.64600027",
"0.6448262",
"0.6424772",
"0.64086133",
"0.6397665",
"0.6365682",
"0.6364906",
"0.6364734",
"0.6363282",
"0.63617027",
"0.63572663",
"0.6327832",
"0.63219494",
"0.63113785",
"0.6306482",
"0.6303823",
"0.6303383",
"0.63030785",
"0.63011026",
"0.62984586",
"0.62943524",
"0.6291625",
"0.6272846",
"0.62717",
"0.6267706",
"0.6260999",
"0.6260073",
"0.6257455",
"0.6252268",
"0.62400955",
"0.62385243",
"0.62060535",
"0.6191029",
"0.6190591",
"0.6187917",
"0.61757874",
"0.61739844",
"0.6172512",
"0.61670077",
"0.6161103",
"0.61579937",
"0.61463505",
"0.61429554",
"0.61419314",
"0.61276996",
"0.61182636",
"0.6114814",
"0.61139375",
"0.6105085",
"0.6093569",
"0.60840064",
"0.60840064",
"0.60802436",
"0.607807",
"0.6077194",
"0.6076594",
"0.60759544",
"0.6067672",
"0.6066799",
"0.6065384",
"0.60601056",
"0.6055988",
"0.60544807",
"0.6049278",
"0.6046992",
"0.60369855",
"0.6036277",
"0.60313183",
"0.6022917",
"0.60158294",
"0.6011859",
"0.60096055",
"0.60045695",
"0.60022324",
"0.5998974",
"0.5997195",
"0.59919876",
"0.598945",
"0.59887815",
"0.59857535",
"0.5984107",
"0.5983691"
]
| 0.8275229 | 0 |
test getAll method of PokemonTable | public static boolean testPokemonTableGetAll() throws IOException {
PokemonTable inst = new PokemonTable(10);
for (Pokemon item : testList) {
inst.put(item.getName(), item);
}
LinkedList<Pokemon> list = inst.getAll();
if (list.size() != 6)
return false;
for (Pokemon item : testList) {
if (!list.contains(item)) {
return false;
}
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void getAll() {\n\n PokeStubDTOWrapper wrappedPokemonStubs = restTemplate.getForObject(\"https://pokeapi.co/api/v2/pokemon?limit=1118\", PokeStubDTOWrapper.class);\n List<PokeStubDTO> pokemonStubList = wrappedPokemonStubs.getDTOs();\n\n for (PokeStubDTO pokeStub: pokemonStubList) {\n PokeDTO pokeDTO = restTemplate.getForObject(pokeStub.getUrl(), PokeDTO.class);\n\n Optional<Pokemon> pokemonInDB = pokemonRepository.findByName(pokeDTO.getName());\n\n if(pokemonInDB.isEmpty()){\n savePokemon(pokeDTO);\n System.out.println(\"saved: \" + pokeDTO.getName());\n\n } else {\n System.out.println(pokeDTO.getName()+ \" already exists in DB\");\n }\n }\n }",
"@Test\n public void retriveAllTest() throws SQLException {\n manager = new TableServizioManager(mockDb);\n List<Servizio> lista = manager.retriveAll();\n assertEquals(7,lista.size(),\"It should return a list of length 7\");\n }",
"@Test\r\n public void testSelectAll() {\r\n System.out.println(\"AbonentDAL selectAll\");\r\n AbonentDAL instance = new AbonentDAL();\r\n List<Abonent> result = instance.selectAll();\r\n assertTrue(result!=null && result.size()>0);\r\n }",
"public List<PokemonEntity> findAll() {\n LOGGER.log(Level.INFO, \"Consultando todas los trayectos\");\n // Se crea un query para buscar todas las ciudades en la base de datos.\n TypedQuery query = em.createQuery(\"select u from PokemonEntity u\", PokemonEntity.class);\n // Note que en el query se hace uso del método getResultList() que obtiene una lista de ciudades.\n return query.getResultList();\n}",
"@Test\n public void testJPA3ListAll (){\n Iterable<TruckInfo> trucklist = truckRepo.findAll();\n\n\n\n\n }",
"@Test\n void getAllSuccess() {\n List<User> Users = dao.getAll();\n assertEquals(2, Users.size());\n }",
"@Test\n public void test_getAll_1() throws Exception {\n clearDB();\n\n List<User> res = instance.getAll();\n\n assertEquals(\"'getAll' should be correct.\", 0, res.size());\n }",
"@Test\n void getAllSuccess(){\n\n List<CompositionInstrument> compositionInstruments = genericDao.getAll();\n assertEquals(4, compositionInstruments.size());\n }",
"@Test\n\t \t\n\t public void listAll() {\n\t \n\t List<Persona> list = personaDao.listPersons();\n\t \n\t Assert.assertNotNull(\"Error listado\", list);\n\n\t }",
"public List<Pokemon> showAllPokemon() {\r\n\t\tEntityManager em = emfactory.createEntityManager();\r\n\t\t@SuppressWarnings(\"unchecked\")\r\n\t\tList<Pokemon> allPokemon = em.createQuery(\"SELECT p FROM Pokemon p\").getResultList();\r\n\t\treturn allPokemon;\r\n\t}",
"@Test\n void getAllSuccess() {\n List<RunCategory> categories = dao.getAll();\n assertEquals(13, categories.size());\n }",
"@Test\n void getAllSuccess() {\n // get all the users\n // make sure there are the proper number of users\n List<User> users = genericDao.getAll();\n assertEquals(users.size(), 4);\n }",
"@Test\n void getAllSuccess() {\n List<Event> events = genericDao.getAll();\n assertEquals(5, events.size());\n }",
"@Test\n public void test3FindAll() {\n SpecialityFactory factory = new MysqlSpecialityDAOFactry();\n SpecialityDAO dao = factory.create();\n List<SpecialityDTO> lista=(List<SpecialityDTO>)dao.findAll(); \n System.out.println(lista);\n assertTrue(!lista.isEmpty());\n }",
"@Test\n\tpublic void testFindAll() {\n\n\t\tList<UserInfo> result = this.userinfoDao.findAll();\n\n\t}",
"public void testGetAllTitles() {\r\n System.out.println(\"getAllEmployees\");\r\n List expResult = null;\r\n List result = TitleDao.getAllTitles();\r\n assertEquals(expResult, result);\r\n }",
"@Test\n public void testGetAllProduct() throws Exception {\n System.out.println(\"getAllProduct\");\n prs = dao.getAllProduct();\n \n assertArrayEquals(products.toArray(), prs.toArray());\n }",
"@Test\r\n public void testGetAllChromInfo() throws Exception {\n assertEquals(7, queries.getAllChromInfo().size());\r\n }",
"@Test\r\n public void testA0Get_0args() {\r\n System.out.println(\"get all\");\r\n \r\n UsuarioDao instance = new UsuarioDao();\r\n List<Usuario> expResult = new ArrayList<>();\r\n List<Usuario> result = instance.get();\r\n \r\n assertEquals(expResult, result);\r\n }",
"@Test\n public void selectAll(){\n }",
"@Test\n @DisplayName(\"Testataan kaikkien tilausten haku\")\n void getAllReservations() {\n assertEquals(0, reservationsDao.getAllReservations().size());\n\n TablesEntity table1 = new TablesEntity();\n table1.setSeats(2);\n tablesDao.createTable(table1);\n // Test that returns the same number as created reservations\n ReservationsEntity firstReservation = new ReservationsEntity(\"amal\",\"46111222\", new Date(System.currentTimeMillis()), table1.getId(),new Time(1000),new Time(2000));\n reservationsDao.createReservation(firstReservation);\n\n TablesEntity table2 = new TablesEntity();\n table2.setSeats(2);\n tablesDao.createTable(table2);\n reservationsDao.createReservation(new ReservationsEntity(\"juho\", \"46555444\", new Date(System.currentTimeMillis()), table2.getId(), new Time(1000),new Time(2000)));\n\n List<ReservationsEntity> reservations = reservationsDao.getAllReservations();\n assertEquals(2, reservations.size());\n assertEquals(firstReservation, reservations.get(0));\n }",
"@Test\n void getAllCarsSuccess() {\n List<Car> cars = carDao.getAll();\n assertNotNull(cars);\n assertEquals(1, cars.size());\n }",
"@Test\n\tpublic void testGetLista() throws Exception {\n\t\tSystem.out.println(\"getLista\");\n\t\tso.execute(entity);\n\t\tList<IGeneralEntity> expResult = ((TakeTrucksOperation) so).getLista();\n\t\tList<IGeneralEntity> result = so.db.vratiSve(entity);\n\n\t\tassertEquals(expResult.size(), result.size());\n\t}",
"@Test\n public void getAllTest() {\n Mockito.when(this.repo.findAll()).thenReturn(publisherList);\n Iterable<Publisher> resultFromService = this.publisherService.findAll();\n Publisher resultFromIterator = resultFromService.iterator().next();\n assertThat(resultFromIterator.getName()).isEqualTo(\"What The What\");\n Mockito.verify(this.repo, Mockito.times(1)).findAll();\n }",
"public static boolean testTableGet() {\r\n try {\r\n for (int i = 0; i < 6; i++) {\r\n if (!pokemonEq(table.get(testList[i].getName()), testList[i]))\r\n return false;\r\n }\r\n } catch (NoSuchElementException e) {\r\n return false;\r\n }\r\n return true;\r\n }",
"@Test \n\t public void testRetrieveAll(){\n\t\t try{\n\t\t\t List<Users> users = new ArrayList<Users>();\n\t\t\t users.add( BaseData.getUsers());\n\t\t\t\tusers.add(BaseData.getDBUsers());\n\t\t\t\tQuery mockQuery = mock(Query.class);\n\t\t\t\twhen(entityManager.createQuery(Mockito.anyString())).thenReturn(mockQuery);\n\t\t\t\twhen(mockQuery.getResultList()).thenReturn(users);\n\t\t\t\tList<Users> loadedUsers = (List<Users>)userDao.retrieveAll();\n\t\t\t\tassertNotNull(loadedUsers);\n\t\t\t\tassertTrue(loadedUsers.size() > 1);\n\t\t }catch(DataAcessException se){\n\t\t\t logger.error(\"error at service layer while testing retrieveAll:.\",se);\n\t\t }\n\t }",
"@Test\n void getAllOrdersSuccess() {\n List<Order> orders = dao.getAllOrders();\n assertEquals(3, orders.size());\n }",
"@Test\r\n public void testGetALL() {\r\n CategoriaDAO instance = new CategoriaDAO();\r\n List<Categoria> result = instance.getALL();\r\n Categoria itera = new Categoria();\r\n Iterator it = result.iterator();\r\n while (it.hasNext()) {\r\n itera = (Categoria) it.next();\r\n System.out.println(itera.getIdcategoria() + \" \" + itera.getDescricao());\r\n }\r\n }",
"@Test\n\tpublic void testGetAllPatient() {\n\t\tfor (int i =0; i<10;i++){\n\t\t assertEquals(wraRestServer.listPatient().get(i).getId(),patientDao.getAll().get(i).getId());\n\t}\n\t}",
"@Test\n public void getAllRecipes_ReturnsList(){\n ArrayList<Recipe> allRecipes = testDatabase.getAllRecipes();\n assertNotEquals(\"getAllRecipes - Non-empty List Returned\", 0, allRecipes.size());\n }",
"@Test\n public void findAll() throws Exception {\n }",
"@Override\r\n\tpublic List<shopPet> getAll() {\n\t\treturn dao.getAll();\r\n\t}",
"@Test\n void getAllUserRolesSuccess() {\n List<UserRoles> userRoles = genericDao.getAll();\n //assert that you get back the right number of results assuming nothing alters the table\n assertEquals(6, userRoles.size());//\n log.info(\"get all userRoles test: all userRoles;\" + genericDao.getAll());\n }",
"@Test\n public void apiKundenViewGetAllGetTest() throws ApiException {\n List<CmplxKunden> response = api.apiKundenViewGetAllGet();\n\n // TODO: test validations\n }",
"@Test\r\n public void testFindAll() throws Exception {\r\n }",
"@Test\n public void getAllItem() {\n Item item1 = new Item();\n item1.setName(\"Drill\");\n item1.setDescription(\"Power Tool\");\n item1.setDaily_rate(new BigDecimal(\"24.99\"));\n item1 = service.saveItem(item1);\n\n // Add an Item to the mock database using the Item API method (item2)\n Item item2 = new Item();\n item2.setName(\"Screwdriver\");\n item2.setDescription(\"Hand Tool\");\n item2.setDaily_rate(new BigDecimal(\"4.99\"));\n item2 = service.saveItem(item2);\n\n // Add all the Item's in the mock database to a list of Items using the Item API method\n List<Item> itemList = service.findAllItems();\n\n // Test the getAllItem() API method\n TestCase.assertEquals(2, itemList.size());\n TestCase.assertEquals(item1, itemList.get(0));\n TestCase.assertEquals(item2, itemList.get(1));\n }",
"public ArrayList<Pokemon> getAllPokemon(){\n\t\treturn caughtPokemon; \n\t}",
"@Test\r\n public void testGetAllFestivities() {\r\n System.out.println(\"getAllFestivities\");\r\n List<Festivity> result = Database.getAllFestivities();\r\n assertTrue(result.size() > 0 );\r\n }",
"@Test\n public void testFindAll_Person_TimeSlot() {\n // more or less tested in testFindEntity_Person_TimeSlot()\n }",
"@Test\n void findAll_API_TEST() throws Exception {\n\n //TEST DATA\n Pet pet_1 = new Pet();\n pet_1.setId(1);\n pet_1.setName(\"John\");\n\n Pet pet_2 = new Pet();\n pet_2.setId(2);\n pet_2.setName(\"John\");\n\n Pet pet_3 = new Pet();\n pet_3.setId(3);\n pet_3.setName(\"John\");\n\n given(petService.findAll()).willReturn(asList(pet_1, pet_2, pet_3));\n mvc.perform(get(\"/owners/*/pets\").accept(MediaType.APPLICATION_JSON))\n .andExpect(status().isOk())\n .andExpect(jsonPath(\"$[0].id\").value(1))\n .andExpect(jsonPath(\"$[1].id\").value(2))\n .andExpect(jsonPath(\"$[2].id\").value(3));\n\n }",
"@Test\n public void getPerroTest() {\n \n PerroEntity entity = Perrodata.get(0);\n PerroEntity resultEntity = perroLogic.getPerro(entity.getId());\n Assert.assertNotNull(resultEntity);\n \n Assert.assertEquals(entity.getId(), resultEntity.getId());\n Assert.assertEquals(entity.getIdPerro(), resultEntity.getIdPerro());\n Assert.assertEquals(entity.getNombre(), resultEntity.getNombre());\n Assert.assertEquals(entity.getEdad(), resultEntity.getEdad());\n Assert.assertEquals(entity.getRaza(), resultEntity.getRaza());\n }",
"public List queryTest() {\n\t\tList list = null;\n\t\tthis.init();\n\t\t try {\n\t\t\t list= sqlMap.queryForList(\"getAllTest\");\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\t\n\t}",
"@Test\n public void testGetAllProducts() throws Exception {\n when(repository.findAll()).thenReturn(Collections.singletonList(this.product));\n\n assertEquals(Collections.singletonList(this.product), service.getAllProducts());\n }",
"@Test\n void getAllSuccess() {\n List<UserRoles> roles = genericDAO.getAll();\n assertEquals(3, roles.size());\n }",
"@Override\n\tpublic List<TestPoEntity> findAll() {\n\t\treturn null;\n\t}",
"@Test\n public void testSelectAll() {\n }",
"public List<Poruke> getAllPoruke(){\r\n return porukeBeanLocal.getAllPoruke();\r\n }",
"@Test\n public void testFindAll()\n {\n final List<Invoice> invoices = invoiceRepository.findAll();\n\n Assert.assertFalse(invoices.isEmpty());\n\n for (final Invoice invoice : invoices)\n {\n Assert.assertNotNull(invoice.getDate());\n Assert.assertNotNull(invoice.getID());\n Assert.assertNotNull(invoice.getTotal());\n }\n }",
"@Test\n void getByPropertyLikeSuccess() {\n List<Car> carList = carDao.getByPropertyLike(\"make\",\"Je\") ;\n assertEquals(1, carList.size());\n }",
"@Test\n public void testConsultarTodos() throws Exception {\n System.out.println(\"testConsultarTodos\");\n List<ConfiguracaoTransferencia> result = instance.findAll();\n assertTrue(result != null && result.size() > 0);\n }",
"@Test\n public void listAll_404() throws Exception {\n\n // PREPARE THE DATABASE\n // No data needed in database\n\n // PREPARE THE TEST\n // No preparation needed\n\n // DO THE TEST\n Response response = callAPI(VERB.GET, \"/mo/\", null);\n\n // CHECK RESULTS\n int status = response.getStatus();\n assertEquals(204, status);\n\n String body = response.readEntity(String.class);\n assertEquals(\"\", body);\n }",
"@Test\n public void testSelectAll() throws Exception {\n\n }",
"public void setAllPokemon()\n {\n PokemonFactory pFactory = new PokemonFactory();\n this.allPokemon = pFactory.getRandomPokemon();\n\n }",
"@Test\n public void getPerrosTest() {\n List<PerroEntity> list = perroLogic.getPerros();\n Assert.assertEquals(Perrodata.size(), list.size());\n for (PerroEntity entity : list) {\n boolean found = false;\n for (PerroEntity storedEntity : Perrodata) {\n if (entity.getId().equals(storedEntity.getId())) {\n found = true;\n }\n }\n Assert.assertTrue(found);\n }\n }",
"public void testGetAllProjetos() {\n List<Projeto> lista = ProjetoDAO.getAllProjetos();\n assertTrue(lista != null && !lista.isEmpty());\n }",
"@Test\n public void findAllTest() {\n Set<Reservation> expected = new HashSet<>();\n expected.add(reservation1);\n expected.add(reservation2);\n expected.add(reservation3);\n expected.add(reservation4);\n Mockito.when(reservationDao.findAll()).thenReturn(expected);\n Collection<Reservation> result = reservationService.findAll();\n Assert.assertEquals(result.size(), 4);\n Assert.assertTrue(result.contains(reservation1));\n Assert.assertTrue(result.contains(reservation2));\n }",
"@Test\n public void getViajerosTest() {\n List<ViajeroEntity> list = vp.findAll();\n Assert.assertEquals(data.size(), list.size());\n for (ViajeroEntity ent : list) {\n boolean found = false;\n for (ViajeroEntity entity : data) {\n if (ent.getId().equals(entity.getId())) {\n found = true;\n }\n }\n Assert.assertTrue(found);\n }\n }",
"@Override\n\t\t\tpublic List<TestEntity> fetchAll() \n\t\t\t{\n\t\t\t\tList<TestEntity> tests = testDao.findAll();\n\t\t\t\treturn tests;\n\t\t\t}",
"@Override\n\tpublic List<T> getAll() {\n\t\treturn getDao().findAll();\n\t}",
"@Test\n public void testFindAllProduct() throws Exception {\n // Mock method\n when(productRepository.findAll()).thenReturn(products);\n\n testResponseData(RequestInfo.builder()\n .request(get(PRODUCT_ENDPOINT))\n .token(memberToken)\n .httpStatus(HttpStatus.OK)\n .build());\n }",
"public List<Test> getAllRecord() {\n\t\tList<Test> lis=(List<Test>)testRepository.findAll();\n\t\treturn lis;\n\t}",
"@Override\n public List<T> getAll() throws SQLException {\n\n return this.dao.queryForAll();\n\n }",
"@Test\n\tpublic void findAll() {\n\t\tList<Farm> list = (List<Farm>) farmRepository.findAll();\n\n\t\tSystem.out.println(\"info:\"+ list);\n\t\tassert(true);\n\n\t}",
"@Test\n public void queryTest() {\n // TODO: test query\n }",
"@Test\n public void testFindAll() {\n List<Item> items = repository.findAll();\n assertEquals(3, items.size());\n }",
"@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}",
"@Test\n\tpublic void getAllMovies() throws Exception {\n\t\tfinal ImmutableList<Movie> movies = ImmutableList.of(this.movie);\n\t\twhen(DAO.findAll()).thenReturn(movies);\n\n\t\tfinal Map<String, Object> paramMap = new HashMap<String, Object>();\n\t\tfinal RPCMessage req = new RPCMessage(MovieRPCServer.GET_ACTION, paramMap, null);\n\n\t\tfinal String response = this.RESOURCE.getValue(req.toString());\n\n\t\tfinal RPCMessage responseObj = RPCMessage.fromString(response);\n\t\tassertThat(responseObj).isNotNull();\n\t\tassertThat(responseObj.getObj()).isEqualTo(MovieBusterUtils.serializeMovieList(movies));\n\n\t\tverify(DAO).findAll();\n\t\tassertThat(MovieBusterUtils.movieFromStringArray(responseObj.getObj())).containsAll(movies);\n\t}",
"@Test\n public void testGetAllItems() throws Exception {\n Item firstItem = new Item(\"Snickers\");\n firstItem.setItemPrice(new BigDecimal(\"2.75\"));\n firstItem.setItemStock(10);\n\n Item secondItem = new Item(\"Kit-Kat\");\n secondItem.setItemPrice(new BigDecimal(\"3.00\"));\n secondItem.setItemStock(12);\n\n // ACT - add/get all items from the DAO\n testDao.addItem(firstItem.getItemName(), firstItem);\n testDao.addItem(secondItem.getItemName(), secondItem);\n\n List<Item> allItems = testDao.getAllItems();\n\n // Check in general\n assertNotNull(allItems, \"The list of items must not be null\");\n assertEquals(2, allItems.size(), \"Inventory should have two items\");\n\n // Check specifics\n assertTrue(testDao.getAllItems().contains(firstItem),\n \"The inventory shoudl include Snickers\");\n assertTrue(testDao.getAllItems().contains(secondItem),\n \"The inventory should include Kit-Kat\");\n // Need to include hashcose/equals/toString methods/additions to Item Class \n }",
"private static void getListTest() {\n\t\tList<CartVo> list=new CartDao().getList();\r\n\t\t\r\n\t\tfor(CartVo cartVo : list) {\r\n\t\t\tSystem.out.println(cartVo);\r\n\t\t}\r\n\t}",
"@Test\n public void getEspecieTest() {\n EspecieEntity entity = especieData.get(0);\n EspecieEntity resultEntity = especieLogic.getSpecies(entity.getId());\n Assert.assertNotNull(resultEntity);\n Assert.assertEquals(entity.getId(), resultEntity.getId());\n Assert.assertEquals(entity.getNombre(), resultEntity.getNombre());\n }",
"@Test\n void testGetAllUsers() {\n List<User> users = userData.crud.getAll();\n int currentSize = users.size();\n assertEquals(currentSize, users.size());\n logger.info(\"Got all users\");\n }",
"@Test\n public void testFindall() {\n\n System.out.println(\"findall\"); \n PrioridadRest rest = mokPrioridadRest;\n List<Prioridad> result = rest.findall();\n Prioridad prioridad = new Prioridad(1, \"1\");\n assertThat(result, CoreMatchers.hasItems(prioridad));\n }",
"@Test\n public void testGetAllMembers() {\n assertEquals(2, facade.getCarCount(), \"Expects tree rows in the database\");\n }",
"public ArrayList<TestNoun> get_all_testnoun() throws Exception {\n\t\t log.setLevel(Level.INFO);\n\t log.info(\"get_all_testnoun Dao started operation!\");\n\n\t\ttry{\n\n\t\t\tQuery result = entityManager.\n\t\t\tcreateNativeQuery(get_all_TestNoun,TestNoun.class)\n\n;\n\n\t\t\tArrayList<TestNoun> TestNoun_list =\t(ArrayList<TestNoun>)result.getResultList();\n\n\t\t\tif(TestNoun_list .size() < 1){\n\n\t\t\tlog.error(\"get_all_testnoun Dao throws exception :\" + \"no TestNoun found\" );\n\t\t\t\treturn new ArrayList<TestNoun>();\n\t\t\t}\n\t\t\tlog.info(\"Object returned from get_all_testnoun Dao method !\");\n\t\t\treturn (ArrayList<TestNoun>) TestNoun_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(\"get_all_testnoun Dao throws exception : \"+e.toString());\n\n\t\t}\n\t\treturn null;\n\n\n\t}",
"public List<PlayerItem> getAll();",
"@Test\r\n public void testGetAllEMployees() throws Exception {\r\n try {\r\n EmployeeDAOImpl instance = new EmployeeDAOImpl();\r\n List<Employee> result = instance.getAllEMployees();\r\n assertTrue(result != null);\r\n assertTrue(result.size() > 0);\r\n } catch (Exception ex) {\r\n assertTrue(ex.getMessage().contains(\"NoDataFromDatabase\"));\r\n }\r\n }",
"@Test\n public void listAll_200() throws Exception {\n\n // PREPARE THE DATABASE\n // Fill in the workflow db\n List<Workflow> wfList = new ArrayList<>();\n wfList.add(addMOToDb(1));\n wfList.add(addMOToDb(2));\n wfList.add(addMOToDb(3));\n\n // PREPARE THE TEST\n // Fill in the workflow db\n\n // DO THE TEST\n Response response = callAPI(VERB.GET, \"/mo/\", null);\n\n // CHECK RESULTS\n int status = response.getStatus();\n assertEquals(200, status);\n\n List<Workflow> readWorkflowList = response.readEntity(new GenericType<List<Workflow>>() {\n });\n assertEquals(wfList.size(), readWorkflowList.size());\n for (int i = 0; i < wfList.size(); i++) {\n assertEquals(wfList.get(i).getId(), readWorkflowList.get(i).getId());\n assertEquals(wfList.get(i).getName(), readWorkflowList.get(i).getName());\n assertEquals(wfList.get(i).getDescription(), readWorkflowList.get(i).getDescription());\n }\n\n\n }",
"@Test\n void retrieveAllTest() {\n boolean check1 = false;\n boolean check2 = false;\n List<Admin> adminList = adminJpa.retrieveAll();\n for (Admin anAdmin : adminList) {\n String email = anAdmin.getEmail();\n if (email.equals(\"[email protected]\"))\n check1 = true;\n if (email.equals(\"[email protected]\"))\n check2 = true;\n }\n assertTrue(check1);\n assertTrue(check2);\n }",
"@Test(expected = DataAcessException.class) \n\t public void testRetrieveAllExcep() throws DataAcessException{\n\t\t\tQuery mockQuery = mock(Query.class);\n\t\t\twhen(entityManager.createQuery(Mockito.anyString())).thenReturn(mockQuery);\n\t\t\twhen(mockQuery.getResultList()).thenThrow(new RuntimeException());\n\t\t\tuserDao.retrieveAll();\n\t }",
"@Override\n public void testGetAllObjects() {\n }",
"@Override\n\tpublic List<MedicalTest> fetchAllTest() {\n\t\tList<MedicalTest> list = testDao.findAll();\n\t\treturn list;\n\t}",
"@Test\r\n\tpublic void findAllGames() {\r\n\t\t// DO: JUnit - Populate test inputs for operation: findAllGames \r\n\t\tInteger startResult = 0;\r\n\t\tInteger maxRows = 0;\r\n\t\t@SuppressWarnings(\"unused\")\r\n\t\tList<Game> response = null;\r\n\t\tTswacct tswacct = null;\r\n\t\tresponse = service.findAllGames4tsw(tswacct, startResult, maxRows);\r\n\t\t// DO: JUnit - Add assertions to test outputs of operation: findAllGames\r\n\t}",
"@Test\n public void getAllPersons() {\n List<Person> persons = personService.getAllPersons();\n\n //Assert\n assertEquals(\"Fulano\", persons.get(0).getFirstName());\n assertEquals(\"John\", persons.get(1).getFirstName());\n }",
"@Test\n public void test6FindByHeadquarters() {\n System.out.println(\"Prueba de Headquarters en metodo findByHeadquarters\");\n HeadquartersDAO dao = HeadquartersFactory.create(Headquarters.class);\n List<Headquarters> lista = dao.findByHeadquarters(\"SENA SEDE BARRIO COLOMBIA\");\n assertTrue(!lista.isEmpty());\n for (Headquarters headquarters : lista) {\n assertEquals(headquarters.getNameHeadquarters(),\"SENA SEDE BARRIO COLOMBIA\");\n }\n }",
"@Test\n public void getAllRecipes_RecipeInfo(){\n int returned = testDatabase.addRecipe(testRecipe);\n ArrayList<Recipe> allRecipes = testDatabase.getAllRecipes();\n Recipe retrieved = allRecipes.get(allRecipes.size()-1);\n //Retrieved should now contain all the same information as testRecipe\n assertEquals(\"getAllRecipes - Correct Title\", recipeTitle, retrieved.getTitle());\n assertEquals(\"getAllRecipes - Correct Servings\", 1, retrieved.getServings(), 0);\n assertEquals(\"getAllRecipes - Correct Prep Time\", 30, retrieved.getPrep_time(), 0);\n assertEquals(\"getAllRecipes - Correct Total Time\", 60, retrieved.getTotal_time(), 0);\n assertEquals(\"getAllRecipes - Correct Favorited\", false, retrieved.getFavorited());\n }",
"@Test\n public void findAll() throws Exception {\n\n MvcResult result = mockMvc.perform(get(\"/v1/chamados\"))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON))\n .andReturn();\n List<ChamadoDTO> chamados = asList(objectMapper.readValue(result.getResponse().getContentAsString(), ChamadoDTO[].class));\n for (ChamadoDTO c : chamados) {\n assertNotNull(c.getIdChamado());\n assertNotNull(c.getDescChamado());\n assertNotNull(c.getDescTituloChamado());\n assertNotNull(c.getStatusChamado());\n assertNotNull(c.getStatusChamado().getCodStatusChamado());\n assertNotNull(c.getStatusChamado().getDescStatusChamado());\n assertNotNull(c.getDataHoraInclusao());\n }\n }",
"@Override\n public List<T> findAll() {\n String getAllQuery = \"SELECT * FROM \" + getTableName();\n return getJdbcTemplate().query(getAllQuery,\n BeanPropertyRowMapper.newInstance(getEntityClass()));\n }",
"@Test\n public void testAll() throws ParseException {\n testCreate();\n testExists(true);\n testGetInfo(false);\n testUpdate();\n testGetInfo(true);\n testDelete();\n testExists(false);\n }",
"@Override\n\tpublic List<PersonVO> test() {\n\t\tSystem.out.println(\"Service 접근\");\n\t\treturn mongoDAO.test();\n\t}",
"@Test\n public void testQueryList(){\n }",
"@SmallTest\n public void testAll() {\n int result = this.adapter.getAll().size();\n int expectedSize = this.nbEntities;\n Assert.assertEquals(expectedSize, result);\n }",
"@Test \n\tpublic void testGetAllKeysFromKeyTable() throws SQLException\n\t{\n\t\tnew PowerTool(\"asdf\", 5, 5, \"PowerTooldescription\", true);\n\t\tArrayList<Integer> results = DatabaseGateway.getAllKeysFromKeyTable();\n\t\tassertTrue(results.contains(1));\n\t\n\t}",
"@Test\n public void test_getSupervisors_1() throws Exception {\n clearDB();\n\n List<User> res = instance.getSupervisors();\n\n assertEquals(\"'getSupervisors' should be correct.\", 0, res.size());\n }",
"@Test\n public void getAllRecipes_ReturnsNull(){\n ArrayList<Recipe> allRecipes = testDatabase.getAllRecipes();\n for(int i = 0; i < allRecipes.size(); i++){\n testDatabase.deleteRecipe(allRecipes.get(i).getKeyID());\n }\n assertEquals(\"getAllRecipes - Empty List Returned\", null, testDatabase.getAllRecipes());\n }",
"@Test\r\n @Ignore\r\n public void testGetPlantoes() {\r\n System.out.println(\"getPlantoes\");\r\n EnfermeiroDaoImpl instance = new EnfermeiroDaoImpl();\r\n List<Enfermeiro> expResult = null;\r\n List<Enfermeiro> result = instance.getPlantoes();\r\n assertEquals(expResult, result);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }",
"@Test\n\t\tpublic void testGetAllMedicalAct() {\n\t\t\tfor (int i =0; i<10;i++){\n\t\t\t assertEquals(wraRestServer.listMedicalAct().get(i).getId(),medicalActDao.getAll().get(i).getId());\n\t\t}\n\t\t\t\n\t}",
"List<T> getAll();",
"List<T> getAll();",
"List<T> getAll();",
"List<T> getAll();"
]
| [
"0.72386414",
"0.694306",
"0.6808518",
"0.67976576",
"0.67762655",
"0.66386616",
"0.6634246",
"0.6574191",
"0.65366185",
"0.65336645",
"0.6532274",
"0.65219814",
"0.65073097",
"0.646391",
"0.6458405",
"0.6420743",
"0.6413674",
"0.63976467",
"0.6365871",
"0.636511",
"0.63547075",
"0.63502604",
"0.6326549",
"0.63262117",
"0.62964904",
"0.6275194",
"0.62703127",
"0.6267617",
"0.62284344",
"0.6218296",
"0.62150633",
"0.6212059",
"0.6208992",
"0.61915886",
"0.6190255",
"0.6122618",
"0.610152",
"0.60982656",
"0.6090358",
"0.60873413",
"0.6077984",
"0.60708547",
"0.6063095",
"0.60603493",
"0.6048126",
"0.60421705",
"0.6035331",
"0.603521",
"0.6023792",
"0.60187",
"0.6013866",
"0.5999438",
"0.59956473",
"0.59921956",
"0.59863746",
"0.59820557",
"0.5981372",
"0.5980861",
"0.59736365",
"0.597079",
"0.5969649",
"0.5962054",
"0.59553736",
"0.5951385",
"0.59482956",
"0.59455806",
"0.5937752",
"0.59260327",
"0.5916501",
"0.5912214",
"0.5912099",
"0.5903911",
"0.58950984",
"0.58932215",
"0.5885449",
"0.58780223",
"0.5871913",
"0.5870149",
"0.5868716",
"0.5867819",
"0.585117",
"0.5850785",
"0.58460355",
"0.58457565",
"0.5842621",
"0.5839303",
"0.58364487",
"0.58356005",
"0.58316994",
"0.5826884",
"0.5814676",
"0.5803438",
"0.578974",
"0.57769275",
"0.5776734",
"0.5774365",
"0.5770673",
"0.5770673",
"0.5770673",
"0.5770673"
]
| 0.72560996 | 0 |
test getAll method of MyFAvorite | public static boolean testMyFavoriteGetAll() {
MyFavorite inst = new MyFavorite(10);
for (Pokemon item : testList) {
inst.put(item.getName(), item);
}
LinkedList<Pokemon> list = inst.getAll();
if (list.size() != 6)
return false;
for (Pokemon item : testList) {
if (!list.contains(item)) {
return false;
}
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n public void test_getAll_1() throws Exception {\n clearDB();\n\n List<User> res = instance.getAll();\n\n assertEquals(\"'getAll' should be correct.\", 0, res.size());\n }",
"@Test\r\n public void testGetAllFestivities() {\r\n System.out.println(\"getAllFestivities\");\r\n List<Festivity> result = Database.getAllFestivities();\r\n assertTrue(result.size() > 0 );\r\n }",
"@Test\n void getAllSuccess() {\n // get all the users\n // make sure there are the proper number of users\n List<User> users = genericDao.getAll();\n assertEquals(users.size(), 4);\n }",
"@Test\n void getAllSuccess() {\n List<User> Users = dao.getAll();\n assertEquals(2, Users.size());\n }",
"@Test\n void getAllSuccess(){\n\n List<CompositionInstrument> compositionInstruments = genericDao.getAll();\n assertEquals(4, compositionInstruments.size());\n }",
"@Test\r\n public void testA0Get_0args() {\r\n System.out.println(\"get all\");\r\n \r\n UsuarioDao instance = new UsuarioDao();\r\n List<Usuario> expResult = new ArrayList<>();\r\n List<Usuario> result = instance.get();\r\n \r\n assertEquals(expResult, result);\r\n }",
"@Test\n public void retriveAllTest() throws SQLException {\n manager = new TableServizioManager(mockDb);\n List<Servizio> lista = manager.retriveAll();\n assertEquals(7,lista.size(),\"It should return a list of length 7\");\n }",
"@Test\n void getAllSuccess() {\n List<Event> events = genericDao.getAll();\n assertEquals(5, events.size());\n }",
"@Test\n void getAllSuccess() {\n List<RunCategory> categories = dao.getAll();\n assertEquals(13, categories.size());\n }",
"@Test\r\n public void testGetALL() {\r\n CategoriaDAO instance = new CategoriaDAO();\r\n List<Categoria> result = instance.getALL();\r\n Categoria itera = new Categoria();\r\n Iterator it = result.iterator();\r\n while (it.hasNext()) {\r\n itera = (Categoria) it.next();\r\n System.out.println(itera.getIdcategoria() + \" \" + itera.getDescricao());\r\n }\r\n }",
"@Test\n\t\tpublic void testGetAllOrganization() {\n\t\t\tfor (int i =0; i<10;i++){\n\t\t\t assertEquals(wraRestServer.listOrganization().get(i).getSiret(),organizationDao.getAll().get(i).getSiret());\n\t\t}\n\t\t\n\t\n\t}",
"@Test\n public void selectAll(){\n }",
"@Test\n public void listAll_200() throws Exception {\n\n // PREPARE THE DATABASE\n // Fill in the workflow db\n List<Workflow> wfList = new ArrayList<>();\n wfList.add(addMOToDb(1));\n wfList.add(addMOToDb(2));\n wfList.add(addMOToDb(3));\n\n // PREPARE THE TEST\n // Fill in the workflow db\n\n // DO THE TEST\n Response response = callAPI(VERB.GET, \"/mo/\", null);\n\n // CHECK RESULTS\n int status = response.getStatus();\n assertEquals(200, status);\n\n List<Workflow> readWorkflowList = response.readEntity(new GenericType<List<Workflow>>() {\n });\n assertEquals(wfList.size(), readWorkflowList.size());\n for (int i = 0; i < wfList.size(); i++) {\n assertEquals(wfList.get(i).getId(), readWorkflowList.get(i).getId());\n assertEquals(wfList.get(i).getName(), readWorkflowList.get(i).getName());\n assertEquals(wfList.get(i).getDescription(), readWorkflowList.get(i).getDescription());\n }\n\n\n }",
"@Test\n void testGetAllUsers() {\n List<User> users = userData.crud.getAll();\n int currentSize = users.size();\n assertEquals(currentSize, users.size());\n logger.info(\"Got all users\");\n }",
"@Test\n void getAllSuccess() {\n List<UserRoles> roles = genericDAO.getAll();\n assertEquals(3, roles.size());\n }",
"@Test\r\n public void testSelectAll() {\r\n System.out.println(\"AbonentDAL selectAll\");\r\n AbonentDAL instance = new AbonentDAL();\r\n List<Abonent> result = instance.selectAll();\r\n assertTrue(result!=null && result.size()>0);\r\n }",
"@Test\n public void testFindall() {\n\n System.out.println(\"findall\"); \n PrioridadRest rest = mokPrioridadRest;\n List<Prioridad> result = rest.findall();\n Prioridad prioridad = new Prioridad(1, \"1\");\n assertThat(result, CoreMatchers.hasItems(prioridad));\n }",
"@Test \n\t public void testRetrieveAll(){\n\t\t try{\n\t\t\t List<Users> users = new ArrayList<Users>();\n\t\t\t users.add( BaseData.getUsers());\n\t\t\t\tusers.add(BaseData.getDBUsers());\n\t\t\t\tQuery mockQuery = mock(Query.class);\n\t\t\t\twhen(entityManager.createQuery(Mockito.anyString())).thenReturn(mockQuery);\n\t\t\t\twhen(mockQuery.getResultList()).thenReturn(users);\n\t\t\t\tList<Users> loadedUsers = (List<Users>)userDao.retrieveAll();\n\t\t\t\tassertNotNull(loadedUsers);\n\t\t\t\tassertTrue(loadedUsers.size() > 1);\n\t\t }catch(DataAcessException se){\n\t\t\t logger.error(\"error at service layer while testing retrieveAll:.\",se);\n\t\t }\n\t }",
"@Test\n\t \t\n\t public void listAll() {\n\t \n\t List<Persona> list = personaDao.listPersons();\n\t \n\t Assert.assertNotNull(\"Error listado\", list);\n\n\t }",
"@Test\n\tpublic void testGetAllPatient() {\n\t\tfor (int i =0; i<10;i++){\n\t\t assertEquals(wraRestServer.listPatient().get(i).getId(),patientDao.getAll().get(i).getId());\n\t}\n\t}",
"@Test\n public void getAllTest() {\n Mockito.when(this.repo.findAll()).thenReturn(publisherList);\n Iterable<Publisher> resultFromService = this.publisherService.findAll();\n Publisher resultFromIterator = resultFromService.iterator().next();\n assertThat(resultFromIterator.getName()).isEqualTo(\"What The What\");\n Mockito.verify(this.repo, Mockito.times(1)).findAll();\n }",
"@Test\n\tpublic void testGetLista() throws Exception {\n\t\tSystem.out.println(\"getLista\");\n\t\tso.execute(entity);\n\t\tList<IGeneralEntity> expResult = ((TakeTrucksOperation) so).getLista();\n\t\tList<IGeneralEntity> result = so.db.vratiSve(entity);\n\n\t\tassertEquals(expResult.size(), result.size());\n\t}",
"@Test\n public void test3FindAll() {\n SpecialityFactory factory = new MysqlSpecialityDAOFactry();\n SpecialityDAO dao = factory.create();\n List<SpecialityDTO> lista=(List<SpecialityDTO>)dao.findAll(); \n System.out.println(lista);\n assertTrue(!lista.isEmpty());\n }",
"@Test\n public void apiKundenViewGetAllGetTest() throws ApiException {\n List<CmplxKunden> response = api.apiKundenViewGetAllGet();\n\n // TODO: test validations\n }",
"@Test\r\n public void testListAll() {\r\n System.out.println(\"listAll\");\r\n IwRepoDAOMarkLogicImplStud instance = new IwRepoDAOMarkLogicImplStud();\r\n String expResult = \"\";\r\n String result = instance.listAll();\r\n System.out.println(result);\r\n }",
"@Test\n\t\tpublic void testGetAllMedicalAct() {\n\t\t\tfor (int i =0; i<10;i++){\n\t\t\t assertEquals(wraRestServer.listMedicalAct().get(i).getId(),medicalActDao.getAll().get(i).getId());\n\t\t}\n\t\t\t\n\t}",
"Map getAll();",
"@Test\n\tpublic void testFindAll() {\n\n\t\tList<UserInfo> result = this.userinfoDao.findAll();\n\n\t}",
"@Test\r\n void getAllUsers() throws IOException {\r\n }",
"@Test\n void getAllUserRolesSuccess() {\n List<UserRoles> userRoles = genericDao.getAll();\n //assert that you get back the right number of results assuming nothing alters the table\n assertEquals(6, userRoles.size());//\n log.info(\"get all userRoles test: all userRoles;\" + genericDao.getAll());\n }",
"@Test\n public void testAll() throws ParseException {\n testCreate();\n testExists(true);\n testGetInfo(false);\n testUpdate();\n testGetInfo(true);\n testDelete();\n testExists(false);\n }",
"@Test\r\n public void testFindAll() throws Exception {\r\n }",
"@Test\r\n public void testGetAllChromInfo() throws Exception {\n assertEquals(7, queries.getAllChromInfo().size());\r\n }",
"@Test\n\tpublic void findAll() {\n\t\tList<Farm> list = (List<Farm>) farmRepository.findAll();\n\n\t\tSystem.out.println(\"info:\"+ list);\n\t\tassert(true);\n\n\t}",
"@Test\n void retrieveAllTest() {\n boolean check1 = false;\n boolean check2 = false;\n List<Admin> adminList = adminJpa.retrieveAll();\n for (Admin anAdmin : adminList) {\n String email = anAdmin.getEmail();\n if (email.equals(\"[email protected]\"))\n check1 = true;\n if (email.equals(\"[email protected]\"))\n check2 = true;\n }\n assertTrue(check1);\n assertTrue(check2);\n }",
"@Test\n public void testGetAllObjects() \n throws InvalidParametersException, DelegateException {\n // Query all the objects.\n List<BsLocusDetail> objects = delegate.getAllObjects(100);\n assertTrue(\"Couldn't create list\", objects != null);\n // The list should not be empty.\n assertTrue(\"List of all objects empty\", objects.size() != 0);\n }",
"@Test\n public void test_all() throws Exception {\n matchInvoke(serviceURL, \"PWDDIC_testSearch_all_req.xml\",\n \"PWDDIC_testSearch_all_res.xml\");\n }",
"@Test\n public void testSelectAll() {\n }",
"@Override\n public void testGetAllObjects() {\n }",
"@Test\n\tpublic void getAllMovies() throws Exception {\n\t\tfinal ImmutableList<Movie> movies = ImmutableList.of(this.movie);\n\t\twhen(DAO.findAll()).thenReturn(movies);\n\n\t\tfinal Map<String, Object> paramMap = new HashMap<String, Object>();\n\t\tfinal RPCMessage req = new RPCMessage(MovieRPCServer.GET_ACTION, paramMap, null);\n\n\t\tfinal String response = this.RESOURCE.getValue(req.toString());\n\n\t\tfinal RPCMessage responseObj = RPCMessage.fromString(response);\n\t\tassertThat(responseObj).isNotNull();\n\t\tassertThat(responseObj.getObj()).isEqualTo(MovieBusterUtils.serializeMovieList(movies));\n\n\t\tverify(DAO).findAll();\n\t\tassertThat(MovieBusterUtils.movieFromStringArray(responseObj.getObj())).containsAll(movies);\n\t}",
"@Test\n public void testGetAllUsers() {\n }",
"List<T> getAll();",
"List<T> getAll();",
"List<T> getAll();",
"List<T> getAll();",
"List<T> getAll();",
"@Test\n\tpublic void testfindTheGreaatestFromAllData() {\n\t\twhen(dataServiceMock.retrieveAllData()).thenReturn(new int[] { 1, 2, 3 });\n\t\t// SomeBusinessImpl impl = new SomeBusinessImpl(dataServiceMock);\n\t\tassertEquals(impl.findTheGreaatestFromAllData(), 3);\n\t}",
"@Test\n public void testConsultarTodos() throws Exception {\n System.out.println(\"testConsultarTodos\");\n List<ConfiguracaoTransferencia> result = instance.findAll();\n assertTrue(result != null && result.size() > 0);\n }",
"@Test\n\tvoid testAllUsersDataPresent() {\n\t\tassertNotNull(allUserList);\n\t\tassertTrue(allUserList.size() == 1000);\n\t}",
"@Test\n public void getAllItem() {\n Item item1 = new Item();\n item1.setName(\"Drill\");\n item1.setDescription(\"Power Tool\");\n item1.setDaily_rate(new BigDecimal(\"24.99\"));\n item1 = service.saveItem(item1);\n\n // Add an Item to the mock database using the Item API method (item2)\n Item item2 = new Item();\n item2.setName(\"Screwdriver\");\n item2.setDescription(\"Hand Tool\");\n item2.setDaily_rate(new BigDecimal(\"4.99\"));\n item2 = service.saveItem(item2);\n\n // Add all the Item's in the mock database to a list of Items using the Item API method\n List<Item> itemList = service.findAllItems();\n\n // Test the getAllItem() API method\n TestCase.assertEquals(2, itemList.size());\n TestCase.assertEquals(item1, itemList.get(0));\n TestCase.assertEquals(item2, itemList.get(1));\n }",
"@Test\n public void testGetAll() {\n List<Allocation> cc = allocationCollection.getAll();\n assertNotNull(cc);\n assertFalse(cc.isEmpty());\n }",
"@Test\n public void findAll() throws Exception {\n }",
"@Test\n public void getAllRecipes_ReturnsList(){\n ArrayList<Recipe> allRecipes = testDatabase.getAllRecipes();\n assertNotEquals(\"getAllRecipes - Non-empty List Returned\", 0, allRecipes.size());\n }",
"@Test\n\tvoid findAllAllFiltersAllRights() {\n\n\t\tfinal TableItem<UserOrgVo> tableItem = resource.findAll(\"ing\", \"dig rha\", \"iRsT\", newUriInfoAsc(\"id\"));\n\t\tAssertions.assertEquals(2, tableItem.getRecordsTotal());\n\t\tAssertions.assertEquals(2, tableItem.getRecordsFiltered());\n\n\t\t// Check the users\n\t\tfinal UserOrgVo user = tableItem.getData().get(0);\n\t\tAssertions.assertEquals(\"fdoe2\", user.getId());\n\t\tAssertions.assertEquals(\"jdoe5\", tableItem.getData().get(1).getId());\n\n\t\t// Check the other attributes\n\t\tAssertions.assertEquals(\"ing\", user.getCompany());\n\t\tAssertions.assertEquals(\"First2\", user.getFirstName());\n\t\tAssertions.assertEquals(\"Doe2\", user.getLastName());\n\t\tAssertions.assertEquals(\"[email protected]\", user.getMails().get(0));\n\t\tAssertions.assertTrue(user.isCanWrite());\n\t\tfinal List<GroupVo> groups = new ArrayList<>(user.getGroups());\n\t\tAssertions.assertEquals(2, groups.size());\n\t\tAssertions.assertEquals(\"Biz Agency\", groups.get(0).getName());\n\t\tAssertions.assertEquals(\"DIG RHA\", groups.get(1).getName());\n\t}",
"@Test\n void getAllOrdersSuccess() {\n List<Order> orders = dao.getAllOrders();\n assertEquals(3, orders.size());\n }",
"@org.junit.Test\r\n public void listAll() throws Exception {\r\n System.out.println(\"listAll\");\r\n Review review = new Review(new Long(0), \"Max\", 9, \"It's excellent\");\r\n int size1 = service.listAll().size();\r\n assertEquals(size1, 0);\r\n service.insertReview(review);\r\n int size2 = service.listAll().size();\r\n assertEquals(size2, 1);\r\n }",
"public abstract List<Object> getAll();",
"@Test\n public void testSelectAll() throws Exception {\n\n }",
"@Test\n public void testQueryList(){\n }",
"@Test\n public void testJPA3ListAll (){\n Iterable<TruckInfo> trucklist = truckRepo.findAll();\n\n\n\n\n }",
"@SmallTest\n public void testAll() {\n int result = this.adapter.getAll().size();\n int expectedSize = this.nbEntities;\n Assert.assertEquals(expectedSize, result);\n }",
"@Test\n public void testGetAllProduct() throws Exception {\n System.out.println(\"getAllProduct\");\n prs = dao.getAllProduct();\n \n assertArrayEquals(products.toArray(), prs.toArray());\n }",
"@Test\n public void testFindAll() {\n List<Item> items = repository.findAll();\n assertEquals(3, items.size());\n }",
"@Test\n public void listAll_404() throws Exception {\n\n // PREPARE THE DATABASE\n // No data needed in database\n\n // PREPARE THE TEST\n // No preparation needed\n\n // DO THE TEST\n Response response = callAPI(VERB.GET, \"/mo/\", null);\n\n // CHECK RESULTS\n int status = response.getStatus();\n assertEquals(204, status);\n\n String body = response.readEntity(String.class);\n assertEquals(\"\", body);\n }",
"public void testGetAllTitles() {\r\n System.out.println(\"getAllEmployees\");\r\n List expResult = null;\r\n List result = TitleDao.getAllTitles();\r\n assertEquals(expResult, result);\r\n }",
"@Test\r\n public void testFGetFreelancers() {\r\n System.out.println(\"getFreelancers\");\r\n \r\n UsuarioDao instance = new UsuarioDao();\r\n List<Usuario> expResult = new ArrayList<>();\r\n List<Usuario> result = instance.getFreelancers();\r\n \r\n assertEquals(expResult, result);\r\n }",
"@Test\n\tpublic void test_get_all_success() {\n\t\tResponseEntity<User[]> response = template.getForEntity(REST_SERVICE_URI + ACCESS_TOKEN + token, User[].class);\n\t\tassertThat(response.getStatusCode(), is(HttpStatus.OK));\n\t\tvalidateCORSHttpHeaders(response.getHeaders());\n\t}",
"@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}",
"@Test()\n public void testGetExpensesByTypeAll() {\n\tString type = \"all types\";\n\tList<Expense> expensesForDisplay = expenseManager.getExpensesByType(type);\n\tassertEquals(4, expensesForDisplay.size(), 0);\n }",
"@Test\n public void testFindAllPassengers() {\n System.out.println(\"findAllPassengers\");\n PassengerHandler instance = new PassengerHandler();\n ArrayList<Passenger> expResult = new ArrayList();\n for(int i = 1; i < 24; i++){\n Passenger p = new Passenger();\n p.setPassengerID(i);\n p.setForename(\"Rob\");\n p.setSurname(\"Smith\");\n p.setDOB(new Date(2018-02-20));\n p.setNationality(\"USA\");\n p.setPassportNumber(i);\n expResult.add(p);\n }\n \n ArrayList<Passenger> result = instance.findAllPassengers();\n assertEquals(expResult, result);\n }",
"@Override\n\t\t\tpublic List<TestEntity> fetchAll() \n\t\t\t{\n\t\t\t\tList<TestEntity> tests = testDao.findAll();\n\t\t\t\treturn tests;\n\t\t\t}",
"@Test\n public void getAllRecordsTest() {\n FileMetaData fileMetaData = new FileMetaData();\n fileMetaData.setAuthorName(\"Puneet\");\n fileMetaData.setFileName(\"resum2\");\n fileMetaData.setDescription(\"Attached resume to test upload\");\n fileMetaData.setUploadTimeStamp(DateUtil.getCurrentDate());\n fileMetaDataRepository.saveAndFlush(fileMetaData);\n fileMetaData = new FileMetaData();\n fileMetaData.setAuthorName(\"Puneet1\");\n fileMetaData.setFileName(\"resume3\");\n fileMetaData.setDescription(\"Attached resume to test upload1\");\n fileMetaData.setUploadTimeStamp(DateUtil.getCurrentDate());\n fileMetaDataRepository.saveAndFlush(fileMetaData);\n List<FileMetaData> fileMetaDataList = fileMetaDataRepository.findAll();\n Assert.assertNotNull(fileMetaDataList);\n //Assert.assertEquals(2, fileMetaDataList.size());\n }",
"@Test\n void getAllCarsSuccess() {\n List<Car> cars = carDao.getAll();\n assertNotNull(cars);\n assertEquals(1, cars.size());\n }",
"@Test\n public void testGetAllItems() throws Exception {\n Item firstItem = new Item(\"Snickers\");\n firstItem.setItemPrice(new BigDecimal(\"2.75\"));\n firstItem.setItemStock(10);\n\n Item secondItem = new Item(\"Kit-Kat\");\n secondItem.setItemPrice(new BigDecimal(\"3.00\"));\n secondItem.setItemStock(12);\n\n // ACT - add/get all items from the DAO\n testDao.addItem(firstItem.getItemName(), firstItem);\n testDao.addItem(secondItem.getItemName(), secondItem);\n\n List<Item> allItems = testDao.getAllItems();\n\n // Check in general\n assertNotNull(allItems, \"The list of items must not be null\");\n assertEquals(2, allItems.size(), \"Inventory should have two items\");\n\n // Check specifics\n assertTrue(testDao.getAllItems().contains(firstItem),\n \"The inventory shoudl include Snickers\");\n assertTrue(testDao.getAllItems().contains(secondItem),\n \"The inventory should include Kit-Kat\");\n // Need to include hashcose/equals/toString methods/additions to Item Class \n }",
"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 test_getAll_2() throws Exception {\n User user1 = createUser(1, false);\n User user2 = createUser(2, false);\n createUser(3, true);\n\n List<User> res = instance.getAll();\n\n assertEquals(\"'getAll' should be correct.\", 2, res.size());\n\n User entity1 = res.get(0);\n User entity2 = res.get(1);\n if (entity1.getUsername().equals(user2.getUsername())) {\n entity1 = res.get(1);\n entity2 = res.get(0);\n }\n\n assertEquals(\"'getAll' should be correct.\", user1.getUsername(), entity1.getUsername());\n assertEquals(\"'getAll' should be correct.\", user1.getDefaultTab(), entity1.getDefaultTab());\n assertEquals(\"'getAll' should be correct.\", user1.getNetworkId(), entity1.getNetworkId());\n assertEquals(\"'getAll' should be correct.\", user1.getRole().getId(), entity1.getRole().getId());\n assertEquals(\"'getAll' should be correct.\", user1.getFirstName(), entity1.getFirstName());\n assertEquals(\"'getAll' should be correct.\", user1.getLastName(), entity1.getLastName());\n assertEquals(\"'getAll' should be correct.\", user1.getEmail(), entity1.getEmail());\n assertEquals(\"'getAll' should be correct.\", user1.getTelephone(), entity1.getTelephone());\n assertEquals(\"'getAll' should be correct.\", user1.getStatus().getId(), entity1.getStatus().getId());\n\n assertEquals(\"'getAll' should be correct.\", user2.getUsername(), entity2.getUsername());\n assertEquals(\"'getAll' should be correct.\", user2.getDefaultTab(), entity2.getDefaultTab());\n assertEquals(\"'getAll' should be correct.\", user2.getNetworkId(), entity2.getNetworkId());\n assertEquals(\"'getAll' should be correct.\", user2.getRole().getId(), entity2.getRole().getId());\n assertEquals(\"'getAll' should be correct.\", user2.getFirstName(), entity2.getFirstName());\n assertEquals(\"'getAll' should be correct.\", user2.getLastName(), entity2.getLastName());\n assertEquals(\"'getAll' should be correct.\", user2.getEmail(), entity2.getEmail());\n assertEquals(\"'getAll' should be correct.\", user2.getTelephone(), entity2.getTelephone());\n assertEquals(\"'getAll' should be correct.\", user2.getStatus().getId(), entity2.getStatus().getId());\n }",
"@Test\n public void testGetAllProducts() throws Exception {\n when(repository.findAll()).thenReturn(Collections.singletonList(this.product));\n\n assertEquals(Collections.singletonList(this.product), service.getAllProducts());\n }",
"@Test\r\n\tpublic void TestgetAllFoodItem() {\n\t\tassertNotNull(\"Test if there is valid food list to get food item\", foodList);\r\n\r\n\t\t// the food list is not empty so can view food items.\r\n\t\tfoodList.add(f1);\r\n\t\tC206_CaseStudy.getAllFoodItem(foodList);\r\n\t\tassertFalse(\"Test that if the food list is not empty so can view food\", foodList.isEmpty());\r\n\r\n\t\t// Continue from step 2, test that the size of the food list is 1 and is not\r\n\t\t// empty.\r\n\t\tassertEquals(\"Test that food list size is 1\", 1, foodList.size());\r\n\t\tassertFalse(\"Test that the food list is not empty\", foodList.isEmpty());\r\n\t}",
"@Test\n public void testFindAllRouteEntries() throws ConnectionException {\n System.out.println(\"findAllRouteEntries\");\n ArrayList<RouteEntry> result = (ArrayList<RouteEntry>) MariaDbConnectorTest.instance.findAllRouteEntries();\n boolean b = result != null && result.size() > 0;\n assertTrue(b);\n }",
"@Test\n public void testFindAll()\n {\n final List<Invoice> invoices = invoiceRepository.findAll();\n\n Assert.assertFalse(invoices.isEmpty());\n\n for (final Invoice invoice : invoices)\n {\n Assert.assertNotNull(invoice.getDate());\n Assert.assertNotNull(invoice.getID());\n Assert.assertNotNull(invoice.getTotal());\n }\n }",
"@Test\r\n public void testFindAll() throws Exception {\r\n List<MonitoriaEntity> totalEntidades = persistence.findAll();\r\n Assert.assertEquals(data.size(), totalEntidades.size());\r\n for(MonitoriaEntity ent: totalEntidades){\r\n boolean encontro = false;\r\n for(MonitoriaEntity entity: data){\r\n if(ent.equals(entity)){\r\n encontro = true;\r\n }\r\n }\r\n Assert.assertTrue(true);\r\n }\r\n }",
"void testCanGetList();",
"public List queryTest() {\n\t\tList list = null;\n\t\tthis.init();\n\t\t try {\n\t\t\t list= sqlMap.queryForList(\"getAllTest\");\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\t\n\t}",
"public List<Ejemplar> getAll();",
"@Test\n @DisplayName(\"Testataan kaikkien tilausten haku\")\n void getAllReservations() {\n assertEquals(0, reservationsDao.getAllReservations().size());\n\n TablesEntity table1 = new TablesEntity();\n table1.setSeats(2);\n tablesDao.createTable(table1);\n // Test that returns the same number as created reservations\n ReservationsEntity firstReservation = new ReservationsEntity(\"amal\",\"46111222\", new Date(System.currentTimeMillis()), table1.getId(),new Time(1000),new Time(2000));\n reservationsDao.createReservation(firstReservation);\n\n TablesEntity table2 = new TablesEntity();\n table2.setSeats(2);\n tablesDao.createTable(table2);\n reservationsDao.createReservation(new ReservationsEntity(\"juho\", \"46555444\", new Date(System.currentTimeMillis()), table2.getId(), new Time(1000),new Time(2000)));\n\n List<ReservationsEntity> reservations = reservationsDao.getAllReservations();\n assertEquals(2, reservations.size());\n assertEquals(firstReservation, reservations.get(0));\n }",
"@Test\n\tpublic void testGetAllCompaniesApi() {\n\t\tCompany company = new Company(\"DataSolutions1\", \"Marthahalli1\",\n\t\t\t\t\"Bangalore\", \"India\", \"9880440671\");\n\t\tcompany = companyRepository.save(company);\n\n\t\tCompany company1 = new Company(\"DataSolutions2\", \"Marthahalli2\",\n\t\t\t\t\"Chennai\", \"India\", \"9882440671\");\n\t\tcompany1 = companyRepository.save(company1);\n\n\t\t// Invoke the API\n\t\tCompany[] apiResponse = restTemplate.getForObject(\n\t\t\t\t\"http://localhost:8888/companies/\", Company[].class);\n\n\t\tassertEquals(2, apiResponse.length);\n\n\t\t// Delete the test data created\n\t\tcompanyRepository.delete(company.getCompanyId());\n\t\tcompanyRepository.delete(company1.getCompanyId());\n\t}",
"@Test\n public void selectAll() {\n List<ProductCategory>productCategories=categoryService.selectAll();\n for (ProductCategory productCategory:productCategories\n ) {\n System.out.println(productCategory);\n }\n }",
"@Test\n public void getVisitasTest() {\n List<VisitaEntity> list = VisitaPersistence.findAll();\n Assert.assertEquals(data.size(), list.size());\n for (VisitaEntity ent : list) {\n boolean found = false;\n for (VisitaEntity entity : data) {\n if (ent.getId().equals(entity.getId())) {\n found = true;\n }\n }\n Assert.assertTrue(found);\n }\n }",
"@Test\n public void testCoreExample4() {\n ReadResponse resp = factual.fetch(TABLE,\n new Query().search(\"Fried Chicken, Los Angeles\").offset(20).limit(5));\n\n assertOk(resp);\n assertEquals(5, resp.getData().size());\n\n Map<String, Object> params = Maps.newHashMap();\n params.put(\"q\", \"Fried Chicken, Los Angeles\");\n params.put(\"offset\", 20);\n params.put(\"limit\", 5);\n String respRaw = factual.get(FULL_TABLE, params);\n assertEquals(5, resp.getData().size());\n\n }",
"@Test\n public void getViajerosTest() {\n List<ViajeroEntity> list = vp.findAll();\n Assert.assertEquals(data.size(), list.size());\n for (ViajeroEntity ent : list) {\n boolean found = false;\n for (ViajeroEntity entity : data) {\n if (ent.getId().equals(entity.getId())) {\n found = true;\n }\n }\n Assert.assertTrue(found);\n }\n }",
"@Test\n public void testFindAll_Person_TimeSlot() {\n // more or less tested in testFindEntity_Person_TimeSlot()\n }",
"@Test\n public void getAllPersons() {\n List<Person> persons = personService.getAllPersons();\n\n //Assert\n assertEquals(\"Fulano\", persons.get(0).getFirstName());\n assertEquals(\"John\", persons.get(1).getFirstName());\n }",
"public void testGetAllAuthors() {\r\n //given \r\n System.out.println(\"getAllAuthors\");\r\n AuthorHibernateDao instance = new AuthorHibernateDao();\r\n \r\n //when \r\n List<Author> result = instance.getAllAuthors();\r\n \r\n //then\r\n assertEquals(result.size(), 42);\r\n assertEquals(\"Herbert George Wells\", result.get(40).getName()); \r\n }",
"@Test\n public void testCoreExample3() {\n ReadResponse resp = factual.fetch(TABLE,\n new Query().search(\"Fried Chicken, Los Angeles\"));\n\n assertOk(resp);\n\n Map<String, Object> params = Maps.newHashMap();\n params.put(\"q\", \"Fried Chicken, Los Angeles\");\n String respRaw = factual.get(FULL_TABLE, params);\n\n assertEquals(resp.getJson(), respRaw);\n\n }",
"@Test\n public void testAll_0args() {\n System.out.println(\"all\");\n Resource.all();\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }",
"@Test\n @SuppressWarnings({ \"unchecked\", \"rawtypes\", \"serial\" })\n public void testCoreExample1() {\n ReadResponse resp = factual.fetch(TABLE, new Query().field(\"country\")\n .isEqual(\"US\"));\n\n assertOk(resp);\n assertAll(resp, \"country\", \"us\");\n\n Map<String, Object> params = Maps.newHashMap();\n params.put(\"filters\", JsonUtil.toJsonStr(new HashMap() {\n {\n put(\"country\", new HashMap() {\n {\n put(\"$eq\", \"US\");\n }\n });\n }\n }));\n String respRaw = factual.get(FULL_TABLE, params);\n assertEquals(resp.getJson(), respRaw);\n }",
"@Test\r\n\tpublic void testFindAllApplication() {\r\n\t\twhen(backgroundVerificationAndLeaseAdminRepository.findAll()).thenReturn(StringList);\r\n\t\tList<Backgroundverification> StringList1 = backgroundVerificationAndLeaseAdmnServiceImpl.findAllApplications();\r\n\r\n\t\tassertEquals(6, StringList1.size());\r\n\t}",
"@Test\n public void testGetAllProducts() throws FileStorageException {\n List<Product> products = dao.getAllProducts();\n \n assertEquals(15, products.size());\n }",
"public static boolean testDaoLireFamille() {\n boolean ok = true;\n ArrayList<Famille> lesFamilles = new ArrayList<Famille>();\n try {\n lesFamilles = daoFamille.getAll();\n } catch (Exception ex) {\n ok = false;\n }\n System.out.println(\"liste des familles\");\n for (Famille uneFamille: lesFamilles){\n System.out.println(uneFamille);\n }\n return ok;\n }",
"@Override\n\tpublic List<MedicalTest> fetchAllTest() {\n\t\tList<MedicalTest> list = testDao.findAll();\n\t\treturn list;\n\t}",
"@Test\n\tpublic void test_Fetch_All_Accounts() throws DatabaseException, BadParameterException, NotFoundException {\n\t\ttry (MockedStatic<ConnectionUtil> mockedConnectionUtil = mockStatic(ConnectionUtil.class)) {\n\t\t\tmockedConnectionUtil.when(ConnectionUtil::connectToDB).thenReturn(mockConn);\n\t\t\t\n\t\t\tArrayList<Account> actual = accountService.getAllAccounts(\"1\", new AccQueryDTO());\n\t\t\t\n\t\t\tArrayList<Account> expected = new ArrayList<Account>();\n\t\t\texpected.add(new Account(\"Savings\", 10101010, 100.50));\n\t\t\texpected.add(new Account(\"Checking\", 10101011, 1.99));\n\t\t\t\n\t\t\tassertEquals(expected, actual);\n\t\t}\n\t}"
]
| [
"0.7307322",
"0.7281958",
"0.72077614",
"0.7098412",
"0.7086062",
"0.7061438",
"0.70499283",
"0.6972562",
"0.69680583",
"0.6958603",
"0.69467336",
"0.6942246",
"0.6926916",
"0.6918179",
"0.68978554",
"0.6896326",
"0.68924105",
"0.68805003",
"0.6868507",
"0.68615294",
"0.6854091",
"0.68431073",
"0.68361676",
"0.6834765",
"0.68103087",
"0.6728823",
"0.67011744",
"0.668544",
"0.66793346",
"0.6673052",
"0.6663767",
"0.66200876",
"0.6614404",
"0.66107106",
"0.65910876",
"0.65891504",
"0.65888786",
"0.6551229",
"0.6541494",
"0.65350646",
"0.65335923",
"0.6516785",
"0.6516785",
"0.6516785",
"0.6516785",
"0.6516785",
"0.65102965",
"0.64996684",
"0.6491756",
"0.64914876",
"0.6484188",
"0.6483903",
"0.6479305",
"0.6477259",
"0.64620835",
"0.6460257",
"0.644907",
"0.64383686",
"0.64342797",
"0.64337033",
"0.6431698",
"0.6399256",
"0.6389626",
"0.6365598",
"0.6358576",
"0.6355915",
"0.63544774",
"0.63526654",
"0.63488317",
"0.6341146",
"0.63079107",
"0.62938416",
"0.62897927",
"0.6286535",
"0.6278767",
"0.6266638",
"0.62601227",
"0.62595123",
"0.6251602",
"0.625035",
"0.62499636",
"0.62475175",
"0.62448263",
"0.6228774",
"0.6228501",
"0.6225754",
"0.6215941",
"0.62152386",
"0.62067324",
"0.6200068",
"0.6193502",
"0.6186139",
"0.61779994",
"0.61721784",
"0.61602086",
"0.6156329",
"0.61522025",
"0.6142412",
"0.6141033",
"0.6135078",
"0.61322004"
]
| 0.0 | -1 |
Loads a File as a resource (/reference/pos/). | public List<String> loadFile(String filename) {
List<String> patterns = new ArrayList<>();
String resourceFilename = (filename.indexOf('/') == 0) ? filename : "/reference/pos/" + filename;
URL url = getClass().getResource(resourceFilename);
if(url == null) {
throw new IllegalArgumentException("Could not load resource: \"" + resourceFilename + "\"");
}
try(InputStream stream = url.openStream()) {
byte[] bytes = stream.readAllBytes();
StringBuilder sb = new StringBuilder();
for(byte b : bytes) {
sb.append((char)b);
}
String s = sb.toString();
String[] lines = s.split("\\R"); // Unicode linebreak sequence
sb = new StringBuilder();
for(String line : lines) {
if(line.startsWith("//"))
continue;
if(line.endsWith("+")) {
sb.append(line.substring(0, line.length() - 1));
}
else if(sb.length() > 0 ) {
sb.append(line);
patterns.add(sb.toString());
sb = new StringBuilder();
}
else
patterns.add(line);
}
}
catch(Exception e) {
System.err.println("Could not load " + resourceFilename + " " + e.toString());
}
return patterns;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void load(File file);",
"public Resource load(IFile f);",
"public void load (File file) throws Exception;",
"public void loadFile(File p_file) throws IOException;",
"public void load(File source);",
"public void load (IFile file) throws Exception;",
"public Resource load(String filename) throws MalformedURLException;",
"public void load (String argFileName) throws IOException;",
"public static void load(FileIO fileIO) \r\n\t{\n\t\t\r\n\t}",
"File getLoadLocation();",
"FileReference getFile(String fileName);",
"public abstract void loadFile(Model mod, String fn) throws IOException;",
"private void load(FileInputStream input) {\n\t\t\r\n\t}",
"@Override\n\tpublic Object load(String file) {\n\t\treturn null;\n\t}",
"public void setResourcefile (File file)\n {\n _resourcefile = file;\n }",
"public abstract void load() throws IOException;",
"public boolean load(String file);",
"public void readFromFile() {\n\n\t}",
"public Resource loadFileAsResource(String fileName) {\n try {\n Path filePath = this.fileStorageLocation.resolve(fileName).normalize();\n Resource resource = new UrlResource(filePath.toUri());\n if(resource.exists()) {\n return resource;\n } else {\n throw new HubFileNotFoundException(\"File not found \" + fileName);\n }\n } catch (MalformedURLException ex) {\n throw new HubFileNotFoundException(\"File not found \" + fileName, ex);\n }\n }",
"public void\tload(String fileName) throws IOException;",
"public Savable loadAsset() {\n return file.loadAsset();\n }",
"public static Resource loadFromFile() {\n File file = new File(saveFilePath);\n // create a new file if it doesn't exist\n if (!file.exists()) {\n // save an empty resource object\n Resource resource = new Resource();\n resource.saveToFile();\n }\n\n Resource resource = null;\n try {\n resource = (Resource) loadObjFromFile(saveFilePath);\n } catch (InvalidClassException e) {\n // if resource file is outdated or corrupted reset file\n resource = new Resource();\n resource.saveToFile();\n staticLog(\"resource file was corrupted, cleared with new one\");\n// e.printStackTrace();\n } catch (IOException | ClassNotFoundException e) {\n e.printStackTrace();\n }\n\n resource.activeUsers = new HashMap<>();\n resource.activeProjects = new HashMap<>();\n return resource;\n }",
"public void load(){\n Player temp;\n try{\n FileInputStream inputFile = new FileInputStream(\"./data.sec\");\n ObjectInputStream objectIn = new ObjectInputStream(inputFile);\n temp = (Player)objectIn.readObject();\n Arena.CUR_PLAYER = temp;\n objectIn.close();\n inputFile.close(); \n }\n catch(FileNotFoundException e ){\n System.err.print(\"data.sec not found\");\n }\n catch(IOException e){\n System.out.println(\"Error 201\");\n }\n catch(ClassNotFoundException e){\n System.out.println(\"Error 202\");\n }\n }",
"FileObject getFile();",
"FileObject getFile();",
"private void loadGame(String fileName){\n\n }",
"default void load(String file) {\n load(new File(file));\n }",
"void openResource(String resourcePath);",
"public void load() ;",
"@Override\n public Resource load(String filename, String path) {\n S3Object s3_file = this.s3client.getObject(\n this.s3_storage_properties.getBucketName(), path + \"/\" + filename\n );\n S3ObjectInputStream file_stream = s3_file.getObjectContent();\n\n Resource resource = new InputStreamResource(file_stream);\n if (resource.exists() || resource.isReadable()) {\n Application.logger.info(\"Loaded \"+path + \"/\" + filename+\" into S3\");\n return resource;\n }\n else {\n throw new StorageFileNotFoundException(\n \"Could not read file: \" + filename);\n }\n }",
"private File getIOFile() {\n \t\tIPath location = resource.getLocation();\n \t\tif(location!=null) {\n \t\t\treturn location.toFile();\n \t\t}\n \t\treturn null;\n \t}",
"private void init(File file) throws VlException\n {\n // under windows: will return windows path\n String path = file.getAbsolutePath();\n\n //\n // Forward Flip backslashes !\n // Do this ONLY for the local filesystem !\n //\n\n if (File.separatorChar != VRL.SEP_CHAR)\n path = VRL.uripath(path, true, File.separatorChar);\n\n // under widows: will convert windows path to URI path !\n setLocation(new VRL(VRS.FILE_SCHEME, null, path));\n this.path = getPath(); // use URI path !\n\n _file = file;\n }",
"private FileInputStream loadFile(String file)\n\t{\n\t\tlogger.info(\"Fetching File : \"+System.getProperty(\"user.dir\")+\"\\\\src\\\\main\\\\resources\\\\\"+file);\n\t\ttry \n\t\t{\n\t\t\treturn(new FileInputStream(System.getProperty(\"user.dir\")+\"\\\\src\\\\main\\\\resources\\\\\"+file));\n\t\t} catch (FileNotFoundException e) {\t\t\t\t\n\t\t\tAssert.assertTrue(file+\" file is missing\", false);\n\t\t\treturn null;\n\t\t}\n\t}",
"public void loadGame(File fileLocation, boolean replay);",
"public void setResourceFile(File fileName) {\n resourceFile = fileName;\n }",
"public void load();",
"public void load();",
"public void loadResources();",
"private SgfReader load(File file)\n {\n \tFileInputStream in;\n \ttry {\n \t in = new FileInputStream(file);\n \t}\n \tcatch(FileNotFoundException e) {\n \t showError(\"File not found!\");\n \t return null;\n \t}\n \n \tSgfReader sgf;\n \ttry {\n \t sgf = new SgfReader(in);\n \t}\n \tcatch (SgfReader.SgfError e) {\n \t showError(\"Error reading SGF file:\\n \\\"\" + e.getMessage() + \"\\\"\");\n \t return null;\n \t}\n \t\n \treturn sgf;\n }",
"public static Object openObj(File file, URLClassLoader loader)\n {\n try(ForeignObjectInputStream ois = new ForeignObjectInputStream(new FileInputStream(file), loader))\n {\n return ois.readObject();\n }\n \n catch(Exception e)\n {\n return null;\n }\n }",
"public FilesInputStreamLoad readFile() throws ArcException {\r\n\tFile dir = new File(this.archiveChargement + \".dir\");\r\n\tString fileName = ManipString.substringAfterFirst(this.idSource, \"_\");\r\n\tFile toRead = new File(dir + File.separator + ManipString.redoEntryName(fileName));\r\n\tFilesInputStreamLoad filesInputStreamLoadReturned = null;\r\n\ttry {\r\n\t\tfilesInputStreamLoadReturned = new FilesInputStreamLoad (toRead);\r\n\t} catch (IOException ioReadException) {\r\n\t\tthrow new ArcException(ioReadException, ArcExceptionMessage.FILE_READ_FAILED, toRead);\r\n\t}\r\n\treturn filesInputStreamLoadReturned;\r\n }",
"public void setFileRef() { this.fileRef = fileRef; }",
"void loadFromFile() {\n\t\ttry {\n\t\t\tFile directory = GameApplication.getInstance().getExternalFilesDir(Environment.DIRECTORY_DOCUMENTS);\n\t\t\tFile source = new File(directory, FILE_NAME);\n\t\t\tMap<String, Scoreboard> scoreboards = new HashMap<String, Scoreboard>();\n\t\t\tif (source.exists()) {\n\t\t\t\tJsonReader reader = new JsonReader(new FileReader(source));\n\t\t\t\treader.beginArray();\n\t\t\t\twhile (reader.hasNext()) {\n\t\t\t\t\tScoreboard scoreboard = readScoreboard(reader);\n\t\t\t\t\tscoreboards.put(scoreboard.getName(), scoreboard);\n\t\t\t\t}\n\t\t\t\treader.endArray();\n\t\t\t\treader.close();\n\t\t\t} else {\n\t\t\t\tsource.createNewFile();\n\t\t\t}\n\t\t\tthis.scoreboards = scoreboards;\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public static void load(File file) throws IOException {\n while (LogicManager.isUpdating()) {} // wait until current update has finished\n\n LogicManager.setPaused(true);\n\n // clear current scene\n GridManager.clearScene();\n\n // open input stream\n ObjectInputStream in = new ObjectInputStream(new BufferedInputStream(new FileInputStream(file)));\n\n try {\n // load viewport data\n Point viewport = (Point) in.readObject();\n int scaling = (Integer) in.readObject();\n Window.getCurrentInstance()\n .getGameDisplay()\n .setViewport(viewport);\n Window.getCurrentInstance()\n .getGameDisplay()\n .setScaling(scaling);\n SwingUtilities.invokeLater(() -> {\n Window.getCurrentInstance()\n .getGameDisplay()\n .revalidate();\n Window.getCurrentInstance()\n .getGameDisplay()\n .repaint();\n });\n\n // load point data\n Point[] data;\n data = (Point[]) in.readObject();\n GridManager.loadScene(data);\n } catch (ClassNotFoundException e) {\n in.close();\n throw new IOException(\"File contains illegal data\");\n }\n in.close();\n }",
"public static void openFile(File map) throws IOException {\n\t\ttry {\n\t\t\tinput = new ObjectInputStream(new FileInputStream(map));\n\t\t\t\n\t\t} catch(IOException e) {\n\t\t\tSystem.err.println(\"Error: Unable to open map file.\");\n\t\t\tthrow e;\n\t\t}\n\t}",
"Resource getResource();",
"FileReference createFile(String fileName, String toolId);",
"void load();",
"void load();",
"public boolean loadFile(File f) throws IOException {\n\t\treturn false;\r\n\t}",
"public void openFile(@NotNull final CheckedConsumer<FileManager, IOException> loadAction) {\n try {\n final var pair = editorManager.createEditor();\n final Editor editor = pair.getFirst();\n final var fm = pair.getSecond();\n loadAction.accept(fm);\n editorManager.openEditor(editor, fm);\n mimaUI.fileChanged();\n App.logger.log(\"loaded: \" + FileName.shorten(fm.getLastFile()));\n } catch (@NotNull final IOException | IllegalStateException e) {\n App.logger.error(\"Could not load file: \" + e.getMessage());\n }\n }",
"public Object loadResource(CameraRecord record);",
"public Texture loadTexture(String file, Format format, boolean useMipMap);",
"public IPluginResource load( URI path ) throws LoaderException;",
"public static Object loadObject(File file) throws Exception {\n FileInputStream fin = new FileInputStream(file);\n ObjectInputStream ois = new ObjectInputStream(fin);\n Object obj = ois.readObject();\n ois.close();\n return obj;\n }",
"private PBXFileReference fileReference(Path path) {\n Optional<String> language = Resources.languageOfLprojDir(path);\n String name = language.isPresent() ? language.get() : path.getFileName().toString();\n return pbxReferences.get(FileReference.of(name, path.toString(), SourceTree.GROUP));\n }",
"public void loadMusic(File f) {\n music = new MP3(f);\n }",
"public abstract T loadResource(AssetManager assetManager, String str);",
"public Object loadFromFile(String fileName) {\n\t Object obj = null;\n\t try{\n\t\t FileInputStream FIS = new FileInputStream((defaultPath+\"\\\\\" + fileName));\n\t\t ObjectInputStream onjIn = new ObjectInputStream(FIS);\n\t\t obj = onjIn.readObject();\n\t } catch (NoSuchFileException e){\n\t\t saveToFile(fileName, null); \n\t } catch (IOException e) {\n\t } catch (ClassNotFoundException e) {\n\t } \n\t return obj;\n }",
"public static Object readObjectFromFile(File f) {\r\n Object obj = null;\r\n try {\r\n FileInputStream fin = new FileInputStream(f);\r\n ObjectInputStream ois = new ObjectInputStream(fin);\r\n obj = ois.readObject();\r\n ois.close();\r\n } catch (Exception e) {\r\n System.out.println(\"Error reading Object from file: \"\r\n + e.getMessage());\r\n return null;\r\n }\r\n return obj;\r\n }",
"public void loadShow(File f) {\n \n }",
"@Override\n\tpublic ParticleEffect load(AssetManager manager, String fileName, FileHandle file,\n\t\t\tParticleEffectParameter parameter) {\n\t\tParticleEffect effect = new ParticleEffect();\n\t\teffect.load(file, file.parent());\n\t\treturn effect;\n\t}",
"public void load() {\n }",
"protected void loadFile(String s) {\n\t\tpush();\n\t\tfile.load(s, curves);\n\t\trecalculateCurves();\n\t\tpushNew();\n\t}",
"public void load(String filename) {\n\t\tsetup();\n\t\tparseOBJ(getBufferedReader(filename));\n\t}",
"public void loadFile(String fname) \n\t{\n\t\t// use Scanner used to read the file\n\t\ttry{\n\t\t\tScanner scan = new Scanner(new FileReader(fname));\n\t\t\t//read in number of row and column in the first line\n\t\t\treadRC(scan);\n\t\t\treadMaze(scan);\n\t\t\t//close the scanner\n\t\t\tscan.close();\t\t\t\t\t\t\t\t\n\t\t}catch(FileNotFoundException e){\n\t\t\tSystem.out.println(\"FileNotFound\"+e.getMessage());\n\t\t}\n\t}",
"@Override\r\n\tpublic void initialLoad() throws IOException {\n\t\t\r\n\t}",
"@Override\n protected void onLoad(File file) {\n if (file.getName().endsWith(\".txt\")) {\n scene = Scene.loadFromFile(file);\n camera = new Camera(new Vector3D(0f,0f,0f), new Vector3D(0f,0f,0f), new Vector3D(1f,1f,1f));\n } else {\n JOptionPane.showMessageDialog(null, \"Error: Invalid file type.\\nExpected '*.txt'\", \"Invalid File type\", JOptionPane.ERROR_MESSAGE);\n System.out.println(\"Invalid file format\");\n }\n }",
"private void openFile(File file)\n {\n String imagePath = file.toURI().toString();\n Image image = new Image(imagePath);\n if ( image == null || image.isError())\n {\n showInvalidFileFormatError();\n } else\n {\n bufferImage = image;\n changeAvatarCircle.setFill(new ImagePattern(image));\n imagePathLabel.setText(imagePath);\n }\n }",
"public static void reading(String fileName)\n {\n\n }",
"public void loadSaveGameFromFile(File file) {\r\n\t\t//TODO\r\n\t}",
"public Sound loadSound(String file);",
"public void readFile();",
"private void loadDescriptor(File descriptorFile) throws IOException, InvalidXMLException,\n ResourceInitializationException {\n XMLInputSource in = new XMLInputSource(descriptorFile);\n ResourceSpecifier specifier = UIMAFramework.getXMLParser().parseResourceSpecifier(in);\n ResourceManager manager = UIMAFramework.newDefaultResourceManager();\n\n this.ae = UIMAFramework.produceAnalysisEngine(specifier, manager, null);\n this.cas = this.ae.newCAS();\n\n }",
"public ResourceInputStream(File file) throws IOException {\n\t\t\tthis(new FileInputStream(file), file.lastModified());\n\t\t}",
"public static IResource convertFileToExistingResource(File file) {\r\n IPath path = new Path(file.getAbsolutePath());\r\n \r\n IPath wsPath = convertToWorkspacePath(path, true);\r\n if (wsPath != null)\r\n \t return ResourcesPlugin.getWorkspace().getRoot().findMember(wsPath);\r\n \r\n return null;\r\n }",
"File getFile();",
"File getFile();",
"public String loadFromFile() {\n StringBuilder sb = new StringBuilder();\n try {\n Log.d(\"DEBUG\", this.context.getPackageName());\n Log.d(\"DEBUG\", this.file);\n FileInputStream fis = context.openFileInput(file);\n BufferedReader br = new BufferedReader(new InputStreamReader(fis, this.encoding));\n String line;\n while(( line = br.readLine()) != null ) {\n sb.append( line );\n sb.append( '\\n' );\n }\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n return sb.toString();\n }",
"private static final File readFile(final Shapefile shapefile, String pathFile)\n\t{\n\t\tpathFile += \".\" + shapefile.getType().toString().toLowerCase();//\".shp\";\n\n\t\tfinal Base64 decoder = new Base64();\n\t\tfinal byte[] shpBytes = decoder.decode(shapefile.getSource());\n\t\ttry\n\t\t{\n\t\t\tfinal FileOutputStream osf = new FileOutputStream(new File(pathFile));\n\t\t\tosf.write(shpBytes);\n\t\t\tosf.flush();\n\t\t\tosf.close();\n\t\t\treturn new File(pathFile);\n\t\t}\n\t\tcatch (final IOException e)\n\t\t{\n\t\t\tLOG.info(e.getMessage());\n\t\t\tthrow new RuntimeException(\"admin.shape.error.import\");\n\t\t}\n\t}",
"public void load(InputStream is) throws IOException;",
"private File getFile(String filename) throws Exception {\n\t\tFile file = new File(filename);\n\t\tif (file.exists()) {\n\t\t\treturn file;\n\t\t} else if (!file.isAbsolute()) {\n\t\t\tfinal Resource r = context.getThisInstance().eResource();\n\t\t\tfinal Path p = new Path(r.getURI().segment(1) + File.separator + filename);\n\t\t\tfinal IFile f = ResourcesPlugin.getWorkspace().getRoot().getFile(p);\n\t\t\tif (f.exists()) {\n\t\t\t\treturn f.getRawLocation().makeAbsolute().toFile();\n\t\t\t}\n\t\t}\n\n\t\tthrow new Exception(\"Filename \" + filename + \" not found\");\n\n\t}",
"public static File getFileToLoad() {\n\t\treturn new File(System.getProperty(\"user.home\") + File.separatorChar + \"Documents\" + File.separatorChar + \"main.css\");\n\t\t//return null;\n\t}",
"private static String loadFile(File file) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new FileReader(file));\n\t\treturn br.readLine();\n\t}",
"public void loadFile() {\n\t\t\n\t\tString fileloc = \"\";\n\t\tif(!prf.foldername.getText().equals(\"\"))\n\t\t\tfileloc += prf.foldername.getText()+\"/\";\n\t\t\n\t\tString filename = JOptionPane.showInputDialog(null,\"Enter the filename.\");\n\t\tfileloc += filename;\n\t\tFile fl = new File(fileloc);\n\t\t\n\t\tif(!fl.exists()) {\n\t\t\tJOptionPane.showMessageDialog(null, \"The specified file doesnt exist at the given location.\");\n\t\t} else {\n\t\t\tMinLFile nminl = new MinLFile(filename);\n\t\t\t\n\t\t\ttry {\n\t\t\t\tFileReader flrd = new FileReader(fileloc);\n\t\t\t\tBufferedReader bufread = new BufferedReader(flrd);\n\t\t\t\t\n\t\t\t\tnminl.CodeArea.setText(\"\");\n\t\t\t\n\t\t\t\tString str;\n\t\t\t\twhile((str = bufread.readLine()) != null) {\n\t\t\t\t\tDocument doc = nminl.CodeArea.getDocument();\n\t\t\t\t\ttry {\n\t\t\t\t\tdoc.insertString(doc.getLength(), str, null);\n\t\t\t\t\t} catch (BadLocationException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tbufread.close();\n\t\t\t\tflrd.close();\n\t\t\t\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\t\t\n\t\t\t\n\t\t\tJComponent panel = nminl;\n\t\t\t\n\t\t\ttabbedPane.addTab(filename, null, panel,\n\t\t\t\t\tfilename);\t\t\n\t\t\ttabbedPane.setMnemonicAt(0, 0);\n\t\t}\t\n\t}",
"public void load(String path) {\n try {\n texId = new TextureId(path);\n BufferedImage image = ImageIO.read(new FileInputStream(\"resources\" + texId.getPath()));\n createImage(image);\n } catch (Exception e) {\n e.printStackTrace();\n unload();\n }\n }",
"public abstract void load();",
"public static ScheduleItem readFromFile(RandomAccessFile fio, long pos){\n try {\n fio.seek(pos);\n int number = fio.readInt();\n String name = fio.readUTF();\n return new ScheduleItem(name, number);\n } catch (IOException e) {\n e.printStackTrace();\n }\n return null;\n }",
"private File createRefFile( File f )\n {\n \tfinal String refExtension = \".ref\";\n \n \tString origFileName = f.getName();\n \tint dotPos = origFileName.lastIndexOf( \".\" );\n \tString strippedFileName = origFileName.substring( 0, dotPos ); // filename without extension, and without the dot!\n \n \treturn FileHandler.getFile( new String( harvesterDirName + File.separator + strippedFileName + refExtension ) );\n }",
"Points(String filepath){\n readPointsFile(filepath); //dengan file points.txt\n }",
"public Object readObject(File file, int format) throws IOException, FileNotFoundException;",
"public File getRessourceFile() {\r\n\t\treturn local;\r\n\t}",
"public void load() {\n\t}",
"private void loadFromFile(String fileName) {\n try {\n InputStream inputStream = this.openFileInput(fileName);\n if (inputStream != null) {\n ObjectInputStream input = new ObjectInputStream(inputStream);\n boardManager = (BoardManager) input.readObject();\n inputStream.close();\n }\n } catch (FileNotFoundException e) {\n Log.e(\"login activity\", \"File not found: \" + e.toString());\n } catch (IOException e) {\n Log.e(\"login activity\", \"Can not read file: \" + e.toString());\n } catch (ClassNotFoundException e) {\n Log.e(\"login activity\", \"File contained unexpected data type: \" + e.toString());\n }\n }",
"public int loadFile(File file)\r\n {\r\n try \r\n {\r\n ObjectInputStream src = new ObjectInputStream(new FileInputStream(file));\r\n root = (Person)src.readObject();\r\n return 0;\r\n } \r\n catch (FileNotFoundException ex) \r\n {\r\n System.out.println(\"A file related error has occurred while loading file: \" + ex);\r\n return 1;\r\n } \r\n catch (IOException | ClassNotFoundException ex) \r\n {\r\n System.out.println(\"A file related error has occurred while loading file: \" + ex);\r\n return 1;\r\n }\r\n }",
"String getResource();",
"void loadProducts(String filename);",
"private File tryLoadFile() throws FileNotFoundException {\n boolean fileLoadedSuccessfully = false;\n \n if (fileLoadedSuccessfully) {\n return new File(FILE_PATH);\n }\n else {\n throw new FileNotFoundException(\"Could not load file with path \" + FILE_PATH);\n }\n }",
"public ObjReader(String filename){\n file = filename;\n }",
"void load(final File file) {\n this.file = Preconditions.checkNotNull(file);\n this.gameModelPo = gameModelPoDao.loadFromFile(file);\n visibleAreaService.setMapSize(getMapSize());\n initCache();\n }",
"public static Game loadGame(String fileName){\n Game game = null;\n try {\n File file1 = new File(fileName);\n FileInputStream fileInputStream = new FileInputStream(file1);\n ObjectInputStream objectInputStream = new ObjectInputStream(fileInputStream);\n game = (Game) objectInputStream.readObject();\n game.makeGUIVisible();\n }catch (Exception e){\n System.err.println(\"Error when loading file\");\n }\n return game;\n }"
]
| [
"0.6879736",
"0.6836283",
"0.6812924",
"0.67571604",
"0.65720564",
"0.6477276",
"0.63755125",
"0.62875056",
"0.6215614",
"0.61116403",
"0.60517144",
"0.601107",
"0.5939912",
"0.59121263",
"0.5901732",
"0.5895235",
"0.5865389",
"0.58428127",
"0.5823698",
"0.5809551",
"0.58059907",
"0.57155126",
"0.5674943",
"0.56238",
"0.56238",
"0.56096125",
"0.558952",
"0.55894715",
"0.5571849",
"0.55564594",
"0.55355483",
"0.55340505",
"0.5524699",
"0.5519154",
"0.5501541",
"0.54931873",
"0.54931873",
"0.54777026",
"0.5471504",
"0.54614234",
"0.54583174",
"0.5454905",
"0.54500425",
"0.54367673",
"0.54161906",
"0.54063183",
"0.53881884",
"0.5387913",
"0.5387913",
"0.53811044",
"0.537921",
"0.5366437",
"0.536535",
"0.5365298",
"0.53618807",
"0.5358017",
"0.53496885",
"0.53369665",
"0.5335268",
"0.5320289",
"0.5315456",
"0.5313148",
"0.5312801",
"0.5312353",
"0.5302202",
"0.53012276",
"0.53004515",
"0.52923",
"0.5287335",
"0.52866",
"0.5284076",
"0.52818924",
"0.5281473",
"0.527852",
"0.5276983",
"0.52685416",
"0.526227",
"0.526227",
"0.52602875",
"0.52585226",
"0.52556443",
"0.5248332",
"0.52482456",
"0.524549",
"0.52433234",
"0.5239031",
"0.5229283",
"0.5220629",
"0.52108544",
"0.52093464",
"0.52066165",
"0.52019876",
"0.519812",
"0.5197144",
"0.51966137",
"0.5190515",
"0.518996",
"0.518962",
"0.51878315",
"0.5186551",
"0.5181873"
]
| 0.0 | -1 |
browser for launch the chrome | public void browser() {
System.setProperty("webdriver.chrome.driver", "src/test/resources/Driver/chromedriver.exe");
driver = new ChromeDriver();
driver.manage().window().maximize();// maximize the window
driver.manage().timeouts().implicitlyWait(50, TimeUnit.SECONDS);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Given(\"^launch an chrome browser$\")\r\n\tpublic void launch_an_chrome_browser() throws Throwable {\n\t sign.url();\r\n\t\t\r\n\t}",
"public void openBrowser() {\n ResourceBundle config = ResourceBundle.getBundle(\"config\");\n\n config.getString(\"browser\").equalsIgnoreCase(\"Chrome\");\n System.setProperty(\"webdriver.chrome.driver\", \"src/Drivers/chromedriver_76.0.exe\");\n driver = new ChromeDriver();\n\n driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\n// driver.get(config.getString(\"URL\"));\n driver.manage().window().maximize();\n }",
"@Given(\"^Open URL in chrome browser$\")\r\n\tpublic void open_URL_in_chrome_browser() {\n\t nop.Launch(\"chrome\", \"http://automationpractice.com/index.php\");\r\n\t}",
"public void Open_Browser() \r\n\t{\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"drivers\\\\chromedriver.exe\");\r\n\t\t//Brower initiation\r\n\t\tdriver=new ChromeDriver();\r\n\t\t//maximize browser window\r\n\t\tdriver.manage().window().maximize();\r\n\t\t\r\n\t\r\n\t}",
"@Given(\"^the user launch the chrome application$\")\r\n\tpublic void the_user_launch_the_chrome_application() throws Throwable {\n\t\tlaunchBrowser(\"chrome\");\r\n\t\t register= new Para_Registartion_page(driver);\r\n\t}",
"public static WebDriver startBrowser() {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"./driver/chromedriver.exe\");\n\t\t\n\t\t// Create ChromeDriver object, launch Chrome browser\n\t\t WebDriver driver = new ChromeDriver();\n\t\t \n\t\t// Create ChromeDriver object, launch Chrome browser\n\t\tdriver.get(\"http://techfios.com/test/107/\");\n\t\treturn driver;\n\t}",
"public static void main(String[] args) {\n\t\t System.setProperty(\"webdriver.chrome.driver\", \"D:/workspace/chromedriver\");\r\n\t\t //System.setProperty(\"webdriver.chrome.driver\", ...);\r\n\t\t \r\n\t\t System.setProperty(\"selenide.browser\", \"Chrome\");\r\n\t\t Configuration.browser=\"chrome\";\r\n\t\t open(\"http://google.com\");\r\n\t\t //$(By.id(\"registerLink\")).pressEnter();\r\n\t\t }",
"public void chromeLaunch() {\n\t\tSystem.setProperty(key, value);\n\t\ts=new ChromeDriver();\n\t\ts.manage().window().maximize();\n\t\ts.navigate().to(url);\n\t}",
"@Given(\"^the user launch chrome application$\")\r\n\tpublic void the_user_launch_chrome_application() throws Throwable {\n\t w.browser();\r\n\t}",
"@BeforeTest\r\n public void launchBrowser() {\n System.setProperty(\"webdriver.chrome.driver\", ChromePath);\r\n driver= new ChromeDriver();\r\n driver.manage().window().maximize();\r\n driver.get(titulo);\r\n }",
"@BeforeTest\r\n\tpublic void launch()\r\n\t{\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C:\\\\Yogini\\\\chromedriver\\\\chromedriver.exe\"); //location of browser in local drive\r\n\t\tWebDriver driver = new ChromeDriver(); \r\n\t\tdriver.get(tobj.url);\r\n\t\tSystem.out.println(\"Before test, browser is launched\");\r\n\t}",
"public static void main(String[] args) {\n WebDriverManager.chromedriver().setup();\n\n // create object for using selenium driver;\n WebDriver driver=new ChromeDriver();\n\n //open browser\n driver.get(\"http://amazon.com\");// bumu exlaydu\n //driver.get(\"http://google.com\");\n // open website\n System.out.println(driver.getTitle());\n\n\n\n\n }",
"public WebDriver LaunchChromeBrowserReturnIt() {\n\t\ttry {\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\",\n\t\t\t\t\t\"/TestSuit/lib/chromedriver.exe\");\n\t\t\tdriver = new ChromeDriver(); // Launch chrome\n\n\t\t} catch (Exception e) {\n\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn driver;\n\n\t}",
"public void initiateBrowser(String browser) {\n\t\tString os = System.getProperty(\"os.name\").toLowerCase();\n\t\tString current_dir = System.getProperty(\"user.dir\");\n\t\tSystem.out.println(os);\n\t\tSystem.out.println(current_dir);\n\t\tswitch (browser) {\n\t\tcase \"ie\":\n\t\t\tSystem.setProperty(\"webdriver.ie.driver\", current_dir + \"/drivers/IEDriverServer.exe\");\n\t\t\tdriver = new InternetExplorerDriver();\n\t\t\tbreak;\n\t\tcase \"chrome\":\n\t\t\tChromeOptions options = new ChromeOptions();\n\t\t\tif (os.contains(\"linux\")) {\n\t\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", current_dir + \"/drivers/linuxdrivers/chromedriver\");\n\t\t\t\tDesiredCapabilities caps = DesiredCapabilities.chrome();\n\t\t\t\tLoggingPreferences logPrefs = new LoggingPreferences();\n\t\t\t\tlogPrefs.enable(LogType.BROWSER, Level.ALL);\n\t\t\t\tcaps.setCapability(CapabilityType.LOGGING_PREFS, logPrefs);\n\n\t\t\t\toptions.setBinary(\"/usr/bin/google-chrome\");\n\t\t\t\toptions.addArguments(\"--headless\");\n\t\t\t} else if (os.contains(\"windows\")) {\n\t\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", current_dir + \"/drivers/chromedriver.exe\");\n\t\t\t\tDesiredCapabilities caps = DesiredCapabilities.chrome();\n\t\t\t\tLoggingPreferences logPrefs = new LoggingPreferences();\n\t\t\t\tlogPrefs.enable(LogType.BROWSER, Level.ALL);\n\t\t\t\tcaps.setCapability(CapabilityType.LOGGING_PREFS, logPrefs);\n\t\t\t}\n\t\t\toptions.addArguments(\"test-type\");\n\t\t\toptions.addArguments(\"disable-popup-blocking\");\n\t\t\tdriver = new ChromeDriver(options);\n\n\t\t\tdriver.manage().window().maximize();\n\t\t\tbreak;\n\t\tcase \"firefox\":\n\t\t\tdriver = new FirefoxDriver();\n\t\t\tbreak;\n\t\t}\n\t\tdriver.manage().window().maximize();\n\t\tdriver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\n\n\t}",
"public static void openBrowser() {\n WebDriverManager.chromedriver().setup();\n driver = new ChromeDriver();\n // === Google Chrome Browsers === //\n CHOSEN_BROWSER = CHROME;\n driver.manage().window().maximize();\n }",
"public static WebDriver chrome()\r\n\t{\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",System.getProperty(\"user.dir\")+\"\\\\Chrome\\\\chromedriver.exe\");\r\n\t\tgk = new ChromeDriver();\r\n\t\treturn gk;\r\n\t}",
"@Test\r\n\tpublic void launch_browser()\r\n\t{ \r\n\t\t\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C://TESTING TOOLS - SOFTWARES/chromedriver.exe\");\r\n\t\tWebDriver driver = new ChromeDriver();\r\n\t\tdriver.get(\"https://www.javatpoint.com/\");\r\n\t\t// remove all cookies\r\n\t\t//driver.manage().deleteAllCookies();\r\n\t\tdriver.manage().window().maximize();\r\n\t\t\r\n\t\t\r\n\t}",
"private static WebDriver launchChrome()\n\t{\n\t\tif (REMOTE_URL != null && !REMOTE_URL.equals(\"\")) {\n\t\t\tDesiredCapabilities capabilities = DesiredCapabilities.chrome();\n\t\t\ttry {\n\n\t\t\t\treturn new RemoteWebDriver(new URL(System.getProperty(\"RemoteUrl\")), capabilities);\n\t\t\t}\n\n\n\t\t\tcatch (MalformedURLException e) {\n\n\t\t\t\te.printStackTrace();\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\n\t\telse\n\t\t{\n\t\tURL chromeDriverURL = BrowserDriver.class.getResource(\"/drivers/chromedriver.exe\");\n\t\tFile file = new File(chromeDriverURL.getFile()); \n\t\tSystem.setProperty(ChromeDriverService.CHROME_DRIVER_EXE_PROPERTY, file.getAbsolutePath());\n\t\t\n\t\tChromeOptions options = new ChromeOptions();\n\t\toptions.addArguments(\"--start-maximized\");\n\t\toptions.addArguments(\"--ignore-certificate-errors\");\n\t\t\n\t\treturn new ChromeDriver(options);\n\t\t}\n\t}",
"@Before\n public synchronized static WebDriver openBrowser() {\n String browser = System.getProperty(\"BROWSER\");\n\n\n if (driver == null) {\n try {\n //Kiem tra BROWSER = null -> gan = chrome\n if (browser == null) {\n browser = System.getenv(\"BROWSER\");\n if (browser == null) {\n browser = \"chrome\";\n }\n }\n switch (browser) {\n case \"chrome\":\n WebDriverManager.chromedriver().setup();\n driver = new ChromeDriver();\n break;\n case \"firefox\":\n WebDriverManager.firefoxdriver().setup();\n driver = new FirefoxDriver();\n break;\n case \"chrome_headless\":\n WebDriverManager.chromedriver().setup();\n ChromeOptions options = new ChromeOptions();\n options.addArguments(\"headless\");\n options.addArguments(\"window-size=1366x768\");\n driver = new ChromeDriver(options);\n break;\n default:\n WebDriverManager.chromedriver().setup();\n driver = new ChromeDriver();\n break;\n }\n } catch (UnreachableBrowserException e) {\n driver = new ChromeDriver();\n } catch (WebDriverException e) {\n driver = new ChromeDriver();\n } finally {\n Runtime.getRuntime().addShutdownHook(new Thread(new BrowserCleanup()));\n }\n driver.get(\"http://demo.guru99.com/v4/\");\n driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\n driver.manage().window().maximize();\n log.info(\"----------- START BRWOSER -----------\");\n\n }\n return driver;\n }",
"public static WebDriver startChrome() {\n\t\treturn new ChromeDriver();\n\t}",
"public static void main(String[] args) {\n WebDriver driver = WebDriverFactory.getDriver(\"chrome\");\n driver.manage().window().maximize();\n\n\n }",
"public static void openBrowser() {\r\n\t\tString browser = prop.getProperty(\"browserType\").toLowerCase();\r\n\r\n\t\ttry {\r\n\t\t\tif (browser.equals(\"chrome\")) {\r\n\t\t\t\tSystem.setProperty(prop.getProperty(\"chromeName\"), prop.getProperty(\"chromePath\"));\r\n\t\t\t\tdriver = new ChromeDriver();\r\n\r\n\t\t\t} else if (browser.equals(\"ff\")) {\r\n\t\t\t\tSystem.setProperty(prop.getProperty(\"FFName\"), prop.getProperty(\"FFPath\"));\r\n\t\t\t\tdriver = new FirefoxDriver();\r\n\r\n\t\t\t} else if (browser.equals(\"ie\")) {\r\n\t\t\t\tSystem.setProperty(prop.getProperty(\"IEName\"), prop.getProperty(\"IEPath\"));\r\n\t\t\t\tdriver = new InternetExplorerDriver();\r\n\r\n\t\t\t} else {\r\n\t\t\t\tAssert.fail(\"Unable to find browser, Check EnvrionrmentData.properties file\");\r\n\t\t\t}\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tAssert.fail(\"Unable to find browser, Check EnvrionrmentData.properties file\");\r\n\t\t}\r\n\t}",
"@BeforeTest //special type of testng method which alway run before.\r\n\t\t\tpublic void openBrowser() {\r\n\t\t\t\tWebDriverManager.chromedriver().setup();\r\n\t\t\t\tdriver = new ChromeDriver();\r\n\t\t\t\tdriver.get(\"https://locator.chase.com/\");\r\n\t\t\t}",
"public static void main(String[] args) {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"./browser/chromedriver.exe\");\r\n\t\t//DesiredCapabilities cap=new DesiredCapabilities();\r\n\t\t\r\n\t\tChromeOptions co=new ChromeOptions();\r\n\t\tco.addArguments(\"--disable-infobars\");\r\n\t\t//co.addArguments(\"--headless\");\r\n\t\tWebDriver driver=new ChromeDriver(co);\r\n\t\tdriver.manage().window().maximize();\r\n\t\tdriver.close();\r\n\r\n\t}",
"public static void main(String[] args) {\n\t\t\r\n\t\tWebDriver driver = new browser_methods().getDriver(\"chrome\");\r\n\t\tdriver.get(\"http://newtours.demoaut.com/\");\r\n\r\n\t}",
"public static void main(String[] args) {\n String str = getDriver(\"chrome\");\n System.out.println(str);\n\n }",
"@Before\r\n\tpublic void OpenChrome() {\n\t\tconfig = new ConfigReader();\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",config.getChromePath());\r\n\t\tdriver = new ChromeDriver();\r\n\t\tdriver.manage().window().maximize();\r\n\t\tdriver.manage().deleteAllCookies();\r\n\t\texPages = new ExpediaPages(driver);\r\n\t}",
"public static void main(String[] args) throws IOException {\n\r\n\r\n\t WebDriver driver;\r\n\t ChromeOptions options=new ChromeOptions();\r\n\t options.addArguments(\"C:\\\\chromedriver.exe\"); \r\n\t\tDesiredCapabilities capabilities=DesiredCapabilities.chrome();\r\n\t\tcapabilities.setCapability(ChromeOptions.CAPABILITY,options);\r\n\t\tdriver=new RemoteWebDriver(new URL(\"http://192.168.71.1:5555/wd/hub\"),capabilities);\r\n driver.get(\"http://www.baidu.com\");\r\n \r\n \r\n \r\n//\t\tWebDriver driver;\r\n//\t\tProfilesIni allProfiles =new ProfilesIni();\r\n// FirefoxProfile profile=allProfiles.getProfile(\"default\");\r\n// DesiredCapabilities capabilities=DesiredCapabilities.firefox();\r\n//\t\tdriver=new RemoteWebDriver(new URL(\"http://192.168.71.1:5555/wd/hub\"),capabilities);\r\n//\t\tdriver.get(\"http://www.baidu.com\");\r\n\t}",
"public static void setBrowser() {\n\t\t browser=\"Chrome\";\n\t }",
"public static void startChromeDriver() {\r\n\t\tswitch (operatingSystem.toLowerCase().split(\" \")[0]) {\r\n\t\tcase \"windows\":\r\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"src//main//resources//drivers//chromedriver.exe\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"linux\":\r\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"src//main//resources//drivers//chromedriverLinux\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"mac\":\r\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"src//main//resources//drivers//chromedriverMac\");\r\n\t\t\tbreak;\r\n\r\n\t\tdefault:\r\n\t\t\tSystem.out.println(\"Operating system not supported.\");\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}",
"@Given(\"I set up my Chrome Driver\")\n\tpublic void i_am_on_Magalu_HomePage() {\n\t\tChromeOptions options = new ChromeOptions();\n\t\toptions.addArguments(\"--start-maximized\");\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C:/Users/gocruz/eclipse-workspace/portal.compras/chromedriver.exe\");\n\t\tdriver = new ChromeDriver(options);\n\n\t}",
"public static void openBrowser()\n\t{\n\t\tdriver = DriverSetup.getWebDriver(ReadPropertiesFile.getBrowser());\n\t\tdriver.get(ReadPropertiesFile.getURL());\n\t\tlog.info(\"Opening Browser\");\n\t\tlog.info(\"Practo website is launched \");\n\t}",
"@Given(\"^Launch the page$\")\r\n\tpublic void launch_the_page() {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"./driver/chromedrivernew.exe\");\r\n\t\tWebDriver driver = new ChromeDriver();\r\n\t\tdriver.get(\"http://realestate.upskills.in\");\r\n\t \t}",
"public static void InvokeBrowser() {\n\t\tString currentDir = System.getProperty(\"user.dir\");\n\t\tSystem.out.println(\"Current Directory \"+currentDir);\n\t\tDesiredCapabilities capabilities = DesiredCapabilities.chrome();\n\t\tChromeOptions options = new ChromeOptions();\n\t\toptions.addArguments(\"--incognito\");\n\t\tcapabilities.setCapability(ChromeOptions.CAPABILITY, options);\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\n\t\t\t\tcurrentDir+\"/lib/chromedriver/36/chromedriver.exe\");\n\t\tdriver = new ChromeDriver(capabilities);\n\t\tdriver.manage().window().maximize();\n\t\t//driver.navigate().to(URL);\n\t\t//logger.info(\"URL to proceed with transaction --> \"+URL);\n\t\t/*BestBuyAddCart.addToCart();\n\t\tdriver.close();\n\t\tdriver.quit();*/\n\t}",
"@Given(\"browser is open\")\n\tpublic void browser_is_open() {\n\t\tSystem.out.println(\"browseris open\");\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"/home/rahul/Desktop\");\n\t\tdriver=new ChromeDriver();\n\t\tdriver.manage().timeouts().implicitlyWait(40,TimeUnit.SECONDS);\n\t\t\n\t}",
"public static void main(String[] args) {\nString browser=\"ff\";\nif (browser.equals(\"chrome\")) {\n\tWebDriverManager.chromedriver().setup();\n\t// System.setProperty(\"webdriver.chrome.driver\", \"/Users/user/Downloads/chromedriver\");\n\tdriver=new ChromeDriver();\n}\nelse if (browser.equals(\"ff\")) {\n\tWebDriverManager.firefoxdriver().setup();\n\tdriver=new FirefoxDriver();\n}\nelse\n\tif (browser.equals(\"IE\")) {\n\t\tWebDriverManager.iedriver().setup();\n\t\tdriver=new InternetExplorerDriver();\n\t}\n\telse\n\t\tif (browser.equals(\"opera\")) {\n\t\t\tWebDriverManager.operadriver().setup();\n\t\t\tdriver=new OperaDriver();\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"no defined driver\");\n\t\t}\n\n\ndriver.get(\"https://google.com\");\n\n\n\n\t\n\n\n\n\n\n\n\n\n\n\n\n\t}",
"@Parameters(\"browser\")\n\t@BeforeMethod\n\tpublic void launchBrowser(String browser) throws InterruptedException{\n\t\tif(browser.equalsIgnoreCase(\"firefox\")) {\n\t\t\t \n\t\t\t driver = new FirefoxDriver();\n\t\t \n\t\t // If browser is IE, then do this\t \n\t\t \n\t\t }else if (browser.equalsIgnoreCase(\"ie\")) { \n\t\t \n\t\t\t // Here I am setting up the path for my IEDriver\n\t\t \n\t\t\t System.setProperty(\"webdriver.ie.driver\", \"C://Users//sudt//Downloads//IEDriverServer_x64_2.53.1//IEDriverServer (2).exe\");\n\t\t \n\t\t\t driver = new InternetExplorerDriver();\n\t\t \n\t\t } \n\t\t else if (browser.equalsIgnoreCase(\"chrome\")){\n\t\t\t System.setProperty(\"webdriver.chrome.driver\", \"C://Users//sudt//Downloads//chromedriver_win32//chromedriver.exe\");\n\t\t\t driver = new ChromeDriver();\n\t\t }\n\t\t else {\n throw new IllegalArgumentException(\"The Browser Type is Undefined\");\n }\n\n\t\tdriver.get(\"https://www.xero.com/us/\");\n\t\tdriver.manage().window().maximize();\n\t\n\t\n\t}",
"public static void main(String[] args) throws MalformedURLException {\n\t\t\n\t\tDesiredCapabilities objRc=new DesiredCapabilities();\n\t\tobjRc.setBrowserName(\"chrome\");\n\t\tobjRc.setPlatform(Platform.WINDOWS);\n\t\tWebDriver driver=new RemoteWebDriver(new URL(\"http://localhost:4546/wd/hub\"),objRc);\n\t}",
"public void getBrowser(String browser, String url) {\n\n\n if (browser.equalsIgnoreCase(\"chrome\")) {\n WebDriverManager.chromedriver().setup();\n driver = new ChromeDriver();\n } else if (browser.equalsIgnoreCase(\"firefox\")) {\n WebDriverManager.firefoxdriver().setup();\n driver = new FirefoxDriver();\n }\n driver.manage().window().maximize();\n driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\n driver.get(url);\n\n }",
"@Test \n public void executSessionOne(){\n\t System.out.println(\"open the browser: chrome\");\n final String CHROME_DRIVER_DIRECTORY = System.getProperty(\"user.dir\") + \"/src/test/java/BrowserDrivers/chromedriver.exe\";\n System.setProperty(\"webdriver.chrome.driver\", CHROME_DRIVER_DIRECTORY);\n final WebDriver driver = new ChromeDriver();\n //Goto guru99 site\n driver.get(\"http://demo.guru99.com/V4/\");\n //find user name text box and fill it\n driver.quit();\n }",
"public static WebDriver init_driver_crome(String browser) {\n\t\t\tif(browser.equals(\"chrome\")) {\n\t\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"G:\\\\software\\\\chromedriver_win32\\\\chromedriver.exe\");\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Browser is initialised\" +browser);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"Browser is not initialised\" +browser);\n\t\t\t}\n\t\t\treturn getDriverChrome();\n\t\t}",
"public static void main(String[] args) {\n\t\t\r\n\t\tWebDriverManager.chromedriver().setup();\r\n\t\t\r\n\t\tWebDriver driver =new ChromeDriver();\r\n\t\t\r\n\t\t\r\n\r\n\t}",
"@Given(\"^launch the browser \\\"([^\\\"]*)\\\"$\")\n\tpublic void launch_the_browser(String url) throws Throwable {\n\t\tdriver = getDriver();\n\t\tdriver.get(url);\n\n\t}",
"public static void main(String[] args) {\n\t\tString current = System.getProperty(\"user.dir\");\n\t\tSystem.out.println(current);\n\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", current + \"\\\\Lib\\\\chromedriver.exe\");\n\n\t\tWebDriver driver = new ChromeDriver(); //open browser\n\t\tdriver.get(\"https://www.google.com\"); //open URL\n\t\ttry {\n\t\t\tThread.sleep(5000); //wait for 5 second\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tdriver.close(); //close browser \n\t}",
"private void launchBrowser(URI uri) throws IOException\r\n {\r\n getDesktop().browse(uri);\r\n }",
"@Test \n public void executSessionThree(){\n System.out.println(\"open the browser: chrome III\");\n final String CHROME_DRIVER_DIRECTORY = System.getProperty(\"user.dir\") + \"/src/test/java/BrowserDrivers/chromedriver.exe\";\n System.setProperty(\"webdriver.chrome.driver\", CHROME_DRIVER_DIRECTORY);\n final WebDriver driver = new ChromeDriver();\n //Goto guru99 site\n driver.get(\"http://demo.guru99.com/V4/\");\n //find user name text box and fill it\n driver.quit();\n }",
"public RemoteWebDriver startApp(String url) {\n\t\treturn startApp(\"chrome\", url);\r\n\t}",
"@Given(\"^Initialize the browser with Chrome$\")\r\n\tpublic void initialize_the_browser_with_Chrome() throws Throwable {\n\t\tdriver = DriverManager.getDriverInstance(\"chrome\", 20);\r\n\t\tSystem.out.println(\"Launched Chrome\");\r\n\t}",
"@Test\r\n\tpublic void f()\r\n\t{\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"C://Data_Program//Selenium_Dependencies//chromedriver.exe\");\r\n\t\tWebDriver driver=new ChromeDriver();\r\n\t\tdriver.manage().window().maximize();\r\n\t\tdriver.get(\"http://www.google.com\");\r\n\t}",
"public WebDriver browserSetup() throws IOException\r\n\t{ \r\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\r\n\t\tSystem.out.println(\"1.Chrome\\n2.Firefox \\nEnter your choice:\");\r\n\t\tString choice=br.readLine();\r\n\t\t\r\n\t\tswitch(choice)\r\n\t\t{\r\n\t\t//To start Chrome Driver\r\n\t\tcase \"1\":\r\n\t\t System.setProperty(\"webdriver.chrome.driver\", \"C:\\\\Test Automation\\\\Software\\\\chrome\\\\New Version\\\\chromedriver.exe\");\r\n\t\t ChromeOptions options=new ChromeOptions();\r\n\t\t options.addArguments(\"--disable-notifications\");\r\n\t\t driver=new ChromeDriver(options);\r\n\t\t break;\r\n\t\t\r\n\t\t//To start Firefox Driver\r\n\t\tcase \"2\":\r\n\t\t\tSystem.setProperty(\"webdriver.gecko.driver\", \"C:\\\\***\\\\drivers\\\\geckodriver.exe\");\r\n\t\t\tdriver=new FirefoxDriver();\r\n\t\t\tbreak;\r\n\t\t} \r\n\t\t\r\n\t\tdriver.get(url);\r\n\t\t\r\n\t\t//To maximize the window\r\n\t\tdriver.manage().window().maximize();\r\n\t\t\r\n\t\tdriver.manage().timeouts().pageLoadTimeout(8, TimeUnit.SECONDS);\r\n\t\t\r\n\t\treturn driver;\r\n\t}",
"public static void main(String[] args) {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"./driver/chromedriver.exe\");\n\t\tWebDriver d=new ChromeDriver();\n\t\td.get(\"file:///C:/Users/SYED%20HASSAN/Desktop/selinium%202%20se/p1.html\");\n\t\tString title = d.getTitle();\n\t\tSystem.out.println(\"title = \"+title);\n\t\tString window = d.getWindowHandle();\n System.out.println(\"windowhandle\"+window);\n String c = d.getCurrentUrl();\n System.out.println(\"currenturl\"+c);\n d.close();\n System.out.println();\n\t}",
"public void openBrowser(String url) {\n System.setProperty(\"webdriver.chrome.driver\", \"c:\\\\webdriver\\\\chromedriver.exe\");\n driver = new ChromeDriver();\n driver.manage().window().maximize();\n// int timeout = Integer.parseInt(ApplicationConfig.readConfigProperties(\"config-week17project.properties\", \"timeout\"));\n int timeout = Integer.parseInt(testData.timeout);\n driver.manage().timeouts().pageLoadTimeout(timeout, TimeUnit.SECONDS);\n driver.get(url);\n }",
"public static void main(String[] args) throws Exception{\n\n WebDriverManager.chromedriver().setup();\n\n WebDriver driver = new ChromeDriver();\n\n driver.get(\"http://practice.cybertekschool.com/open_new_tab\");\n\n Thread.sleep(4000);\n\n //driver.close(); //expected to close the original one\n driver.quit(); //all window will be closed\n\n\n\n\n }",
"@Given(\"^Open the Chrome and open google site$\")\t\t\t\t\n public void Open_the_Chrome_and_open_google_site() throws Throwable\t\t\t\t\t\t\t\n {\t\t\n \tdriver = new ChromeDriver();\n \tdriver.get(\"https://accounts.google.com/SignUp\");\n }",
"public static void main(String[] args) {\n\t\nSystem.setProperty(\"webdriver.chrome.driver\", \"C:\\\\Users\\\\vishal mittal\\\\Downloads\\\\chromedriver_win32 (16)\\\\chromedriver.exe\");\n\t\t\n// 2 . creating a reference object for interface WebDriver and access the child class \n\t\t// ChromeDriver -- chromebrowser\n\t\n\t\t// we have to import this class and interface from selenium packages\n\t\t\n\t\tWebDriver driver = new ChromeDriver();\n\t\t\n// get() method : to open our application URL on the browser\n\t\t\n\t\tdriver.get(\"https://www.h2kinfosys.com/\");\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}",
"public WebDriver launchBrowser(String browserName) {\n\n\t\tif (browserName.equals(\"chrome\")) {\n\t\t\t//System.setProperty(\"webdriver.chrome.driver\", \"/Users/naveenautomationlabs/Downloads/chromedriver\");\n\t\t\tWebDriverManager.chromedriver().setup();\n\t\t\tdriver = new ChromeDriver();\n\t\t} else if (browserName.equals(\"firefox\")) {\n\t\t\t//System.setProperty(\"webdriver.gecko.driver\", \"/Users/naveenautomationlabs/Downloads/geckodriver\");\n\t\t\tWebDriverManager.firefoxdriver().setup();\n\t\t\tdriver = new FirefoxDriver();\n\t\t} else if (browserName.equals(\"safari\")) {\n\t\t\tdriver = new SafariDriver();\n\t\t} else {\n\t\t\tSystem.out.println(\"please pass the correct browser....\");\n\t\t}\n\n\t\treturn driver;\n\t}",
"private static void openWebpage(String url) {\n try {\n new ProcessBuilder(\"x-www-browser\", url).start();\n } catch (IOException e) {\n log.error(e.getMessage(), e);\n }\n }",
"public static void main(String[] args) {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"E:\\\\chrome driver 90\\\\chromedriver_win32 (2)\\\\chromedriver.exe\");\n\t\tWebDriver driver = new ChromeDriver();\n\t\tdriver.get(\"https://demo.nopcommerce.com/\");\n\t\t\n\t\t//driver.switchTo().newWindow(WindowType.TAB); // ithu work agum but dependnces nala work agala\n\t\t//driver.switchTo().newWindow(WindowType.WINDOW);\n\t\t\n\t\tdriver.get(\"https://www.opencart.com/)\");\n\t\t\n\t\t\n\t\t\n\n\t}",
"@Given(\"I open a browser and launch the application\")\n public void open_a_browser_and_launch_the_application() throws MalformedURLException\n {\n try {\n if(System.getProperty(\"exemode\").equals(\"remote\")) {\n if(System.getProperty(\"browser\").equals(\"firefox\")){\n System.setProperty(\"webdriver.gecko.driver\", \"./drivers/geckodriver\");\n DesiredCapabilities dc = DesiredCapabilities.firefox();\n dc.setBrowserName(\"firefox\");\n dc.setPlatform(Platform.LINUX);\n driver = new RemoteWebDriver(new URL(UtilConstants.ENDPOINT_SELENIUM_HUB), dc);\n }\n else if(System.getProperty(\"browser\").equals(\"chrome\")){\n System.setProperty(\"webdriver.chrome.driver\", \"./drivers/chromedriver\");\n DesiredCapabilities dc = DesiredCapabilities.chrome();\n dc.setBrowserName(\"chrome\");\n dc.setPlatform(Platform.LINUX);\n driver = new RemoteWebDriver(new URL(UtilConstants.ENDPOINT_SELENIUM_HUB), dc);\n }\n }\n else{\n if(System.getProperty(\"browser\").equals(\"firefox\")){\n System.setProperty(\"webdriver.gecko.driver\", \"./drivers/geckodriver\");\n driver = new FirefoxDriver();\n }\n else if(System.getProperty(\"browser\").equals(\"chrome\")){\n System.setProperty(\"webdriver.chrome.driver\", \"./drivers/chromedriver\");\n driver = new ChromeDriver();\n }\n }\n\n if(driver!=null){\n driver.manage().window().maximize();\n driver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS);\n //driver.manage().timeouts().pageLoadTimeout(5, TimeUnit.SECONDS);\n driver.get(ENDPOINT_PHPTRAVELS);\n }\n }\n catch(Exception e){\n e.printStackTrace();\n// System.exit(1);\n }\n }",
"public static void main(String[] args) {\n\t\tString driverPath = System.getProperty(\"user.dir\")+\"\\\\src\\\\drivers\\\\chromedriver.exe\";\n\t\t////D:\\2021\\Batches_DATA\\SDET_0301\\LearnSelenium_03_01\\WebDriverBasics\n\t\t//System.out.println(\"path - \"+ driverPath);\n\t\t//D:\\2021\\Batches_DATA\\SDET_0301\\LearnSelenium_03_01\\WebDriverBasics\\src\\drivers\\chromedriver.exe\n\t\t//D:\\2021\\Batches_DATA\\SDET_0301\\LearnSelenium_03_01\\WebDriverBasics\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", driverPath);\n\t\t\n\t\tWebDriver chDriver = new ChromeDriver();//complex object\n\t\t//maximize\n\t\tchDriver.manage().window().maximize();\n\t\t\n\t\tchDriver.get(\"https://opensource-demo.orangehrmlive.com/\");\n\t\t\n\t\t//Webdriver -Interface, driver - ref var, CHromeDriver-class\n\t\t\n\t\t\n\t\t//Firefox Browser:\n//\t\tString ffDriverPath = System.getProperty(\"user.dir\")+\"\\\\src\\\\drivers\\\\geckodriver.exe\";\n//\t\tSystem.setProperty(\"webdriver.gecko.driver\", ffDriverPath);\n//\t\tWebDriver ffDriver = new FirefoxDriver();//complex object\n\t\t\n\t\t//get the current Url, title of application\n\t\t\n\t\t//chDriver.close();\n\t\t\n\n\t}",
"private void setChromeDriver() throws Exception {\n\t\t// boolean headless = false;\n\t\tHashMap<String, Object> chromePrefs = new HashMap<String, Object>();\n\t\tchromePrefs.put(\"profile.default_content_settings.popups\", 0);\n\t\tchromePrefs.put(\"download.default_directory\", BasePage.myTempDownloadsFolder);\n\t\tchromeOptions.setExperimentalOption(\"prefs\", chromePrefs);\n\t\t// TODO: Using \"C:\" will not work for Linux or OS X\n\t\tFile dir = new File(BasePage.myTempDownloadsFolder);\n\t\tif (!dir.exists()) {\n\t\t\tdir.mkdir();\n\t\t}\n\n\t\tchromeOptions.addArguments(\"disable-popup-blocking\");\n\t\tchromeOptions.addArguments(\"--disable-extensions\");\n\t\tchromeOptions.addArguments(\"start-maximized\");\n\n\t\t/*\n\t\t * To set headless mode for chrome. Would need to make it conditional\n\t\t * from browser parameter Does not currently work for all tests.\n\t\t */\n\t\t// chromeOptions.setHeadless(true);\n\n\t\tif (runLocation.toLowerCase().equals(\"smartbear\")) {\n\t\t\tReporter.log(\"-- SMARTBEAR: standard capabilities. Not ChromeOptions\", true);\n\t\t\tcapabilities = new DesiredCapabilities();\n\t\t} else {\n\t\t\tcapabilities = DesiredCapabilities.chrome();\n\t\t\tcapabilities.setCapability(ChromeOptions.CAPABILITY, chromeOptions);\n\t\t}\n\n\t\tWebDriver myDriver = null;\n\t\tRemoteWebDriver rcDriver;\n\n\t\tswitch (runLocation.toLowerCase()) {\n\t\tcase \"local\":\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", chromeDriverLocation);\n\t\t\tmyDriver = new ChromeDriver(chromeOptions);\n\t\t\tbreak;\n\t\tcase \"grid\":\n\t\t\trcDriver = new RemoteWebDriver(new URL(serverURL), capabilities);\n\t\t\trcDriver.setFileDetector(new LocalFileDetector());\n\t\t\tmyDriver = new Augmenter().augment(rcDriver);\n\t\t\tbreak;\n\t\tcase \"testingbot\":\n\t\t\tif (browserVersion.isEmpty()) {\n\t\t\t\tbrowserVersion = defaultChromeVersion;\n\t\t\t}\n\t\t\tif (platformOS.isEmpty()) {\n\t\t\t\tplatformOS = defaultPlatformOS;\n\t\t\t}\n\t\t\tcapabilities.setCapability(\"browserName\", browser);\n\t\t\tcapabilities.setCapability(\"version\", browserVersion);\n\t\t\tcapabilities.setCapability(\"platform\", platformOS);\n\t\t\t// capabilities.setCapability(\"name\", testName); // TODO: set a test\n\t\t\t// name (suite name maybe) or combined with env\n\t\t\trcDriver = new RemoteWebDriver(new URL(serverURL), capabilities);\n\t\t\tmyDriver = new Augmenter().augment(rcDriver);\n\t\t\tbreak;\n\t\tcase \"smartbear\":\n\t\t\tif (browserVersion.isEmpty()) {\n\t\t\t\tbrowserVersion = defaultChromeVersion;\n\t\t\t}\n\t\t\tif (platformOS.isEmpty()) {\n\t\t\t\tplatformOS = defaultPlatformOS;\n\t\t\t}\n\t\t\t \n\t\t\t//capabilities.setCapability(\"name\", testMethod.get());\n\t\t\tcapabilities.setCapability(\"build\", testProperties.getString(TEST_ENV)+\" Chrome-\"+platformOS);\n\t\t\tcapabilities.setCapability(\"max_duration\", smartBearDefaultTimeout);\n\t\t\tcapabilities.setCapability(\"browserName\", browser);\n\t\t\tcapabilities.setCapability(\"version\", browserVersion);\n\t\t\tcapabilities.setCapability(\"platform\", platformOS);\n\t\t\tcapabilities.setCapability(\"screenResolution\", smartBearScreenRes);\n\t\t\tcapabilities.setCapability(\"record_video\", \"true\"); Reporter.log(\n\t\t\t\t\t \"BROWSER: \" + browser, true); Reporter.log(\"BROWSER Version: \" +\n\t\t\t\t\t\t\t browserVersion, true); Reporter.log(\"PLATFORM: \" + platformOS, true);\n\t\t\tReporter.log(\"URL '\" + serverURL + \"'\", true); rcDriver = new\n\t\t\tRemoteWebDriver(new URL(serverURL), capabilities); myDriver = new\n\t\t\tAugmenter().augment(rcDriver);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", chromeDriverLocation);\n\t\t\tmyDriver = new ChromeDriver(chromeOptions);\n\t\t\tbreak;\n\t\t}\n\t\tdriver.set(myDriver);\n\t}",
"public void setup(){\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"//Users//bpat12//Downloads//chromedriver\");\n\t\tdriver = new ChromeDriver();\n\t\tSystem.out.println(\"launch browser\");\n\t\tdriver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);\n\t\tdriver.get(url);\n\t}",
"@BeforeTest\n\tpublic void OpenBrowser() throws InterruptedException {\n\t\t\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C:\\\\Users\\\\PSQA\\\\Desktop\\\\driver\\\\chromedriver.exe\");\n\t\tdriver = new ChromeDriver();\n\t\tdriver.get(\"https://www.booking.com/\");\n\t\n\t\t\n\t\tdriver.manage().window().maximize();\n\t\tThread.sleep(100);\n\t\t\n}",
"public static void main(String[] args) {\n\n\n WebDriverManager.chromedriver().setup();\n WebDriver driver = new ChromeDriver();\n\n //difference between get and navigate is get will w8 for page to load fully yet navigate wont\n// driver.get(\"http://www.facebook.com\");\n driver.navigate().to(\"http://www.facebook.com\");\n driver.navigate().to(\"http://www.google.com\");\n driver.navigate().back();\n driver.navigate().forward();\n driver.navigate().refresh();\n\n\n slpBrowser(2000);\n qBrowser(driver);\n System.out.println(\"Test Done\");\n }",
"public static void launchingBrowser() throws Exception {\n\n\t\tString applicationURL = merchEnv.getProtocol() + \"://\"\n\t\t\t\t+ merchEnv.getHost() + \":\" + merchEnv.getPort() + \"/\";\n\t\tselectedBrowser = merchEnv.getBrowser();\n\t\ttry {\n\t\t\tbaseScreen = new BaseScreen(selectedBrowser, applicationURL,\n\t\t\t\t\tmerchEnv.getContext(), merchEnv, merchUserInfo, merchUI);\n\t\t} catch (ScreenException e) {\n\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"public static void main(String[] args) {\n\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"C:\\\\Iguru\\\\I guru\\\\ChromeDriver\\\\chromedriver.exe\");\n\t \n\t\t WebDriver driver = new ChromeDriver();\n\t\t System.out.println(\"========browser started================\");\n\t\t String AppURL=\"https://www.google.com\"; \n\t driver.get(AppURL);\n\t String title= driver.getTitle();\n\t System.out.println(\"page title is\" +title);\n\t \n\t if(title.equals(\"Google\"))\n\t {\n\t \t System.out.println(\"Title is correct\");\n\t }\n\t else\n\t {\n\t \t System.out.println(\"Title is in-correct\");\n\t }\n\t String url =driver.getCurrentUrl();\n\t System.out.println(url);\n\t // driver.quit();\n\t \n\t // in case of close\n\t driver.close(); // in case of close invalid session id \n\t String title1= driver.getTitle(); //in case of quit Session ID is null Using WebDriver after calling quit()? \n\t System.out.println(title1);\n\n\t}",
"@Test\n public void f() {\n\t \n\t System.setProperty(\"webdriver.chrome.driver\", getClass().getResource(\"/chromedriver.exe\").getPath());\n\t System.out.println(\"ssss:\"+getClass().getResource(\"/chromedriver.exe\"));\n\t WebDriver dr = new ChromeDriver();\n\t dr.get(\"http://www.baidu.com\");\n\t \n\t App.printhello();\n\t System.out.println(\"aaaaaaaaaa\");\n\t try {\n\t\tThread.sleep(3000);\n\t} catch (InterruptedException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\n\t dr.close();\n }",
"@Test\n @Given(\"I launch browser\")\n public void s01_BrowserMaximizeLaunch() {\n System.setProperty(\"webdriver.chrome.driver\", \"src/ChromeDriver.exe\");\n// Init new instance of ChromeDriver.\n driver = new ChromeDriver();\n// Maximise browser window\n driver.manage().window().maximize();\n System.out.println(\"Step01 PASSED\");\n }",
"public static void main(String[] args) \r\n\t{\n\t\t\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"d:\\\\7pm_may_11\\\\chromedriver.exe\");\r\n\t\tChromeDriver driver=new ChromeDriver();\r\n\t\tdriver.get(\"http://www.google.com\");\r\n\t\t\r\n\t\t//WebElement w=driver.findElement(By.name(\"q\"));\r\n\t\t//w.sendKeys(\"java\");\r\n\t\t\r\n\t\tdriver.findElement(By.name(\"q\")).sendKeys(\"java\");\r\n\t\tdriver.findElement(By.name(\"btnG\")).click();\r\n\r\n\t}",
"@BeforeTest\r\n\tpublic void operBrowser(){\n\t\td1=Driver.getBrowser();\r\n\t\tWebDriverCommonLib wlib=new WebDriverCommonLib();\r\n\t\td1.get(Constant.url);\r\n\t\twlib.maximizeBrowse();\r\n\t\twlib.WaitPageToLoad();\r\n\t}",
"public static ChromeDriver intiChrome() throws Exception {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"D:/ChromeServer/chromedriver.exe\");\n\t\t// WebDriver driver = new ChromeDriver();\n\t\tChromeOptions chromeOptions = new ChromeOptions();\n\t\t// 设置为 headless 模式 (必须)\n\t\t// chromeOptions.addArguments(\"--headless\");\n\t\t// 设置浏览器窗口打开大小 (非必须)\n\t\t// chromeOptions.addArguments(\"--window-size=1980,1068\");\n\t\tChromeDriver driver = new ChromeDriver(chromeOptions);\n\t\treturn driver;\n\t}",
"public Runner( String browser )\n {\n browser = browser.toUpperCase();\n if (browser.equals(\"FIREFOX\"))\n {\n driver = new FirefoxDriver();\n }\n if(browser.equals(\"CHROME\"))\n {\n driver = new ChromeDriver();\n }\n\n driver.get(\"http://kuku-kube.com\");\n }",
"@Given(\"^user should launch the browser$\")\n\tpublic void user_should_launch_the_browser() throws Throwable {\n\t\tgetUrl(\"https://adactin.com/HotelAppBuild2/\");\n\t \n\t}",
"@Test\n public void test() throws MalformedURLException {\n System.setProperty(\"webdriver.chrome.driver\",System.getProperty(\"user.dir\")+\"\\\\drivers\\\\chromedriver.exe\"); \n WebDriver driver=new ChromeDriver();\n // WebDriver driver=new RemoteWebDriver(url,cap);\n driver.manage().window().maximize(); \n driver.get(\"https://curiedoctorapp.firebaseapp.com\");\n System.out.println(\"The title is\"+ driver.getTitle());\n driver.quit();\n \n }",
"public static void main(String[] args) throws Exception {\n\t\t\r\n\t\tDifferent_Browser.call_Firefox();\r\n\t\tDifferent_Browser.get_Google();\r\n\t\tDifferent_Browser.close_browser();\r\n\t\t\r\n//\t\tDifferent_Browser.call_chrome();\r\n//\t\tDifferent_Browser.get_Google();\r\n//\t\tDifferent_Browser.close_browser();\r\n\t}",
"public static void openBrowser(String browserType) {\n\t\t\tif (\"chrome\".equals(browserType.toLowerCase())) {\n\t\t\t\tsetChromeDriverProperty();\n\t\t\t\tChromeOptions options = setChromeOptions();\n\t\t\t\twebdriver = new ChromeDriver(options);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Browser type \" + browserType + \" hasn't been handled yet.\");\n\t\t\t\tReports.logAMessage(LogStatus.ERROR, \"Browser type \" + browserType + \" hasn't been handled yet.\");\n\t\t\t}\n\t\t}",
"public static void main(String[] args) throws MalformedURLException {\n\t\t\r\n\t\tChromeOptions chromeoptions=new ChromeOptions();\r\n\t\tWebDriver driver=new RemoteWebDriver(new URL(\"http://192.168.225.206:6878/wd/hub\"),chromeoptions);\r\n\t\t\r\n\t\tdriver.get(\"http://opensource.demo.orangehrmlive.com\");\r\n\t\tSystem.out.println(\"URL opened\");\r\n\r\n\t}",
"private WebDriver startWebDriver(String browser) {\n\t\tString msg = \">>> DRIVER : %s TestCase %s\";\n\t\tif (driver == null) {\n\t\t\t// driver is not started so we start it\n\t\t\tdriver = BrowserFactory.create(BROWSERS.valueOf(browser));\n\n\t\t\tif (driver != null)\n\t\t\t\tSystem.out.println(String.format(msg, driver.getWindowHandle(), this));\n\t\t}\n\t\treturn driver;\n\t}",
"public static void main(String[] args) {\n\n\tSystem.setProperty(\"webdriver.chrome.driver\",\"C:\\\\Users\\\\COMPAQ\\\\Downloads\\\\chromedriver_win32\\\\chromedriver.exe\");\n\nWebDriver driver =new ChromeDriver();\n\n//WebDriverWait wait = new WebDriverWait(driver, 40);\n\n driver.get(\"http://qatestingtips.com/\");\n\t\n\n}",
"public static void main(String[] args) {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"D:\\\\chromedriver\\\\chromedriver.exe\");\n\t\tdriver = new ChromeDriver();\n\t\tdriver.get(\"https://www.google.co.in/\");\n\t\tdriver.findElement(By.name(\"q\")).sendKeys(\"selenium\", Keys.ENTER);\n\t\tgoToPageNew(\"6\");\n\t}",
"@Parameters(\"BROWSER\")\n\t@BeforeClass(groups = {\"Smoke Test\",\"Regression Test\"})\n\tpublic void launchBrowser(String BROWSER) throws IOException \n\t{\n\n\t\tif(BROWSER.equalsIgnoreCase(\"Chrome\")) \n\t\t{\n\t\t\tdriver= new ChromeDriver();\n\t\t}\n\t\telse if (BROWSER.equalsIgnoreCase(\"Firefox\"))\n\t\t{\n\t\t\tdriver= new FirefoxDriver();\n\t\t}\n\t\telse {\n\t\t\tdriver= new ChromeDriver();\n\t\t}\n\t\t//String url = System.getProperty(\"URL\");\n\n\t\tdriver.get(fileutility.readDatafrompropfile(\"url\"));\n\t\twdu.maximizewindow(driver);\n\t\twdu.pageloadtimeout(driver);\n\t\tstaticdriver=driver;\n\t}",
"public static void main(String[] args) \r\n\t{\n\t\tString path=\"browser_drivers\\\\chromedriver.exe\";\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", path);\r\n\t\tWebDriver driver=new ChromeDriver(); //Launch browser\r\n\t\tdriver.get(\"http://seleniumhq.org\"); //Load webpage\r\n\t\tdriver.manage().window().maximize(); //maximize browser window\r\n\t\t\r\n\t\t\r\n\t\tString Exp_url=\"https://www.seleniumhq.org/\";\r\n\t\t\r\n\t\t//Capture runtime url\r\n\t\tString Runtime_url=driver.getCurrentUrl();\r\n\t\t\t\t\r\n\t\tif(Runtime_url.equals(Exp_url))\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Expected url presented for selenium homepage\");\r\n\t\t\t\r\n\t\t\tWebElement Download_tab=driver.findElement(By.xpath(\"//a[@title='Get Selenium']\"));\r\n\t\t\tDownload_tab.click();\r\n\t\t\t\r\n\t\t\tif(driver.getCurrentUrl().contains(\"download/\"))\r\n\t\t\t\tSystem.out.println(\"expected url presented, Downlaod page verified\");\r\n\t\t\telse\r\n\t\t\t\tSystem.out.println(\"expected url not presented, download page not verified\");\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Wrong url presnted for selenium hompage\");\r\n\t\t}\r\n\t\r\n\t}",
"public static void chromeTest() throws Exception{\n driver = BrowserFactory.getDriver(\"chrome\");\n Thread.sleep(2000);\n\n driver.get(\"http://google.com\");\n Thread.sleep(3000);\n String title = driver.getTitle();\n driver.navigate().to(\"https://etsy.com\");\n Thread.sleep(2000);\n String title2 = driver.getTitle();\n driver.navigate().back();\n title = driver.getTitle();\n Thread.sleep(2000);\n driver.navigate().to(\"https://etsy.com\");\n title2 = driver.getTitle();\n driver.quit();\n }",
"public static void main(String[] args) {\n\r\n\t\t\r\n\t\t\r\n\t\tdriver=new FirefoxDriver();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t//ChromePOM pom=new ChromePOM(driver);\r\n\t\t\r\n\t\t\r\n\t}",
"public static void setup(String browser) throws Exception{\n if(browser.equalsIgnoreCase(\"firefox\")){\n \tFile pathToBinary = new File(\"C:\\\\Program Files (x86)\\\\Mozilla Firefox 41\\\\firefox.exe\");\n \tFirefoxBinary binary = new FirefoxBinary(pathToBinary);\n \tFirefoxDriver driver = new FirefoxDriver(binary, new FirefoxProfile());\n \t\n \t//System.setProperty(\"webdriver.firefox.driver\",\"C:\\\\Program Files (x86)\\\\Mozilla Firefox\\\\firefox.exe\");\n \t/*DesiredCapabilities capabilies = DesiredCapabilities.firefox();\t\t\t\n capabilies.getBrowserName();\n capabilies.getVersion();*/\n \t\t\t\n \t//create Firefox instance\t \n //driver = new FirefoxDriver(); \n System.out.println(\"Browser Used: \"+browser);\n }\t \n //Check if parameter passed is 'Chrome'\n // https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/chrome/ChromeOptions.html\n // http://www.programcreek.com/java-api-examples/index.php?api=org.openqa.selenium.remote.DesiredCapabilities (Singleton)\n else if(browser.equalsIgnoreCase(\"chrome\")){\t \t \n System.setProperty(\"webdriver.chrome.driver\",\"C:\\\\Selenium\\\\Assets\\\\chromedriver.exe\");\n ChromeOptions opt = new ChromeOptions();\n opt.setBinary(\"C:\\\\Selenium\\\\Assets\\\\chromedriver.exe\");\n opt.setExperimentalOption(\"Browser\", \"Chrome\");\n opt.getExperimentalOption(\"version\");\n \n// DesiredCapabilities capabilies = DesiredCapabilities.chrome();\n// capabilies.setBrowserName(\"chrome\");\n// capabilies.setPlatform(Platform.WINDOWS);\n// capabilies.setVersion(\"38\");\n// DesiredCapabilities capabilities = new DesiredCapabilities();\n \n //Create Chrome instance\n driver = new ChromeDriver(opt);\t \n }\n \n //Check if parameter passed is 'Safari'\t\n else if(browser.equalsIgnoreCase(\"safari\")){\t \t \n \tSystem.setProperty(\"webdriver.safari.driver\",\"C:/safaridriver.exe\");\n \t\n \t//System.setProperty(\"webdriver.safari.noinstall\", \"true\");\n \tdriver = new SafariDriver();\n \t\n /*\tSafariOptions options = new SafariOptions();\n \tSafariDriver driver = new SafariDriver(options);\n \tDesiredCapabilities capabilities = DesiredCapabilities.safari();\n \tcapabilities.setCapability(SafariOptions.CAPABILITY, options);*/\n }\n \n //Check if parameter passed is 'IE'\t \n else if(browser.equalsIgnoreCase(\"ie\")){\n \t//String IE32 = \"C:\\\\Selenium\\\\Assets\\\\IEDriverServer_32.exe\"; //IE 32 bit\n\t\t\tString IE64 = \"C:\\\\Selenium\\\\Assets\\\\IEDriverServer_64.exe\"; //IE 64 bit\n \tSystem.setProperty(\"webdriver.ie.driver\",IE64);\n \t\n /* \tDesiredCapabilities capabilies = DesiredCapabilities.internetExplorer();\n \tcapabilies.setBrowserName(\"ie\");\n capabilies.getBrowserName();\n capabilies.getPlatform();\n capabilies.getVersion();*/\n \n \t//Create IE instance\n \tdriver = new InternetExplorerDriver();\n }\t \n else{\t \n //If no browser passed throw exception\t \n throw new Exception(\"Browser is not correct\");\t \n }\t \n driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\t\t\n\t}",
"public void setChromeDriver(){\n System.setProperty(\"webdriver.chrome.driver\", browserDriverPath);\n seleniumDriver = new ChromeDriver();\n }",
"public static void main(String[] args) {\nWebDriver driver = new FirefoxDriver();\nSystem.out.println(\"hai\");\ndriver.get(\"https://www.google.com\");\nSystem.out.println(driver.getTitle());\ndriver.close();\n\t}",
"public static ChromeDriver LaunchPage(String url) {\n\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"./driver/chromedriver.exe\");\n\t\tChromeDriver driver = new ChromeDriver();\n\t\ttry {\n\t\t\tdriver.get(url);\n\t\t} catch (WebDriverException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t\treturn driver;\n\t}",
"public static void main(String[] args) throws InterruptedException {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"./driver/chromedriver\");\n\n\t\t// Launch the chrome browser\n\t\tWebDriver driver = new ChromeDriver();\n\n\t\t// Enter the url\n\t\tdriver.get(\"http://www.facebook.com\");\n\t\t//for maximize window\n driver.manage().window().maximize();\n\n\n\t\t// Get the title of the google page and print it on the console\n\t\tString title = driver.getTitle();\n\t\tSystem.out.println(\"The title of the page is :\" + title);\n\n\t\t// Get the URL of the google page and print it on the console\n\t\tString currentUrl = driver.getCurrentUrl();\n\t\tSystem.out.println(\"The URL of the page is :\" + currentUrl);\n\t\tSystem.out.println(\"-----------------------------------------------\");\n\t\t// Get the source code of the google page and print it on the console\n//\t\tString pageSource = driver.getPageSource();\n//\t\tSystem.out.println(\"the source code of the page is :\" + pageSource);\n\n\t\t// Halt the program execution for 2 seconds\n\t\tThread.sleep(2000);\n\n\t\t// Close the browser\n\t\tdriver.close();\n\t}",
"private void openBrowser() {\r\n //http://必须有\r\n String url = urlText.getText().toString();\r\n if (!\"http\".equals(url.substring(0, 4))) {\r\n url = \"http://\" + url;\r\n }\r\n Uri uri = Uri.parse(url);//获取网址,并转换成URI\r\n Intent intent = new Intent(Intent.ACTION_VIEW, uri);//打开浏览器\r\n startActivity(intent);\r\n }",
"public static void main(String[] args) {\n\n WebDriverManager.chromedriver().setup();\n WebDriver driver = new ChromeDriver();\n\n //this 3 things need to be done to open a browser\n driver.get(\"https://practice.cybertekschool.com\");\n\n String title = driver.getTitle();\n\n //soutv--> you don need to write \"title\"\n System.out.println(\"title = \" + title);\n\n String currntUrl= driver.getCurrentUrl();\n System.out.println(\"currntUrl = \" + currntUrl);\n\n //get the source of the page\n String pageSource = driver.getPageSource();\n System.out.println(\"pageSource = \" + pageSource);\n\n\n }",
"public static void main(String[] args) {\n\t\t\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C://Users//Abdul//OneDrive//Desktop//Selenium//chromedriver_win32/chromedriver.exe\");\n\t\tChromeDriver driver=new ChromeDriver(); // launch the chrome browser \n\t\t\n\t\t//driver.get(\"https://www.Google.com/\");\n\t\t\n\t\tdriver.get(\"https://www.google.com/\");\n\t\t\n\t\tString title = driver.getTitle();\n\t\tSystem.out.println(title);\n\t\t\n\t\t\n\t\t//String title = driver.getTitle();\n\t\t //System.out.println(title);\n\t\t\n\t\t//String title2 = driver.getTitle();\n\t\t//System.out.println(title2);\n\t\t\n\t//\tSystem.out.println(driver.getCurrentUrl());\n\t\t\n\t\t//System.out.println(driver.getPageSource());\n\t\t\n\t\tif(title.equals(\"Gogle\"))\n\t\t{\n\t\t\tSystem.out.println(\"Correct Title\");\n\t\t}\n\t\t\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"In Correct Title\");\n\t\t}\n\t\t \n\t\t\n\t\tdriver.close();\n\t\tdriver.quit();\n\t\t\n\t}",
"public static void main (String[] args)\n\t{\n \tSystem.setProperty(\"webdriver.chrome.driver\",\"D:\\\\Prashant\\\\Automation support\\\\chromedriver.exe\");\n\t\t\n\t\tWebDriver driver=new ChromeDriver(); //Create driver object for ChromeBrowser\n\t\t\n\t\tdriver.get(\"https://www.spicejet.com/\"); //Launching Browser by get method.\n\t\t\n\t\tSystem.out.println(driver.getCurrentUrl()); //Validate landded on correct page by website title\n\t\t\n\t\tSystem.out.println(driver.getTitle()); //Validate landded on correct page\n\t\t\n\t\t//System.out.println(driver.getPageSource()); //Get page source in HTML format in Console\n\t\t\n\t\t//driver.get(\"https://edflylearn.com/training/for-teachers/registration/login/\");\n\t\n\t\tdriver.navigate().back(); //Navigate method used to back operation\n\t\n\t\tdriver.navigate().forward();//Navigate method used to forward operation\n\t\t\n\t\tdriver.close(); //Closing current active rowser by selenium \n\t\t\n\t\tdriver.quit(); //Closing all open browser by selenium \n\t}",
"public static void main(String[] args) {\n\t\tint x = 12; \n\t\t\n\t\tint y; \n\t\t\n\t\t\n\t\ty=12;\n\t\t\n\t\t\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C:\\\\Users\\\\rznan\\\\Desktop\\\\Feb_WS\\\\libraries\\\\chromedriver.exe\");\n\t\t\n\t\t// opening the google chrome browser \n\t\t\n\t\t\n\t\n\t\tWebDriver driver;\n\t\t\n\t\tdriver=new ChromeDriver();\n\t\t\n\t\t\n\t\tWebDriver driver1=new ChromeDriver();\n\t\t\n\t\tdriver.get(\"https://www.facebook.com/\");\n\t\t\n\t\tdriver1.get(\"https://www.google.com/\");\n\t\t\n\t\tdriver1.quit();\n\t\t\n\t}",
"public static void main(String[] args) {\n\t\tString proppath = System.getProperty(\"user.dir\");\n\t\tSystem.setProperty(\"webdriver.crome.driver\", proppath + \"\\\\chromedriver.exe\");\n\t\t\n\t\t//Desiredcapabilities (General ChromeOptions)\n\t\tDesiredCapabilities dc = new DesiredCapabilities();\n\t\tdc.acceptInsecureCerts(); // to handle ssl certificates\n\t\t//or\n\t\tdc.setCapability(CapabilityType.ACCEPT_INSECURE_CERTS, true);\n\t\tdc.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);\n\t\t\n\t\t//ChromeOptions (Local browser options)\n\t\tChromeOptions options = new ChromeOptions();\n\t\toptions.merge(dc);\n\t\toptions.setPageLoadStrategy(PageLoadStrategy.EAGER);\n\t\toptions.addArguments(\"--disable-notifications\");\n\t\t\n\t\t//Webdriver with ChromeOptions & DesiredCapabilities\n\t\tWebDriver driver = new ChromeDriver(options);\n\t\tdriver.manage().deleteAllCookies();\n\t\tdriver.manage().window().maximize();\n\n\t\tdriver.get(\"https://www.google.com/\");\n\t\tSystem.out.println(\"Before Processing >>>>\" + driver.getTitle());\n\t}",
"public static void main(String[] args) {\n\t\tWebDriver driver = new ChromeDriver();\r\n\t\ttry {\r\n\t\t\t// System.setProperty(\"webdriver.chrome.driver\", \"../../chromedriver\");\r\n\r\n// 2. tacka\r\n\t\t\tString url = \"http://newtours.demoaut.com/\";\r\n\t\t\tdriver.get(url);\r\n\r\n// 3.tacka\r\n\t\t\tString title = driver.getTitle();\r\n\t\t\tint titlelength = title.length();\r\n\r\n// 4. tacka\r\n\t\t\tSystem.out.println(\"Title is: \" + title);\r\n\t\t\tSystem.out.println(\"Title length is: \" + titlelength);\r\n\r\n// 5.tacka\r\n\t\t\tString actualUrl = driver.getCurrentUrl();\r\n\r\n\t\t\tif (actualUrl.equals(url)) {\r\n\t\t\t\tSystem.out.println(\"Correct page is opened\");\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"Incorrect page is opened\");\r\n\t\t\t\tSystem.out.println(\"Actual url is: \" + actualUrl);\r\n\t\t\t\tSystem.out.println(\"Expected url is: \" + url);\r\n\t\t\t}\r\n\r\n// 6. tacka\r\n\t\t\tString pageSource = driver.getPageSource();\r\n\t\t\tint pageSourceLength = pageSource.length();\r\n\r\n// 7.tacka\r\n\t\t\tSystem.out.println(\"Page Source length is: \" + pageSourceLength);\r\n\t\t} catch (Exception ex) {\r\n\r\n\t\t} finally {\r\n// 8.tacka\r\n\t\t\tdriver.quit();\r\n\t\t}\r\n\t}",
"public static void main(String[] args) throws InterruptedException {\n\t\tSystem. setProperty(\"webdriver.chrome.driver\", \"src/test/resources/drivers/chromedriver.exe\");\n\t\t//WebDriver driver = new ChromeDriver();\n\t\tWebDriver driver = new FirefoxDriver();\n\t\tdriver.get(\"https://www.guru99.com/\");\n\t\tString parentWindow = driver.getWindowHandle();\n\n\t\t//String select = Keys.chord(Keys.CONTROL);\n\t\t\n\t\t//driver.findElement(By.xpath(\"//a[@title='Java']\")).sendKeys(Keys.CONTROL,Keys.SHIFT,Keys.ENTER);\n\t\tWebElement link = driver.findElement(By.xpath(\"//a[@title='Java']\"));\n\t\tThread.sleep(3000);\n\t\tActions newTab = new Actions(driver);\n\t\tnewTab.keyDown(Keys.CONTROL).keyDown(Keys.SHIFT).click(link).keyUp(Keys.CONTROL).keyUp(Keys.SHIFT).build().perform();\n\t\tThread.sleep(5000);\n;\n\t\tdriver.getCurrentUrl();\n\t\n\t\t/*Set<String> set = driver.getWindowHandles();\n\t\t\n\t\tset.forEach(System.out::println);\n\t\tset.remove(parentWindow);\n\t\tassert set.size() == 1;\n\n\t\t\tdriver.switchTo().window((String) set.toArray()[0]);\n\t\t\tThread.sleep(8000);*/\n\t\t\tSystem.out.println(driver.getTitle());\n\t\t\tdriver.findElement(By.xpath(\"//input[@id='search_submit']\")).sendKeys(Keys.CONTROL + \"w\");\n\t\n\n\t\t/*WebElement el = driver.findElement(By.xpath(\"//input[@id='search_submit']\"));\n\t\t\n\t\tel.click();*/\n\t\tdriver.close();\n\t\t\t\t\n\t}",
"@Test\n\t@BeforeSuite\n\tpublic void OpenBrowser() throws InterruptedException {\n\t\t\n\t\tdriver = new FirefoxDriver();\n\t\tdriver.get(\"https://www.gmail.com\");\n\t\tmanageInit();\n\t\n\t}",
"public static void main(String[] args) {\n /* location of the driver executable\n For windows, navigate to file location, right click and click Properties. Grab the location value, add the filename at the end\n For MAC, navigate to file location, right click and click Get Info. Grab the location value, add the filename at the end\n */\n System.setProperty(\"webdriver.chrome.driver\",\"C:\\\\IJProjs\\\\NAAutoBoot\\\\chromedriver.exe\");\n\n System.out.println(\"driver location is:\"+System.getProperty(\"webdriver.chrome.driver\"));\n\n WebDriver driver1 = new ChromeDriver();\n\n driver1.get(\"https://www.bankofamerica.com/\");\n\n }",
"public static void main(String[] args) throws InterruptedException {\n\t\tWebDriver driver = new ChromeDriver();\r\n\t\t\r\n\t\tdriver.get(\"http://www.google.com\"); //Hit URL on browser\r\n\t\tString title = driver.getTitle(); //Get page title\r\n\t\tSystem.out.println(title);\r\n\t\tString URL = driver.getCurrentUrl(); //Get current URL\r\n\t\tSystem.out.println(URL);\r\n//\t\tSystem.out.println(driver.getPageSource()); //Get page source\r\n\t\tdriver.get(\"http://yahoo.com\"); //Navigate to another site\r\n\t\tdriver.navigate().back(); //Move back to 1st site\r\n\t\tdriver.navigate().forward(); //Move back to 2nd site\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tThread.sleep(5000);\r\n\t\tdriver.close(); //Closes current chrome window\r\n\t\tdriver.quit(); //Closes all windows of chrome\r\n\r\n\t\t\r\n\t}"
]
| [
"0.8038407",
"0.7950652",
"0.7891193",
"0.7848332",
"0.78119135",
"0.78086716",
"0.7728446",
"0.77096385",
"0.76261765",
"0.75986034",
"0.7519608",
"0.7516424",
"0.7480884",
"0.74300736",
"0.7423203",
"0.73936015",
"0.7375536",
"0.7272167",
"0.7229791",
"0.71411127",
"0.7124911",
"0.7094414",
"0.7080037",
"0.7058801",
"0.70380217",
"0.70322436",
"0.7029222",
"0.7029029",
"0.70178723",
"0.6998271",
"0.698807",
"0.6981731",
"0.69562286",
"0.6927044",
"0.6915565",
"0.6909716",
"0.6893239",
"0.6891945",
"0.68567675",
"0.68544394",
"0.68370086",
"0.6825748",
"0.6823105",
"0.6779515",
"0.6766618",
"0.6759403",
"0.6741619",
"0.6698864",
"0.66983336",
"0.66962606",
"0.66938627",
"0.6687555",
"0.66850317",
"0.66723067",
"0.6669453",
"0.66689146",
"0.66622865",
"0.66600853",
"0.6655826",
"0.6649177",
"0.66489464",
"0.663313",
"0.66207236",
"0.6618026",
"0.6617807",
"0.6605623",
"0.66050637",
"0.66004556",
"0.65828216",
"0.6579913",
"0.6573872",
"0.65733886",
"0.657066",
"0.65662956",
"0.6565385",
"0.6557456",
"0.6555903",
"0.65403324",
"0.65155077",
"0.6499823",
"0.6478456",
"0.647775",
"0.64763117",
"0.6471503",
"0.6470421",
"0.6462277",
"0.643503",
"0.6432643",
"0.6429693",
"0.6425052",
"0.6418643",
"0.6416467",
"0.6411391",
"0.6393612",
"0.63899726",
"0.6380982",
"0.63757616",
"0.63744533",
"0.63727033",
"0.6361052"
]
| 0.72292215 | 19 |
Persist from Account Activity | private void setupUI() {
String status_value = getIntent().getStringExtra("status_value");
String display_name_value = getIntent().getStringExtra("display_name_value");
mStatus.getEditText().setHint(status_value);
mName.getEditText().setHint(display_name_value);
mSaveChanges.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Log.d(TAG, "onClick: ");
mRegProgress = new ProgressDialog(SettingsActivity.this);
mRegProgress.setTitle("Saving changes");
mRegProgress.setMessage("Please wait while we save the changes");
mRegProgress.setCanceledOnTouchOutside(false);
mRegProgress.show();
String status_v = mStatus.getEditText().getText().toString();
String name_v = mName.getEditText().getText().toString();
if (!TextUtils.isEmpty(status_v)) {
presenter.getmUserDatabase().child(presenter.getMcurrent_user_id())
.child("status").setValue(status_v).addOnCompleteListener(new OnCompleteListener<Void>() {
@Override
public void onComplete(@NonNull Task<Void> task) {
Log.d(TAG, "onComplete: Status update");
if (task.isSuccessful()) {
Log.d(TAG, "Status update: is Sucessfull");
mRegProgress.dismiss();
} else {
Log.d(TAG, "Status update: is not sucessfull");
mRegProgress.hide();
Toast.makeText(SettingsActivity.this, "Error saving changes", Toast.LENGTH_LONG).show();
}
}
});
}
if (!TextUtils.isEmpty(name_v)) {
presenter.getmUserDatabase().child(presenter.getMcurrent_user_id())
.child("name").setValue(name_v).addOnCompleteListener(new OnCompleteListener<Void>() {
@Override
public void onComplete(@NonNull Task<Void> task) {
Log.d(TAG, "onComplete: Display Name update");
if (task.isSuccessful()) {
Log.d(TAG, "Display Name update: is Sucessfull");
mRegProgress.dismiss();
} else {
Log.d(TAG, "Display Name update: is not sucessfull");
mRegProgress.hide();
Toast.makeText(SettingsActivity.this,
"Error saving changes", Toast.LENGTH_LONG).show();
}
}
});
}
}
});
mChangeImage.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
//option 1
// this will direct user to the Gallery chooser (the library to choose images)
Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(Intent.createChooser(intent, "SELECT IMAGE"), GALLERY_PICK);
}
});
rewardClaim.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
AlertDialog.Builder builder = new AlertDialog.Builder(SettingsActivity.this);
builder.setTitle("Rewards Coming Soon");
builder.setMessage("We are planning some cool rewards just for you. \nPlease look forward to it!");
builder.create().show();
}
});
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void save(Account account);",
"private void writeAccount() {\n SharedPreferences pref = getSharedPreferences(\"ACCOUNT\", Context.MODE_PRIVATE);\n SharedPreferences.Editor edt = pref.edit();\n\n edt.putString(\"email\", Me.getInstance().getEmail());\n edt.putString(\"password\", txtPassword.getText().toString().trim());\n\n edt.commit();\n }",
"public void saveAccount() {\n\n }",
"boolean save(Account account);",
"@Override\n public void onSuccess(final Account account) {\n userid = account.getId();\n user = getApplicationContext().getSharedPreferences(\"USER_INFO\", Context.MODE_PRIVATE);\n editor = user.edit();\n editor.clear();\n editor.putString(\"ID\", userid);\n editor.commit();\n\n }",
"private static void storeActivation(Context context) {\n\t\t//securely store in shared preference\n\t\tSharedPreferences secureSettings = new SecurePreferences(context);\n\t\tString account = UserEmailFetcher.getEmail(context);\n\n\t\t//update preference\n\t\tSharedPreferences.Editor secureEdit = secureSettings.edit();\n\t\tsecureEdit.putBoolean(account + \"_paid\", true);\n\t\tsecureEdit.apply();\n\t}",
"Account save(Account account);",
"void save() {\r\n if (actionCompleted) {\r\n forget();\r\n } else {\r\n AccountSettings.stateStored = new Bundle();\r\n save(AccountSettings.stateStored);\r\n }\r\n }",
"@Override\r\n\tpublic void save(TAdAddress account) {\n\r\n\t}",
"public void AddToAccountInfo();",
"AccountModel save(AccountModel account) throws AccountException;",
"public void saveAccount() {\r\n\t\t\r\n\t\tString[] emailParts = GID.split(\"@\");\r\n\t\t//Recover the file name\r\n\t\tString fileName = name + \"_\" + emailParts[0] + \"_\" + emailParts[1];\r\n\t\t\r\n\t try {\r\n\t //use buffering\r\n\t OutputStream file = new FileOutputStream( fileName );\r\n\t OutputStream buffer = new BufferedOutputStream( file );\r\n\t ObjectOutput output = new ObjectOutputStream( buffer );\r\n\t \r\n\t try {\r\n\t \toutput.writeObject(this);\r\n\t }\r\n\t finally {\r\n\t \toutput.close();\r\n\t }\r\n\t }\r\n\t \r\n\t catch(IOException ex){\r\n\t \t System.out.println(\"Cannot perform output.\");\r\n\t }\r\n\t}",
"public void saveOrUpdate(Account account) {\n accountRepository.save(account);\n }",
"private void setAccount(SessionData sessionData, Account account) {\n \ttry {\n\t sessionData.set(\"account\", account);\n \t} catch (Exception e) {\n \t throw new RuntimeException(e.toString());\n \t}\n }",
"@Override\n public void persist() {\n }",
"private static Account createAndStoreAccount(String fileName, String GID, String name, Context activity) {\r\n\t\tAccount newAccount = new Account(GID, name); \r\n\t\tAccount.currentAccount = newAccount;\r\n\t\t\r\n\t try {\r\n\t //use buffering\r\n\t FileOutputStream fos = activity.openFileOutput(fileName, Context.MODE_PRIVATE);\r\n\t\t\tObjectOutputStream oos = new ObjectOutputStream(fos);\r\n\t\t\toos.writeObject(newAccount); \r\n\t try {\r\n\t \toos.writeObject(newAccount);\r\n\t }\r\n\t finally {\r\n\t \toos.close();\r\n\t }\r\n\t } \r\n\t catch(IOException ex){\r\n\t System.out.println(\"Cannot perform output.\");\r\n\t }\r\n\t\t\r\n\t\treturn newAccount;\r\n\t}",
"public void saveToLocalXML(Context context){\n\n PreferenceManager.getDefaultSharedPreferences(context).edit().putInt(\"Account_amount\",\n this.size()).commit();\n for (int _iter = 0; _iter < AccountManager.getInstance().size(); _iter++) {\n PreferenceManager.getDefaultSharedPreferences(context).edit().putString(\"Account_\" + String.valueOf(_iter),\n this.getAccount(_iter).getName() + separator +\n this.getAccount(_iter).getUsername() + separator +\n this.getAccount(_iter).getPassword() + separator +\n String.valueOf(this.getAccount(_iter).getDepartment())).commit();\n }\n }",
"public void save(Long accountId, MusicData music) throws MusicAppException;",
"@Override\n\tpublic void save(Account userForm) {\n\t\taccount.save(userForm);\n\n\t}",
"public void persist(CallingContext cc ) throws ODKEntityPersistException, ODKOverQuotaException;",
"public void\tsaveAccounts() throws IOException;",
"public\n void\n setAccount(Account account)\n {\n itsAccount = account;\n }",
"private void persistData() {\n mSharedPref.storeLastScreen(SCREEN_NAME);\n }",
"@Override\n\tpublic void saveData()\n\t{\n ssaMain.d1.pin = ssaMain.tmp_pin1;\n ssaMain.d1.balance = ssaMain.tmp_balance1;\n System.out.println(\"Your account has been established successfully.\");\n\t}",
"@Override\r\n\tpublic void persist() {\n\t}",
"private void guardaRecord() {\n // Guardamos el record\n SharedPreferences datos = PreferenceManager.getDefaultSharedPreferences(this);\n SharedPreferences.Editor miEditor = datos.edit();\n miEditor.putInt(\"RECORD\", record);\n miEditor.apply();\n }",
"public void persistLoginState(String email) {\n SharedPreferences sp = getSharedPreferences(SP_NAME, Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = sp.edit();\n editor.putString(SP_USERNAME, email);\n editor.apply();\n }",
"public void saveData(){\n SharedPreferences sharedPreferences = getSharedPreferences(\"SHARED_PREFS\",MODE_PRIVATE);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putString(\"email_pref\",email.getText().toString());\n editor.putString(\"password_pref\",uPassword.getText().toString());\n editor.apply();\n }",
"public SavingAccount()\n\t\t{\n\t\t\tsuper();\n\t\t}",
"public void persist() {\n getBuildContextHolder().persist();\n }",
"void setAccount(final Account account);",
"LoginHistory save(LoginHistory entity);",
"private void saveData() {\n\n SharedPreferences sharedPreferences=getSharedPreferences(\"userInfo\", Context.MODE_PRIVATE);\n SharedPreferences.Editor editor=sharedPreferences.edit();\n\n editor.putString(\"name\",name.getText().toString());\n editor.putString(\"regnum\",regnum.getText().toString());\n editor.putInt(\"count\", count);\n editor.apply();\n\n }",
"public void setAccount(Account account) {\n this.account = account;\n }",
"private void initial(){\n storeAccount(\"201799990001030047\");\n }",
"@Override\n\t\t\tvoid saveInDb(CustomApplicationInfo cai) {\n\t\t\t\tactivitySaveInDb(cai);\n\t\t\t\t\n\t\t\t}",
"public void saveAccount(View view) {\n\t\tdata.setmSearchFilter(data.getmSearchFilterEdit().getText().toString());\n\t\tif(data.getmFirstNameEdit()!= null)\n\t\t{\n\t\t\tdata.setmBaseDN(data.getmBaseDNSpinner().getText().toString());\n\t\t\tdata.setmFirstName((String)data.getmFirstNameEdit().getSelectedItem());\n\t\t\tdata.setmLastName((String)data.getmLastNameEdit().getSelectedItem());\n\t\t\tdata.setmOfficePhone((String)data.getmOfficePhoneEdit().getSelectedItem());\n\t\t\tdata.setmCellPhone((String)data.getmCellPhoneEdit().getSelectedItem());\n\t\t\tdata.setmHomePhone((String)data.getmHomePhoneEdit().getSelectedItem());\n\t\t\tdata.setmEmail((String)data.getmEmailEdit().getSelectedItem());\n\t\t\tdata.setmImage((String)data.getmImageEdit().getSelectedItem());\n\t\t\tdata.setmStreet((String)data.getmStreetEdit().getSelectedItem());\n\t\t\tdata.setmCity((String)data.getmCityEdit().getSelectedItem());\n\t\t\tdata.setmZip((String)data.getmZipEdit().getSelectedItem());\n\t\t\tdata.setmState((String)data.getmStateEdit().getSelectedItem());\n\t\t\tdata.setmCountry((String)data.getmCountryEdit().getSelectedItem());\n\t\t}\n\t\t\n\t\tif (!data.ismConfirmCredentials()) {\n\t\t\tfinishLogin();\n\t\t} else {\n\t\t\tfinishConfirmCredentials(true);\n\t\t}\n\t}",
"public void writeOrUpdateAccount(Account account, String master_key) throws AEADBadTagException {\n encryptedSharedPreferences = getEncryptedSharedPreferences(master_key);\n\n Gson gson = new Gson();\n SharedPreferences.Editor sharedPrefsEditor = encryptedSharedPreferences.edit();\n sharedPrefsEditor.putString(account.getPlatform(), gson.toJson(account));\n sharedPrefsEditor.apply();\n\n Log.d(TAG, \"Update Account(Platform): \" + account.getPlatform());\n }",
"private void saveRegistration() {\n if (hasCorrectDetails()) {\n if (entryPoint != null) {\n switch (entryPoint.getStringExtra(SOURCE)) {\n case MainActivity.ACTIVITY_NAME:\n // Check any change in password? We know mPassword is never null since it's required\n if (!mPassword.equals(mSharedPreferences.getPassWord())) {\n saveUserData();\n startActivity(new Intent(RegisterActivity.this,\n LoginActivity.class)\n .putExtra(SOURCE, RegisterActivity.ACTIVITY_NAME));\n finish();\n } else {\n saveUserData();\n finish();\n }\n break;\n case LoginActivity.ACTIVITY_NAME:\n saveUserData();\n finish();\n break;\n }\n }\n\n }\n }",
"@Override\n\tprotected void onPause() {\n\t\tSharedPreferences.Editor editor = myprefs.edit();\n\t\teditor.putString(\"userN\", userName);\n\t\teditor.putString(\"name\",person_name);\n\t\teditor.commit();\n\t\tsuper.onPause();\n\t}",
"public void saveInfo(View view){\n SharedPreferences sharedPref = getSharedPreferences(\"userinfo\", Context.MODE_PRIVATE);\n\n SharedPreferences.Editor editor = sharedPref.edit();\n editor.putString(\"username\", usernameInput.getText().toString());\n\n editor.apply();\n Toast.makeText(this,\"Saved!\",Toast.LENGTH_LONG).show();\n }",
"public static void persistApn(Context context, Apn apn) {\n PreferenceManager.getDefaultSharedPreferences(context)\n .edit()\n .putString(\"mmsc_url\", apn.mmsc)\n .putString(\"mms_proxy\", apn.proxy)\n .putString(\"mms_port\", apn.port)\n .apply();\n }",
"Account create(Context context);",
"void saveUserData(User user);",
"public void saveInfo(View view){\n SharedPreferences sharedPref = getSharedPreferences(\"userInfo\", Context.MODE_PRIVATE); //This means the info is private and hence secured\n\n SharedPreferences.Editor editor = sharedPref.edit();\n editor.putString(\"username\", usernameInput.getText().toString());\n editor.putString(\"password\", passwordInput.getText().toString());\n editor.apply();\n\n Toast.makeText(this, \"Saved!\", Toast.LENGTH_LONG).show();\n }",
"private void storeUser(User user){\n // instantiate SharedPreferences\n SharedPreferences.Editor editor = mSharedPreferences.edit();\n // stores each attribute in a variable, if attribute is null the editor will clear the corresponding value.\n editor.putString(KEY_USER, user.toJSONString());\n // commit changes\n editor.apply();\n }",
"int save(final PaymentAccountScope scope);",
"public void save() {\n savePrefs();\n }",
"public void storeLogUser(UserModel user)\n {\n\n // convert User object into String\n //convert to string using gson\n String stringUser= gson.toJson(user);\n\n //creating an Editor object ; to Edit(write into the file)\n SharedPreferences.Editor editor = sharedPreferences.edit();\n\n //storing the VoiceMArkerModel object\n editor.putString(\"LogUser\",stringUser);\n\n //apply the changes\n editor.apply();\n }",
"public interface AccountStore {\n boolean insertAccount(String accountId, Account account);\n\n Account getAccount(String accountId);\n}",
"@Override\r\n\tpublic boolean save(AccountBean account) {\r\n\r\n\t\tSession session = factory.openSession();\r\n\t\tTransaction txn = session.getTransaction();\r\n\r\n\t\ttry {\r\n\t\t\ttxn.begin();\r\n\t\t\tsession.save(account);\r\n\t\t\ttxn.commit();\r\n\t\t\treturn true;\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\ttxn.rollback();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}",
"public void save() {\n\t\tpreferences().flush();\n\t}",
"@Override\n\tpublic void createSavingAccount(Account as) {\n\t\ttry {\n\t\t\tConnection con = conUtil.getConnection();\n\t\t\t//To use our functions/procedure we need to turn off autocommit\n\t\t\tcon.setAutoCommit(false);\n\t\t\tString saving = \"insert into savings( owner_id, balance) values (?,?)\";\n\t\t\tCallableStatement chaccount = con.prepareCall(saving);\n\t\t\n\t\t\tchaccount.setInt(1,as.getOwner_id() );\n\t\t\tchaccount.setDouble(2, as.getBalance());\n\t\t\tchaccount.execute();\n\t\t\t\n\t\t\tcon.setAutoCommit(true);\n\t\t\t\n\t\t} catch(SQLException e) {\n\t\t\t\n\t\t\tSystem.out.println(\"In CheckingDaoDB Exception\");\n\t\t\te.printStackTrace();\n\t\t}\n}",
"public void createUserAccount(UserAccount account);",
"@Override\n\tpublic void persist(Object entity) {\n\t\t\n\t}",
"public void save() {\n DataBuffer.saveDataLocally();\n\n //TODO save to db must be done properly\n DataBuffer.save(session);\n\n //TODO recording saved confirmation\n }",
"void addAccount(Accounts account) {\n SQLiteDatabase db = this.getWritableDatabase();\n\n ContentValues values = new ContentValues();\n values.put(KEY_NAME, account.getName());\n values.put(KEY_PASSWORD, account.getPassword());\n values.put(KEY_PH_NO, account.getPhoneNumber());\n values.put(KEY_EMAIL, account.getEmail());\n\n // Inserting Row\n db.insert(TABLE_ACCOUNTS, null, values);\n //2nd argument is String containing nullColumnHack\n db.close(); // Closing database connection\n }",
"void updateAccount(Account account);",
"@Override\n public void onSuccess(final Account account) {\n String accountKitId = account.getId();\n Log.println(Log.ASSERT, \"AccountKit\", \"ID: \" + accountKitId);\n\n boolean SMSLoginMode = false;\n\n // Get phone number\n PhoneNumber phoneNumber = account.getPhoneNumber();\n\n if (phoneNumber != null) {\n phoneNumberString = phoneNumber.toString();\n phone.setText(phoneNumberString.toString());\n Log.println(Log.ASSERT, \"AccountKit\", \"Phone: \" + phoneNumberString);\n SMSLoginMode = true;\n SharedPreferences settings = getSharedPreferences(\"prefs\", 0);\n SharedPreferences.Editor editor = settings.edit();\n editor.putString(\"PHN\", phoneNumberString);\n editor.apply();\n }\n\n\n\n }",
"private void savePreferenceData(String role){\n if (getIntent()!=null){\n SharedPreferences preferences = getSharedPreferences(detailPreference, MODE_PRIVATE);\n SharedPreferences.Editor editor = preferences.edit();\n editor.putString(preferenceKey, role);\n editor.apply();\n }\n }",
"public void saveData(){\n SerializableManager.saveSerializable(this,user,\"userInfo.data\");\n SerializableManager.saveSerializable(this,todayCollectedID,\"todayCollectedCoinID.data\");\n SerializableManager.saveSerializable(this,CollectedCoins,\"collectedCoin.data\");\n uploadUserData uploadUserData = new uploadUserData(this);\n uploadUserData.execute(this.Uid);\n System.out.println(Uid);\n\n }",
"boolean addUserActivityToDB(UserActivity userActivity);",
"public void writeUserInro(String name,String key){\n SharedPreferences user = context.getSharedPreferences(\"user_info\",0);\n SharedPreferences.Editor mydata = user.edit();\n mydata.putString(\"uName\" ,name);\n mydata.putString(\"uKey\",key);\n mydata.commit();\n }",
"protected void finishLogin() {\n\t\tLog.i(TAG, \"finishLogin()\");\n\t\tfinal Account account = new Account(data.getmHost(), Constants.ACCOUNT_TYPE);\n\n\t\tif (data.ismRequestNewAccount()) {\n\t\t\tBundle userData = new Bundle();\n\t\t\tuserData.putString(Constants.PARAM_USERNAME, data.getmUsername());\n\t\t\tuserData.putString(Constants.PARAM_PORT, data.getmPort() + \"\");\n\t\t\tuserData.putString(Constants.PARAM_HOST, data.getmHost());\n\t\t\tuserData.putString(Constants.PARAM_ENCRYPTION, data.getmEncryption() + \"\");\n\t\t\tuserData.putString(Constants.PARAM_SEARCHFILTER, data.getmSearchFilter());\n\t\t\tuserData.putString(Constants.PARAM_BASEDN, data.getmBaseDN());\n\t\t\t// Mappings for LDAP data\n\t\t\tuserData.putString(Constants.PARAM_MAPPING + Contact.FIRSTNAME, data.getmFirstName());\n\t\t\tuserData.putString(Constants.PARAM_MAPPING + Contact.LASTNAME, data.getmLastName());\n\t\t\tuserData.putString(Constants.PARAM_MAPPING + Contact.TELEPHONE, data.getmOfficePhone());\n\t\t\tuserData.putString(Constants.PARAM_MAPPING + Contact.MOBILE, data.getmCellPhone());\n\t\t\tuserData.putString(Constants.PARAM_MAPPING + Contact.HOMEPHONE, data.getmHomePhone());\n\t\t\tuserData.putString(Constants.PARAM_MAPPING + Contact.MAIL, data.getmEmail());\n\t\t\tuserData.putString(Constants.PARAM_MAPPING + Contact.PHOTO, data.getmImage());\n\t\t\tuserData.putString(Constants.PARAM_MAPPING + Contact.STREET, data.getmStreet());\n\t\t\tuserData.putString(Constants.PARAM_MAPPING + Contact.CITY, data.getmCity());\n\t\t\tuserData.putString(Constants.PARAM_MAPPING + Contact.ZIP, data.getmZip());\n\t\t\tuserData.putString(Constants.PARAM_MAPPING + Contact.STATE, data.getmState());\n\t\t\tuserData.putString(Constants.PARAM_MAPPING + Contact.COUNTRY, data.getmCountry());\n\t\t\tdata.getmAccountManager().addAccountExplicitly(account, data.getmPassword(), userData);\n\n\t\t\t// Set contacts sync for this account.\n\t\t\tContentResolver.setSyncAutomatically(account, ContactsContract.AUTHORITY, true);\n\t\t\tContactManager.makeGroupVisible(account.name, getContentResolver());\n\t\t} else {\n\t\t\tdata.getmAccountManager().setPassword(account, data.getmPassword());\n\t\t}\n\t\tfinal Intent intent = new Intent();\n\t\tdata.setmAuthtoken(data.getmPassword());\n\t\tintent.putExtra(AccountManager.KEY_ACCOUNT_NAME, account.name);\n\t\tintent.putExtra(AccountManager.KEY_ACCOUNT_TYPE, Constants.ACCOUNT_TYPE);\n\t\tif (data.getmAuthtokenType() != null && data.getmAuthtokenType().equals(Constants.AUTHTOKEN_TYPE)) {\n\t\t\tintent.putExtra(AccountManager.KEY_AUTHTOKEN, data.getmAuthtoken());\n\t\t}\n\t\tsetAccountAuthenticatorResult(intent.getExtras());\n\t\tsetResult(RESULT_OK, intent);\n\t\tfinish();\n\t}",
"public void persist(CredentialsModel credential) {\n Connection connection = null;\n PreparedStatement stmt = null;\n try {\n try {\n connection = ds.getConnection();\n try {\n stmt = connection.prepareStatement(\n \"INSERT INTO Credentials VALUES (?, ?, ?)\");\n stmt.setInt(1, credential.getEmployee().getEmpNumber());\n stmt.setString(2, credential.getUserName());\n stmt.setString(3, credential.getPassword());\n stmt.executeUpdate();\n } finally {\n if (stmt != null) {\n stmt.close();\n }\n }\n } finally {\n if (connection != null) {\n connection.close();\n }\n }\n } catch (SQLException ex) {\n System.out.println(\"Error in persist \" + credential);\n ex.printStackTrace();\n }\n }",
"public void saveOnClick(View view) {\n final EditText nameET = (EditText) findViewById(R.id.name_et);\n final EditText titleET = (EditText) findViewById(R.id.title_et);\n final EditText emailET = (EditText) findViewById(R.id.email_et);\n final EditText addressET = (EditText) findViewById(R.id.address_et);\n user.setName(nameET.getText().toString());\n user.setTitle(titleET.getText().toString());\n user.setEmailAddress(emailET.getText().toString());\n user.setHomeAddress(addressET.getText().toString());\n\n RegistrationData.editUserData(db, user);\n finish();\n }",
"public void save() {\n super.storageSave(listPedidosAssistencia.toArray());\n }",
"void updateAccount();",
"protected void saveValues() {\n dataModel.persist();\n }",
"public void setAccount(String account) {\n this.account = account;\n }",
"public void setAccount(String account) {\n this.account = account;\n }",
"public void setAccount(String account) {\n this.account = account;\n }",
"public void setAccount(String account) {\n this.account = account;\n }",
"public void Save(){\n\t SharedPreferences prefs = getActivity().getSharedPreferences(MainActivity.SHARED_PREFS_FILE, Context.MODE_PRIVATE);\n\t Editor editor = prefs.edit();\n\t try {\n\t editor.putString(MainActivity.STOCK_LIST_TAG, ObjectSerializer.serialize(list));\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t editor.putFloat(\"balance\", (float) balance);\n\t editor.commit();\n\t}",
"private void addAccount(Account account)\n\t {\n\t\t if(accountExists(account)) return;\n\t\t \n\t\t ContentValues values = new ContentValues();\n\t\t values.put(DatabaseContract.AccountContract.COLUMN_NAME_USERNAME, account.getUsername());\n\t\t values.put(DatabaseContract.AccountContract.COLUMN_NAME_BALANCE, account.getBalance());\n\t\t values.put(DatabaseContract.AccountContract.COLUMN_NAME_AUTH_TOKEN, account.getAuthenticationToken());\n\t\t \n\t\t db.insert(DatabaseContract.AccountContract.TABLE_NAME,\n\t\t\t\t null,\n\t\t\t\t values);\n\t\t \n\t }",
"public void openAccount(Account a) {}",
"@Override\r\n\tpublic AccountType getAccountType() {\n\t\treturn AccountType.SAVING;\r\n\t}",
"@Override\n\tpublic void persist(T obj) throws Exception {\n\t\t\n\t}",
"void saveStorage(StorageEntity storage);",
"@Override\n protected void onSaveInstanceState(Bundle outState) {\n super.onSaveInstanceState(outState);\n outState.putString(EMAIL, emailTyped);\n outState.putString(PASSWORD, passwordTyped);\n outState.putBoolean(SIGN_IN_ENABLED, signInEnabled);\n }",
"public void onClickcreateUserSignup(View view){\n\n String newName = ((EditText)findViewById(R.id.createUserUsername)).getText().toString();\n if(!newName.equals(\"\")) {\n Account.getInstance().setName(newName);\n\n SharedPreferences settings = getSharedPreferences(Utils.ACCOUNT_PREFS, 0);\n SharedPreferences.Editor editor = settings.edit();\n editor.putString(\"accountName\", newName);\n editor.commit();\n\n startActivity(new Intent(this, MainActivity.class));\n }\n }",
"public void saveInfo(View view) {\n SharedPreferences sharedPref = getSharedPreferences(\"userInfo\", Context.MODE_PRIVATE);\n\n SharedPreferences.Editor editor = sharedPref.edit();\n editor.putString(\"username\", usernameInput.getText().toString());\n editor.putString(\"password\", passwordInput.getText().toString());\n editor.apply();\n\n usernameInput.setText(\"\");\n passwordInput.setText(\"\");\n\n Toast.makeText(this, \"Saved!\", Toast.LENGTH_LONG).show();\n }",
"void savePreference(SignUpResponse response);",
"private void updateUserAccount() {\n final UserDetails details = new UserDetails(HomeActivity.this);\n //Get Stored User Account\n final Account user_account = details.getUserAccount();\n //Read Updates from Firebase\n final Database database = new Database(HomeActivity.this);\n DatabaseReference user_ref = database.getUserReference().child(user_account.getUser().getUser_id());\n user_ref.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n //Read Account Balance\n String account_balance = dataSnapshot.child(Database.USER_ACC_BALANCE).getValue().toString();\n //Read Expire date\n String expire_date = dataSnapshot.child(Database.USER_ACC_SUB_EXP_DATE).getValue().toString();\n //Read Bundle Type\n String bundle_type = dataSnapshot.child(Database.USER_BUNDLE_TYPE).getValue().toString();\n //Attach new Values to the Account Object\n user_account.setBalance(Double.parseDouble(account_balance));\n //Attach Expire date\n user_account.setExpire_date(expire_date);\n //Attach Bundle Type\n user_account.setBundle_type(bundle_type);\n //Update Local User Account\n details.updateUserAccount(user_account);\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n //No Implementation\n }\n });\n }",
"protected void saveUser(Context context, String text){\n\n mSharedPreferences = context.getSharedPreferences(USER_DETAILS_PREFS_NAME, Context.MODE_PRIVATE);\n editor = mSharedPreferences.edit();\n\n editor.putString(USER_DETAILS_PREFS_KEY, text);\n\n editor.commit();\n }",
"public void save(){\r\n\t\tmanager.save(this);\r\n\t}",
"Accessprofile save(Accessprofile accessprofile);",
"private void createNewAccount() {\n\n // if user has not provided valid data, do not create an account and return from method\n if (!validateData()) {\n return;\n }\n\n // If flag value is false, that means email provided by user doesn't exists in database\n // so initialize the loader to create a new account\n if (!mEmailExistsFlag) {\n getLoaderManager().initLoader(CREATE_NEW_ACCOUNT_LOADER_ID, null, this);\n } else {\n // If flag is true, that means email provided by user already exists in database\n // so restart the loader and allow user to enter new email address for account\n getLoaderManager().restartLoader(CREATE_NEW_ACCOUNT_LOADER_ID, null, this);\n }\n\n }",
"@Override\r\n\tpublic int save(SpUser t) {\n\t\treturn 0;\r\n\t}",
"@FXML\r\n\tpublic void saveNewAccount( ) {\r\n\t\t// Save user input\r\n\t\tString name = userName.getText( );\r\n\t\tString mail = email.getText( );\r\n\r\n\t\t// Call the to file method to write to data.txt\r\n\t\tUserToFile.toFile(name, pin, mail);\r\n\t\t\r\n\t\t// View the test after the info is saved\r\n\t\tviewTest( );\r\n\t}",
"int updateAccountInfo(Account account);",
"private void saveState() {\n SharedPreferences prefs = getPreferences(MODE_PRIVATE);\n SharedPreferences.Editor editor = prefs.edit();\n\n // Store our count..\n editor.putInt(\"count\", this._tally);\n\n // Save changes\n editor.commit();\n }",
"@SuppressWarnings(\"unchecked\")\n private void saveAccounts() {\n JSONObject output = new JSONObject();\n JSONArray allaccounts = new JSONArray();\n for (Account account: accounts) {\n if (account.getName().equals(pickedAccount.getName())) {\n allaccounts.add(pickedAccount.toJsonObject());\n } else {\n allaccounts.add(account.toJsonObject());\n }\n }\n output.put(\"accounts\", allaccounts);\n\n try {\n FileWriter file = new FileWriter(\"./data/account.json\");\n file.write(output.toJSONString());\n file.flush();\n file.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"public void saveDataToSharedPreference(View view) {\n email = emailEditText.getText().toString();\n name = nameEditText.getText().toString();\n\n SharedPreferences.Editor editor = sharedPreferences.edit();\n\n editor.putString(\"name\",name);\n editor.putString(\"email\",email);\n editor.apply();\n\n Toast.makeText(context, \"Data saved successfully into SharedPreferences!\", Toast.LENGTH_SHORT).show();\n clearText();\n }",
"@Override\n public void insertAccount() throws Exception {\n\n }",
"public JavaaccountModel postaccount(JavaaccountModel oJavaaccountModel){\n\n \t/* Create a new hibernate session and begin the transaction*/\n Session hibernateSession = HibernateUtil.getSessionFactory().openSession();\n Transaction hibernateTransaction = hibernateSession.beginTransaction();\n\n /* Insert the new account to database*/\n int accountId = (Integer) hibernateSession.save(oJavaaccountModel);\n\n /* Commit and terminate the session*/\n hibernateTransaction.commit();\n hibernateSession.close();\n\n /* Return the JavaaccountModel with updated accountId*/\n oJavaaccountModel.setaccountId(accountId);\n return oJavaaccountModel;\n }",
"@Override\n protected void onPause() {\n super.onPause();\n\n SharedPreferences.Editor preferencesEditor = mPreferences.edit();\n preferencesEditor.putString(FULLNAME_KEY, myFullname);\n preferencesEditor.apply();\n }",
"public void writeUserLog(String name){\n SharedPreferences user = context.getSharedPreferences(\"user_info\",0);\n SharedPreferences.Editor mydata = user.edit();\n mydata.putString(\"userlist\" ,name);\n mydata.commit();\n }",
"@Override\n public void saveUser(User user) {\n }",
"@Override\n protected void onCompleted(User result) {\n mSession.storeAccessToken(result.getAccessToken(), result.getId(), result.getUsername(),\n result.getFullName());\n \n // Notify caller application\n callback.notifyCompleted();\n }",
"public void saveData() {\n try {\n JsonWriter jw = new JsonWriter(openFileOutput(DATA_FILE, Context.MODE_PRIVATE));\n jw.write(user);\n jw.close();\n } catch(Exception e) {\n Log.i(\"Exception :\", e.toString());\n }\n }"
]
| [
"0.743104",
"0.7423402",
"0.7219852",
"0.70818704",
"0.6967659",
"0.6936646",
"0.68820655",
"0.6849296",
"0.66436535",
"0.64427716",
"0.63861364",
"0.63587326",
"0.6340396",
"0.6339273",
"0.63241094",
"0.63132024",
"0.6304263",
"0.62997204",
"0.6178042",
"0.61621296",
"0.614421",
"0.6113157",
"0.6109625",
"0.61086655",
"0.6108189",
"0.60867316",
"0.60847956",
"0.6080568",
"0.60707086",
"0.60630584",
"0.6056115",
"0.6027099",
"0.6027005",
"0.6016149",
"0.6006377",
"0.59790033",
"0.59684205",
"0.5967312",
"0.5957039",
"0.59533393",
"0.5950233",
"0.59499484",
"0.5943722",
"0.59278214",
"0.59228396",
"0.5922372",
"0.5892111",
"0.58884037",
"0.5885977",
"0.5879505",
"0.5870958",
"0.5853759",
"0.585277",
"0.5852728",
"0.58487",
"0.58449066",
"0.5840834",
"0.58335567",
"0.58195704",
"0.580076",
"0.57911605",
"0.57794446",
"0.5778719",
"0.5773735",
"0.57602566",
"0.5756307",
"0.57551354",
"0.57527846",
"0.5739719",
"0.57372427",
"0.57372427",
"0.57372427",
"0.57372427",
"0.5732217",
"0.57310736",
"0.5723201",
"0.57075423",
"0.5700519",
"0.5698871",
"0.5698666",
"0.56907874",
"0.56901693",
"0.56861055",
"0.5683107",
"0.5682795",
"0.56796575",
"0.5668865",
"0.56685257",
"0.5667685",
"0.5657463",
"0.5656276",
"0.5654358",
"0.56477165",
"0.5642898",
"0.56412107",
"0.563646",
"0.562897",
"0.56283253",
"0.5627907",
"0.5627891",
"0.5627093"
]
| 0.0 | -1 |
option 1 this will direct user to the Gallery chooser (the library to choose images) | @Override
public void onClick(View v) {
Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(Intent.createChooser(intent, "SELECT IMAGE"), GALLERY_PICK);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void showGalleryChooser() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select Picture\"), PICK_IMAGE_REQUEST);\n }",
"public void opengallery() {\n Intent gallery = new Intent();\n gallery.setType(\"image/*\");\n gallery.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(getIntent().createChooser(gallery, \"Choose image\"), PICK_IMAGE);\n\n }",
"private void choseImage() {\n Intent intent = new Intent(Intent.ACTION_GET_CONTENT);\n intent.setType(\"image/*\");\n\n if (intent.resolveActivity(getPackageManager()) != null) {\n startActivityForResult(intent, GALLERY_REQ_CODE);\n } else {\n Toast.makeText(this, R.string.no_image_picker, Toast.LENGTH_SHORT).show();\n }\n }",
"public void gallery(View view) {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select Picture\"), REQUEST_IMAGE_GALLERY);\n\n\n }",
"public void showImageChooser() {\n Intent intent2 = new Intent();\n intent2.setType(\"image/*\");\n intent2.setAction(\"android.intent.action.GET_CONTENT\");\n startActivityForResult(Intent.createChooser(intent2, \"Select Picture\"), PICK_IMAGE_REQUEST);\n }",
"private void selectImage(){\n final CharSequence[] options = { \"Choose from Gallery\",\"Cancel\" };\n AlertDialog.Builder builder = new AlertDialog.Builder(activity);\n builder.setItems(options, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int item) {\n if (options[item].equals(\"Choose from Gallery\"))\n {\n Intent intent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);\n startActivityForResult(intent, 2);\n }\n else if (options[item].equals(\"Cancel\")) {\n dialog.dismiss();\n }\n }\n });\n builder.show();\n }",
"private void selectImageFromGallery() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, getString(R.string.select_picture)),\n REQUEST_IMAGE_OPEN);\n }",
"void imageChooser() {\n\n\n Intent i = new Intent();\n i.setType(\"image/*\");\n i.setAction(Intent.ACTION_GET_CONTENT);\n\n\n startActivityForResult(Intent.createChooser(i, \"Select Picture\"), SELECT_PICTURE);\n }",
"private void OpenGallery() {\n Intent pickImage = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n startActivityForResult(pickImage, RequestCode);\n }",
"private void pickFromGallery() {\n Intent intent = new Intent(Intent.ACTION_PICK);\r\n // Sets the type as image/*. This ensures only components of type image are selected\r\n intent.setType(\"image/*\");\r\n //We pass an extra array with the accepted mime types. This will ensure only components with these MIME types as targeted.\r\n String[] mimeTypes = {\"image/jpeg\", \"image/png\"};\r\n intent.putExtra(Intent.EXTRA_MIME_TYPES, mimeTypes);\r\n // Launching the Intent\r\n startActivityForResult(intent, 0);\r\n }",
"private void selectOptionOfPicture() {\n final CharSequence[] options = { \"Take Photo\", \"Choose from Gallery\",\"Cancel\" };\n AlertDialog.Builder builder = new AlertDialog.Builder(view.getContext());\n builder.setTitle(\"Add Photo!\");\n builder.setItems(options, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int item) {\n if (options[item].equals(\"Take Photo\"))\n {\n Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);\n startActivityForResult(intent, 1);\n }\n else if (options[item].equals(\"Choose from Gallery\"))\n {\n Intent intent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.INTERNAL_CONTENT_URI);\n startActivityForResult(intent, 2);\n }\n else if (options[item].equals(\"Cancel\")) {\n dialog.dismiss();\n }\n }\n });\n builder.show();\n }",
"private void openFileChoose() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(intent, PEGA_IMAGEM);\n }",
"private void openGallery() {\n Intent gallery = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.INTERNAL_CONTENT_URI);\n startActivityForResult(gallery, REQUEST_IMAGE_SELECT);\n }",
"public void call1()\n\t{\n\t\tIntent intent = new Intent();\n\t\tintent.setType(\"image/*\");\n\t\tintent.setAction(Intent.ACTION_GET_CONTENT);\n\t\tstartActivityForResult(Intent.createChooser(intent,\n\t\t\t\t\"Select Picture\"), SELECT_PICTURE);\n\n\n\t}",
"protected void startGallery() {\n Intent photoPickerIntent = new Intent(Intent.ACTION_PICK,\n android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n photoPickerIntent.setType(\"image/*\");\n startActivityForResult(photoPickerIntent, GALLERY_REQUEST);\n\n }",
"private void pickImageFromGallery() {\n Intent intent = new Intent(Intent.ACTION_PICK);\n intent.setType(\"image/*\");\n startActivityForResult(intent, IMAGE_PICK_CODE);\n\n }",
"private void selectImage() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(\n Intent.createChooser(\n intent,\n \"Select Image from here...\"),\n PICK_IMAGE_REQUEST);\n }",
"private void showImageChooser() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select Profile Image\"), CHOOSE_IMAGE);\n }",
"private void pickFromGallery(){\n Intent intent=new Intent(Intent.ACTION_PICK);\n // Sets the type as image/*. This ensures only components of type image are selected\n intent.setType(\"image/*\");\n //We pass an extra array with the accepted mime types. This will ensure only components with these MIME types as targeted.\n String[] mimeTypes = {\"image/jpeg\", \"image/png\"};\n intent.putExtra(Intent.EXTRA_MIME_TYPES,mimeTypes);\n // Launching the Intent\n startActivityForResult(intent,GALLERY_REQUEST_CODE);\n }",
"private void pickFromGallery(){\n Intent intent=new Intent(Intent.ACTION_PICK);\n // Sets the type as image/*. This ensures only components of type image are selected\n intent.setType(\"image/*\");\n //We pass an extra array with the accepted mime types. This will ensure only components with these MIME types as targeted.\n String[] mimeTypes = {\"image/jpeg\", \"image/png\"};\n intent.putExtra(Intent.EXTRA_MIME_TYPES,mimeTypes);\n // Launching the Intent\n startActivityForResult(intent,GALLERY_REQUEST_CODE);\n }",
"private void pickFromGallery(){\n Intent intent=new Intent(Intent.ACTION_PICK);\n // Sets the type as image/*. This ensures only components of type image are selected\n intent.setType(\"image/*\");\n //We pass an extra array with the accepted mime types. This will ensure only components with these MIME types as targeted.\n String[] mimeTypes = {\"image/jpeg\", \"image/png\"};\n intent.putExtra(Intent.EXTRA_MIME_TYPES,mimeTypes);\n // Launching the Intent\n startActivityForResult(intent,1);\n }",
"@Override\n public void onClick(View v) {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n ((MainActivity) getActivity()).startActivityForResult(\n Intent.createChooser(intent, \"Select Picture\"),\n MainActivity.GALLERY_CODE);\n\n }",
"@Override\n\t\tpublic void onClick(View v) { Intent galleryIntent = new Intent(Intent.ACTION_PICK,\n\t\t\t\t\tandroid.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n\n\t\t\t// Start the Intent\n\t\t\tstartActivityForResult(\n\t\t\t\t\tIntent.createChooser(galleryIntent, \"Select Picture\"), REQUEST_CODE);\n\t\t}",
"public void onClick(View arg0) {\n Intent intent = new Intent();\r\n intent.setType(\"image/*\");\r\n intent.setAction(Intent.ACTION_GET_CONTENT);\r\n startActivityForResult(Intent.createChooser(intent,\r\n \"Select Picture\"), SELECT_PICTURE);\r\n }",
"private void showChoosePictureDialog() {\n String[] permissions = PermissionConstants.checkIfPermissionsAreGranted(this,\n PermissionConstants.READ_STORAGE, PermissionConstants.WRITE_STORGAE,\n PermissionConstants.CAMERA);\n if(permissions.length > 0) {\n PermissionConstants.askForPermissions(this, PERMISSIONS_REQUEST, permissions);\n } else {\n EasyImage.openChooserWithGallery(this, \"\", 0);\n }\n }",
"@Override\n public void imageFromGallery() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select picture\"), PICK_IMAGE);\n }",
"private void chooseDialog() {\n CharSequence menu[] = new CharSequence[]{\"Take From Galery\", \"Open Camera\"};\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setTitle(\"Pick a Picture\");\n builder.setItems(menu, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n if (i == 0) {\n gallery();\n } else {\n takePicture();\n }\n }\n });\n builder.show();\n\n }",
"@Override\n public void onClick(View v) {\n\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true);\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select Picture\"), 1);\n\n }",
"public void choosePicture() {\n\n Intent intent = new Intent();\n intent.setType(\"image/*\"); //inserting all images inside this Image folder\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(intent, 1);\n\n }",
"@Override\n public void onClick(View view) {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n\n startActivityForResult(Intent.createChooser(intent,\"Choose an app to select a image\"), 1);\n }",
"void imageChooser() {\n\n // create an instance of the\n // intent of the type image\n Intent i = new Intent();\n i.setType(\"image/*\");\n i.setAction(Intent.ACTION_GET_CONTENT);\n\n\n // pass the constant to compare it\n // with the returned requestCode\n startActivityForResult(Intent.createChooser(i, \"Select Picture\"), SELECT_PICTURE);\n }",
"private void pickFromGallery() {\n\n Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);\n intent.addCategory(Intent.CATEGORY_OPENABLE);\n intent.setType(\"*/*\");\n\n intent.setType(\"image/*\");\n\n //We pass an extra array with the accepted mime types. This will ensure only components with these MIME types as targeted.\n String[] mimeTypes = {\"image/jpeg\", \"image/png\",\"image/jpg\"};\n intent.putExtra(Intent.EXTRA_MIME_TYPES,mimeTypes);\n // Launching the Intent\n startActivityForResult(intent,GALLERY_REQUEST_CODE);\n }",
"private void showFileChooser() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select Picture\"), PICK_IMAGE_REQUEST);\n }",
"private void showFileChooser() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select Picture\"), PICK_IMAGE_REQUEST);\n }",
"private void openGallery(){\n Intent gallery = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.INTERNAL_CONTENT_URI);\n startActivityForResult(gallery, PICK_IMAGE);\n }",
"private void showFileChooser() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select Picture\"), 234);\n }",
"public void OpenGallery(){\n Intent gallery = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n startActivityForResult(gallery, PICK_IMAGE);\n }",
"@Override\n public void onClick(View view) {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select Picture\"), REQUEST_IMAGE);\n }",
"@Override\n public void onClick(View v) {\n\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent,\n \"Select Picture\"), IMG_RESULT);\n\n }",
"private void galleryIntent()\r\n {\r\nIntent gallery=new Intent();\r\ngallery.setType(\"image/*\");\r\ngallery.setAction(Intent.ACTION_GET_CONTENT);\r\n\r\nstartActivityForResult(Intent.createChooser(gallery,\"Select Picture \"),PICK_IMAGE );\r\n }",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\t dia.dismiss();\n\t\t\t\tIntent intent = new Intent( Intent.ACTION_PICK,android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n\t\t\t\t startActivityForResult(intent, 1);\n\t\t\t\t\n\t\t\t}",
"private void showFileChooser() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select Picture\"), PICK_IMAGE_REQUEST);\n }",
"private void openGallery() {\n\n Intent galleryIntent = new Intent(Intent.ACTION_GET_CONTENT);\n galleryIntent.setType(\"image/*\");\n startActivityForResult(galleryIntent, REQUESCODE);\n }",
"private void openGallery() {\n\n Intent galleryIntent = new Intent(Intent.ACTION_GET_CONTENT);\n galleryIntent.setType(\"image/*\");\n startActivityForResult(galleryIntent, REQUESCODE);\n }",
"@Override\n public void onClick(View view) {\n Intent gallery_intent=new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n startActivityForResult(gallery_intent,RESULT_LOAD_IMAGE);//Paasing intentobject and an integer value\n\n }",
"@Override\n public void onClick(View view) {\n Intent intent=new Intent(Intent.ACTION_PICK);\n // Sets the type as image/*. This ensures only components of type image are selected\n intent.setType(\"image/*\");\n //We pass an extra array with the accepted mime types. This will ensure only components with these MIME types as targeted.\n String[] mimeTypes = {\"image/jpeg\", \"image/png\"};\n intent.putExtra(Intent.EXTRA_MIME_TYPES,mimeTypes);\n // Launching the Intent\n startActivityForResult(intent,1);\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_PICK, null);\n\n\t\t\t\tintent.setDataAndType(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, \"image/*\");\n\t\t\t\tstartActivityForResult(intent, 1);\n\t\t\t\tmenu_mine.setVisibility(View.GONE);\n\t\t\t}",
"private void showImagePickDialog() {\n String[] options = {\"Camera\", \"Gallery\"};\n //dialog\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setTitle(\"Pick Image\")\n .setItems(options, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n if (which == 0) {\n //Camera Clicked\n if (checkCameraPermission()) {\n // cameraPermission allowed\n pickFromCamera();\n } else {\n // cameraPermission not allowed, request\n requestCameraPermission();\n }\n } else {\n //Gallery Clicked\n if (checkStoragePermission()) {\n // Storage Permission allowed\n pickFromGallery();\n } else {\n // Storage Permission not allowed, request\n requestStoragePermission();\n\n }\n\n }\n }\n }).show();\n }",
"@Override\n public void onClick(View v) {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent,\n \"Select Picture\"), SELECT_PICTURE);\n }",
"@OnClick(R.id.gallery_button)\n protected void onPickFromGaleryClicked() {\n EasyImage.openGallery(this);\n }",
"@Override\n public void onClick(View v) {\n Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);\n photoPickerIntent.setType(\"image/*\");\n startActivityForResult(photoPickerIntent, SELECT_PHOTO);\n }",
"private void openFileChooser() {\n Intent imageIntent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n imageIntent.setType(\"image/*\");\n startActivityForResult(imageIntent, GALLERY_REQUEST);\n }",
"private void chooseImageAndUpload() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select Picture\"), Common.PICK_IMAGE_REQUEST);\n\n }",
"@Override\n public void onClick(View v) {\n Intent photoPickerIntent = new Intent();\n photoPickerIntent.setType(\"image/*\");\n photoPickerIntent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(photoPickerIntent, GALLERY_REQUEST);\n }",
"public void onImageGalleryClicked(View v){\n //invoke the image gallery using an implicit intent\n Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);\n\n //decides where to store pictures\n File pictureDirectory = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);\n String pictureDirectoryPath = pictureDirectory.getPath();\n\n //gets URI representation\n Uri data = Uri.parse(pictureDirectoryPath);\n\n //sets the data and type of media to look for\n photoPickerIntent.setDataAndType(data,\"image/*\");\n startActivityForResult(photoPickerIntent, Image_Gallery_Request);\n }",
"private void selectImage() {\n final CharSequence[] items = {\"Take Photo\", \"Choose from Library\",\n \"Cancel\"};\n\n AlertDialog.Builder builder = new AlertDialog.Builder(Timetable.this);\n builder.setTitle(\"Add Photo!\");\n builder.setItems(items, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int item) {\n if (items[item].equals(\"Take Photo\")) {\n Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);\n startActivityForResult(intent, REQUEST_CAMERA);\n } else if (items[item].equals(\"Choose from Library\")) {\n Intent intent = new Intent(\n Intent.ACTION_PICK,\n android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n intent.setType(\"image/*\");\n startActivityForResult(\n Intent.createChooser(intent, \"Select File\"),\n SELECT_FILE);\n } else if (items[item].equals(\"Cancel\")) {\n dialog.dismiss();\n }\n }\n });\n builder.show();\n }",
"private void imagePic(){\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select Picture\"),1);\n\n }",
"private void select_image() {\n\n final CharSequence[] items = {\"Camera\", \"Gallery\", \"Cancel\"};\n\n AlertDialog.Builder builder = new AlertDialog.Builder(step4.this);\n builder.setTitle(\"Add Image\");\n builder.setItems(items, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface DialogInterface, int i) {\n if (items[i].equals(\"Camera\")) {\n\n Intent camera = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);\n if (ActivityCompat.checkSelfPermission(step4.this, Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED) {\n Toast.makeText(getApplicationContext(), \"Please grant permission to access Camera\", Toast.LENGTH_LONG).show();\n ActivityCompat.requestPermissions(step4.this, new String[]{Manifest.permission.CAMERA}, 1);\n startActivityForResult(camera,REQUEST_CAMERA);\n\n } else {\n startActivityForResult(camera,REQUEST_CAMERA);\n\n }\n\n\n\n } else if (items[i].equals(\"Gallery\")) {\n\n Intent gallery = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n gallery.setType(\"image/*\");\n startActivityForResult(gallery, select_file);\n\n\n } else if (items[i].equals(\"Cancel\")) {\n\n DialogInterface.dismiss();\n\n\n }\n }\n\n\n });\n builder.show();\n }",
"@Override\n public void onClick(DialogInterface dialog, int which) {\n if (options[which].equals(\"Take Photo\")) {\n\n checkAndroidVersion();\n\n\n } else if (options[which].equals(\"Choose from Gallery\")) {\n Intent intent1 = new Intent(Intent.ACTION_OPEN_DOCUMENT);\n intent1.addCategory(Intent.CATEGORY_OPENABLE);\n intent1.setType(\"image/*\");\n startActivityForResult(intent1, REQUEST_OPEN_RESULT_CODE);\n\n }\n// else if(options[which].equals(\"Cancel\"))\n// {\n// dialog.dismiss();\n// }\n\n }",
"@Override\n public void onClick(View v) {\n Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);\n //Where do we want to find the data\n File pictureDirectory = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);\n //Get the name of the directory\n String pictureDirectoryPath = pictureDirectory.getPath();\n //Get a URI representation of the Path because this is what android needs to deal with\n Uri data = Uri.parse(pictureDirectoryPath);\n //Set the data (where we want to look for this media) and the type (what media do we want to look for).Get all image types\n photoPickerIntent.setDataAndType(data, \"image/*\");\n //We invoke the image gallery and receive something from it\n if (photoPickerIntent.resolveActivity(getPackageManager()) != null) {\n startActivityForResult(photoPickerIntent, IMAGE_GALLERY_REQUEST);\n }\n\n }",
"public void mostrarGaleria(View view) {\n Intent i=new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n startActivityForResult(i,GALERIA);\n }",
"@Override\n public void onClick(View view) {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, getString(R.string.photo_selector)), RESULT_PHOTO_OK);\n }",
"@Override\n public void onClick(View view) {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, getString(R.string.photo_selector)), RESULT_PHOTO_OK);\n }",
"public void sendIntentToGallery() {\n\t\tIntent i = new Intent(\n\t\t\t\tIntent.ACTION_PICK,\n\t\t\t\tandroid.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n\n\t\t// Send the intent with id 1\n\t\tstartActivityForResult(i, 1);\n\t}",
"@Override\n public void onClick(View v) {\n Intent intent = new Intent(Intent.ACTION_PICK);\n intent.setType(\"image/*\");\n // the one is the number attached to the intent\n //it capture the number and goes with the result\n startActivityForResult(intent,1);\n }",
"public void toGallery() {\n Log.d(TAG, \"toGallery: \");\n Intent pictureFromGalleryIntent = new Intent(Intent.ACTION_PICK);\n pictureFromGalleryIntent.setType(\"image/*\");\n startActivityForResult(pictureFromGalleryIntent, GALLERY_REQ);\n }",
"private void dispatchGalleryIntent() {\n Intent pickPhoto = new Intent(Intent.ACTION_PICK,\n MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n pickPhoto.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);\n startActivityForResult(pickPhoto, REQUEST_CHOOSE_PHOTO_NUM);\n }",
"public void onImageClick(View view) {\n Intent photo_picker = new Intent(Intent.ACTION_PICK,\n android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n photo_picker.setType(\"image/jpeg\");\n startActivityForResult(photo_picker,PHOTO_PICK);\n }",
"@Override\n public void onClick(View v) {\n\n Intent intent = new Intent( Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n intent.setType(\"image/*\");\n startActivityForResult(Intent.createChooser(intent, \"Select File\"), 1);\n }",
"@Override\n public void onClick(View v) {\n\n Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);\n photoPickerIntent.setType(\"image/*\");\n startActivityForResult(photoPickerIntent, TAKE_PICTURE);\n dialog.dismiss();\n }",
"public void selectImage(View view){\n Intent intent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.INTERNAL_CONTENT_URI);\n startActivityForResult(intent,PICK_IMAGE);\n }",
"private void galleryIntent() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);//\n startActivityForResult(Intent.createChooser(intent, \"Select Photo\"), SELECT_PHOTO);\n }",
"@Override\n public void onClick(View v) {\n\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n Intent pickIntent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n pickIntent.setType(\"image/*\");\n Intent chooserIntent = Intent.createChooser(intent, \"Select Image\");\n chooserIntent.putExtra(Intent.EXTRA_INITIAL_INTENTS, new Intent[] {pickIntent});\n startActivityForResult(chooserIntent,PICK_IMAGE_REQUEST);\n }",
"public void loadImagefromGallery(View view) {\n Intent galleryIntent = new Intent(Intent.ACTION_PICK,\n android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n // Start the Intent\n startActivityForResult(galleryIntent, RESULT_LOAD_IMG);\n\n }",
"public void onLaunchSelect() {\n Intent intent = new Intent(Intent.ACTION_PICK,\n MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n\n\n // If you call startActivityForResult() using an intent that no app can handle, your app will crash.\n // So as long as the result is not null, it's safe to use the intent.\n if (intent.resolveActivity(getPackageManager()) != null) {\n // Bring up gallery to select a photo\n startActivityForResult(intent, SELECT_IMAGE_REQUEST_CODE);\n }\n }",
"@Override\n public void onClick(View v) {\n Intent i = new Intent(\n Intent.ACTION_PICK,\n android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n startActivityForResult(i, SELECTED_PICTURE);\n }",
"private void galleryIntent() {\n Intent intent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n intent.setType(\"image/*\");\n ((MessageActivity) context).startActivityForResult(Intent.createChooser(intent,\n \"Select Picture\"), SELECT_PICTURE);\n\n }",
"public void openGallery(){\n Intent intentImg=new Intent(Intent.ACTION_GET_CONTENT);\n intentImg.setType(\"image/*\");\n startActivityForResult(intentImg,200);\n }",
"private void showImagePickDialog() {\n String[] options = {\"Camera\",\"Gallery\"};\n //dialog\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setTitle(\"Pick Image\")\n .setItems(options, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n if (which == 0){\n //camera clicked\n if (checkCameraPermission()){\n //camera permission allowed\n pickFromCamera();\n }\n else {\n //not allowed ,request\n requestCameraPermission();\n\n }\n }\n else {\n //gallery clicked\n if (checkStoragePermission()){\n //storage permission allowed\n pickFromGallery();\n\n }\n else {\n //not allowed,request\n requestStoragePermission();\n\n }\n }\n }\n })\n .show();\n }",
"public void changePic(View v){\n //Intent gallery = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.INTERNAL_CONTENT_URI);\n //startActivityForResult(gallery,PICK_IMAGE);\n new AlertDialog.Builder(ProfileModify.this)\n .setIcon(android.R.drawable.ic_dialog_alert)\n .setTitle(\"Choose\")\n .setItems(Choose, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n if(which == 0) {\n Intent iGallery = new Intent(Intent.ACTION_PICK,MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n startActivityForResult(iGallery,PICK_GALLERY);\n }\n else {\n Intent iCamera = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);\n if(iCamera.resolveActivity(getPackageManager()) != null){\n startActivityForResult(iCamera,REQUEST_IMAGE_CAPTURE);\n }\n }\n }\n }).create().show();\n }",
"private void selectImage() {\n final CharSequence[] options = { \"Take Photo\", \"Choose from Gallery\",\"Cancel\" };\n AlertDialog.Builder builder = new AlertDialog.Builder(EventsActivity.this);\n\n builder.setTitle(\"Search Events By Photo\");\n\n builder.setItems(options, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int item) {\n if(options[item].equals(\"Take Photo\")){\n Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);\n if (intent.resolveActivity(getPackageManager()) != null) {\n File photoFile = null;\n try {\n photoFile = createImageFile();\n } catch (IOException ex) {\n\n }\n if (photoFile != null) {\n Uri photoURI = FileProvider.getUriForFile(context,\n \"com.example.android.fileprovider\",\n photoFile);\n intent.putExtra(MediaStore.EXTRA_OUTPUT, photoURI);\n startActivityForResult(intent, 1);\n }\n }\n }\n else if(options[item].equals(\"Choose from Gallery\")) {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select File\"),2);\n }\n else if(options[item].equals(\"Cancel\")) {\n dialog.dismiss();\n }\n }\n });\n builder.show();\n }",
"public void clickPickImage(View view) {\n Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);\n photoPickerIntent.setType(\"image/*\");\n startActivityForResult(photoPickerIntent, 10);\n }",
"private void openFileChooser() {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(intent, PICK_IMAGE_REQUEST);\n\n }",
"public void loadImagefromGallery(View view) {\n Intent galleryIntent = new Intent(Intent.ACTION_PICK,\n MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n // Start the Intent\n startActivityForResult(galleryIntent, RESULT_LOAD_IMG);\n }",
"public void pickFromGallery(View view) {\n //Create an Intent with action as ACTION_OPEN_DOCUMENT\n Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);\n\n /*\n Make sure that the user has given storage permissions.\n Note that granting the WRITE_EXTERNAL_STORAGE permission automatically grants the\n READ_EXTERNAL_STORAGE permission.\n */\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) {\n Log.d(TAG, \"Write storage permission denied\");\n\n // If permission is denied, ask for permission.\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE},\n MY_PERMISSIONS_REQUEST_WRITE_STORAGE);\n }\n else {\n // Sets the type as image/*. This ensures only components of type image are selected\n intent.setType(\"image/*\");\n //We pass an extra array with the accepted mime types. This will ensure only components with these MIME types as targeted.\n String[] mimeTypes = {\"image/jpeg\", \"image/png\"};\n intent.putExtra(Intent.EXTRA_MIME_TYPES, mimeTypes);\n // Launching the Intent\n startActivityForResult(intent, GALLERY_REQUEST_CODE);\n }\n }",
"@Override\n public void onClick(View v) {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n // image k selection k liey requesting code jo hai upar vo 1234 hai ye dena hota hai\n startActivityForResult(Intent.createChooser(intent, \"Select Image\"), REQUEST_CODE);\n }",
"@Override\n public void onClick(View v) {\n Intent i = new Intent(\n Intent.ACTION_PICK,\n android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n startActivityForResult(i , RESULT_LOAD_IMAGE);\n\n\n }",
"@Override\n public void onClick(View v) {\n Intent i = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n\n startActivityForResult(i, RESULT_LOAD_IMAGE);\n }",
"@Override\n public void onClick(DialogInterface dialog, int item) {\n if (options[item].equals(\"Take Photo\")) {\n Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);\n startActivityForResult(intent, 0);\n } else if (options[item].equals(\"Choose from Library\")) {\n Intent intent = new Intent(\n Intent.ACTION_PICK,\n android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n intent.setType(\"image/*\");\n startActivityForResult(\n Intent.createChooser(intent, \"Select File\"),\n 1);\n } else if (options[item].equals(\"Cancel\")) {\n dialog.dismiss();\n }\n }",
"@Override\n \tprotected void onActivityResult(int requestCode, int resultCode, Intent data) {\n \t\tif (resultCode == MAIN_MENU_PREFERENCE_RESULT_CODE) {\n \t\t\tsetupGallery();\n \t\t}\n \n \t}",
"@Override\n public void onClick(View v) {\n\n ((CreateDocketActivityPart2) activity).openGalleryForPickingImage(position);\n }",
"@Override\n public void onClick(View v) {\n Intent camIntent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n\n camIntent.setType(\"image/*\");\n startActivityForResult(camIntent,CAMERA_REQUEST);\n }",
"public void startImageSwitch() {\n Intent intent = new Intent(this, AlbumCompatActivity.class);\r\n intent.putExtra(AlbumCompatActivity.CHOOSE_MODE, AlbumCompatActivity.CHOOSE_MODE_SECTION); // ImageUtil.getPathForUpload(mImageKey).getAbsolutePath()\r\n intent.putExtra(AlbumCompatActivity.K_ALBUM_RST_COUNT, 5);\r\n startActivityForResult(intent, SELECT_IMAGE_COMPLETE);\r\n }",
"@Override\r\n\t\t\tpublic boolean onLongClick(View v) {\n\t\t\t\tIntent galleryIntent = new Intent(Intent.ACTION_PICK);\r\n\t\t\t\tgalleryIntent.setType(\"image/*\");\r\n\t\t\t\tstartActivityForResult(Intent.createChooser(galleryIntent, \"Choose your Avatar\"), TAKE_AVATAR_GALLERY_REQUEST);\r\n\t\t\t\treturn true;\r\n\t\t\t}",
"private static void openImageMenu(OrganizedImage image, int index)\n {\n\t// True if the 'Back to 'Browse organized images' menu...' option has been selected.\n\tboolean backToBrowseOrganized = false;\n\n\twhile(!backToBrowseOrganized)\n\t {\n\t\tSystem.out.println(\"\");\n\t\tSystem.out.println(\">>Main>Browse organized images>Open image:\");\n\t\tSystem.out.println(\"\");\n\t\tSystem.out.println(\"1: View image.\");\n\t\tSystem.out.println(\"2: Image options...\");\n\t\tSystem.out.println(\"3: Back to 'Browse organized images' menu...\");\n\t\tSystem.out.println(\"\");\n\t\tSystem.out.print(\"\\t>> \");\n\t\t\n\t\tswitch(getUserOption())\n\t\t {\n\t\t case(1):\n\t\t\timage.view();\n\t\t\tbreak;\n\t\t case(2):\n\t\t\timageOptionsMenu(image, index);\n\t\t\tbreak;\n\t\t case(3):\n\t\t\tbackToBrowseOrganized = true;\n\t\t\tbreak;\n\t\t default:\n\t\t\tSystem.out.println(\"That was not a valid option, please try again:\");\n\t\t }\n\t }\n }",
"@Override\n\t\t\t\t\t\tpublic void onClick(View arg0) {\n\t\t\t\t\t\t\topenGallery(5);\n\t\t\t\t\t\t}",
"@Override\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\tLog.e(\"open gallery\", \"opencamera\");\n\n\t\t\t\t\topenImagechooseAlertDialog();\n\t\t\t\t}",
"@Override\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\tLog.e(\"open gallery\", \"opencamera\");\n\n\t\t\t\t\topenImagechooseAlertDialog();\n\t\t\t\t}",
"public void getImage(View view)\n {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select Picture\"), PICK_IMAGE);\n\n }",
"protected void mCertificateImageSelection() {\n final CharSequence[] options = {\"Camera\", \"Gallery\", \"Cancel\"};\n\n AlertDialog.Builder builder = new AlertDialog.Builder(new ContextThemeWrapper\n (ApplicationActivity.this, R.style.AlertDialogCustom));\n\n builder.setIcon(R.mipmap.birth_icon);\n builder.setTitle(\"Birth Certificate\");\n builder.setItems(options, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int item) {\n\n //Camera Option\n if (options[item].equals(\"Camera\")) {\n Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);\n startActivityForResult(intent, CAMERA_REQUEST_1);\n }\n\n //Gallery Option\n else if (options[item].equals(\"Gallery\")) {\n Intent intent = new Intent(Intent.ACTION_PICK,\n android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n intent.setType(\"image/*\");\n startActivityForResult(intent, GALLERY_REQUEST_1);\n }\n\n //Cancel Option\n else if (options[item].equals(\"Cancel\")) {\n dialog.dismiss();\n }\n }\n });\n\n builder.show();\n }"
]
| [
"0.81329393",
"0.77003354",
"0.7594392",
"0.75814134",
"0.7570556",
"0.7545307",
"0.75446993",
"0.750812",
"0.7428125",
"0.7420231",
"0.7415804",
"0.74147236",
"0.74122936",
"0.7389019",
"0.73697525",
"0.7365792",
"0.735613",
"0.73462605",
"0.7324593",
"0.7324593",
"0.7318692",
"0.7314377",
"0.7313807",
"0.7312809",
"0.7307429",
"0.73012364",
"0.7284204",
"0.7282553",
"0.7282205",
"0.72729194",
"0.72534615",
"0.72509867",
"0.7235349",
"0.7235349",
"0.72324353",
"0.7220159",
"0.72158194",
"0.7209297",
"0.7198822",
"0.7172598",
"0.7169744",
"0.7167547",
"0.71628463",
"0.7155788",
"0.7144717",
"0.7132875",
"0.7128977",
"0.7120684",
"0.71157986",
"0.7103459",
"0.7088987",
"0.7088279",
"0.706368",
"0.7063258",
"0.70604336",
"0.70361966",
"0.7033783",
"0.70273215",
"0.7023216",
"0.70209885",
"0.7010465",
"0.70076036",
"0.70076036",
"0.7004373",
"0.69961244",
"0.6985223",
"0.69682324",
"0.69652325",
"0.696366",
"0.69545573",
"0.6954185",
"0.69488764",
"0.69463044",
"0.6940329",
"0.6938517",
"0.69365984",
"0.6936442",
"0.69189",
"0.691162",
"0.68823874",
"0.68659455",
"0.6846696",
"0.68382245",
"0.683037",
"0.68299466",
"0.68267834",
"0.6825797",
"0.682382",
"0.68042725",
"0.6776122",
"0.6770036",
"0.67663676",
"0.6749026",
"0.6741675",
"0.6699772",
"0.66757554",
"0.66739184",
"0.66739184",
"0.66664785",
"0.66637856"
]
| 0.7316323 | 21 |
no Default value for abstract class | public void setValue(double newV) { // assuming REST API update at instantiation - must be a Set method to prevent access to a variable directly
this.Value=newV;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"_ExtendsNotAbstract() {\n super(\"s\"); // needs this if not default ctor;\n }",
"abstract public E addDefault();",
"private Default()\n {}",
"protected abstract S createDefault();",
"public boolean isAbstract()\n/* */ {\n/* 146 */ return false;\n/* */ }",
"public AbstractClass() { //Sobrecarga del constructor AbstractClass ya que se puede inicializar de 2 maneras\n }",
"public AbstractGenerateurAbstractSeule() {\r\n\t\tsuper();\r\n\t}",
"public void noabstractone() {\n\t\tSystem.out.println(\"No Abstract\");\n\t}",
"DefaultAttribute()\n {\n }",
"public void setAbstract() {\r\n\t\tthis.isAbstract = true;\r\n\t}",
"@Override\r\n\tpublic boolean isAbstract() throws NotesApiException {\n\t\treturn false;\r\n\t}",
"default String notRequired() {\n return \"Default implementation\";\n }",
"@Override\n\tpublic ISpecies getDefault() {\n\t\treturn null;\n\t}",
"public void setupAbstract() {\n \r\n }",
"defaultConstructor(){}",
"public AbstractT153()\n {\n }",
"protected MyAbstractClass(){\n}",
"public Shape(){\n\t\t//System.out.println(\"This is abstract class Shape\");\n\t}",
"@Override\r\n\tpublic void setAbstract(boolean arg0) throws NotesApiException {\n\r\n\t}",
"protected BaseFeat()\n {\n super(TYPE);\n }",
"public abstract void MussBeDefined();",
"public DefaultSimplePolicyValueTestAbstract() {\n }",
"public abstract B zzjo();",
"@Override\n public boolean getAllowAbstractClasses()\n {\n \treturn allowAbstractClasses;\n }",
"void DefaultConstructor(){}",
"public boolean isAbstract();",
"O() { super(null); }",
"public abstract void abstractone();",
"protected ChildType() {/* intentionally empty block */}",
"@Override\n\tvoid methodAbstractAndSubclassIsAbstract() {\n\t\t\n\t}",
"public AbstractValueHolder() {\n }",
"public Object getDefaultValue();",
"public Object getDefaultValue();",
"public interface AbstractC1953c50 {\n}",
"public AbstractElement() {\n }",
"protected Animal() {\t\r\n\t}",
"abstract void method();",
"public T caseAbstractDefinition(AbstractDefinition object)\n {\n return null;\n }",
"default boolean isSpecial() { return false; }",
"public AbstractEntity() {\r\n\t}",
"@SuppressWarnings(\"PMD.EmptyMethodInAbstractClassShouldBeAbstract\")\n protected void prepareForSetAnswer() {\n // Default implementation does nothing.\n }",
"public OOP_207(){\n\n }",
"abstract Date getDefault();",
"public TypeUndefined() { super(\"undefined\"); }",
"protected GEDCOMType() {/* intentionally empty block */}",
"@Override\n protected void checkSubclass() {\n }",
"public String getAbstractName()\n {\n return abstractName;\n }",
"@Override\n public void matiz() {\n System.out.println(\"New not Abstract method\");\n }",
"public AbstractRetriever() {\n }",
"Object getBase();",
"@Override\n\tvoid methodabstract() {\n\t\t\n\t}",
"@Override\n public String getType() {\n return \"\";\n }",
"default boolean isClass() {\n return false;\n }",
"abstract String getClassName();",
"public BaseParameters(){\r\n\t}",
"public abstract void mo102899a();",
"public AbstractClassExtend() {\n\t\tsuper(\"hello\");\n\t}",
"public AbstractItemFactory(){\n this.setDefault();\n }",
"public None()\n {\n \n }",
"public abstract String a();",
"public DefaultTransferCoding() {\n super(TransferCoding.DEFAULT);\n }",
"private interface Base {\n\t\tString getId();\n\t\tvoid setId(String identifier);\n\t\tboolean isValid();\n\t\tvoid setValid(boolean valid);\n\t}",
"private Value() {\n\t}",
"@CheckReturnValue\n Boolean isAbstract();",
"public AbstractPlayer() {\r\n }",
"abstract public String name();",
"public BaseElement() {\n }",
"public AbstractWorkspacebaseproperty()\n {\n }",
"protected Shape() {}",
"public AbstractT602()\n {\n }",
"protected DefaultLink() {\n }",
"@Override // opcional\n public void init(){\n\n }",
"public AbstractTypeMapping()\n {\n super();\n }",
"public Implementor(){}",
"public Item() \r\n\t{\r\n\t\tname = \"AbstractItem\";\r\n\t\tdescription = \"Example Item Generated\";\r\n\t\tprice = 0;\r\n\t}",
"protected MyAbstractList() {\n }",
"public abstract String Name();",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"@Override\n\tprotected void checkSubclass() {\n\t}",
"public abstract Object mo1771a();",
"protected void setToDefault(){\n\n\t}",
"@Override\n\tpublic Base getBase() {\n\t\treturn null;\n\t}",
"String getDefaultType();",
"public abstract void mo70713b();",
"public boolean isDefault();",
"public BaseObject()\n\t {\n\t className=\"BaseObject\";\n\t objectName=\"default object\";\n\t }"
]
| [
"0.68132573",
"0.68090284",
"0.67346877",
"0.65186554",
"0.65073425",
"0.6496769",
"0.64761543",
"0.6438699",
"0.6384692",
"0.6342669",
"0.62743247",
"0.62705344",
"0.62625784",
"0.6250656",
"0.6229109",
"0.62091",
"0.6204166",
"0.6197535",
"0.6150971",
"0.61393064",
"0.61387485",
"0.6136219",
"0.61266774",
"0.6110147",
"0.610475",
"0.609142",
"0.60816026",
"0.6077515",
"0.6073445",
"0.60705906",
"0.6062069",
"0.6029144",
"0.6029144",
"0.6007812",
"0.5976306",
"0.5974129",
"0.59493405",
"0.59471065",
"0.59420824",
"0.5930643",
"0.5927141",
"0.59039164",
"0.58941",
"0.58743984",
"0.5868576",
"0.5858146",
"0.58506924",
"0.5846098",
"0.5838322",
"0.58374524",
"0.58370304",
"0.5836423",
"0.58281213",
"0.58095807",
"0.58056617",
"0.5796673",
"0.57947755",
"0.57843214",
"0.578156",
"0.5779481",
"0.5770185",
"0.5750079",
"0.57491446",
"0.5748595",
"0.5747633",
"0.57465446",
"0.57350886",
"0.5724118",
"0.5721282",
"0.57173616",
"0.5716099",
"0.57082736",
"0.5703578",
"0.57002264",
"0.56996334",
"0.56968045",
"0.5695772",
"0.5695618",
"0.5695618",
"0.5695618",
"0.5695618",
"0.5695618",
"0.5695618",
"0.5695618",
"0.5695618",
"0.5695618",
"0.5695618",
"0.5695618",
"0.5695618",
"0.5695618",
"0.5695618",
"0.5695618",
"0.5695618",
"0.5695618",
"0.569542",
"0.56894386",
"0.5684178",
"0.567984",
"0.5679396",
"0.5675355",
"0.56681734"
]
| 0.0 | -1 |
Constructor that executes the model. | public DummyGuiController(SoundModelInterface model) {
this.model = model;
view = new DummyGui(model);
this.runModel();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private Model(){}",
"public Model() {\n\t}",
"public Model() {\n\t}",
"Build_Model() {\n\n }",
"public Model() {\n }",
"public Model() {\n }",
"public Model() {\n }",
"public Model() {\n\n }",
"private MainModel() {\n jsonManager = new JsonManager(this);\n }",
"public ModelBolting(){}",
"public ModelSourceFile() {\n\t\t\n\t}",
"protected ModelAgent ()\n {\n this (\"ModelAgent\");\n\n }",
"public Job() {\n\t\t\t\n\t\t}",
"public Logic(Model m){\r\n model = m;\r\n }",
"public TaskBoardModel() {\n\n }",
"public Result() {\n }",
"public Result() {\n }",
"public Model(DataHandler data){\n //assign the data parameter to the instance\n //level variable data. The scope of the parameter\n //is within the method and that is where the JVM \n //looks first for a variable or parameter so we \n //need to specify that the instance level variable \n //is to be used by using the keyword 'this' followed \n //by the '.' operator.\n this.data = data;\n }",
"public ImpExExportCronJobModel()\n\t{\n\t\tsuper();\n\t}",
"public ModelManagerImpl() {\n this( null );\n }",
"public Result() {\r\n super();\r\n System.out.println(\"Result:Constructor\");\r\n }",
"private RequestExecution() {}",
"public Result(){\n\t}",
"public UserModel()\r\n\t{\r\n\t}",
"public TargetGeneratorModel()\n {\n }",
"Constructor() {\r\n\t\t \r\n\t }",
"public Job() {\r\n\t\tSystem.out.println(\"Constructor\");\r\n\t}",
"public DataModel()\r\n {\r\n System.out.println(\"New DataModel created\");\r\n \r\n languageList = new LanguageList();\r\n }",
"Model() {\r\n this.observers = new ArrayList<Observer>();\r\n\r\n init();\r\n }",
"public AutomaticJob() {\r\n \r\n }",
"public UserModel()\n\t{}",
"public Operation(){\n\t}",
"DataGenModel()\n {\n }",
"public ExecuteAction()\n {\n this(null);\n }",
"public Model() {\n this(Persistence.createEntityManagerFactory(PERSISTENCE_UNIT_NAME), new TextRepository());\n }",
"public ComputerDataModel() {\n\n }",
"private Command() {\n initFields();\n }",
"public Operation() {\n\t}",
"public PromotionVoucherModel()\n\t{\n\t\tsuper();\n\t}",
"public Job() {\n }",
"public Job() {\n }",
"public Model()\n\t{\n\t\t//this.v = v;\n\t\tr = new Random(System.currentTimeMillis());\n\t\ttry {\n\t\t\thostName = InetAddress.getLocalHost().getHostName();\n\t\t\tthis.ipAddress = InetAddress.getByName(hostName).getHostAddress();\n\t\t\tif(this.ipAddress.startsWith(\"127\"))\n\t\t\t{\n\t\t\t\t//Found the loopback address; need to test local adapters\n\t\t\t\tthrow new UnknownHostException();\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"Starting up client with hostname: \" + hostName + \" and IP \" + ipAddress);\n\t\t\t\n\n\t\t} catch (UnknownHostException e) {\n\t\t\t\n\t\t\ttry {\n\t\t\t\tipAddress = this.getIPAddress();\n\t\t\t} catch (SocketException e1) {\n\t\t\t\t\n\t\t\t\te1.printStackTrace();\n\t\t\t\tSystem.out.println(\"Failed to get IP address from both DNS lookup and local adapters, exiting...\");\n\t\t\t\tSystem.exit(-4);\n\t\t\t}\n\t\t\tSystem.out.println(\"Could not get hostname\");\n\t\t}\n\t}",
"private void initializeModel() {\n\t\t\n\t}",
"private CardExchangeModel() {\n\t}",
"public Operation() {\n super();\n }",
"public Call_simple() {\n }",
"public CPRCommand()\r\n {\r\n }",
"public Operation() {\n /* empty */\n }",
"protected MVC_model() throws RemoteException {\n\t\tsuper();\n\t}",
"public ChatModel() {\n\t}",
"protected void initialize() { \n param1 = SmartDashboard.getNumber(\"param1\");\n param2 = SmartDashboard.getNumber(\"param2\");\n param3 = SmartDashboard.getNumber(\"param3\");\n param4 = SmartDashboard.getNumber(\"param4\");\n command = new C_DriveBasedOnEncoderWithTwist(param1, param2, param3);\n }",
"public Query() {\r\n }",
"public FetchRule() {\n }",
"public SystemCommandRequest()\r\n\t{\r\n\t}",
"public UseCaseItem() {\n delegate = new MyModel.Builder().build();\n }",
"public VersionModel() {\n }",
"public ModelResource() {\n }",
"@Override\n\tpublic void execute() {\n\t\tSystem.out.println(\"View1Model execute() 호출\");\n\t}",
"public WorldModel(){\t\n\t}",
"public OpenGLModel() {\n\n\n\t}",
"public FareModel() {\n }",
"public UserModel() {\n }",
"public RJGUIModel () {\n\t}",
"public Model(){\r\n try{\r\n File file = new File(\"./config.ini\");\r\n boolean firstRun = file.createNewFile();\r\n\r\n //If this is the first run for the application\r\n if (firstRun){\r\n //Ask user the amount of hours he wants to work per day\r\n dailyWorkload = Integer.parseInt(JOptionPane.showInputDialog(\"Enter number of hours you want to work per day\"));\r\n numDayWorkWeek = Integer.parseInt(JOptionPane.showInputDialog(\"Enter number of days you want to work per week\"));\r\n\r\n //Allocate memory for data structures\r\n unfinished = new TreeSet<>();\r\n finished = new ArrayList<>();\r\n activities = new ArrayList<>();\r\n\r\n FileWriter fw = new FileWriter(file);\r\n PrintWriter pw = new PrintWriter(fw);\r\n\r\n pw.println(dailyWorkload);\r\n pw.println(numDayWorkWeek);\r\n pw.close();\r\n fw.close();\r\n\r\n weeklySchedule = new ArrayList<>(numDayWorkWeek);\r\n for (int i = 0; i < numDayWorkWeek; i++)\r\n weeklySchedule.add(new TreeSet<Task>());\r\n }\r\n //Else if this is not the first run of the application\r\n else{\r\n FileReader fr = new FileReader(file);\r\n BufferedReader br = new BufferedReader(fr);\r\n dailyWorkload = Integer.parseInt(br.readLine());\r\n numDayWorkWeek = Integer.parseInt(br.readLine());\r\n br.close();\r\n fr.close();\r\n\r\n weeklySchedule = new ArrayList<>(numDayWorkWeek);\r\n for (int i = 0; i < numDayWorkWeek; i++)\r\n weeklySchedule.add(new TreeSet<Task>());\r\n loadFromDatabase();\r\n }\r\n\r\n }\r\n catch (Exception e){\r\n System.out.println(\"Stress is constructor: \" + e.getMessage());\r\n }\r\n }",
"public JSONModel() {\n jo = new JSONObject();\n }",
"public Model() {\n this(DSL.name(\"model\"), null);\n }",
"public Model(Controller controller)\r\n {\r\n // initialise instance variables\r\n setFiles(new ArrayList<>());\r\n setController(controller);\r\n }",
"public Constructor(){\n\t\t\n\t}",
"public Evaluador() {\n aL = new Arguments();\n }",
"public GetMotorPositionCommand ()\r\n {\r\n }",
"public QueryBO() {\r\n }",
"protected PolicyModelGenerator() {\n // nothing to initialize\n }",
"@Override\n public void Execute() {\n\n }",
"public Carmodel() {\n this(\"CarModel\", null);\n }",
"public Controller() {\n model = new Model();\n comboBox = new ChannelComboBox();\n initView();\n new ChannelWorker().execute();\n timer = new Timer();\n }",
"public LoginModel() {\n }",
"public WERecordDataModel()\n\t{\n\t\tsuper();\n\t\tsetEqFileName(RECORD_NAME);\n\t\tinitMessages();\n\t}",
"public Controller()\n\t{\n\t\ttheParser = new Parser();\n\t\tstarList = theParser.getStars();\n\t\tmessierList = theParser.getMessierObjects();\n\t\tmoon = new Moon(\"moon\");\n\t\tsun = new Sun(\"sun\");\n\t\tconstellationList = theParser.getConstellations();\n\t\tplanetList = new ArrayList<Planet>();\n\t\ttheCalculator = new Calculator();\n\t\tepoch2000JD = 2451545.0;\n\t}",
"public DefaultObjectModel ()\n {\n this (new Schema ());\n }",
"public Workflow() {\n\t\tsuper();\n\t}",
"public Main() {\r\n\t\tsuper();\r\n\t\tinitialize();\r\n\r\n\t}",
"public void construct(){\n\t\tbuilder.buildPart1();\n\t\tbuilder.buildPart2();\n\t\tbuilder.retrieveResult();\n\t}",
"protected DdlExecutorImpl() {\n }",
"public Task() {\n\t}",
"public Results() {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t}",
"protected void execute() {\r\n }",
"protected void execute() {\n\n\t}",
"public abstract String initExecute() throws Exception;",
"protected FedoraContentModelHandler() {\r\n }",
"public EstadosSql() {\r\n }",
"public ScriptActivity() {\n }",
"@Override\n protected void execute() {\n \n }",
"public BNHaystackLearnStructureJob() {}",
"protected void execute() {\n }",
"protected void execute() {\n }",
"protected void execute() {\n }",
"protected void execute() {\n }",
"protected void execute() {\n }",
"protected void execute() {\n }",
"protected void execute() {\n }",
"protected void execute() {\n }"
]
| [
"0.68681985",
"0.67714924",
"0.67714924",
"0.6600522",
"0.6489119",
"0.6489119",
"0.6489119",
"0.63778096",
"0.63103455",
"0.62959003",
"0.6277168",
"0.6266339",
"0.6260668",
"0.62131894",
"0.6180988",
"0.6157176",
"0.6157176",
"0.6150261",
"0.6136161",
"0.61339444",
"0.61124283",
"0.61020637",
"0.6085071",
"0.6065629",
"0.604238",
"0.6023808",
"0.6019838",
"0.6015032",
"0.60098475",
"0.6000538",
"0.5995415",
"0.5995413",
"0.5994739",
"0.59740794",
"0.59620345",
"0.5955333",
"0.59374326",
"0.59021",
"0.5897714",
"0.58887696",
"0.58887696",
"0.58657116",
"0.58567435",
"0.5855936",
"0.5848848",
"0.5841635",
"0.5835394",
"0.58267707",
"0.58253",
"0.582472",
"0.5810044",
"0.58023983",
"0.58009905",
"0.57919633",
"0.5787362",
"0.5784369",
"0.57820565",
"0.57779783",
"0.57749325",
"0.57669276",
"0.5764782",
"0.57632196",
"0.57614005",
"0.57605743",
"0.5759956",
"0.5748385",
"0.5745749",
"0.574556",
"0.5739507",
"0.57333624",
"0.5728197",
"0.5718777",
"0.5709657",
"0.5704575",
"0.57041514",
"0.57040113",
"0.5702497",
"0.5702292",
"0.56968015",
"0.5691918",
"0.56823534",
"0.5680708",
"0.5680626",
"0.56699896",
"0.5669416",
"0.56683135",
"0.5664243",
"0.5648446",
"0.5644021",
"0.56426275",
"0.5632953",
"0.5632381",
"0.5629358",
"0.5615948",
"0.5615948",
"0.5615948",
"0.5615948",
"0.5615948",
"0.5615948",
"0.5615948",
"0.5615948"
]
| 0.0 | -1 |
Helper method to convert degrees to polar axes | private static int convertDegreesToPolar(int degrees) {
switch (degrees) {
case -90:
return 270;
case -60:
return 300;
case -30:
return 330;
default:
return degrees;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String asPolar(){\n// return \"<\" + this.getR() + \", ∠\" + this.getTheta() + \">\";\n return String.format(POLAR_FORMAT, this.getR(), this.getTheta());\n }",
"public Vector2D toPolar()\n {\n return new Vector2D(Math.sqrt(this.x * this.x + this.y * this.y), Math.atan2(this.y, this.x));\n }",
"private static Vector2 CartesianToPolar(Vector2 t)\r\n {\n\r\n Vector2 a = new Vector2((float)Math.atan(-t.Y/t.X), (float)Math.sqrt((t.X * t.X) + (t.Y * t.Y)));\r\n if (t.X < 0)a.X += Math.PI;\r\n else if (t.Y < 0) a.X += Math.PI * 2;\r\n return a;\r\n }",
"public Cartesiana polar_cartesiano (float radio, float angulo) {\n return new Cartesiana (radio * (float)Math.cos(angulo),radio * (float)Math.sin(angulo)); \n}",
"private double rad2deg(double rad) {\n return (rad * 180 / Math.PI);\n }",
"private double rad2deg(double rad) {\r\n return (rad * 180.0 / Math.PI);\r\n }",
"private double rad2deg(double rad) {\r\n return (rad * 180.0 / Math.PI);\r\n }",
"private double rad2deg(double rad) {\r\n\t\t\treturn (rad * 180 / Math.PI);\r\n\t\t}",
"private double deg2rad(double deg) {\r\n return (deg * Math.PI / 180.0);\r\n }",
"private static double rad2deg(double rad) {\n return (rad * 180.0 / Math.PI);\n }",
"private static double rad2deg(double rad) {\n return (rad * 180 / Math.PI);\n }",
"private static double rad2deg(double rad) {\n return (rad * 180 / Math.PI);\n }",
"private static double rad2deg(double rad) {\n return (rad * 180 / Math.PI);\n }",
"private double rad2deg(double rad) {\n return (rad * 180.0 / Math.PI);\n }",
"private double rad2deg(double rad) {\n return (rad * 180.0 / Math.PI);\n }",
"public static float rad2deg(float rad) {return rad/D2R;}",
"private static double degToRad(float deg)\r\n/* 25: */ {\r\n/* 26:32 */ return deg * 3.141592653589793D / 180.0D;\r\n/* 27: */ }",
"public static float deg2rad(float deg) {return deg*D2R;}",
"private double deg2rad(double deg) {\r\n return (deg * Math.PI / 180.0);\r\n }",
"private double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }",
"public String polarRotation(double angle, double newAngle)\n {\n angle = angle + newAngle;\n \n String str = \"Rotated polar point:\" + angle;\n return str;\n }",
"private static double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }",
"public static double[] toCartesian(double[] polar) {\n\t\treturn toCartesian(polar[0], polar[1]);\n\t}",
"private static double rad2deg(double rad) {\r\n\t\treturn (rad * 180.0 / Math.PI);\r\n\t}",
"public static double[] toPolar(double x, double y) {\n\t\treturn new double[] {hypot(x, y), atan2(y, x)};\n\t}",
"private double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }",
"private double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }",
"private double deg2rad(double deg) {\r\n\t\t\treturn (deg * Math.PI / 180.0);\r\n\t\t}",
"private static double rad(double deg) {\n return deg*Math.PI/180;\n }",
"private static double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }",
"private static double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }",
"private static double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }",
"public Cartesiana polar_cartesiano (Polar p){\n \n return polar_cartesiano (p.getRadio(),p.getAngulo()); // implementar procedimiento correcto\n}",
"List<CalibratedAxis> getAxesPlanar();",
"private double rad2deg(double rad) {\n\t\treturn (rad * 180.0 / Math.PI);\n\t}",
"private static double rad2deg(double rad) {\n\t\treturn (rad * 180 / Math.PI);\n\t}",
"private static double deg2rad(double deg) {\r\n\t\treturn (deg * Math.PI / 180.0);\r\n\t}",
"private static double deg2rad(double deg) {\r\n\t\treturn (deg * Math.PI / 180.0);\r\n\t}",
"private double degToRadian(double angle)\n\t{\n\t\treturn angle/180*Math.PI;\n\t}",
"private static double rad2deg(double rad) {\n\t\treturn (rad * 180.0 / Math.PI);\n\t}",
"private double deg2rad(double deg) {\n\t\treturn (deg * Math.PI / 180.0);\n\t}",
"private static double radToDeg(float rad)\r\n/* 30: */ {\r\n/* 31:39 */ return rad * 180.0F / 3.141592653589793D;\r\n/* 32: */ }",
"private static double deg2rad(double deg) {\n\t\treturn (deg * Math.PI / 180.0);\n\t}",
"private static double deg2rad(double deg) {\n\t\treturn (deg * Math.PI / 180.0);\n\t}",
"public static double[] toPolar(double[] xy) {\n\t\treturn toPolar(xy[0], xy[1]);\n\t}",
"public static double toRadians(double degree) {\n\t\treturn (degree * 3.14159) / 180;\r\n\t\t\r\n\t}",
"private void setRadians(double rad) {\r\n setDegreeNum(rad * (180.0 / Math.PI));\r\n }",
"private void normalizeOrientation() {\n\t\twhile (this.orientation >= 2 * Math.PI) {\n\t\t\torientation -= 2 * Math.PI;\n\t\t}\n\t\twhile (this.orientation < 0) {\n\t\t\torientation += 2 * Math.PI;\n\t\t}\n\t}",
"public static double degreesToRadians(double degrees) {\n double radians = degrees % 360;\n return radians * Math.PI / 180;\n }",
"public static Vector polar(double magnitude, double angle) {\n\t\tdouble rads = Math.toRadians(angle);\n\t\tdouble x = magnitude * Math.cos(rads);\n\t\tdouble y = magnitude * Math.sin(rads);\n\t\treturn new Vector(x, y);\n\t}",
"private Point polarToCart(int angle, int radius) {\n System.out.println(\" polar angle: \"+angle+\" radius: \"+radius);\n Point tmp_point = new Point();\n tmp_point.x = (int) (Math.cos(angle * Math.PI / 180) * radius);\n tmp_point.y = (int) (Math.sin(angle * Math.PI / 180) * radius);\n System.out.println(\" cartesian X:\" +tmp_point.x + \" Y: \" +tmp_point.y);\n return tmp_point;\n }",
"public double translateAngle( Figure f, double angle, double dir);",
"public static double degreesToRadians(double degrees) {\n return normalizedRadians(degrees / 180.0 * Math.PI);\n }",
"public static double degreesToRadians(double degrees) {\n return degrees * 0.0174533;\n }",
"void getAngles(double[] values);",
"public void setPolar(double r, double phi) {\r\n\t\tthis.r = r;\r\n\t\tthis.phi = phi;\r\n\t\tcartesian = false;\r\n\t\tpolar = true;\r\n\t}",
"void turnToDir(float angle) { \n float radian = radians(angle);\n _rotVector.set(cos(radian), sin(radian));\n _rotVector.setMag(1);\n }",
"public float getRollRad(float[] quat) {\n float x = quat[0];\n float y = quat[1];\n float z = quat[2];\n float w = quat[3];\n final int pole = getGimbalPole(quat);\n return (float) (pole == 0 ? Math.atan2((double) (2f * (w * z + y * x)), (double) (1f - 2f * (x * x + z * z))) : (float) pole * 2f\n * Math.atan2(y, w));\n }",
"void setAngles(double[] values);",
"public static double rad2deg(double rad) {\n return (rad * 180.0 / Math.PI);\n }",
"private static int degreesToTicks(double degrees){\r\n double temp = degrees * (1086 / 90);\r\n int ticks = (int)temp;\r\n return ticks;\r\n }",
"public void setRotate() {\r\n\t\tint npoints = xpoints.length;\r\n\t\tdouble[] tempxpoints = new double[xpoints.length];\r\n\t\tdouble[] tempypoints = new double[xpoints.length];\r\n\t\tdouble radians = Math.toRadians(angle%360);\r\n\t\tdouble y = pivotY;\r\n\t\tdouble x = pivotX;\r\n\t\tfor(int i = 0; i<xpoints.length; i++) {\r\n\t\t\ttempxpoints[i] = (Math.cos(radians)*(xpoints[i]-x)-Math.sin(radians)*(ypoints[i]-y)+x);\r\n\t\t\ttempypoints[i] = (Math.sin(radians)*(xpoints[i]-x)+Math.cos(radians)*(ypoints[i]-y)+y);\r\n\t\t}\r\n\t\txpoints = tempxpoints;\r\n\t\typoints = tempypoints;\r\n\t\tangle = 0;\r\n\t}",
"public static double rad2deg(double rad) {\n\t\treturn (rad * 180 / Math.PI);\n\t}",
"float calcRotate(float rotateDeg, float anglePerIn)\n {\n return rotateDeg / anglePerIn;\n }",
"private double getPolarAngle(double refX, double refY, double px, double py) {\n\t\tdouble tethaRadian = -1;\n\t\tif ((px - refX) > 0 && (refY - py) >= 0) {\n\t\t\ttethaRadian = Math.atan((refY - py) / (px - refX));\n\t\t} else if ((px - refX) > 0 && (refY - py) < 0) {\n\t\t\ttethaRadian = Math.atan((refY - py) / (px - refX)) + 2 * Math.PI;\n\t\t} else if ((px - refX) < 0) {\n\t\t\ttethaRadian = Math.atan((refY - py) / (px - refX)) + Math.PI;\n\t\t} else if ((px - refX) == 0 && (refY - py) > 0) {\n\t\t\ttethaRadian = Math.PI / 2;\n\t\t} else if ((px - refX) == 0 && (refY - py) < 0) {\n\t\t\ttethaRadian = 3 * Math.PI / 2;\n\t\t}\n\t\treturn tethaRadian;\n\t}",
"public static float toRadians(float degrees) {\n float result = degrees * FastMath.DEG_TO_RAD;\n return result;\n }",
"public void setRADegrees(double degrees)\n {\n this.raDegrees = degrees;\n this.ra = Math.toRadians(degrees);\n }",
"public static double toRadians(double angdeg) {\n return angdeg * ((2 * PI) / 360.0);\n }",
"public static Expression degreesToRadians(final Expression value) {\n return new Expression(\"$degreesToRadians\", value);\n }",
"EDataType getAngleDegrees();",
"public double getAzimuthRadians() {\n return azimuth * Math.PI / 180d;\n }",
"private static double deg2rad(double lat1) {\n return (lat1*Math.PI/180.0);\n }",
"public static double deg2rad(double deg) {\n return (deg * Math.PI / 180.0);\n }",
"private float findRotation()\r\n\t{\r\n\t\t//conditionals for all quadrants and axis\r\n\t\tif(tarX > 0 && tarY > 0)\r\n\t\t{\r\n\t\t\trotation = (float) Math.atan((tarY/tarX));\r\n\t\t\trotation = (float) ((rotation*180)/Math.PI);\r\n\t\t}\r\n\t\telse if(tarX < 0 && tarY > 0)\r\n\t\t{\r\n\t\t\trotation = (float) Math.atan((tarY/tarX));\r\n\t\t\trotation = (float) ((rotation*180)/Math.PI);\r\n\t\t\trotation = 180 - Math.abs(rotation);\r\n\t\t}\r\n\t\telse if(tarX < 0 && tarY < 0)\r\n\t\t{\r\n\t\t\trotation = (float) Math.atan((tarY/tarX));\r\n\t\t\trotation = (float) ((rotation*180)/Math.PI);\r\n\t\t\trotation = 180 + Math.abs(rotation);\r\n\t\t}\r\n\t\telse if(tarX > 0 && tarY < 0)\r\n\t\t{\r\n\t\t\trotation = (float) Math.atan((tarY/tarX));\r\n\t\t\trotation = (float) ((rotation*180)/Math.PI);\r\n\t\t\trotation = 90 - Math.abs(rotation);\r\n\t\t\trotation = 270 + rotation;\r\n\t\t}\r\n\t\telse if(tarX > 0 && tarY == 0)\r\n\t\t\trotation = 0;\r\n\t\telse if(tarX == 0 && tarY > 0)\r\n\t\t\trotation = 90;\r\n\t\telse if(tarX < 0 && tarY == 0)\r\n\t\t\trotation = 180;\r\n\t\telse if(tarX == 0 && tarY < 0)\r\n\t\t\trotation = 270;\r\n\t\t\r\n\t\treturn (rotation - 90);\r\n\t}",
"static PMatrix3D getRotMatrixForRodrigues(PVector rodrigues ) {\n PMatrix3D R =new PMatrix3D();\n float theta=rodrigues.mag();\n if (theta<0.0001)return R;\n PVector normalized=PVector.mult(rodrigues, 1.0f/theta);\n\n\n float x = normalized.x;\n float y = normalized.y;\n float z = normalized.z;\n\n float c = (float)Math.cos( theta );\n float s = (float)Math.sin( theta );\n float oc = 1.0f - c;\n\n R.m00 = c + x * x * oc;\n R.m01 = x * y * oc - z * s;\n R.m02 = x * z * oc + y * s;\n\n R.m10 = y * x * oc + z * s;\n R.m11 = c + y * y * oc;\n R.m12 = y * z * oc - x * s;\n\n R.m20 = z * x * oc - y * s;\n R.m21 = z * y * oc + x * s;\n R.m22 = c + z * z * oc;\n\n return R;\n }",
"public static double degreeToRadians(double num) { return (num*0.0174533); }",
"public void calculateAngleAndRotate(){\n\t\tdouble cumarea = 0;\n\t\tdouble sina = 0;\n\t\tdouble cosa = 0;\n\t\tdouble area, angle;\n\t\tfor (int n = 0; n < rt.size();n++) {\n\t\t\tarea = rt.getValueAsDouble(rt.getColumnIndex(\"Area\"),n);\n\t\t\tangle = 2*rt.getValueAsDouble(rt.getColumnIndex(\"Angle\"),n);\n\t\t\tsina = sina + area*Math.sin(angle*Math.PI/180);\n\t\t\tcosa = cosa + area*Math.cos(angle*Math.PI/180);\n\t\t\tcumarea = cumarea+area;\n\t\t}\n\t\taverageangle = Math.abs(0.5*(180/Math.PI)*Math.atan2(sina/cumarea,cosa/cumarea)); // this is the area weighted average angle\n\t\t// rotate the data \n\t\tIJ.run(ActiveImage,\"Select All\",\"\");\n\t\tActiveImageConverter.convertToGray32();\n\t\tIJ.run(ActiveImage,\"Macro...\", \"code=[v= x*sin(PI/180*\"+averageangle+\")+y*cos(PI/180*\"+averageangle+\")]\");\n\t\treturn;\n\t}",
"AxisOrientation getAxisOrientation();",
"public static double toDegrees(double radian1) {\n\t\treturn (radian1 * 180) / 3.14159;\r\n\t\t\r\n\t}",
"public double radToDeg(double rads)\r\n\t{\r\n\t\treturn (rads * 180)/Math.PI;\r\n\t\t\r\n\t}",
"public static double deg2rad(double deg) {\n\t\treturn (deg * Math.PI / 180.0);\n\t}",
"public static DataSet getPolarXYDataForPolar(DataSet aDataSet)\n {\n // If already non-polar, just return\n if (!aDataSet.getDataType().isPolar())\n return aDataSet;\n\n // Get pointCount and create dataX/dataY arrays\n int pointCount = aDataSet.getPointCount();\n double[] dataX = new double[pointCount];\n double[] dataY = new double[pointCount];\n\n // Get whether to convert to radians\n boolean convertToRadians = aDataSet.getThetaUnit() != DataUnit.Radians;\n\n // Iterate over X values and convert to 0 - 360 scale\n for (int i = 0; i < pointCount; i++) {\n\n // Get Theta and Radius\n double dataTheta = aDataSet.getT(i);\n double dataRadius = aDataSet.getR(i);\n if (convertToRadians)\n dataTheta = Math.toRadians(dataTheta);\n\n // Convert to display coords\n dataX[i] = Math.cos(dataTheta) * dataRadius;\n dataY[i] = Math.sin(dataTheta) * dataRadius;\n }\n\n // Get DataZ and DataType\n double[] dataZ = aDataSet.getDataType().hasZ() ? aDataSet.getDataZ() : null;\n DataType dataType = dataZ == null ? DataType.XY : DataType.XYZ;\n\n // Return new DataSet for type and values\n return DataSet.newDataSetForTypeAndValues(dataType, dataX, dataY, dataZ);\n }",
"int getSensorRotationDegrees();",
"public double degToRad(double degs)\r\n\t{\r\n\t\treturn (degs/180)*Math.PI;\r\n\t\t\r\n\t}",
"public void addPolar(double r, double theta) {\n\t\tGPoint prev = isEmpty() ? new GPoint(0, 0) : last();\n\t\tdouble newX = prev.getX() + r * Math.cos(theta * Math.PI / 180);\n\t\tdouble newY = prev.getY() - r * Math.sin(theta * Math.PI / 180);\n\t\tadd(newX, newY);\n\t}",
"double adjust_angle_rotation(double angle) {\n double temp;\n temp=angle;\n if(temp>90) {\n temp=180-temp;\n }\n return temp;\n }",
"public double radians() {\n return Math.toRadians(this.degrees);\n }",
"public double convertToRadians(final double value) {\n return value * Math.PI / 180;\n }",
"public static double reduce180Degrees(double degrees){\n //multiplies the reduced angle by the sign of the original since the mod operator is always positive.\n return (degrees % 180) * Math.signum(degrees);\n }",
"public void setRotationAngles(float par1, float par2, float par3, float par4, float par5, float par6)\n {\n float f = par3 * (float)Math.PI * -0.1F;\n\n for (int i = 0; i < 4; i++)\n {\n field_78106_a[i].rotationPointY = -2F + MathHelper.cos(((float)(i * 2) + par3) * 0.25F);\n field_78106_a[i].rotationPointX = MathHelper.cos(f) * 9F;\n field_78106_a[i].rotationPointZ = MathHelper.sin(f) * 9F;\n f += ((float)Math.PI / 2F);\n }\n\n f = ((float)Math.PI / 4F) + par3 * (float)Math.PI * 0.03F;\n\n for (int j = 4; j < 8; j++)\n {\n field_78106_a[j].rotationPointY = 2.0F + MathHelper.cos(((float)(j * 2) + par3) * 0.25F);\n field_78106_a[j].rotationPointX = MathHelper.cos(f) * 7F;\n field_78106_a[j].rotationPointZ = MathHelper.sin(f) * 7F;\n f += ((float)Math.PI / 2F);\n }\n\n f = 0.4712389F + par3 * (float)Math.PI * -0.05F;\n\n for (int k = 8; k < 12; k++)\n {\n field_78106_a[k].rotationPointY = 11F + MathHelper.cos(((float)k * 1.5F + par3) * 0.5F);\n field_78106_a[k].rotationPointX = MathHelper.cos(f) * 5F;\n field_78106_a[k].rotationPointZ = MathHelper.sin(f) * 5F;\n f += ((float)Math.PI / 2F);\n }\n\n field_78105_b.rotateAngleY = par4 / (180F / (float)Math.PI);\n field_78105_b.rotateAngleX = par5 / (180F / (float)Math.PI);\n }",
"static double DEG_to_RAD(double d) {\n return d * Math.PI / 180.0;\n }",
"List<CalibratedAxis> getAxesNonPlanar();",
"public double getRadians() {\r\n return degreeNum * (Math.PI / 180.0);\r\n }",
"public static Expression radiansToDegrees(final Expression value) {\n return new Expression(\"$radiansToDegrees\", value);\n }",
"public float[] eulerAnglesRadToQuat(float yaw, float pitch, float roll) {\n final float hr = roll * 0.5f;\n final float shr = (float) Math.sin(hr);\n final float chr = (float) Math.cos(hr);\n final float hp = pitch * 0.5f;\n final float shp = (float) Math.sin(hp);\n final float chp = (float) Math.cos(hp);\n final float hy = yaw * 0.5f;\n final float shy = (float) Math.sin(hy);\n final float chy = (float) Math.cos(hy);\n final float chy_shp = chy * shp;\n final float shy_chp = shy * chp;\n final float chy_chp = chy * chp;\n final float shy_shp = shy * shp;\n\n float x = (chy_shp * chr) + (shy_chp * shr); // cos(yaw/2) * sin(pitch/2) * cos(roll/2) + sin(yaw/2) * cos(pitch/2) * sin(roll/2)\n float y = (shy_chp * chr) - (chy_shp * shr); // sin(yaw/2) * cos(pitch/2) * cos(roll/2) - cos(yaw/2) * sin(pitch/2) * sin(roll/2)\n float z = (chy_chp * shr) - (shy_shp * chr); // cos(yaw/2) * cos(pitch/2) * sin(roll/2) - sin(yaw/2) * sin(pitch/2) * cos(roll/2)\n float w = (chy_chp * chr) + (shy_shp * shr); // cos(yaw/2) * cos(pitch/2) * cos(roll/2) + sin(yaw/2) * sin(pitch/2) * sin(roll/2)\n\n float[] new_quat = {x, y, z, w};\n return new_quat;\n }",
"public void updateOrientationAngles() {\n SensorManager.getRotationMatrix(rotationMatrix, null,\n accelerometerReading, magnetometerReading);\n\n // \"mRotationMatrix\" now has up-to-date information.\n\n float[] angles = SensorManager.getOrientation(rotationMatrix, orientationAngles);\n azimuth = (float) Math.toDegrees(angles[0]);\n // \"mOrientationAngles\" now has up-to-date information.\n TextView az = findViewById(R.id.az);\n rotateDriver(azimuth);\n\n az.setText(Float.toString(azimuth));\n }",
"public void rot(double rad, Vector3d axis) {\r\n Transform3D temp = new Transform3D();\r\n temp.setRotation(new AxisAngle4d(axis.x, axis.y, axis.z, rad));\r\n transform3D.mul(temp);\r\n transformGroup.setTransform(transform3D);\r\n }",
"public static double[] toCartesian(double radius, double angle) {\n\t\treturn new double[] {radius * cos(angle), radius * sin(angle)};\n\t}",
"public static Vector fromPolar(double r, double theta){\n double x = r * Math.cos(theta);\n double y = r * Math.sin(theta);\n return new Vector(x, y);\n }",
"static public PointGeo deg2rad(IPointGeo aPoint) {\n\t\treturn new PointGeo(Math.toRadians(aPoint.getLatitude()),\n\t\t\t\tMath.toRadians(aPoint.getLongitude()),aPoint.getAltitude());\n\t}"
]
| [
"0.6879271",
"0.66870767",
"0.635012",
"0.61972696",
"0.60721236",
"0.6061659",
"0.60205394",
"0.6008466",
"0.60012615",
"0.59841067",
"0.5981148",
"0.5981148",
"0.5981148",
"0.5980086",
"0.5980086",
"0.5967167",
"0.5964533",
"0.59636277",
"0.5961871",
"0.5959913",
"0.5953464",
"0.5948963",
"0.5944996",
"0.5941242",
"0.592769",
"0.5923389",
"0.5923389",
"0.5897108",
"0.5895379",
"0.5890046",
"0.5890046",
"0.5890046",
"0.5885991",
"0.5879061",
"0.5869169",
"0.5853277",
"0.58464324",
"0.58464324",
"0.58367646",
"0.58258426",
"0.57983303",
"0.5783112",
"0.5765624",
"0.5765624",
"0.57490396",
"0.5713238",
"0.5698134",
"0.56693435",
"0.5665015",
"0.56245667",
"0.56099766",
"0.55790555",
"0.5552504",
"0.547992",
"0.5475215",
"0.5446442",
"0.5445148",
"0.54246664",
"0.54046893",
"0.53946906",
"0.5391234",
"0.5389705",
"0.5389423",
"0.53879094",
"0.53841794",
"0.5371229",
"0.53675896",
"0.5357615",
"0.5350831",
"0.5345823",
"0.5336672",
"0.5332577",
"0.5320102",
"0.5300074",
"0.52977437",
"0.5285904",
"0.5284638",
"0.5282026",
"0.5277466",
"0.52748924",
"0.5273128",
"0.5265259",
"0.5254648",
"0.5254606",
"0.52499545",
"0.52458334",
"0.5238561",
"0.518333",
"0.51830846",
"0.51666844",
"0.5162132",
"0.51407224",
"0.5136362",
"0.51264554",
"0.51056087",
"0.5097634",
"0.5078375",
"0.5076534",
"0.5074537",
"0.5069594"
]
| 0.7493267 | 0 |
Method to select input layer type of model based on model type. | public InputLayer selectInputLayer(ModelInputTypes m) {
switch(m) {
case GENERATEDSIN:
return new SoundGeneration(log, model.getDegrees());
case PRECORDEDHRIR:
return new SoundFromFile(log, convertDegreesToPolar(model.getDegrees()));
default:
throw new IllegalArgumentException("No Model Input Type Found.");
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void modelType(Class<?> modelType);",
"public IInputType getInputTypeById(String id);",
"public InputType getOutputType(InputType... inputType) throws InvalidKerasConfigurationException {\n if (inputType.length > 1)\n throw new InvalidKerasConfigurationException(\n \"Keras Masking layer accepts only one input (received \" + inputType.length + \")\");\n return this.getMaskingLayer().getOutputType(-1, inputType[0]);\n }",
"public IInputType getPrimaryInputType();",
"public IInputType getInputType(String inputExtension);",
"@Override\n public void inputTypeChange(ModelInputTypes m) {\n \n }",
"LayerType getLayerType() {\n return layerType;\n }",
"public void setInputSystemType(int inputSystemType) {\n\t\tthis.inputSystemType = inputSystemType;\n\t}",
"private void setSoftwareLayerType()\r\n {\r\n if (setLayerTypeMethod == null)\r\n return;\r\n\r\n try {\r\n int LAYER_TYPE_SOFTWARE = View.class.getField(\"LAYER_TYPE_SOFTWARE\")\r\n .getInt(new View(getContext()));\r\n setLayerTypeMethod.invoke(this, LAYER_TYPE_SOFTWARE, null);\r\n }\r\n catch (Exception e) {\r\n Log.w(\"SVGImageView\", \"Unexpected failure calling setLayerType\", e);\r\n }\r\n }",
"private Model findOrBuildModelDefinitionForType(ModelicaModel m, Stage stage)\n\t{\n\t\tif (ModelicaTricks.isInfiniteBus(m)) return null;\n\n\t\tStaticType staticType = StaticType.from(m);\n\t\tif (staticType == null) return null;\n\n\t\tModel mdef = ddr.getDynamicModelForStaticType(staticType, stage);\n\t\tif (mdef != null)\n\t\t{\n\t\t\tboolean isGenericModel = true;\n\t\t\tsaveParametersForModel(mdef, m, isGenericModel);\n\t\t\treturn mdef;\n\t\t}\n\n\t\t// FIXME Default modeling for generators should be a fixed injection (or configurable)\n\t\t// Currently we do not build generic model definition for static type Generator\n\t\tif (staticType.equals(StaticType.Generator)) return null;\n\n\t\treturn buildModelDefinitionForStaticType(staticType, m, stage);\n\t}",
"public ModelType getModelType() {\n\t\treturn mtype;\n\t}",
"private Class<? extends Model> getModelType(Uri uri) {\n// final int code = URI_MATCHER.match(uri);\n// if (code != UriMatcher.NO_MATCH) {\n// return TYPE_CODES.get(code);\n// }\n\n return null;\n }",
"private ScalarEnum getInputType(final String inputType) {\n String temp = inputType.replaceAll(\"-\", \"_\");\n INPUT_TYPE answer = Arrays.stream(\n INPUT_TYPE.values()\n )\n .filter(value -> value.name().equals(temp))\n .findFirst()\n .orElse(INPUT_TYPE.unknown);\n return answer.getScalar();\n }",
"NeuronType getType();",
"public Class<M> getModelClass();",
"public IInputType[] getInputTypes();",
"private ParkingType getVehicleType() {\n LOGGER.info(\"Please select vehicle type from menu\");\n LOGGER.info(\"1 CAR\");\n LOGGER.info(\"2 BIKE\");\n int input = inputReaderUtil.readSelection();\n switch (input) {\n case 1:\n return ParkingType.CAR;\n case 2:\n return ParkingType.BIKE;\n default:\n LOGGER.error(\"Incorrect input provided\");\n throw new IllegalArgumentException(\"Entered input is invalid\");\n }\n }",
"FeatureType getType();",
"private ModelFactory _getModelFactory(Class<?> type) {\n \tif (_typeCache.containsKey(type))\r\n \t{\r\n \t\treturn _typeCache.get(type);\r\n \t} else\r\n \t{\r\n \t\tIterator<Class<?>> iterator = _registeredModelFactories.keySet().iterator();\r\n \t\t\r\n \t\tModelFactory modelFactory = null;\r\n \t\t\r\n \t\t//loop through all registered model types to find a modelFactory\r\n \t\twhile (iterator.hasNext())\r\n \t\t{\r\n \t\t\tClass<?> targetType = iterator.next();\r\n \t\t\t\r\n \t\t\t//check if the object is eligible for wrapping by the current registration \r\n \t\t\tif (targetType.isAssignableFrom(type))\r\n \t\t\t{\r\n \t\t\t\tmodelFactory = _registeredModelFactories.get(targetType);\r\n \t\t\t\t\r\n \t\t\t\tbreak;\r\n \t\t\t}\r\n \t\t}\r\n \t\t\r\n \t\t//add the type to the cache and wrap the object\r\n \t\t_typeCache.put(type, modelFactory);\r\n \t\treturn modelFactory;\r\n \t}\r\n\t\t\r\n\t}",
"private void requestInput(RequestType type){\n inputType = type;\n inputMessage.setText(\"Input path below\");\n stage.setScene(input);\n }",
"public String getModel_type_name() {\r\n\t\treturn model_type_name;\r\n\t}",
"Classifier getType();",
"public static String getFromModelMappingFromType(Type type) {\n switch (type.getTypeName()) {\n case CLASS_STRING:\n return STRING_FROM_MODEL;\n case CLASS_INTEGER:\n return INT_FROM_MODEL;\n case CLASS_DOUBLE:\n return DOUBLE_FROM_MODEL;\n case CLASS_LONG:\n return LONG_FROM_MODEL;\n case CLASS_BYTE:\n return BYTE_FROM_MODEL;\n case CLASS_BOOLEAN:\n return BOOL_FROM_MODEL;\n case CLASS_FLOAT:\n return FLOAT_FROM_MODEL;\n }\n String className = ((Class) type).getSimpleName();\n return className + MAPPER + DOT + FROM_MODEL + className;\n }",
"protected SystemInputDef getRequestInputModel( OpenAPI api)\n {\n SystemInputDef inputDef = TcasesOpenApi.getRequestInputModel( api, getModelOptions());\n return inputDef;\n }",
"InputsType getInputs();",
"public void selectModelItem(final String type, final String name){\n\t\tactivate();\n\t\tDisplay.syncExec(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n DefaultCTabItem tabItem = new DefaultCTabItem(1);\n\t\t\t\ttabItem.activate();\n\t\t\t\tGraphicalViewer viewer = ((IEditorPart) tabItem.getSWTWidget().getData()).getAdapter(GraphicalViewer.class);\n\t\t\t\tviewer.select(ViewerHandler.getInstance().getEditParts(viewer, new ModelEditorItemMatcher(type, name)).get(0));\n\t\t\t}\n\t\t});\n\t}",
"public InputNeuron getInputNeuronFromName(String name) {\n\t\tfor (InputNeuron neuron : inputLayer) {\n\t\t\tif (name.equals(neuron.getName())) {\n\t\t\t\treturn neuron;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}",
"public ModelObjectType getType() {\n return type;\n }",
"@Override\n\tpublic JavaType getInputType(TypeFactory typeFactory) {\n\t\treturn null;\n\t}",
"com.google.ortools.linearsolver.MPModelRequest.SolverType getSolverType();",
"IInputType getEditableInputType(IInputType base);",
"private void updateEditorInputTypes() {\n IEditorPart editorPart = workBenchPart.getSite().getWorkbenchWindow().getActivePage().getActiveEditor();\n if(editorPart instanceof DataMapperDiagramEditor) {\n if(SCHEMA_TYPE_INPUT.equals(this.schemaType)) {\n ((DataMapperDiagramEditor)editorPart).setInputSchemaType(schemaTypeCombo.getText());\n } else if (SCHEMA_TYPE_OUTPUT.equals(this.schemaType)){\n ((DataMapperDiagramEditor)editorPart).setOutputSchemaType(schemaTypeCombo.getText());\n }\n }\n }",
"public abstract TypeSerializer<IN> getInputTypeSerializer();",
"IsisNetworkType networkType();",
"public static Serviceable getModel(AppModels type)\n {\n Serviceable tempObj;\n switch (type) {\n case KEYWORD_USER:\n tempObj = new KeywordUser();\n break;\n case QUIZ:\n tempObj = new Quiz();\n \n break;\n default:\n tempObj = null;\n break;\n }\n \n return tempObj;\n }",
"MachineType getType();",
"public static String getToModelMappingFromType(Type type) {\n switch (type.getTypeName()) {\n case CLASS_STRING:\n return STRING_TO_MODEL;\n case CLASS_INTEGER:\n return INT_TO_MODEL;\n case CLASS_DOUBLE:\n return DOUBLE_TO_MODEL;\n case CLASS_LONG:\n return LONG_TO_MODEL;\n case CLASS_BYTE:\n return BYTE_TO_MODEL;\n case CLASS_BOOLEAN:\n return BOOL_TO_MODEL;\n case CLASS_FLOAT:\n return FLOAT_TO_MODEL;\n }\n String className = ((Class) type).getSimpleName();\n return className + MAPPER + DOT + TO_MODEL + className;\n }",
"public String getInputType() {\n\t\treturn StringUtils.upperCase(props.getProperty(ARGUMENT_INPUT_TYPE, INPUT_TYPE_XLS));\n\t}",
"SourceType sourceType();",
"private Class getInputFormat(JobConf jobConf, MapWork mWork) throws HiveException {\n if (mWork.getInputformat() != null) {\n HiveConf.setVar(jobConf, HiveConf.ConfVars.HIVEINPUTFORMAT,\n mWork.getInputformat());\n }\n String inpFormat = HiveConf.getVar(jobConf,\n HiveConf.ConfVars.HIVEINPUTFORMAT);\n if ((inpFormat == null) || (StringUtils.isBlank(inpFormat))) {\n inpFormat = ShimLoader.getHadoopShims().getInputFormatClassName();\n }\n\n if (mWork.isUseBucketizedHiveInputFormat()) {\n inpFormat = BucketizedHiveInputFormat.class.getName();\n }\n\n Class inputFormatClass;\n try {\n inputFormatClass = Class.forName(inpFormat);\n } catch (ClassNotFoundException e) {\n String message = \"Failed to load specified input format class:\"\n + inpFormat;\n LOG.error(message, e);\n throw new HiveException(message, e);\n }\n\n return inputFormatClass;\n }",
"@SuppressWarnings(\"rawtypes\")\n\t@Override\n\tpublic Class getParamType() {\n\t\treturn CostInput.class;\n\t}",
"public TypeToken<?> modelType() {\n return this.modelType;\n }",
"public void setType(int type, boolean on) {\r\n\t\tparts[2].showModel = parts[3].showModel = (type == 0);\r\n\t\tparts[4].showModel = parts[5].showModel = (type == 1);\r\n\t\tparts[6].showModel = parts[7].showModel = (type == 2);\r\n\r\n\t\tparts[0].showModel = on;\r\n\t\tparts[1].showModel = !on;\r\n\t}",
"public interface MultiLayerModel extends ReadOnlyModel {\n\n /**\n * filters image based on operation given.\n *\n * @param img the image\n * @param multiplier the number of times to filter\n * @param operation operation to do\n * @return array of pixels\n */\n List<List<Pixel>> filter(Image img, int multiplier, String operation);\n\n /**\n * transforms image based on operation given.\n *\n * @param img the image\n * @param operation operation to do\n * @return array of pixels\n */\n List<List<Pixel>> transform(Image img, String operation);\n\n /**\n * creates a layer in the model.\n */\n Layer createLayer();\n\n /**\n * A method used to set the given image.\n *\n * @param image the image\n * @param layer the layer\n */\n void setImage(Layer layer, Image image);\n\n /**\n * A method meant to determine the visibility of the layer, determined by the user; is true unless\n * the user specifies that the layer should be invisible.\n *\n * @param visibility the visibility\n * @param layer the layer\n */\n void setVisibility(Layer layer, boolean visibility);\n\n\n /**\n * Adds a layer to this model.\n *\n * @param whichLayer where to add layer\n * @param layer the layer\n */\n\n void addLayer(Layer layer, int whichLayer);\n\n\n /**\n * Creates an image from a pixelArray.\n *\n * @param pixelArray the array\n * @return the created Image\n */\n Image createImage(List<List<Pixel>> pixelArray);\n\n\n /**\n * Removes a layer from this model.\n *\n * @param whichLayer the layer to remove\n */\n void removeLayer(int whichLayer);\n\n\n /**\n * Determines if the layers all have same dimensions.\n *\n * @param layers the layers\n * @return the boolean true or false\n */\n boolean sameDimensions(List<Layer> layers);\n\n /**\n * Determines if the pixelArray as equal dimensions.\n *\n * @param pixelArray the pixelArray\n * @return the boolean true or false\n */\n boolean equalPixelArrayDim(List<List<Pixel>> pixelArray);\n\n /**\n * Gets top most visible layer.\n *\n * @return the top most visible layer\n */\n Layer getTopMostVisible();\n\n\n}",
"TypedModel getModel();",
"public Class<? extends BaseContextModel> getContextModelClass() {\n\t\tif(map != null && !map.isEmpty() ){\n\t\t\treturn map.get(\"ContextModel\");\n\t\t}else {\n\t\t\ttry {\n\t\t\t\treturn Class.forName(simulationConfig\n\t\t\t\t\t\t.getString(\"models.contextmodel\"), true, classLoader).asSubclass(BaseContextModel.class);\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t}",
"public Class<T> getSupportedOperationType();",
"public void selectTrainingType(VersatileMLDataSet dataset) {\n\t\tif (this.methodType == null) {\n\t\t\tthrow new EncogError(\n\t\t\t\t\t\"Please select your training method, before your training type.\");\n\t\t}\n\t\tMethodConfig config = this.methodConfigurations.get(methodType);\n\t\tselectTraining(dataset, config.suggestTrainingType(),\n\t\t\t\tconfig.suggestTrainingArgs(trainingType));\n\t}",
"public T caseInputModel(InputModel object) {\n\t\treturn null;\n\t}",
"public com.randomm.server.ProtoBufMessage.Message.InputType getType() {\n return type_;\n }",
"public Future<List<CtxModelObject>> lookup(CtxModelType modelType, String type);",
"ImageType getType();",
"public com.randomm.server.ProtoBufMessage.Message.InputType getType() {\n return type_;\n }",
"private String getModelName(Class<?> beanType)\r\n\t{\r\n\t\tModel model = beanType.getAnnotation(Model.class);\r\n\t\t\r\n\t\t//if model annotation is not found\r\n\t\tif(model == null)\r\n\t\t{\r\n\t\t\tthrow new InvalidStateException(\"Trying to load bean type {} as model, but class is not annotated with @Model\", beanType.getName());\r\n\t\t}\r\n\t\t\r\n\t\tString modelName = StringUtils.isBlank(model.name()) ? beanType.getSimpleName() : model.name();\r\n\t\treturn modelName;\r\n\t}",
"int getCclmsTrainType();",
"public static Kernel parse(SVMKernelType type) {\n try {\n if (type == SVMKernelType.POLYNOMIAL) {\n return PolyKernel.class.newInstance();\n } else if (type == SVMKernelType.RBF) {\n return RBFKernel.class.newInstance();\n } else if (type == SVMKernelType.PEARSON_VII) {\n return Puk.class.newInstance();\n }\n return null;\n } catch (InstantiationException | IllegalAccessException ex) {\n return null;\n }\n }",
"public org.pentaho.pms.cwm.pentaho.meta.core.CwmClassifier getType();",
"public Class getAttributeType();",
"int getType();",
"int getType();",
"int getType();",
"int getType();",
"int getType();",
"int getType();",
"int getType();",
"int getType();",
"public abstract int getType();",
"public abstract int getType();",
"public abstract int getType();",
"public abstract <T extends BaseSlingModel> T getModel();",
"type getType();",
"java.lang.String getMachineType();",
"boolean modelSupports(Object modelID, int modelConstant) throws Exception;",
"public C setLabelMizingType(KNNMixingType mixingType) {\n\t\tthis.mixing = mixingType;\n\t\treturn model;\n\t}",
"public String getInputName(){\n \treturn model.getName();\n }",
"private String findTypeName(byte selectionIndex) {\n\t\tif (selectionIndex == 0) {\n\t\t\tTYPE = WEIGHT_BASED;\n\t\t} else if (selectionIndex == 1) {\n\t\t\tTYPE = ARTICLE_BASED;\n\t\t} else {\n\t\t\tTYPE = MIXED_ARTICLE;\n\t\t}\n\t\treturn TYPE;\n\t}",
"private String findTypeName(byte selectionIndex) {\n\t\tif (selectionIndex == 0) {\n\t\t\tTYPE = WEIGHT_BASED;\n\t\t} else if (selectionIndex == 1) {\n\t\t\tTYPE = ARTICLE_BASED;\n\t\t} else {\n\t\t\tTYPE = MIXED_ARTICLE;\n\t\t}\n\t\treturn TYPE;\n\t}",
"public interface IItemModelSelector {\n\n IStaticModel select(IItemStack data, Map<String, IStaticModel> map);\n}",
"String getModeledType(Object elementID) throws Exception;",
"public String getCutypeMapping();",
"public static final SourceModel.Expr inputMachineType(SourceModel.Expr jMachineType) {\n\t\t\treturn \n\t\t\t\tSourceModel.Expr.Application.make(\n\t\t\t\t\tnew SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.inputMachineType), jMachineType});\n\t\t}",
"@RequestMapping(value = \"food/type\", method = RequestMethod.POST)\n\tpublic String findByType(HttpServletRequest request, Map<String, Object> model) throws JsonProcessingException {\n\t\tList<Food> foods = foodService.findAll();\n\t\tif (request.getParameter(\"type\").equals(\"ALL\")) {\n\t\t\tmodel.put(\"foods\", foodService.findAll());\n\t\t} else {\n\t\t\tmodel.put(\"foods\", foodService.findByType(request.getParameter(\"type\")));\n\t\t}\n\t\tmodel.put(\"types\", Food.TYPE.values());\n\t\tmodel.put(\"qualities\", Food.QUALITY.values());\n\t\tmodel.put(\"qualitycounts\", mapper.writeValueAsString(foodService.qualityCounts(foods)));\n\t\treturn \"index\";\n\n\t}",
"@Override final protected Class<?>[] getInputTypes() { return this.InputTypes; }",
"com.google.cloud.vision.v1p3beta1.Feature.Type getType();",
"public abstract KnockType getKnockType();",
"public Class getType();",
"public int getType();",
"public int getType();",
"public int getType();",
"public int getType();",
"public int getType();",
"org.tensorflow.proto.framework.FullTypeId getTypeId();",
"public SelectorType getType() {\r\n\t\treturn type;\r\n\t}",
"IFMLModel createIFMLModel();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();",
"String getType();"
]
| [
"0.5769398",
"0.5672151",
"0.56395155",
"0.5595773",
"0.55046487",
"0.5373475",
"0.52889615",
"0.52371347",
"0.52125895",
"0.51671135",
"0.51048416",
"0.50707126",
"0.5048714",
"0.50302255",
"0.5029941",
"0.49580818",
"0.49497417",
"0.4926942",
"0.49112985",
"0.4905777",
"0.4883946",
"0.48350936",
"0.48286775",
"0.48113543",
"0.48070335",
"0.4797321",
"0.47711033",
"0.4764096",
"0.47526455",
"0.47440705",
"0.47321144",
"0.4731084",
"0.47125646",
"0.4711634",
"0.47058535",
"0.4704475",
"0.4700983",
"0.46937466",
"0.46873936",
"0.46850672",
"0.4645354",
"0.46299964",
"0.46298444",
"0.46279347",
"0.46206817",
"0.46116602",
"0.45963043",
"0.45942873",
"0.4593617",
"0.45928374",
"0.45857427",
"0.4573515",
"0.4569935",
"0.45656154",
"0.45472303",
"0.45460832",
"0.45391205",
"0.45359132",
"0.4532864",
"0.4532864",
"0.4532864",
"0.4532864",
"0.4532864",
"0.4532864",
"0.4532864",
"0.4532864",
"0.45313525",
"0.45313525",
"0.45313525",
"0.45298758",
"0.4529439",
"0.4526844",
"0.45255852",
"0.4512905",
"0.45123008",
"0.45108113",
"0.45108113",
"0.44997996",
"0.44991916",
"0.4482332",
"0.44811848",
"0.44740954",
"0.447145",
"0.44709662",
"0.4468149",
"0.44654703",
"0.44406828",
"0.44406828",
"0.44406828",
"0.44406828",
"0.44406828",
"0.44384807",
"0.44350633",
"0.4416405",
"0.44149727",
"0.44149727",
"0.44149727",
"0.44149727",
"0.44149727",
"0.44149727"
]
| 0.71754545 | 0 |
Uneeded method stubs from interface, ignored if called in model. Only want to print the required log output. | @Override
public void settings() {
// TODO Auto-generated method stub
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void log()\n {\n }",
"public void interfaceMethod() {\n\t\tSystem.out.println(\"overriden method from interface\");\t\t\r\n\t}",
"@Override\n public void logs() {\n \n }",
"public void doLog() {\n SelfInvokeTestService self = (SelfInvokeTestService)context.getBean(\"selfInvokeTestService\");\n self.selfLog();\n //selfLog();\n }",
"static void print() {\n\t\tSystem.out.println(\"Interface1 print\");\n\t}",
"private void display3(){\n\t\tSystem.out.println(\"Private Method inside interface\");\n\t}",
"public void myExtraMethod_login() {\n\tSystem.out.println(\"this is my method that i added to this class and not from interface. This is login\");\n}",
"public void doGeneralThings() {\n logger.debug(\"Overrided or implememted method - doGeneralThings!\");\n }",
"public void callmetoo(){\r\n\tSystem.out.println(\"This is a concrete method\");\r\n\t}",
"public void method_1()\n {\n System.out.println(\"Interface method.\");\n }",
"protected MethodCallPrinter()\n {\n }",
"private static void printFunctionCalls() {\n dvm.printFunctionCalls();\n }",
"public interface ILog {\n void print(LogLevel logLevel, String tag, String msg, long tid);\n}",
"public interface ILog {\n\n /**\n * Send an information level log message, used by time-related log.\n *\n * @param tag Used to identify the source of a log message. It usually identifies\n * the class or activity where the log call occurs.\n * @param msg The message you would like logged.\n */\n void info(String tag, String msg);\n\n\n /**\n * Send an warning level log message, used by exception-related log.\n *\n * @param tag Used to identify the source of a log message. It usually identifies\n * the class or activity where the log call occurs.\n * @param msg The message you would like logged.\n */\n void warn(String tag, String msg);\n}",
"@Override\n\tpublic void print() {\n\t\tInterfaceA.super.print();\n\t}",
"public interface PrintReciepts {\r\n public void printReciept();\r\n public void printRefund();\r\n}",
"public void logData(){\n }",
"private void withMethodBody(){\n\t\tSystem.out.print(\"This is without abstract \");\n\t\t}",
"default void display1(){\n\t\tSystem.out.println(\"Default Method inside interface\");\n\t}",
"public interface Log {\n\n void sql(Object o);\n\n void log(Object o);\n\n void warn(Object o);\n\n void error(Exception e);\n\n Log print(String... string);\n\n Log println(String... string);\n\n void println(Object... objects);\n\n void print(Object... objects);\n\n void front(String front);\n\n void behind(String behind);\n}",
"default void defaultMethod() {\n System.out.println(\"from InterfaceA, default method...\");\n }",
"public void method() {\n\t\t\r\n\t\t\r\n\t\tnew Inter() {\t\t\t\t\t\t\t//实现Inter接口\r\n\t\t\tpublic void print() {\t\t\t\t//重写抽象方法\r\n\t\t\t\tSystem.out.println(\"print\");\r\n\t\t\t}\r\n\t\t}.print();\r\n\t\t\r\n\t\t\r\n\t}",
"public interface MessageOutput {\n\n /**\n * Log the debug message.\n */\n void println(String message);\n}",
"public interface Log {\n\n /**\n * This is a method description.\n *\n * <p>Another description after blank line.\n *\n * @param handler 添加handler.\n * @author admin\n */\n default void addHandler(Handler handler) {\n //\n }\n\n /**\n * This is a method description.\n *\n * <p>Another description after blank line.\n *\n * @param newLevel 设置日志级别.\n * @throws SecurityException 抛出安全异常.\n * @author admin\n */\n default void setLevel(final Level newLevel) throws SecurityException {\n //\n }\n\n /**\n * 信息日志.\n *\n * <p>Another description after blank line.\n *\n * @param message 日志消息.\n * @param args 日志消息格式化填充对象.\n * @author admin\n */\n void info(final String message, final Object... args);\n\n /**\n * This is a method description.\n *\n * <p>Another description after blank line.\n *\n * @param message 日志消息.\n * @author admin\n */\n void info(final String message);\n\n /**\n * 详细日志.\n *\n * <p>Another description after blank line.\n *\n * @param message 日志消息.\n * @param args 日志消息格式化填充对象.\n * @author admin\n */\n void debug(final String message, final Object... args);\n\n /**\n * This is a method description.\n *\n * <p>Another description after blank line.\n *\n * @param message 日志消息.\n * @author admin\n */\n void debug(final String message);\n\n /**\n * 较详细日志.\n *\n * <p>Another description after blank line.\n *\n * @param message 日志消息.\n * @param args 日志消息格式化填充对象.\n * @author admin\n */\n void trace(final String message, final Object... args);\n\n /**\n * 较详细日志.\n *\n * <p>Another description after blank line.\n *\n * @param message 日志消息.\n * @author admin\n */\n void trace(final String message);\n\n /**\n * 警告日志.\n *\n * <p>Another description after blank line.\n *\n * @param message 日志消息.\n * @param args 日志消息格式化填充对象.\n * @author admin\n */\n void warn(final String message, final Object... args);\n\n /**\n * 较详细日志.\n *\n * <p>Another description after blank line.\n *\n * @param message 日志消息.\n * @author admin\n */\n void warn(final String message);\n\n /**\n * 严重日志.\n *\n * <p>Another description after blank line.\n *\n * @param message 日志消息.\n * @param args 日志消息格式化填充对象.\n * @author admin\n */\n void error(final String message, final Object... args);\n\n /**\n * 较详细日志.\n *\n * <p>Another description after blank line.\n *\n * @param message 日志消息.\n * @author admin\n */\n void error(final String message);\n\n /**\n * 致命错误日志.\n *\n * <p>Another description after blank line.\n *\n * @param message 日志消息.\n * @param args 日志消息格式化填充对象.\n * @author admin\n */\n void fatal(final String message, final Object... args);\n\n /**\n * 致命错误日志.\n *\n * <p>Another description after blank line.\n *\n * @param message 日志消息.\n * @author admin\n */\n void fatal(final String message);\n\n /**\n * This is a method description.\n *\n * <p>Another description after blank line.\n *\n * @param args 日志传递进来的参数.\n * @param message 日志消息.\n * @author admin\n */\n default void off(final String message, final Object... args) {\n //\n }\n\n /**\n * This is a method description.\n *\n * <p>Another description after blank line.\n *\n * @param message 日志消息.\n * @author admin\n */\n default void off(final String message) {\n //\n }\n\n /**\n * This is a method description.\n *\n * <p>Another description after blank line.\n *\n * @param args 日志传递进来的参数.\n * @param message 日志消息.\n * @author admin\n */\n default void all(final String message, final Object... args) {\n //\n }\n\n /**\n * This is a method description.\n *\n * <p>Another description after blank line.\n *\n * @param message 日志消息.\n * @author admin\n */\n default void all(final String message) {\n //\n }\n\n /**\n * This is a method description.\n *\n * <p>Another description after blank line.\n *\n * @param args 日志传递进来的参数.\n * @param message 日志消息.\n * @author admin\n */\n default void config(final String message, final Object... args) {\n //\n }\n\n /**\n * This is a method description.\n *\n * <p>Another description after blank line.\n *\n * @param message 日志消息.\n * @author admin\n */\n default void config(final String message) {\n //\n }\n\n /**\n * This is a method description.\n *\n * <p>Another description after blank line.\n *\n * @return 是否开启调试.\n * @author admin\n */\n default boolean isDebugEnabled() {\n return false;\n }\n\n /**\n * This is a method description.\n *\n * <p>Another description after blank line.\n *\n * @return 是否开启Info.\n * @author admin\n */\n default boolean isInfoEnabled() {\n return false;\n }\n\n /**\n * This is a method description.\n *\n * <p>Another description after blank line.\n *\n * @return 是否开启Warn.\n * @author admin\n */\n default boolean isWarnEnabled() {\n return false;\n }\n}",
"protected void logNonVerbose(StringWriter writer) {\n writeInvocation(perfromedInvocations.get(perfromedInvocations.size() - 1), writer);\n\n // log human consumable trace of activity ids and names\n List<Map<String, String>> activityTrace = collectActivityTrace();\n logActivityTrace(writer, activityTrace);\n }",
"@Override\n public void print() {\n }",
"public interface RpcLogger {\n\n\t/**\n\t * Logger a single RPC call.\n\t * \n\t * @param client the initiator of the RPC call.\n\t * @param server the server of the RPC all.\n\t * @param signature the service method called.\n\t * @param request protobuf.\n\t * @param response protobuf.\n\t * @param errorMessage if an error was signaled\n\t * @param correlationId the correlationId.\n\t * @param requestTS the timestamp of request.\n\t * @param responseTS the timestamp of the response.\n\t */\n\tpublic void logCall( PeerInfo client, PeerInfo server, String signature, Message request, Message response, String errorMessage, int correlationId, long requestTS, long responseTS );\n\n\t/**\n\t * Logger the receipt or sending of an OobResponse.\n\t * @param client\n\t * @param server\n\t * @param signature\n\t * @param message\n\t * @param correlationId\n\t * @param eventTS\n\t */\n\tpublic void logOobResponse( PeerInfo client, PeerInfo server, Message message, String signature, int correlationId, long eventTS );\n\t\n\t/**\n\t * Logger the receipt or sending of an OobMessage.\n\t * @param client\n\t * @param server\n\t * @param message\n\t * @param eventTS\n\t */\n\tpublic void logOobMessage( PeerInfo client, PeerInfo server, Message message, long eventTS );\n\n}",
"public interface Log {\n void debug(String msg, Object... args);\n\n void info(String msg, Object... args);\n\n void warn(String msg, Object... args);\n}",
"public interface IPrint {\n\n void print();\n\n}",
"private void tryToLog(Object proxy, long timeStart, Method method, Object[] args) {\n if (DynamicProxyUtil.LOGGER_ON) {\n long timeStop = System.nanoTime();\n System.out.println(String.format(OUTPUT_FORMAT, timeStop - timeStart, proxy.getClass().getName(),\n PROXIED_OBJECT.getClass().getName() + \"#\" + method.getName(), Arrays.toString(args).replaceAll(\"\\n\",\"\").trim()));\n }\n }",
"public interface ILog {\n /**\n * 打印日志\n * @param L 虚拟机地址,可通过 {@link org.luaj.vm2.Globals#getGlobalsByLState(long)}获取\n */\n void l(long L, String tag, String log);\n\n /**\n * 打印错误日志\n * @param L 虚拟机地址,可通过 {@link org.luaj.vm2.Globals#getGlobalsByLState(long)}获取\n */\n void e(long L, String tag, String log);\n}",
"void printHellow() {\n logger.debug(\"hellow world begin....\");\n logger.info(\"it's a info message\");\n logger.warn(\"it's a warning message\");\n loggerTest.warn(\"from test1 :....\");\n loggerTest.info(\"info from test1 :....\");\n\n // print internal state\n LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory();\n StatusPrinter.print(lc);\n }",
"public interface Reportable {\n /**\n * takes list of equipment from storage\n * and prints it to the console + edit it in appropriate way\n * @param unit list of equipment\n */\n void printReport(Object unit);\n}",
"void log();",
"public abstract int trace();",
"@Override\r\n\tpublic void print() {\n\t}",
"@Override\r\n\tprotected void abstractMethod() {\n\t\tSystem.out.println(\"I'm from the abstract method\");\r\n\t}",
"protected void interfaceMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream)\n {\n this.symbolTable = symbolTable;\n this.m = m;\n this.stream = stream;\n if (m.comment () != null)\n m.comment ().generate (\" \", stream);\n stream.print (\" \");\n writeMethodSignature ();\n stream.println (\";\");\n }",
"public abstract void logKenaiUsage(Object... parameters);",
"@Override\r\n\tpublic void report() {\r\n\t}",
"public interface OperationLog {\n\t/**\n\t * logTransactionStart method - This method is used log the transaction\n\t * start. The client id and request id is used by the NDC feature of log4j\n\t * to track message for the transaction.\n\t * \n\t * @param aClientId\n\t * @param aRequestId\n\t */\n\tpublic void logTransactionStart(final String aClientId,\n\t\t\tfinal String aRequestId);\n\n\t/**\n\t * logTransactionEnd method - This method is used to log the end of the\n\t * transaction\n\t */\n\tpublic void logTransactionEnd();\n\n\tpublic void info(String message);\n\n\tpublic void error(String message, Exception e);\n\n\tpublic void logMethodStart(String methodName);\n\n}",
"@Override\r\n\tvoid indicators() {\n\t\tSystem.out.println(\"general indicators\");\r\n\t}",
"@Override\n public void log(String message) {\n }",
"public void Log(String str) {\n System.out.println(\"void method\" + \" => \" + str);\n }",
"@Override\n\tpublic void sal() {\n\t\tSystem.out.println(\"This is implemnts from HomePackage Interface.\");\n\t\t\n\t}",
"@Override\n\tpublic void method4() {\n\t\tSystem.out.println(\"Hello from MyInterface1 method4() \");\n\t}",
"public void printInfo(){\n\t}",
"public void printInfo(){\n\t}",
"public static void display2(){\n\t\tSystem.out.println(\"Static Method inside interface\");\n\t}",
"static void takeSelfie() {\n\t\tSystem.out.println(\"I am defined static method of TakesScreenshot interface\");\n\t}",
"abstract public void printInfo();",
"void log() {\n\t\tm_drivetrain.log();\n\t\tm_forklift.log();\n\t}",
"public static void printInfo(){\n }",
"public void printRecipt(){\n\n }",
"abstract protected void _log(Snapshot snapshot) throws Exception;",
"@Override\n\tpublic void print() {\n\n\t}",
"public LogScrap() {\n\t\tconsumer = bin->Conveyor.LOG.debug(\"{}\",bin);\n\t}",
"@Override\r\n\t\t\tpublic void reporte() {\n\r\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}",
"@Override\r\n\t\t\tpublic void debug(String arg) {\n\t\t\t\t\r\n\t\t\t}",
"@Before(\"execution(* com.dav.mybatis.controller..*.*(..))\")\n public synchronized void logMethodAccessBefore(JoinPoint joinPoint) {\n log.info(\"***** Starting: \" + joinPoint.getSignature().getName() + \" *****\");\n }",
"@Override\n\tpublic void showInfo() {\n\t\tSystem.out.println(\"Machine Interface \" + id);\n\t}",
"public static final void info(@org.jetbrains.annotations.NotNull org.jetbrains.anko.AnkoLogger r4, @org.jetbrains.annotations.Nullable java.lang.Object r5, @org.jetbrains.annotations.Nullable java.lang.Throwable r6) {\n /*\n r3 = \"$receiver\";\n kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(r4, r3);\n r0 = 4;\n r2 = r4.getLoggerTag();\n r3 = android.util.Log.isLoggable(r2, r0);\n if (r3 == 0) goto L_0x0025;\n L_0x0011:\n if (r6 == 0) goto L_0x002a;\n L_0x0013:\n if (r5 == 0) goto L_0x0026;\n L_0x0015:\n r3 = r5.toString();\n if (r3 == 0) goto L_0x0026;\n L_0x001b:\n r6 = (java.lang.Throwable) r6;\n r3 = (java.lang.String) r3;\n r1 = r2;\n r1 = (java.lang.String) r1;\n android.util.Log.i(r1, r3, r6);\n L_0x0025:\n return;\n L_0x0026:\n r3 = \"null\";\n goto L_0x001b;\n L_0x002a:\n if (r5 == 0) goto L_0x003b;\n L_0x002c:\n r3 = r5.toString();\n if (r3 == 0) goto L_0x003b;\n L_0x0032:\n r3 = (java.lang.String) r3;\n r1 = r2;\n r1 = (java.lang.String) r1;\n android.util.Log.i(r1, r3);\n goto L_0x0025;\n L_0x003b:\n r3 = \"null\";\n goto L_0x0032;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: org.jetbrains.anko.Logging.info(org.jetbrains.anko.AnkoLogger, java.lang.Object, java.lang.Throwable):void\");\n }",
"@Override\n\t\t\tpublic void print() {\n\t\t\t\t\n\t\t\t}",
"public void printYourself(){\n\t}",
"public void print()\r\n\t{\r\n\t\tSystem.out.println(\"Method name: \" + name);\r\n\t\tSystem.out.println(\"Return type: \" + returnType);\r\n\t\tSystem.out.println(\"Modifiers: \" + modifiers);\r\n\r\n\t\tif(exceptions != null)\r\n\t\t{\r\n\t\t\tSystem.out.print(\"Exceptions: \" + exceptions[0]);\r\n\t\t\tfor(int i = 1; i < exceptions.length; i++)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\", \" + exceptions[i]);\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Exceptions: none\");\r\n\t\t}\r\n\r\n\t\tif(parameters != null)\r\n\t\t{\r\n\t\t\tSystem.out.print(\"Parameters: \" + parameters[0]);\r\n\t\t\tfor(int i = 1; i < parameters.length; i++)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.print(\", \" + parameters[i]);\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Parameters: none\");\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println();\r\n\t}",
"private void doIt() {\n\t\tlogger.debug(\"hellow this is the first time I use Logback\");\n\t\t\n\t}",
"public interface InterfacePrint {\n public abstract void printWeak();\n\n public abstract void printStrong();\n}",
"public void hello(){\n\t\tSystem.out.println(\"hello Interface\\n\");\n\t}",
"private void logUser() {\n }",
"interface Printable{\n void print();\n}",
"@Override\n\tpublic void print() {\n\t\t\n\t}",
"protected void logVerbose(StringWriter writer) {\n Collections.reverse(perfromedInvocations);\n for (AtomicOperationInvocation invocation : perfromedInvocations) {\n writeInvocation(invocation, writer);\n }\n }",
"public interface PrintServiceIspGood\n{\n public void print();\n}",
"public void viewLogs() {\n\t}",
"@Override\n\tpublic Object invoke(Object proxy, Method method, Object[] args)\n\t\t\tthrows Throwable {\n\t\tSystem.out.println(\"before log\");\n\t\tObject o = method.invoke(target, args);\n\t\tSystem.out.println(\"after log\");\n\t\treturn o;\n\t}",
"public interface Printable {\n void print();\n}",
"@SuppressWarnings(\"unchecked\")\n @Test\n public void testLogMethodEntrance() throws Exception {\n ByteArrayOutputStream byteStream = new ByteArrayOutputStream();\n Constructor privateCtor = BasicLog.class.getDeclaredConstructor(String.class, PrintStream.class);\n privateCtor.setAccessible(true);\n Log log = (Log) privateCtor.newInstance(\"name\", new PrintStream(byteStream));\n Helper.logMethodEntrance(\"method\", log, new Date());\n String out = byteStream.toString();\n assertTrue(\"Should contain 'Entering method: '.\", out.indexOf(\"Entering method: \") != -1);\n }",
"public interface Logger {\n public void writeLog();\n}",
"@Override\n public boolean clientGenerated(Interface interfaze, TopLevelClass topLevelClass,\n IntrospectedTable introspectedTable) {\n Map<String, Method> methodMap = new HashMap<>(interfaze.getMethods().size());\n for (Method method : interfaze.getMethods()) {\n if (!ignoreMethods.contains(method.getName())) {\n methodMap.put(method.getName(), method);\n }\n }\n interfaze.getMethods().clear();\n interfaze.getMethods().addAll(methodMap.values());\n return super.clientGenerated(interfaze, topLevelClass, introspectedTable);\n }",
"@Before(\"pointCut()\")\r\n\t@Override\r\n\tpublic void beforeMethod(JoinPoint joinpoint) {\n\t\tSystem.out.println(joinpoint.getSignature().getName() + \"方法名\");\r\n\t}",
"@Override\n\tpublic void method() {\n\t\tSystem.out.println(\"这是第三个实现\");\n\t}",
"private void log(String methodName, RemoteException re) {\n this.log(methodName + \" failed due to \" + re.getClass().getName() + \n \": \" + re.getMessage());\n }",
"public interface LogViewer {\n\n\t/**\n\t * General application info.\n\t * @param text\n\t */\n\tvoid info(String text);\n\t\n\t/**\n\t * General error info.\n\t * @param text\n\t */\n\tvoid err(String text);\n\t\n\t/**\n\t * Info related to GA.\n\t * @param text\n\t */\n\tvoid gaInfo(String text);\n\t\n\t/**\n\t * Info related to ANTS.\n\t * @param text\n\t */\n\tvoid antsInfo(String text);\n\t\n\t/**\n\t * Info related to BA.\n\t * @param text\n\t */\n\tvoid baInfo(String text);\n}",
"@Override\n public void log(Class<?> clazz, String message,Object... bizObjects) {\n Logger.i(clazz.getSimpleName(),message);\n }",
"public interface Printable {\n\tvoid print();\n}",
"static String invokingMethod(ContributionDef def)\n {\n return MESSAGES.format(\"invoking-method\", def);\n }",
"abstract void initiateLog();",
"static void takeSelfie() {\n\t\t\tSystem.out.println(\"I am defined static method of TakesScreenshot interface\");\n\t\t}",
"abstract protected void _log(TrackingActivity activity) throws Exception;",
"protected void starting(Description description) {\n logger.info(\"=== Test [\" + description.getMethodName() + \"] =========\");\n System.out.println(\"=== Test [\" + description.getMethodName() + \"] =========\");\n }",
"protected void log(Object msg) {\n\t\n\t\tSystem.out.println(\"MusicDataAccessor: \" + msg);\n\t}",
"void methodA() {\n\t\tSystem.out.println(\"Method A\");\n\t}",
"public void dobefore(JoinPoint jp) {\r\n\t\t\r\n\t\tstartTime = System.currentTimeMillis();// captures the start time of the method call\r\n\t\tString time = \"started: \" + startTime;\r\n\t\t// System.out.println(\"\" + jp.toString().getClass().getName());\r\n\t\tString signature = \"methodSignature: \" + jp.getSignature();\r\n\t\tString name = \"methodName: \"+ jp.getSignature().getName();\r\n\t\t// System.out.println(\"The proxy Object is \" + jp.getThis().getClass());\r\n\t\tString targetClass = \"targetClass: \"\r\n\t\t\t\t+ jp.getTarget().getClass().getName();\r\n\t\tmethodlog = name ;\r\n\t\tmethodlog += \",\" + signature + \",\"+ time\t+ \",\"+ targetClass +\",\";\r\n\t}",
"@Override\n public Object intercept(MyInvocation invocation) throws Throwable {\n System.out.println(invocation);\n System.out.println(\"==============\");\n return invocation.proceed();\n }",
"public static final void verbose(@org.jetbrains.annotations.NotNull org.jetbrains.anko.AnkoLogger r4, @org.jetbrains.annotations.Nullable java.lang.Object r5, @org.jetbrains.annotations.Nullable java.lang.Throwable r6) {\n /*\n r3 = \"$receiver\";\n kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(r4, r3);\n r0 = 2;\n r2 = r4.getLoggerTag();\n r3 = android.util.Log.isLoggable(r2, r0);\n if (r3 == 0) goto L_0x0025;\n L_0x0011:\n if (r6 == 0) goto L_0x002a;\n L_0x0013:\n if (r5 == 0) goto L_0x0026;\n L_0x0015:\n r3 = r5.toString();\n if (r3 == 0) goto L_0x0026;\n L_0x001b:\n r6 = (java.lang.Throwable) r6;\n r3 = (java.lang.String) r3;\n r1 = r2;\n r1 = (java.lang.String) r1;\n android.util.Log.v(r1, r3, r6);\n L_0x0025:\n return;\n L_0x0026:\n r3 = \"null\";\n goto L_0x001b;\n L_0x002a:\n if (r5 == 0) goto L_0x003b;\n L_0x002c:\n r3 = r5.toString();\n if (r3 == 0) goto L_0x003b;\n L_0x0032:\n r3 = (java.lang.String) r3;\n r1 = r2;\n r1 = (java.lang.String) r1;\n android.util.Log.v(r1, r3);\n goto L_0x0025;\n L_0x003b:\n r3 = \"null\";\n goto L_0x0032;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: org.jetbrains.anko.Logging.verbose(org.jetbrains.anko.AnkoLogger, java.lang.Object, java.lang.Throwable):void\");\n }",
"public void calling(){ // when the abstract method is implemented in other class 'public' keyword is used..\r\n System.out.println(\"I am calling...\");\r\n }",
"public void debug() {\n\n }",
"private static void _logInfo ()\n {\n System.err.println (\"Logging is enabled using \" + log.getClass ().getName ());\n }",
"public interface Printable {\n public String printInstance();\n}"
]
| [
"0.67438924",
"0.66074175",
"0.6353931",
"0.63251364",
"0.6234315",
"0.6200449",
"0.61851203",
"0.613724",
"0.607611",
"0.6051734",
"0.60394895",
"0.60072255",
"0.5980029",
"0.5977749",
"0.59423083",
"0.59255004",
"0.59249693",
"0.5921157",
"0.59200186",
"0.5909829",
"0.5909087",
"0.58903563",
"0.58878314",
"0.5885333",
"0.5858095",
"0.5815116",
"0.581505",
"0.5812117",
"0.58093107",
"0.5799548",
"0.5759011",
"0.57501054",
"0.57449234",
"0.5743477",
"0.571452",
"0.5714286",
"0.56949043",
"0.5694294",
"0.568935",
"0.5687903",
"0.56628466",
"0.5659615",
"0.5652038",
"0.56489617",
"0.5632737",
"0.5627397",
"0.56252396",
"0.56252396",
"0.56207025",
"0.5617748",
"0.56098396",
"0.56076944",
"0.56067973",
"0.5605144",
"0.5604658",
"0.5599549",
"0.5598009",
"0.5592194",
"0.55902857",
"0.55888486",
"0.5586716",
"0.55814654",
"0.5576514",
"0.5575897",
"0.5573327",
"0.55603045",
"0.55475444",
"0.5546135",
"0.5543753",
"0.55387163",
"0.5534727",
"0.5533441",
"0.5526529",
"0.5525867",
"0.55248255",
"0.55229604",
"0.5517108",
"0.5511681",
"0.5511114",
"0.5509304",
"0.550448",
"0.55042535",
"0.5497844",
"0.54939777",
"0.5491695",
"0.5486802",
"0.54859173",
"0.54844207",
"0.5482609",
"0.54812497",
"0.5478127",
"0.5473707",
"0.54680383",
"0.5466486",
"0.5464592",
"0.54640496",
"0.5460426",
"0.54416025",
"0.54402804",
"0.5439202",
"0.54347503"
]
| 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void logs() {
} | {
"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 inputTypeChange(ModelInputTypes m) {
} | {
"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.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
"0.6076905",
"0.6041205",
"0.6024897",
"0.60200036",
"0.59985113",
"0.5967729",
"0.5967729",
"0.5965808",
"0.5949083",
"0.5941002",
"0.59236866",
"0.5909713",
"0.59030116",
"0.589475",
"0.58857024",
"0.58837134",
"0.586915",
"0.58575684",
"0.5850424",
"0.5847001",
"0.5824116",
"0.5810248",
"0.5809659",
"0.58069366",
"0.58069366",
"0.5800507",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.57900196",
"0.5790005",
"0.578691",
"0.578416",
"0.578416",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5761079",
"0.57592577",
"0.57592577",
"0.5749888",
"0.5749888",
"0.5749888",
"0.5748457",
"0.5733414",
"0.5733414",
"0.5733414",
"0.57209575",
"0.57154554",
"0.57149583",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.571194",
"0.57043016",
"0.56993437",
"0.5696782",
"0.5687825",
"0.5677794",
"0.5673577",
"0.5672046",
"0.5669512",
"0.5661156",
"0.56579345",
"0.5655569",
"0.5655569",
"0.5655569",
"0.56546396",
"0.56543446",
"0.5653163",
"0.56502634"
]
| 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void setFile(File f) {
} | {
"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 closeWindow() {
} | {
"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 soundSourceDegreesUpdate(int selectedItem) {
} | {
"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 closeSettings() {
} | {
"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.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
"0.6076905",
"0.6041205",
"0.6024897",
"0.60200036",
"0.59985113",
"0.5967729",
"0.5967729",
"0.5965808",
"0.5949083",
"0.5941002",
"0.59236866",
"0.5909713",
"0.59030116",
"0.589475",
"0.58857024",
"0.58837134",
"0.586915",
"0.58575684",
"0.5850424",
"0.5847001",
"0.5824116",
"0.5810248",
"0.5809659",
"0.58069366",
"0.58069366",
"0.5800507",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.57900196",
"0.5790005",
"0.578691",
"0.578416",
"0.578416",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5761079",
"0.57592577",
"0.57592577",
"0.5749888",
"0.5749888",
"0.5749888",
"0.5748457",
"0.5733414",
"0.5733414",
"0.5733414",
"0.57209575",
"0.57154554",
"0.57149583",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.571194",
"0.57043016",
"0.56993437",
"0.5696782",
"0.5687825",
"0.5677794",
"0.5673577",
"0.5672046",
"0.5669512",
"0.5661156",
"0.56579345",
"0.5655569",
"0.5655569",
"0.5655569",
"0.56546396",
"0.56543446",
"0.5653163",
"0.56502634"
]
| 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void terminateProgram() {
} | {
"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 closeLog() {
} | {
"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 |
Helper method which creates three tabs, one for basic test parameter, one for the standard output and one for standard error. | protected String createBasicTestData() {
BaseSignatureTestData baseData = baseTestInfo.getBaseTestData();
String basicParameterBody = createBasicParameterRepresentation(baseData);
StringBuilder basicTestDataPanel = new StringBuilder();
basicTestDataPanel
.append("<ul id=\"tabs\" class=\"nav nav-tabs\" data-tabs=\"tabs\">");
basicTestDataPanel
.append("<li class=\"active\"><a href=\"#basic-parameters\" "
+ "data-toggle=\"tab\">Basic parameters</a></li>");
basicTestDataPanel
.append("<li><a href=\"#std-out\" data-toggle=\"tab\">Standard output</a></li>");
basicTestDataPanel
.append("<li><a href=\"#std-err\" data-toggle=\"tab\">Standard error</a></li>");
basicTestDataPanel.append("</ul>");
basicTestDataPanel
.append("<div id=\"my-tab-content\" class=\"tab-content\">");
basicTestDataPanel
.append("<div class=\"tab-pane active\" id=\"basic-parameters\">");
basicTestDataPanel.append(basicParameterBody);
basicTestDataPanel.append("</div>");
basicTestDataPanel.append("<div class=\"tab-pane\" id=\"std-out\">");
basicTestDataPanel.append("<pre class=\"pre-scrollable\">"
+ baseTestInfo.getStdOut() + "</pre>");
basicTestDataPanel.append("</div>");
basicTestDataPanel.append("<div class=\"tab-pane\" id=\"std-err\">");
basicTestDataPanel.append("<pre class=\"pre-scrollable\">"
+ baseTestInfo.getStdErr() + "</pre>");
basicTestDataPanel.append("</div>");
basicTestDataPanel.append("</div>");
return basicTestDataPanel.toString();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void printTestList()\n {\n print(\"\");\n print(SECTION_DIVIDER);\n print(\"Press <1> to Display Main Video Output Port\");\n print(\"Press <2> to Display All Video Output Configurations\");\n print(\"Press <3> to Change Main Video Configuration with Listener\");\n print(\"Press <INFO> Display Test Options\");\n }",
"private void tabPrinter() {\n IntStream.range(0, tabs).forEach(i -> writer.print(\" \"));\n }",
"void createdOutput(TestResult tr, Section section, String outputName);",
"private void generateTestExecution(ITestResult result) throws IOException{\r\n\t\t//create the html file with current running class and test name\r\n\t\tfout = createRequiredFile(result.getName());\r\n\t\t\r\n\t\t//Write initial html codes neccessary for report\r\n\t\tstartHtmlPage(fout,result);\r\n\t\t\r\n\t\t//get all the attributes set during the test execution\r\n\t\tObject[] array = result.getAttributeNames().toArray();\r\n\t\t\r\n\t\t//Above got values are not in sort. So, Sorting that based on time\r\n\t\tArrays.sort(array);\r\n\t\t\r\n\t\t//Iterating the array value to generate report\r\n \tfor(Object name : array){\r\n \t\t\t\r\n \t\t\t//Each and every array value contains, All the info about the particular action\r\n \t\t\t//And Values combined using deliminator. So, split using deliminator\r\n\t \t\tString temp[] = result.getAttribute((String) name).toString().split(\"####\");\r\n\t \t\t\r\n\t \t\t//After split up, If the third array value contains 'Fail' means that step failed \r\n\t \t\tif(temp[3].toLowerCase().contains(\"fail\")){\r\n\t \t\t\t//If Fail create '<tr>' tag with 'status_failed' class(Which is used for create 'red' background color for failed cases)\r\n\t \t\t\tfout.println(\"<tr class=\\\"status_failed\\\" title=\\\"\\\" alt=\\\"\\\">\");\r\n\t \t\t\t\r\n\t \t\t\t//create the screenshot path\r\n\t \t\t\tString pathToScreenshot = \"../Failure_Screenshot/\"+temp[5]+\".jpg\";\r\n\t \t\t\t\r\n\t \t\t\t//creating mapping for failed step(Link to screen shot and embed the screenshot in that step)\r\n\t \t\t\ttemp[4] = \"<a href=\\'\" + pathToScreenshot + \"\\'> <img src=\\'\" + pathToScreenshot + \"\\' height=\\\"100\\\" width=\\\"100\\\"> </a>\";\r\n\r\n\t \t\t}\r\n\t \t\t\r\n\t \t\t//After split up, If the third array value contains 'title' means that is title\r\n\t \t\telse if(temp[3].toLowerCase().contains(\"title\")){\r\n\t \t\t\t//So, If it is a title then create '<tr>' tag with class name 'title'\r\n\t \t\t\tfout.println(\"<tr class=\\\"title\\\" title=\\\"\\\" alt=\\\"\\\">\");\r\n\t \t\t\tfout.println(\"<td colspan=\\\"6\\\">\"+ temp[0] + \"</td>\");\r\n\t \t\t\tfout.println(\"</tr>\");\r\n\t \t\t\tcontinue;\r\n\t \t\t}\r\n\t \t\t\r\n\t \t\t//Else status is passed\r\n\t \t\telse{\r\n\t \t\t\tfout.println(\"<tr class=\\\"status_passed\\\" title=\\\"\\\" alt=\\\"\\\">\");\r\n\t \t\t}\r\n\t \t\t\r\n\t \t\t//this will create separate '<td>' for messages inside the action\r\n\t \t\tfor(String temp1 : temp){\r\n\t \t\t\t\tfout.println(\"<td>\"+ temp1 + \"</td>\");\r\n\r\n\t \t\t}\r\n\t \t//end up '<tr>' tag\t\r\n\t \tfout.println(\"</tr>\");\r\n \t}\r\n \t\r\n \t//this used for write some end up html tags\r\n \tonFinish();\r\n \t\r\n\t}",
"@After\n public void tearDown(){\n final String standardOutput = myOut.toString();\n final String standardError = myErr.toString();\n assertEquals(\"You used 'System.out' in your assignment, This is not allowed.\",true, standardOutput.length() == 0);\n assertEquals(\"You used 'System.err' in your assignment, This is not allowed.\",true, standardError.length() == 0);\n System.err.flush();\n System.out.flush();\n System.setOut(new PrintStream(new FileOutputStream(FileDescriptor.out)));\n System.setErr(new PrintStream(new FileOutputStream(FileDescriptor.err)));\n }",
"@Before\n\tpublic void setUpStreams() {\n\t\tSystem.setOut(new PrintStream(outContent));\n\t}",
"public AutomatedTestingTabbedPane()\r\n\t{\r\n\t\tsuper();\r\n\t\t\r\n\t\tthis.setBackground(Constants.WHITE);\r\n\t\tthis.setForeground(Constants.BLUE);\r\n\t\t\r\n\t\tthis.setFont(new Font(\"sans-serif\", Font.PLAIN, 16));\r\n\t\tthis.addTab(\"CXCParticipant\", participantPanel);\r\n\t\tthis.setMnemonicAt(0, KeyEvent.VK_1);\r\n\t\t\r\n\t\tthis.addTab(\"CXCToken\", tokenPanel);\r\n\t\tthis.setMnemonicAt(1, KeyEvent.VK_2);\r\n\t\t\r\n\t\tthis.addTab(\"CXCRecipient\", recipientPanel);\r\n\t\tthis.setMnemonicAt(2, KeyEvent.VK_3);\r\n\t\t\r\n\t\tthis.addTab(\"CXCPayment\", paymentPanel);\r\n\t\tthis.setMnemonicAt(3, KeyEvent.VK_4);\r\n\t\t\r\n\t\tthis.addTab(\"CXCPaymentRequest\", paymentRequestPanel);\r\n\t\tthis.setMnemonicAt(4, KeyEvent.VK_5);\r\n\t\t\r\n//\t\tthis.addTab(\"Export\", exportPanel);\r\n//\t\tthis.setMnemonicAt(5, KeyEvent.VK_6);\r\n\r\n\t}",
"private void createTabs() {\r\n\t\ttabbedPane = new JTabbedPane();\r\n\t\t\r\n\t\t//changes title and status bar \r\n\t\ttabbedPane.addChangeListener((l) -> { \r\n\t\t\tint index = tabbedPane.getSelectedIndex();\r\n\t\t\tif (index < 0) {\r\n\t\t\t\tcurrentFile = \"-\";\r\n\t\t\t} else {\r\n\t\t\t\tcurrentFile = tabbedPane.getToolTipTextAt(index);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif (currentFile.isEmpty()) {\t//file not yet saved\r\n\t\t\t\tcurrentFile = tabbedPane.getTitleAt(tabbedPane.getSelectedIndex());\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tsetTitle(currentFile + \" - JNotepad++\");\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tJTextArea current = getSelectedTextArea();\r\n\t\t\tif (current == null) return;\r\n\t\t\tCaretListener[] listeners = current.getCaretListeners();\r\n\t\t\tlisteners[0].caretUpdate(new CaretEvent(current) {\r\n\t\t\t\t\r\n\t\t\t\t/**\r\n\t\t\t\t * Serial UID.\r\n\t\t\t\t */\r\n\t\t\t\tprivate static final long serialVersionUID = 1L;\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic int getMark() {\r\n\t\t\t\t\treturn 0;\t//not used\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic int getDot() {\r\n\t\t\t\t\treturn current.getCaretPosition();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\t\t\r\n\t\tcreateSingleTab(null, null);\r\n\t\tgetContentPane().add(tabbedPane, BorderLayout.CENTER);\t\r\n\t}",
"@Before\n\tpublic void setUp() throws Exception {\n\t\tSystem.setOut(new PrintStream(out));\n\t\tSystem.setErr(new PrintStream(err));\n\n\t}",
"public static void main(String[] args) {\n int flag = DriverManager.DriverManagers();\n \t Printer print1 = new Printer();\n Test_02 test = new Test_02();\n\n if(flag ==1) {\n \t//Test_02\n \tprint1.printTestCase(\"Test_02 -Verify the login frame title\");\n String title =test.Tests_02();\n String status = test.Status(\"Login\");\n print1.printResult(title, status);\n \n //Test_03\n print1.printTestCase(\"Test_03-Verify the login page title\");\n print1.printResult(DriverManager.actualTitle, \"Test_03 passed\");\n \n //Test_04\n print1.printTestCase(\"Test_04-Verify the company logo is present\");\n String title4=test.Tests_04();\n String status4= test.Status(\"Gatherly\");\n print1.printResult(title4, status4);\n //Test_05\n print1.printTestCase(\"Test_05 Verify that forgot password hyperlink is present and it is redirected to the forgot password page\");\n String title5=test.FindElementbylink(\"Forgot Password?\");\n String status5=test.Status( \"Forgot Password?\");\n print1.printResult(title5, status5,\"Forgot password link is present\");\n test.redirect(\"Forgot Password?\",\"Forgot Password?\");\n \n //Test_06\n print1.printTestCase(\"Test_06- Verify that Follow us on hyperlink is present and it is redirected to the Gatherly facebook page\");\n String title6=test.FindElementbylink(\"Follow Us on\");\n String status6=test.Status(\"Follow Us on\");\n print1.printResult(title6, status6,\"Follow Us on hyperlink is present\");\n test.redirect(\"Follow Us on\",\"Facebook-Login Page\");\n \n //Test_07\n print1.printTestCase(\"Test_07- Verify that take the tour hyper link is present and it is redirected to the Gatherly tour page\");\n String title7=test.FindElementbylink(\"Take the tour\");\n String status7=test.Status(\"Take the tour\");\n print1.printResult(title7, status7,\"Take the tour hyperlink is present\");\n test.redirect(\"Take the tour\",\"Gatherly- Take the tour\");\n \n //Test_08\n print1.printTestCase(\"Test-08 Verify that Join now hyperlink is present and it is redirected to the Gatherly subscription page\");\n String title8= test.FindElementbylink(\"Join now\");\n String status8= test.Status(\"Join now\");\n print1.printResult(title8, status8,\"Join now hyperlink is present\");\n test.redirect(\"Join now\",\"Gatherly-Join now\");\n \n //Test-09\n print1.printTestCase(\"Test_09- Verify the invalid login\");\n test.test_01(\"[email protected]\",\"123456\");\n //Test_01\n print1.printTestCase(\"Test_01- Verify the valid login\");\n test.test_01(\"[email protected]\",\"123456\");\n DriverManager.quit();\n \n }\n else\n { DriverManager.quit();\n print1.quit();\n \n }\n \n \t // print1.printTestCase(\"Test_01- Verify the invalid login\");\n // test.test_01(\"[email protected]\",\"123456\");\n \n\n\t}",
"protected void setUp() throws Exception {\n String workingDir = getWorkDirPath();\n new File(workingDir).mkdirs();\n File outputFile = new File(workingDir + \"/output.txt\");\n outputFile.createNewFile();\n File errorFile = new File(workingDir + \"/error.txt\");\n errorFile.createNewFile();\n PrintWriter outputWriter = new PrintWriter(new FileWriter(outputFile));\n PrintWriter errorWriter = new PrintWriter(new FileWriter(errorFile));\n org.netbeans.jemmy.JemmyProperties.setCurrentOutput(new org.netbeans.jemmy.TestOut(System.in, outputWriter, errorWriter));\n }",
"@Before\n public void setup(){\n output = new TestingOutputInterface();\n mLogic = new Logic(output);\n \n System.err.flush();\n System.out.flush();\n myOut = new ByteArrayOutputStream();\n myErr = new ByteArrayOutputStream();\n System.setOut(new PrintStream(myOut));\n System.setErr(new PrintStream(myErr));\n }",
"private void summarize() {\n System.out.println();\n System.out.println(totalErrors + \" errors found in \" +\n totalTests + \" tests.\");\n }",
"private void summarize() {\n System.out.println();\n System.out.println(totalErrors + \" errors found in \" +\n totalTests + \" tests.\");\n }",
"private String tabulatorString(int level) {\r\n String tabs = \"\";\r\n for (int i = 0; i < level; i++) {\r\n tabs += \"\\t\";\r\n }\r\n return tabs;\r\n }",
"public void printOutput(String [] temp){\n\t\tSystem.out.print(\"\\n\");\n\t\tSystem.out.print(\"LEXEME\\t\\t\\t\\t\\t TOKEN\\n\");\n\t\tString formatline = \"%-40s %-40s %n\";\n\t for(int i = 0; i < temp.length;i++){\n\t System.out.format(formatline, stringCheck[i], temp[i]);\n\t }\n\t \n\t}",
"public static void tstatSheet(){\n\t\tSystem.out.println(\"\\tStats\");\n\t\tSystem.out.println(\"--------------------------\");\n\t\tSystem.out.println(\"Strength - \" + tstr + \"\\tMagic Power - \" + tmag);\n\t\tSystem.out.println(\"Luck - \" + tluc + \" \\tAccuaracy - \" + tacc);\n\t\tSystem.out.println(\"Defense - \" + tdef + \" \\tSpeed - \" + tspe);\n\t\tSystem.out.println(\"Health - \" + tHP + \" \\tMystic Energy - \" + tMP);\n\t}",
"protected void printHelp(PrintStream ps) {\n ps.println();\n ps.println(\"Sets the test environment to point to.\");\n ps.println(\"Usage : setenv <environment>\");\n ps.println(\"Options: oracle - sample oracle env\");\n ps.println(\" p6spy - sample p6spy env\"); \n ps.println(\" hdsq1 - sample hsql env\");\n ps.println();\n }",
"@Before\r\n\tpublic void setUp() { timeslots = new ArrayList<Timeslot>(); timetable = new Timetable(); System.setOut(new PrintStream(outContent)); }",
"public static void runTests(Preferences p) throws InvalidTagFormatException, FileNotFoundException, IOException {\n \n String testCaseFile = p.getTestFile();\n String testingPath = p.getTestPath();\n String resultsFormat = p.getFormat();\n boolean ignoreSpaCap = p.getIgnoreSpaCap();\n boolean removeBlankLines= p.getRemoveBlankLines();\n boolean debug = p.getDebug();\n JTextArea statusTextArea = p.getStatusTextArea();\n ProgramSettings settings= p.getSettings();\n\n // ultimately we need to figure actual OS\n OperatingSystem opSys = new OperatingSystemWindows(); \n \n String tempProgramFileName = settings.getTempProgramFileName();\n String tempInputFileName = settings.getTempInputFileName();\n String tempOutputFileName = settings.getTempOutputFileName();\n // TODO Replace this with actual storage of name in settings\n String tempErrorFileName = settings.getTempOutputFileName();\n int lastPeriod = tempErrorFileName.lastIndexOf(\".\");\n tempErrorFileName = tempErrorFileName.substring(0, lastPeriod) + \"Error$\"\n + tempErrorFileName.substring(lastPeriod);\n String resultsFileName = settings.getResultsFileName();\n \n \n //Ty Carpenter\n //From issue #89, added a new statistic variable to see if the test passes or fails\n //NOCOMP tests don't keep track of statistics, only if the test runs, therefore a variable is need to see if that run fails\n //nocompInTests keeps track to see if there is a single nocomp test so the results prints ALL TESTS RAN\n boolean testsSuccessful = true;\n boolean nocompInTests = false;\n \n int incorrectValues = 0;\n int incorrectText = 0;\n int incorrectSpacing = 0;\n int extraBlankLines = 0;\n int missingBlankLines = 0;\n int canNotRun = 0;\n int executionErrors = 0;\n\n //Brendan Villnave lines 48-51\n //From issue #111 I added the time of testing in military format\n //also tells you the day you tested the file\n Date current = new Date();\n statusTextArea.append(\"Date and time tested: \"+ current + \"\\n\");\n statusTextArea.update(statusTextArea.getGraphics());\n testingPath = testingPath + \"/\";\n statusTextArea.append(\"Test Case File: \" + p.getTestFile() + \"\\n\");\n statusTextArea.update(statusTextArea.getGraphics());\n statusTextArea.append(\"Testing path: \" + testingPath + \"\\n\");\n statusTextArea.update(statusTextArea.getGraphics());\n\n\n List<String> tests = new LinkedList<>();\n List<String> includes = new ArrayList<>();\n //Define Lists for storing information about files tested and whether\n //testes passed or failed.\n List<String> fileNames = new ArrayList<>();\n List<Integer> testsPassed = new ArrayList<>();\n List<Integer> testsApproximate = new ArrayList<>();\n List<Integer> testsRun = new ArrayList<>();\n //new list that stores information about nocompFiles run\n List<Integer> nocompTestsRun = new ArrayList<>();\n \n //Ty Carpenter Issue #89\n //boolean variable if NOCOMP tag is present\n boolean noComp = false;\n \n try {\n PytestFileReader testFile = new PytestFileReader(testCaseFile);\n tests = testFile.getText();\n includes = testFile.getIncludedFiles();\n } catch (Exception ex) {\n statusTextArea.append(\"Can't read test file: \" + testCaseFile + \"\\n\");\n }\n \n //Ty Carpenter Issue #94\n //Finds a Run tag in tests and transforms it into a NOCOMP test tag\n \n for(int i = 0; i < tests.size(); i++)\n {\n \n String possibleRunTag = tests.get(i);\n String upperPossibleRunTag = possibleRunTag.toUpperCase();\n String keepFile = \"\";\n if(upperPossibleRunTag.length() > 10)\n {\n \n String t = upperPossibleRunTag.substring(0, 10);\n \n if(t.equals(\"<RUN CODE=\"))\n {\n \n if(upperPossibleRunTag.substring(upperPossibleRunTag.length()-1,upperPossibleRunTag.length()).equals(\">\") && upperPossibleRunTag.substring(upperPossibleRunTag.length()-2,upperPossibleRunTag.length()-1).equals(\"/\"))\n {\n \n keepFile = possibleRunTag.substring(10, possibleRunTag.length() - 2);\n String newTag = \"<test code=\" + keepFile + \"nocomp>\";\n tests.set(i, newTag);\n tests.add(i+1, \"</test>\");\n }\n }\n }\n \n }\n \n // Process any COPY tags to copy files from the test case folder to\n // the folder under test\n \n String testCasePath = testCaseFile.substring( 0, testCaseFile.lastIndexOf( \"/\"));\n //testCaseFile.substring( 0, testCaseFile.lastIndexOf( \"/\"));\n \n \n for( String line : tests )\n {\n String upper = line.toUpperCase();\n // TODO: Not sure if the test for length is necessary\n // TODO: This is very demanding for spacing, etc.\n if( upper.length() > 13 && upper.startsWith( \"<COPY FILE=\") && upper.endsWith( \"/>\" ) )\n {\n String fileName = line.substring( line.indexOf( \"\\\"\" )+1, line.lastIndexOf( \"\\\"\" ) );\n String sourceFile = testCasePath + \"/\" + fileName;\n String destFile = testingPath + fileName;\n \n if( opSys.copy( sourceFile, destFile ) )\n {\n statusTextArea.append( \"COPIED: \" + fileName + \"\\n\" );\n \n }\n else\n {\n statusTextArea.append( \"*** NOT COPIED ***: \" + fileName + \"\\n\" );\n \n // might want to do something else\n } \n }\n } \n \n FileNameMapper fileNameMapper = \n new FileNameMapper( null, true, tests, testingPath );\n \n if( 0 < fileNameMapper.unknownCount() )\n {\n fileNameMapper.setVisible( true );\n if( !fileNameMapper.okClicked() )\n {\n statusTextArea.append(\"Testing cancelled by user.\");\n return;\n }\n }\n \n List<String> results = new LinkedList<>();\n \n if (!testCaseFile.endsWith(\".pytest\")) {\n statusTextArea.append(\"No tests were run because the Test Case File was not a PYTEST file.\");\n // ?? : statusTextArea.update(statusTextArea.getGraphics()); \n return;\n }\n \n for (String str : includes) {\n if (str.endsWith(\".py\")) {\n statusTextArea.append(\"The tag to include \" + str + \" was ignored because its argument was not a .pytest file.\\n\");\n }\n }\n \n TestTagParser testParser = new TestTagParser(tests);\n RUN_TESTS:\n while (testParser.hasNext()) {\n\n // Step #1 - Read the test case from the file\n TagBlock block = testParser.next();\n String pythonFileName = parseFileArg(block.getArgs(), statusTextArea );\n String userFileName = fileNameMapper.map( pythonFileName ); \n List<String> testData = block.getData();\n //Find out if the file is currently in the List of tested files and\n //if so where.\n int positionInNameList = fileNames.indexOf(pythonFileName);\n if(positionInNameList==-1)\n {\n //Initialize a new element in the Lists for this new .py file.\n fileNames.add(pythonFileName);\n positionInNameList = fileNames.size()-1;\n testsPassed.add(0);\n testsApproximate.add(0);\n nocompTestsRun.add(0);\n testsRun.add(0);\n }\n //Ty Carpenter Issue #89\n //Wherever a statistic is counted (like canNotRun, missingBlankLines, etc>)\n // check to see if there is a NOCOMP tag is present so that statistics are NOT counted in the test results\n //Either way, if there is an error, testsSuccessful becomes false\n try {\n //testPassed start out true and is set to false if the test fails.\n if( userFileName.equals( \"(none)\") )\n {\n boolean testPassed = false;\n if(!hasNoCompArg(block.getArgs()))\n {\n canNotRun++;\n testsSuccessful = false;\n }\n else\n {\n testsSuccessful = false;\n }\n results.add(\"Skipped \" + pythonFileName + \" - NO USER FILE\" );\n results.add( \"\" );\n statusTextArea.append(\"Skipped \" + pythonFileName + \" - NO USER FILE\\n\" );\n statusTextArea.update(statusTextArea.getGraphics());\n }\n else\n {\n boolean testPassed = true;\n boolean testApproximate = true;\n \n if( userFileName.equals( pythonFileName ) )\n {\n results.add(\"Testing \" + pythonFileName + \"...\");\n }\n else\n {\n results.add(\"Testing \" + pythonFileName + \n \" >>> \" + userFileName + \"...\");\n }\n if (true) // TODO should be if (verbose)\n {\n if( userFileName.equals( pythonFileName ) )\n {\n statusTextArea.append(\"Testing \" + pythonFileName + \"...\\n\");\n }\n else\n {\n statusTextArea.append(\"Testing \" + pythonFileName + \" (\" + userFileName + \")...\\n\");\n }\n statusTextArea.update(statusTextArea.getGraphics());\n }\n\n // Step #2 - Modify the student's code\n createModifiedProgram(testingPath, userFileName, tempProgramFileName);\n\n // Step #3 - Create the file with the inputs to the program\n createProgramInputs(testingPath, testData, tempInputFileName);\n\n // Step #4 - Run the student's program\n int rc = PythonExecutor.run(testingPath, tempProgramFileName,\n tempInputFileName,\n tempOutputFileName,\n tempErrorFileName,\n statusTextArea,\n settings);\n\n if( true ) // 0 == rc )\n {\n // Step #5 - Read the results from the output file\n TextFileReader fileIn = new TextFileReader(testingPath + tempOutputFileName);\n List<String> programOutput = fileIn.getText();\n\n if( 0 != rc && !hasNoCompArg(block.getArgs()))\n {\n // programOutput.add( \"EXECUTION ERROR RC=\" + rc );\n // TextFileReader errorIn = new TextFileReader(testingPath + tempErrorFileName);\n // List<String> errorText = errorIn.getText();\n // // Add the last two lines to the program output file, if present\n // if( errorText.size() >= 2 )\n // {\n // programOutput.add( errorText.get( errorText.size() - 2 ) );\n // }\n // if( errorText.size() >= 1 )\n // {\n // programOutput.add( errorText.get( errorText.size() - 1 ) );\n // } \n\n executionErrors++;\n testPassed = false;\n testsSuccessful = false;\n }\n if(0 != rc && hasNoCompArg(block.getArgs()))\n {\n testsSuccessful = false;\n \n }\n\n TextUtilities.removeTrailingBlanks( programOutput );\n\n // Step #6 - Compare the results to the expected values\n // TODO: move these inside the comparitor ??\n testData = InputTagParser.removeInputTags(testData);\n // List<String> outputText = ValueTagParser.removeValueTags( testData );\n \n int width = TextUtilities.maximumLength( programOutput );\n\n \n if (removeBlankLines) {\n while (testData.remove(\"\")) { /*\n * Do Nothing\n */ }\n while (programOutput.remove(\"\")) { /*\n * Do Nothing\n */ }\n }\n \n if (!hasNoCompArg(block.getArgs())) {\n // TODO: Convert to use iterators\n while (0 != testData.size() && 0 != programOutput.size()) {\n String testLine = testData.get(0);\n String progLine = programOutput.get(0);\n\n if (testLine.equals(\"\") && !progLine.equals(\"\")) {\n results.add(\"! missing blank line !\");\n testData.remove(0);\n missingBlankLines++;\n testsSuccessful = false;\n testPassed = false;\n } else if (!testLine.equals(\"\") && progLine.equals(\"\")) {\n results.add(\"! extra blank line !\");\n programOutput.remove(0);\n extraBlankLines++;\n testsSuccessful = false;\n testPassed = false;\n } else {\n TextLineComparator comp =\n new TextLineComparator(testLine, progLine);\n //TODO: Count multiple errors on one line?\n boolean exact = comp.equalsExact();\n boolean approx = comp.equalsSomeWhat();\n\n if (exact) {\n results.add(\"= \" + testLine);\n } else if (approx) {\n if (ignoreSpaCap) {\n results.add(\"~ \" + testLine);\n } else {\n testPassed=false;\n incorrectText++;\n incorrectSpacing++;\n testsSuccessful = false;\n\n if (resultsFormat.equals(\"Sequential\")) {\n results.add(\"~ \" + progLine);\n results.add(\"> \" + ValueTagParser.removeValueTags(testLine));\n } else {\n results.add(\"~ \" + TextUtilities.adjustLength( progLine, width ) + \" >-SHOULD BE-> \"\n + ValueTagParser.removeValueTags(testLine));\n }\n }\n } // else if( comp.equalValues() )\n // {\n // \tresults.add( \"# \" + programOutput.get(i) );\n // results.add( \"> \" + ValueTagParser.removeValueTags(testData.get(i)) );\n // }\n else {\n incorrectText++;\n testsSuccessful = false;\n testPassed = false;\n testApproximate = false;\n if (resultsFormat.equals(\"Sequential\")) {\n results.add(\"X \" + progLine);\n results.add(\"> \" + ValueTagParser.removeValueTags(testLine));\n } else {\n results.add(\"X \" + TextUtilities.adjustLength( progLine, width ) + \" >-SHOULD BE-> \"\n + ValueTagParser.removeValueTags(testLine));\n }\n }\n testData.remove(0);\n programOutput.remove(0);\n }\n }\n while (0 != testData.size()) {\n testApproximate = false;\n testPassed = false;\n if( 0 == rc )\n {\n // Only add this if there was not a python error\n incorrectText++;\n testsSuccessful = false;\n if (resultsFormat.equals(\"Sequential\")) {\n results.add(\"X **NO*OUTPUT*LINE**\");\n results.add(\"> \" + ValueTagParser.removeValueTags(testData.get(0)));\n } else {\n results.add(\"X \" + TextUtilities.adjustLength( \"**NO*OUTPUT*LINE**\", width) + \" >-SHOULD BE-> \"\n + ValueTagParser.removeValueTags(testData.get(0)));\n }\n }\n testData.remove(0);\n }\n while (0 != programOutput.size()) {\n testApproximate = false;\n testPassed = false;\n incorrectText++;\n testsSuccessful = false;\n if (resultsFormat.equals(\"Sequential\")) {\n results.add(\"X \" + programOutput.get(0));\n results.add(\"> **NO*OUTPUT*LINE**\");\n } else {\n results.add(\"X \" + TextUtilities.adjustLength( programOutput.get(0), width )\n + \" >-SHOULD BE-> **NO*OUTPUT*LINE**\");\n }\n programOutput.remove(0);\n }\n } else {\n \n \n //Ty Carpenter Issue #89\n //Variable when NOCOMP tag is found becomes true\n // NoComp argument present\n //nocompInTests is true so now will print ALL TESTS RUN if they all pass\n nocompInTests = true;\n noComp = true;\n for (int i = 0; i < programOutput.size(); i++) {\n results.add(\" \" + programOutput.get(i));\n }\n }\n }\n else\n {\n if(!hasNoCompArg(block.getArgs()))\n {\n executionErrors++;\n testsSuccessful = false;\n }\n else\n {\n testsSuccessful = false;\n }\n testPassed = false;\n testApproximate = false;\n if (debug) {\n break RUN_TESTS;\n }\n }\n //Ty Carpenter Issue #89\n //If there is no NOCOMP tag, testPassed and testApproximate are counted\n if(noComp == false)\n {\n\n TextFileReader errorIn = new TextFileReader(testingPath + tempErrorFileName);\n List<String> errorOutput = errorIn.getText();\n for( String line : errorOutput )\n {\n line = line.replace( testingPath+tempProgramFileName, userFileName );\n results.add( \"E \" + line );\n }\n\n results.add(\"\");\n\n\n if( testPassed )\n {\n testsPassed.set(positionInNameList,\n testsPassed.get(positionInNameList)+1);\n }\n \n if( testApproximate )\n {\n testsApproximate.set(positionInNameList,\n testsApproximate.get(positionInNameList)+1);\n }\n }\n //Ty Carpenter Issue #89\n //Resets NOCOMP argument for future tests\n else\n {\n //nocompTestsRun is counted\n nocompTestsRun.set(positionInNameList,\n testsRun.get(positionInNameList)+1);\n noComp = false;\n }\n testsRun.set(positionInNameList,\n testsRun.get(positionInNameList)+1);\n\n } \n } \n catch (Exception ex) \n {\n results.add(\"Exception: \" + ex.getMessage() + \"\\n\");\n statusTextArea.append(\"Can't run test: \" + pythonFileName + ex.getMessage() + \"\\n\");\n statusTextArea.update(statusTextArea.getGraphics());\n if(!hasNoCompArg(block.getArgs()))\n {\n canNotRun++;\n testsSuccessful = false;\n }\n else\n {\n testsSuccessful = false;\n }\n if (debug) \n {\n break RUN_TESTS;\n }\n }\n }\n //Brendan Villnave\n //Edited the following lines so everything after \"Run Completed!\"\n //gets added to the $TEST$RESULTS$.txt file as well\n TextFileWriter outFile = new TextFileWriter(testingPath + resultsFileName);\n if (!debug) {\n deleteFile(testingPath + tempProgramFileName);\n deleteFile(testingPath + tempInputFileName);\n deleteFile(testingPath + tempOutputFileName);\n deleteFile(testingPath + tempErrorFileName);\n }\n statusTextArea.append(\"Run completed!\\n\\n\");\n //Ty Carpenter Issue #89\n //testsSuccessful variable is now counted in overal statistics of the tests\n \n if (incorrectValues == 0\n && incorrectText == 0\n && incorrectSpacing == 0\n && extraBlankLines == 0\n && missingBlankLines == 0\n && canNotRun == 0\n && executionErrors == 0\n && testsSuccessful == true) {\n // TODO - in debug mode, this gets printed sometimes when it shouldn't\n //Determines ALL TESTS RUN vs ALL TESTS RUN EXACTLY CORRECTLY\n if(nocompInTests==true)\n {\n statusTextArea.append(\"ALL TESTS RAN\\n\");\n results.add(\"ALL TESTS RUN EXACTLY CORRECTLY\\n\");\n }\n else\n {\n statusTextArea.append(\"ALL TESTS EXACTLY CORRECT\\n\");\n results.add(\"ALL TESTS RUN EXACTLY CORRECTLY\\n\");\n }\n } else {\n // TODO - give option to open student's code\n statusTextArea.append(\"Incorrect values ............ \" \n + incorrectValues + \"\\n\");\n results.add(\"Incorrect values ............ \" \n + incorrectValues + \"\\n\");\n statusTextArea.append(\"Lines with errors ........... \" \n + incorrectText + \"\\n\");\n results.add(\"Lines with errors ........... \" \n + incorrectText + \"\\n\");\n statusTextArea.append(\"Bad spacing/capitalization .. \" \n + incorrectSpacing + \"\\n\");\n results.add(\"Bad spacing/capitalization .. \" \n + incorrectSpacing + \"\\n\");\n statusTextArea.append(\"Extra/missing blank lines ... \"\n + (extraBlankLines + missingBlankLines) + \"\\n\");\n results.add(\"Extra/missing blank lines ... \"\n + (extraBlankLines + missingBlankLines) + \"\\n\");\n statusTextArea.append(\"Python errors ............... \" \n + (executionErrors)+\"\\n\");\n results.add(\"Python errors ............... \" \n + (executionErrors)+\"\\n\");\n statusTextArea.append(\"Can't run test .............. \" \n + canNotRun +\"\\n\");\n results.add(\"Can't run test .............. \" \n + canNotRun +\"\\n\");\n statusTextArea.append(\"Code was successful .............. \" \n + testsSuccessful +\"\\n\");\n results.add(\"Code was successful .............. \" \n + testsSuccessful +\"\\n\");\n }\n statusTextArea.append(\"\\n\");\n \n for(int i=0; i<fileNames.size(); i++)\n {\n int passes = testsPassed.get(i);\n int approximate = testsApproximate.get(i);\n int run = testsRun.get(i);\n int nocompRun = nocompTestsRun.get(i);\n \n String dots = \" ................................................\";\n statusTextArea.append( ( fileNames.get(i)+dots).substring(0,41)+\" \");\n results.add(( fileNames.get(i)+dots).substring(0,41)+\" \");\n \n \n if(run == 0 )\n \n {\n statusTextArea.append(\"NO TESTS RUN\\n\");\n results.add(\"NO TESTS RUN\\n\");\n }\n //new results output All Tests Ran (check output)\n else if(nocompRun == run)\n {\n statusTextArea.append(\"All Tests Ran (check output)\\n\");\n results.add(\"All Tests Ran (check output)\\n\");\n }\n else if(passes == run)\n {\n statusTextArea.append(\"All Tests Passed\\n\");\n results.add(\"All Tests Passed\\n\");\n }\n else{\n \n statusTextArea.append( passes + \"/\" + approximate + \"/\" + \n run + \" tests passed/approximate/run\\n\");\n results.add(passes + \"/\" + approximate + \"/\" + \n run + \" tests passed/approximate/run\\n\");\n }\n }\n\n statusTextArea.update(statusTextArea.getGraphics());\n outFile.writeLines(results);\n outFile.close();\n \n }",
"private void writeTestLines() {\n for (String L : testLines) {\n pages.write(L);\n }\n }",
"@Override\n public void setUp() {\n System.out.println(\"######## \" + getName() + \" #######\");\n // Close help window if any - it should not stay open between test cases.\n // Otherwise it can break next tests.\n closeHelpWindow();\n }",
"public String toStringTabbed(int tabs){\n StringBuilder b = new StringBuilder();\n for(int i = 0; i < tabs; i++){\n b.append(\"\\t\");\n }\n b.append(\"while (\" + bExpression.toString() + \")\\n\" + s1.toStringTabbed(tabs+1));\n return b.toString();\n \n }",
"private void _debugSystemOutAndErr() {\n try {\n File outF = new File(System.getProperty(\"user.home\") +\n System.getProperty(\"file.separator\") + \"out.txt\");\n FileWriter wo = new FileWriter(outF);\n final PrintWriter outWriter = new PrintWriter(wo);\n File errF = new File(System.getProperty(\"user.home\") +\n System.getProperty(\"file.separator\") + \"err.txt\");\n FileWriter we = new FileWriter(errF);\n final PrintWriter errWriter = new PrintWriter(we);\n System.setOut(new PrintStream(new edu.rice.cs.util.OutputStreamRedirector() {\n public void print(String s) {\n outWriter.print(s);\n outWriter.flush();\n }\n }));\n System.setErr(new PrintStream(new edu.rice.cs.util.OutputStreamRedirector() {\n public void print(String s) {\n errWriter.print(s);\n errWriter.flush();\n }\n }));\n }\n catch (IOException ioe) {}\n }",
"private void startHtmlPage(PrintWriter out,ITestResult result)\r\n\t{\r\n\t\tout.println(\"<html>\");\r\n\t\tout.println(\"<head>\");\r\n\t\tout.println(\"<meta content=\\\"text/html; charset=UTF-8\\\" http-equiv=\\\"content-type\\\"/><meta content=\\\"cache-control\\\" http-equiv=\\\"no-cache\\\"/><meta content=\\\"pragma\\\" http-equiv=\\\"no-cache\\\"/>\");\r\n\t\tout.println(\"<style type=\\\"text/css\\\">\");\r\n\t\tout.println(\"body, table {\");\r\n\t\tout.println(\"font-family: Verdana, Arial, sans-serif;\");\r\n\t\tout.println(\"font-size: 12;\");\r\n\t\tout.println(\"}\");\r\n\t\t\r\n\t\tout.println(\"table {\");\r\n\t\tout.println(\"border-collapse: collapse;\");\r\n\t\tout.println(\"border: 1px solid #ccc;\");\r\n\t\tout.println(\"}\");\r\n\t\t\r\n\t\tout.println(\"th, td {\");\r\n\t\tout.println(\"padding-left: 0.3em;\");\r\n\t\tout.println(\"padding-right: 0.3em;\");\r\n\t\tout.println(\"}\");\r\n\t\t\r\n\t\tout.println(\"a {\");\r\n\t\tout.println(\"text-decoration: none;\");\r\n\t\tout.println(\"}\");\r\n\t\t\r\n\t\tout.println(\".title {\");\r\n\t\tout.println(\"font-style: italic;\");\r\n\t\tout.println(\"background-color: #B2ACAC;\");\r\n\t\tout.println(\"}\");\r\n\t\t\r\n\t\tout.println(\".selected {\");\r\n\t\tout.println(\"background-color: #ffffcc;\");\r\n\t\tout.println(\"}\");\r\n\t\t\r\n\t\tout.println(\".status_done {\");\r\n\t\tout.println(\"background-color: #eeffee;\");\r\n\t\tout.println(\"}\");\r\n\t\t\r\n\t out.println(\".status_passed {\");\r\n\t out.println(\"background-color: #ccffcc;\");\r\n\t out.println(\"}\");\r\n\t\t\r\n\t out.println(\".status_failed {\");\r\n\t out.println(\"background-color: #ffcccc;\");\r\n\t out.println(\"}\");\r\n\t\t\r\n\t out.println(\".status_maybefailed {\");\r\n\t out.println(\"background-color: #ffffcc;\");\r\n\t out.println(\"}\");\r\n\t\t\r\n\t out.println(\".breakpoint {\");\r\n\t out.println(\"background-color: #cccccc;\");\r\n\t out.println(\"border: 1px solid black;\");\r\n\t out.println(\"}\");\r\n\t out.println(\"</style>\");\r\n\t out.println(\"<title>Test results</title>\");\r\n\t out.println(\"</head>\");\r\n\t out.println(\"<body>\");\r\n\t out.println(\"<h1>Test results </h1>\");\r\n\t out.println(\"<h2>Test Name: \"+className+\".\"+result.getName()+\"</h2>\");\r\n\t \r\n\t out.println(\"<table border=\\\"1\\\">\");\r\n\t out.println(\"<tbody>\");\r\n\t out.println(\"<tr>\");\r\n\t out.println(\"<td><b>Selenium-Command</b></td>\");\r\n\t out.println(\"<td><b>Parameter-1</b></td>\");\r\n\t\tout.println(\"<td><b>Parameter-2</b></td>\");\r\n\t\tout.println(\"<td><b>Status</b></td>\");\r\n\t\tout.println(\"<td><b>Screenshot</b></td>\");\r\n\t\tout.println(\"<td><b>Calling-Class with Linenumber</b></td>\");\r\n\t\tout.println(\"</tr>\");\r\n\t\t\r\n\t}",
"private void title() {\n\t\tline();\n\t\tSystem.out.println(CheckFiles.class.getSimpleName());\n\t\tline();\n\t\tif (toCheck == null) {\n\t\t\tSystem.out.println(\"arg1: directory with files to check\");\n\t\t} else {\n\t\t\tSystem.out.println(\"arg1: \" + toCheck);\n\t\t}\n\t\tif (checkIn == null) {\n\t\t\tSystem.out.println(\"arg2: directory with files\");\n\t\t} else {\n\t\t\tSystem.out.println(\"arg2: \" + checkIn);\n\t\t}\n\t\tline();\n\t\tSystem.out.println(\"\");\n\t}",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader in = new BufferedReader (new InputStreamReader(System.in));\n\t\tint num_tests = Integer.parseInt(in.readLine());\n\t\tBufferedWriter out = new BufferedWriter (new OutputStreamWriter(System.out));\n\n\t\tStringBuilder buf = new StringBuilder();\n\t\tfor(int j=0; j<num_tests; ++j)\n\t\t{\n\t\t\tString[] data_overview = in.readLine().split(\" \");\n\n\t\t\t// the variables\n\t\t\tint d = Integer.parseInt(data_overview[0]);\n\t\t\tint p = Integer.parseInt(data_overview[1]);\n\t\t\tint u = Integer.parseInt(data_overview[2]);\n\t\t\tint v = Integer.parseInt(data_overview[3]);\n\t\t\t\n\t\t\tdouble left = 0, right = d/(p-1);\n\t\t\twhile(right-left>0.0001){\n\t\t\t\tdouble middle = (left+right)/2;\n\t\t\t\tif(putPosts(d, u, v, p, middle)){\n\t\t\t\t\tleft = middle;\n\t\t\t\t} else {\n\t\t\t\t\tright = middle;\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t// print\n\t\t\tbuf.append(\"Case #\");\n\t\t\tbuf.append(j+1);\n\t\t\tbuf.append(\": \");\n\t\t\tbuf.append(right);\n\t\t\tbuf.append(\"\\n\");\n\t\t}\n\t\tSystem.out.println(buf);\t\n\t}",
"protected static void main(String args[]) {\n\t\tTabTokenizer cst=new TabTokenizer(\"this, is,just, a, test, X\");\n\t\twhile\t(cst.hasMoreTokens()) System.out.println(\"-->\"+cst.nextToken()+\"<--\");\n\t\tcst=new TabTokenizer(\"this, is, another,\t\ttest,\tX,\");\n\t\tcst.setMaxNumberToken(2);\n\t\twhile\t(cst.hasMoreTokens()) System.out.println(\"-->\"+cst.nextToken()+\"<--\");\n\t\tcst=new TabTokenizer(\"and another,\t\");\n\t\twhile\t(cst.hasMoreTokens()) System.out.println(\"-->\"+cst.nextToken()+\"<--\");\n\t}",
"@Test\n public void baseCommandTests_part1() throws Exception {\n ExecutionSummary executionSummary = testViaExcel(\"unitTest_base_part1.xlsx\");\n assertPassFail(executionSummary, \"base_showcase\", TestOutcomeStats.allPassed());\n assertPassFail(executionSummary, \"function_projectfile\", TestOutcomeStats.allPassed());\n assertPassFail(executionSummary, \"function_array\", TestOutcomeStats.allPassed());\n assertPassFail(executionSummary, \"function_count\", TestOutcomeStats.allPassed());\n assertPassFail(executionSummary, \"function_date\", TestOutcomeStats.allPassed());\n assertPassFail(executionSummary, \"actual_in_output\", TestOutcomeStats.allPassed());\n }",
"private void createTab() {\n tab = new char[tabSize];\n for (int i = 0; i < tabSize; i++) {\n tab[i] = tabChar;\n }\n }",
"@Test(enabled = true, retryAnalyzer=RetryAnalyzer.class)\r\n\tpublic void testParkingResrvSummeryAndPrintTabs(){\r\n\r\n\t\tReporter.log(\"<span style='font-weight:bold;color:#000033'> \"\r\n\r\n\t\t +\"test:C74386: Summary and Printing are not available, if required field is not filled out for parking Reservation\", true);\r\n\r\n\r\n\t\tString region = \"1preRgRef\";\r\n\r\n\t\tint random = (int)(Math.random() * 10)+18;\r\n\r\n\t\tString date = this.getFutureDate(random);\r\n\r\n\t\tString from = \"01:00\";\r\n\t\tString until = \"01:30\";\r\n\r\n\t\tString parking = \"1prePrkEqRef\";\r\n\t\t String summaryTabText= \"A summary is not available for the currently entered data\\n\"\r\n\t\t\t\t +\"\\n\"+\r\n\t\t\t\t \"Please fill in the Reservation Responsible.\\n\"+\r\n\t\t\t\t \"\\n\"+\"Please make sure you have filled out all mandatory fields.\";\r\n\t\t \r\n\r\n\t\tString printIconWarningMsg =\"Printing requires all changes to be saved first\";\r\n\r\n\t\tSoftAssert softAssert = new SoftAssert();\r\n\r\n\t\tsoftAssert.setMethodName(\"testParkingResrvSummeryAndPrintTabs\");\r\n\r\n\t\texpandAdministration();\r\n\r\n\t\twaitForExtJSAjaxComplete(20);\r\n\r\n\t\texpandSubMainMenu(\"Reservation\");\r\n\r\n\t\twaitForExtJSAjaxComplete(20);\r\n\r\n\t\twaitAndClick(XPATH_NEWRESERVATIONS);\r\n\r\n\t\twaitForExtJSAjaxComplete(20);\r\n\r\n\t\t//waitForExtJSAjaxComplete(20);\r\n\r\n\t\tsetRegion(region);\r\n\r\n\t\tsetDate(date);\r\n\r\n\t\tsetTimeFrom(from);\r\n\r\n\t\tsetTimeUntil(until);\r\n\r\n\t\twaitForExtJSAjaxComplete(5);\r\n\r\n\t\tclickParkingTab();\r\n\r\n\t\twaitForExtJSAjaxComplete(5);\r\n\r\n\t\tclickSearch();\r\n\r\n\t\twaitForExtJSAjaxComplete(20);\r\n\r\n\t\tclickLaunchReservation(parking);\r\n\r\n\t\twaitForExtJSAjaxComplete(20);\r\n\r\n\t\tclickSummaryTab();\r\n\r\n\t\twaitForExtJSAjaxComplete(20);\r\n\r\n\t\tsoftAssert.assertEquals(getSummaryTabText(),summaryTabText,\"'A summary is not available for the currently entered data' is display with a message to fill out required fields.\");\r\n\r\n\t\tclickReportIconInSummarySection();\r\n\r\n\t\twaitForExtJSAjaxComplete(20);\r\n\r\n\t\tsoftAssert.assertTrue(verifyWarningDialogTextMessage(printIconWarningMsg),\"'Printing requires all changes to be saved first' alert message is displayed.\");\r\n\r\n\t\tthis.clickOnDialogButton(\"OK\");\r\n\r\n\t\tsoftAssert.assertAll();\r\n\r\n\t\tReporter.log(\"Summary pane is display with a message to fill out required fields.\"\r\n\t\t\t\t+ \"Alert message is displayed for print icon <br>\", true);\r\n\t}",
"public void fnWriteToHtmlOutput(String strDescription, String strExpectedValue, String strObtainedValue, String strResult) {\r\n \tString sStep;\r\n \tif (Dictionary.containsKey(\"STEP\")){\r\n \t\tsStep = Dictionary.get(\"STEP\") + \"<NS>\" + strDescription + \"<ND>\" + strExpectedValue + \"<ND>\" + strObtainedValue + \"<ND>\" + strResult;\r\n \t\tDictionary.remove(\"STEP\");\r\n \t}else{\r\n \t\tsStep = strDescription + \"<ND>\" + strExpectedValue + \"<ND>\" + strObtainedValue + \"<ND>\" + strResult;\r\n \t}\r\n \t\t\r\n \tDictionary.put(\"STEP\", sStep);\r\n \t\r\n //Declaring Variables\r\n String snapshotFilePath,sRowColor;\r\n\r\n //Open the test case report for writing\r\n //Open the HTML file\r\n\t\t//Open the report file to write the report\r\n\t\ttry {\r\n\t\t\tfoutStrm = new FileOutputStream(g_strTestCaseReport, true);\r\n\r\n\t\t} catch (FileNotFoundException fe) {\r\n\t\t\tfe.printStackTrace();\r\n\t\t}\r\n \r\n //Increment the Operation Count\r\n g_OperationCount = g_OperationCount + 1;\r\n \r\n //Row Color\r\n if (g_OperationCount % 2 == 0)\r\n {\r\n sRowColor = \"#EEEEEE\";\r\n }\r\n else\r\n {\r\n sRowColor = \"#D3D3D3\";\r\n \r\n }\r\n \r\n //Check if the result is Pass or Fail\r\n if (strResult.toUpperCase().equals(\"PASS\")){ \r\n //Increment the Pass Count\r\n g_iPassCount++;\r\n //Increment the snapshot count\r\n g_iSnapshotCount++;\r\n //Get the Full path of the snapshot\r\n snapshotFilePath = g_strSnapshotFolderName + \"\\\\SS_\" + g_iSnapshotCount + \".png\";\r\n \r\n //Capture the Snapshot\r\n fTakeScreenshot(snapshotFilePath);\r\n \r\n //Write the result into the file\r\n //new PrintStream(foutStrm).println(\"<TR WIDTH=100%><TD BGCOLOR=\" + sRowColor + \" WIDTH=5% ALIGN=CENTER><FONT FACE=VERDANA SIZE=2><B>\" + g_OperationCount + \"</B></FONT></TD><TD BGCOLOR=\" + sRowColor + \" WIDTH=28%><FONT FACE=VERDANA SIZE=2>\" + strDescription + \" </FONT></TD><TD BGCOLOR=\" + sRowColor + \" WIDTH=25%><FONT FACE=VERDANA SIZE=2>\" + strExpectedValue + \" </FONT></TD><TD BGCOLOR=\" + sRowColor + \" WIDTH=25%><FONT FACE=VERDANA SIZE=2>\" + strObtainedValue + \" </FONT></TD><TD BGCOLOR=\" + sRowColor + \" WIDTH=7% ALIGN=CENTER><FONT FACE=VERDANA SIZE=2 COLOR=GREEN><B>\" + strResult + \"</B></FONT></TD></TR>\");\r\n new PrintStream(foutStrm).println(\"<TR WIDTH=100%><TD BGCOLOR=\" + sRowColor + \" WIDTH=5% ALIGN=CENTER><FONT FACE=VERDANA SIZE=2 ><B>\" + g_OperationCount + \"</B></FONT></TD><TD BGCOLOR=\" + sRowColor + \" WIDTH=28%><FONT FACE=VERDANA SIZE=2>\" + strDescription + \" </FONT></TD><TD BGCOLOR=\" + sRowColor + \" WIDTH=25%><FONT FACE=VERDANA SIZE=2>\" + strExpectedValue +\" </FONT></TD><TD BGCOLOR=\" + sRowColor + \" WIDTH=25%><FONT FACE=VERDANA SIZE=2>\" + strObtainedValue +\" </FONT></TD><TD BGCOLOR=\" + sRowColor + \" WIDTH=7% ALIGN=CENTER><A HREF='\" + snapshotFilePath + \"'><FONT FACE=VERDANA SIZE=2 COLOR=GREEN><B>\" + strResult + \" </B></FONT></A></TD></TR>\");\r\n }\r\n else\r\n {\r\n if (strResult.toUpperCase().equals(\"FAIL\")){\r\n //Increment the SnapShot count\r\n g_iSnapshotCount++ ;\r\n\r\n //Increment the Fail Count\r\n g_iFailCount++;\r\n\r\n //Get the Full path of the snapshot\r\n snapshotFilePath = g_strSnapshotFolderName + \"\\\\SS_\" + g_iSnapshotCount + \".png\";\r\n\r\n //Capture the Snapshot\r\n fTakeScreenshot(snapshotFilePath);\r\n \r\n //Write the result into the file\r\n new PrintStream(foutStrm).println(\"<TR WIDTH=100%><TD BGCOLOR=\" + sRowColor + \" WIDTH=5% ALIGN=CENTER><FONT FACE=VERDANA SIZE=2 ><B>\" + g_OperationCount + \"</B></FONT></TD><TD BGCOLOR=\" + sRowColor + \" WIDTH=28%><FONT FACE=VERDANA SIZE=2>\" + strDescription + \" </FONT></TD><TD BGCOLOR=\" + sRowColor + \" WIDTH=25%><FONT FACE=VERDANA SIZE=2>\" + strExpectedValue +\" </FONT></TD><TD BGCOLOR=\" + sRowColor + \" WIDTH=25%><FONT FACE=VERDANA SIZE=2>\" + strObtainedValue +\" </FONT></TD><TD BGCOLOR=\" + sRowColor + \" WIDTH=7% ALIGN=CENTER><A HREF='\" + snapshotFilePath + \"'><FONT FACE=VERDANA SIZE=2 COLOR=RED><B>\" + strResult + \" </B></FONT></A></TD></TR>\");\r\n \r\n }else if (strResult.toUpperCase().equals(\"DONE\")){ \r\n \tstrResult = \"Pass\";\r\n //Write Results into the file\r\n \tnew PrintStream(foutStrm).println(\"<TR WIDTH=100%><TD BGCOLOR=\" + sRowColor + \" WIDTH=5% ALIGN=CENTER><FONT FACE=VERDANA SIZE=2><B>\" + g_OperationCount +\"</B></FONT></TD><TD BGCOLOR=\" + sRowColor + \" WIDTH=28%><FONT FACE=VERDANA SIZE=2>\"+ strDescription +\"</FONT></TD><TD BGCOLOR=\" + sRowColor + \" WIDTH=25%><FONT FACE=VERDANA SIZE=2>\" + strExpectedValue + \"</FONT></TD><TD BGCOLOR=\" + sRowColor + \" WIDTH=25%><FONT FACE=VERDANA SIZE=2>\"+ strObtainedValue +\"</FONT></TD><TD BGCOLOR=\" + sRowColor + \" WIDTH=7% ALIGN=CENTER><FONT FACE=VERDANA SIZE=2 COLOR=LimeGreen><B>\"+ strResult +\"</B></FONT></TD></TR>\");\r\n }\r\n \r\n }\r\n try\r\n {\t\t\t\r\n \t//Close File stream\r\n\t\t\tfoutStrm.close();\r\n\t\t\t\r\n\t\t} catch (IOException io) {\r\n\t\t\tio.printStackTrace();\r\n\t\t}\r\n }",
"protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {\n XInterface oObj = null;\n XIndexAccess NumStyleI = null;\n\n XText oText = xTextDoc.getText();\n XTextCursor oCursor = oText.createTextCursor();\n\n try {\n for (int i=0; i<5; i++) {\n oText.insertString(oCursor, \"The quick brown fox jumps \"+\n \"over the lazy Dog\", false);\n oText.insertControlCharacter(oCursor,\n ControlCharacter.PARAGRAPH_BREAK, false);\n }\n } catch ( com.sun.star.lang.IllegalArgumentException e ) {\n log.println(\"Error, exception occurred...\");\n e.printStackTrace(log);\n }\n\n XStyleFamiliesSupplier oStyleFamiliesSupplier = (XStyleFamiliesSupplier)\n UnoRuntime.queryInterface(XStyleFamiliesSupplier.class, xTextDoc);\n\n try {\n XNameAccess oStyleFamilies = oStyleFamiliesSupplier.getStyleFamilies();\n XNameContainer NumStyles = (XNameContainer) AnyConverter.toObject(\n new Type(XNameContainer.class),\n oStyleFamilies.getByName(\"NumberingStyles\"));\n NumStyleI = (XIndexAccess)\n UnoRuntime.queryInterface(XIndexAccess.class,NumStyles);\n } catch ( com.sun.star.lang.WrappedTargetException e ) {\n log.println(\"Error, exception occurred...\");\n e.printStackTrace(log);\n } catch ( com.sun.star.container.NoSuchElementException e ) {\n log.println(\"Error, no such style family...\");\n e.printStackTrace(log);\n } catch ( com.sun.star.lang.IllegalArgumentException e ) {\n log.println(\"Error, exception occurred...\");\n e.printStackTrace(log);\n }\n \n Object instance1 = null;\n\n try {\n oObj = (XInterface) AnyConverter.toObject(\n new Type(XInterface.class),NumStyleI.getByIndex(0));\n XPropertySet props = (XPropertySet)\n UnoRuntime.queryInterface(XPropertySet.class, oObj);\n oObj = (XInterface) AnyConverter.toObject(\n new Type(XInterface.class),props.getPropertyValue(\"NumberingRules\"));\n XIndexAccess nRules = (XIndexAccess) UnoRuntime.queryInterface(XIndexAccess.class, props.getPropertyValue(\"NumberingRules\"));\n instance1 = nRules.getByIndex(0);\n } catch ( com.sun.star.lang.WrappedTargetException e ) {\n log.println(\"Error, exception occurred...\");\n e.printStackTrace(log);\n } catch ( com.sun.star.lang.IndexOutOfBoundsException e ) {\n log.println(\"Error, exception occurred...\");\n e.printStackTrace(log);\n } catch ( com.sun.star.beans.UnknownPropertyException e ) {\n log.println(\"Error, exception occurred...\");\n e.printStackTrace(log);\n } catch ( com.sun.star.lang.IllegalArgumentException e ) {\n log.println(\"Error, exception occurred...\");\n e.printStackTrace(log);\n } \n \n TestEnvironment tEnv = new TestEnvironment( oObj );\n \n tEnv.addObjRelation(\"INSTANCE1\", instance1);\n return tEnv;\n }",
"private void displayTestResultSummary() {\n int passNum = mSessionLog.getTestList(CtsTestResult.CODE_PASS).size();\n int failNum = mSessionLog.getTestList(CtsTestResult.CODE_FAIL).size();\n int notExecutedNum =\n mSessionLog.getTestList(CtsTestResult.CODE_NOT_EXECUTED).size();\n int timeOutNum = mSessionLog.getTestList(CtsTestResult.CODE_TIMEOUT).size();\n int total = passNum + failNum + notExecutedNum + timeOutNum;\n \n println(\"Test summary: pass=\" + passNum\n + \" fail=\" + failNum\n + \" timeOut=\" + timeOutNum\n + \" notExecuted=\" + notExecutedNum\n + \" Total=\" + total);\n }",
"private void printResults() {\n\t\tfor (Test test : tests) {\n\t\t\ttest.printResults();\n\t\t}\n\t}",
"public void print(int tabOrder);",
"public static void main(String[] args)\n {\n \n final String HEADER_FORMAT = \"|%8s|%11s|%11s|\\n\";\n \n //Header\n System.out.println(\"\\n|========|===========|===========|\");\n System.out.printf(HEADER_FORMAT, \"\", center(\"Divisible\", 11), center(\"Divisible\", 11));\n System.out.printf(HEADER_FORMAT, center(\"Number\", 8), center(\"by 5\", 11), center(\"by 6\", 11));\n System.out.println(\"|========|===========|===========|\");\n \n //Create table body\n for(int i = 10; i <= 100; i++)\n {\n System.out.printf(\"|%8s|\", center(String.valueOf(i), 8));\n System.out.printf(\"%11s|%11s|\\n\", \n center((i % 5 == 0) ? \"Yes\" : \"No\", 11),\n center((i % 6 == 0) ? \"Yes\" : \"No\", 11));\n if(i < 100)\n System.out.println(\"|--------|-----------|-----------|\");\n else \n System.out.println(\"|========|===========|===========|\");\n }\n }",
"private static void printTest(boolean isValid, String description, String recieved, String expected) {\r\n\t\tSystem.out.println(String.format(\"Is Valid: %s%nDescription: %s%nRecieved: %s%nExpected: %s%n\", isValid, description, recieved, expected));\r\n\t}",
"private void setupTabs() {\n }",
"@Test\n public void baseCommandTests_part2() throws Exception {\n ExecutionSummary executionSummary = testViaExcel(\"unitTest_base_part2.xlsx\");\n assertPassFail(executionSummary, \"crypto\", TestOutcomeStats.allPassed());\n assertPassFail(executionSummary, \"macro-test\", TestOutcomeStats.allPassed());\n assertPassFail(executionSummary, \"repeat-test\", TestOutcomeStats.allPassed());\n assertPassFail(executionSummary, \"expression-test\", TestOutcomeStats.allPassed());\n assertPassFail(executionSummary, \"multi-scenario2\", TestOutcomeStats.allPassed());\n assertPassFail(executionSummary, \"flow_controls\", new TestOutcomeStats(2, 14));\n }",
"private void outputHeader(){\n System.out.printf(\"\\n%9s%11s%7s%5s%7s%8s\\n\",\"Last Name\",\"First Name\",\"Gender\",\"Rate\",\"Tenure\",\"Salary\");\n pw.printf(\"\\n%9s%11s%7s%5s%7s%8s\\n\",\"Last Name\",\"First Name\",\"Gender\",\"Rate\",\"Tenure\",\"Salary\");\n }",
"@NotNull\n TabResult onConsoleTab(@NotNull ConsoleCommandSender console,\n @NotNull String[] params);",
"static void mainTest(PrintWriter out) throws Exception {\n\t}",
"private void printTable(String type){\n\t\tSystem.out.println(\"\\n\\t\\t\\t\\t \" + type + \" Probing Analysis (Table size = \" + tableSize + \")\");\n\t\tSystem.out.println(\"\\t\\t ----- Inserts ------ ----------- Probes ---------- --------- Clusters ---------\");\n\t\tSystem.out.printf(\"%5s %10s %10s %10s %10s %10s %10s %10s %10s %10s\\n\", \n\t\t\t\t\"N\", \"lambda\", \"success\", \"failed\", \"total\", \"avg\", \"max\", \"number\", \"avg\", \"max\");\n\t}",
"private static void prompt(boolean isTestRun) {\n if (!isTestRun)\n System.out.print(\"> \");\n }",
"public void detailReport() {\r\n\t\tint testStepId = 1;\r\n\t\tstrBufferReportAppend.append(\r\n\t\t\t\t\"<tr><td><table class=\\\"width100\\\"><tr><td><div class=\\\"headertext1 bold\\\">Test Execution Detail Report</div></td></tr>\");\r\n\t\tstrBufferReportAppend.append(\r\n\t\t\t\t\"<tr><td><div class=\\\"headertext1 bold\\\">Execution Browser Name: \"+ GlobalVariables.getBrowserName() + \"</div></td></tr>\");\r\n\t\tstrBufferReportAppend.append(\r\n\t\t\t\t\"<tr><td><div class=\\\"headertext1 bold\\\">Test Case Name: \"+ GlobalVariables.getTestCaseName() + \"</div></td></tr>\");\r\n\t\t\r\n\t\t\r\n\t\tstrBufferReportAppend.append(\"<tr><td>\");\r\n\t\tstrBufferReportAppend\r\n\t\t\t\t.append(\"<table colspan=3 border=0 cellpadding=3 cellspacing=1 class=\\\"reporttable width100\\\">\");\r\n\t\tstrBufferReportAppend.append(\"<tr><th class=\\\"auto-style1\\\">Test Step No</th>\" + \"<th class=\\\"auto-style2\\\">Action</th>\"\r\n\t\t\t\t+ \"<th class=\\\"auto-style3\\\">Actual Result</th>\" + \"<th class=\\\"auto-style4\\\">Status</th></tr>\");\r\n\t\tfor (ReportBean reportValue : GlobalVariables.getReportList()) {\r\n\r\n\t\t\tif (reportValue.getStatus().equalsIgnoreCase(\"Passed\")) {\r\n\r\n\t\t\t\tstrBufferReportAppend.append(\"<tr>\" + \"<td class=\\\"auto-style1 blue\\\">\" + testStepId++ + \"</td>\"// teststepid\r\n\t\t\t\t\t\t+ \"<td class=\\\"auto-style2 blue\\\">\" + reportValue.getStrAction() + \"</td>\"\r\n\t\t\t\t\t\t+ \"<td class=\\\"auto-style3 blue\\\">\" + reportValue.getResult() + \"</td>\"\r\n\t\t\t\t\t\t+ \"<td class=\\\"auto-style4 green\\\">\" + reportValue.getStatus() + \"</td></tr>\");\r\n\t\t\t} else if (reportValue.getStatus().equalsIgnoreCase(\"Failed\")) {\r\n\t\t\t\tstrBufferReportAppend.append(\"<tr>\" + \"<td class=\\\"auto-style1 blue\\\">\" + testStepId++ + \"</td>\"// teststepid\r\n\t\t\t\t\t\t+ \"<td class=\\\"auto-style2 blue\\\">\" + reportValue.getStrAction() + \"</td>\"\r\n\t\t\t\t\t\t+ \"<td class=\\\"auto-style3 blue\\\">\" + reportValue.getResult() + \"</td>\"\r\n\t\t\t\t\t\t+ \"<td class=\\\"auto-style4 red\\\">\" + reportValue.getStatus() + \"</td></tr>\");\r\n\t\t\t}\r\n\t\t}\r\n\t\tstrBufferReportAppend.append(\"</table>\");\r\n\t\tstrBufferReportAppend.append(\"</td></tr>\");\r\n\t\tstrBufferReportAppend.append(\"</table></td></tr></table></body></html>\");\r\n\t}",
"private static void writeShortManual() {\n System.out.println(\"\\nPromethean CLI v1.0.0\");\n System.out.println(\"Commands:\");\n System.out.println(\"\\tplan - create (and optionally execute) a plan given input json\");\n System.out.println(\"\\ttestgen - generate a test input file given initial and goal states\");\n System.out.println(\"Run <command> --help to see all options\\n\");\n }",
"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 }",
"public static void main(String[] args) {\n//\t\ttest1dOutput();\n\t\ttestMultimensionalOutput();\n\t}",
"@Test(groups ={Slingshot,Regression})\n\tpublic void allAcctsStdUserCreation() {\n\t\tReport.createTestLogHeader(\"MuMv\", \"Verify whether the user can successfully enter details in Add new user page and registers it\"); \t \t \t \n\t\tUserProfile userProfile = new TestDataHelper().getUserProfile(\"MuMVTestDatas\");\n\t\tnew LoginAction()\n\t\t.BgbnavigateToLogin()\n\t\t.BgbloginDetails(userProfile);\n\t\tnew MultiUserMultiViewAction()\n\t\t.ClickManageUserLink()\n\t\t.ClickAddNewUserLink()\n\t\t.AddUserRadioButton()\n\t\t.StandardUserCreation();\n\t\tnew BgbRegistrationAction()\n\t\t.AddNewStdUser(userProfile);\n\t\tnew MultiUserMultiViewAction()\n\t\t.verifyAuditTable(userProfile)\n\t\t.AdduserConfirmationPage()\n\t\t.confirmationPageVerificationLinks();\n\t}",
"@Test(priority = 1, groups= {\"regression\",\"smoke\"})\r\n\tpublic void PrintHospitals()\r\n\t{\r\n\t\tlogger= report.createTest(\"Printing Hospitals as per requirement\");\r\n\t\tDisplayHospitalNames hp=Base.nextPage1();\r\n\t\thp.selectLocation();\r\n\t\thp.selectHospital();\r\n\t\thp.applyFilters();\r\n\t\thp.hospitals();\r\n\t\thp.Back();\r\n\t}",
"private static void printHeading(){\n\t\tSystem.out.println(\"Your Name\");\n\t\tSystem.out.println(\"Course name and semester\");\n\t\tSystem.out.println(\"Programming Project 1\");\n\t\tSystem.out.println(\"Your Name in Code\");\n\t\tSystem.out.println();\n\n\t}",
"private void createContents() {\n shell = new Shell(getParent(), SWT.BORDER | SWT.TITLE | SWT.APPLICATION_MODAL);\n shell.setSize(FORM_WIDTH, 700);\n shell.setText(getText());\n shell.setLayout(new GridLayout(1, false));\n\n TabFolder tabFolder = new TabFolder(shell, SWT.NONE);\n tabFolder.setLayoutData(TAB_GROUP_LAYOUT_DATA);\n\n // STRUCTURE PARAMETERS\n\n TabItem tbtmStructure = new TabItem(tabFolder, SWT.NONE);\n tbtmStructure.setText(\"Structure\");\n\n Composite grpStructure = new Composite(tabFolder, SWT.NONE);\n tbtmStructure.setControl(grpStructure);\n grpStructure.setLayout(TAB_GROUP_LAYOUT);\n grpStructure.setLayoutData(TAB_GROUP_LAYOUT_DATA);\n\n ParmDialogText.load(grpStructure, parms, \"meta\");\n ParmDialogText.load(grpStructure, parms, \"col\");\n ParmDialogText.load(grpStructure, parms, \"id\");\n ParmDialogChoices.load(grpStructure, parms, \"init\", Activation.values());\n ParmDialogChoices.load(grpStructure, parms, \"activation\", Activation.values());\n ParmDialogFlag.load(grpStructure, parms, \"raw\");\n ParmDialogFlag.load(grpStructure, parms, \"batch\");\n ParmDialogGroup cnn = ParmDialogText.load(grpStructure, parms, \"cnn\");\n ParmDialogGroup filters = ParmDialogText.load(grpStructure, parms, \"filters\");\n ParmDialogGroup strides = ParmDialogText.load(grpStructure, parms, \"strides\");\n ParmDialogGroup subs = ParmDialogText.load(grpStructure, parms, \"sub\");\n if (cnn != null) {\n if (filters != null) cnn.setGrouped(filters);\n if (strides != null) cnn.setGrouped(strides);\n if (subs != null) cnn.setGrouped(subs);\n }\n ParmDialogText.load(grpStructure, parms, \"lstm\");\n ParmDialogGroup wGroup = ParmDialogText.load(grpStructure, parms, \"widths\");\n ParmDialogGroup bGroup = ParmDialogText.load(grpStructure, parms, \"balanced\");\n if (bGroup != null && wGroup != null) {\n wGroup.setExclusive(bGroup);\n bGroup.setExclusive(wGroup);\n }\n\n // SEARCH CONTROL PARAMETERS\n\n TabItem tbtmSearch = new TabItem(tabFolder, SWT.NONE);\n tbtmSearch.setText(\"Training\");\n\n ScrolledComposite grpSearch0 = new ScrolledComposite(tabFolder, SWT.V_SCROLL);\n grpSearch0.setLayout(new FillLayout());\n grpSearch0.setLayoutData(TAB_GROUP_LAYOUT_DATA);\n tbtmSearch.setControl(grpSearch0);\n Composite grpSearch = new Composite(grpSearch0, SWT.NONE);\n grpSearch0.setContent(grpSearch);\n grpSearch.setLayout(TAB_GROUP_LAYOUT);\n grpSearch.setLayoutData(TAB_GROUP_LAYOUT_DATA);\n\n Enum<?>[] preferTypes = (this.modelType == TrainingProcessor.Type.CLASS ? RunStats.OptimizationType.values()\n : RunStats.RegressionType.values());\n ParmDialogChoices.load(grpSearch, parms, \"prefer\", preferTypes);\n ParmDialogChoices.load(grpSearch, parms, \"method\", Trainer.Type.values());\n ParmDialogText.load(grpSearch, parms, \"bound\");\n ParmDialogChoices.load(grpSearch, parms, \"lossFun\", LossFunctionType.values());\n ParmDialogText.load(grpSearch, parms, \"weights\");\n ParmDialogText.load(grpSearch, parms, \"iter\");\n ParmDialogText.load(grpSearch, parms, \"batchSize\");\n ParmDialogText.load(grpSearch, parms, \"testSize\");\n ParmDialogText.load(grpSearch, parms, \"maxBatches\");\n ParmDialogText.load(grpSearch, parms, \"earlyStop\");\n ParmDialogChoices.load(grpSearch, parms, \"regMode\", Regularization.Mode.values());\n ParmDialogText.load(grpSearch, parms, \"regFactor\");\n ParmDialogText.load(grpSearch, parms, \"seed\");\n ParmDialogChoices.load(grpSearch, parms, \"start\", WeightInit.values());\n ParmDialogChoices.load(grpSearch, parms, \"gradNorm\", GradientNormalization.values());\n ParmDialogChoices.load(grpSearch, parms, \"updater\", GradientUpdater.Type.values());\n ParmDialogText.load(grpSearch, parms, \"learnRate\");\n ParmDialogChoices.load(grpSearch, parms, \"bUpdater\", GradientUpdater.Type.values());\n ParmDialogText.load(grpSearch, parms, \"updateRate\");\n\n grpSearch.setSize(grpSearch.computeSize(FORM_WIDTH - 50, SWT.DEFAULT));\n\n // BOTTOM BUTTON BAR\n\n Composite grpButtonBar = new Composite(shell, SWT.NONE);\n grpButtonBar.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, true, false, 1, 1));\n grpButtonBar.setLayout(new FillLayout(SWT.HORIZONTAL));\n\n Button btnSave = new Button(grpButtonBar, SWT.NONE);\n btnSave.setText(\"Save\");\n btnSave.addSelectionListener(new SelectionAdapter() {\n @Override\n public void widgetSelected(SelectionEvent evt) {\n try {\n parms.save(parmFile);\n } catch (IOException e) {\n ShellUtils.showErrorBox(getParent(), \"Error Saving Parm File\", e.getMessage());\n }\n }\n });\n\n Button btnClose = new Button(grpButtonBar, SWT.NONE);\n btnClose.setText(\"Cancel\");\n btnClose.addSelectionListener(new SelectionAdapter() {\n @Override\n public void widgetSelected(SelectionEvent evt) {\n shell.close();\n }\n });\n\n Button btnOK = new Button(grpButtonBar, SWT.NONE);\n btnOK.setText(\"Save and Close\");\n btnOK.addSelectionListener(new SelectionAdapter() {\n @Override\n public void widgetSelected(SelectionEvent evt) {\n try {\n parms.save(parmFile);\n shell.close();\n } catch (IOException e) {\n ShellUtils.showErrorBox(getParent(), \"Error Saving Parm File\", e.getMessage());\n }\n }\n });\n\n }",
"public AttributedStringBuilder tabs(int tabsize) {\n/* 378 */ if (tabsize < 0) {\n/* 379 */ throw new IllegalArgumentException(\"Tab size must be non negative\");\n/* */ }\n/* 381 */ return tabs(Arrays.asList(new Integer[] { Integer.valueOf(tabsize) }));\n/* */ }",
"public static void testSet01(PrintStream outputStream)\r\n {\r\n outputStream.println(\"\\r\\n----Test Set 1----\\r\\n\");\r\n DynamicArray a1 = new DynamicArray();\r\n// Test #1\r\n if(a1.getCapacity()==3 && a1.getSize()==0) \r\n {\r\n outputStream.printf(\"%-80s%-10s\\r\\n\", \"Test Set 01: Test for no-argument constructor, getSize() and getCapacity()\", \"PASSED\");\r\n \r\n }\r\n else outputStream.printf(\"%-80s%-10s\\r\\n\", \"Test Set 01: Test for no-argument constructor, getSize() and getCapacity()\", \"FAILED\");\r\n// Test #2\r\n if(a1.isEmpty()) \r\n {\r\n outputStream.printf(\"%-80s%-10s\\r\\n\", \"Test Set 01: Test for isEmpty()\", \"PASSED\");\r\n \r\n }\r\n else outputStream.printf(\"%-80s%-10s\\r\\n\", \"Test Set 01: Test Set 01: Test for isEmpty()\", \"FAILED\");\r\n\r\n\r\n }",
"private void printAsTable(String command, String description){\r\n\t\tSystem.out.printf(\"%-30.30s %-60.60s%n\", command, description);\r\n\t}",
"public void fnWriteTestSummary(String strTestCaseName, String strResult, String strDuration){\r\n \tString sColor,sRowColor;\r\n \r\n //Close the file\r\n try{ \r\n\t //Open the test case report for writing \r\n\t foutStrm = new FileOutputStream(Environment.get(\"HTMLREPORTSPATH\")+ \"\\\\SummaryReport.html\", true);\r\n\t \r\n\t //Check color result\r\n\t if (strResult.toUpperCase().equals(\"PASSED\") || strResult.toUpperCase().equals(\"PASS\")){\r\n\t sColor = \"GREEN\";\r\n\t g_iTCPassed ++;\r\n\t }\r\n\t else if (strResult.toUpperCase().equals(\"FAILED\") || strResult.toUpperCase().equals(\"FAIL\")){\r\n\t \tsColor = \"RED\";\r\n\t }\r\n\t else{\r\n\t \tsColor = \"ORANGE\";\r\n\t }\r\n\t\r\n\t g_iTestCaseNo++;\r\n\t\r\n\t if (g_iTestCaseNo % 2 == 0){sRowColor = \"#EEEEEE\";}\r\n\t else{sRowColor = \"#D3D3D3\";}\r\n\t \r\n\t //Write the result of Individual Test Case\r\n\t new PrintStream(foutStrm).println (\"<TR COLS=3 BGCOLOR=\" + sRowColor + \"><TD WIDTH=10%><FONT FACE=VERDANA SIZE=2>\" + g_iTestCaseNo + \"</FONT></TD><TD WIDTH=60%><FONT FACE=VERDANA SIZE=2>\" + strTestCaseName + \"</FONT></TD><TD WIDTH=15%><A HREF='\" + strTestCaseName + \".html'><FONT FACE=VERDANA SIZE=2 COLOR=\" + sColor + \"><B>\" + strResult + \"</B></FONT></A></TD><TD WIDTH=15%><FONT FACE=VERDANA SIZE=2>\" + strDuration+ \"</FONT></TD></TR>\");\r\n \r\n \tfoutStrm.close();\r\n }\r\n catch (IOException io) \r\n\t\t{\r\n\t\t\tio.printStackTrace();\r\n\t\t}\r\n foutStrm = null;\r\n\r\n }",
"private static void printRunOptions(){\n\t\tSystem.out.println(\"Run options:\");\n\t\tSystem.out.println(\" -simple <configFile> <pathToApplication> <synthesis(true/false)>\");\n\t\tSystem.out.println(\" -simpleSpeedup <configFile> <pathToApplication>\");\n\t\tSystem.out.println(\" -sweep <configFile> <pathToApplication> <sweepConfig> <parallelism(integer)> <synthesis(true/false)>\");\n\t\tSystem.out.println(\" -sweepRemote <configFile> <pathToApplication> <sweepConfig> <parallelism(integer)> <synthesis(true/false)> <hostAddress> <hostPort>\");\n\t\tSystem.out.println(\" -synthesize <configFile> <pathToApplication> <methodName> <scheduleCDFG(true/false)>\");\n\t\tSystem.out.println(\" -test <configFile> <pathToApplication>\");\n\t\tSystem.out.println(\" -speedup <configFile> <pathToApplication>\");\n\t\tSystem.out.println(\" -testCGRAVerilog <configFile> <pathToApplication>\");\n\t}",
"private void TestBasic() {\n\n\t\tPartTimeEmployee e = new PartTimeEmployee(1, \"One\", 40, 8.75);\n\t\tString result = new String();\n\t\t\n\t\tresult = \" Constructor :\\n\"\n\t\t\t+ String.format(\" %s\\n\", \"PartTimeEmployee(1, \\\"One\\\", 40, 8.75)\")\n\t\t\t+ String.format(\" toString() :\\n\")\t\t\n\t\t\t+ String.format(\" %s\\n\", e)\n\t\t\t+ String.format(\" Attributes :\\n\")\t\n\t\t\t+ String.format(\" %-12s : %s\\n\", \"id\", e.getID())\n\t\t\t+ String.format(\" %-12s : %s\\n\", \"name\", e.getName())\n\t\t\t+ String.format(\" %-12s : %s\\n\", \"hours\", e.getHours())\n\t\t\t+ String.format(\" %-12s : %s\\n\", \"rate\", e.getRate())\n\t\t\t+ String.format(\" Calculated attributes:\\n\")\t\n\t\t\t+ String.format(\" %-12s : %,.2f\\n\", \"salary\", e.calculateSalary());\n\t\tout.print(result);\n\t}",
"public void printResults(){\n\t\tSystem.out.println(\"The area of the triangle is \" + findArea());\n\t\tSystem.out.println(\"The perimeter of the triangle is \"+ findPerimeter());}",
"public static void main(String[] args) {\n\n\n for (int i = 0; i < 3; i++) {\n System.out.println(\"\\n********* TEST \" + (i+1) + \" *********\");\n experimentOne(false);\n experimentOne(true);\n\n experimentTwo(false);\n experimentTwo(true);\n\n experimentThree(false);\n experimentThree(true);\n }\n }",
"private static String manualTab(String entry)\r\n\t{\r\n\t\tString tab = \"\";\r\n\t\tfor(int count=0; count < 15 - entry.length(); count++)\r\n\t\t\ttab += \" \";\r\n\t\treturn tab;\r\n\t}",
"@Test\n\tpublic void testMain() {\n\t\t// TODO: test output streams for various IO methods, emulating a user's\n\t\t// input - kinda like Joel did for CSSE2310\n\t\tAssert.fail();\n\t}",
"public static void setup() {\n\t\toutputs.add(new Console.stdout());\n\t}",
"void printUsage(){\n\t\tSystem.out.println(\"Usage: RefactorCalculator [prettyPrint.tsv] [tokenfile.ccfxprep] [cloneM.tsv] [lineM.tsv]\");\n\t\tSystem.out.println(\"Type -h for help.\");\n\t\tSystem.exit(1); //error\n\t}",
"private void createTotalTest(BufferedWriter writer) throws IOException {\r\n\t\t// Creates the layout\r\n\t\tString layout = \"<div style ='height: 100px;width: inherit;'>\";\r\n\t\t// Creates the child div\r\n\t\tString displayTotalTestLayout = \"<div style='width: 260px;background-color: #FFFFFF;box-shadow: 1px 1px 1px #888888;height: 85px;position: absolute;top: 67px;'>\";\r\n\r\n\t\t// Creates Total Test Tag count\r\n\t\twriter.write(layout);\r\n\t\twriter.write(displayTotalTestLayout);\r\n\t\tcreateTotalTestCase(writer);\r\n\t\tcreateTotalTestMethod(writer);\r\n\t\twriter.write(\"</div></div>\");\r\n\t}",
"private void createTotalTestCase(BufferedWriter writer) throws IOException {\r\n\t\tString parent = \"<label style='margin-top: 8px;position: absolute;'>\";\r\n\t\tString content = \"<span style='display: inline;color: #000000;margin-left: 8px;font-weight: bold;font-family: Roboto, sans-serif;'>Total TestCases</span>\";\r\n\t\tString total = \"<span style='display: inline;color: #000000;margin-left: 100px;font-weight: bold;font-family: Roboto, sans-serif;'>\"\r\n\t\t\t\t+ data.getNumberOfTestTags() + \"</span></label>\";\r\n\t\twriter.write(parent + content + total);\r\n\t}",
"public static void printUsage() {\n System.out.println(\"*****\\t*****\\t*****\");\n System.out.println(\"Usage:\");\n System.out.println(\"par/seq, L/B, N, M, C, output file\");\n System.out.println(\"Using type of calculation: par(parallel) or seq(sequential)\");\n System.out.println(\"Using numbers: L - Long, B - BigInteger\");\n System.out.println(\"Program finds all prime numbers in range [N, M]\");\n System.out.println(\"That ends with number C\");\n System.out.println(\"N, M, C should be whole numbers and N must be less than M!\");\n System.out.println(\"Output is written into file \\\"output file\\\", first number is \");\n System.out.println(\"The quantity of prime numbers and after - all found prime numbers\");\n System.out.println(\"*****\\t*****\\t*****\");\n }",
"private void help() {\n String border = \"=====================================================================================\";\n String title = \"AILearning API:\\n\";\n String template = \"arguments: numOfControls, controls..., quantityOfEach, hasHighContrast, hasDisabled, \" +\n \"hasNoise, isUnsorted\\n\";\n String numOfCon= \"numOfControls - integer number of controls (1 - 6)\\n\";\n String contrls = \"controls... - each control is string and number of strings equals numOfControls\";\n String namesOfControls = \"Every string is define symbol:\\nB - Button, TF - TextField, RB - RadioButton\" +\n \"Sp - Spinner, Sl - Slider, CB - CheckBox\\n\";\n String quantityOfEach = \"quantityOfEach - integer number of each control (0 - 1 000 000)\\n\";\n String highContrast = \"hasHighContrast - string (true or false)\\n\";\n String disabled = \"hasDisabled - string (true of false)\\nif true - some controls will be disabled\\n\";\n String noise = \"hasNoise - string (true or false)\\n\";\n String unsorted = \"isUnsorted - string (true or false)\\nif true - controls will be in one folder\\n\";\n String example = \"Example: 3 B TF RB 100 true true true false\";\n String meaning = \"It means that app will generate 100 Buttons, 100 TextFields, 100 RadioButtons \" +\n \"with high contrast, noise,\\nsome controls will be disabled and locate in different folders\";\n\n System.out.println(String.format(\"%s\\n%s\\n%s\\n%s\\n%s\\n%s\\n%s\\n%s\\n%s\\n%s\\n%s\\n%s\\n%s\", border, title, template, numOfCon,\n contrls, namesOfControls, quantityOfEach, highContrast, disabled, noise, unsorted, example, meaning));\n }",
"@Test\n public void testPrintErrPosLnS() throws Exception\n {\n//TODO: Test goes here... \n }",
"@Test\n public void testOutputDelimited() throws Throwable {\n testOutputDelimited(false);\n }",
"private void printTestingStatus(final boolean status) {\n this.out.println();\n this.print(\n new If<Text>(\n () -> status,\n () -> new GreenText(\"Testing successful.\"),\n () -> new RedText(\"Testing failed.\")\n ).value().text()\n );\n this.out.println();\n }",
"public void printResults() {\n\t System.out.println(\"BP\\tBR\\tBF\\tWP\\tWR\\tWF\");\n\t System.out.print(NF.format(boundaryPrecision) + \"\\t\" + NF.format(boundaryRecall) + \"\\t\" + NF.format(boundaryF1()) + \"\\t\");\n\t System.out.print(NF.format(chunkPrecision) + \"\\t\" + NF.format(chunkRecall) + \"\\t\" + NF.format(chunkF1()));\n\t System.out.println();\n }",
"@Before\n\tpublic void loadOutput() {\n\t\tSystem.setOut(new PrintStream(this.out));\n\t}",
"@Test\n public void testPrintRoster() {\n System.out.println(\"Roster.printRoster\");\n System.setOut(new PrintStream(outContent));\n allStudents.printRoster();\n String expectedResult = \"\" +\n \"Alice A Anderson is majoring in Anthropology with a GPA of 3.0\\n\" +\n \"Bob Black is majoring in Biology with a GPA of 3.2\\n\" +\n \"Charles Chuck Chamberlain is majoring in Computer Science with a GPA of 3.5\\n\" +\n \"Dave Deer is majoring in Dance with a GPA of 2.5\\n\" +\n \"Eve Edelstein is majoring in Environmental Studies with a GPA of 2.5\\n\" +\n \"Fred F Flinstone is majoring in French with a GPA of 3.2\\n\" +\n \"George Giannopulos is majoring in German with a GPA of 2.0\\n\" +\n \"Hillary Humble is majoring in History with a GPA of 2.8\\n\" +\n \"Ivan Iverson is majoring in Information Technology with a GPA of 3.3\\n\" +\n \"Juan is majoring in Journalism with a GPA of 3.5\\n\";\n assertEquals(expectedResult, outContent.toString());\n System.setOut(System.out);\n }",
"@Test\n\tpublic static void m() {\n\t\tSystem.out.println();\n\t\tSystem.out.println();\n\t\tSystem.out.println(\"Sample 3 added in eclipse\");\n\t\tSystem.out.println(\"to test upstream\");\n\t\tSystem.out.println(\"Sample 3 added in eclipse new line in system locally\");\n\t}",
"private void generate_test_code()\n {\n int I;\n DataType[] ParamTypes = m_Problem.getParamTypes();\n DataType ReturnType = m_Problem.getReturnType();\n TestCase[] Cases = m_Problem.getTestCases();\n StringBuffer Code = new StringBuffer();\n\n Code.append(\"private:\\n\");\n\n // Generate the vector output function\n Code.append(\"\\ttemplate <typename T> string print_array(const vector<T> &V) { ostringstream os; os << \\\"{ \\\"; for (typename vector<T>::const_iterator iter = V.begin(); iter != V.end(); ++iter) os << \\'\\\\\\\"\\' << *iter << \\\"\\\\\\\",\\\"; os << \\\" }\\\"; return os.str(); }\\n\\n\");\n\n // Generate the verification function\n generate_verification_code(Code, ReturnType);\n\n // Generate the individual test cases\n Code.append(\"\\n\");\n\n /*\n * Generate the test wrapper function that can call\n * either all or individual test cases. (-1 for all)\n */\n Code.append(\"public:\\n\");\n Code.append(\"\\tvoid run_test(int Case) { \\n\");\n Code.append(\"\\t\\tint n = 0;\\n\\n\");\n for (I = 0; I < Cases.length; ++I)\n generate_test_case(I, Code, ParamTypes, ReturnType, Cases[I]);\n // next\n Code.append(\"\\t}\\n\");\n\n // Insert the cut tags\n Code.insert(0, k_BEGINCUT);\n Code.append(k_ENDCUT);\n\n m_Tags.put(k_TESTCODE, Code.toString());\n }",
"public static void main(String[] args) {\n\t\tSystem.out.printf(\"%10s%10s%10s\\n\",\"item\",\"count\",\"price\");\n\t\tSystem.out.printf(\"%10s%10s%10s\\n\",\"pen\",\"20\",\"100\");\n\t\tSystem.out.printf(\"%10s%10s%10s\\n\",\"note\",\"5\",\"95\");\n\t\tSystem.out.printf(\"%10s%10s%10s\\n\",\"eraser\",\"110\",\"97\");\n\t}",
"@Test(priority = 2 , retryAnalyzer = Retry.class)\n\tpublic void VPORT_10_VerifyAllTabsPages()\n\t{\n\t\tString districtUser = dependentData.getProperty(\"VPORT_002_DistrictUserName\");\n\t\tvportloginpage.enterLoginCredentials(districtUser, vportData.distUserPassword);\n\t\tdistrictAdminHomepage = (DistrictAdminHomepage) vportloginpage.clickSignInButton(ReturnPage.MYDISTRICPAGE);\n\t\t//\tVerifying all the Pages and links for District user\n\t\tdistrictAdminHomepage.verifyAllTheLinksAndPages(\"DistUser\");\n\t\t//Log out from District user Login\n\t\tvportloginpage=districtAdminHomepage.clickLogoutLink();\n\t\tvportloginpage.verifyLoginPage();\n\n\t\t/*\t ---Verification For Campus User User--- \n\t\tString campusUser = dependentData.getProperty(\"VPORT_002_SchoolUser\");\n\t\tvportloginpage.enterLoginCredentials(campusUser, vportData.schoolUserPassword);\n\t\tdistrictAdminHomepage = (DistrictAdminHomepage) vportloginpage.clickSignInButton(ReturnPage.MYDISTRICPAGE);\n\t\t//\tVerifying all the Pages and links for District user\n\t\tdistrictAdminHomepage.verifyAllTheLinksAndPages(\"CampUser\");\n\t\t//Log out from Campus/School user Login\n\t\tvportloginpage=districtAdminHomepage.clickLogoutLink();\n\t\tvportloginpage.verifyLoginPage();\n\n\t\t ---Verification For Teacher User--- \n\t\tString teacher = dependentData.getProperty(\"VPORT_006_TeacherUserID\");\n\t\tvportloginpage.enterLoginCredentials(teacher, teacher);\n\t\tdistrictAdminHomepage = (DistrictAdminHomepage) vportloginpage.clickSignInButton(ReturnPage.MYDISTRICPAGE);\n\t\t//\tVerifying all the Pages and links for District user\n\t\tdistrictAdminHomepage.verifyAllTheLinksAndPages(\"Teacher\");\n\t\t//Log out from Teacher user Login\n\t\tvportloginpage=districtAdminHomepage.clickLogoutLink();\n\t\tvportloginpage.verifyLoginPage();*/\n\t}",
"@Test public void summaryInfoTest()\n {\n PentagonalPyramid[] pArray = new PentagonalPyramid[100];\n PentagonalPyramid p1 = new PentagonalPyramid(\"PP1\", 1, 2);\n PentagonalPyramid p2 = new PentagonalPyramid(\"PP1\", 2, 3);\n PentagonalPyramid p3 = new PentagonalPyramid(\"PP1\", 3, 4);\n pArray[0] = p1;\n pArray[1] = p2;\n pArray[2] = p3;\n \n PentagonalPyramidList2 pList = new PentagonalPyramidList2(\"ListName\", \n pArray, 3);\n \n Assert.assertEquals(\"summary Test\", true, \n pList.summaryInfo().contains(\"Total\"));\n \n }",
"@Test\n @Order(6)\n void tabuSizeTest() {\n for (String taillardFilename : SearchTestUtil.taillardFilenames) {\n System.out.println(\"-----------------\");\n System.out.println(\"Run \" + taillardFilename);\n System.out.println(\"-----------------\");\n tabuSizeTestWith(taillardFilename);\n }\n }",
"public static void options(){\n System.out.println(\"Choose from the following options \");\n System.out.println(\"0 Print the options again\");\n System.out.println(\"1 Create Student Records\");\n System.out.println(\"2 Create Teacher Records\");\n System.out.println(\"3 Edit the Records\");\n System.out.println(\"4 Get the Record Count\");\n System.out.println(\"5 Exit\");\n }",
"void completedOutput(TestResult tr, Section section, String outputName);",
"private static void help() {\n\t\tSystem.out.println(\"\\n----------------------------------\");\n\t\tSystem.out.println(\"---Regatta Calculator Commands----\");\n\t\tSystem.out.println(\"----------------------------------\");\n\t\tSystem.out.println(\"addtype -- Adds a boat type and handicap to file. Format: name:lowHandicap:highHandicap\");\n\t\tSystem.out.println(\"format -- Provides a sample format for how input files should be arranged.\");\n\t\tSystem.out.println(\"help -- Lists every command that can be used to process regattas.\");\n\t\tSystem.out.println(\"podium -- Lists the results of the regatta, assuming one has been processed.\");\n\t\tSystem.out.println(\"regatta [inputfile] -- Accepts an input file as a parameter, this processes the regatta results outlined in the file.\");\n\t\tSystem.out.println(\"types -- lists every available boat type.\");\n\t\tSystem.out.println(\"write [outputfile] -- Takes the results of the regatta and writes them to the file passed as a parameter.\");\n\t\tSystem.out.println(\"----------------------------------\\n\");\n\t}",
"private void outputIndentation() {\n\t for (int i = 0; i < indent; i++) {\n\t out.print(basicIndent);\n\t }\n\t}",
"private void writeResults(File tempFile, BackupPolicy backupPolicy)\n throws IOException {\n Writer out;\n try {\n out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(tempFile), StandardCharsets.UTF_8));\n } catch (IOException e) {\n execStatus = Status.error(\"Problem writing result file for test: \" + getTestName());\n resultsFile = null; // file not successfully written after all\n throw e;\n }\n\n try {\n // redundant, is done in setResult\n // needed though if setResult isn't being called\n props = PropertyArray.put(props, EXEC_STATUS, execStatus.toString());\n\n // file header\n out.write(JTR_V2_HEADER);\n out.write(lineSeparator);\n\n // date and time\n out.write(\"#\" + new Date().toString());\n out.write(lineSeparator);\n\n // checksum header and data\n //out.write(JTR_V2_CHECKSUM);\n //out.write(Long.toHexString(computeChecksum()));\n //out.write(lineSeparator);\n /*\n if (debug) { // debugging code\n out.write(\"# debug: test desc checksum: \");\n out.write(Long.toHexString(computeChecksum(desc)));\n out.write(lineSeparator);\n\n for (Iterator iter = desc.getParameterKeys(); iter.hasNext(); ) {\n // don't rely on enumeration in a particular order\n // so simply add the checksum products together\n String KEY = (String) (iter.next());\n out.write(\"# debug: test desc checksum key \" + KEY + \": \");\n out.write(Long.toHexString(computeChecksum(KEY) * computeChecksum(desc.getParameter(KEY))));\n out.write(lineSeparator);\n }\n\n out.write(\"# debug: test env checksum: \");\n if (env == null)\n out.write(\"null\");\n else\n out.write(Long.toHexString(computeChecksum(env)));\n out.write(lineSeparator);\n\n out.write(\"# debug: test props checksum: \");\n out.write(Long.toHexString(computeChecksum(props)));\n out.write(lineSeparator);\n\n out.write(\"# debug: test sections checksum: \");\n out.write(Long.toHexString(computeChecksum(sections)));\n out.write(lineSeparator);\n\n for (int I = 0; I < sections.length; I++) {\n out.write(\"# debug: test section[\" + I + \"] checksum: \");\n out.write(Long.toHexString(computeChecksum(sections[I])));\n out.write(lineSeparator);\n\n String[] NAMES = sections[I].getOutputNames();\n for (int J = 0; J < NAMES.length; J++) {\n out.write(\"# debug: test section[\" + I + \"] name=\" + NAMES[J] + \" checksum: \");\n out.write(Long.toHexString(computeChecksum(NAMES[J])));\n out.write(lineSeparator);\n\n out.write(\"# debug: test section[\" + I + \"] name=\" + NAMES[J] + \" output checksum: \");\n out.write(Long.toHexString(computeChecksum(sections[I].getOutput(NAMES[J]))));\n out.write(lineSeparator);\n }\n }\n }*/\n\n // description header and data\n out.write(JTR_V2_TESTDESC);\n out.write(lineSeparator);\n\n Map<String, String> tdProps = new HashMap<>();\n desc.save(tdProps);\n PropertyArray.save(PropertyArray.getArray(tdProps), out);\n out.write(lineSeparator);\n\n // test environment header and data\n if (env != null) {\n out.write(JTR_V2_ENVIRONMENT);\n out.write(lineSeparator);\n PropertyArray.save(env, out);\n out.write(lineSeparator);\n }\n\n // test result props header and data\n out.write(JTR_V2_RESPROPS);\n out.write(lineSeparator);\n PropertyArray.save(props, out);\n out.write(lineSeparator);\n\n // get sections into memory\n // I hope the out stream is not the same as the resultFile!\n if (sections == null) {\n throw new JavaTestError(\"Cannot write test result - it contains no sections.\");\n }\n\n for (Section section : sections) {\n section.save(out);\n }\n\n out.write(lineSeparator);\n out.write(JTR_V2_TSTRESULT);\n out.write(execStatus.toString());\n out.write(lineSeparator);\n out.close();\n } // try\n catch (IOException e) {\n // This exception could be raised when trying to create the directory\n // for the test results; opening the results file, or closing it.\n execStatus = Status.error(\"Write to temp. JTR file failed (old JTR intact): \" +\n tempFile.getPath());\n resultsFile = null; // file not successfully written after all\n throw e;\n } // catch\n\n try {\n backupPolicy.backupAndRename(tempFile, resultsFile);\n\n // now that it has been successfully written out, make the object\n // a candidate for shrinking\n addToShrinkList();\n } // try\n catch (IOException e) {\n // This exception could be raised when trying to create the directory\n // for the test results; opening the results file, or closing it.\n execStatus = Status.error(\"Problem writing result file: \" +\n resultsFile.getPath());\n resultsFile = null; // file not successfully written after all\n throw e;\n } // catch\n }",
"public static void main(String[] args) {\n System.out.print(\"\\t\\t\");\r\n for (int i = 0; i <= COLUMN; i++) {\r\n System.out.print(i + \"\\t\");\r\n }\r\n System.out.println();\r\n\r\n // handle printing horizontal border\r\n System.out.print(\"\\t-----\");\r\n for (int i = 0; i <= COLUMN; i++) {\r\n System.out.print(\"----\");\r\n }\r\n System.out.println();\r\n\r\n // handle printing row numbers and vertical border\r\n for (int i = 0; i <= ROW; i++) {\r\n System.out.print(i + \"\\t|\\t\");\r\n // nested loop, creating the multiplication table\r\n for (int j = 0 ; j <= COLUMN; j++) {\r\n System.out.print((i * j) + \"\\t\");\r\n }\r\n System.out.println();\r\n }\r\n }",
"@Test\n public void execute_validParameters_success() throws CommandException {\n System.setOut(modelPrintStream);\n new ViewParticipantCommand(this.participantToView.getId()).execute(modelOneParticipant);\n String output = modelOut.toString();\n // Configure correct output\n String expectedOutput = new StringBuilder()\n .append(String.format(\"Viewing %s%s\", this.participantToView.getName(), NEW_LINE))\n .append(String.format(\"\\t%s%s\", this.participantToView.toString(), NEW_LINE))\n .toString();\n // Test and reset OutputStream\n assertEquals(expectedOutput, output);\n modelOut.reset();\n }",
"private void writeResult(String testClassName, List<TestResult> results)\n throws IOException, ParserConfigurationException, TransformerException {\n // XML writer logic taken from:\n // http://www.genedavis.com/library/xml/java_dom_xml_creation.jsp\n\n DocumentBuilder docBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();\n Document doc = docBuilder.newDocument();\n doc.setXmlVersion(\"1.1\");\n\n Element root = doc.createElement(\"testcase\");\n root.setAttribute(\"name\", testClassName);\n doc.appendChild(root);\n\n for (TestResult result : results) {\n Element test = doc.createElement(\"test\");\n\n // name attribute\n test.setAttribute(\"name\", result.testMethodName);\n\n // success attribute\n boolean isSuccess = result.isSuccess();\n test.setAttribute(\"success\", Boolean.toString(isSuccess));\n\n // time attribute\n long runTime = result.runTime;\n test.setAttribute(\"time\", String.valueOf(runTime));\n\n // Include failure details, if appropriate.\n if (!isSuccess) {\n Failure failure = result.failure;\n String message = failure.getMessage();\n test.setAttribute(\"message\", message);\n\n String stacktrace = failure.getTrace();\n test.setAttribute(\"stacktrace\", stacktrace);\n }\n\n // stdout, if non-empty.\n if (result.stdOut != null) {\n Element stdOutEl = doc.createElement(\"stdout\");\n stdOutEl.appendChild(doc.createTextNode(result.stdOut));\n test.appendChild(stdOutEl);\n }\n\n // stderr, if non-empty.\n if (result.stdErr != null) {\n Element stdErrEl = doc.createElement(\"stderr\");\n stdErrEl.appendChild(doc.createTextNode(result.stdErr));\n test.appendChild(stdErrEl);\n }\n\n root.appendChild(test);\n }\n\n // Create an XML transformer that pretty-prints with a 2-space indent.\n TransformerFactory transformerFactory = TransformerFactory.newInstance();\n Transformer trans = transformerFactory.newTransformer();\n trans.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, \"no\");\n trans.setOutputProperty(OutputKeys.INDENT, \"yes\");\n trans.setOutputProperty(\"{http://xml.apache.org/xslt}indent-amount\", \"2\");\n\n // Write the result to a file.\n File outputFile = new File(outputDirectory, testClassName + \".xml\");\n OutputStream output = new BufferedOutputStream(new FileOutputStream(outputFile));\n StreamResult streamResult = new StreamResult(output);\n DOMSource source = new DOMSource(doc);\n trans.transform(source, streamResult);\n output.close();\n }",
"private static void printUsage() {\n System.err.println(\"\\n\\nUsage:\\n\\tAnalyzeRandomizedDB [-p] [-v] [--enzyme <enzymeName> [--mc <number_of_missed_cleavages>]] <original_DB> <randomized_DB>\");\n System.err.println(\"\\n\\tFlag significance:\\n\\t - p : print all redundant sequences\\n\\t - v : verbose output (application flow and basic statistics)\\n\");\n System.exit(1);\n }",
"@Test\n public void testSetConsole() {\n System.out.println(\"setConsole\");\n String text = \"\";\n MainWindow1 instance = new MainWindow1();\n instance.setConsole(text);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }",
"public void printSettings() {\n Logger.println(\"\\n---------- Simulated Annealing Settings ----------\");\n Logger.println(\" Max Iteration = \" + MAX_ITERATION);\n Logger.println(\" Denominator = \" + denominatorString());\n Logger.println(\" Initial Solution = \" + initialSolutionString());\n Logger.println(\"--------------------------------------------------\\n\");\n }",
"@Test(priority = 4)\r\n\tpublic void PDPPage_TabsDIsplay() throws Exception\r\n\t{\r\n\t\tthis.driver=driver;\r\n Click_Action.Btn_Click(PageObjectModal.WISE_PDPPage_Page.PDP_TroubleShoot_CSS, 7, 6,\"CSS\");\r\n \r\n //Thread.sleep(1000);\r\n AssertCls.AssertText(PageObjectModal.WISE_PDPPage_Page.PDP_TroubleShootTitle_CSS, 7, 6, 7, 5,\"CSS\");\r\n\r\n Click_Action.Btn_Click(PageObjectModal.WISE_PDPPage_Page.PDP_HowTo_CSS, 8, 6,\"CSS\");\r\n \r\n Thread.sleep(1000);\r\n AssertCls.AssertText(PageObjectModal.WISE_PDPPage_Page.PDP_HowToTitle_CSS, 8, 6, 8, 5,\"CSS\");\r\nClick_Action.Btn_Click(PageObjectModal.WISE_PDPPage_Page.PDP_ProdInfo_CSS, 9, 6,\"CSS\");\r\n \r\n Thread.sleep(1000);\r\n AssertCls.AssertText(PageObjectModal.WISE_PDPPage_Page.PDP_ProdInfoTitle_CSS, 9, 6, 9, 5,\"CSS\");\r\n /*\r\n //**\r\n Set<String> AllWindowHandles = driver.getWindowHandles();\r\n String window1 = (String) AllWindowHandles.toArray()[0];\r\n System.out.print(\"window1 handle code = \"+AllWindowHandles.toArray()[0]);\r\n String window2 = (String) AllWindowHandles.toArray()[1];\r\n System.out.print(\"\\nwindow2 handle code = \"+AllWindowHandles.toArray()[1]);\r\n driver.switchTo().window(window2);\r\n \r\n //**\r\n */\r\n \r\n // driver.close();\r\n //driver.switchTo().window(window1);\r\n //driver.close();\r\n\t\t\r\n\t\t\t\t\r\n\t}",
"public PrintStreamCommandOutput()\n {\n this( System.out );\n }",
"Output createOutput();",
"@Test\n @Named(\"Error message\")\n @Order(8)\n public void _errorMessage() throws Exception {\n final Procedure1<Boolean> _function = new Procedure1<Boolean>() {\n public void apply(final Boolean it) {\n final Procedure1<UsingTablesSpecExample> _function = new Procedure1<UsingTablesSpecExample>() {\n public void apply(final UsingTablesSpecExample it) {\n int _plus = (it.value1 + it.value2);\n boolean _doubleArrow = Should.operator_doubleArrow(Integer.valueOf(_plus), Integer.valueOf(it.sum));\n Assert.assertTrue(\"\\nExpected value1 + value2 => sum but\"\n + \"\\n value1 + value2 is \" + new StringDescription().appendValue(Integer.valueOf(_plus)).toString()\n + \"\\n value1 is \" + new StringDescription().appendValue(it.value1).toString()\n + \"\\n value2 is \" + new StringDescription().appendValue(it.value2).toString()\n + \"\\n sum is \" + new StringDescription().appendValue(Integer.valueOf(it.sum)).toString() + \"\\n\", _doubleArrow);\n \n }\n };\n ExampleTableIterators.<UsingTablesSpecExample>forEach(UsingTablesSpec.this.example, _function);\n }\n };\n String _errorMessage = Helpers.errorMessage(_function);\n StringConcatenation _builder = new StringConcatenation();\n _builder.append(\"example failed\");\n _builder.newLine();\n _builder.newLine();\n _builder.append(\" \");\n _builder.append(\"| value1 | value2 | sum |\");\n _builder.newLine();\n _builder.append(\" \");\n _builder.append(\"| <1> | <2> | <3> | \\u2713\");\n _builder.newLine();\n _builder.append(\" \");\n _builder.append(\"| <4> | <5> | <7> | \\u2718 (1)\");\n _builder.newLine();\n _builder.append(\" \");\n _builder.append(\"| <7> | <8> | <14> | \\u2718 (2)\");\n _builder.newLine();\n _builder.newLine();\n _builder.append(\"(1) java.lang.AssertionError: \");\n _builder.newLine();\n _builder.append(\"Expected value1 + value2 => sum but\");\n _builder.newLine();\n _builder.append(\" \");\n _builder.append(\"value1 + value2 is <9>\");\n _builder.newLine();\n _builder.append(\" \");\n _builder.append(\"value1 is <4>\");\n _builder.newLine();\n _builder.append(\" \");\n _builder.append(\"value2 is <5>\");\n _builder.newLine();\n _builder.append(\" \");\n _builder.append(\"sum is <7>\");\n _builder.newLine();\n _builder.newLine();\n _builder.append(\"(2) java.lang.AssertionError: \");\n _builder.newLine();\n _builder.append(\"Expected value1 + value2 => sum but\");\n _builder.newLine();\n _builder.append(\" \");\n _builder.append(\"value1 + value2 is <15>\");\n _builder.newLine();\n _builder.append(\" \");\n _builder.append(\"value1 is <7>\");\n _builder.newLine();\n _builder.append(\" \");\n _builder.append(\"value2 is <8>\");\n _builder.newLine();\n _builder.append(\" \");\n _builder.append(\"sum is <14>\");\n Helpers.is(_errorMessage, _builder);\n }",
"public void createOutput() {\n\t\tsetOutput(new Output());\n\t}",
"public void printValidateInformation() {\n\n if(!validateFirstName()){\n System.out.println(\"The first name must be filled in\");\n }\n if(!validateFirstNameLength()){\n System.out.println(\"The first name must be at least 2 characters long.\");\n }\n if(!validateLastName()){\n System.out.println(\"The last name must be filled in\");\n }\n if(!validateLastNameLength()){\n System.out.println(\"The last name must be at least 2 characters long.\");\n }\n if(!validateZipcode()){\n System.out.println(\"The zipcode must be a 5 digit number.\");\n }\n if (!validateEmployeeID()){\n System.out.println(\"The employee ID must be in the format of AA-1234.\");\n }\n\n if(validateFirstName() && validateFirstNameLength() && validateLastName() && validateLastNameLength()\n && validateZipcode() && validateEmployeeID()){\n System.out.println(\"There were no errors found.\");\n }\n }",
"public static void main(String[] args) {\n\t\tint i = 0;\r\n\t\tif( i == 0) {\r\n\t\t\tSystem.out.println(\"HTML_Template\");\r\n\t\t\tSystem.out.println(\"HTML_Template : Italic String\");\r\n\t\t\tSystem.out.println(\"HTML_Template : Underline, select, UL & OL\");\r\n\t\t\tSystem.out.println(\"HTML_Template : Textbox, Button\");\r\n\t\t\tSystem.out.println(\"HTML_Template : Textbox, Button value Special Characters\");\r\n\t\t\tSystem.out.println(\"HTML_Template : Textbox, Blank\");\r\n\t\t\tSystem.out.println(\"HTML_Template : Textbox, Special Chars\");\r\n\t\t\tSystem.out.println(\"HTML_Template : Radio & Checkbox\");\r\n\t\t\tSystem.out.println(\"HTML_Template : Blank Commit Msg \");\r\n\t\t\tSystem.out.println(\"HTML_Template : Image Check New\");\r\n\t\t\tSystem.out.println(\"HTML_Template : Kovair To Jira\");\r\n\t\t\tSystem.out.println(\"HTML_Template : Kovair To Jira at 11.07AM\");\r\n\t\t\tSystem.out.println(\"HTML_Template : Kovair To Jira at 11.07AM SyncBack\");\r\n\t\t\tSystem.out.println(\"HTML_Template : TP-134\");\r\n\t\t\tSystem.out.println(\"HTML_Template : Any Random Key\");\r\n\t\t\tSystem.out.println(\"HTML_Template : Test Flowqqq\");\r\n\t\t}\r\n\t}",
"@Test\n public void exerciseTwoTest() {\n driver.get(properties.getProperty(\"URL\"));\n\n // 2. Assert Browser title\n homePageAsserts.shouldReturnPageTitle();\n\n // 3. Perform login\n homePageSteps.login(properties.getProperty(\"username\"), properties.getProperty(\"password\"));\n\n // 4. Assert User name in the left-top side of screen that user is loggined\n homePageAsserts.shouldReturnUsernameText();\n\n // 5. Open through the header menu Service -> Different Elements Page\n homePageSteps.clickServiceButton();\n homePageSteps.openDifferentElementsPage();\n\n // 6. Select checkboxes\n differentElementsPageSteps.selectCheckbox(WATER.getValue());\n differentElementsPageSteps.selectCheckbox(WIND.getValue());\n\n // 7. Select radio\n differentElementsPageSteps.selectRadioButton(SELEN.getValue());\n\n // 8. Select in dropdown\n differentElementsPageSteps.selectDropdown(YELLOW.getValue());\n\n // 9.1 Assert that for each checkbox there is an individual log row\n // and value is corresponded to the status of checkbox\n differentElementsAsserts.shouldReturnSelectedCheckbox();\n differentElementsAsserts.shouldReturnLogRowText(WATER.getValue(), \"true\");\n differentElementsAsserts.shouldReturnLogRowText(WIND.getValue(), \"true\");\n\n // 9.2 Assert that for radio button there is a log row and value is corresponded to the status of radio button\n differentElementsAsserts.shouldReturnSelectedRadioButton();\n differentElementsAsserts.shouldReturnLogRowText(METAL.getValue(), SELEN.getValue());\n\n // 9.3 Assert that for dropdown there is a log row and value is corresponded to the selected value\n differentElementsAsserts.shouldReturnSelectedDropdown();\n differentElementsAsserts.shouldReturnLogRowText(COLORS.getValue(), YELLOW.getValue());\n }"
]
| [
"0.6011908",
"0.5943823",
"0.59088093",
"0.5903437",
"0.57228804",
"0.56666213",
"0.55975366",
"0.5546945",
"0.5521844",
"0.5501088",
"0.5483233",
"0.54654545",
"0.5414279",
"0.5414279",
"0.5397168",
"0.53902984",
"0.5384834",
"0.53815854",
"0.537168",
"0.53533965",
"0.53144157",
"0.5300378",
"0.52943623",
"0.52880555",
"0.52693397",
"0.5265477",
"0.5254859",
"0.52503824",
"0.52495193",
"0.52397287",
"0.5239613",
"0.52279913",
"0.5221638",
"0.5210497",
"0.5208574",
"0.52068704",
"0.52049327",
"0.51972455",
"0.51835245",
"0.5169309",
"0.5162613",
"0.51458114",
"0.5115363",
"0.51101416",
"0.5078833",
"0.5074997",
"0.5060987",
"0.50471675",
"0.50443083",
"0.503445",
"0.50290936",
"0.5020753",
"0.5015049",
"0.50055814",
"0.50021625",
"0.49981067",
"0.49946073",
"0.49858773",
"0.49804962",
"0.49684384",
"0.49608648",
"0.495962",
"0.4949781",
"0.4947809",
"0.49458155",
"0.49217272",
"0.49211517",
"0.49172154",
"0.4913182",
"0.49002784",
"0.49001545",
"0.48998922",
"0.4897233",
"0.48961112",
"0.48830998",
"0.488",
"0.487901",
"0.48781168",
"0.48779634",
"0.4870266",
"0.4868043",
"0.48616943",
"0.48591042",
"0.484044",
"0.48358598",
"0.48357183",
"0.48312047",
"0.48311874",
"0.48308137",
"0.4829086",
"0.48281956",
"0.48265478",
"0.4826506",
"0.48232913",
"0.4822174",
"0.4819923",
"0.4815789",
"0.48067957",
"0.48044574",
"0.4804346"
]
| 0.63344115 | 0 |
This method creates a definition list for basic parameters of a test. | private String createBasicParameterRepresentation(
BaseSignatureTestData baseData) {
StringBuilder sb = new StringBuilder();
sb.append("<dl>");
sb.append(createDescription("Input file", baseData.getPdfFile()));
sb.append(createDescription("Output file", baseData.getOutputFile()));
sb.append(createDescription("Signature profile", baseData.getProfilID()));
sb.append(createDescription("Connector Type", baseData
.getConnectorData().getConnectorType()));
if (baseData.getConnectorData().getConnectorParameters().size() > 0) {
StringBuilder connectorParameters = new StringBuilder();
connectorParameters.append("<dl class=\"dl-horizontal\">");
for (Entry<String, String> e : baseData.getConnectorData()
.getConnectorParameters().entrySet())
connectorParameters.append(createDescription(e.getKey(),
e.getValue()));
connectorParameters.append("</dl>");
sb.append(createDescription("Connector Parameters",
connectorParameters.toString()));
}
sb.append(createDescription("Test Type", getTestType()));
sb.append("</dl>");
return sb.toString();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static final List<ParameterImpl> createParameters() {\n\t\tParameterImpl initialize = new ParameterImpl.Builder()\n\t\t\t\t.setLabel(\"Initialize\") // FIXME: STRING: srogers\n\t\t\t\t.setName(\"INITIALIZE\") // FIXME: STRING: srogers\n\t\t\t\t.setType(\"checkbox\")\n\t\t\t\t.setDefaultValue(\"true\")\n\t\t\t\t.setAcceptableValues(null)\n\t\t\t\t.setRequired(false)\n\t\t\t\t.build();\n\n\t\tParameterImpl run = new ParameterImpl.Builder()\n\t\t\t\t.setLabel(\"Run\") // FIXME: STRING: srogers\n\t\t\t\t.setName(\"RUN\") // FIXME: STRING: srogers\n\t\t\t\t.setType(\"checkbox\")\n\t\t\t\t.setDefaultValue(\"true\")\n\t\t\t\t.setAcceptableValues(null)\n\t\t\t\t.setRequired(false)\n\t\t\t\t.build();\n\n\t\tParameterImpl duration = new ParameterImpl.Builder()\n\t\t\t\t.setLabel(\"Duration (minutes)\") // FIXME: STRING: srogers\n\t\t\t\t.setName(\"DURATION\") // FIXME: STRING: srogers\n\t\t\t\t.setType(\"number\")\n\t\t\t\t.setDefaultValue(\"0\")\n\t\t\t\t.setAcceptableValues(null)\n\t\t\t\t.setRequired(false)\n\t\t\t\t.build();\n\n\t\tParameterImpl retrieveData = new ParameterImpl.Builder()\n\t\t\t\t.setLabel(\"Retrieve Data\") // FIXME: STRING: srogers\n\t\t\t\t.setName(\"RETRIEVE_DATA\") // FIXME: STRING: srogers\n\t\t\t\t.setType(\"checkbox\")\n\t\t\t\t.setDefaultValue(\"true\")\n\t\t\t\t.setAcceptableValues(null)\n\t\t\t\t.setRequired(false)\n\t\t\t\t.build();\n\n\t\tParameterImpl cleanup = new ParameterImpl.Builder()\n\t\t\t\t.setLabel(\"Cleanup\") // FIXME: STRING: srogers\n\t\t\t\t.setName(\"CLEANUP\") // FIXME: STRING: srogers\n\t\t\t\t.setType(\"checkbox\")\n\t\t\t\t.setDefaultValue(\"true\")\n\t\t\t\t.setAcceptableValues(null)\n\t\t\t\t.setRequired(false)\n\t\t\t\t.build();\n\n\t\tParameterImpl cancel = new ParameterImpl.Builder()\n\t\t\t\t.setLabel(\"Cancel\") // FIXME: STRING: srogers\n\t\t\t\t.setName(\"CANCEL\") // FIXME: STRING: srogers\n\t\t\t\t.setType(\"checkbox\")\n\t\t\t\t.setDefaultValue(\"false\")\n\t\t\t\t.setAcceptableValues(null)\n\t\t\t\t.setRequired(false)\n\t\t\t\t.build();\n\n\t\treturn Arrays.asList(initialize, run, duration, retrieveData, cleanup, cancel);\n\t}",
"@Parameters\n public static Collection<Object[]> testParameters() {\n Collection<Object[]> params = new ArrayList<Object[]>();\n\n for (OPT opt: OPT.values()) {\n Object[] par = new Object[2];\n par[0] = opt;\n par[1] = opt.name();\n\n params.add( par );\n }\n\n return params;\n }",
"private void SetParameters(XmlTest test){\r\n\t\t for (Map.Entry<String,String> entry : TestsParamList.get(test.getName()).entrySet()){\r\n\t\t\t test.addParameter(entry.getKey(), entry.getValue());\r\n\t\t }\r\n\t}",
"public String getParamDefs() {\r\n return super.getParamDefs() + \", \" + SampledPolicy.paramNameTypes;\r\n }",
"java.util.List<gen.grpc.hospital.examinations.Parameter> \n getParameterList();",
"ParameterList getParameters();",
"@Test\r\n public void testParamterized()\r\n {\r\n test(Types.create(List.class).withType(Number.class).build());\r\n }",
"String getExampleParameters();",
"public String getParamDefs() {\n return super.getParamDefs() + \", \" + PlainValueFunction.paramNameTypes;\n }",
"public ModelElement getParameterDefs() {\n\t((ClassDef)modelElement).clearParameterDef();\n\n\ttry {\n\t\tjava.util.Iterator iterator = getPnlDataSelector().getObjects().iterator();\n\t\twhile (iterator.hasNext()) {\n\t\t\tParameterDef expression = (ParameterDef)ElementFactory.createObject(ParameterDef.class);\n\t\t\texpression.setSyntax((NlsString)iterator.next());\n\t\t\t((ClassDef)modelElement).addParameterDef(expression);\n\t\t}\n\t} catch(Throwable e) {\n\t\thandleException(e);\n\t}\n\n\treturn modelElement;\n}",
"public ListParameter()\r\n\t{\r\n\t}",
"public ParamNameTest(String testName) {\n super(testName);\n }",
"@Before\n public void createSimpleList() {\n testList = new SimpleList();\n }",
"@Parameters({\"name\", \"lastName\"})\n @Test\n public void test1(String name, String lastName){\n System.out.println(\"Name is \"+ name);\n System.out.println(\"Last name is \"+ lastName);\n }",
"static List<Example> createFilledExamples() {\n\t\tList<Example> examples = new ArrayList<>();\n\t\t\n\t\texamples.add(new Example(createFields(2, \"Test\", 0, 33.3d)));\n\t\texamples.add(new Example(createFields(43, \"Test4\", 1, 25)));\n\t\texamples.add(new Example(createFields(5323, \"TestLong\", 1, 4223.436d)));\n\t\t\n\t\treturn examples;\n\t}",
"protected ParameterList(){\n //title = t;\n //cellWorld = cw;\n }",
"@Deprecated public List<TypeParamDef> getParameters(){\n return build(parameters);\n }",
"ParameterDefinitionFactory getParameterDefinitionFactory();",
"@TestMethod(value=\"testGetParameters\")\n public Object[] getParameters() {\n // return the parameters as used for the descriptor calculation\n Object[] params = new Object[3];\n params[0] = maxIterations;\n params[1] = lpeChecker;\n params[2] = maxResonStruc;\n return params;\n }",
"private TestDescriptor() {\r\n super(\"net.ssehub.easy.reasoning.drools2.tests\", \r\n null, \r\n true, // CHECK\r\n false);\r\n }",
"String createParameterJsonSchema();",
"protected void initOtherParams() {\n\n\t\t// init other params defined in parent class\n\t\tsuper.initOtherParams();\n\n\t\t// the Component Parameter\n\t\t// first is default, the rest are all options (including default)\n\t\tcomponentParam = new ComponentParam(Component.AVE_HORZ, Component.AVE_HORZ,\n\t\t\t\tComponent.RANDOM_HORZ, Component.GREATER_OF_TWO_HORZ);\n\n\t\t// the stdDevType Parameter\n\t\tStringConstraint stdDevTypeConstraint = new StringConstraint();\n\t\tstdDevTypeConstraint.addString(StdDevTypeParam.STD_DEV_TYPE_TOTAL);\n\t\tstdDevTypeConstraint.addString(StdDevTypeParam.STD_DEV_TYPE_INTER);\n\t\tstdDevTypeConstraint.addString(StdDevTypeParam.STD_DEV_TYPE_INTRA);\n\t\tstdDevTypeConstraint.addString(StdDevTypeParam.STD_DEV_TYPE_NONE);\n\t\tstdDevTypeConstraint.setNonEditable();\n\t\tstdDevTypeParam = new StdDevTypeParam(stdDevTypeConstraint);\n\n\t\t// add these to the list\n\t\totherParams.addParameter(componentParam);\n\t\totherParams.addParameter(stdDevTypeParam);\n\n\t}",
"java.util.List<com.google.cloud.commerce.consumer.procurement.v1.Parameter> getParametersList();",
"protected void parametersInstantiation_EM() {\n }",
"@TestMethod(value=\"testGetParameterNames\")\n public String[] getParameterNames() {\n \tString[] params = new String[3];\n params[0] = \"maxIterations\";\n params[1] = \"lpeChecker\";\n params[2] = \"maxResonStruc\";\n return params;\n }",
"protected void setupParameters() {\n \n \n\n }",
"@Test\r\n\tpublic void testListArg() {\r\n\t\tAssert.assertEquals(\"test[(`a,`b,`c)]\", new FunctionImpl.FunctionBuilderImpl(\"test\").param(SymbolValue.froms(\"a\", \"b\", \"c\")).build().toQ());\r\n\t}",
"public static List<DesignationModel> buildTestDesignationModelList()\n {\n List<DesignationModel> designationModelList = new ArrayList<>();\n designationModelList.add( buildTestDesignationModel( \"A\" ) );\n designationModelList.add( buildTestDesignationModel( \"B\" ) );\n designationModelList.add( buildTestDesignationModel( \"C\" ) );\n\n return designationModelList;\n }",
"private void listParameters(JavaSamplerContext context)\n {\n if (getLogger().isDebugEnabled())\n {\n Iterator argsIt = context.getParameterNamesIterator();\n while (argsIt.hasNext())\n {\n String name = (String) argsIt.next();\n getLogger().debug(name + \"=\" + context.getParameter(name));\n }\n }\n }",
"java.util.List<datawave.webservice.query.QueryMessages.QueryImpl.Parameter> getParametersList();",
"public void testAll55() throws Exception {\n String[] signature = {\"[QObject;\", \"I\", \"Z\"};\r\n String[] newNames = {\"e\"};\r\n String[] newTypes = {\"boolean\"};\r\n String[] newDefaultValues = {\"true\"};\r\n TestParameterInfo[] newParamInfo = createTestParamInfos(newTypes, newNames,\r\n newDefaultValues);\r\n int[] newIndices = {2};\r\n helperAdd(signature, newParamInfo, newIndices);\r\n\r\n }",
"protected void initParameters(List<ParameterWrapper> params) {\n\t\tparameters = new SchemaParameterCollection();\n\t\tif (params != null) {\n\t\t\tIParameter par;\n\t\t\tfor (ParameterWrapper parwrap : params) {\n\t\t\t\tpar = ParameterFactory.createParameter(parwrap);\n\t\t\t\tparameters.addParameter(par);\n\t\t\t}\n\t\t}\n\t}",
"private void initParameters() {\n Annotation[][] paramsAnnotations = method.getParameterAnnotations();\n for (int i = 0; i < paramsAnnotations.length; i++) {\n if (paramsAnnotations[i].length == 0) {\n contentBuilder.addUnnamedParam(i);\n } else {\n for (Annotation annotation : paramsAnnotations[i]) {\n Class<?> annotationType = annotation.annotationType();\n if (annotationType.equals(PathParam.class)\n && pathBuilder != null) {\n PathParam param = (PathParam) annotation;\n pathBuilder.addParam(param.value(), i);\n } else if (annotationType.equals(QueryParam.class)) {\n QueryParam param = (QueryParam) annotation;\n queryBuilder.addParam(param.value(), i);\n } else if (annotationType.equals(HeaderParam.class)) {\n HeaderParam param = (HeaderParam) annotation;\n headerBuilder.addParam(param.value(), i);\n } else if (annotationType.equals(NamedParam.class)) {\n NamedParam param = (NamedParam) annotation;\n contentBuilder.addNamedParam(param.value(), i);\n } else {\n contentBuilder.addUnnamedParam(i);\n }\n }\n }\n }\n }",
"private GameSetParameters createCustomGameSetParameters() {\n GameSetParameters gameSetParameters = new GameSetParameters();\n gameSetParameters.setPriseBasePoints(20);\n gameSetParameters.setPriseRate(2);\n gameSetParameters.setGardeBasePoints(40);\n gameSetParameters.setGardeRate(4);\n gameSetParameters.setGardeSansBasePoints(80);\n gameSetParameters.setGardeSansRate(8);\n gameSetParameters.setGardeContreBasePoints(160);\n gameSetParameters.setGardeContreRate(16);\n gameSetParameters.setPoigneePoints(10);\n gameSetParameters.setDoublePoigneePoints(20);\n gameSetParameters.setTriplePoigneePoints(30);\n gameSetParameters.setMiseryPoints(10);\n gameSetParameters.setKidAtTheEndPoints(10);\n gameSetParameters.setAnnouncedAndSucceededChelemPoints(400);\n gameSetParameters.setAnnouncedAndFailedChelemPoints(-200);\n gameSetParameters.setNotAnnouncedButSucceededChelemPoints(200);\n gameSetParameters.setBelgianBaseStepPoints(100);\n return gameSetParameters;\n }",
"java.util.List<? extends gen.grpc.hospital.examinations.ParameterOrBuilder> \n getParameterOrBuilderList();",
"public ParameterClassList(){\n if(!initialized){\n paramList=new Hashtable(35,.6f);\n String jarName=jarName();\n if(jarName!=null && jarName.length()>0)\n processJar(jarName);\n else\n processDir();\n }\n\n initialized = true;\n\n if(DEBUG) System.out.println(\"Found \"+paramList.size()+\" parameters\");\n }",
"@TestMethod(value=\"testGetParameters\")\n public Object[] getParameters() {\n // return the parameters as used for the descriptor calculation\n Object[] params = new Object[1];\n params[0] = maxIterations;\n return params;\n }",
"protected String createBasicTestData() {\n BaseSignatureTestData baseData = baseTestInfo.getBaseTestData();\n String basicParameterBody = createBasicParameterRepresentation(baseData);\n StringBuilder basicTestDataPanel = new StringBuilder();\n basicTestDataPanel\n .append(\"<ul id=\\\"tabs\\\" class=\\\"nav nav-tabs\\\" data-tabs=\\\"tabs\\\">\");\n basicTestDataPanel\n .append(\"<li class=\\\"active\\\"><a href=\\\"#basic-parameters\\\" \"\n + \"data-toggle=\\\"tab\\\">Basic parameters</a></li>\");\n basicTestDataPanel\n .append(\"<li><a href=\\\"#std-out\\\" data-toggle=\\\"tab\\\">Standard output</a></li>\");\n basicTestDataPanel\n .append(\"<li><a href=\\\"#std-err\\\" data-toggle=\\\"tab\\\">Standard error</a></li>\");\n basicTestDataPanel.append(\"</ul>\");\n basicTestDataPanel\n .append(\"<div id=\\\"my-tab-content\\\" class=\\\"tab-content\\\">\");\n basicTestDataPanel\n .append(\"<div class=\\\"tab-pane active\\\" id=\\\"basic-parameters\\\">\");\n basicTestDataPanel.append(basicParameterBody);\n basicTestDataPanel.append(\"</div>\");\n basicTestDataPanel.append(\"<div class=\\\"tab-pane\\\" id=\\\"std-out\\\">\");\n basicTestDataPanel.append(\"<pre class=\\\"pre-scrollable\\\">\"\n + baseTestInfo.getStdOut() + \"</pre>\");\n basicTestDataPanel.append(\"</div>\");\n basicTestDataPanel.append(\"<div class=\\\"tab-pane\\\" id=\\\"std-err\\\">\");\n basicTestDataPanel.append(\"<pre class=\\\"pre-scrollable\\\">\"\n + baseTestInfo.getStdErr() + \"</pre>\");\n basicTestDataPanel.append(\"</div>\");\n basicTestDataPanel.append(\"</div>\");\n return basicTestDataPanel.toString();\n }",
"public List<TypeDefinition> getParameters() {\n\t\treturn parameters;\n\t}",
"public DefaultScopeDescriptionTest() {\n }",
"public JTestDefinition allDefaults(){\n return JTestDefinition.builder(Id.of(\"all defaults\"), getEndpoints()).build();\n }",
"public List<ParameterDefinition> getParameterList() {\n if (this.telemetryName != null) {\n TelemetryChartDefinition teleDef = \n this.getTelemetrys().get(telemetryName);\n if (teleDef == null) {\n TelemetryClient client = ProjectBrowserSession.get().getTelemetryClient();\n try {\n teleDef = client.getChartDefinition(this.telemetryName);\n this.getTelemetrys().put(telemetryName, teleDef);\n return teleDef.getParameterDefinition();\n }\n catch (TelemetryClientException e) {\n this.feedback = \"Exception when retrieving Telemetry chart definition: \" + e.getMessage();\n }\n }\n else {\n return teleDef.getParameterDefinition();\n }\n }\n return new ArrayList<ParameterDefinition>();\n }",
"public Parameters() {\n\t}",
"@Test\n\tpublic void addPointsByListTest(){\n\t}",
"public ParameterList getAdjustableParams();",
"List<PowreedCommandParameter> getParameters();",
"public final PythonParser.defparameter_return defparameter(List defaults) throws RecognitionException {\n PythonParser.defparameter_return retval = new PythonParser.defparameter_return();\n retval.start = input.LT(1);\n\n PythonTree root_0 = null;\n\n Token ASSIGN35=null;\n PythonParser.fpdef_return fpdef34 = null;\n\n PythonParser.test_return test36 = null;\n\n\n PythonTree ASSIGN35_tree=null;\n\n try {\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:482:5: ( fpdef[expr_contextType.Param] ( ASSIGN test[expr_contextType.Load] )? )\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:482:7: fpdef[expr_contextType.Param] ( ASSIGN test[expr_contextType.Load] )?\n {\n root_0 = (PythonTree)adaptor.nil();\n\n pushFollow(FOLLOW_fpdef_in_defparameter997);\n fpdef34=fpdef(expr_contextType.Param);\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) adaptor.addChild(root_0, fpdef34.getTree());\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:482:37: ( ASSIGN test[expr_contextType.Load] )?\n int alt16=2;\n int LA16_0 = input.LA(1);\n\n if ( (LA16_0==ASSIGN) ) {\n alt16=1;\n }\n switch (alt16) {\n case 1 :\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:482:38: ASSIGN test[expr_contextType.Load]\n {\n ASSIGN35=(Token)match(input,ASSIGN,FOLLOW_ASSIGN_in_defparameter1001); if (state.failed) return retval;\n if ( state.backtracking==0 ) {\n ASSIGN35_tree = (PythonTree)adaptor.create(ASSIGN35);\n adaptor.addChild(root_0, ASSIGN35_tree);\n }\n pushFollow(FOLLOW_test_in_defparameter1003);\n test36=test(expr_contextType.Load);\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) adaptor.addChild(root_0, test36.getTree());\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n\n retval.etype = actions.castExpr((fpdef34!=null?((PythonTree)fpdef34.tree):null));\n if (ASSIGN35 != null) {\n defaults.add((test36!=null?((PythonTree)test36.tree):null));\n } else if (!defaults.isEmpty()) {\n throw new ParseException(\"non-default argument follows default argument\", (fpdef34!=null?((PythonTree)fpdef34.tree):null));\n }\n \n }\n\n }\n\n retval.stop = input.LT(-1);\n\n if ( state.backtracking==0 ) {\n\n retval.tree = (PythonTree)adaptor.rulePostProcessing(root_0);\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\n }\n if ( state.backtracking==0 ) {\n\n retval.tree = retval.etype;\n\n }\n }\n\n catch (RecognitionException re) {\n errorHandler.reportError(this, re);\n errorHandler.recover(this, input,re);\n retval.tree = (PythonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\n }\n finally {\n }\n return retval;\n }",
"public ParamDeclList param_decl_list() {\n ArrayList<ParamDecl> pd = new ArrayList<ParamDecl>();\n param_decl(pd);\n param_decl_tail(pd);\n\n return new ParamDeclList(pd);\n }",
"public void genLists() {\n\t}",
"public BaseParameters(){\r\n\t}",
"public Map<String, AccessPoint> createParameters() {\n Map<String, AccessPoint> pm = new TreeMap<>();\n pm.put(\"Minimum funds of the visitors in EUR\", new MutableFieldAccessPoint(\"fundsMinimum\", this));\n pm.put(\"Maximum funds of the visitors in EUR\", new MutableFieldAccessPoint(\"fundsMaximum\", this));\n pm.put(\"Tourist arrival time to Venice\", new MutableFieldAccessPoint(\"visitorArrivalVenice\", this));\n pm.put(\"Tourist arrival time to Milan\", new MutableFieldAccessPoint(\"visitorArrivalMilan\", this));\n pm.put(\"Tourist arrival time to Ravenna\", new MutableFieldAccessPoint(\"visitorArrivalRavenna\", this));\n return pm;\n }",
"public JTestDefinition listOfQueries(){\n Iterable<JHttpQuery> queries = Stream.of(\"100\", \"50\", \"25\")\n .map(q -> new JHttpQuery().get().path(\"/sleep\", q))\n .collect(Collectors.toList());\n return JTestDefinition.builder(Id.of(\"queries list\"), getEndpoints())\n .withQueryProvider(queries)\n .build();\n }",
"@TestMethod(value=\"testGetParameterNames\")\n public String[] getParameterNames() {\n String[] params = new String[1];\n params[0] = \"maxIterations\";\n return params;\n }",
"@Before(value = \"@createList\", order = 1)\n public void createList() {\n String endpoint = EnvironmentTrello.getInstance().getBaseUrl() + \"/lists/\";\n JSONObject json = new JSONObject();\n json.put(\"name\", \"testList\");\n json.put(\"idBoard\", context.getDataCollection(\"board\").get(\"id\"));\n RequestManager.setRequestSpec(AuthenticationUtils.getLoggedReqSpec());\n Response response = RequestManager.post(endpoint, json.toString());\n context.saveDataCollection(\"list\", response.jsonPath().getMap(\"\"));\n }",
"private void printTestList()\n {\n print(\"\");\n print(SECTION_DIVIDER);\n print(\"Press <1> to Display Main Video Output Port\");\n print(\"Press <2> to Display All Video Output Configurations\");\n print(\"Press <3> to Change Main Video Configuration with Listener\");\n print(\"Press <INFO> Display Test Options\");\n }",
"public DefaultExecuterParameters() {\n\t\tnumAuthorsAtStart = 5;\n\t\tnumPublicationsAtStart = 20;\n\t\tnumCreationAuthors = 0;\n\t\tnumCreationYears = 10;\n\n\t\tyearInformation = new DefaultYearInformation();\n\t\tpublicationParameters = new DefaultPublicationParameters();\n\t\tpublicationParameters.setYearInformation(yearInformation);\n\t\tauthorParameters = new DefaultAuthorParameters();\n\t\ttopicParameters = new DefaultTopicParameters();\n\t}",
"public void setParameterDefs(ModelElement modelElement) {\n\tthis.modelElement = modelElement;\n\n\tjava.util.Iterator iterator = ((ClassDef)modelElement).iteratorParameterDef();\n\tjava.util.ArrayList list = new java.util.ArrayList();\n\twhile ((iterator != null) && iterator.hasNext()) {\n\t\tParameterDef parameterDef = (ParameterDef)iterator.next();\n\t\tlist.add(parameterDef.getSyntax());\n\t}\n\n\tgetPnlDataSelector().setObjects(list);\n}",
"@Override\n\tpublic ParameterSet requiredParameters()\n\t{\n\t\t// Parameter p0 = new\n\t\t// Parameter(\"Dummy Parameter\",\"Lets user know that the function has been selected.\",FormLine.DROPDOWN,new\n\t\t// String[] {\"true\"},0);\n\t\tParameter p0 = getNumThreadsParameter(10, 4);\n\t\tParameter p1 = new Parameter(\"Old Min\", \"Image Intensity Value\", \"0.0\");\n\t\tParameter p2 = new Parameter(\"Old Max\", \"Image Intensity Value\", \"4095.0\");\n\t\tParameter p3 = new Parameter(\"New Min\", \"Image Intensity Value\", \"0.0\");\n\t\tParameter p4 = new Parameter(\"New Max\", \"Image Intensity Value\", \"65535.0\");\n\t\tParameter p5 = new Parameter(\"Gamma\", \"0.1-5.0, value of 1 results in no change\", \"1.0\");\n\t\tParameter p6 = new Parameter(\"Output Bit Depth\", \"Depth of the outputted image\", Parameter.DROPDOWN, new String[] { \"8\", \"16\", \"32\" }, 1);\n\t\t\n\t\t// Make an array of the parameters and return it\n\t\tParameterSet parameterArray = new ParameterSet();\n\t\tparameterArray.addParameter(p0);\n\t\tparameterArray.addParameter(p1);\n\t\tparameterArray.addParameter(p2);\n\t\tparameterArray.addParameter(p3);\n\t\tparameterArray.addParameter(p4);\n\t\tparameterArray.addParameter(p5);\n\t\tparameterArray.addParameter(p6);\n\t\treturn parameterArray;\n\t}",
"private HashMap<String, Object> createBasicParameters(\n ReportContent reportContent) {\n HashMap<String, Object> parameter = new HashMap<String, Object>();\n parameter.put(\"RESULT_ALTERNATIVES\",\n reportContent.getResultAlternatives());\n parameter.put(\"GOAL_NAME\", reportContent.getGoalName());\n parameter.put(\"RESULT_ALTERNATIVE_CRITERION_MATRIX\",\n reportContent.getResultAlternativeCriterionMatrix());\n parameter.put(\"RESULT_CRITERIA\", reportContent.getResultCriteria());\n parameter.put(\"RESULT_CONSISTENCY_RATIO\",\n reportContent.getResultConsistencyRatio());\n parameter.put(\"RESULT_CRITICAL_CONSISTENCY_RATIO\",\n Double.toString(this.criticalCr));\n\n return parameter;\n }",
"public OBDParamCollection() {\n\t\tparser = new OBDParamFormulaParser();\n\t}",
"public AddItemViewParameters() {\n\t}",
"void setExampleParameters(String strExampleParams);",
"@Override\n\tpublic void createPropertyDescriptors(List<IPropertyDescriptor> desc) {\n\t\tvalidator = new ParameterNameValidator();\n\t\tvalidator.setTargetNode(this);\n\t\tJSSValidatedTextPropertyDescriptor nameD = new JSSValidatedTextPropertyDescriptor(JRDesignParameter.PROPERTY_NAME,\n\t\t\t\tMessages.common_name, validator);\n\t\tnameD.setDescription(Messages.MParameterSystem_name_description);\n\t\tdesc.add(nameD);\n\n\t\tNClassTypePropertyDescriptor classD = new NClassTypePropertyDescriptor(JRDesignParameter.PROPERTY_VALUE_CLASS_NAME,\n\t\t\t\tMessages.common_class, ClassTypeComboCellEditor.DEFAULT_ITEMS) {\n\t\t\t@Override\n\t\t\tpublic ASPropertyWidget<RWComboBoxPropertyDescriptor> createWidget(Composite parent, AbstractSection section) {\n\t\t\t\tSPClassTypeCombo<RWComboBoxPropertyDescriptor> classNameWidget = new SPClassTypeCombo<RWComboBoxPropertyDescriptor>(\n\t\t\t\t\t\tparent, section, this);\n\t\t\t\tclassNameWidget.setClassesOfType(classes);\n\t\t\t\tclassNameWidget.setReadOnly(readOnly);\n\t\t\t\treturn classNameWidget;\n\t\t\t}\n\t\t};\n\t\tclassD.setDescription(Messages.MParameterSystem_class_description);\n\t\tdesc.add(classD);\n\t\tclassD.setHelpRefBuilder(\n\t\t\t\tnew HelpReferenceBuilder(\"net.sf.jasperreports.doc/docs/schema.reference.html?cp=0_1#parameter_class\"));\n\t}",
"public Parameters getParameters();",
"public void setIndependentParameters(ParameterList list);",
"@Parameterized.Parameters(name = \"{0}_{1}_{2}\")\n public static Collection inputs()\n {\n iotHubConnectionString = Tools.retrieveEnvironmentVariableValue(TestConstants.IOT_HUB_CONNECTION_STRING_ENV_VAR_NAME);\n IntegrationTest.isBasicTierHub = Boolean.parseBoolean(Tools.retrieveEnvironmentVariableValue(TestConstants.IS_BASIC_TIER_HUB_ENV_VAR_NAME));\n IntegrationTest.isPullRequest = Boolean.parseBoolean(Tools.retrieveEnvironmentVariableValue(TestConstants.IS_PULL_REQUEST));\n\n return Arrays.asList(\n new Object[][]\n {\n //Query is only supported over http and only with sas based authentication\n {HTTPS, SAS, ClientType.DEVICE_CLIENT},\n });\n }",
"interface WithDescription {\n /**\n * Specifies the description property: The description of the lab..\n *\n * @param description The description of the lab.\n * @return the next definition stage.\n */\n WithCreate withDescription(String description);\n }",
"private static HashMap<String, DefinedProperty> initDefinedProperties() {\n\t\tHashMap<String, DefinedProperty> newList = new HashMap<String, DefinedProperty>();\n\t\t// common properties\n\t\taddProperty(newList, \"name\", DefinedPropertyType.STRING, \"\", DefinedProperty.ANY, false, false);\n\t\taddProperty(newList, \"desc\", DefinedPropertyType.STRING, \"\", DefinedProperty.ANY, false, false);\n\t\t// implicit default properties\n\t\taddProperty(newList, \"donttest\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.ANY, false, false);\n\t\taddProperty(newList, \"dontcompare\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.ANY, false, false);\n\t\t// interface properties\n\t\taddProperty(newList, \"use_interface\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET | DefinedProperty.REG |DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"use_new_interface\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.REGSET | DefinedProperty.REG |DefinedProperty.FIELD, false, false);\n\t\t// reg + regset properties\n\t\taddProperty(newList, \"js_superset_check\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"external\", DefinedPropertyType.SPECIAL, null, DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"repcount\", DefinedPropertyType.NUMBER, \"1\", DefinedProperty.REGSET | DefinedProperty.REG, true, false); // hidden\n\t\t// regset only properties\n\t\taddProperty(newList, \"js_macro_name\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET, false, false);\n\t\taddProperty(newList, \"js_macro_mode\", DefinedPropertyType.STRING, \"STANDARD\", DefinedProperty.REGSET, false, false);\n\t\taddProperty(newList, \"js_namespace\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET, false, false);\n\t\taddProperty(newList, \"js_typedef_name\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET, false, false);\n\t\taddProperty(newList, \"js_instance_name\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET, false, false);\n\t\taddProperty(newList, \"js_instance_repeat\", DefinedPropertyType.NUMBER, \"1\", DefinedProperty.REGSET, false, false);\n\t\t// reg only properties\n\t\taddProperty(newList, \"category\", DefinedPropertyType.STRING, \"\", DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"js_attributes\", DefinedPropertyType.STRING, \"false\", DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"aliasedId\", DefinedPropertyType.STRING, \"false\", DefinedProperty.REG, true, false); // hidden\n\t\taddProperty(newList, \"regwidth\", DefinedPropertyType.NUMBER, \"32\", DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"uvmreg_is_mem\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"cppmod_prune\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"uvmreg_prune\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.REG, false, false);\n\t\t// signal properties\n\t\taddProperty(newList, \"cpuif_reset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.SIGNAL, false, false);\n\t\taddProperty(newList, \"field_reset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.SIGNAL, false, false);\n\t\taddProperty(newList, \"activehigh\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.SIGNAL, false, false);\n\t\taddProperty(newList, \"activelow\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.SIGNAL, false, false);\n\t\taddProperty(newList, \"signalwidth\", DefinedPropertyType.NUMBER, \"1\", DefinedProperty.SIGNAL, false, false);\n\t\t// fieldset only properties\n\t\taddProperty(newList, \"fieldstructwidth\", DefinedPropertyType.NUMBER, \"1\", DefinedProperty.FIELDSET, false, false);\n\t\t// field properties\n\t\taddProperty(newList, \"rset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"rclr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"woclr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"woset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"we\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"wel\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"swwe\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"swwel\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"hwset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"hwclr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"swmod\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"swacc\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"sticky\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"stickybit\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"intr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"anded\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"ored\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"xored\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"counter\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"overflow\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"reset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"fieldwidth\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"singlepulse\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"underflow\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"incr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"decr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"incrwidth\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"decrwidth\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"incrvalue\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"decrvalue\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"saturate\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"incrsaturate\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"decrsaturate\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"threshold\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"incrthreshold\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"decrthreshold\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"sw\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"hw\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"precedence\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"encode\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"resetsignal\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"mask\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"enable\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"haltmask\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"haltenable\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"halt\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"next\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"nextposedge\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"nextnegedge\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"maskintrbits\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false); \n\t\taddProperty(newList, \"satoutput\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"sub_category\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"rtl_coverage\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\t\n\t\t// override allowed property set if input type is jspec\n\t\tif (Ordt.hasInputType(Ordt.InputType.JSPEC)) {\n\t\t\tputProperty(newList, \"sub_category\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET | DefinedProperty.REG | DefinedProperty.FIELDSET | DefinedProperty.FIELD, false, false);\n\t\t\tputProperty(newList, \"category\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\t\tputProperty(newList, \"js_attributes\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\t\tputProperty(newList, \"regwidth\", DefinedPropertyType.NUMBER, \"32\", DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\t\tputProperty(newList, \"address\", DefinedPropertyType.NUMBER, null, DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\t\tputProperty(newList, \"arrayidx1\", DefinedPropertyType.NUMBER, null, DefinedProperty.REGSET | DefinedProperty.REG, true, false); // hidden\n\t\t\tputProperty(newList, \"addrinc\", DefinedPropertyType.NUMBER, null, DefinedProperty.REGSET | DefinedProperty.REG, true, false); // hidden\n\t\t}\t\t\n\n\t\treturn newList;\n\t}",
"public void createlist(String name,String description){\r\n\t\tString lstname = getValue(name);\r\n\t\tString lstdescription = getValue(description);\r\n\r\n\r\n\t\tclass Local {};\r\n\t\tReporter.log(\"TestStepComponent\"+Local.class.getEnclosingMethod().getName());\r\n\t\tReporter.log(\"TestStepInput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepOutput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepExpectedResult:- Link should be created with name and description\");\r\n\t\ttry{\r\n\r\n\t\t\twaitForElement(locator_split(\"lnkcreatlist\"));\r\n\t\t\tclick(locator_split(\"lnkcreatlist\")); \r\n\r\n\t\t\tsleep(1000);\r\n\t\t\twaitForElement(locator_split(\"txtlistname\"));\r\n\t\t\tsendKeys(locator_split(\"txtlistname\"), lstname);\r\n\r\n\t\t\twaitForElement(locator_split(\"txtlistdesc\"));\r\n\t\t\tsendKeys(locator_split(\"txtlistdesc\"), lstdescription);\r\n\r\n\t\t\twaitForElement(locator_split(\"rdemailremainder\"));\r\n\t\t\tclick(locator_split(\"rdemailremainder\")); \r\n\r\n\t\t\twaitForElement(locator_split(\"clksavelist\"));\r\n\t\t\tclick(locator_split(\"clksavelist\")); \r\n\r\n\t\t\tSystem.out.println(\"List is created\");\r\n\t\t\tReporter.log(\"PASS_MESSAGE:- Favorities Link is clicked\");\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tReporter.log(\"FAIL_MESSAGE:- Favorities is not clicked \"+elementProperties.getProperty(\"lnkFavorities\"));\r\n\t\t\tthrow new NoSuchElementException(\"The element with \"\r\n\t\t\t\t\t+ elementProperties.getProperty(\"lnkFavorities\").toString().replace(\"By.\", \" \")\r\n\t\t\t\t\t+ \" not found\");\r\n\t\t}\t\r\n\r\n\r\n\t}",
"public TypeDefinition(Class<?> base, List<TypeDefinition> parameters) {\n\t\tthis.base = base;\n\t\tthis.parameters = new ArrayList<>(parameters);\n\t}",
"private static List<String> basicSetup(){\n\t\tList<String> command = new ArrayList<String> ();\n\t\t\n\t\tcommand.add(\"@SP\");\n\t\tcommand.add(\"M=M-1\");\n\t\tcommand.add(\"A=M\");\n\t\tcommand.add(\"D=M\");\n\t\tcommand.add(\"M=0\");\n\t\tcommand.add(\"@SP\");\n\t\tcommand.add(\"A=M-1\");\n\t\t\n\t\treturn command;\n\t}",
"static List<SubstantiveParametersParameterItem> createSubstantiveParametersParameterItem(List<String> collectionOfItems) {\n List<SubstantiveParametersParameterItem> substantiveParametersParameterItemList = new ArrayList<>();\n for (String item: collectionOfItems) {\n substantiveParametersParameterItemList.add(new SubstantiveParametersParameterItem(item));\n }\n return substantiveParametersParameterItemList;\n }",
"public Map getParameters();",
"@Test\r\n \tpublic void testParameters() {\n \t\tParameters params = (Parameters) filter.getParameters();\r\n \t\t\t\t\t\t\r\n \t\tassertEquals(params.unescapeSource, true);\r\n \t\tassertEquals(params.trimLeading, true);\r\n \t\tassertEquals(params.trimTrailing, true);\r\n \t\tassertEquals(params.preserveWS, true);\r\n \t\tassertEquals(params.useCodeFinder, false);\r\n \t\tassertEquals(\t\t\t\t\r\n \t\t\t\t\"#v1\\ncount.i=2\\nrule0=%(([-0+#]?)[-0+#]?)((\\\\d\\\\$)?)(([\\\\d\\\\*]*)(\\\\.[\\\\d\\\\*]*)?)[dioxXucsfeEgGpn]\\n\" +\r\n \t\t\t\t\"rule1=(\\\\\\\\r\\\\\\\\n)|\\\\\\\\a|\\\\\\\\b|\\\\\\\\f|\\\\\\\\n|\\\\\\\\r|\\\\\\\\t|\\\\\\\\v\\nsample=\\nuseAllRulesWhenTesting.b=false\", \r\n \t\t\t\tparams.codeFinderRules);\r\n \t\t\t\t\t\t\t\t\t\r\n \t\t// Check if defaults are set\r\n \t\tparams = new Parameters();\r\n \t\tfilter.setParameters(params);\r\n \t\t\r\n \t\tparams.columnNamesLineNum = 1;\r\n \t\tparams.valuesStartLineNum = 1;\r\n \t\tparams.detectColumnsMode = 1;\r\n \t\tparams.numColumns = 1;\r\n \t\tparams.sendHeaderMode = 1;\r\n \t\tparams.trimMode = 1;\r\n \t\tparams.fieldDelimiter = \"1\";\r\n \t\tparams.textQualifier = \"1\";\r\n \t\tparams.sourceIdColumns = \"1\";\r\n \t\tparams.sourceColumns = \"1\";\r\n \t\tparams.targetColumns = \"1\";\r\n \t\tparams.commentColumns = \"1\";\r\n \t\tparams.preserveWS = true;\r\n \t\tparams.useCodeFinder = true;\r\n \t\t\r\n \t\tparams = getParameters();\r\n \t\t\r\n \t\tassertEquals(params.fieldDelimiter, \"1\");\r\n \t\tassertEquals(params.columnNamesLineNum, 1);\r\n \t\tassertEquals(params.numColumns, 1);\r\n \t\tassertEquals(params.sendHeaderMode, 1);\r\n \t\tassertEquals(params.textQualifier, \"1\");\r\n \t\tassertEquals(params.trimMode, 1);\r\n \t\tassertEquals(params.valuesStartLineNum, 1);\r\n \t\tassertEquals(params.preserveWS, true);\r\n \t\tassertEquals(params.useCodeFinder, true);\r\n \t\t\r\n \t\t// Load filter parameters from a file, check if params have changed\r\n //\t\tURL paramsUrl = TableFilterTest.class.getResource(\"/test_params1.txt\");\r\n //\t\tassertNotNull(paramsUrl); \r\n \t\t\r\n \r\n \t\ttry {\r\n \t\tString st = \"file:\" + getFullFileName(\"test_params1.txt\");\r\n \t\tparams.load(new URI(st), false);\r\n \t} catch (URISyntaxException e) {\r\n \t}\r\n \r\n \t\t\r\n \t\tassertEquals(\"2\", params.fieldDelimiter);\r\n \t\tassertEquals(params.columnNamesLineNum, 2);\r\n \t\tassertEquals(params.numColumns, 2);\r\n \t\tassertEquals(params.sendHeaderMode, 2);\r\n \t\tassertEquals(\"2\", params.textQualifier);\r\n \t\tassertEquals(params.trimMode, 2);\r\n \t\tassertEquals(params.valuesStartLineNum, 2);\r\n \t\tassertEquals(params.preserveWS, false);\r\n \t\tassertEquals(params.useCodeFinder, false);\r\n \t\t\r\n \t\t// Save filter parameters to a file, load and check if params have changed\r\n \t\tURL paramsUrl = TableFilterTest.class.getResource(\"/test_params2.txt\");\r\n \t\tassertNotNull(paramsUrl);\r\n \t\t\r\n \t\tparams.save(paramsUrl.getPath());\r\n \t\t\r\n \t\t// Change params before loading them\r\n \t\tparams = (Parameters) filter.getParameters();\r\n \t\tparams.fieldDelimiter = \"3\";\r\n \t\tparams.columnNamesLineNum = 3;\r\n \t\tparams.numColumns = 3;\r\n \t\tparams.sendHeaderMode = 3;\r\n \t\tparams.textQualifier = \"3\";\r\n \t\tparams.trimMode = 3;\r\n \t\tparams.valuesStartLineNum = 3;\r\n \t\tparams.preserveWS = true;\r\n \t\tparams.useCodeFinder = true;\r\n \t\t\r\n \t\tparams.load(Util.toURI(paramsUrl.getPath()), false);\r\n \t\t\r\n \t\tassertEquals(params.fieldDelimiter, \"2\");\r\n \t\tassertEquals(params.columnNamesLineNum, 2);\r\n \t\tassertEquals(params.numColumns, 2);\r\n \t\tassertEquals(params.sendHeaderMode, 2);\r\n \t\tassertEquals(params.textQualifier, \"2\");\r\n \t\tassertEquals(params.trimMode, 2);\r\n \t\tassertEquals(params.valuesStartLineNum, 2);\r\n \t\tassertEquals(params.preserveWS, false);\r\n \t\tassertEquals(params.useCodeFinder, false);\r\n \t\t\r\n \t\t// Check if parameters type is controlled\r\n \t\t\r\n \t\tfilter.setParameters(new net.sf.okapi.filters.plaintext.base.Parameters());\r\n \t\tInputStream input = TableFilterTest.class.getResourceAsStream(\"/csv_test1.txt\");\r\n \t\ttry {\r\n \t\t\tfilter.open(new RawDocument(input, \"UTF-8\", locEN));\r\n \t\t\tfail(\"OkapiBadFilterParametersException should've been trown\");\r\n \t\t}\r\n \t\tcatch (OkapiBadFilterParametersException e) {\r\n \t\t}\r\n \t\t\r\n \t\tfilter.close();\r\n \t\r\n \t\tfilter.setParameters(new net.sf.okapi.filters.table.csv.Parameters());\r\n \t\tinput = TableFilterTest.class.getResourceAsStream(\"/csv_test1.txt\");\r\n \t\ttry {\r\n \t\t\tfilter.open(new RawDocument(input, \"UTF-8\", locEN));\r\n \t\t}\r\n \t\tcatch (OkapiBadFilterParametersException e) {\r\n \t\t\tfail(\"OkapiBadFilterParametersException should NOT have been trown\");\r\n \t\t}\r\n \t\t\tfilter.close();\r\n \t}",
"ActionParameterTypes getFormalParameterTypes();",
"@Test(groups = { \"wso2.esb\" }, description = \"agilezen {listTasks} integration test with mandatory parameters.\", dependsOnMethods = {\n \"testCreateTaskWithOptionalParameters\", \"testCreateTaskWithMandatoryParameters\" })\n public void testListTasksWithMandatoryParameters() throws IOException, JSONException {\n \n esbRequestHeadersMap.put(\"Action\", \"urn:listTasks\");\n \n RestResponse<JSONObject> esbRestResponse =\n sendJsonRestRequest(proxyUrl, \"POST\", esbRequestHeadersMap, \"esb_listTasks_mandatory.json\");\n final JSONObject esbItemObject = esbRestResponse.getBody().getJSONArray(\"items\").getJSONObject(0);\n \n final String apiEndPoint =\n apiRequestUrl + \"/projects/\" + connectorProperties.getProperty(\"projectId\") + \"/stories/\"\n + connectorProperties.getProperty(\"storyId\") + \"/tasks\";\n RestResponse<JSONObject> apiRestResponse = sendJsonRestRequest(apiEndPoint, \"GET\", apiRequestHeadersMap);\n final JSONObject apiItemObject = apiRestResponse.getBody().getJSONArray(\"items\").getJSONObject(0);\n \n Assert.assertEquals(esbRestResponse.getBody().getInt(\"totalItems\"), apiRestResponse.getBody().getInt(\n \"totalItems\"));\n Assert.assertEquals(esbItemObject.getString(\"id\"), apiItemObject.getString(\"id\"));\n Assert.assertEquals(esbItemObject.getString(\"text\"), apiItemObject.getString(\"text\"));\n Assert.assertEquals(esbItemObject.getString(\"createTime\"), apiItemObject.getString(\"createTime\"));\n Assert.assertEquals(esbItemObject.getString(\"status\"), apiItemObject.getString(\"status\"));\n }",
"public ComponentDescriptor() {\r\n\t\t// initialize empty collections\r\n\t\tconstructorParametersTypes = new LinkedList<List<Class<?>>>();\r\n//\t\trequiredProperties = new HashMap<String, MetaProperty>();\r\n//\t\toptionalProperties = new HashMap<String, MetaProperty>();\r\n\t}",
"public CapabilityDefinitionsTypeTest(String name) {\n\t\tsuper(name);\n\t}",
"public void initParams(List<String> list) {\n if ((list.size() & 1) != 0) {\n throw new IllegalArgumentException(\"list size must be a multiple of 2\");\n }\n for (int i = 0; i < list.size(); ) {\n addParam(list.get(i++), list.get(i++));\n }\n }",
"public List<String> totestParametizedTypes()\n {\n return null;\n }",
"private List<ApiParameter> getParameters(final List<Parameter> params) {\r\n\t\tList<ApiParameter> apiParams = null;\r\n\t\tif(!CollectionUtils.isEmpty(params)) {\r\n\t\t\tapiParams = params.stream().map(p -> {\r\n\t\t\t\tfinal ApiParameter apiParam = new ApiParameter();\r\n\t\t\t\tapiParam.setName(p.getName());\r\n\t\t\t\tapiParam.setRequired(p.getRequired());\r\n\t\t\t\tapiParam.setParamType(p.getIn());\r\n\t\t\t\tapiParam.setDataType(p.getSchema().getType());\r\n\t\t\t\treturn apiParam;\r\n\t\t\t}).collect(Collectors.toList());\r\n\t\t}\r\n\t\treturn apiParams;\r\n\t}",
"private List<ParameterDescriptor> parametersAsDescriptors(boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence)\n/* */ {\n/* 199 */ List<ParameterDescriptor> parameterDescriptorList = CollectionHelper.newArrayList();\n/* */ \n/* 201 */ for (ParameterMetaData parameterMetaData : this.parameterMetaDataList) {\n/* 202 */ parameterDescriptorList.add(parameterMetaData\n/* 203 */ .asDescriptor(defaultGroupSequenceRedefined, defaultGroupSequence));\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 210 */ return parameterDescriptorList;\n/* */ }",
"@SuppressWarnings(\"all\")\n public ArrayList<Object[]> collectFactoryParameters() {\n ArrayList<Object[]> parameters = new ArrayList<Object[]>();\n \n for (Method m : flatten(removeShadowed(annotatedWith(allTargetMethods, ParametersFactory.class)))) {\n Validation.checkThat(m).isStatic().isPublic();\n if (!Iterable.class.isAssignableFrom(m.getReturnType())) {\n throw new RuntimeException(\"@\" + ParametersFactory.class.getSimpleName() + \" annotated \" +\n \t\t\"methods must be public, static and returning Iterable<Object[]>:\" + m);\n }\n \n List<Object[]> result = new ArrayList<Object[]>();\n try {\n for (Object [] p : (Iterable<Object[]>) m.invoke(null)) \n result.add(p);\n } catch (InvocationTargetException e) {\n Rethrow.rethrow(e.getCause());\n } catch (Throwable t) {\n throw new RuntimeException(\"Error collecting parameters from: \" + m, t);\n }\n \n if (result.isEmpty()) {\n throw new AssumptionViolatedException(\"Parameters set should not be empty. Ignoring tests.\");\n }\n \n parameters.addAll(result);\n }\n \n return parameters;\n }",
"protected static ParameterDef createListParameter(final String param) {\n return new ParameterDef(new Variable(param), ParameterType.LIST);\n }",
"String [] getParameters();",
"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 }",
"public ArrayList<TestInput> getInputs(){\n\t\t\n\t\tArrayList<TestInput> inputs = new ArrayList<TestInput>();\n\t\t\n\t\t// we want the user to pass in a String we call \"Test URL\". So\n\t\t// create that input, give it a type and name, and add it to\n\t\t// our list. In this case, we don't provide a default value\n\t\t// for the input. \n\t\t\n\t\tTestInput urlInput = new TestInput(TestInput.TEXT, \"Test URL\");\n\t\tinputs.add(urlInput);\n\t\t\n\t\t// We also want an input called \"Port\". In this case, we specify\n\t\t// a value of \"80\" as a default value using the alternate constructor.\n\t\tTestInput portInput = new TestInput(TestInput.TEXT, \"Port\", \"80\");\n\t\tinputs.add(portInput);\n\t\t\n\t\t// Here we will define another TestInput, this type a Boolean. Booleans\n\t\t// require you to also pass in a list of two \"Options\" that make\n\t\t// up the choice. The first option added will be the default option\n\t\t// provided to the user. A boolean MUST provide two(2) and only\n\t\t// two(2) options. If you want more options, use a SELECT input. \n\t\tArrayList<String> booleanOptions = new ArrayList<String>();\n\t\tbooleanOptions.add(\"Yes, allow SSL\");\n\t\tbooleanOptions.add(\"No, do not allow SSL\");\n\t\t\n\t\tTestInput allowSslBoolean = new TestInput(TestInput.BOOLEAN, \"SSL Allowed?\", booleanOptions);\n\t\tinputs.add(allowSslBoolean);\n\t\t\n\t\t\n\t\t// Similar to a boolean, a SELECT input requires a set\n\t\t// of options to a user. A SELECT allows you to provide longer list\n\t\t// of options. As with the BOOLEAN input, the first option added \n\t\t// will be the default option provided to the user. \n\t\tArrayList<String> selectOptions = new ArrayList<String>();\n\t\tselectOptions.add(\"English\");\n\t\tselectOptions.add(\"Spanish\");\n\t\tselectOptions.add(\"Italian\");\n\t\tselectOptions.add(\"Mandarin\");\n\t\t\n\t\tTestInput whichLanguageSelect = new TestInput(TestInput.SELECT, \"Which Language?\", selectOptions);\n\t\tinputs.add(whichLanguageSelect);\n\t\t\n\t\t\n\t\t\n\t\treturn inputs;\n\t}",
"TestEntity buildEntity () {\n TestEntity testEntity = new TestEntity();\n testEntity.setName(\"Test name\");\n testEntity.setCheck(true);\n testEntity.setDateCreated(new Date(System.currentTimeMillis()));\n testEntity.setDescription(\"description\");\n\n Specialization specialization = new Specialization();\n specialization.setName(\"Frontend\");\n specialization.setLevel(\"Senior\");\n specialization.setYears(10);\n\n testEntity.setSpecialization(specialization);\n\n return testEntity;\n }",
"IParameterCollection getParameters();",
"@Parameters\n\tpublic static Collection<ByteBuf> getParams(){\n\t\tByteBuf full = Unpooled.buffer(128);\n\t\tfull.writeInt(0);\n\t\tfull.writeInt(1);\n\t\t\n\t\tByteBuf ill = Unpooled.buffer(128);\n\t\till.writeInt(10);\n\t\t\n\t\treturn Arrays.asList(new ByteBuf[] {\n\t\t\tfull,\n\t\t\till,\n\t\t\tUnpooled.buffer(128),\n\t\t\tnull,\n\t\t});\n\t}",
"private ListChooserParameters createListChooserParameters(String referenceID, boolean multiSelect, boolean showFilter, String title, String okText, String cancelText) {\n/*Generated! Do not modify!*/ ListChooserParameters parameters = new ListChooserParameters();\n/*Generated! Do not modify!*/ parameters.setReferenceID(referenceID);\n/*Generated! Do not modify!*/ parameters.setMultiSelect(multiSelect);\n/*Generated! Do not modify!*/ parameters.setShowFilter(showFilter);\n/*Generated! Do not modify!*/ parameters.setTitle(title);\n/*Generated! Do not modify!*/ parameters.setOkText(okText);\n/*Generated! Do not modify!*/ parameters.setCancelText(cancelText);\n/*Generated! Do not modify!*/ return parameters;\n/*Generated! Do not modify!*/ }",
"public String getScriptOfParameters() {\r\n\t\tString str = \"\";\r\n\r\n\t\tfor (DataVariable var : dataTestModel) {\r\n\t\t\tstr += var.getName() + \",\";\r\n\t\t}\r\n\t\tif (str.endsWith(\",\")) {\r\n\t\t\tstr = str.substring(0, str.length() - 1);\r\n\t\t}\r\n\t\treturn str;\r\n\t}",
"public StratmasParameterFactory() \n {\n this.typeMapping = createTypeMapping();\n }",
"private static DocumentationImpl createDocumentation() {\n\t\treturn DocumentationImpl.Builder.info(\"A workspace in which other items can be placed, and top-level options can be configured.\")\n\t\t\t\t.param(\"Initialize\", \"Whether or not to execute the Initialize phase.\") // FIXME: STRING: srogers\n\t\t\t\t.param(\"Run\", \"Whether or not to execute the Run phase.\") // FIXME: STRING: srogers\n\t\t\t\t.param(\"Duration (minutes)\", \"The number of minutes this workspace will be alive.\") // FIXME: STRING: srogers\n\t\t\t\t.param(\"Retrieve Data\", \"Whether or not to execute the Retrieve Data phase.\") // FIXME: STRING: srogers\n\t\t\t\t.param(\"Cleanup\", \"Whether or not to execute the Cleanup phase.\") // FIXME: STRING: srogers\n\t\t\t\t.build(); // FIXME: srogers: extract string construction into a dedicated method\n\t}",
"@JsonCreator\n public ParameterDefinition(@JsonProperty(value = \"name\", required = true) String name) {\n this.name = name;\n }",
"void compileParameterList() {\n tagBracketPrinter(PAR_LIST_TAG, OPEN_TAG_BRACKET);\n try {\n compileParameterListHelper();\n } catch (IOException e) {\n e.printStackTrace();\n }\n tagBracketPrinter(PAR_LIST_TAG, CLOSE_TAG_BRACKET);\n }",
"public void createHelpList() {\t\n\t\tcommandList.add(\"add event with deadline\");\n\t\tcommandList.add(\"add event with timeline\");\n\t\tcommandList.add(\"add event with timeline, single day\");\n\t\tcommandList.add(\"add event with no deadline\");\n\t\tcommandList.add(\"add event with rank\");\n\t\tcommandList.add(\"add recurring tasks with deadline\");\n\t\tcommandList.add(\"add recurring tasks with timeline\");\n\t\tcommandList.add(\"add timeline events with blocking ability\");\n\t\tcommandList.add(\"edit date only\");\n\t\tcommandList.add(\"edit title only\");\n\t\tcommandList.add(\"edit timeline only\");\n\t\tcommandList.add(\"edit rank only\");\n\t\tcommandList.add(\"deleting event\");\n\t\tcommandList.add(\"undo\");\n\t\tcommandList.add(\"redo\");\n\t\tcommandList.add(\"display default\");\n\t\tcommandList.add(\"display by date\");\n\t\tcommandList.add(\"display by importance\");\n\t\tcommandList.add(\"display alphabetically\");\n\t\tcommandList.add(\"search by title\");\n\t\tcommandList.add(\"search by date\");\n\t\tcommandList.add(\"search by importance\");\n\t\tcommandList.add(\"change directory\");\n\t\tcommandList.add(\"marking task as complete\");\n\t\tcommandList.add(\"clear file\");\n\t\tcommandList.add(\"help\");\n\t\tcommandList.add(\"exit\");\n\t\t\n\t\tinputCommand.add(\"add <description> by <deadline>\");\n\t\tinputCommand.add(\"add <description> from <start date time> to \"\n\t\t\t\t + \"<end date time> \");\n\t\tinputCommand.add(\"add <description> on <date> from <start time> \"\n\t\t\t\t + \"to <end time>\");\n\t\tinputCommand.add(\"add <description>\");\n\t\tinputCommand.add(\"add <description> by <deadline> rank <number>\");\n\t\tinputCommand.add(\"add <description> repeat <repeat period>\"\n\t\t\t\t + \" <monthly/yearly/daily> \" + \"on <date>\");\n\t\tinputCommand.add(\"add <description> repeat <repeat period>\" + \" <monthly/yearly/daily> \" + \"from <startDate> to <endDate>\");\n\t\tinputCommand.add(\"add <description> block <start date> to <end date>\");\n\t\tinputCommand.add(\"edit <task index> by date <new date>\");\n\t\tinputCommand.add(\"edit <task index> by title <updated title>\");\n\t\tinputCommand.add(\"edit <task index> by time from <new start date> \"\n\t\t\t\t + \"to <new end date>\");\n\t\tinputCommand.add(\"edit <task index> by impt <new rank>\");\n\t\tinputCommand.add(\"delete <task index>\");\n\t\tinputCommand.add(\"undo\");\n\t\tinputCommand.add(\"redo\");\n\t\tinputCommand.add(\"display\");\n\t\tinputCommand.add(\"display date\");\n\t\tinputCommand.add(\"display impt\");\n\t\tinputCommand.add(\"display alpha\");\n\t\tinputCommand.add(\"search <title>\");\n\t\tinputCommand.add(\"search date <date>\");\n\t\tinputCommand.add(\"search impt <rank>\");\n\t\tinputCommand.add(\"cd <new directory>\");\n\t\tinputCommand.add(\"complete <task index>\");\n\t\tinputCommand.add(\"clear\");\n\t\tinputCommand.add(\"help\");\n\t\tinputCommand.add(\"exit\");\n\t}",
"private static List<JObject> buildApiParamsJObject(Class<?> clazz) {\n\n if (clazz == null || clazz == NoneApiInput.class || clazz == NoneApiOutput.class) {\n return null;\n }\n\n\n Set<Field> fields = ClassUtils.listFields(clazz);\n List<JObject> list = new ArrayList<>();\n\n for (Field field : fields) {\n String name = StringUtil.stringToUnderLineLowerCase(field.getName());\n\n // Skip fields that are not printed\n JSONField jsonAnnotation = field.getAnnotation(JSONField.class);\n if (jsonAnnotation != null && !jsonAnnotation.serialize()) {\n continue;\n }\n\n JObject param = JObject.create();\n param.put(\"name\", name);\n String type = field.getType().getCanonicalName();\n if (type.contains(\".\")) {\n type = StringUtil.substringAfterLast(field.getType().getCanonicalName(), \".\");\n }\n param.put(\"type\", type);\n\n Check annotation = field.getAnnotation(Check.class);\n if (annotation != null) {\n if (annotation.hiddenForFrontEnd()) {\n continue;\n }\n\n if (StringUtil.isNotEmpty(annotation.name())) {\n param.put(\"comment\", annotation.name());\n }\n param.put(\"require\", annotation.require());\n }\n\n list.add(param);\n }\n return list;\n }",
"public Test(List<Question> questions) {\n\t\tthis.questions = questions;\n\t}",
"private ConfigParamSpecification(Name simpleName, TypeName returnType) {\n this.simpleName = simpleName;\n this.returnType = returnType;\n }"
]
| [
"0.67591256",
"0.6552651",
"0.61794",
"0.59798074",
"0.59052205",
"0.58970296",
"0.5838607",
"0.5822234",
"0.5725039",
"0.5700755",
"0.5691132",
"0.56633306",
"0.5630281",
"0.56206924",
"0.56114864",
"0.5607805",
"0.5590776",
"0.55161613",
"0.5472492",
"0.54442483",
"0.54239446",
"0.5395271",
"0.5394414",
"0.5375151",
"0.5368262",
"0.53631914",
"0.5355697",
"0.5343392",
"0.5330822",
"0.5311879",
"0.53070235",
"0.530525",
"0.52955365",
"0.52909714",
"0.5284372",
"0.5272448",
"0.52590877",
"0.5246633",
"0.52370006",
"0.52352536",
"0.5233623",
"0.52014565",
"0.51648855",
"0.5164651",
"0.51539934",
"0.5150927",
"0.514756",
"0.51411164",
"0.5131495",
"0.5130498",
"0.5122589",
"0.511981",
"0.5118505",
"0.5118006",
"0.51162785",
"0.51130587",
"0.51037097",
"0.50934154",
"0.5093057",
"0.50848556",
"0.50830895",
"0.5062938",
"0.5060763",
"0.5055033",
"0.50457096",
"0.5043785",
"0.5043042",
"0.5030742",
"0.5030064",
"0.5029328",
"0.5028491",
"0.50275886",
"0.50266933",
"0.5024833",
"0.5011946",
"0.50091475",
"0.5006471",
"0.500224",
"0.4998739",
"0.49981272",
"0.49957642",
"0.4987106",
"0.49792087",
"0.49691916",
"0.49668002",
"0.4957229",
"0.49563256",
"0.49543813",
"0.49528134",
"0.49447182",
"0.4940758",
"0.49334896",
"0.49326098",
"0.4927565",
"0.49273595",
"0.4924463",
"0.49211383",
"0.4916297",
"0.49126926",
"0.4910217"
]
| 0.5315463 | 29 |
Helper for writing a bootstrap panel with some title and content. | protected void writePanel(PrintWriter pw, String panelTitle,
String panelBody) {
pw.println("<div class=\"panel panel-default\">");
pw.println(" <div class=\"panel-heading\">");
pw.println("<h3 class=\"panel-title\">" + panelTitle + "</h3>");
pw.println("</div>");
pw.println("<div class=\"panel-body\">");
pw.println(panelBody);
pw.println("</div>");
pw.println("</div>");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private JPanel createPanel(String title) {\n\t\tJPanel panel = new JPanel();\n\t\tpanel.setLayout(new GridLayout(0, 1));\n\t\tpanel.setBorder(new TitledBorder(new EtchedBorder(), title));\n\t\treturn panel;\n\t}",
"public JPanel titlePanel() {\n\t\tJPanel tpanel = new JPanel(null);\n\t\ttpanel.setBounds(0, 0, 700, 100);\n\t\ttpanel.setBackground(Color.PINK);\n\t\ttitle.setFont(new Font(\"SansSerif\", Font.BOLD, 50));\n\t\ttitle.setBounds(150, 0, 400, 100);\n\t\ttitle.setHorizontalAlignment(JLabel.CENTER);\n\t\ttpanel.add(title);\n\t\treturn tpanel;\n\t}",
"private void constructTitlePanel() {\n titlePanel = new JPanel();\n titlePanel.setPreferredSize(relativeSize(0.8f, 0.03f));\n \n JLabel titleLabel = new JLabel(\"JMarkets Server Interface\");\n titleLabel.setFont(new Font(\"Arial\", Font.BOLD, 18));\n titleLabel.setForeground(new Color(102, 51, 0));\n \n titlePanel.add(titleLabel);\n }",
"private JPanel getTitlePanel(String title)\n {\n JLabel label = new JLabel(title);\n label.setBorder(new EmptyBorder(0, 0, 0, 10));\n label.setFont(UIManager.getFont(\"TitledBorder.font\"));\n label.setForeground(UIManager\n .getColor(\"TitledBorder.titleColor\"));\n\n JPanel pnlSectionName = new TransparentPanel();\n pnlSectionName.setLayout(new GridBagLayout());\n GridBagConstraints c = new GridBagConstraints();\n c.gridx = c.gridy = 0;\n c.anchor = GridBagConstraints.LINE_START;\n c.gridwidth = 2;\n pnlSectionName.add(label, c);\n c.gridx = 2;\n c.weightx = 1;\n c.fill = GridBagConstraints.HORIZONTAL;\n pnlSectionName.add(new JSeparator(), c);\n\n JPanel pnlSection = new TransparentPanel()\n {\n @Override\n public Component add(Component comp)\n {\n if(comp instanceof JComponent)\n ((JComponent)comp).setAlignmentX(LEFT_ALIGNMENT);\n return super.add(comp);\n }\n };\n pnlSection.setLayout(new BoxLayout(pnlSection, BoxLayout.Y_AXIS));\n pnlSection.add(pnlSectionName);\n\n return pnlSection;\n }",
"protected JPanel createTitledPanel(String title) {\r\n JPanel panel = new JPanel(new GridBagLayout());\r\n Border titleBorder = BorderFactory.createTitledBorder(title);\r\n panel.setBorder(BorderFactory.createCompoundBorder(titleBorder, PADDING));\r\n return panel;\r\n }",
"private JPanel getTitlePanel() {\n JPanel main = ProgramPresets.createPanel();\n main.setLayout(new FlowLayout());\n JLabel tron1 = new JLabel(ProgramPresets.TRON);\n JLabel tron2 = new JLabel(ProgramPresets.TRON);\n mainTitle = ProgramPresets.createCenteredTitle(TITLE);\n subTitle = ProgramPresets.createCenteredTitle(SUB_TITLE);\n JPanel mainSub = ProgramPresets.createPanel();\n mainSub.setLayout(new GridLayout(2, 1));\n mainSub.add(mainTitle);\n mainSub.add(subTitle);\n main.add(tron1);\n main.add(Box.createRigidArea(new Dimension(50, 0)));\n main.add(mainSub);\n main.add(Box.createRigidArea(new Dimension(50, 0)));\n main.add(tron2);\n return main;\n }",
"private void addTitle() {\n\t\tJXPanel titlePanel = new JXPanel();\n\t\ttitlePanel.setLayout(null);\n\t\ttitlePanel.setSize(180, 60);\n\t\ttitlePanel.setLocation(60, 10);\n\t\ttitlePanel.setToolTipText(\"www.i.hsr.ch\");\n\t\ttitlePanel.setBorder(new DropShadowBorder(new Color(0, 0, 0), 7, 0.5f, 12, true, true, true, true));\n\t\t\n\t\tJLabel title = GUIComponents.createLabel(YAETMMainView.PROGRAM, new Point(45, 12));\n\t\ttitle.setFont(new Font(\"Tahoma\", Font.BOLD, 25));\n\t\t\n\t\tJLabel titleExtend = GUIComponents.createLabel(YAETMMainView.PROGRAMEXT, new Point(10, 33));\n\t\ttitleExtend.setSize(200, 20);\n\t\ttitleExtend.setFont(new Font(\"Arial\", Font.PLAIN, 11));\n\t\t\n\t\ttitlePanel.add(titleExtend);\n\t\ttitlePanel.add(title);\n\t\tpanel.add(titlePanel);\n\t}",
"public String getPanelName() {\n return \"Title\";\n }",
"private Panel createMessagePanel()\n {\n Panel messagePanel;\n Label product;\n Label version;\n Label copyright;\n\n product = new Label(\"File System Archiver\");\n version = new Label(\"Version \" + Constants.CLIENT_VERSION);\n copyright = new Label(\"Copyright (c) 2001\");\n\n messagePanel = new Panel();\n messagePanel.setLayout(new GridLayout(3, 0));\n\n messagePanel.add(product);\n messagePanel.add(version);\n messagePanel.add(copyright);\n\n messagePanel.setVisible(true);\n\n return messagePanel;\n }",
"public PrintsPanel() {\n initComponents();\n createPanels();\n\n }",
"public abstract void createContents(Panel mainPanel);",
"private HelloPanel() {\n\n\t\tHTML w = new HTML(BalasResources.INSTANCE.helloPane().getText());\n\t\tinitWidget(w);\n\t}",
"private void createpanel1() {\r\n\t\theader = new JLabel();\r\n\t\theader.setText(\"Type in Userinformation\");\r\n\t\theader.setFont(customFont.deriveFont(25f));\r\n\t\theader.setForeground(Color.WHITE);\r\n\r\n\t\tpanels[0].add(header);\r\n\t\tpanels[0].setOpaque(false);\r\n\t\tallComponents.add(panels[0]);\r\n\r\n\t}",
"public void crearPanel(){\n\n panel = new JPanel();\n this.getContentPane().add(panel);\n panel.setBackground(Color.CYAN);\n panel.setLayout(null);\n }",
"private void displayHowTo(JPanel panel) {\n JButton single = new JButton();\n JButton multi = new JButton();\n single.setText(\"Single Player Rules\");\n multi.setText(\"Multiplayer Rules\");\n\n // if text is written on screen, dispose and replace with\n // requested text; window starts with nothing on it\n JLabel text = new JLabel();\n panel.add(text);\n panel.add(single);\n panel.add(multi);\n \n // if user clicks on either button, the text will change\n // based on the rules applied.\n single.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n text.setText(\"<html>TEST 1</html>\");\n helppanel.add(text);\n }\n });\n multi.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n text.setText(\"<html>TEST 2</html>\");\n helppanel.add(text);\n }\n });\n\n helppanel.add(panel);\n }",
"private Panel createPanelWith(String caption, String styleName) {\n VerticalLayout panelLayout = new VerticalLayout();\n panelLayout.setMargin(true);\n Panel panel = new Panel(caption, panelLayout);\n panelLayout.addComponent(new Label(\"Some content\"));\n panel.setIcon(new ThemeResource(parent.ICON_URL));\n panel.setComponentError(new UserError(\"A error message...\"));\n panel.setId(\"layout\" + debugIdCounter++);\n\n if (styleName != null) {\n panel.addStyleName(styleName);\n }\n\n return panel;\n }",
"private void createTitleContent(BufferedWriter writer) throws IOException {\r\n\t\tString title = data.getSuiteName();\r\n\t\tString titleTag = \"<div style='height: 50px; width: inherit; box-shadow: 1px 1px 1px #888888;background-color: #616161;'>\";\r\n\t\tString label = \"<label style='font-weight: bold;position: absolute;padding-left: 16px;color: white;padding-top: 8px;\"\r\n\t\t\t\t+ \"font-family: Roboto, sans-serif;'>\"\r\n\t\t\t\t+ title\r\n\t\t\t\t+ \"</label></div>\";\r\n\t\twriter.write(titleTag);\r\n\t\twriter.write(label);\r\n\t}",
"@Override\r\n public void setup(Panel panel) {\n }",
"protected void createContents() {\r\n\t\tsetText(Messages.getString(\"HMS.PatientManagementShell.title\"));\r\n\t\tsetSize(900, 700);\r\n\r\n\t}",
"public void Title ()\n {\n\tTitle = new Panel ();\n\tTitle.setBackground (Color.white);\n\tchessboard (Title);\n\tp_screen.add (\"1\", Title);\n }",
"public JComponent createContentPanel() {\n\t\t// Separating the component initialization and configuration\n\t\t// from the layout code makes both parts easier to read.\n\t\tinitControls();\n\t\t//TODO set minimum size\n\t\tFormLayout layout = new FormLayout(\"default, 3dlu, 120dlu:grow\", // cols //$NON-NLS-1$\n\t\t\t\t\"p, 3dlu,p,3dlu,p\"); // rows //$NON-NLS-1$\n\n\t\t// Create a builder that assists in adding components to the container.\n\t\t// Wrap the panel with a standardized border.\n\t\tDefaultFormBuilder builder = new DefaultFormBuilder(layout);\n\t\tbuilder.setDefaultDialogBorder();\n\t\tbuilder.append(Messages.getString(\"RenameDialog.CurrentName\"), oldName); //$NON-NLS-1$\n\t\tbuilder.nextLine(2);\n\t\tbuilder.append(Messages.getString(\"RenameDialog.NewName\"), newName); //$NON-NLS-1$\n\t\treturn builder.getPanel();\n\t}",
"protected JPanel addTitledPanel(String title, int row, boolean expand) {\r\n JPanel panel = createTitledPanel(title);\r\n GridBagConstraints gbc = getGbc(row);\r\n gbc.fill = GridBagConstraints.BOTH;\r\n if (expand) {\r\n gbc.weighty = 1;\r\n } else {\r\n gbc.weighty = 0;\r\n }\r\n base.add(panel, gbc);\r\n return panel;\r\n }",
"private void createYourMusicTitle() {\n\t\tjpYourMusic = new JPanel(new GridLayout(1,1));\n\t\tjpYourMusic.setOpaque(false);\n\t\tJLabel jlYourMusic = new JLabel(\"YOUR MUSIC\");\t\t\n\t\tjlYourMusic.setFont(new java.awt.Font(\"Century Gothic\",0, 17));\n\t\tjlYourMusic.setForeground(new Color(250,250,250));\n\t\tjpYourMusic.add(jlYourMusic);\n\t}",
"public JPanel getPanelTitulo(){\n\n\t\tJPanel panel = new JPanel();\n\n\t\tpanel.setBorder(BorderFactory.createTitledBorder(\"\"));\n\t\t//panel.setLayout(new FlowLayout());\n\n\t\tJLabel titulo = new JLabel(\"Reporte de Ventas\");\n\t\ttitulo.setFont(new Font(\"Tahoma\", Font.PLAIN, 36));\n\t\tpanel.add(titulo);\n\n\t\treturn panel;\n\n\t}",
"@Override\n\tpublic void createContents(Panel mainPanel) {\n\t\tmainPanel.setLayout(new ColumnLayout(5));\n\t\tnew Label(mainPanel).setText(\"El jugador\");\n\t\tnew Label(mainPanel).setText(this.getModel().nombre);\n\t\tnew Label(mainPanel).setText(\"se retira con \");\n\t\tnew Label(mainPanel).bindValueToProperty(Jugador.FICHAS);\n\t\tnew Label(mainPanel).setText(\"$\");\n\t Button boton = new Button(mainPanel).setCaption(\"OK\");\n\t boton.onClick(new MessageSend(this,\"cerrar\"));\n\t \n\t \n\t \n\t}",
"private void setUpPanel() {\n\n this.add(nameLabel);\n this.add(showMetadataButton);\n this.add(compressFilesButton);\n this.add(decompressFilesButton);\n this.add(compressionResultLabel);\n this.add(messageShorteningButton);\n this.add(messageShorteningResultLabel);\n }",
"private JPanel getTextPanel() {\n JPanel p = ProgramPresets.createPanel();\n p.setLayout(new GridLayout(0, 1));\n p.add(ProgramPresets.createCenteredLabelBold(\n \"THIS PROGRAM WAS CREATED TO HELP AUTOMATE THE PROCESS OF SKATESHOP RAFFLES\"));\n p.add(ProgramPresets.createCenteredLabelBold(\n \"LET THE GOOGLE SERVERS HANDLE THE STRESS CREATED BY HOARDS OF DUNK FANS/RESELLERS\"));\n p.add(ProgramPresets.createCenteredLabelBold(\n \"RUN THIS PROGRAM ON YOUR COMPUTER WITH THE DATA FROM YOUR GOOGLE FORMS BASED RAFFLE\"));\n p.add(ProgramPresets.createCenteredLabelBold(\n \"DO NOT HESITATE TO CONTANCT ME WITH ANY PROBLEMS YOU ENCOUNTER WHILE USING THIS PROGRAM\"));\n JPanel contact = ProgramPresets.createTitledPanel(\"CONTACT INFORMATION\");\n contact.setLayout(new GridLayout(0, 1));\n contact.add(ProgramPresets.createCenteredLabelBold(\"CADE REYNOLDSON\"));\n contact.add(ProgramPresets.createCenteredLabelBold(\"[email protected]\"));\n contact.add(ProgramPresets.createCenteredLabelBold(\"INSTAGRAM: @OLLIEHOLE\"));\n JPanel subContact = ProgramPresets.createPanel();\n subContact.setLayout(new BorderLayout());\n subContact.add(Box.createRigidArea(new Dimension(300, 0)), BorderLayout.EAST);\n subContact.add(contact);\n subContact.add(Box.createRigidArea(new Dimension(300, 0)), BorderLayout.WEST);\n p.add(subContact);\n p.add(ProgramPresets.createCenteredTitle(\n \"SEE THE LINK BELOW FOR A FULL DESCRIPTION ON HOW TO USE THIS PROGRAM\"));\n JPanel finalPanel = ProgramPresets.createPanel();\n finalPanel.setLayout(new BorderLayout());\n finalPanel.add(Box.createRigidArea(new Dimension(75, 0)), BorderLayout.WEST);\n finalPanel.add(Box.createRigidArea(new Dimension(75, 0)), BorderLayout.EAST);\n finalPanel.add(p, BorderLayout.CENTER);\n return finalPanel;\n }",
"private JPanel makePanel(JFrame frame, String layout, String panelLabel,\r\n int x, int y, int width, int height) {\r\n //Create a panel\r\n JPanel panel = new JPanel();\r\n panel.setSize(width, height);\r\n frame.add(panel, layout);\r\n panel.setLayout(null);\r\n JLabel label = new JLabel(panelLabel);\r\n label.setBounds(x, y, width, height);\r\n label.setFont(new Font(\"Monaco\", Font.BOLD, 20));\r\n panel.add(label);\r\n return panel;\r\n }",
"public TitlePanel() {\n\t\tinitComponents();\n\t}",
"private void createHeaderPanel()\n\t{\n\t\theaderPanel.setLayout (new GridLayout(2,1));\n\t\theaderPanel.add(textPanel);\n\t\theaderPanel.add(functionPanel);\n\t\t\t\t\t\n\t}",
"private JPanel createContentPanel() {\n JPanel panel = new JPanel();\n panel.setLayout(new MigLayout());\n panel.setPreferredSize(new Dimension(400, 300));\n panel.setOpaque(true);\n panel.setBorder(BorderFactory.createTitledBorder(\n localization.get(\"AttributesTitle\")));\n\n roomNameField = LabeledComponent\n .textField(localization.get(\"RoomNameLabel\"),\n new InfoPanelDocListener(this, new SetName()));\n roomNameField.addToPanel(panel);\n\n includeField = LabeledComponent\n .textField(localization.get(\"IncludeLabel\"),\n new InfoPanelDocListener(this, new SetInclude()));\n includeField.addToPanel(panel);\n\n inheritField = LabeledComponent\n .textField(localization.get(\"InheritLabel\"),\n new InfoPanelDocListener(this, new SetInherit()));\n inheritField.addToPanel(panel);\n\n buildStreetNameField(panel);\n\n buildAddEditStreetsButton(panel);\n\n buildColorSelector(panel);\n\n shortDescriptionField = LabeledComponent\n .textField(localization.get(\"ShortDescLabel\"),\n new InfoPanelDocListener(this, new SetShort()));\n panel.add(shortDescriptionField.getLabel());\n panel.add(shortDescriptionField.getComponent(), \"span, grow, wrap\");\n\n determinateField = LabeledComponent\n .textField(localization.get(\"DeterminateLabel\"),\n new InfoPanelDocListener(this, new SetDeterminate()));\n determinateField.addToPanel(panel);\n\n lightField = LabeledComponent\n .textField(localization.get(\"LightLabel\"),\n new InfoPanelDocListener(this, new SetLight()));\n lightField.addToPanel(panel);\n\n longDescriptionField = LabeledComponent\n .textArea(localization.get(\"LongDescLabel\"),\n new InfoPanelDocListener(this, new SetLong()));\n panel.add(longDescriptionField.getLabel(), \"wrap\");\n panel.add(longDescriptionField.getComponent(), \"span, grow\");\n\n return panel;\n }",
"private void showPanelLabel(String title, TableLayout tl)\n {\n LayoutParams lpSpan = new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT);\n lpSpan.span = 2; \n \n TableRow tableRow = new TableRow(getContext());\n tableRow.setLayoutParams(lpSpan);\n \n TextView label = new TextView(getContext());\n label.setText(title);\n label.setTextAppearance(getContext(), android.R.style.TextAppearance_Medium);\n label.setPadding(0, 0, 0, 10);\n label.setLayoutParams(lpSpan);\n \n tableRow.addView(label);\n \n tl.addView(tableRow);\n }",
"void addPanel() {\n \tPanel panel = new Panel();\r\n\r\n panel.setLayout(new GridLayout(4, 1));\r\n jSliderBrightness = makeTitledSilder(\"Helligkeit\", 0, 256, 128); // werte veraendert\r\n jSliderContrast = makeTitledSilder(\"Kontrast\", 0, 10, 5);\r\n jSliderSaturation = makeTitledSilder(\"Sättigung\", 0, 9, 4);\r\n jSliderHue = makeTitledSilder(\"Hue\", 0, 360, 0);\r\n //jSliderContrast = makeTitledSilder(\"Slider2-Wert\", 0, 100, 50);\r\n panel.add(jSliderBrightness);\r\n panel.add(jSliderContrast);\r\n panel.add(jSliderSaturation);\r\n panel.add(jSliderHue);\r\n \r\n add(panel);\r\n \r\n pack();\r\n }",
"public void makeTitle(JPanel upperPanel) {\n JLabel mainTitleLabel = new JLabel(\" Courses\");\n mainTitleLabel.setIcon(createImageIcon(\"./images/coursesIconWhite.png\"));\n mainTitleLabel.setFont(new Font(\"Proxima Nova\", Font.BOLD, 30));\n mainTitleLabel.setForeground(Color.white);\n mainTitleLabel.setBorder(new EmptyBorder(70, 70, 70, 0));\n upperPanel.add(mainTitleLabel, BorderLayout.CENTER);\n }",
"private void setupMessagePanel() {\n\t\tJPanel messagePanel = new JPanel();\n\t\tthis.message = new JTextArea();\n\t\tthis.message.setText(\"Registration Phase Completed. \\n\\nClick on the Log Off button below to \\nreturn to the main menu\");\n\t\tthis.message.setEditable(false);\n\t\tthis.message.setColumns(20);\n\t\tthis.message.setLineWrap(true);\n\t\tmessagePanel.add(message);\n\t\tthis.add(messagePanel, BorderLayout.CENTER);\n\t}",
"private void createPanel() {\n JPanel panel = new JPanel();\n \n for(int i = 0; i < button.size(); i++){\n panel.add(button.get(i));\n }\n panel.add(label);\n \n add(panel);\n }",
"protected void createContents() {\n\t\tsetText(\"Muokkaa asiakastietoja\");\n\t\tsetSize(800, 550);\n\n\t}",
"private static void assembleAddPanel(){\n addPanel.add(addPlayerNameLabel);\n addPanel.add(newPlayerNameTextBox);\n addPlayerButton.addStyleName(\"add-button\");\n newPlayerNameTextBox.addStyleName(\"player-name-textbox\");\n addPlayerButton.addStyleName(\"btn btn-default\");\n resetRosterButton.addStyleName(\"btn btn-default\");\n addPlayerButton.setHTML(\"<span class=\\\"glyphicon glyphicon-plus\\\" aria-hidden=\\\"true\\\"></span>Add Player\");\n resetRosterButton.setHTML(\"<span class=\\\"glyphicon glyphicon-repeat\\\" aria-hidden=\\\"true\\\"></span>Reset All\");\n }",
"public void setTitlePanel() {\n\t\ttitleview = new TitlePanelView();\n\t\ttitleview.createView();\n\t\tnorthpanel.add(titleview.getView());\n\t\n\t}",
"protected String generatePanelDetails(PanelInfo panel)\n {\n\tStringBuffer buffer = new StringBuffer(2048);\n\tbuffer.append(\"<a name=\\\"\" + panel.getDetailsLink() + \"\\\">\");\n\tbuffer.append(\"<h3 align=center>\" + panel.getTitle() + \"</h3></a>\");\n\tbuffer.append(\"<table>\\n\");\n\tVector fields = panel.getAllFields();\n\tfor (int i = 0; i < fields.size(); i++)\n\t {\n\t FieldInfo fld = (FieldInfo) fields.get(i);\n\t if (fld.isDummyControl())\n\t continue;\n\t String pSpec = fld.getPSpecifier();\n\t if ((pSpec == null) || (pSpec.length() == 0))\n\t continue;\n //buffer.append(\"<tr><td><table>\\n\");\n\t buffer.append(\"<tr><th nowrap align=left>\" + pSpec + \"</th>\\n\");\n\t buffer.append(\"<th></th><th></th>\\n\");\n\t buffer.append(\"<th align=right>\"+fld.getLabelText() + \"</th></tr>\\n\");\n\t buffer.append(\"<tr><td></td><td nowrap valign=top><b>Description:</b></td>\");\n\t buffer.append(\"<td colspan=2>\");\n\t buffer.append(fld.getHelpString());\n buffer.append(\"</td></tr>\");\n\t buffer.append(\"<tr><td></td><td nowrap valign=top><b>Required:</b></td>\");\n\t buffer.append(\"<td>\");\n\t buffer.append(fld.isRequired() ? \"Yes\" : \"No\");\n\t buffer.append(\"</td></tr>\\n\");\n\t String choices = null;\n\t ValueLimits limits = fld.getValueLimits();\n\t if ((fld.isChoiceControl()) && (fld.areChoicesFixed()))\n {\n\t\t choices = fld.getAppendedChoices();\n\t\t }\n\t else if (fld.isFileField())\n\t {\n if (fld.isExisting())\n\t\t choices = \"Input (existing) path and filename\";\n\t\t else\n\t\t choices = \"Output path and filename\";\n\t\t }\n\t else if (limits != null)\n\t {\n\t\t if (limits.bInteger)\n choices =\"Integer value between \" +\n\t\t Integer.toString((int)limits.minValue) + \" and \" +\n\t\t Integer.toString((int)limits.maxValue);\n\t\t else\n choices =\"Real number between \" +\n\t\t Double.toString(limits.minValue) + \" and \" +\n\t\t Double.toString(limits.maxValue);\n\t\t }\n\t if (choices != null)\n\t {\n\t buffer.append(\"<tr><td></td><td nowrap valign=top><b>Values:</b></td>\");\n\t buffer.append(\"<td colspan=2>\" + choices + \"</td></tr>\\n\");\n\t\t }\n String dflt = fld.getDefaultValue();\n\t if ((dflt != null) && (dflt.length() > 0))\n\t {\n\t buffer.append(\"<tr><td></td><td><b>Default:</b></td><td>\" + dflt);\n\t\t buffer.append(\"</td></tr>\\n\");\n\t\t }\n\t buffer.append(\"<tr><td colspan=4><hr></td></tr>\\n\");\n\t //buffer.append(\"</table></td></tr>\");\n\t }\n\tbuffer.append(\"</table>\\n\");\n\tbuffer.append(\"<META name=\\\"PageBreak\\\" content=\\\"\\\">\\n\");\n\treturn buffer.toString();\n\t}",
"private void createPanelContent() {\n FragmentActivity activity = getActivity();\n if (this.mLayoutView == null) {\n activity.finish();\n }\n ViewGroup.LayoutParams layoutParams = this.mLayoutView.getLayoutParams();\n layoutParams.height = -2;\n this.mLayoutView.setLayoutParams(layoutParams);\n this.mPanelSlices = (RecyclerView) this.mLayoutView.findViewById(C0010R$id.panel_parent_layout);\n this.mSeeMoreButton = (TextView) this.mLayoutView.findViewById(C0010R$id.see_more);\n this.mDoneButton = (TextView) this.mLayoutView.findViewById(C0010R$id.done);\n this.mTitleView = (TextView) this.mLayoutView.findViewById(C0010R$id.panel_title);\n this.mPanelHeader = (LinearLayout) this.mLayoutView.findViewById(C0010R$id.panel_header);\n this.mTitleIcon = (ImageView) this.mLayoutView.findViewById(C0010R$id.title_icon);\n this.mHeaderTitle = (TextView) this.mLayoutView.findViewById(C0010R$id.header_title);\n this.mHeaderSubtitle = (TextView) this.mLayoutView.findViewById(C0010R$id.header_subtitle);\n this.mFooterDivider = this.mLayoutView.findViewById(C0010R$id.footer_divider);\n this.mPanelSlices.setVisibility(8);\n Bundle arguments = getArguments();\n String string = arguments.getString(\"PANEL_CALLING_PACKAGE_NAME\");\n PanelContent panel = FeatureFactory.getFactory(activity).getPanelFeatureProvider().getPanel(activity, arguments);\n this.mPanel = panel;\n if (panel == null) {\n activity.finish();\n }\n this.mPanel.registerCallback(new LocalPanelCallback());\n if (this.mPanel instanceof LifecycleObserver) {\n getLifecycle().addObserver((LifecycleObserver) this.mPanel);\n }\n this.mMetricsProvider = FeatureFactory.getFactory(activity).getMetricsFeatureProvider();\n this.mPanelSlices.setLayoutManager(new LinearLayoutManager(activity));\n this.mLayoutView.getViewTreeObserver().addOnPreDrawListener(this.mOnPreDrawListener);\n loadAllSlices();\n IconCompat icon = this.mPanel.getIcon();\n CharSequence title = this.mPanel.getTitle();\n if (icon == null) {\n this.mTitleView.setVisibility(0);\n this.mPanelHeader.setVisibility(8);\n this.mTitleView.setText(title);\n } else {\n this.mTitleView.setVisibility(8);\n this.mPanelHeader.setVisibility(0);\n this.mPanelHeader.setAccessibilityPaneTitle(title);\n this.mTitleIcon.setImageIcon(icon.toIcon(getContext()));\n this.mHeaderTitle.setText(title);\n this.mHeaderSubtitle.setText(this.mPanel.getSubTitle());\n if (this.mPanel.getHeaderIconIntent() != null) {\n this.mTitleIcon.setOnClickListener(getHeaderIconListener());\n this.mTitleIcon.setLayoutParams(new LinearLayout.LayoutParams(-2, -2));\n } else {\n int dimensionPixelSize = getResources().getDimensionPixelSize(C0007R$dimen.output_switcher_panel_icon_size);\n this.mTitleIcon.setLayoutParams(new LinearLayout.LayoutParams(dimensionPixelSize, dimensionPixelSize));\n }\n }\n if (this.mPanel.getViewType() == 2) {\n this.mFooterDivider.setVisibility(0);\n } else {\n this.mFooterDivider.setVisibility(8);\n }\n this.mSeeMoreButton.setOnClickListener(getSeeMoreListener());\n this.mDoneButton.setOnClickListener(getCloseListener());\n if (this.mPanel.isCustomizedButtonUsed()) {\n CharSequence customizedButtonTitle = this.mPanel.getCustomizedButtonTitle();\n if (TextUtils.isEmpty(customizedButtonTitle)) {\n this.mSeeMoreButton.setVisibility(8);\n } else {\n this.mSeeMoreButton.setVisibility(0);\n this.mSeeMoreButton.setText(customizedButtonTitle);\n }\n } else if (this.mPanel.getSeeMoreIntent() == null) {\n this.mSeeMoreButton.setVisibility(8);\n }\n this.mMetricsProvider.action(0, 1, this.mPanel.getMetricsCategory(), string, 0);\n }",
"public void addPanel(String title, PlotPanel pnl) {\n addPanel(new TabComponent(this, title), pnl);\n updateTitle(title);\n updateAdditionalInformations(pnl);\n }",
"private JPanel createExportDataPanel(){\n JPanel exportDataPanel = new JPanel();\n exportDataPanel.setLayout(new BoxLayout(exportDataPanel, BoxLayout.X_AXIS));\n\n JLabel exportData = new JLabel(\"Export Data (.csv)\");\n exportData.setToolTipText(\"csv files are opened in excel by default\");\n\n exportDataPanel.add(exportData);\n exportDataPanel.add(Box.createHorizontalGlue());\n\n return exportDataPanel;\n }",
"void createGebruikersBeheerPanel() {\n frame.add(gebruikersBeheerView.createGebruikersBeheerPanel());\n frame.setTitle(gebruikersBeheerModel.getTitle());\n }",
"public void testOnePanel() {\n\t\t// Instantiate nested panels\n\t\tRasterFileTestPlotPanel parent =\n\t\t\tnew RasterFileTestPlotPanel(TEST_DIR);\n\t\t\n\t\t// Add background widgets to panel such that\n\t\t// they are top aligned and non-overlapping\n\t\tparent.add(new Background(WIDTH, HEIGHT, COLOR_1), true);\n\t\tparent.add(new Background(WIDTH, HEIGHT, COLOR_2),\n\t\t\t\tHorizontalAlignment.RIGHT_OF,\n\t\t\t\tVerticalAlignment.TOP_JUSTIFIED);\n\t\t\n\t\t// Output graphics to file\n\t\tparent.toPngFile(\"one-panel.png\");\n\t}",
"public static JPanel createDemoPanel(String total, String avild, String title) {\n double dtotal;\n double davild;\n dtotal = Double.parseDouble(total);\n davild = Double.parseDouble(avild);\n JFreeChart chart = createChart(createDataset(dtotal, davild), title);\n return new ChartPanel(chart);\n }",
"private JPanel addPannelName(){\n\t\tJPanel panNom = new JPanel();\n\t\tpanNom.setPreferredSize(new Dimension(175, 75));\n\t\tnameT = new JTextField();\n\t\tnameT.setPreferredSize(new Dimension(100, 25));\n\t\tpanNom.setBorder(BorderFactory.createTitledBorder(\"Channel name\"));\n\t\tname = new JLabel(\"Put a name :\");\n\t\tpanNom.add(name);\n\t\tpanNom.add(nameT);\n\t\treturn panNom;\n\t}",
"CartogramWizardTitlePanel (JFrame contentFrame)\n\t{\n\t\t\n\t\t// Setting panel parameters.\n\t\tthis.setSize(350, 45);\n\t\tthis.setLayout(null);\n\t\t\n\t\t\n\t\t// Create the title text.\n\t\tJLabel title = new JLabel(\"Cartogram creation wizard\");\n\t\ttitle.setFont(new Font(null, Font.BOLD, 13));\n\t\ttitle.setLocation(0, 0);\n\t\ttitle.setSize(400, 20);\n\t\tthis.add(title);\n\t\t\n\t\t\n\t\t// Create the sub-title text.\n\t\t/*JLabel subtitle = new JLabel(\n\t\t\t\"A leap into a different space.\"\n\t\t\t);\n\t\t\n\t\tsubtitle.setFont(new Font(null, Font.PLAIN, 11));\n\t\tsubtitle.setLocation(0, 22);\n\t\tsubtitle.setSize(400, 20);\n\t\tthis.add(subtitle);*/\n\t\t\n\t}",
"@Override\n public void setupPanel()\n {\n\n }",
"private void displayAbout(JPanel panel) {\n JLabel aboutText1 = new JLabel(), aboutText2 = new JLabel();\n aboutText1.setText(\"<html>\" + \n \"<p> Minesweeper is a puzzle game, where the objective is to clear all mines from a board<br>\" +\n \"of tiles without touching one. Typically playable with one player only, the game presents<br>\" +\n \"with a timer, a counter that determines the number of flags and mines, a button that contains<br>\" +\n \"a smiley face, and a board. Once the user clicks on the board, the game commences and the timer<br>\" +\n \"activates. The user can flag a tile where there may be a mine, but once a tile with a mine has been<br>\" +\n \"detonated, the game is over. The first click is always never a mine, and using flags is not required!<br></p>\"\n + \"</html>\");\n aboutText2.setText(\"<html>\" +\n \"<b>About the Creator</b><br>\" +\n \"<p>  My name is <u>Stephen Hullender</u>.  I am a Computer Science student attending Temple<br>\" +\n \"University. This project was programmed using Java, utilizing several libraries such as<br>\" +\n \"the SWING library, Abstract Window Toolkit, socket programming, and other related libraries.<br>\" +\n \"This project was first brainstormed in May 2021 when I had developed a habit of playing <br>\" +\n \"of Minesweeper to pass the time following an ardenous semester of Zoom University. Production began <br>\" +\n \"shortly after, but was halted until it was completely revamped and improved on July 2021. Since<br>\" +\n \"then, I've developed new skills in understanding how to create Java applications, as well as finding<br>\" +\n \"some knowledge in how to develop games. My goal is to create a simple and fun puzzle game, and to<br>\" +\n \"recreate it with some additional tools such as multiplayer interaction and customizable controls, along<br>\"+\n \"with implementing a database to keep scores, hopefully via SQL. </p>\"\n + \"</html>\");\n\n panel.add(aboutText1);\n panel.add(aboutText2);\n helppanel.add(panel);\n }",
"public SummaryPanel() {\n setLayout(new GridBagLayout());\n GridBagConstraints gbc = new GridBagConstraints();\n\n gbc.gridy = 0;\n gbc.gridx = 0;\n gbc.anchor = GridBagConstraints.LINE_START;\n gbc.fill = GridBagConstraints.HORIZONTAL;\n gbc.weightx = 1.0;\n// summary = new JEditorPane();\n// summary.setContentType(\"text/html\");\n// summary.putClientProperty(JEditorPane.HONOR_DISPLAY_PROPERTIES, true);\n// setSummaryText();\n// summary.setEditable(false);\n// summary.addHyperlinkListener(new HyperlinkListener() {\n// public void hyperlinkUpdate(HyperlinkEvent e) {\n// if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {\n// BrowserUtil.launchBrowser(e.getURL().toString());\n// }\n// }\n// });\n//\n// summary.setFont(summary.getFont().deriveFont(Font.BOLD));\n// summary.setOpaque(false);\n// JPanel p = new JPanel();\n// p.setLayout(new GridBagLayout());\n// GridBagConstraints gbcp = new GridBagConstraints();\n// gbcp.fill = GridBagConstraints.BOTH;\n// gbcp.weightx = 1.0;\n// gbcp.weighty = 1.0;\n// gbcp.gridx = 0;\n// gbcp.gridy = 0;\n// p.add(summary, gbcp);\n// add(p, gbc);\n\n// gbc.gridy++;\n\n ActionManager manager = ActionManager.getInstance();\n ActionGroup group = (ActionGroup) manager.getAction(\"ThePlugin.BuildToolWindowToolBar\");\n ActionToolbar toolbar = manager.createActionToolbar(getContentKey(params), group, true);\n\n JComponent comp = toolbar.getComponent();\n add(comp, gbc);\n }",
"private JPanel addText() {\n\t\t// initiate my text panel\n\t\tJPanel textPanel = new JPanel();\n\t\t// also uses grid layout\n\t\ttextPanel.setLayout(new GridLayout(2, 1));\n\n\t\t// add the title to a JLabel\n\t\tJLabel title = new JLabel(\"Disney Characters\");\n\t\t// set alignment, font and color\n\t\ttitle.setHorizontalAlignment(SwingConstants.CENTER);\n\t\ttitle.setFont(new Font(\"Serif\", Font.BOLD, 48));\n\t\ttitle.setForeground(new Color(86, 10, 0));\n\n\t\t// a String array of the names of my favorite Disney characters\n\t\tString[] LIST = new String[] { \"Mickey Mouse\", \"Stitch\", \"Donald Duck\",\n\t\t\t\t\"Tinkerbell\", \"Goofy\", \"Winnie the Pooh\", \"Minnie Mouse\",\n\t\t\t\t\"Baymax\", \"Snow White\", \"Ariel\", \"Mulan\", \"Cinderella\",\n\t\t\t\t\"Alice\", \"Rapunzel\", \"Elsa\", \"Aurora\" };\n\t\t// initiate a JLabel that will be holding each name\n\t\tJLabel list;\n\t\t// for the length of the list\n\t\tfor (int i = 0; i < LIST.length; i++) {\n\t\t\tnameList.insertFirst(LIST[i]);\n\t\t\t// create a new JLabel and put in a name each time\n\t\t\tlist = new JLabel(nameList.getFirst());\n\t\t\t// set alignment, font and color\n\t\t\tlist.setHorizontalAlignment(SwingConstants.CENTER);\n\t\t\tlist.setFont(new Font(\"Serif\", Font.BOLD, 18));\n\t\t\tlist.setForeground(new Color(86, 10, 0));\n\t\t\t// add this JLabel to the list panel\n\t\t\tlistPanel.add(list);\n\t\t}\n\t\t// add the title and the list to the text panel\n\t\ttextPanel.add(title);\n\t\ttextPanel.add(listPanel);\n\t\t// return the text panel\n\t\treturn textPanel;\n\t}",
"public static JPanel createDemoPanel() {\r\n JFreeChart chart = createChart(createDataset());\r\n ChartPanel panel = new ChartPanel(chart);\r\n panel.setMouseWheelEnabled(true);\r\n return panel;\r\n }",
"private void makePanelTask() {\r\n if (panelTask == null) {\r\n panelTask = makePanel(jframe, BorderLayout.CENTER,\r\n \"Task Details\", 180, 50, 200, 25);\r\n\r\n JLabel createLabelName = makeJLabel(\"Name: \", 10, 100, 80, 25);\r\n JLabel createLabelDescription = makeJLabel(\"Description: \", 10, 130, 80, 25);\r\n JLabel createLabelDueDate = makeJLabel(\"Due Date: \", 10, 160, 80, 25);\r\n JLabel createLabelPriority = makeJLabel(\"Priority Level: \", 10, 190, 80, 25);\r\n\r\n addToTodoTaskGui(createLabelName, createLabelDescription, createLabelDueDate, createLabelPriority);\r\n\r\n JButton clickSave = makeButton(\"saveTask\", \"Save\", 80, 250, 150, 25,\r\n JComponent.BOTTOM_ALIGNMENT, \"cli.wav\");\r\n panelTask.add(clickSave);\r\n\r\n JButton clickCancel = makeButton(\"cancelTask\", \"Cancel\", 280, 250, 150, 25,\r\n JComponent.BOTTOM_ALIGNMENT, \"cli.wav\");\r\n panelTask.add(clickCancel);\r\n }\r\n }",
"public PanelImage( )\r\n {\r\n JLabel image = new JLabel( );\r\n ImageIcon icon = new ImageIcon( \"./data/img/header.png\" );\r\n image = new JLabel( \"\" );\r\n image.setIcon( icon );\r\n add( image );\r\n }",
"private JPanel createIndividualPanel(JLabel image, String name, String subName) {\n\t\tJPanel individualPanel = new JPanel();\n\t\tindividualPanel.setLayout(new BorderLayout());\n\t\timage.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tindividualPanel.add(image, BorderLayout.CENTER);\n\t\t\n\t\tJPanel description = new JPanel();\n\t\tdescription.setLayout(new GridLayout(2,1));\n\t\tJLabel nameLabel = new JLabel(\"<html><b>\" + name + \"</b></html>\");\n\t\tnameLabel.setFont(new Font(\"Comic Sans MS\", Font.PLAIN, 12));\n\t\tJLabel subNameLabel = new JLabel(subName);\n\t\tsubNameLabel.setFont(new Font(\"Comic Sans MS\", Font.PLAIN, 12));\n\t\tnameLabel.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tsubNameLabel.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tdescription.add(nameLabel);\n\t\tdescription.add(subNameLabel);\n\t\tindividualPanel.add(description, BorderLayout.SOUTH);\n\t\t\n\t\tindividualPanel.setBorder(new EmptyBorder(10, 10, 10, 10));\n\t\t\n\t\treturn individualPanel;\n\t}",
"private String generateHtmlLayout(String title, List<HtmlData> data) {\n return html(\n head(\n title(title),\n link().withRel(\"stylesheet\").withHref(\"asciidoctor.css\")\n ),\n body(\n generateHeader(title),\n generateBody(data)\n )\n ).withStyle(\"padding: 10px 30px\").renderFormatted();\n }",
"SummaryPanel() {\r\n\t\tsetLayout(new GridBagLayout());\r\n\t\tsetBackground(Color.white);\r\n\t\twriteButton.addActionListener(this);\r\n\t\tsetupGui();\r\n\t}",
"protected JComponent makeTextPanel(String text)\n\t{\n\t\tJPanel panel = new JPanel(false);\n\t\tpanel.setBackground(new Color(55, 55, 55));\n\t\tpanel.setLayout(null);\n\t\treturn panel;\n\t}",
"private JPanel createNorthPanel() \r\n\t{\r\n\t\tJPanel panel = new JPanel();\r\n\t\t\r\n\t\tJLabel title = new JLabel(\"Reservations\", SwingConstants.CENTER);\r\n\t\ttitle.setFont(new Font(\"serif\", Font.PLAIN, 29));\r\n\t\tpanel.add(title);\r\n\t\t\r\n\t\treturn panel;\r\n\t}",
"public static JPanel wrapTitled(String title, JComponent component)\r\n {\r\n JPanel p = new JPanel(new GridLayout(1,1));\r\n p.setBorder(BorderFactory.createTitledBorder(title));\r\n p.add(component);\r\n return p;\r\n }",
"public JPanel createPanel() {\n\t\t\r\n\t\tJPanel mainPanel = new JPanel();\r\n\t\tmainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.Y_AXIS));\r\n\t\tmainPanel.setBackground(Color.WHITE);\r\n\t\tmainPanel.setBorder(new CompoundBorder(\r\n\t\t\t\tBorderFactory.createLineBorder(new Color(0x3B70A3), 4),\r\n\t\t\t\tnew EmptyBorder(10, 20, 10, 20)));\r\n\r\n\t\t/*\r\n\t\t * Instruction\r\n\t\t */\t\r\n\t\tmainPanel.add(instructionPanel());\r\n\t\t\r\n\t\t\r\n\t\t// TODO: set task order for each group - make first 3 tasks = groups tasks\r\n\t\tmainPanel.add(messagesPanel());\r\n\t\tmainPanel.add(Box.createRigidArea(new Dimension(this.getWidth(), 5)));\r\n\r\n\t\tmainPanel.add(phonePanel());\r\n\t\tmainPanel.add(Box.createRigidArea(new Dimension(this.getWidth(), 5)));\r\n\r\n\t\tmainPanel.add(clockPanel());\r\n\t\tmainPanel.add(Box.createRigidArea(new Dimension(this.getWidth(), 5)));\r\n\r\n\t\tmainPanel.add(cameraPanel());\r\n\t\tmainPanel.add(Box.createRigidArea(new Dimension(this.getWidth(), 5)));\t\r\n\r\n\t\tmainPanel.add(contactPanel());\r\n\t\tmainPanel.add(Box.createRigidArea(new Dimension(this.getWidth(), 5)));\r\n\r\n\t\tmainPanel.add(galleryPanel());\r\n\t\t\r\n\t\treturn mainPanel;\r\n\t}",
"protected String createBasicTestData() {\n BaseSignatureTestData baseData = baseTestInfo.getBaseTestData();\n String basicParameterBody = createBasicParameterRepresentation(baseData);\n StringBuilder basicTestDataPanel = new StringBuilder();\n basicTestDataPanel\n .append(\"<ul id=\\\"tabs\\\" class=\\\"nav nav-tabs\\\" data-tabs=\\\"tabs\\\">\");\n basicTestDataPanel\n .append(\"<li class=\\\"active\\\"><a href=\\\"#basic-parameters\\\" \"\n + \"data-toggle=\\\"tab\\\">Basic parameters</a></li>\");\n basicTestDataPanel\n .append(\"<li><a href=\\\"#std-out\\\" data-toggle=\\\"tab\\\">Standard output</a></li>\");\n basicTestDataPanel\n .append(\"<li><a href=\\\"#std-err\\\" data-toggle=\\\"tab\\\">Standard error</a></li>\");\n basicTestDataPanel.append(\"</ul>\");\n basicTestDataPanel\n .append(\"<div id=\\\"my-tab-content\\\" class=\\\"tab-content\\\">\");\n basicTestDataPanel\n .append(\"<div class=\\\"tab-pane active\\\" id=\\\"basic-parameters\\\">\");\n basicTestDataPanel.append(basicParameterBody);\n basicTestDataPanel.append(\"</div>\");\n basicTestDataPanel.append(\"<div class=\\\"tab-pane\\\" id=\\\"std-out\\\">\");\n basicTestDataPanel.append(\"<pre class=\\\"pre-scrollable\\\">\"\n + baseTestInfo.getStdOut() + \"</pre>\");\n basicTestDataPanel.append(\"</div>\");\n basicTestDataPanel.append(\"<div class=\\\"tab-pane\\\" id=\\\"std-err\\\">\");\n basicTestDataPanel.append(\"<pre class=\\\"pre-scrollable\\\">\"\n + baseTestInfo.getStdErr() + \"</pre>\");\n basicTestDataPanel.append(\"</div>\");\n basicTestDataPanel.append(\"</div>\");\n return basicTestDataPanel.toString();\n }",
"private Widget getTitle(DatabaseObject databaseObject) {\n HorizontalPanel titlePanel = new HorizontalPanel();\n titlePanel.setStyleName(\"elv-Details-Title\");\n try{\n ImageResource img = InstanceTypeIconProvider.getItemIcon(databaseObject.getSchemaClass());\n String helpTitle = databaseObject.getSchemaClass().name;\n HTMLPanel helpContent = new HTMLPanel(InstanceTypeExplanation.getExplanation(databaseObject.getSchemaClass()));\n titlePanel.add(new HelpPopupImage(img, helpTitle, helpContent));\n }catch (Exception e){\n// e.printStackTrace();\n Console.error(getClass() + \": \" + e.getMessage());\n //ToDo: Enough?\n }\n HTMLPanel title = new HTMLPanel(databaseObject.getDisplayName());\n title.getElement().getStyle().setMarginLeft(10, Style.Unit.PX);\n titlePanel.add(title);\n\n return titlePanel;\n }",
"private JPanel createPanelKeywordt() {\n\n JPanel panel2 = new JPanel(new BorderLayout());\n panel2.setBorder(PADDING_BORDER);\n\n JPanel panelButton = new JPanel(new FlowLayout(FlowLayout.CENTER));\n panelButton.add(createButtonAddKeyword());\n\n panel2.add(createScrollPaneKeyWords(), BorderLayout.NORTH);\n panel2.add(panelButton, BorderLayout.CENTER);\n panel2.add(createConfirmButtonsPanel(), BorderLayout.SOUTH);\n return panel2;\n }",
"private void setPanelOverview() {\n\t\tfinal String methodName = \"setPanelOverview\";\n\t\tdetailedDescription.setEditable(false);\n\t\tdetailedDescription.setLineWrap(true);\n\t\t// set layout for contentPanel\n\t\tGridBagLayout layout = new GridBagLayout();\n\t\tGridBagConstraints gbc = new GridBagConstraints();\n\n\t\tcontentPanel.setLayout(layout);\n\n\t\t//Add sessionTitle\n\t\tLoggerFactory.logp(Level.CONFIG, className, methodName, \"Add component sessionTitle to contentPanel.\");\n\t\tgbc.weightx = 0;\n\t\tgbc.weighty = 0;\n\t\tgbc.gridx = 0;\n\t\tgbc.gridy = 0;\n\t\tgbc.gridwidth = 1;\n\t\tgbc.gridheight = 1;\n\t\tgbc.anchor = GridBagConstraints.CENTER;\n\t\tcontentPanel.add(sessionTitle, gbc);\n\n\t\t//Add detailedDescription\n\t\tLoggerFactory.logp(Level.CONFIG, className, methodName, \"Add component detailedDescription to contentPanel.\");\n\t\tgbc.weightx = 1;\n\t\tgbc.weighty = 1;\n\t\tgbc.gridx = 0;\n\t\tgbc.gridy = 1;\n\t\tgbc.gridwidth = 1;\n\t\tgbc.gridheight = 5;\n\t\tgbc.anchor = GridBagConstraints.CENTER;\n\t\tgbc.fill = GridBagConstraints.BOTH;\n\t\tcontentPanel.add(detailedDescription, gbc);\n\n\t\t//Add exitButton\n\t\tLoggerFactory.logp(Level.CONFIG, className, methodName, \"Add component detailedDescription to contentPanel.\");\n\t\tgbc.weightx = 0;\n\t\tgbc.weighty = 0;\n\t\tgbc.gridx = 0;\n\t\tgbc.gridy = 6;\n\t\tgbc.gridwidth = 1;\n\t\tgbc.gridheight = 1;\n\t\tgbc.anchor = GridBagConstraints.CENTER;\n\t\tgbc.fill = GridBagConstraints.NONE;\n\t\tcontentPanel.add(exitButton, gbc);\n\t}",
"public JComponent createContentPanel() {\n\t\tFormLayout layout = new FormLayout(\"p,3dlu,p,3dlu\", // cols //$NON-NLS-1$\n\t\t\t\t\"p,10dlu,p,10dlu\"); // rows //$NON-NLS-1$\n\n\t\t// Create a builder that assists in adding components to the container.\n\t\t// Wrap the panel with a standardized border.\n\t\tDefaultFormBuilder builder = new DefaultFormBuilder(layout);\n\t\tbuilder.setDefaultDialogBorder();\n\n\t\tCellConstraints cc = new CellConstraints();\n\t\tJEditorPane l=new JEditorPane(\"text/html\",Messages.getString(\"LicenseDialog.Email\"));\n\t\tl.setEditable(false);\n\t\tl.setOpaque(false);\n\t\tl.setFont(l.getFont().deriveFont(Font.PLAIN));\n\t\tJLabel emailLabel=new JLabel(Messages.getString(\"LicenseDialog.EmailLabel\")+\":\");\n\t\t//emailLabel.setFont(emailLabel.getFont().deriveFont(Font.PLAIN));\n\t\tbuilder.add(l,cc.xyw(1,1, 4));\n\t\tbuilder.nextLine(2);\n\t\tbuilder.append(emailLabel,email);\n\t\tbuilder.nextLine(2);\n\n\t\tJComponent result = builder.getPanel();\n\t\treturn result;\n\t}",
"public static JFrame makeFrame (String title)\n {\n\t// make the frame and put a new TextOutputPanel in it\n\tJFrame frame = new JFrame (title);\n\tfinal TextOutputPanel panel = new TextOutputPanel (frame);\n\tframe.setContentPane (panel);\n\tframe.setDefaultCloseOperation (frame.HIDE_ON_CLOSE);\n\n\t// make the menubar for the frame\n\tJMenuBar menuBar = new JMenuBar ();\n\tframe.setJMenuBar (menuBar);\n\n\tJMenu fileMenu = new JMenu (\"File\");\n\tmenuBar.add (fileMenu);\n\tfileMenu.add (new AbstractAction (\"Save As...\")\n\t{\n\t public void actionPerformed (ActionEvent event)\n\t {\n\t\tpanel.saveAs ();\n\t }\n\t});\n\n\tJMenu editMenu = new JMenu (\"Edit\");\n\tmenuBar.add (editMenu);\n\teditMenu.add (new AbstractAction (\"Copy\")\n\t{\n\t public void actionPerformed (ActionEvent event)\n\t {\n\t\tpanel.myDocumentPane.copy ();\n\t }\n\t});\n\teditMenu.add (new AbstractAction (\"Select All\")\n\t{\n\t public void actionPerformed (ActionEvent event)\n\t {\n\t\tpanel.myDocumentPane.selectAll ();\n\t }\n\t});\n\teditMenu.add (new AbstractAction (\"Clear\")\n\t{\n\t public void actionPerformed (ActionEvent event)\n\t {\n\t\tpanel.clear ();\n\t }\n\t});\n\n\tframe.pack ();\n\treturn frame;\n }",
"public void preparePanelPoder(){\n\t\tpanelNombrePoder = new JPanel();\n\t\tpanelNombrePoder.setLayout( new GridLayout(3,1,0,0 ));\n\t\t\n\t\tString name = ( game.getCurrentSorpresa() == null )?\" No hay sorpresa\":\" \"+game.getCurrentSorpresa().getClass().getName();\n\t\tn1 = new JLabel(\"Sorpresa actual:\"); \n\t\tn1.setForeground(Color.WHITE);\n\t\t\n\t\tn2 = new JLabel();\n\t\tn2.setText(name.replace(\"aplicacion.\",\"\"));\n\t\tn2.setForeground(Color.WHITE);\n\t\t\n\t\tpanelNombrePoder.add(n1);\n\t\tpanelNombrePoder.add(n2);\n\t\tpanelNombrePoder.setBounds( 34,200 ,110,50);\n\t\tpanelNombrePoder.setOpaque(false);\n\t\tthis.add( panelNombrePoder);\n\t\t\n\t\t\n\t\t\n\t\t\n\t}",
"public JComponent createContentPanel() {\n\t\t// Separating the component initialization and configuration\n\t\t// from the layout code makes both parts easier to read.\n\t\tinitControls();\n\t\t//TODO set minimum size\n\t\tFormLayout layout = new FormLayout(\"default, 3dlu, default\", // cols\n\t\t\t\t\"p, 3dlu,p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu\"); // rows\n\t\tDefaultFormBuilder builder = new DefaultFormBuilder(layout);\n\t\tbuilder.setDefaultDialogBorder();\n\t\tCellConstraints cc = new CellConstraints();\n\t\t\n\t\tIterator l=labels.iterator();\n\t\tIterator c=valueComponents.iterator();\n\t\twhile (l.hasNext()){\n\t\t String name=(String)l.next();\n\t\t JComponent comp=(JComponent)c.next();\n\t\t builder.append(name,comp);\n\t\t builder.nextLine(2);\n\t\t}\n\t\treturn builder.getPanel();\n\t}",
"public JavaPanel() {\n\t\tsuper();\n\t}",
"protected void createContents() {\r\n\t\tshell = new Shell();\r\n\t\tshell.setLayout(new GridLayout(1, false));\r\n\t\tshell.setSize(450, 300);\r\n\t\tshell.setText(\"SWT Application\");\r\n\t\t{\r\n\t\t\tfinal Button btnShowTheFake = new Button(shell, SWT.TOGGLE);\r\n\t\t\tbtnShowTheFake.addSelectionListener(new SelectionAdapter() {\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void widgetSelected(SelectionEvent arg0) {\r\n\t\t\t\t\tif (btnShowTheFake.getSelection()) {\r\n\t\t\t\t\t\tRectangle bounds = btnShowTheFake.getBounds();\r\n\t\t\t\t\t\tPoint pos = shell.toDisplay(bounds.x + 5, bounds.y + bounds.height);\r\n\t\t\t\t\t\ttooltip = showTooltip(shell, pos.x, pos.y);\r\n\t\t\t\t\t\tbtnShowTheFake.setText(\"Hide it\");\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tif (tooltip != null && !tooltip.isDisposed())\r\n\t\t\t\t\t\t\ttooltip.dispose();\r\n\t\t\t\t\t\tbtnShowTheFake.setText(\"Show The Fake Tooltip\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tbtnShowTheFake.setText(\"Show The Fake Tooltip\");\r\n\t\t}\r\n\t}",
"private void createManualJPanel() {\r\n createJPanelWithManual();\r\n JFrame frame = new JFrame();\r\n customizeFrame(frame);\r\n }",
"protected void createContents() {\n\t\tsetText(\"SWT Application\");\n\t\tsetSize(437, 529);\n\n\t}",
"public AboutPanel() {\n super();\n initialize();\n }",
"protected void createContents() {\r\n\t\tsetText(\"SWT Application\");\r\n\t\tsetSize(450, 300);\r\n\r\n\t}",
"private void setupTitle(){\n\t\tJLabel title = new JLabel(quiz_type.toString()+\": \"+parent_frame.getDataHandler().getLevelNames().get(parent_frame.getDataHandler().getCurrentLevel())); \n\t\ttitle.setFont(new Font(\"Arial Rounded MT Bold\", Font.BOLD, 65));\n\t\ttitle.setForeground(new Color(254, 157, 79));\n\t\ttitle.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tadd(title);\n\t\ttitle.setBounds(32, 24, 1136, 119);\n\t\ttitle.setOpaque(false);\n\t}",
"protected void createContents() {\n\t\tsetText(\"SWT Application\");\n\t\tsetSize(656, 296);\n\n\t}",
"public JComponent createBottomPanel() {\n\t\tJButton[] buttons = new JButton[0];\n\t/*\tbuttons[0] = new JButton(\"Save\");\n\t\tbuttons[0].setActionCommand(\"0\");\n\t\tbuttons[1] = new JButton(\"Cancel\");\n\t\tbuttons[1].setActionCommand(\"1\");*/\n\t\tActionHandler actHand = new ActionHandler();\n\t//\tfields[PRODUCT_NAME].addActionListener(actHand);\n\t\treturn new ButtonAndMessagePanel(buttons, messageLabel, actHand);\n\t}",
"private JComponent makeStudentProfilePanel() {\n\t\t\n\t\t//Initiate profilePanel\n\t\tJPanel profilePanel = new JPanel();\n\t\tprofilePanel.setLayout(new GridLayout(1,3,1,1));\n\t\tprofilePanel.setSize(studentPortalWidth, studentPortalHeight);\n\t\tprofilePanel.setBorder(compound);\n\t\t\t\t\n\t\t//Generate profilePanel's left component\n\t\tTitledBorder leftPanelTitle, usernameTitle, firstNameTitle, lastNameTitle, schoolNameTitle, sQ1Title, sQ2Title;\n\t\tleftPanelTitle = BorderFactory.createTitledBorder(\"Profile Information\");\n\t\tusernameTitle = BorderFactory.createTitledBorder(\"Username\");\n\t\tfirstNameTitle = BorderFactory.createTitledBorder(\"First\");\n\t\tlastNameTitle = BorderFactory.createTitledBorder(\"Last\");\n\t\tschoolNameTitle = BorderFactory.createTitledBorder(\"School\");\n\t\tsQ1Title = BorderFactory.createTitledBorder(\"Security Question 1\");\n\t\tsQ2Title = BorderFactory.createTitledBorder(\"Security Question 2\");\n\t\t\n\t\t//Main leftPanel\n\t\tJPanel leftPanel = new JPanel();\n\t\tleftPanel.setLayout(new GridLayout(6,1,1,1));\n\t\tleftPanel.setBorder(leftPanelTitle);\n\t\t\t\t\n\t\t//Username JLabel\n\t\tJLabel username = new JLabel(student.getUsername());\n\t\tusername.setBorder(usernameTitle);\n\t\tusername.setFont(masterFont);\n\t\tleftPanel.add(username);\n\t\t\t\t\n\t\t//FirstName JLabel\n\t\tJLabel firstName = new JLabel(student.getFirstName());\n\t\tfirstName.setBorder(firstNameTitle);\n\t\tfirstName.setFont(masterFont);\n\t\tleftPanel.add(firstName);\n\t\t\t\t\n\t\t//LastName JLabel\n\t\tJLabel lastName = new JLabel(student.getLastName());\n\t\tlastName.setBorder(lastNameTitle);\n\t\tlastName.setFont(masterFont);\n\t\tleftPanel.add(lastName);\n\t\t\t\t\n\t\t//SchoolName JLabel\n\t\tJLabel schoolName = new JLabel(student.getSchoolName());\n\t\tschoolName.setBorder(schoolNameTitle);\n\t\tschoolName.setFont(masterFont);\n\t\tleftPanel.add(schoolName);\n\n\t\t//Security Question 1 JLabel | JTextField\n\t\tJLabel sQ1L = new JLabel((String)sSecurityList1.getSelectedItem());\n\t\tsQ1L.setBorder(sQ1Title);\n\t\tsQ1L.setFont(masterFont);\n\t\tleftPanel.add(sQ1L);\n\t\t\t\t\n\t\t//Security Question 2 JLabel | JTextField\n\t\tJLabel sQ2L = new JLabel((String)sSecurityList2.getSelectedItem());\n\t\tsQ2L.setBorder(sQ2Title);\n\t\tsQ2L.setFont(masterFont);\n\t\tleftPanel.add(sQ2L);\n\t\t\t\t\n\t\t//Generate middle component\n\t\tTitledBorder characterTitle, gameTitle;\n\t\tcharacterTitle = BorderFactory.createTitledBorder(\"Character\");\n\t\tgameTitle = BorderFactory.createTitledBorder(\"Game\");\n\t\t\n\t\t//Main middlePanel JPanel\n\t\tJPanel middlePanel = new JPanel();\n\t\tmiddlePanel.setLayout(new GridLayout(2,1,1,1));\n\t\t\n\t\t//MiddleTopPanel JPanel\n\t\tJPanel middleTopPanel = new JPanel();\n\t\tmiddleTopPanel.setBorder(characterTitle);\n\t\t\n\t\t//Character Image JLabel\n\t\tCharacter character = student.getCurrentCharacter();\n\t\tImageIcon icon = new ImageIcon(\"Resource/\" + character.getCharacterName() + \".png\");\n\t\tImage image = icon.getImage().getScaledInstance(200, 200, Image.SCALE_SMOOTH);\n\t\tcharacterImage = new JLabel(new ImageIcon(image));\n\t\tmiddleTopPanel.add(characterImage);\n\t\tmiddlePanel.add(middleTopPanel, BorderLayout.PAGE_START);\n\t\t\n\t\t//Student: \"Change Character\" JButton\n\t\tJButton changeCharacterB = new JButton(\"Change Character\");\n\t\tchangeCharacterB.addActionListener(new ActionListener() {\n\t public void actionPerformed(ActionEvent e) {\n\t \t\tchangeC = true;\n\t \t\tchangeCharacter();\n\t }\n\t \t});\n\t\tmiddleTopPanel.add(changeCharacterB, BorderLayout.PAGE_END);\n\t\t\n\t\t//MiddleBottomPanel JPanel\n\t\tTitledBorder scoreTitle = BorderFactory.createTitledBorder(\"Score\");\n\t\tscoreTitle.setTitleColor(Color.WHITE);\n\t\tJPanel middleBottomPanel = new JPanel();\n\t\tmiddleBottomPanel.setBorder(gameTitle);\n\t\tmiddleBottomPanel.setLayout(new GridLayout(4,1,1,1));\n\n\t\t//ScoreL JLabel\n\t\tJLabel scoreL = new JLabel(Integer.toString(student.getScore()) + \" \");\n\t\tscoreL.setFont(new Font(\"Candara\", Font.PLAIN, 30));\n\t\tscoreL.setBackground(Color.BLUE);\n\t\tscoreL.setOpaque(true);\n\t\tscoreL.setForeground(Color.WHITE);\n\t\tscoreL.setHorizontalAlignment(SwingConstants.RIGHT);\n scoreL.setVerticalAlignment(SwingConstants.CENTER);\n\t\tscoreL.setBorder(scoreTitle);\n\t\tmiddleBottomPanel.add(scoreL);\n\t\t\n\t\t//Student \"New Game\" JButton\n\t\tJButton newGameB = new JButton(\"New Game\");\n\t\tnewGameB.addActionListener(new ActionListener() {\n\t public void actionPerformed(ActionEvent e) {\n\t \t\tsPortalWindow.dispose();\n\t \t\trunGame();\n\t }\n\t \t});\n\t\tmiddleBottomPanel.add(newGameB);\n\t\t\n\t\t//Student \"Store\" JButtom\n\t\tJButton storeB = new JButton(\"Store\");\n\t\tstoreB.addActionListener(new ActionListener() {\n\t public void actionPerformed(ActionEvent e) {\n\t \t\t//store();\n\t }\n\t \t});\n\t\tmiddleBottomPanel.add(storeB);\n\t\t\n\t\t//Student \"Logout\" JButton\n\t\tJButton logoutB = new JButton(\"Logout\");\n\t\tlogoutB.addActionListener(new ActionListener() {\n\t public void actionPerformed(ActionEvent e) {\n\t \t\tsPortalWindow.dispose();\n\t \t\tloginScreen();\n\t }\n\t \t});\n\t\tmiddleBottomPanel.add(logoutB);\n\t\t\n\t\tmiddlePanel.add(middleBottomPanel, BorderLayout.PAGE_END);\n\t\n\t\t//Generate right component \n\t\tTitledBorder topTitle, middleTitle, bottomTitle, title;\n\t\ttopTitle = BorderFactory.createTitledBorder(\"Profile\");\n\t\tmiddleTitle = BorderFactory.createTitledBorder(\"Class\");\n\t\tbottomTitle = BorderFactory.createTitledBorder(\"Study\");\n\t\ttitle = BorderFactory.createTitledBorder(\"Controls\");\n\t\t\t\t\n\t\t//Main rightPanel\n\t\tJPanel rightPanel = new JPanel();\n\t\trightPanel.setLayout(new GridLayout(3,1,1,1));\n\t\t\t\t\n\t\t//TopRightPanel\n\t\tJPanel topRightPanel = new JPanel();\n\t\ttopRightPanel.setLayout(new GridLayout(3,1,1,1));\n\t\ttopRightPanel.setBorder(topTitle);\n\t\t\t\t\n\t\t//Student \"Edit Profile\" JButton\n\t\tJButton editProfileB = new JButton(\"Edit Profile\");\n\t\teditProfileB.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tupdateStudentProfile();\n\t\t\t}\n\t\t});\n\t\ttopRightPanel.add(editProfileB);\n\t\t\n\t\t//Student \"Edit Security\" JButton\n\t\tJButton editSecurityB = new JButton(\"Edit Security\");\n\t\teditSecurityB.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tupdateStudentSecurity();\n\t\t\t}\n\t\t});\n\t\ttopRightPanel.add(editSecurityB);\n\t\t\t\t\n\t\t//MiddleRightPanel\n\t\tJPanel middleRightPanel = new JPanel();\n\t\tmiddleRightPanel.setLayout(new GridLayout(3,1,1,1));\n\t\tmiddleRightPanel.setBorder(middleTitle);\n\t\t\t\t\n\t\t//Student: \"Add Class\" JButton\n\t\tJButton addClassB = new JButton(\"Add Class\");\n\t\taddClassB.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\taddClassStudent();\n\t\t\t}\n\t\t});\n\t\tmiddleRightPanel.add(addClassB);\n\t\t\t\t\n\t\t//Student: \"Edit Class\" JButton\n\t\tJButton editClassB = new JButton(\"Edit Class\");\n\t\teditClassB.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tdeleteClassStudent();\n\t\t\t}\n\t\t});\n\t\tmiddleRightPanel.add(editClassB);\n\t\t\t\t\n\t\t//BottomRightPanel\n\t\tJPanel bottomRightPanel = new JPanel();\n\t\tbottomRightPanel.setLayout(new GridLayout(3,1,1,1));\n\t\tbottomRightPanel.setBorder(bottomTitle);\n\t\t\n\t\t//Student: \"New Study\" JButton\n\t\tJButton newStudyB = new JButton(\"New Study\");\n\t\tnewStudyB.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tcreateStudyName();\n\t\t\t\tnewFlashCard = new FlashCard(subjectNameTF.getText());\n\t\t\t}\n\t\t});\n\t\tbottomRightPanel.add(newStudyB);\n\t\t\t\t\n\t\t//Student: \"Edit Study\" JButton\n\t\tJButton editStudyB = new JButton(\"Edit Study\");\n\t\teditStudyB.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tdeleteStudentStudy();\n\t\t\t}\n\t\t});\n\t\tbottomRightPanel.add(editStudyB);\n\t\t\t\t\n\t\t//Add JPanel's to main JPanel\n\t\trightPanel.setBorder(title);\n\t\trightPanel.add(topRightPanel);\n\t\trightPanel.add(middleRightPanel);\n\t\trightPanel.add(bottomRightPanel);\n\t\t\t\t\n\t\tprofilePanel.add(leftPanel);\n\t\tprofilePanel.add(middlePanel);\n\t\tprofilePanel.add(rightPanel);\n\t\treturn profilePanel;\n\t}",
"protected void createContents() {\n\t\tsetText(\"SWT Application\");\n\t\tsetSize(838, 649);\n\n\t}",
"private static JPanel setQuestionText(String text){\n JPanel northPanel = new JPanel(); // JPanel to be returned\n JLabel label = new JLabel(text); // Label which displays the question\n char tempChar;\n String tempString = \"\";\n\n if (text.length() > 100){\n tempChar = text.charAt(100);\n int i = 100;\n while (tempChar != ' ' && text.length() > i){\n tempChar = text.charAt(i-1);\n i--;\n }\n tempString = text.substring(i);\n text = text.substring(0, i);\n }\n label = new JLabel(\"<html>\" + text + \"<br/>\" + tempString + \"</html>\", SwingConstants.CENTER);\n\n // Add the label to the panel and return the panel\n northPanel.add(label);\n return northPanel;\n }",
"public void addToJPanel() {\r\n\t\tsave_objects.add(header);\r\n\t\tJLabel blank1 = new JLabel(\"\");\r\n\t\tsave_objects.add(blank1);\r\n\t\t\r\n\t\tsave_objects.add(title_lb);\r\n\t\tsave_objects.add(title);\r\n\t\t\r\n\t\tsave_objects.add(width_lb);\r\n\t\tsave_objects.add(width);\r\n\t\t\r\n\t\tsave_objects.add(height_lb);\r\n\t\tsave_objects.add(height);\r\n\t\t\r\n\t\tsave_objects.add(save);\r\n\t\tsave_objects.add(reset);\r\n\t\t\r\n\t\tsetAllFont();\r\n\t}",
"protected Component createBotInfoPanel() {\n\t\tJPanel botInfoPanel = generatePanel(new GridLayout(2, 3), \"Bot Information\");\n\n\t\tbotInfoPanel.add(generateTextField(botPrefix = new JTextField(\"jmeterBot\", 10), \"Bot Prefix: \"));\n\t\tbotInfoPanel.add(generateTextField(channelPrefix = new JTextField(\"#jmeter\", 10), \"Channel Prefix: \"));\n\t\tbotInfoPanel.add(generateTextField(numChannels = new JTextField(\"1\", 10), \"Channels: \"));\n\t\tbotInfoPanel.add(generateTextField(command = new JTextField(\"?jmeter\", 10), \"Command: \"));\n\t\tbotInfoPanel.add(generateTextField(targetNick = new JTextField(\"\", 10), \"Target Nick: \"));\n\n\t\treturn botInfoPanel;\n\t}",
"private void configurePanel(ContentPanel panel){\r\n\t\t\t\tpanel.setSize(325, 185);\t\t\t\t\r\n\t\t\t\tpanel.setHeaderVisible(false);\r\n\t\t\t\tpanel.setBodyStyle(\"padding:7px\");\r\n\t\t\t\tpanel.setScrollMode(Scroll.AUTOY);\r\n\t\t\t\tpanel.setStyleAttribute(\"marginTop\", \"15px\");\r\n\t\t\t}",
"@Override\n\tvoid modifyUserContentPanel() {\n\t\t panel = new JPanel();\n\t\tpanel.setLayout(new BoxLayout(panel,BoxLayout.PAGE_AXIS));\n\t\ticon1 = new BarGraphIcon(graphModel1,200,200);\n\t\ticon2= new BarGraphIcon(graphModel2,200,200);\n\t\tcourseLabel = new JLabel(\"Course: \");\n\t\tpanel.add(courseLabel);\n\t\tpanel.add(new JLabel(\" \"));\n\t\tpanel.add(new JLabel(\"Semester Offerings:\"));\n\t\tpanel.add( new JLabel(icon1));\n\t\tpanel.add(new JLabel(\" \"));\n\t\tpanel.add(new JLabel(\"Campus Offerings:\"));\n\t\tpanel.add(new JLabel(icon2));\n\t\t\n\t\tmakeUserContentPanel(panel);\n\t}",
"@Test\n public void panelTitleTest() {\n Player.GetItem item = getPlayerHandler().getMediaItem();\n onView(withId(R.id.title)).check(matches(withText(item.getTitle())));\n }",
"private DockLayoutPanel createWestPanel() {\n\t\tSafeHtml safeHtml = SafeHtmlUtils.fromString(\n\t\t\t\t\"Logout\\nusuário: \" + getUserEmailFromJavascript() + \" \\nperfil: \" + getProfile().getName());\n\n\t\tAnchor link = new Anchor(safeHtml, getLogoutUrlFromJavascript());\n\n\t\tVerticalPanel verticalPanel = new VerticalPanel();\n\t\tLabel titleLabel = new Label(\"Sítio do físico\");\n\t\ttitleLabel.addStyleName(\"titleLabel\");\n\t\tverticalPanel.add(titleLabel); // TODO\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// internationalization\n\t\tverticalPanel.add(link);\n\n\t\tDockLayoutPanel dockLayoutPanel = new DockLayoutPanel(Unit.PCT);\n\t\tdockLayoutPanel.addNorth(verticalPanel, 13);\n\n\t\twestAuxiliarPanel = new VerticalPanel();\n\n\t\twestAuxiliarPanel.setVisible(false);\n\t\tdockLayoutPanel.add(westAuxiliarPanel);\n\t\treturn dockLayoutPanel;\n\t}",
"private JPanel makePanel()\n {\n JPanel mainPanel = new JPanel();\n mainPanel.add(myLoginPanel);\n\n return mainPanel;\n }",
"private Panel designPanel() {\n Panel panel = new Panel();\n contentLayout = new FormLayout();\n wrapperLayout = new VerticalLayout();\n numberOfDatasetsBox = new ComboBox<>();\n numberOfReplicatesBox = new ComboBox<>(\"Select number of Replicates\");\n\n\n List<Integer> possibleDatasetNumber =\n IntStream.rangeClosed(1, 100).boxed().collect(Collectors.toList());\n numberOfDatasetsBox.setItems(possibleDatasetNumber);\n\n List<Integer> possibleReplicateNumber =\n IntStream.rangeClosed(1, 100).boxed().collect(Collectors.toList());\n numberOfReplicatesBox.setItems(possibleReplicateNumber);\n\n datasetAccordion = new Accordion();\n datasetAccordion.setWidth(\"100%\");\n\n panel.setContent(wrapperLayout);\n return panel;\n }",
"private void generateLabelPanel() {\n speedLabel = new JLabel(\"\");\n loopbackLabel = new JLabel(\"\");\n playingLabel = new JLabel(\"\");\n\n JPanel labelPanel = new JPanel();\n labelPanel.setLayout(new FlowLayout());\n labelPanel.add(playingLabel);\n labelPanel.add(Box.createHorizontalStrut(50));\n labelPanel.add(speedLabel);\n labelPanel.add(Box.createHorizontalStrut(50));\n labelPanel.add(loopbackLabel);\n mainPanel.add(labelPanel);\n }",
"private JPanel buildNorthPanel() {\n\t\t\n\t\tGridBagLayout layout;\n\t\tGridBagConstraints constraints;\n\t\tJPanel panel;\n\t\tint row, col;\n\t\t\n\t\tlayout = new GridBagLayout();\n\t\tconstraints = new GridBagConstraints();\n\t\tpanel = new JPanel(layout);\n\t\trow = 0;\n\t\tcol = 0;\n\t\tJLabel headerLabel = new JLabel(stringFactory.getString(\n\t\t\t\tLabelStringFactory.SAVEASCONFIG_FRAME_SAVE_NEW_CONFIGURATION));\n\t\theaderLabel.setFont(new Font(\"arial\", Font.PLAIN, 18));\n\t\tGUIUtils.add(panel, headerLabel, layout, constraints, row++, col, \n\t\t\t1, 1, 1, 1, GridBagConstraints.NORTHEAST, GridBagConstraints.BOTH,\n\t\t\tGUIUtils.MED_LARGE_INSETS);\n\t\treturn panel;\n\t}",
"public static JPanel createLabelPanel(String text) {\n JPanel lbl_pnl = new JPanel();\n lbl_pnl.setOpaque(false);\n JLabel id_lbl = new JLabel(text);\n id_lbl.setFont(Constants.LINK_FONT_BOLD);\n lbl_pnl.add(id_lbl);\n return lbl_pnl;\n }",
"protected void createContents() {\n\t\tsetText(\"Account Settings\");\n\t\tsetSize(450, 225);\n\n\t}",
"private JPanel getLabelPanel() {\r\n\t\tif (labelPanel == null) {\r\n\t\t\ttry {\r\n\t\t\t\tFlowLayout flowLayout = new FlowLayout();\r\n\t\t\t\tflowLayout.setHgap(10);\r\n\t\t\t\tflowLayout.setVgap(10);\r\n\t\t\t\tlabelPanel = new JPanel();\r\n\t\t\t\tlabelPanel.setLayout(flowLayout);\r\n\t\t\t\tlabelPanel.add(msgLabel, null);\r\n\t\t\t} catch (java.lang.Throwable e) {\r\n\t\t\t\t// TODO: Something\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn labelPanel;\r\n\t}",
"public JPanel createSouthPanel() {\n\t\tsouth = new JPanel(new GridLayout(1, 1));\n\t\t// adds start button and its functionality\n\t\tstartGame();\n\t\treturn south;\n\t}",
"public JPanel createPeoplePanel() {\n\t\t//setup\n\t\tJPanel panel = new JPanel();\n\t\tpanel.setLayout(new GridLayout(3, 2));\n\t\tpanel.setBorder(new TitledBorder(new EtchedBorder(), \"People\"));\n\t\tpanel.add(new JCheckBox(\"Miss Scarlet\"));\n\t\tpanel.add(new JCheckBox(\"Colonel Mustard\"));\n\t\tpanel.add(new JCheckBox(\"Mr. Green\"));\n\t\tpanel.add(new JCheckBox(\"Mrs. White\"));\n\t\tpanel.add(new JCheckBox(\"Mrs. Peacock\"));\n\t\tpanel.add(new JCheckBox(\"Professor Plum\"));\n\t\treturn panel;\t\t\n\t}",
"public BlackPanel() \r\n {\r\n super(\"Seeds\", \"Seeds\");\r\n initComponents();\r\n \r\n // Set up some defaults variables\r\n putWizardData(\"blackWords\", \" \");\r\n }",
"public Panel(LayoutManager paramLayoutManager)\n/* */ {\n/* 65 */ setLayout(paramLayoutManager);\n/* */ }",
"public void addText(String title) {\n\t\t\n\t\t// Create panel\n\t\tJPanel panel = new JPanel();\n\t\tpanel.setLayout(new BorderLayout());\n\t\t\n\t\t// Create and add text editor to panel\n\t\tJTextPane textPane = new JTextPane();\n\t\ttextPane.setFont(new Font(\"Consolas\",Font.PLAIN, 14));\n\t\ttextPane.setEditable(false);\n\t\tJScrollPane scrollPane = new JScrollPane(textPane);\n\t\tpanel.add(scrollPane, BorderLayout.CENTER);\n\t\t\n\t\t// Add the tab\n\t\taddTab(title, null, scrollPane);\n\t\t\n\t\t// Store it in the map\n\t\tthis.tabPanelsMap.put(title, textPane);\n\t}"
]
| [
"0.624205",
"0.62049097",
"0.61960065",
"0.61744535",
"0.61065316",
"0.6076346",
"0.60488683",
"0.60349035",
"0.60104066",
"0.57800174",
"0.5776584",
"0.57494146",
"0.57140857",
"0.56950766",
"0.56933165",
"0.5686599",
"0.5645",
"0.5631966",
"0.5631697",
"0.5609937",
"0.5605602",
"0.55902386",
"0.5586307",
"0.55686235",
"0.5554904",
"0.5544941",
"0.5519806",
"0.55190223",
"0.5515275",
"0.5514997",
"0.54940385",
"0.54885477",
"0.5487589",
"0.54608035",
"0.5453126",
"0.5450659",
"0.54323494",
"0.54278964",
"0.54259753",
"0.5425725",
"0.54244655",
"0.542144",
"0.5410339",
"0.5402791",
"0.53776723",
"0.5340534",
"0.53374016",
"0.53322995",
"0.532614",
"0.53235394",
"0.53067636",
"0.53052235",
"0.5293855",
"0.5277317",
"0.5269819",
"0.5267461",
"0.5265008",
"0.52596843",
"0.5254337",
"0.52527803",
"0.5252679",
"0.52482265",
"0.52373385",
"0.5227016",
"0.5221299",
"0.5217362",
"0.5209621",
"0.5207401",
"0.5203706",
"0.520133",
"0.52009064",
"0.51940453",
"0.51866335",
"0.51825315",
"0.5180709",
"0.51764286",
"0.5168278",
"0.5162622",
"0.51430374",
"0.51416135",
"0.513984",
"0.51332986",
"0.51279247",
"0.5122278",
"0.51221216",
"0.5118953",
"0.51169926",
"0.5107729",
"0.5081896",
"0.5076971",
"0.5071572",
"0.50714403",
"0.50711787",
"0.5067369",
"0.50652486",
"0.50577456",
"0.5050375",
"0.5042667",
"0.5040995",
"0.5020345"
]
| 0.6581012 | 0 |
This method creates a HTMLrepresentation for data contained in a throwable. | protected String createExceptionDataString(Throwable t) {
StringBuilder exceptionData = new StringBuilder();
exceptionData.append("<dl class=\"dl-horizontal\">");
exceptionData.append(createDescription("Cause", t.toString()));
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
t.printStackTrace(pw);
exceptionData.append(createDescription("Stacktrace", sw.toString()));
exceptionData.append("</dl>");
return exceptionData.toString();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"HTML createHTML();",
"private void createExpectionalClassDiv(BufferedWriter writer,\r\n\t\t\tResultTable table) throws IOException {\r\n\t\tMap<String, String> data = table.getExpectionMessageData();\r\n\t\tint size = table.getExpectionMessageData().size();\r\n\r\n\t\tif (size != 0) {\r\n\t\t\tint height = ((size - 1) * 77) + 120;\r\n\t\t\tString container = \"<div style='width: 533px;background-color: #FFFFFF;box-shadow: 1px 1px 1px #888888;height: \"\r\n\t\t\t\t\t+ height + \"px;position: absolute;top: 480px;'>\";\r\n\t\t\tString expectionalLabel = \"<label style='font-weight: bold;position: absolute;padding-left: 8px;color: black;padding-top: 8px;font-family: Roboto, sans-serif;'>Expectional Test Method</label>\";\r\n\t\t\tint count = 0;\r\n\t\t\tString messageContainer = \"\", methodName = \"\", expectionMessage = \"\";\r\n\t\t\twriter.write(container + expectionalLabel);\r\n\t\t\tfor (Map.Entry<String, String> entry : data.entrySet()) {\r\n\t\t\t\tint top = 30 + (82 * count);\r\n\t\t\t\tmessageContainer = \"<div style='top: \"\r\n\t\t\t\t\t\t+ top\r\n\t\t\t\t\t\t+ \"px;position: absolute;width: 451px;height: 75px;background-color: #f8f9fa;margin-left: 36px;border :1px solid #ebedef;border-radius:4px;'>\";\r\n\t\t\t\tmethodName = \"<span style='display: block;margin-left: 4px;margin-top: 4px;font-family: Roboto, sans-serif;'>\"\r\n\t\t\t\t\t\t+ entry.getKey() + \"</span>\";\r\n\t\t\t\texpectionMessage = \"<span style='margin-top: 4px;position: absolute;margin-left: 8px;font-family: Roboto, sans-serif;color: #F44336;font-size: small;font-weight: bold;'>\"\r\n\t\t\t\t\t\t+ entry.getValue() + \"</span></div>\";\r\n\t\t\t\tcount++;\r\n\t\t\t\twriter.write(messageContainer + methodName + expectionMessage);\r\n\t\t\t}\r\n\t\t\tString containerClose = \"<div>\";\r\n\t\t\twriter.write(containerClose);\r\n\t\t}\r\n\t}",
"private String toString(final Throwable throwable) {\n final StringWriter writer = new StringWriter();\n final PrintWriter printer = new PrintWriter(writer);\n throwable.printStackTrace(printer);\n return writer.toString();\n }",
"void showError(Throwable throwable);",
"@Override\n\tpublic Response toResponse(Throwable arg0) {\n\t\tErrorMessage errorMsg = new ErrorMessage(arg0.getMessage(),500,\"http://www.google.com\");\n\t\treturn Response.status(Status.INTERNAL_SERVER_ERROR).entity(errorMsg).build();\n\t}",
"synchronized public static String traceErrorForWeb(Throwable e) {\n\n StringBuffer sb = new StringBuffer();\n\n sb.append(\n \" <font color='blue'><a href='#' onclick='$(info\" + e.hashCode() + \").style.display=\\\"block\\\"'>details</a>\"\n + \"<div id='info\" + e.hashCode() + \"' style='display:none'>\" + e.toString() + \" \" + Tools.traceError(e) + \"</div></font>\"\n );\n return sb.toString();\n }",
"String renderHTML();",
"public String makeHTML(String DataLine) {\n\t\tDataLine = \"<HTML><BODY>\" + \"<b>\" + DataLine + \"</b>\" + \"</BODY></HTML>\";\n\n\n\t\treturn DataLine;\n\t}",
"private String formatEventAsHtml(BuildEvent event) {\n StringBuffer html = new StringBuffer();\n\n // Determine the priority of the message\n String bgcolor = null;\n switch (event.getPriority()) {\n case Project.MSG_ERR: \n bgcolor = BGCOLOR_ERR; \n break;\n case Project.MSG_WARN: \n bgcolor = BGCOLOR_WARN; \n break;\n default: \n bgcolor = BGCOLOR_INFO;\n }\n\n // Determine if there is any text to display\n StringBuffer msg = new StringBuffer();\n if (event.getMessage() != null) {\n msg.append(formatTextAsHtml(event.getMessage()));\n }\n if (event.getException() != null) {\n bgcolor = BGCOLOR_ERR; \n html.append(formatTextAsHtml(event.getException().toString()));\n }\n\n // Format the message\n if (msg.length() > 0) {\n html.append(\"<tr>\\n\");\n html.append(\" <td bgcolor=\\\"\" + bgcolor + \"\\\"><tt>\" + formatTextAsHtml(msg.toString()) + \"</tt></td>\\n\");\n html.append(\" </td>\\n\");\n html.append(\"</tr>\\n\");\n }\n\n return html.toString();\n }",
"private String formatEventsAsHtml() {\n StringBuffer html = new StringBuffer();\n\n html.append(\"<b><u>Build events:</u></b><br>\\n\");\n html.append(\"<table border=0 cellspacing=0 cellpadding=1 width=\\\"100%\\\">\\n\");\n for (int idx = 0; idx < events.size(); idx++) {\n BuildEvent currentEvent = (BuildEvent) events.get(idx);\n html.append(formatEventAsHtml(currentEvent));\n }\n html.append(\"</table>\\n\");\n\n return html.toString();\n }",
"public String getMessageTextAsHTML();",
"String getHtml() {\n Map<String, Object> context = new HashMap<>();\n context.put(\"tileRows\", mTileRows);\n context.put(\"rows\", mRows);\n context.put(\"columns\", Lists.newArrayList(mColumnsByStartMillis.values()));\n context.put(\"numColumnsPerDay\", getSegmentStartTimes().length);\n context.put(\"nowColumnStart\", mNowColumn.start);\n context.put(\"nowDate\", mNow.toLocalDate());\n context.put(\"orders\", mOrders);\n context.put(\"dataCellsByConceptId\", getJsonDataDump());\n return renderTemplate(\"assets/chart.html\", context);\n }",
"public static String toString(final Throwable throwable)\n\t{\n\t\tif (throwable != null)\n\t\t{\n\t\t\tfinal StringWriter stringWriter = new StringWriter();\n\t\t\tthrowable.printStackTrace(new PrintWriter(stringWriter));\n\t\t\treturn Strings.replaceAll(stringWriter.toString(), \"\\t\", \" \");\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn \"<Null Throwable>\";\n\t\t}\n\t}",
"public String create()\n {\n return createHtml();\n }",
"public interface SafeHtmlRenderer<T> {\n\n /**\n * Renders {@code object} as safe HTML.\n */\n SafeHtml render(T object);\n\n /**\n * Renders {@code object} as safe HTML, appended directly to {@code builder}.\n */\n void render(T object, SafeHtmlBuilder builder);\n}",
"public String getHTML() throws Exception {\n\t\t// create object to store html source text as it is being collected\n\t\tStringBuilder html = new StringBuilder();\n\t\t// open connection to given url\n\t\tURL url = new File(urlString).toURI().toURL();\n\t\t// create BufferedReader to buffer the given url's HTML source\n\t\tBufferedReader htmlbr =\n\t\t\t\tnew BufferedReader(new InputStreamReader(url.openStream()));\n\t\tString line;\n\t\t// read each line of HTML code and store in StringBuilder\n\t\twhile ((line = htmlbr.readLine()) != null) {\n\t\t\thtml.append(line);\n\t\t}\n\t\thtmlbr.close();\n\t\t// convert StringBuilder into a String \n\t\tString stringHtml = html.toString();\n\t\t\n\t\t// preprocess the string to replace all special chars\n\t\tstringHtml.replaceAll(\"'\", \"'\");\n\t\tstringHtml.replaceAll(\"‐\", \"-\");\n\t\tstringHtml.replaceAll(\"&\", \"&\");\n\t\t\n\t\treturn stringHtml;\n\t}",
"public static String toString(final Throwable throwable) {\n StringWriter w = new StringWriter();\n try (PrintWriter p = new PrintWriter(w)) {\n throwable.printStackTrace(p);\n }\n return w.toString();\n }",
"private static String getHtmlMessage(final String header, final Exception e) {\n final StringBuilder buffer = new StringBuilder(100).append(\"<html>\").append(header)\n .append(\"<br><b>\").append(e.getClass().getSimpleName()).append(\"</b>\");\n String message = e.getLocalizedMessage();\n if (message != null) {\n message = message.replace(\"&\", \"&\").replace(\"<\", \"<\").replace(\">\", \">\").replace(\"\\\"\", \""\");\n buffer.append(\": \").append(message);\n }\n return buffer.append(\"</html>\").toString();\n }",
"protected void onRender(Writer w_p) throws Exception\r\n {\r\n // === render \r\n w_p.write(m_theFieldManager.renderErrors());\r\n\r\n w_p.write(\"<div style=\\\"clear:both\\\" class=\\\"OwObjectPropertyView\\\">\");\r\n\r\n w_p.write(\"<table class='OwObjectPropertyView'>\");\r\n\r\n w_p.write(\"<tr><td>\");\r\n\r\n renderRegion(w_p, MAIN_REGION);\r\n\r\n w_p.write(\"</td></tr>\");\r\n\r\n w_p.write(\"<tr><td class='OwObjectPropertyView_MENU OwInlineMenu'>\");\r\n\r\n renderRegion(w_p, MENU_REGION);\r\n\r\n w_p.write(\"</td></tr>\");\r\n\r\n w_p.write(\"</table>\");\r\n\r\n w_p.write(\"</div>\");\r\n }",
"@SafeVarargs\n public final RestResponseAsserter bodyAsHTML(Consumer<HtmlAssert>... assertions) {\n\n return assertStringBody(\n bodyStr -> {\n extract(bodyStr);\n Stream.of(assertions)\n .forEach(\n assertion ->\n assertion.accept(\n softly.assertHtml(bodyStr, responseExtractor)));\n\n\n });\n }",
"protected SafeHtml getInnerHtml() {\n return html;\n }",
"private String getStackTrace(Throwable throwable) {\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter(sw);\n throwable.printStackTrace(pw);\n return sw.toString();\n }",
"public String getHtmlRepresentation() {\n\t\treturn getHtmlRepresentation(constraintSets);\n\t}",
"public String throwableToString(Throwable throwable) {\n if (throwable == null) return \"\";\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter(sw);\n throwable.printStackTrace(pw);\n String stackTrace = sw.toString();\n\n return stackTrace;\n }",
"private static String doListBuilderExceptionResponse(HttpServletRequest request, HttpServletResponse response, Paginator paginator, ListBuilderException e) {\n request.setAttribute(\"listBuilderException\", e); // save the exception\n return \"listBuilderException\"; // FormletEventHandler should check for this\n }",
"public static String buildFailure(String errorMessage) {\n\t\tStringBuilder response = new StringBuilder();\n\t\tresponse.append(\"<html>\");\n\t\tresponse.append(\"<head><title>ERROR</title></head>\");\n\t\tresponse.append(\"<body><b><font color=\\\"red\\\" size=\\\"6\\\" face=\\\"verdana\\\">\" +\n\t\t\t\terrorMessage + \"</font></b></body>\");\n\t\treturn response.toString();\n\t}",
"public String getHtml() {\n return html;\n }",
"public String getThrowInfo() {\n if (null == throwable) {\n return throwText;\n }\n // return from throwable;\n StringBuffer sb = new StringBuffer();\n StackTraceElement[] stackArray = throwable.getStackTrace();\n for (int i = 0; i < stackArray.length; ++i) {\n StackTraceElement element = stackArray[i];\n sb.append(element.toString() + \"\\n\");\n }\n return sb.toString();\n }",
"void writeFormattedException(final String message,\n final Throwable throwable,\n final Level level,\n final Writer out)\n throws IOException {\n JsonGenerator generator = new JsonFactory().createJsonGenerator(out);\n\n Throwable rootThrowable = throwable;\n while (this.passthroughExceptions.contains(rootThrowable.getClass())\n && rootThrowable.getCause() != null) {\n rootThrowable = rootThrowable.getCause();\n }\n\n generator.writeStartObject();\n generator.writeStringField(\"project\", this.project);\n generator.writeStringField(\"environment\", this.environment);\n generator.writeStringField(\"serverName\", this.serverName);\n generator.writeStringField(\"backtrace\",\n ExceptionUtils.getStackTrace(throwable));\n generator.writeStringField(\"message\", rootThrowable.getMessage());\n generator.writeStringField(\"logMessage\", message);\n generator.writeStringField(\"type\", rootThrowable.getClass().getName());\n if (level != Level.ERROR) {\n generator.writeStringField(\"errorLevel\", level.toString());\n }\n writeContext(generator);\n generator.writeEndObject();\n generator.close();\n }",
"@Test\n public void test128() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n // Undeclared exception!\n try {\n Component component0 = errorPage0.tbody();\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // Tbody component can be added only to a Table.\n //\n }\n }",
"public static String getException(Throwable throwable) {\n StringBuilder sb = new StringBuilder();\n sb.append((null == throwable.getMessage()) ? \" General Error\" : throwable.getMessage());\n if (null != throwable.getCause()) {\n sb.append('\\n');\n sb.append(\"Cause:\");\n sb.append('\\n');\n sb.append(throwable.getCause().getMessage());\n }\n\n return sb.toString();\n }",
"public String toString()\n {\n return getHtml();\n }",
"public static void showError(Throwable throwable, Context context) {\n if (throwable instanceof HttpException) {\n HttpException httpException = (HttpException) throwable;\n try {\n String errorBody = Objects.requireNonNull(httpException.response().errorBody()).string();\n if (!TextUtils.isEmpty(errorBody)) {\n int errorCode = httpException.response().code();\n Gson gson = new Gson();\n ResponseModel responseModel = gson.fromJson(errorBody, ResponseModel.class);\n if (responseModel != null) {\n List<Error> errors = responseModel.getErrors();\n Error error = errors.get(0);\n switch (errorCode) {\n case 401: //un authentication\n /* Bundle bundle = new Bundle();\n bundle.putString(SecondaryActivity.KEY_FRAGMENT_TAG, SignInFragment.class.getName());\n if (context instanceof BaseAppCompatActivity) {\n BaseAppCompatActivity activity = (BaseAppCompatActivity) context;\n activity.startActivityAsRoot(SecondaryActivity.class.getName(), bundle);\n }*/\n break;\n case 400:\n showError(context, error.getErrorMessage());\n break;\n case 500:\n showError(context, error.getErrorMessage());\n break;\n default:\n showError(context, error.getErrorMessage());\n break;\n }\n }\n } else {\n showError(context, httpException.getMessage());\n }\n } catch (IOException e) {\n e.printStackTrace();\n } catch (JsonParseException jsonParseException) {\n jsonParseException.printStackTrace();\n }\n } else {\n showError(context, throwable.getMessage());\n }\n Logger.e(throwable, context.getClass().getSimpleName());\n }",
"private void sendProcessingError(Throwable t, ServletResponse response) {\n String stackTrace = getStackTrace(t); \n \n if (stackTrace != null && !stackTrace.equals(\"\")) {\n try {\n response.setContentType(\"text/html\");\n PrintStream ps = new PrintStream(response.getOutputStream());\n PrintWriter pw = new PrintWriter(ps); \n pw.print(\"<html>\\n<head>\\n<title>Error</title>\\n</head>\\n<body>\\n\"); //NOI18N\n\n // PENDING! Localize this for next official release\n pw.print(\"<h1>We had an error converting the URL to HTTPS</h1>\\n<pre>\\n\"); \n pw.print(stackTrace); \n pw.print(\"</pre></body>\\n</html>\"); //NOI18N\n pw.close();\n ps.close();\n response.getOutputStream().close();\n } catch (Exception ex) {\n }\n } else {\n try {\n PrintStream ps = new PrintStream(response.getOutputStream());\n t.printStackTrace(ps);\n ps.close();\n response.getOutputStream().close();\n } catch (Exception ex) {\n }\n }\n }",
"@DISPID(-2147417084)\n @PropPut\n void outerHTML(\n java.lang.String rhs);",
"public String toString ()\n {\n if (exception != null) {\n return exception.toString();\n } else {\n return super.toString();\n }\n }",
"@Override\n public void showError(Throwable throwable) {\n Toasts.show(throwable.getMessage());\n }",
"protected static HttpResponseImpl createError(String message, final Throwable t) {\n final HttpResponseImpl res = new HttpResponseImpl(500, \"Internal Server Error\", \"text/html\");\n final PrintWriter body;\n try {\n body = res.getWriter();\n } catch (final IOException e) { // impossible normally\n return res;\n }\n\n body.println(\"<html>\");\n body.println(\"<body>\");\n body.println(\"<h3>Internal Server Error</h3>\");\n body.println(\"<br><br>\");\n\n if (LOGGER.isDebugEnabled()) { // this is not an error, don't log it by default\n LOGGER.error(String.valueOf(t), t);\n }\n\n if (message != null) {\n final StringTokenizer msg = new StringTokenizer(message, \"\\n\\r\");\n\n while (msg.hasMoreTokens()) {\n body.print(msg.nextToken());\n body.println(\"<br>\");\n }\n }\n\n if (t != null) {\n\n PrintWriter writer = null;\n\n try {\n body.println(\"<br><br>\");\n body.println(\"Stack Trace:<br>\");\n final ByteArrayOutputStream baos = new ByteArrayOutputStream();\n writer = new PrintWriter(baos);\n t.printStackTrace(writer);\n writer.flush();\n\n message = new String(baos.toByteArray());\n final StringTokenizer msg = new StringTokenizer(message, \"\\n\\r\");\n\n while (msg.hasMoreTokens()) {\n body.print(msg.nextToken());\n body.println(\"<br>\");\n }\n } catch (final Exception e) {\n //no-op\n } finally {\n if (writer != null) {\n writer.close();\n }\n }\n }\n\n body.println(\"</body>\");\n body.println(\"</html>\");\n\n return res;\n }",
"public String toHTML() {\n StringBuffer sb = new StringBuffer();\n sb.append(\"<tr>\");\n sb.append(\"<td>\");\n sb.append(this.name);\n sb.append(\"</td>\");\n sb.append(\"<td>\");\n sb.append(this.nextAlarm);\n sb.append(\"</td>\");\n sb.append(\"</tr>\");\n return sb.toString();\n }",
"@Override\n\tpublic String generateHTML() {\n\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\tString level = \"\\t\";\n\t\tstringBuilder.append(level.repeat(levelCount)+\"<div>\\n\");\n\t\tlevelCount++;\n\t\tfor (HTMLGenerator htmlGenerator : tags) {\n\t\t\tstringBuilder.append(level.repeat(levelCount)+htmlGenerator.generateHTML());\n\t\t}\n\t\tstringBuilder.append(\"</div>\\n\");\n\t\treturn stringBuilder.toString();\n\t}",
"public final /* synthetic */ void lambda$queryWrongNoteBookInfo$14$SegmentsPresenter(Throwable throwable) throws Exception {\n Log.e(TAG, \"queryWrongNoteBookInfo异常\", throwable);\n SubjectResponse response = null;\n if (throwable instanceof ApiException) {\n ApiException exp = (ApiException) throwable;\n response = new SubjectResponse();\n response.setStatus(exp.mErrorCode);\n response.setMsg(exp.getMessage());\n }\n if (this.mSegmentsView != null) {\n this.mSegmentsView.showWrongNoteBookInfo(response);\n }\n }",
"public String getHtml() {\n\t\tStringBuffer sb = new StringBuffer();\n\t\tfor(StringContainer sc : container) {\n\t\t\tsb.append(sc.getString());\n\t\t}\n\t\treturn \"<html><body>\"+sb.toString()+\"</body></html>\";\n\t}",
"private String formErrorBody(String Error,String Description)\r\n {\r\n String out;\r\n // Generate Error Body\r\n out =\"<HTML><HEAD><TITLE>\";\r\n out += Error ; \r\n out +=\"</TITLE></HEAD>\";\r\n out +=\"<BODY><H2>\" + Error +\"</H2>\\n\";\r\n out +=\"</P></H3>\";\r\n out += Description; \r\n out +=\"</BODY></HTML>\";\r\n return out;\r\n }",
"public RenderingException(Throwable cause) {\r\n\t\tsuper(cause);\r\n\t}",
"public HTML getHtml() {\n return new HTML(url, body);\n }",
"public static String toString(final Throwable throwable)\n\t{\n\t\tif (throwable != null)\n\t\t{\n\t\t\tArrayList<Throwable> al = new ArrayList<Throwable>();\n\t\t\tThrowable cause = throwable;\n\t\t\tal.add(cause);\n\t\t\twhile (cause.getCause() != null && cause != cause.getCause())\n\t\t\t{\n\t\t\t\tcause = cause.getCause();\n\t\t\t\tal.add(cause);\n\t\t\t}\n\n\t\t\tAppendingStringBuffer sb = new AppendingStringBuffer(256);\n\t\t\t// first print the last cause\n\t\t\tint length = al.size() - 1;\n\t\t\tcause = al.get(length);\n\t\t\tif (throwable instanceof WicketRuntimeException)\n\t\t\t{\n\t\t\t\tsb.append(\"WicketMessage: \");\n\t\t\t\tsb.append(throwable.getMessage());\n\t\t\t\tsb.append(\"\\n\\n\");\n\t\t\t}\n\t\t\tsb.append(\"Root cause:\\n\\n\");\n\t\t\toutputThrowable(cause, sb, false);\n\n\t\t\tif (length > 0)\n\t\t\t{\n\t\t\t\tsb.append(\"\\n\\nComplete stack:\\n\\n\");\n\t\t\t\tfor (int i = 0; i < length; i++)\n\t\t\t\t{\n\t\t\t\t\toutputThrowable(al.get(i), sb, true);\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn \"<Null Throwable>\";\n\t\t}\n\t}",
"public LiveData<Throwable> getThrowable() {\n return throwable;\n }",
"public String html() {\n\t\treturn HtmlFunction.html(this);\n\t}",
"public abstract void render(Cell.Context context, SimInfo data, SafeHtmlBuilder sb);",
"@Override\n\tpublic String doError() {\n\t\treturn null;\n\t}",
"public static String convertError(Throwable error) {\n StringBuilder sb = new StringBuilder();\n sb.append(\"<font color=\\\"red\\\">\");\n for (StackTraceElement element : error.getStackTrace()) {\n sb.append(element.toString());\n sb.append(\"<br>\");\n }\n sb.append(\"</font>\");\n\n return sb.toString();\n }",
"protected String generateAdvisoryHTML(SecurityAdvisory securityAdvisory) throws AdvisoryToolException {\n TypeToken<Map<String, Object>> typeToken = new TypeToken<Map<String, Object>>() {\n };\n Gson gson = new Gson();\n String htmlString;\n\n try {\n TemplateLoader loader = new ClassPathTemplateLoader();\n loader.setPrefix(Constants.SECURITY_ADVISORY_HTML_TEMPLATE_DIRECTORY);\n loader.setSuffix(\".hbs\");\n Handlebars handlebars = new Handlebars(loader);\n Template template = handlebars.compile(Constants.SECURITY_ADVISORY_HTML_TEMPLATE);\n\n String jsonString = gson.toJson(securityAdvisory);\n Map<String, Object> pdfInfoMap = gson.fromJson(jsonString, typeToken.getType());\n\n Context context = Context.newBuilder(pdfInfoMap).build();\n htmlString = template.apply(context);\n } catch (IOException e) {\n throw new AdvisoryToolException(\"Failed to generate the Security Advisory HTML.\", e);\n }\n return htmlString;\n }",
"private static String formatStackTrace(final String[] throwableStrRep) {\n\n final StringBuilder retour = new StringBuilder();\n if (throwableStrRep != null && throwableStrRep.length > 0) {\n for (String string : throwableStrRep) {\n retour.append(string).append(\"\\n\");\n }\n }\n return retour.toString();\n }",
"@Test\n\tpublic void html_test() {\n\t\tString text = \"\";\n\t\tassertEquals(\"<html></html>\", createHTML(text));\n\t}",
"@GET\r\n @Produces(\"text/html\")\r\n public String getHtml() {\r\n return \"<html><body>the solution is :</body></html> \";\r\n }",
"@Override\n\t\tpublic void setThrowable(Throwable throwable) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void onError(Throwable throwable) {\n\t\tthrowable.printStackTrace();\n\t}",
"public Element createThrowElement(IntermediateEvent event, boolean rethrowAllowed) {\n\t\tElement result = null;\n//\t\tif (!event.getTriggerType().equals(IntermediateEvent.TRIGGER_ERROR)) {\n//\t\t\treturn result;\n//\t\t}\n//\t\tif (event.getTrigger() == null) {\n//\t\t\tif (rethrowAllowed) {\n//\t\t\t\tresult = this.document.createElement(\"rethrow\");\n//\t\t\t\tBPELUtil.setStandardAttributes(result, event);\n//\t\t\t} else {\n//\t\t\t\tthis.output.addError(\"The activity must define an error code, because a rethrow is not allowed in this context.\", event.getId());\n//\t\t\t\treturn null;\n//\t\t\t}\n//\t\t} else if (event.getTrigger() instanceof ResultError) {\n//\t\t\tResultError trigger = (ResultError)event.getTrigger();\n//\t\t\tif (trigger.getErrorCode() == null || trigger.getErrorCode().equals(\"\")) {\n//\t\t\t\tif (rethrowAllowed) {\n//\t\t\t\t\tresult = this.document.createElement(\"rethrow\");\n//\t\t\t\t\tBPELUtil.setStandardAttributes(result, event);\n//\t\t\t\t} else {\n//\t\t\t\t\tthis.output.addError(\"The activity must define an error code because a rethrow is not allowed in this context.\", event.getId());\n//\t\t\t\t\treturn null;\n//\t\t\t\t}\n//\t\t\t} else {\n//\t\t\t\tresult = this.document.createElement(\"throw\");\n//\t\t\t\tBPELUtil.setStandardAttributes(result, event);\n//\t\t\t\tresult.setAttribute(\"faultName\", trigger.getErrorCode());\n//\t\t\t\tVariableDataObject faultVariable = \n//\t\t\t\t\tthis.diagram.getStandardVariable(event, false);\n//\t\t\t\tif (faultVariable != null) {\n//\t\t\t\t\tresult.setAttribute(\"faultVariable\", faultVariable.getName());\n//\t\t\t\t}\n//\t\t\t}\n//\t\t}\n\t\treturn result;\n\t}",
"public static String getHTML() {\n if (create()) {\n return tag.getInnerHTML();\n }\n return \"\";\n }",
"public interface HtmlEscaper {\n String escape(String string);\n}",
"@Override\n\tpublic void createHtml(ModelItemList list) {\n\t\t\n\t}",
"@Override\n\tpublic Html makeHtml(Map<String, String> attributes, Head headObj, Body bodyObj) {\n\t\treturn new Html( attributes, headObj, bodyObj );\n\t}",
"protected HTTPSampleResult errorResult(Throwable e, HTTPSampleResult res) {\n res.setSampleLabel(res.getSampleLabel());\n res.setDataType(SampleResult.TEXT);\n ByteArrayOutputStream text = new ByteArrayOutputStream(200);\n e.printStackTrace(new PrintStream(text));\n res.setResponseData(text.toByteArray());\n res.setResponseCode(NON_HTTP_RESPONSE_CODE+\": \" + e.getClass().getName());\n res.setResponseMessage(NON_HTTP_RESPONSE_MESSAGE+\": \" + e.getMessage());\n res.setSuccessful(false);\n res.setMonitor(this.isMonitor());\n return res;\n }",
"public String createHtml()\n {\n StringBuffer strEditor = new StringBuffer();\n\n strEditor.append(\"<div>\");\n String encodedValue = escapeXml(value.replaceAll(\"((\\r?\\n)+|\\t*)\", \"\"));\n\n if (check(request.getHeader(\"user-agent\")))\n {\n strEditor.append(createInputForVariable(instanceName, instanceName, encodedValue));\n // create config html\n String configStr = config.getUrlParams();\n if (configStr != null && configStr.length() > 0)\n {\n configStr = configStr.substring(1);\n strEditor.append(createInputForVariable(null, instanceName.concat(\"___Config\"), configStr));\n }\n\n // create IFrame\n String sLink = basePath.concat(\"/editor/fckeditor.html?InstanceName=\").concat(instanceName);\n if (toolbarSet != null && toolbarSet.length() > 0)\n {\n sLink += \"&Toolbar=\".concat(toolbarSet);\n }\n XHtmlTagTool iframeTag = new XHtmlTagTool(\"iframe\", XHtmlTagTool.SPACE);\n iframeTag.addAttribute(\"id\", instanceName.concat(\"___Frame\"));\n iframeTag.addAttribute(\"src\", sLink);\n iframeTag.addAttribute(\"width\", width);\n iframeTag.addAttribute(\"height\", height);\n iframeTag.addAttribute(\"frameborder\", \"no\");\n iframeTag.addAttribute(\"scrolling\", \"no\");\n strEditor.append(iframeTag);\n\n }\n else\n {\n XHtmlTagTool textareaTag = new XHtmlTagTool(\"textarea\", encodedValue);\n textareaTag.addAttribute(\"name\", instanceName);\n textareaTag.addAttribute(\"rows\", \"4\");\n textareaTag.addAttribute(\"cols\", \"40\");\n textareaTag.addAttribute(\"wrap\", \"virtual\");\n textareaTag.addAttribute(\"style\", \"width: \".concat(width).concat(\"; height: \").concat(height));\n }\n strEditor.append(\"</div>\");\n return strEditor.toString();\n }",
"public static String displayError(Exception e) {\r\n\t\t\r\n\t\tStringWriter sw = new StringWriter();\r\n\t\te.printStackTrace(new PrintWriter(sw));\r\n\t\tString ret_str = sw.toString();\r\n\t\t\r\n\t\treturn ret_str;\r\n\t}",
"public static final String StringToSafeHtml(final Object o) {\n\t\t\n\t\tfinal String string = Convert.Any.toString(o, null);\n\t\tif (string == null) {\n\t\t\treturn null;\n\t\t}\n\t\treturn string.replace(\"\\r\", \"\").replace(\">\\n<\", \"><\").replace(\"<br>\", \"\\n\").replace(\"<p>\", \"\\n\\n\").replace(\"</p>\", \"\").replace(\" \", \"\\n\").replace(\" \\n\", \"\\n\")\n\t\t\t\t.replace(\"\\n\\n\\n\", \"\\n\\n\").replace(\" \", \" \").replace(\"\\t\", \" \").replace(\"<\", \"<\").replace(\"\\n\\n\", \"<p>\").replace(\"\\n\", \"<br>\");\n\t}",
"protected HTTPSampleResult errorResult(Throwable e, HTTPSampleResult res) {\n res.setSampleLabel(res.getSampleLabel());\n res.setDataType(SampleResult.TEXT);\n ByteArrayOutputStream text = new ByteArrayOutputStream(200);\n e.printStackTrace(new PrintStream(text));\n res.setResponseData(text.toByteArray());\n res.setResponseCode(NON_HTTP_RESPONSE_CODE+\": \"+e.getClass().getName());\n res.setResponseMessage(NON_HTTP_RESPONSE_MESSAGE+\": \"+e.getMessage());\n res.setSuccessful(false);\n res.setMonitor(this.isMonitor());\n return res;\n }",
"public Throwable transform(Throwable throwable) {\n @SuppressWarnings(\"unchecked\")\n List<Throwable> throwableList = ExceptionUtils.getThrowableList(throwable);\n if (throwableList.size() < 1)\n return throwable;\n\n Throwable root = null;\n\n if (throwableList.size() == 1) {\n root = throwable;\n } else {\n root = ExceptionUtils.getRootCause(throwable);\n }\n\n if (root instanceof DeploymentException || root instanceof DefinitionException) {\n return root;\n }\n if (isFragmentFound(DEPLOYMENT_EXCEPTION_FRAGMENTS, root)) {\n return new DeploymentException(root);\n }\n if (isFragmentFound(DEFINITION_EXCEPTION_FRAGMENTS, root)) {\n return new DefinitionException(root);\n }\n return throwable;\n }",
"@DISPID(-2147417084)\n @PropGet\n java.lang.String outerHTML();",
"private String html(final TableFacade tableFacade, final HttpServletRequest request) {\r\n\t\ttableFacade.setColumnProperties(\"id.invPexProductosExistencia.invArtArticulo.artCodigo\",\r\n\t\t\t\t\"id.invPexProductosExistencia.invArtArticulo.artNombre\",\r\n\t\t\t\t\"eboCantidadProducto\",\"eboSaldo\",\"audFechaCreacion\");\r\n\t\tTable table = tableFacade.getTable();\r\n\t\t\r\n\t\t//---- Titulo de la tabla\r\n\t\ttable.setCaptionKey(\"tbl.abo.caption\");\r\n\t\t\r\n\t\tRow row = table.getRow();\r\n\t\tColumn nombreColumna = row.getColumn(\"id.invPexProductosExistencia.invArtArticulo.artCodigo\");\r\n\t\tnombreColumna.setTitleKey(\"tbl.abo.id.invArtArticulo.artCodigo\");\r\n\r\n\t\tnombreColumna = row.getColumn(\"id.invPexProductosExistencia.invArtArticulo.artNombre\");\r\n\t\tnombreColumna.setTitleKey(\"tbl.abo.id.invArtArticulo.artNombre\");\r\n\t\t\r\n\t\tnombreColumna = row.getColumn(\"eboCantidadProducto\");\r\n\t\tnombreColumna.setTitleKey(\"tbl.abo.eboCantidadProducto\");\r\n\t\t\r\n\t\tnombreColumna = row.getColumn(\"eboSaldo\");\r\n\t\tnombreColumna.setTitleKey(\"tbl.abo.eboSaldo\");\r\n\t\tnombreColumna.getCellRenderer().setCellEditor(new CellEditor() {\r\n\t\t\tpublic Object getValue(Object item, String property, int rowcount) {\r\n\t\t\t\tObject value = new BasicCellEditor().getValue(item, property,\r\n\t\t\t\t\t\trowcount);\r\n\t\t\t\tInvEboExistenciaBodega existenciaBodega = (InvEboExistenciaBodega) item;\r\n\t\t\t\t\r\n\t\t\t\tvalue = \"<div align=\\\"right\\\">\"+Format.formatDinero(existenciaBodega.getEboSaldo())+\"</div>\";\r\n\t\t\t\treturn value;\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tnombreColumna = row.getColumn(\"audFechaCreacion\");\r\n\t\tnombreColumna.setTitleKey(\"tbl.abo.acciones\");\r\n\t\tnombreColumna.getCellRenderer().setCellEditor(new CellEditor(){\r\n\r\n\t\t\tpublic Object getValue(Object item, String property, int rowcount) {\r\n\t\t\t\tObject value = new BasicCellEditor().getValue(item, property, rowcount);\r\n\t\t\t\tInvEboExistenciaBodega bodega = (InvEboExistenciaBodega)item;\r\n\t\t\t\t\r\n\t\t\t\tHtmlBuilder html = new HtmlBuilder();\r\n\t\t\t\tvalue = \"Movimientos\";\r\n\t\t\t\tString link = tableFacade.getWebContext().getContextPath();\r\n\t\t\t\tlink += \"/inventario/movimiento.do?accion=lista&bodega=\" + bodega.getId().getInvBodBodegas().getBodId() + \"&artCod=\" + bodega.getId().getInvPexProductosExistencia().getArtCodigo();\r\n\t\t\t\thtml.a().href().quote().append(link).quote().append(\"class=\\\"linkMovimientoBod\\\"\").title(value.toString()).close();\r\n\t\t\t\t//html.a().href(link).close();\r\n\t\t\t\t//html.append(value);\r\n\t\t\t\thtml.aEnd();\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\treturn html.toString();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\treturn tableFacade.render();\r\n\t}",
"public interface Renderable extends Serializable {\r\n\r\n /**\r\n * Render output, normally HTML markup, to the given buffer.\r\n *\r\n * @param buffer the string buffer to render output to\r\n */\r\n public void render(HtmlStringBuffer buffer);\r\n\r\n}",
"@Override\r\n public Response toResponse(ServiceException ex) {\r\n return Response.status(500).\r\n entity(ex.getMessage() + \" : Service exception\").\r\n type(\"text/plain\").\r\n build();\r\n }",
"private static String createHTMLString(Map<String,String[]> reviewsMap) {\n String htmlString = templateHTML;\n String body = \"<h2>\"+\"Reviews from Amazon\"+\"</h2>\\n\";\n body += \"<ul>\\n\";\n for (String reviewId : reviewsMap.keySet()) {\n String[] review = reviewsMap.get(reviewId);\n String rating = review[0];\n String link = review[1];\n String sentiment = review[2];\n String entity = review[3];\n body += \"<li>\\n\";\n body += \"<a href=\\\"\" + link+\"\\\"\";\n String color = colorFromSentiment(sentiment);\n body += \" style=\\\"color:\"+color+\";\\\"> \";\n body += link + \"</a>\\n\";\n body += \"<p>\" + entity +\"</p>\\n\";\n String sarcasm = getSarcasm(rating, sentiment);\n body += \"<p>\" + sarcasm +\"</p>\\n\";\n body += \"</li>\\n\";\n }\n body += \"</ul>\\n\";\n htmlString = htmlString.replace(\"$body\", body);\n return htmlString;\n }",
"public void putHTML(final String key, final byte[] value) {\n putHTML(key, value == null ? \"\" : UTF8.String(value));\n }",
"private static void outputThrowable(Throwable cause, AppendingStringBuffer sb,\n\t\t\tboolean stopAtWicketServlet)\n\t{\n\t\tsb.append(cause);\n\t\tsb.append(\"\\n\");\n\t\tStackTraceElement[] trace = cause.getStackTrace();\n\t\tfor (int i = 0; i < trace.length; i++)\n\t\t{\n\t\t\tString traceString = trace[i].toString();\n\t\t\tif (!(traceString.startsWith(\"sun.reflect.\") && i > 1))\n\t\t\t{\n\t\t\t\tsb.append(\" at \");\n\t\t\t\tsb.append(traceString);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tif (stopAtWicketServlet\n\t\t\t\t\t\t&& traceString.startsWith(\"wicket.protocol.http.WicketServlet\"))\n\t\t\t\t{\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"protected String manage(DriverException e) {\r\n // Debug\r\n Logger.getLogger(Service.class.getName()).log(Level.SEVERE, \"Driver exception !\", e);\r\n \r\n // Display\r\n String data = \"\";\r\n Throwable buff = e;\r\n do {\r\n if (buff instanceof DriverException) {\r\n DriverException de = (DriverException) buff;\r\n data += \"<error id=\\\"1\\\">\" +\r\n \"<parameter name=\\\"driver\\\">\" + de.getThrower().getDriverName() + \"</parameter>\" +\r\n \"<parameter name=\\\"message\\\">\" + de.getMessage() + \"</parameter>\" +\r\n \"</error>\";\r\n } else if (buff instanceof WorkflowException) {\r\n data += \"<error id=\\\"2\\\">\" +\r\n \"<parameter name=\\\"message\\\">\" + buff.getMessage() + \"</parameter>\" +\r\n \"</error>\"; \r\n } else {\r\n data += \"<error id=\\\"3\\\">\" +\r\n \"<parameter name=\\\"message\\\">\" + buff.getMessage() + \"</parameter>\" +\r\n \"</error>\";\r\n }\r\n buff = buff.getCause();\r\n } while (buff != null);\r\n \r\n return data;\r\n }",
"@Override\r\n\tpublic DTextArea setHtmlOnError(final String script) {\r\n\t\tsuper.setHtmlOnError(script) ;\r\n\t\treturn this ;\r\n\t}",
"@Override\n protected IRStatement compile_impl()\n {\n\n IRExpression exceptionValue = ExpressionTransformer.compile( _stmt().getExpression(), _cc() );\n if (JavaTypes.THROWABLE().isAssignableFrom( _stmt().getExpression().getType() ) ) {\n // It's definitely a Throwable: if it's a synthetic type like a SOAP exception type, the verifier\n // might not actually know it's a throwable, though\n if ( !getDescriptor(Throwable.class).isAssignableFrom(exceptionValue.getType())) {\n // If the IR type of the value isn't assignable to Throwable, then wrap it in a cast, since we know it will work\n // out at runtime (unless someone constructed a totally invalid type loader, in which case . . . what can you do?)\n exceptionValue = buildCast( getDescriptor(Throwable.class), exceptionValue );\n }\n return buildThrow( exceptionValue );\n } else {\n IRSymbol temp = _cc().makeAndIndexTempSymbol( getDescriptor( _stmt().getExpression().getType() ) );\n IRStatement tempAssignment = buildAssignment( temp, exceptionValue );\n\n IRExpression test = new IRInstanceOfExpression( identifier( temp ), getDescriptor( Throwable.class ) );\n IRStatement trueCase = buildThrow( checkCast( Throwable.class, identifier( temp ) ) );\n IRStatement falseCase = buildThrow( buildNewExpression( EvaluationException.class, new Class[]{String.class},\n exprList( checkCast( String.class, identifier( temp ) ) ) ) );\n IRStatement ifStatement = buildIfElse( test, trueCase, falseCase);\n\n return new IRStatementList( false, tempAssignment, ifStatement);\n }\n }",
"@Override\n public void onFailure(final Throwable throwable) {\n transformed.setException(throwable);\n }",
"public void testToString() {\n Throwable th = new Throwable(\"aaa\");\n assertEquals(\"incorrect String representation\", \n \"java.lang.Throwable: aaa\", th.toString());\n }",
"public String getHtmlString() {\r\n\t\tString getHtmlString = \"\";\r\n\t\tgetHtmlString += \"<h1>\" + this.title + \"</h1>\";\r\n\t\tfor (int i = 0; i < portfolioSize; i++) {\r\n\t\t\tgetHtmlString += stockStatus[i].getHtmlDescription();\r\n\t\t}\r\n\t\tgetHtmlString += \"<br>Total portfolio value: \"\r\n\t\t\t\t+ getStocksValue(stockStatus) + \"$, Total Stocks value: \"\r\n\t\t\t\t+ getTotalValue(stockStatus) + \"$, Balnce :\" + getBalance()\r\n\t\t\t\t+ \"$ </br>\";\r\n\t\treturn getHtmlString;\r\n\t}",
"protected String doErrorMessage(Exception e){\n\t\treturn \"{ \\\"ERROR\\\": \\\"\"+ e.getMessage() + \"\\\"}\" ;\n\t}",
"@Test\n public void testGetContent_2() {\n System.out.println(\"getContent\");\n MockServletResponse instance = new MockServletResponse();\n\n try (HtmlElement html = HtmlElement.niceOf(instance)) {\n html.getBody().addHeading(\"ABC:ČÁŠ\", \"cssType\");\n }\n String result = instance.toString();\n String expected = String.join(\"\\n\"\n , \"<!DOCTYPE html>\"\n , \"<html lang=\\\"en\\\">\"\n , \"\\t<head>\"\n , \"\\t\\t<meta charset=\\\"UTF-8\\\"/>\"\n , \"\\t\\t<title>Demo</title>\"\n , \"\\t</head>\"\n , \"\\t<body>\"\n , \"\\t\\t<h1 class=\\\"cssType\\\">ABC:ČÁŠ</h1>\"\n , \"\\t</body>\"\n , \"</html>\");\n assertEquals(expected, result);\n\n }",
"String buildUserMessage(Throwable t);",
"private String renderStatusHtml() {\n\t\tString ret = \"\";\n\t\tif (model.getLastErrorTs()!= null) {\n\t\t\tret += String.format(template1, \n\t\t\t\t\tmodel.getLastErrorTs(), model.getLastErrorMessage());\n\t\t}\n\t\tif (model.getLastCheckTs()!= null) {\n\t\t\tret += String.format(template2,\n\t\t\t\t\tmodel.getLastCheckTs(), model.getLastCheckMessage());\n\t\t}\n\t\tif (model.getLastDownloadTs()!= null) {\n\t\t\tret += String.format(template3,\n\t\t\t\t\tmodel.getLastDownloadTs(), model.getLastDownloadMessage());\n\t\t}\n\t\tif (ret.length() == 0) {\n\t\t\tret = \"<br/><em>There are no updates to report yet</em><br>\";\n\t\t}\n\t\treturn ret;\n\t}",
"private HtmlExporter createHtmlTemplate( final HtmlExporter aExporter )\n {\n aExporter.addCssStyle( \"body { font-family: sans-serif; } \" );\n aExporter.addCssStyle( \"table { border-width: 1px; border-spacing: 0px; border-color: gray;\"\n + \" border-collapse: collapse; border-style: solid; margin-bottom: 15px; } \" );\n aExporter.addCssStyle( \"table th { border-width: 1px; padding: 2px; border-style: solid; border-color: gray;\"\n + \" background-color: #E0E0FF; text-align: center; font-weight: bold; font-family: sans-serif; } \" );\n aExporter.addCssStyle( \"table td { border-width: 1px; padding: 2px; border-style: solid; border-color: gray;\"\n + \" font-family: monospace; } \" );\n aExporter.addCssStyle( \".date { text-align: right; font-size: x-small; margin-bottom: 15px; } \" );\n aExporter.addCssStyle( \".w100 { width: 100%; } \" );\n aExporter.addCssStyle( \".w30 { width: 30%; } \" );\n aExporter.addCssStyle( \".w20 { width: 20%; } \" );\n aExporter.addCssStyle( \".w15 { width: 15%; } \" );\n aExporter.addCssStyle( \".w10 { width: 10%; } \" );\n\n final Element body = aExporter.getBody();\n body.addChild( H1 ).addContent( \"Asm45 Analysis results\" );\n body.addChild( HR );\n body.addChild( DIV ).addAttribute( \"class\", \"date\" ).addContent( \"{date-now}\" );\n\n Element table, tr, thead, tbody;\n\n table = body.addChild( TABLE ).addAttribute( \"class\", \"w100\" );\n tbody = table.addChild( TBODY );\n tr = tbody.addChild( TR );\n tr.addChild( TH ).addAttribute( \"colspan\", \"2\" ).addContent( \"Bus configuration\" );\n tr = tbody.addChild( TR );\n tr.addChild( TD ).addAttribute( \"class\", \"w30\" ).addContent( \"IDA0/..IDA15/\" );\n tr.addChild( TD ).addContent( \"0..15\" );\n tr = tbody.addChild( TR );\n tr.addChild( TD ).addAttribute( \"class\", \"w30\" ).addContent( \"BSC0/..BSC5/\" );\n tr.addChild( TD ).addContent( \"16..21\" );\n tr = tbody.addChild( TR );\n tr.addChild( TD ).addAttribute( \"class\", \"w30\" ).addContent( \"SMC/\" );\n tr.addChild( TD ).addContent( \"{smc-bus-config}\" );\n tr = tbody.addChild( TR );\n tr.addChild( TD ).addAttribute( \"class\", \"w30\" ).addContent( \"STM/\" );\n tr.addChild( TD ).addContent( \"{stm-bus-config}\" );\n tr = tbody.addChild( TR );\n tr.addChild( TD ).addAttribute( \"class\", \"w30\" ).addContent( \"EBG\" );\n tr.addChild( TD ).addContent( \"{ebg-bus-config}\" );\n tr = tbody.addChild( TR );\n tr.addChild( TD ).addAttribute( \"class\", \"w30\" ).addContent( \"BYTE\" );\n tr.addChild( TD ).addContent( \"{byte-bus-config}\" );\n tr = tbody.addChild( TR );\n tr.addChild( TD ).addAttribute( \"class\", \"w30\" ).addContent( \"BL\" );\n tr.addChild( TD ).addContent( \"{bl-bus-config}\" );\n tr = tbody.addChild( TR );\n tr.addChild( TD ).addAttribute( \"class\", \"w30\" ).addContent( \"WRT/\" );\n tr.addChild( TD ).addContent( \"{wrt-bus-config}\" );\n tr = tbody.addChild( TR );\n tr.addChild( TD ).addAttribute( \"class\", \"w30\" ).addContent( \"SYNC\" );\n tr.addChild( TD ).addContent( \"{sync-bus-config}\" );\n\n tbody = table.addChild( TBODY );\n tr = tbody.addChild( TR );\n tr.addChild( TH ).addAttribute( \"colspan\", \"2\" ).addContent( \"Statistics\" );\n tr = tbody.addChild( TR );\n tr.addChild( TD ).addAttribute( \"class\", \"w30\" ).addContent( \"Decoded words\" );\n tr.addChild( TD ).addContent( \"{decoded-words}\" );\n\n table = body.addChild( TABLE ).addAttribute( \"class\", \"w100\" );\n thead = table.addChild( THEAD );\n tr = thead.addChild( TR );\n tr.addChild( TH ).addAttribute( \"class\", \"w10\" ).addContent( \"Index\" );\n tr.addChild( TH ).addAttribute( \"class\", \"w10\" ).addContent( \"Clocks\" );\n tr.addChild( TH ).addAttribute( \"class\", \"w10\" ).addContent( \"Block\" );\n tr.addChild( TH ).addAttribute( \"class\", \"w10\" ).addContent( \"Address\" );\n tr.addChild( TH ).addAttribute( \"class\", \"w10\" ).addContent( \"Value\" );\n tr.addChild( TH ).addAttribute( \"class\", \"w10\" ).addContent( \"Bus Grant\" );\n tr.addChild( TH ).addAttribute( \"class\", \"w10\" ).addContent( \"Type\" );\n tr.addChild( TH ).addAttribute( \"class\", \"w30\" ).addContent( \"Event\" );\n tbody = table.addChild( TBODY );\n tbody.addContent( \"{decoded-data}\" );\n\n return aExporter;\n }",
"@Override\n public Response toResponse(Exception e) {\n\n\n ResponseEntity<Exception> re = new ResponseEntity<>(e, HttpStatus.INTERNAL_SERVER_ERROR);\n logger.error(\"errorResponse\", e); // logging stack trace.\n\n return this.errorResponse(HttpStatus.INTERNAL_SERVER_ERROR.value(), re, e);\n }",
"public PublishException(Throwable throwable) {\n\t\tsuper(throwable);\n\t}",
"@Test\n public void test060() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Table table0 = new Table(errorPage0, (String) null);\n ElExpression elExpression0 = table0.el((String) null);\n Label label0 = (Label)table0.h3((Object) elExpression0);\n }",
"public abstract void showErrorBox(Throwable error);",
"static String handleStackTrace(Throwable ex){\n // add the stack trace message\n StringBuilder builder = new StringBuilder(SPACE);\n builder.append(ex.getMessage());\n builder.append(NEWLINE);\n\n // add each line of the stack trace.\n for (StackTraceElement element : ex.getStackTrace()){\n builder.append(SPACE);\n builder.append(element.toString());\n builder.append(NEWLINE);\n }\n return builder.toString();\n }",
"public Component handleException(Component component, Exception exception, boolean onRender)\r\n {\r\n SnippetComponent result = new SnippetComponent(null);\r\n StringWriter writer = new StringWriter();\r\n writer.write(\"An error occurred\\n\");\r\n exception.printStackTrace(new PrintWriter(writer));\r\n result.snippet = writer.toString();\r\n return result;\r\n }",
"private String getExpectedHTMLTextOutput(OutputFormat format) throws InvalidDDMSException {\r\n\t\tUtil.requireHTMLText(format);\r\n\t\tStringBuffer text = new StringBuffer();\r\n\t\ttext.append(buildHTMLTextOutput(format, \"verticalExtent.unitOfMeasure\", String.valueOf(TEST_UOM)));\r\n\t\ttext.append(buildHTMLTextOutput(format, \"verticalExtent.datum\", String.valueOf(TEST_DATUM)));\r\n\t\ttext.append(buildHTMLTextOutput(format, \"verticalExtent.minimum\", String.valueOf(TEST_MIN)));\r\n\t\ttext.append(buildHTMLTextOutput(format, \"verticalExtent.maximum\", String.valueOf(TEST_MAX)));\r\n\t\treturn (text.toString());\r\n\t}",
"private ContainerTag generateTableRow(HtmlData rowData) {\n ContainerTag row = tr();\n for (String entry : rowData.getFields()) {\n row.with(td(entry));\n }\n return row;\n }",
"public static String getStackTrace(final Throwable throwable) {\n final StringWriter sw = new StringWriter();\n final PrintWriter pw = new PrintWriter(sw, true);\n throwable.printStackTrace(pw);\n return sw.getBuffer().toString();\n }",
"public static String getStackTrace(final Throwable throwable) {\n final StringWriter sw = new StringWriter();\n final PrintWriter pw = new PrintWriter(sw, true);\n throwable.printStackTrace(pw);\n return sw.getBuffer().toString();\n }",
"private String getHtmlRepresentation(List<ColumnConstraintSet<R, ?>> filters) {\n\t\tStringBuilder buf = new StringBuilder();\n\t\tbuf.append(\"<table valign=top cellspacing=5 cellpadding=0>\");\n\t\tbuf.append(\"<tr>\");\n\t\t// The first row has an empty first column\n\t\t// so that additional rows can display an \"AND\"\n\t\tbuf.append(\"<td></td><td>\");\n\t\tbuf.append(filters.get(0).getHtmlRepresentation());\n\t\tbuf.append(\"</td></tr>\");\n\t\tGColor gray = Palette.GRAY;\n\t\tString grayHex = gray.toHexString();\n\t\tfor (int i = 1; i < filters.size(); i++) {\n\t\t\tbuf.append(\"<tr><td style=\\\"color:\").append(grayHex).append(\"\\\"> \");\n\t\t\tbuf.append(filters.get(i).getLogicOperation());\n\t\t\tbuf.append(\" </td><td>\");\n\t\t\tbuf.append(filters.get(i).getHtmlRepresentation());\n\t\t\tbuf.append(\"</td></tr>\");\n\t\t}\n\t\tbuf.append(\"</table>\");\n\t\tbuf.append(\"</html>\");\n\n\t\treturn buf.toString();\n\t}",
"private SafeHtml getDataTypeColumnToolTip(String columnText, StringBuilder title, boolean hasImage) {\n\t\tif (hasImage) {\n\t\t\tString htmlConstant = \"<html>\"\n\t\t\t\t\t+ \"<head> </head> <Body><img src =\\\"images/error.png\\\" alt=\\\"Arugment Name is InValid.\\\"\"\n\t\t\t\t\t+ \"title = \\\"Arugment Name is InValid.\\\"/>\" + \"<span tabIndex = \\\"0\\\" title='\" + title + \"'>\"\n\t\t\t\t\t+ columnText + \"</span></body>\" + \"</html>\";\n\t\t\treturn new SafeHtmlBuilder().appendHtmlConstant(htmlConstant).toSafeHtml();\n\t\t} else {\n\t\t\tString htmlConstant = \"<html>\" + \"<head> </head> <Body><span tabIndex = \\\"0\\\" title='\" + title + \"'>\"\n\t\t\t\t\t+ columnText + \"</span></body>\" + \"</html>\";\n\t\t\treturn new SafeHtmlBuilder().appendHtmlConstant(htmlConstant).toSafeHtml();\n\t\t}\n\t}",
"public DatumException(String boodschap, int throwable){\n super(boodschap);\n this.throwable = throwable;\n }",
"public static String getStackTrace(Throwable throwable)\n {\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter( sw, true );\n throwable.printStackTrace( pw );\n return sw.getBuffer().toString();\n }"
]
| [
"0.5838296",
"0.57824105",
"0.5695664",
"0.5463029",
"0.5386494",
"0.5361801",
"0.53563213",
"0.5321104",
"0.52983963",
"0.523672",
"0.521912",
"0.5191349",
"0.5173647",
"0.5160959",
"0.5155068",
"0.51471555",
"0.5133961",
"0.51159686",
"0.509706",
"0.50955766",
"0.50862545",
"0.5078615",
"0.50738484",
"0.50598884",
"0.5016565",
"0.5010012",
"0.49964842",
"0.4994453",
"0.4976835",
"0.49737254",
"0.49686322",
"0.49359727",
"0.49337456",
"0.49205297",
"0.49097946",
"0.49078697",
"0.49039856",
"0.49021116",
"0.4894964",
"0.48893413",
"0.48841888",
"0.48631003",
"0.48616183",
"0.4859184",
"0.48483118",
"0.4843398",
"0.48127237",
"0.4808729",
"0.4793046",
"0.47775656",
"0.47582388",
"0.47520643",
"0.47445032",
"0.4742698",
"0.4736066",
"0.47357154",
"0.47332335",
"0.4731471",
"0.47308394",
"0.47261548",
"0.47260442",
"0.47146386",
"0.47072726",
"0.47019178",
"0.46898562",
"0.4688861",
"0.46857268",
"0.46826693",
"0.46721977",
"0.46693638",
"0.46510807",
"0.464943",
"0.4636816",
"0.46357277",
"0.463014",
"0.46218142",
"0.4610929",
"0.45991555",
"0.45859486",
"0.4584609",
"0.45608503",
"0.45551828",
"0.45483425",
"0.45466426",
"0.4545678",
"0.4543544",
"0.45382428",
"0.4532657",
"0.4527082",
"0.45249575",
"0.45166105",
"0.45138568",
"0.44993973",
"0.44951108",
"0.448598",
"0.448598",
"0.44762528",
"0.44754264",
"0.44742596",
"0.44707328"
]
| 0.60091394 | 0 |
Helper method for creating an item of a definition list. | protected String createDescription(String term, String definition) {
return String.format("<dt>%s</dt><dd>%s</dd>%n", term, definition);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"ListItem createListItem();",
"String createListItem(String list, int accountId);",
"@Override\n public void definitionListItem_()\n {\n }",
"Definition createDefinition();",
"protected abstract void makeItem();",
"public static ItemDefinition itemDef(int i, ItemDefinition itemDef) {\n void var1_1;\n int n;\n switch (itemDef.id) {\n case 19892: {\n itemDef.name = \"Immortal Charm\";\n break;\n }\n case 1654: {\n itemDef.name = \"Necklace of Lightning\";\n itemDef.description = \"A necklace used to deflect some lightning damage.\";\n break;\n }\n case 1655: {\n itemDef.name = \"Necklace of Lightning\";\n itemDef.description = \"A necklace used to deflect some lightning damage.\";\n break;\n }\n case 1609: {\n itemDef.name = \"Stone of Lightning\";\n itemDef.description = \"A stone used to create the Necklace of Lightning.\";\n itemDef.originalModelColors[0] = ItemDef_8.RGB_to_RS2HSB(52, 145, 130);\n itemDef.originalModelColors[1] = ItemDef_8.RGB_to_RS2HSB(52, 145, 130);\n itemDef.originalModelColors[2] = ItemDef_8.RGB_to_RS2HSB(52, 145, 130);\n itemDef.originalModelColors[3] = ItemDef_8.RGB_to_RS2HSB(52, 145, 130);\n break;\n }\n case 746: {\n itemDef.name = \"Sword of Zeus\";\n itemDef.description = \"The famous sword of the God of Lightning Zeus.\";\n itemDef.modelZoom = 2500;\n itemDef.modelRotation1 = 292;\n itemDef.modelRotation2 = 1899;\n break;\n }\n case 747: {\n itemDef.name = \"Sword of Zeus\";\n itemDef.description = \"The famous sword of the God of Lightning Zeus.\";\n itemDef.modelZoom = 2500;\n itemDef.modelRotation1 = 292;\n itemDef.modelRotation2 = 1899;\n itemDef.certTemplateID = 799;\n itemDef.certID = 746;\n itemDef.toNote();\n break;\n }\n case 936: {\n itemDef.name = \"Staff of Zeus\";\n itemDef.description = \"A powerful staff of the God of Lightning.\";\n itemDef.modelOffset1 = -3;\n itemDef.modelOffset2 = 2;\n itemDef.modelZoom = 1874;\n itemDef.modelRotation1 = 292;\n itemDef.modelRotation2 = 1499;\n itemDef.groundModelId = 3;\n itemDef.maleEquipt = 4;\n itemDef.femaleEquipt = 4;\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n itemDef.stackable = false;\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 937: {\n itemDef.name = \"Staff of Zeus\";\n itemDef.description = \"A powerful staff of the God of Lightning.\";\n itemDef.modelOffset1 = -3;\n itemDef.modelOffset2 = 2;\n itemDef.modelZoom = 1874;\n itemDef.modelRotation1 = 292;\n itemDef.modelRotation2 = 1499;\n itemDef.certTemplateID = 540;\n itemDef.certID = 936;\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n break;\n }\n case 538: {\n itemDef.name = \"Zeus robe bottom\";\n itemDef.maleEquipt = 428;\n itemDef.femaleEquipt = 428;\n break;\n }\n case 539: {\n itemDef.name = \"Zeus robe bottom\";\n itemDef.maleEquipt = 428;\n itemDef.femaleEquipt = 428;\n break;\n }\n case 540: {\n itemDef.copy(799);\n itemDef.groundModelId = 9;\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n break;\n }\n case 14114: {\n itemDef.name = \"Zeus robe top\";\n itemDef.femaleEquipt = 8;\n itemDef.maleEquipt = 8;\n itemDef.groundModelId = 7;\n itemDef.modelZoom = 1150;\n itemDef.anInt188 = 10;\n itemDef.itemActions = new String[]{null, \"Wear\", null, null, \"Drop\"};\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n break;\n }\n case 14115: {\n itemDef.name = \"Zeus robe top\";\n itemDef.maleEquipt = 8;\n itemDef.femaleEquipt = 8;\n itemDef.groundModelId = 7;\n itemDef.modelZoom = 1150;\n itemDef.anInt188 = 10;\n itemDef.certID = 14114;\n itemDef.certTemplateID = 540;\n itemDef.itemActions = new String[]{null, null, null, null, \"Drop\"};\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n break;\n }\n case 626: {\n itemDef.name = \"Zeus boots\";\n itemDef.maleEquipt = 1;\n itemDef.femaleEquipt = 1;\n itemDef.groundModelId = 2;\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n break;\n }\n case 627: {\n itemDef.name = \"Zeus boots\";\n itemDef.certID = 626;\n itemDef.certTemplateID = 540;\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n break;\n }\n case 628: {\n itemDef.name = \"Zeus wings\";\n itemDef.maleEquipt = 14;\n itemDef.femaleEquipt = 14;\n itemDef.groundModelId = 13;\n itemDef.modelOffset1 = -60;\n itemDef.modelOffset2 = 0;\n itemDef.modelZoom = 1900;\n itemDef.modelRotation1 = 445;\n itemDef.modelRotation2 = 487;\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n break;\n }\n case 629: {\n itemDef.name = \"Zeus wings\";\n itemDef.groundModelId = 185;\n break;\n }\n case 74: {\n itemDef.name = \"Zeus helmet\";\n itemDef.maleEquipt = 40436;\n itemDef.femaleEquipt = 40436;\n itemDef.modelRotation1 = 1500;\n itemDef.modelRotation2 = 600;\n itemDef.modelOffset1 = 1;\n itemDef.modelOffset2 = 0;\n itemDef.modelZoom = 724;\n break;\n }\n case 75: {\n itemDef.name = \"Zeus helmet\";\n itemDef.maleEquipt = 40436;\n itemDef.femaleEquipt = 40436;\n itemDef.groundModelId = 40637;\n itemDef.certID = 74;\n itemDef.certTemplateID = 799;\n itemDef.toNote();\n break;\n }\n case 2902: {\n itemDef.name = \"Zeus gloves\";\n itemDef.groundModelId = 5;\n itemDef.maleEquipt = 6;\n itemDef.femaleEquipt = 6;\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n break;\n }\n case 2903: {\n itemDef.name = \"Zeus gloves\";\n itemDef.groundModelId = 5;\n itemDef.maleEquipt = 6;\n itemDef.femaleEquipt = 6;\n itemDef.certID = 2902;\n itemDef.certTemplateID = 9;\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n break;\n }\n case 19879: {\n itemDef.name = \"Immortal Band\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 22044: {\n itemDef.groundModelId = 46409;\n itemDef.modelZoom = 2750;\n itemDef.modelRotation1 = 512;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 3;\n itemDef.modelOffset1 = 1;\n itemDef.name = \"$5 Bond\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Claim Credits\";\n itemDef.stackable = false;\n break;\n }\n case 22046: {\n itemDef.groundModelId = 46409;\n itemDef.modelZoom = 2700;\n itemDef.modelRotation1 = 512;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 3;\n itemDef.modelOffset1 = 1;\n itemDef.name = \"$10 Bond\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Claim Credits\";\n break;\n }\n case 22048: {\n itemDef.groundModelId = 46409;\n itemDef.modelZoom = 2650;\n itemDef.modelRotation1 = 512;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 3;\n itemDef.modelOffset1 = 1;\n itemDef.name = \"$25 Bond\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Claim Credits\";\n break;\n }\n case 22050: {\n itemDef.groundModelId = 46409;\n itemDef.modelZoom = 2600;\n itemDef.modelRotation1 = 512;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 3;\n itemDef.modelOffset1 = 1;\n itemDef.name = \"$50 Bond\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Claim Credits\";\n break;\n }\n case 22052: {\n itemDef.groundModelId = 46409;\n itemDef.modelZoom = 2550;\n itemDef.modelRotation1 = 512;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 3;\n itemDef.modelOffset1 = 1;\n itemDef.name = \"$100 Bond\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Claim Credits\";\n break;\n }\n case 22054: {\n itemDef.groundModelId = 46409;\n itemDef.modelZoom = 2500;\n itemDef.modelRotation1 = 512;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 3;\n itemDef.modelOffset1 = 1;\n itemDef.name = \"$150 Bond\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Claim Credits\";\n break;\n }\n case 22056: {\n itemDef.groundModelId = 46409;\n itemDef.modelZoom = 2450;\n itemDef.modelRotation1 = 512;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 3;\n itemDef.modelOffset1 = 1;\n itemDef.name = \"$250 Bond\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Claim Credits\";\n break;\n }\n case 22058: {\n itemDef.groundModelId = 46409;\n itemDef.modelZoom = 2400;\n itemDef.modelRotation1 = 512;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 3;\n itemDef.modelOffset1 = 1;\n itemDef.name = \"$500 Bond\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Claim Credits\";\n break;\n }\n case 22060: {\n itemDef.groundModelId = 46409;\n itemDef.modelZoom = 2350;\n itemDef.modelRotation1 = 512;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 3;\n itemDef.modelOffset1 = 1;\n itemDef.name = \"$1000 Bond\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Claim Credits\";\n break;\n }\n case 21183: {\n itemDef.groundModelId = 71001;\n itemDef.maleEquipt = 71002;\n itemDef.femaleEquipt = 71003;\n itemDef.modelZoom = 825;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -8;\n itemDef.modelRotation1 = 380;\n itemDef.modelRotation2 = 0;\n itemDef.name = \"Skeletal Full Helm\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21185: {\n itemDef.groundModelId = 71004;\n itemDef.maleEquipt = 71005;\n itemDef.femaleEquipt = 71006;\n itemDef.modelZoom = 1450;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 12;\n itemDef.modelRotation1 = 425;\n itemDef.modelRotation2 = 0;\n itemDef.name = \"Skeletal Platebody\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21187: {\n itemDef.groundModelId = 71007;\n itemDef.maleEquipt = 71008;\n itemDef.femaleEquipt = 71009;\n itemDef.modelZoom = 1660;\n itemDef.modelOffset1 = -5;\n itemDef.modelOffset2 = -3;\n itemDef.modelRotation1 = 515;\n itemDef.modelRotation2 = 0;\n itemDef.name = \"Skeletal Platelegs\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 19626: {\n itemDef.name = \"Memory Scroll\";\n itemDef.modelZoom = 3170;\n itemDef.modelOffset1 = 6;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 395;\n itemDef.modelRotation2 = 47;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Read\";\n break;\n }\n case 22000: {\n itemDef.groundModelId = 46377;\n itemDef.modelZoom = 625;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 1050;\n itemDef.modelRotation2 = 60;\n itemDef.name = \"Jawbreaker\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Break\";\n itemDef.stackable = true;\n break;\n }\n case 22002: {\n itemDef.groundModelId = 46378;\n itemDef.modelZoom = 1640;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 160;\n itemDef.modelRotation2 = 0;\n itemDef.name = \"Empty Basket\";\n itemDef.itemActions = new String[5];\n itemDef.stackable = true;\n break;\n }\n case 22004: {\n itemDef.groundModelId = 46379;\n itemDef.maleEquipt = 46380;\n itemDef.femaleEquipt = 46380;\n itemDef.modelZoom = 916;\n itemDef.modelOffset1 = 3;\n itemDef.modelOffset2 = 1;\n itemDef.modelRotation1 = 428;\n itemDef.modelRotation2 = 0;\n itemDef.name = \"Pumpkin Head\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 22006: {\n itemDef.groundModelId = 46381;\n itemDef.modelZoom = 880;\n itemDef.modelOffset1 = 2;\n itemDef.modelOffset2 = 1;\n itemDef.modelRotation1 = 440;\n itemDef.modelRotation2 = 0;\n itemDef.name = \"Halloween Candy\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Eat\";\n itemDef.stackable = true;\n break;\n }\n case 22008: {\n itemDef.groundModelId = 46382;\n itemDef.modelZoom = 1388;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -3;\n itemDef.modelRotation1 = 521;\n itemDef.modelRotation2 = 50;\n itemDef.name = \"Halloween Candy\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Eat\";\n itemDef.stackable = true;\n break;\n }\n case 22010: {\n itemDef.groundModelId = 46383;\n itemDef.modelZoom = 861;\n itemDef.modelOffset1 = 3;\n itemDef.modelOffset2 = 18;\n itemDef.modelRotation1 = 323;\n itemDef.modelRotation2 = 0;\n itemDef.name = \"Halloween Candy\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Eat\";\n itemDef.stackable = true;\n break;\n }\n case 22012: {\n itemDef.groundModelId = 46384;\n itemDef.modelZoom = 1195;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 450;\n itemDef.modelRotation2 = 0;\n itemDef.name = \"Halloween Candy\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Eat\";\n itemDef.stackable = true;\n break;\n }\n case 22014: {\n itemDef.groundModelId = 46385;\n itemDef.modelZoom = 1481;\n itemDef.modelOffset1 = 3;\n itemDef.modelOffset2 = -12;\n itemDef.modelRotation1 = 408;\n itemDef.modelRotation2 = 0;\n itemDef.name = \"Halloween Candy\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Eat\";\n itemDef.stackable = true;\n break;\n }\n case 22016: {\n itemDef.groundModelId = 46386;\n itemDef.modelZoom = 1195;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 525;\n itemDef.modelRotation2 = 5;\n itemDef.name = \"Halloween Candy\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Eat\";\n itemDef.stackable = true;\n break;\n }\n case 22018: {\n itemDef.groundModelId = 46387;\n itemDef.modelZoom = 1030;\n itemDef.modelOffset1 = -4;\n itemDef.modelOffset2 = 4;\n itemDef.modelRotation1 = 595;\n itemDef.modelRotation2 = 125;\n itemDef.name = \"Voucher of Good Taste\";\n itemDef.itemActions = new String[5];\n itemDef.stackable = true;\n break;\n }\n case 22020: {\n itemDef.groundModelId = 46388;\n itemDef.modelZoom = 1174;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 7;\n itemDef.modelRotation1 = 401;\n itemDef.modelRotation2 = 0;\n itemDef.name = \"Voucher of Bad Taste\";\n itemDef.itemActions = new String[5];\n itemDef.stackable = true;\n break;\n }\n case 22022: {\n itemDef.groundModelId = 46389;\n itemDef.modelZoom = 1950;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 390;\n itemDef.modelRotation2 = 0;\n itemDef.name = \"Party Invitation\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Read\";\n itemDef.stackable = false;\n break;\n }\n case 22024: {\n itemDef.groundModelId = 46390;\n itemDef.modelZoom = 1470;\n itemDef.modelOffset1 = -2;\n itemDef.modelOffset2 = 63;\n itemDef.modelRotation1 = 268;\n itemDef.modelRotation2 = 1964;\n itemDef.name = \"Pumpkin\";\n itemDef.itemActions = new String[5];\n itemDef.stackable = true;\n break;\n }\n case 22026: {\n itemDef.groundModelId = 46391;\n itemDef.modelZoom = 1140;\n itemDef.modelOffset1 = 3;\n itemDef.modelOffset2 = 4;\n itemDef.modelRotation1 = 336;\n itemDef.modelRotation2 = 131;\n itemDef.name = \"Halloween Token Box\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Open\";\n itemDef.stackable = false;\n break;\n }\n case 22028: {\n itemDef.groundModelId = 46392;\n itemDef.modelZoom = 730;\n itemDef.modelOffset1 = 3;\n itemDef.modelOffset2 = 2;\n itemDef.modelRotation1 = 358;\n itemDef.modelRotation2 = 1949;\n itemDef.name = \"Halloween Token\";\n itemDef.itemActions = new String[5];\n itemDef.stackable = true;\n break;\n }\n case 22030: {\n itemDef.groundModelId = 46393;\n itemDef.modelZoom = 1390;\n itemDef.modelOffset1 = 4;\n itemDef.modelOffset2 = -10;\n itemDef.modelRotation1 = 191;\n itemDef.modelRotation2 = 76;\n itemDef.name = \"Basket of Candies\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[0] = \"Check\";\n itemDef.stackable = false;\n break;\n }\n case 22032: {\n itemDef.groundModelId = 46394;\n itemDef.maleEquipt = 46395;\n itemDef.femaleEquipt = 46395;\n itemDef.modelZoom = 755;\n itemDef.modelOffset1 = 8;\n itemDef.modelOffset2 = 11;\n itemDef.modelRotation1 = 426;\n itemDef.modelRotation2 = 196;\n itemDef.name = \"Ghost Mask\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 22034: {\n itemDef.groundModelId = 46396;\n itemDef.maleEquipt = 46397;\n itemDef.femaleEquipt = 46397;\n itemDef.modelZoom = 580;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 7;\n itemDef.modelRotation1 = 331;\n itemDef.modelRotation2 = 226;\n itemDef.name = \"Jason Mask\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 22036: {\n itemDef.groundModelId = 46398;\n itemDef.maleEquipt = 46399;\n itemDef.femaleEquipt = 46399;\n itemDef.modelZoom = 700;\n itemDef.modelOffset1 = 2;\n itemDef.modelOffset2 = 6;\n itemDef.modelRotation1 = 396;\n itemDef.modelRotation2 = 160;\n itemDef.name = \"Scream Mask\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 22038: {\n itemDef.groundModelId = 46400;\n itemDef.maleEquipt = 46401;\n itemDef.femaleEquipt = 46401;\n itemDef.modelZoom = 975;\n itemDef.modelOffset1 = 9;\n itemDef.modelOffset2 = 7;\n itemDef.modelRotation1 = 388;\n itemDef.modelRotation2 = 193;\n itemDef.name = \"Halloween Wizard Hat (R)\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 22040: {\n itemDef.groundModelId = 46402;\n itemDef.maleEquipt = 46403;\n itemDef.femaleEquipt = 46403;\n itemDef.modelZoom = 915;\n itemDef.modelOffset1 = 7;\n itemDef.modelOffset2 = 6;\n itemDef.modelRotation1 = 433;\n itemDef.modelRotation2 = 124;\n itemDef.name = \"Halloween Wizard Hat (G)\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 22042: {\n itemDef.groundModelId = 46404;\n itemDef.name = \"Pumpkin Pet\";\n itemDef.modelZoom = 2645;\n itemDef.modelOffset1 = 1;\n itemDef.modelOffset2 = -25;\n itemDef.modelRotation1 = 155;\n itemDef.modelRotation2 = 106;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[3] = \"Summon\";\n itemDef.stackable = false;\n break;\n }\n case 21171: {\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n itemDef.groundModelId = 72;\n itemDef.maleEquipt = 73;\n itemDef.femaleEquipt = 74;\n itemDef.modelZoom = 1200;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 3;\n itemDef.modelRotation1 = 0;\n itemDef.modelRotation2 = 135;\n itemDef.name = \"Tyrant Full Helm\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21173: {\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n itemDef.groundModelId = 75;\n itemDef.maleEquipt = 76;\n itemDef.femaleEquipt = 77;\n itemDef.modelZoom = 1710;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 595;\n itemDef.modelRotation2 = 0;\n itemDef.name = \"Tyrant Platebody\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21175: {\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n itemDef.groundModelId = 78;\n itemDef.maleEquipt = 79;\n itemDef.femaleEquipt = 80;\n itemDef.modelZoom = 2000;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.name = \"Tyrant Platelegs\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21177: {\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n itemDef.groundModelId = 81;\n itemDef.maleEquipt = 82;\n itemDef.femaleEquipt = 83;\n itemDef.modelZoom = 760;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 590;\n itemDef.modelRotation2 = 0;\n itemDef.name = \"Tyrant Gloves\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21179: {\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n itemDef.groundModelId = 84;\n itemDef.maleEquipt = 85;\n itemDef.femaleEquipt = 86;\n itemDef.modelZoom = 635;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 110;\n itemDef.modelRotation2 = 180;\n itemDef.name = \"Tyrant Boots\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21181: {\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n itemDef.groundModelId = 87;\n itemDef.maleEquipt = 88;\n itemDef.femaleEquipt = 88;\n itemDef.modelZoom = 2070;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 470;\n itemDef.modelRotation2 = 1015;\n itemDef.name = \"Tyrant Cape\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21161: {\n itemDef.groundModelId = 46358;\n itemDef.maleEquipt = 46359;\n itemDef.femaleEquipt = 46359;\n itemDef.name = \"LALA Axe\";\n itemDef.description = \"LALA Axe.\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21153: {\n itemDef.groundModelId = 46356;\n itemDef.name = \"Extreme Donator Sword\";\n itemDef.description = \"A Extreme Donator Sword.\";\n itemDef.maleEquipt = 46357;\n itemDef.femaleEquipt = 46357;\n itemDef.modelZoom = 1785;\n itemDef.modelOffset1 = 2;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 560;\n itemDef.modelRotation2 = 0;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21010: {\n itemDef.groundModelId = 29216;\n itemDef.name = \"Zeus's Lightning Bolt\";\n itemDef.description = \"The Weapon Of The Gods!\";\n itemDef.maleEquipt = 29217;\n itemDef.femaleEquipt = 29217;\n itemDef.modelZoom = 750;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 3;\n itemDef.modelRotation1 = 488;\n itemDef.modelRotation2 = 600;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = true;\n break;\n }\n case 21001: {\n itemDef.groundModelId = 46336;\n itemDef.name = \"Diablo Sword\";\n itemDef.description = \"A Diablo sword!.\";\n itemDef.maleEquipt = 46337;\n itemDef.femaleEquipt = 46337;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21003: {\n itemDef.groundModelId = 46338;\n itemDef.name = \"Diablo Shield\";\n itemDef.description = \"A Diablo shield!.\";\n itemDef.maleEquipt = 46339;\n itemDef.femaleEquipt = 46339;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 575;\n itemDef.modelRotation2 = 0;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21005: {\n itemDef.groundModelId = 46340;\n itemDef.name = \"Diablo Bow\";\n itemDef.description = \"A Diablo bow!.\";\n itemDef.maleEquipt = 46341;\n itemDef.femaleEquipt = 46341;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21007: {\n itemDef.groundModelId = 46342;\n itemDef.name = \"Diablo Wings\";\n itemDef.description = \"A Diablo wings!.\";\n itemDef.maleEquipt = 46343;\n itemDef.femaleEquipt = 46343;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 450;\n itemDef.modelRotation2 = 0;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21009: {\n itemDef.groundModelId = 46344;\n itemDef.name = \"Blood Edge Sword\";\n itemDef.description = \"A Blood's Edge sword!.\";\n itemDef.modelZoom = 1750;\n itemDef.maleEquipt = 46345;\n itemDef.femaleEquipt = 46345;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 1575;\n itemDef.modelRotation2 = 1040;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21011: {\n itemDef.groundModelId = 46346;\n itemDef.name = \"HellSlayer Sword\";\n itemDef.description = \"A HellSlayer sword!.\";\n itemDef.modelZoom = 2550;\n itemDef.maleEquipt = 46347;\n itemDef.femaleEquipt = 46347;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 1630;\n itemDef.modelRotation2 = 0;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21013: {\n itemDef.groundModelId = 46348;\n itemDef.name = \"Equilibrium Sword [T1]\";\n itemDef.description = \"A Equilibrium sword.\";\n itemDef.modelZoom = 1750;\n itemDef.maleEquipt = 46349;\n itemDef.femaleEquipt = 46349;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 1575;\n itemDef.modelRotation2 = 1040;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21015: {\n itemDef.groundModelId = 46350;\n itemDef.name = \"Equilibrium Shield [T1]\";\n itemDef.description = \"A Equilibrium shield!.\";\n itemDef.modelZoom = 1930;\n itemDef.maleEquipt = 46351;\n itemDef.femaleEquipt = 46351;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 425;\n itemDef.modelRotation2 = 0;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21017: {\n itemDef.groundModelId = 46352;\n itemDef.name = \"Equilibrium Sword [T2]\";\n itemDef.description = \"A Equilibrium sword.\";\n itemDef.modelZoom = 1750;\n itemDef.maleEquipt = 46353;\n itemDef.femaleEquipt = 46353;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 550;\n itemDef.modelRotation2 = 500;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21019: {\n itemDef.groundModelId = 46354;\n itemDef.name = \"Equilibrium Shield [T2]\";\n itemDef.description = \"A Equilibrium shield!.\";\n itemDef.modelZoom = 1880;\n itemDef.maleEquipt = 46355;\n itemDef.femaleEquipt = 46355;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 550;\n itemDef.modelRotation2 = 0;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 21151: {\n itemDef.groundModelId = 50025;\n itemDef.name = \"Diablo pet\";\n itemDef.description = \"A Diablo pet!.\";\n itemDef.modelZoom = 9000;\n itemDef.modelRotation1 = 0;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[3] = \"Summon\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.stackable = false;\n break;\n }\n case 21152: {\n itemDef.groundModelId = 57393;\n itemDef.name = \"Zeus pet\";\n itemDef.description = \"A Zeus pet!.\";\n itemDef.modelZoom = 3000;\n itemDef.modelRotation1 = 0;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[3] = \"Summon\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.stackable = false;\n break;\n }\n case 20191: {\n itemDef.name = \"Phantom helm\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46327;\n itemDef.maleEquipt = 46328;\n itemDef.femaleEquipt = 46329;\n itemDef.modelZoom = 1000;\n itemDef.modelRotation1 = 0;\n itemDef.modelRotation2 = 1750;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.certID = -1;\n itemDef.certTemplateID = -1;\n break;\n }\n case 20193: {\n itemDef.name = \"Phantom platebody\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46330;\n itemDef.maleEquipt = 46331;\n itemDef.femaleEquipt = 46332;\n itemDef.modelZoom = 1500;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.certID = -1;\n itemDef.certTemplateID = -1;\n break;\n }\n case 20195: {\n itemDef.name = \"Phantom platelegs\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46333;\n itemDef.maleEquipt = 46334;\n itemDef.femaleEquipt = 46335;\n itemDef.modelZoom = 1750;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.certID = -1;\n itemDef.certTemplateID = -1;\n break;\n }\n case 20185: {\n itemDef.name = \"Elite full helm\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46318;\n itemDef.maleEquipt = 46319;\n itemDef.femaleEquipt = 46320;\n itemDef.modelZoom = 1000;\n itemDef.modelRotation1 = 0;\n itemDef.modelRotation2 = 1750;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.certID = -1;\n itemDef.certTemplateID = -1;\n break;\n }\n case 20187: {\n itemDef.name = \"Elite platebody\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46321;\n itemDef.maleEquipt = 46322;\n itemDef.femaleEquipt = 46323;\n itemDef.modelZoom = 1500;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.certID = -1;\n itemDef.certTemplateID = -1;\n break;\n }\n case 20189: {\n itemDef.name = \"Elite platelegs\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46324;\n itemDef.maleEquipt = 46325;\n itemDef.femaleEquipt = 46326;\n itemDef.modelZoom = 1750;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.certID = -1;\n itemDef.certTemplateID = -1;\n break;\n }\n case 20197: {\n itemDef.name = \"K'ril Tsutsaroth Cape\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46316;\n itemDef.maleEquipt = 46317;\n itemDef.femaleEquipt = 46317;\n itemDef.modelZoom = 1000;\n itemDef.modelRotation1 = 0;\n itemDef.modelRotation2 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.certID = -1;\n itemDef.certTemplateID = -1;\n break;\n }\n case 20155: {\n itemDef.name = \"Elite full helm\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46280;\n itemDef.maleEquipt = 46283;\n itemDef.femaleEquipt = 46286;\n itemDef.modelZoom = 1000;\n itemDef.modelRotation1 = 0;\n itemDef.modelRotation2 = 1750;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20157: {\n itemDef.name = \"Elite platebody\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46281;\n itemDef.maleEquipt = 46284;\n itemDef.femaleEquipt = 46287;\n itemDef.modelZoom = 1500;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20159: {\n itemDef.name = \"Elite platelegs\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46282;\n itemDef.maleEquipt = 46285;\n itemDef.femaleEquipt = 46288;\n itemDef.modelZoom = 1750;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20161: {\n itemDef.name = \"Elite full helm\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46238;\n itemDef.maleEquipt = 46241;\n itemDef.femaleEquipt = 46244;\n itemDef.modelZoom = 1000;\n itemDef.modelRotation1 = 0;\n itemDef.modelRotation2 = 1750;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20163: {\n itemDef.name = \"Elite platebody\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46239;\n itemDef.maleEquipt = 46242;\n itemDef.femaleEquipt = 46245;\n itemDef.modelZoom = 1500;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20165: {\n itemDef.name = \"Elite platelegs\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46240;\n itemDef.maleEquipt = 46243;\n itemDef.femaleEquipt = 46246;\n itemDef.modelZoom = 1750;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20167: {\n itemDef.name = \"Elite full helm\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46289;\n itemDef.maleEquipt = 46292;\n itemDef.femaleEquipt = 46295;\n itemDef.modelZoom = 1000;\n itemDef.modelRotation1 = 0;\n itemDef.modelRotation2 = 1750;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20169: {\n itemDef.name = \"Elite platebody\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46290;\n itemDef.maleEquipt = 46293;\n itemDef.femaleEquipt = 46296;\n itemDef.modelZoom = 1500;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20171: {\n itemDef.name = \"Elite platelegs\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46291;\n itemDef.maleEquipt = 46294;\n itemDef.femaleEquipt = 46297;\n itemDef.modelZoom = 1750;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20173: {\n itemDef.name = \"Elite full helm\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46298;\n itemDef.maleEquipt = 46301;\n itemDef.femaleEquipt = 46304;\n itemDef.modelZoom = 1000;\n itemDef.modelRotation1 = 0;\n itemDef.modelRotation2 = 1750;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20175: {\n itemDef.name = \"Elite platebody\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46299;\n itemDef.maleEquipt = 46302;\n itemDef.femaleEquipt = 46305;\n itemDef.modelZoom = 1500;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20177: {\n itemDef.name = \"Elite platelegs\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46300;\n itemDef.maleEquipt = 46303;\n itemDef.femaleEquipt = 46306;\n itemDef.modelZoom = 1750;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20179: {\n itemDef.name = \"Elite full helm\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46307;\n itemDef.maleEquipt = 46310;\n itemDef.femaleEquipt = 46313;\n itemDef.modelZoom = 1000;\n itemDef.modelRotation1 = 0;\n itemDef.modelRotation2 = 1750;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20181: {\n itemDef.name = \"Elite platebody\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46308;\n itemDef.maleEquipt = 46311;\n itemDef.femaleEquipt = 46314;\n itemDef.modelZoom = 1500;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20183: {\n itemDef.name = \"Elite platelegs\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46309;\n itemDef.maleEquipt = 46312;\n itemDef.femaleEquipt = 46315;\n itemDef.modelZoom = 1750;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.certID = -1;\n itemDef.certTemplateID = -1;\n break;\n }\n case 20143: {\n itemDef.name = \"QBD Helm\";\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 54;\n itemDef.maleEquipt = 55;\n itemDef.femaleEquipt = 56;\n itemDef.modelRotation1 = 0;\n itemDef.modelRotation2 = 1750;\n itemDef.modelZoom = 750;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20145: {\n itemDef.name = \"QBD Body\";\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 57;\n itemDef.maleEquipt = 58;\n itemDef.femaleEquipt = 59;\n itemDef.modelZoom = 1250;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20147: {\n itemDef.name = \"QBD Legs\";\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 60;\n itemDef.maleEquipt = 61;\n itemDef.femaleEquipt = 62;\n itemDef.modelZoom = 1750;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20149: {\n itemDef.name = \"QBD Gloves\";\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 63;\n itemDef.maleEquipt = 64;\n itemDef.femaleEquipt = 65;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20151: {\n itemDef.name = \"QBD Boots\";\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 66;\n itemDef.maleEquipt = 67;\n itemDef.femaleEquipt = 68;\n itemDef.modelZoom = 750;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 20153: {\n itemDef.name = \"QBD Wings\";\n itemDef.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 69;\n itemDef.maleEquipt = 70;\n itemDef.femaleEquipt = 71;\n itemDef.modelZoom = 1000;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n break;\n }\n case 201323: {\n itemDef.name = \"Youtuber Cape\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46247;\n itemDef.maleEquipt = 46248;\n itemDef.femaleEquipt = 46248;\n itemDef.stackable = false;\n break;\n }\n case 20135: {\n itemDef.name = \"Helper Cape\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46249;\n itemDef.maleEquipt = 46250;\n itemDef.femaleEquipt = 46250;\n itemDef.stackable = false;\n break;\n }\n case 20137: {\n itemDef.name = \"Moderator Cape\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46251;\n itemDef.maleEquipt = 46252;\n itemDef.femaleEquipt = 46252;\n itemDef.stackable = false;\n break;\n }\n case 20139: {\n itemDef.name = \"Admin Cape\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46253;\n itemDef.maleEquipt = 46254;\n itemDef.femaleEquipt = 46254;\n itemDef.stackable = false;\n break;\n }\n case 20141: {\n itemDef.name = \"Developer Cape\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.groundModelId = 46255;\n itemDef.maleEquipt = 46256;\n itemDef.femaleEquipt = 46256;\n itemDef.stackable = false;\n break;\n }\n case 6542: {\n itemDef.name = \"Requirements Mystery Box\";\n itemDef.description = \"Requirements mystery box.\";\n itemDef.stackable = false;\n break;\n }\n case 19810: {\n itemDef.name = \"NPC Kill Medal [T1]\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.modelZoom = 1550;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.groundModelId = 49819;\n itemDef.femaleEquipt = 49814;\n itemDef.maleEquipt = 49814;\n itemDef.description = \"A great honor to have.\";\n itemDef.stackable = false;\n break;\n }\n case 19811: {\n itemDef.name = \"NPC Kill Medal [T2]\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.modelZoom = 2000;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.groundModelId = 49820;\n itemDef.femaleEquipt = 49815;\n itemDef.maleEquipt = 49815;\n itemDef.description = \"A great honor to have.\";\n itemDef.stackable = false;\n break;\n }\n case 19812: {\n itemDef.name = \"NPC Kill Medal [T3]\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.modelZoom = 2000;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.groundModelId = 49821;\n itemDef.femaleEquipt = 49816;\n itemDef.maleEquipt = 49816;\n itemDef.description = \"A great honor to have.\";\n itemDef.stackable = false;\n break;\n }\n case 19813: {\n itemDef.name = \"NPC Kill Medal [T4]\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.modelZoom = 2000;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.groundModelId = 49822;\n itemDef.femaleEquipt = 49817;\n itemDef.maleEquipt = 49817;\n itemDef.description = \"A great honor to have.\";\n itemDef.stackable = false;\n break;\n }\n case 19814: {\n itemDef.name = \"NPC Kill Medal [T5]\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.modelZoom = 2000;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.groundModelId = 49823;\n itemDef.femaleEquipt = 49818;\n itemDef.maleEquipt = 49818;\n itemDef.description = \"A great honor to have.\";\n itemDef.stackable = false;\n break;\n }\n case 19815: {\n itemDef.name = \"Nightmare Full Helm\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.modelZoom = 1250;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.groundModelId = 49824;\n itemDef.femaleEquipt = 49827;\n itemDef.maleEquipt = 49828;\n itemDef.description = \"A great honor to have.\";\n itemDef.stackable = false;\n break;\n }\n case 19816: {\n itemDef.name = \"Nightmare Platebody\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.modelZoom = 1250;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.groundModelId = 49825;\n itemDef.femaleEquipt = 49831;\n itemDef.maleEquipt = 49832;\n itemDef.description = \"A great honor to have.\";\n itemDef.stackable = false;\n break;\n }\n case 19817: {\n itemDef.name = \"Nightmare Platelegs\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.modelZoom = 1250;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.groundModelId = 49826;\n itemDef.femaleEquipt = 49831;\n itemDef.maleEquipt = 49832;\n itemDef.description = \"A great honor to have.\";\n itemDef.stackable = false;\n break;\n }\n case 19123: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.description = \"A Cape made from Dandelion flowers.\";\n itemDef.groundModelId = 79240;\n itemDef.femaleEquipt = 79239;\n itemDef.maleEquipt = 79239;\n itemDef.modelZoom = 2128;\n itemDef.modelRotation1 = 504;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 1;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.anInt175 = 14;\n itemDef.anInt197 = 7;\n itemDef.name = \"Dandelion Death Cape\";\n break;\n }\n case 13362: {\n itemDef.groundModelId = 62714;\n itemDef.name = \"Torva full helm\";\n itemDef.description = \"Torva full helm.\";\n itemDef.modelZoom = 672;\n itemDef.modelRotation1 = 85;\n itemDef.modelRotation2 = 1867;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -3;\n itemDef.femaleEquipt = 62738;\n itemDef.maleEquipt = 62754;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 19111: {\n itemDef.name = \"TokHaar-Kal\";\n itemDef.value = 60000;\n itemDef.femaleEquipt = 62575;\n itemDef.maleEquipt = 62582;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.modelOffset1 = -4;\n itemDef.groundModelId = 62592;\n itemDef.stackable = false;\n itemDef.description = \"A cape made of ancient, enchanted rocks.\";\n itemDef.modelZoom = 2086;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 533;\n itemDef.modelRotation2 = 333;\n break;\n }\n case 15651: {\n itemDef.groundModelId = 62820;\n itemDef.name = \"Obsidian boots\";\n itemDef.description = \"Obsidian boots.\";\n itemDef.modelZoom = 676;\n itemDef.modelRotation1 = 63;\n itemDef.modelRotation2 = 106;\n itemDef.modelOffset1 = 5;\n itemDef.modelOffset2 = -1;\n itemDef.femaleEquipt = 62818;\n itemDef.maleEquipt = 62818;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 15653: {\n itemDef.groundModelId = 62825;\n itemDef.name = \"Obsidian gloves\";\n itemDef.description = \"Obsidian Gloves.\";\n itemDef.modelZoom = 548;\n itemDef.modelRotation1 = 618;\n itemDef.modelRotation2 = 1143;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -5;\n itemDef.femaleEquipt = 62824;\n itemDef.maleEquipt = 62824;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 15654: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wield\";\n itemDef.groundModelId = 62827;\n itemDef.femaleEquipt = 62826;\n itemDef.modelZoom = 1886;\n itemDef.modelRotation1 = 477;\n itemDef.modelRotation2 = 757;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 13;\n itemDef.stackable = false;\n itemDef.rdc2 = 304782;\n itemDef.name = \"Evil shield\";\n itemDef.description = \"A Shield said to be able to corrupt even the purest of hearts.\";\n break;\n }\n case 15662: {\n itemDef.groundModelId = 62803;\n itemDef.name = \"Tok-Tkzar Platebody\";\n itemDef.description = \"Tok-Tkzar legs\";\n itemDef.modelZoom = 1358;\n itemDef.modelOffset1 = 2;\n itemDef.modelOffset2 = 6;\n itemDef.modelRotation1 = 539;\n itemDef.modelRotation2 = 0;\n itemDef.femaleEquipt = 62802;\n itemDef.maleEquipt = 62802;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.anInt204 = 40;\n itemDef.anInt196 = 30;\n itemDef.anInt184 = 100;\n break;\n }\n case 15656: {\n itemDef.groundModelId = 62805;\n itemDef.name = \"Tok-Tkzar legs\";\n itemDef.description = \"Tok-Tkzar legs\";\n itemDef.modelZoom = 1828;\n itemDef.modelRotation1 = 539;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = 0;\n itemDef.femaleEquipt = 62804;\n itemDef.maleEquipt = 62804;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.anInt204 = 40;\n itemDef.anInt196 = 30;\n itemDef.anInt184 = 100;\n break;\n }\n case 15657: {\n itemDef.groundModelId = 62807;\n itemDef.name = \"Tok-Tkzar cloak\";\n itemDef.description = \"Tok-Tkzar cloak\";\n itemDef.stackable = false;\n itemDef.modelZoom = 2713;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 29;\n itemDef.modelRotation1 = 504;\n itemDef.modelRotation2 = 1030;\n itemDef.femaleEquipt = 62806;\n itemDef.maleEquipt = 62806;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 15658: {\n itemDef.groundModelId = 62809;\n itemDef.name = \"Tok-Tkzar boots\";\n itemDef.description = \"Tok-Tkzar boots\";\n itemDef.modelZoom = 676;\n itemDef.modelRotation1 = 63;\n itemDef.modelRotation2 = 106;\n itemDef.modelOffset1 = 5;\n itemDef.modelOffset2 = -1;\n itemDef.femaleEquipt = 62808;\n itemDef.maleEquipt = 62808;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 15659: {\n itemDef.groundModelId = 62811;\n itemDef.name = \"Tok-Tkzar Gloves\";\n itemDef.description = \"Tok-Tkzar Gloves\";\n itemDef.modelZoom = 648;\n itemDef.modelRotation1 = 618;\n itemDef.modelRotation2 = 1143;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -5;\n itemDef.femaleEquipt = 62810;\n itemDef.maleEquipt = 62810;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 15660: {\n itemDef.groundModelId = 62813;\n itemDef.name = \"Tok-Tkzar Helm\";\n itemDef.description = \"Tok-Tkzar Helm.\";\n itemDef.modelZoom = 672;\n itemDef.modelRotation1 = 85;\n itemDef.modelRotation2 = 1867;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -3;\n itemDef.femaleEquipt = 62812;\n itemDef.maleEquipt = 62812;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Morph\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 15661: {\n itemDef.groundModelId = 62815;\n itemDef.name = \"Tok-Tkzar Mace\";\n itemDef.description = \"Tok-Tkzar Mace.\";\n itemDef.modelZoom = 1672;\n itemDef.modelRotation1 = 285;\n itemDef.modelRotation2 = 607;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -3;\n itemDef.femaleEquipt = 62814;\n itemDef.maleEquipt = 62814;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Morph\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16603: {\n itemDef.groundModelId = 62841;\n itemDef.name = \"Max platelegs\";\n itemDef.description = \"Max platelegs\";\n itemDef.modelZoom = 1740;\n itemDef.modelRotation1 = 474;\n itemDef.modelRotation2 = 2045;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -5;\n itemDef.femaleEquipt = 62840;\n itemDef.maleEquipt = 62840;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16604: {\n itemDef.groundModelId = 62843;\n itemDef.name = \"Max boots\";\n itemDef.description = \"Max boots\";\n itemDef.modelZoom = 676;\n itemDef.modelRotation1 = 63;\n itemDef.modelRotation2 = 106;\n itemDef.modelOffset1 = 5;\n itemDef.modelOffset2 = -1;\n itemDef.femaleEquipt = 62842;\n itemDef.maleEquipt = 62842;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16605: {\n itemDef.groundModelId = 62845;\n itemDef.name = \"Max gloves\";\n itemDef.description = \"Max gloves\";\n itemDef.modelZoom = 548;\n itemDef.modelRotation1 = 618;\n itemDef.modelRotation2 = 1143;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -5;\n itemDef.femaleEquipt = 62844;\n itemDef.maleEquipt = 62844;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16606: {\n itemDef.groundModelId = 62867;\n itemDef.name = \"Max Plate\";\n itemDef.description = \"Max Plate\";\n itemDef.modelZoom = 1506;\n itemDef.modelRotation1 = 473;\n itemDef.modelRotation2 = 2042;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.femaleEquipt = 62846;\n itemDef.maleEquipt = 62846;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16608: {\n itemDef.groundModelId = 62849;\n itemDef.name = \"Max Helm\";\n itemDef.description = \"Max Helm.\";\n itemDef.modelZoom = 672;\n itemDef.modelRotation1 = 85;\n itemDef.modelRotation2 = 1867;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -3;\n itemDef.femaleEquipt = 62848;\n itemDef.maleEquipt = 62848;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Morph\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16609: {\n itemDef.groundModelId = 62851;\n itemDef.name = \"Max Dual longsword\";\n itemDef.description = \"Max Dual longsword.\";\n itemDef.modelZoom = 1316;\n itemDef.modelRotation1 = 477;\n itemDef.modelRotation2 = 9;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 13;\n itemDef.femaleEquipt = 62850;\n itemDef.maleEquipt = 62850;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Morph\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16610: {\n itemDef.groundModelId = 62883;\n itemDef.name = \"Corrupt Dragon Fullhelm\";\n itemDef.modelZoom = 980;\n itemDef.description = \"You feel the corruption pulse through you.\";\n itemDef.modelRotation1 = 208;\n itemDef.modelRotation2 = 220;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -18;\n itemDef.stackable = false;\n itemDef.femaleEquipt = 62871;\n itemDef.maleEquipt = 62871;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.anInt175 = 62730;\n itemDef.anInt197 = 62730;\n break;\n }\n case 16611: {\n itemDef.groundModelId = 62879;\n itemDef.name = \"Corrupt Dragon Plate\";\n itemDef.description = \"You feel the corruption pulse through you\";\n itemDef.modelZoom = 1506;\n itemDef.modelRotation1 = 473;\n itemDef.modelRotation2 = 2042;\n itemDef.modelOffset1 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset2 = 0;\n itemDef.femaleEquipt = 62869;\n itemDef.maleEquipt = 62873;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16613: {\n itemDef.groundModelId = 62880;\n itemDef.name = \"Corrupt Dragon Platelegs\";\n itemDef.description = \"You feel the corruption pulse through you.\";\n itemDef.modelZoom = 1740;\n itemDef.modelRotation1 = 474;\n itemDef.modelRotation2 = 2045;\n itemDef.modelOffset1 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset2 = -5;\n itemDef.femaleEquipt = 62870;\n itemDef.maleEquipt = 62874;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16614: {\n itemDef.groundModelId = 62881;\n itemDef.name = \"Corrupt Dragon Gloves\";\n itemDef.description = \"You feel the corruption pulse through you\";\n itemDef.modelZoom = 548;\n itemDef.modelRotation1 = 618;\n itemDef.modelRotation2 = 1143;\n itemDef.modelOffset1 = 0;\n itemDef.stackable = false;\n itemDef.modelOffset2 = -5;\n itemDef.femaleEquipt = 62878;\n itemDef.maleEquipt = 62877;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16615: {\n itemDef.groundModelId = 62882;\n itemDef.name = \"Corrupt Dragon Boots\";\n itemDef.modelZoom = 676;\n itemDef.description = \"You feel the corruption pulse through you\";\n itemDef.modelRotation1 = 63;\n itemDef.modelRotation2 = 106;\n itemDef.modelOffset1 = 5;\n itemDef.stackable = false;\n itemDef.modelOffset2 = -1;\n itemDef.femaleEquipt = 62872;\n itemDef.maleEquipt = 62876;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16616: {\n itemDef.groundModelId = 62884;\n itemDef.name = \"Corrupt Dragon wings\";\n itemDef.description = \"Enchanted wings torn from the back of a Corrupt Dragon \";\n itemDef.modelZoom = 850;\n itemDef.modelRotation1 = 252;\n itemDef.modelRotation2 = 1020;\n itemDef.modelOffset1 = -1;\n itemDef.stackable = false;\n itemDef.modelOffset2 = 24;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 62868;\n itemDef.maleEquipt = 62868;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 17751: {\n itemDef.groundModelId = 62866;\n itemDef.name = \"@red@Corrupt Dragon wings\";\n itemDef.description = \"Enchanted wings torn from the back of a Corrupt Dragon \";\n itemDef.modelZoom = 850;\n itemDef.modelRotation1 = 252;\n itemDef.modelRotation2 = 1020;\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = 24;\n itemDef.stackable = false;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 62867;\n itemDef.maleEquipt = 62867;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 16618: {\n itemDef.groundModelId = 62778;\n itemDef.name = \"Blood mage hood\";\n itemDef.description = \"Deathy Hood from a lost order of mages.\";\n itemDef.modelZoom = 724;\n itemDef.modelRotation1 = 81;\n itemDef.modelRotation2 = 1670;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -4;\n itemDef.femaleEquipt = 62779;\n itemDef.maleEquipt = 62779;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16619: {\n itemDef.groundModelId = 62787;\n itemDef.name = \"Blood mage robe top\";\n itemDef.description = \"Deathy robe top from a lost order of mages\";\n itemDef.modelZoom = 1513;\n itemDef.modelRotation1 = 566;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 1;\n itemDef.modelOffset2 = -8;\n itemDef.femaleEquipt = 62780;\n itemDef.maleEquipt = 62780;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16620: {\n itemDef.groundModelId = 62781;\n itemDef.name = \"Blood Mage robe bottom \";\n itemDef.description = \"Deathy Hood from a lost order of mages\";\n itemDef.modelZoom = 1550;\n itemDef.modelRotation1 = 344;\n itemDef.modelRotation2 = 186;\n itemDef.modelOffset1 = 5;\n itemDef.modelOffset2 = 11;\n itemDef.femaleEquipt = 62782;\n itemDef.maleEquipt = 62782;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16621: {\n itemDef.groundModelId = 62785;\n itemDef.name = \"Book of Cataclysm\";\n itemDef.description = \"This book contains the knowledge of generations of powerfull dark mages \";\n itemDef.modelZoom = 850;\n itemDef.modelRotation1 = 252;\n itemDef.modelRotation2 = 1020;\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = 24;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 62786;\n itemDef.maleEquipt = 62786;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 16623: {\n itemDef.groundModelId = 62783;\n itemDef.name = \"Staff of Sanguine\";\n itemDef.description = \"A powerfull staff able to suck the blood out of its enemies\";\n itemDef.modelZoom = 850;\n itemDef.modelRotation1 = 252;\n itemDef.modelRotation2 = 1020;\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = 24;\n itemDef.stackable = false;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 62784;\n itemDef.maleEquipt = 62784;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Weild\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16624: {\n itemDef.groundModelId = 62832;\n itemDef.name = \"BeastMaster Plate\";\n itemDef.description = \"BeastMaster Plate.\";\n itemDef.modelZoom = 1506;\n itemDef.modelRotation1 = 473;\n itemDef.modelRotation2 = 2042;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.femaleEquipt = 62831;\n itemDef.maleEquipt = 62831;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16625: {\n itemDef.groundModelId = 62833;\n itemDef.name = \"BeastMaster platelegs\";\n itemDef.description = \"BeastMaster platelegs.\";\n itemDef.modelZoom = 1740;\n itemDef.modelRotation1 = 474;\n itemDef.modelRotation2 = 2045;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -5;\n itemDef.femaleEquipt = 62930;\n itemDef.maleEquipt = 62930;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16626: {\n itemDef.groundModelId = 62837;\n itemDef.name = \"BeastMaster boots\";\n itemDef.description = \"BeastMaster boots.\";\n itemDef.modelZoom = 676;\n itemDef.modelRotation1 = 63;\n itemDef.modelRotation2 = 106;\n itemDef.modelOffset1 = 5;\n itemDef.modelOffset2 = -1;\n itemDef.femaleEquipt = 62836;\n itemDef.maleEquipt = 62836;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16628: {\n itemDef.groundModelId = 62835;\n itemDef.name = \"BeastMaster helm\";\n itemDef.description = \"BeastMaster helm.\";\n itemDef.modelZoom = 672;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -3;\n itemDef.modelRotation1 = 50;\n itemDef.modelRotation2 = 2027;\n itemDef.femaleEquipt = 62834;\n itemDef.maleEquipt = 62834;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Morph\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16629: {\n itemDef.groundModelId = 62839;\n itemDef.name = \"BeastMaster gloves\";\n itemDef.description = \"BeastMaster gloves.\";\n itemDef.modelZoom = 548;\n itemDef.modelRotation1 = 618;\n itemDef.modelRotation2 = 1143;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -5;\n itemDef.femaleEquipt = 62838;\n itemDef.maleEquipt = 62838;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.stackable = false;\n break;\n }\n case 16630: {\n itemDef.groundModelId = 62771;\n itemDef.name = \"Ares`s full helm\";\n itemDef.description = \"Helm of the war god, Ares.\";\n itemDef.modelZoom = 972;\n itemDef.modelOffset1 = 2;\n itemDef.modelOffset2 = -3;\n itemDef.modelRotation1 = 100;\n itemDef.modelRotation2 = 1667;\n itemDef.femaleEquipt = 62770;\n itemDef.maleEquipt = 62770;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 16631: {\n itemDef.groundModelId = 62773;\n itemDef.name = \"Ares' Platelegs\";\n itemDef.description = \"Platelegs of the war god, Ares.\";\n itemDef.modelZoom = 1740;\n itemDef.modelRotation1 = 474;\n itemDef.modelRotation2 = 2045;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -5;\n itemDef.femaleEquipt = 62772;\n itemDef.maleEquipt = 62772;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 16633: {\n itemDef.groundModelId = 62767;\n itemDef.name = \"Ares' Platebody\";\n itemDef.description = \"Platebody of the war god, Ares.\";\n itemDef.modelZoom = 1576;\n itemDef.modelOffset1 = -8;\n itemDef.modelOffset2 = 2;\n itemDef.modelRotation1 = 473;\n itemDef.modelRotation2 = 2042;\n itemDef.femaleEquipt = 62766;\n itemDef.maleEquipt = 62766;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 16634: {\n itemDef.groundModelId = 62829;\n itemDef.name = \"Ares' gloves\";\n itemDef.description = \"Gloves of the war god, Ares.\";\n itemDef.modelZoom = 418;\n itemDef.modelOffset1 = -3;\n itemDef.modelOffset2 = 3;\n itemDef.modelRotation1 = 618;\n itemDef.modelRotation2 = 1143;\n itemDef.femaleEquipt = 62830;\n itemDef.maleEquipt = 62830;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16635: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wield\";\n itemDef.groundModelId = 62789;\n itemDef.femaleEquipt = 62828;\n itemDef.maleEquipt = 62828;\n itemDef.modelZoom = 1316;\n itemDef.modelRotation1 = 477;\n itemDef.modelRotation2 = 9;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 13;\n itemDef.stackable = false;\n itemDef.name = \"Crossbow of Devastation\";\n itemDef.description = \"A Crossbow said to be able to lay waste to entire cities. One of the three Items of armageddon \";\n break;\n }\n case 16636: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wield\";\n itemDef.groundModelId = 62777;\n itemDef.femaleEquipt = 62776;\n itemDef.maleEquipt = 62776;\n itemDef.modelZoom = 1316;\n itemDef.modelRotation1 = 477;\n itemDef.modelRotation2 = 9;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 13;\n itemDef.stackable = false;\n itemDef.name = \"Spear of Rapture\";\n itemDef.description = \"A Spear said to be able to reap the soul out of a body. One of the three items of armageddon.\";\n break;\n }\n case 16638: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wield\";\n itemDef.groundModelId = 62775;\n itemDef.femaleEquipt = 62774;\n itemDef.modelZoom = 1316;\n itemDef.modelRotation1 = 477;\n itemDef.modelRotation2 = 9;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 13;\n itemDef.stackable = false;\n itemDef.name = \"Shield of Wrath\";\n itemDef.description = \"A Shield said to be able harness the power of the heavens. One of the three items of armageddon.\";\n break;\n }\n case 16639: {\n itemDef.groundModelId = 78000;\n itemDef.name = \"Knightmare Plate\";\n itemDef.description = \"22222222222222222 \";\n itemDef.modelZoom = 1506;\n itemDef.modelRotation1 = 473;\n itemDef.modelRotation2 = 2042;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.femaleEquipt = 78001;\n itemDef.maleEquipt = 78001;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Morph\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16640: {\n itemDef.groundModelId = 78002;\n itemDef.name = \"Knightmare platelegs\";\n itemDef.description = \"2222222222222222222222222.\";\n itemDef.modelZoom = 1740;\n itemDef.modelRotation1 = 474;\n itemDef.modelRotation2 = 2045;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -5;\n itemDef.femaleEquipt = 78003;\n itemDef.maleEquipt = 78003;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[2] = \"Check\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16641: {\n itemDef.groundModelId = 78004;\n itemDef.name = \"Knightmare boots\";\n itemDef.description = \"2222222222222222222222222.\";\n itemDef.modelZoom = 676;\n itemDef.modelRotation1 = 63;\n itemDef.modelRotation2 = 106;\n itemDef.modelOffset1 = 5;\n itemDef.modelOffset2 = -1;\n itemDef.femaleEquipt = 78005;\n itemDef.maleEquipt = 78005;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16644: {\n itemDef.groundModelId = 78008;\n itemDef.name = \"Knightmare Helm\";\n itemDef.description = \"2222222222222222222222222.\";\n itemDef.modelZoom = 1172;\n itemDef.modelRotation1 = 85;\n itemDef.modelRotation2 = 1867;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -3;\n itemDef.femaleEquipt = 78009;\n itemDef.maleEquipt = 78009;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Morph\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 16645: {\n itemDef.groundModelId = 78010;\n itemDef.name = \"Souledge\";\n itemDef.stackable = false;\n itemDef.description = \"A powerful weapon.\";\n itemDef.modelZoom = 2200;\n itemDef.modelRotation1 = 9;\n itemDef.modelRotation2 = 477;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 13;\n itemDef.femaleEquipt = 78011;\n itemDef.maleEquipt = 78011;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wield\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 17743: {\n itemDef.groundModelId = 62853;\n itemDef.name = \"Completionest Plate\";\n itemDef.description = \"22222222222222222 \";\n itemDef.modelZoom = 1506;\n itemDef.modelRotation1 = 473;\n itemDef.modelRotation2 = 2042;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.femaleEquipt = 62852;\n itemDef.maleEquipt = 62852;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 17744: {\n itemDef.groundModelId = 62855;\n itemDef.name = \"Completionest platelegs\";\n itemDef.description = \"2222222222222222222222222.\";\n itemDef.modelZoom = 1740;\n itemDef.modelRotation1 = 474;\n itemDef.modelRotation2 = 2045;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -5;\n itemDef.femaleEquipt = 62854;\n itemDef.maleEquipt = 62854;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 17745: {\n itemDef.groundModelId = 62861;\n itemDef.name = \"Completionest boots\";\n itemDef.description = \"2222222222222222222222222.\";\n itemDef.modelZoom = 676;\n itemDef.modelRotation1 = 63;\n itemDef.modelRotation2 = 106;\n itemDef.modelOffset1 = 5;\n itemDef.modelOffset2 = -1;\n itemDef.femaleEquipt = 62860;\n itemDef.maleEquipt = 62860;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 17746: {\n itemDef.groundModelId = 62859;\n itemDef.name = \"Completionest gloves\";\n itemDef.description = \"2222222222222222222222222.\";\n itemDef.modelZoom = 548;\n itemDef.modelRotation1 = 618;\n itemDef.modelRotation2 = 1143;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -5;\n itemDef.femaleEquipt = 62858;\n itemDef.maleEquipt = 62858;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 17748: {\n itemDef.groundModelId = 62857;\n itemDef.name = \"Completionest Helm\";\n itemDef.description = \"2222222222222222222222222.\";\n itemDef.modelZoom = 672;\n itemDef.modelRotation1 = 85;\n itemDef.modelRotation2 = 1867;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -3;\n itemDef.femaleEquipt = 62856;\n itemDef.maleEquipt = 62856;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Morph\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 17749: {\n itemDef.groundModelId = 62863;\n itemDef.name = \"Completionest longsword (main Hand)\";\n itemDef.description = \"2222222222222222222222222.\";\n itemDef.modelZoom = 1300;\n itemDef.modelRotation1 = 477;\n itemDef.modelRotation2 = 9;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 13;\n itemDef.femaleEquipt = 62862;\n itemDef.maleEquipt = 62862;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Morph\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 17750: {\n itemDef.groundModelId = 62863;\n itemDef.name = \"Completionest longsword (Off Hand)\";\n itemDef.description = \"2222222222222222222222222.\";\n itemDef.modelZoom = 1300;\n itemDef.modelRotation1 = 477;\n itemDef.modelRotation2 = 9;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 13;\n itemDef.femaleEquipt = 62864;\n itemDef.maleEquipt = 62864;\n itemDef.stackable = false;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Morph\";\n itemDef.itemActions[2] = \"Check-charges\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 17779: {\n itemDef.groundModelId = 78013;\n itemDef.name = \"@red@Advanced Comp Cape\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 1316;\n itemDef.modelRotation1 = 252;\n itemDef.modelRotation2 = 1020;\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = 24;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78012;\n itemDef.maleEquipt = 78012;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 17851: {\n itemDef.groundModelId = 78025;\n itemDef.name = \"@red@Advanced Dung cape\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 1316;\n itemDef.modelRotation1 = 252;\n itemDef.modelRotation2 = 1020;\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = 24;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78024;\n itemDef.maleEquipt = 78024;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 4279: {\n itemDef.groundModelId = 78014;\n itemDef.name = \"@blu@Trident of the MOON\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 3355;\n itemDef.modelRotation1 = 512;\n itemDef.modelRotation2 = 256;\n itemDef.modelOffset1 = 3;\n itemDef.modelOffset2 = -9;\n itemDef.femaleEquipt = 78014;\n itemDef.maleEquipt = 78014;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 17845: {\n itemDef.groundModelId = 78016;\n itemDef.name = \"@blu@Chronic Greataxe\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 2500;\n itemDef.modelRotation1 = 228;\n itemDef.modelRotation2 = 1155;\n itemDef.modelOffset1 = -5;\n itemDef.modelOffset2 = 65;\n itemDef.membersObject = true;\n itemDef.stackable = false;\n itemDef.femaleEquipt = 78015;\n itemDef.maleEquipt = 78015;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 17846: {\n itemDef.groundModelId = 78018;\n itemDef.name = \"@blu@Chronic Godsword\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 2000;\n itemDef.modelRotation1 = 228;\n itemDef.modelRotation2 = 1225;\n itemDef.modelOffset1 = -5;\n itemDef.modelOffset2 = 65;\n itemDef.membersObject = true;\n itemDef.stackable = false;\n itemDef.femaleEquipt = 78017;\n itemDef.maleEquipt = 78017;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 17847: {\n itemDef.groundModelId = 79610;\n itemDef.name = \"Lavaflow Godsword\";\n itemDef.description = \"What in the world ? You really got that ? Youre amazing dude! \";\n itemDef.modelZoom = 1500;\n itemDef.modelRotation1 = 228;\n itemDef.modelRotation2 = 1985;\n itemDef.modelOffset1 = 5;\n itemDef.modelOffset2 = -55;\n itemDef.stackable = false;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78019;\n itemDef.maleEquipt = 78019;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 17848: {\n itemDef.groundModelId = 78021;\n itemDef.name = \"Blazing Sword\";\n itemDef.description = \"What in the world ? You really got that ? Youre amazing dude! \";\n itemDef.modelZoom = 2000;\n itemDef.modelRotation1 = 228;\n itemDef.modelRotation2 = 1985;\n itemDef.modelOffset1 = 5;\n itemDef.modelOffset2 = -55;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78020;\n itemDef.maleEquipt = 78020;\n itemDef.stackable = false;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 17849: {\n itemDef.groundModelId = 79464;\n itemDef.name = \"Flaming Whip\";\n itemDef.description = \"What in the world ? You really got that ? Youre amazing dude! \";\n itemDef.modelZoom = 1000;\n itemDef.modelRotation1 = 601;\n itemDef.modelRotation2 = 1000;\n itemDef.modelOffset1 = 4;\n itemDef.modelOffset2 = 8;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78022;\n itemDef.maleEquipt = 78022;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 17850: {\n itemDef.groundModelId = 79465;\n itemDef.name = \"Razor Whip\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 1000;\n itemDef.modelRotation1 = 601;\n itemDef.modelRotation2 = 1000;\n itemDef.modelOffset1 = 4;\n itemDef.modelOffset2 = 8;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78023;\n itemDef.maleEquipt = 78023;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 17854: {\n itemDef.groundModelId = 78028;\n itemDef.name = \"Brutal longsword ( offhand )\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 1447;\n itemDef.modelRotation1 = 444;\n itemDef.modelRotation2 = 1217;\n itemDef.modelOffset1 = -5;\n itemDef.modelOffset2 = -4;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78028;\n itemDef.maleEquipt = 78028;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 17855: {\n itemDef.groundModelId = 78029;\n itemDef.name = \"@yel@Sword of Edictation\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 1744;\n itemDef.modelRotation1 = 738;\n itemDef.modelRotation2 = 1985;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 0;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78029;\n itemDef.maleEquipt = 78029;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 17856: {\n itemDef.groundModelId = 78027;\n itemDef.name = \"@bla@Obsidian rapier\";\n itemDef.description = \"What in the world ? You really got that ? Youre amazing dude! \";\n itemDef.modelZoom = 2079;\n itemDef.modelRotation1 = 459;\n itemDef.modelRotation2 = 77;\n itemDef.modelOffset1 = 5;\n itemDef.stackable = false;\n itemDef.modelOffset2 = -7;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78030;\n itemDef.maleEquipt = 78030;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 17857: {\n itemDef.groundModelId = 78032;\n itemDef.name = \"@yel@Corrupt Korasi sword\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 1779;\n itemDef.modelOffset1 = 5;\n itemDef.modelOffset2 = 0;\n itemDef.modelRotation1 = 500;\n itemDef.modelRotation2 = 0;\n itemDef.membersObject = true;\n itemDef.stackable = false;\n itemDef.femaleEquipt = 78031;\n itemDef.maleEquipt = 78031;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 17858: {\n itemDef.groundModelId = 78034;\n itemDef.name = \"Red Anchor of Death\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 1104;\n itemDef.modelRotation1 = 321;\n itemDef.modelRotation2 = 24;\n itemDef.modelOffset1 = -5;\n itemDef.modelOffset2 = 2;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78033;\n itemDef.maleEquipt = 78033;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.modifiedModelColors = new int[7];\n itemDef.originalModelColors = new int[7];\n itemDef.modifiedModelColors[0] = 10283;\n itemDef.originalModelColors[0] = 1818;\n itemDef.modifiedModelColors[1] = 10287;\n itemDef.originalModelColors[1] = 1820;\n itemDef.modifiedModelColors[2] = 10279;\n itemDef.originalModelColors[2] = 1825;\n itemDef.modifiedModelColors[3] = 10291;\n itemDef.originalModelColors[3] = 1818;\n itemDef.modifiedModelColors[4] = 10275;\n itemDef.originalModelColors[4] = 1819;\n itemDef.stackable = false;\n break;\n }\n case 17859: {\n itemDef.groundModelId = 78036;\n itemDef.name = \"Upgraded Armadyl Godsword\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 2000;\n itemDef.modelRotation1 = 228;\n itemDef.modelRotation2 = 1985;\n itemDef.modelOffset1 = 5;\n itemDef.modelOffset2 = 55;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78035;\n itemDef.maleEquipt = 78035;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 17860: {\n itemDef.groundModelId = 78038;\n itemDef.name = \"Christmas TreeHat\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 996;\n itemDef.modelRotation1 = 9;\n itemDef.modelRotation2 = 1815;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 1;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78037;\n itemDef.maleEquipt = 78037;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 17861: {\n itemDef.groundModelId = 78042;\n itemDef.stackable = false;\n itemDef.name = \"Tzhaar Whip\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 987;\n itemDef.modelRotation1 = 440;\n itemDef.modelRotation2 = 630;\n itemDef.modelOffset1 = 8;\n itemDef.modelOffset2 = -1;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78041;\n itemDef.maleEquipt = 78041;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 17862: {\n itemDef.groundModelId = 79476;\n itemDef.stackable = false;\n itemDef.name = \"Tzhaar body\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 1500;\n itemDef.modelRotation1 = 512;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -1;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78043;\n itemDef.maleEquipt = 78043;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 17863: {\n itemDef.groundModelId = 79475;\n itemDef.stackable = false;\n itemDef.name = \"Tzhaar legs\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 2000;\n itemDef.modelRotation1 = 512;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -1;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78044;\n itemDef.maleEquipt = 78044;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 17864: {\n itemDef.groundModelId = 78046;\n itemDef.name = \"Obsidian Body\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 1650;\n itemDef.modelRotation1 = 512;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -1;\n itemDef.stackable = false;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78045;\n itemDef.maleEquipt = 78045;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 17865: {\n itemDef.groundModelId = 78048;\n itemDef.name = \"Obsidian legs\";\n itemDef.description = \"What in the world ? You really got that ? Your amazing dude! \";\n itemDef.modelZoom = 1850;\n itemDef.modelRotation1 = 512;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -1;\n itemDef.stackable = false;\n itemDef.membersObject = true;\n itemDef.femaleEquipt = 78047;\n itemDef.maleEquipt = 78047;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 15001: {\n itemDef.name = \"White wings\";\n itemDef.value = 60000;\n itemDef.femaleEquipt = 79242;\n itemDef.maleEquipt = 79242;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.modelOffset1 = -1;\n itemDef.groundModelId = 79243;\n itemDef.stackable = false;\n itemDef.description = \"White WINS!.\";\n itemDef.modelZoom = 850;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modelOffset2 = 24;\n itemDef.modelRotation1 = 252;\n itemDef.modelRotation2 = 1020;\n break;\n }\n case 16428: {\n itemDef.groundModelId = 9001;\n itemDef.name = \"Rainbow Partyhat\";\n itemDef.description = \"Rainbow Partyhat.\";\n itemDef.modelZoom = 440;\n itemDef.value = 60000;\n itemDef.modelRotation2 = 1845;\n itemDef.modelRotation1 = 121;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = 1;\n itemDef.femaleEquipt = 9000;\n itemDef.maleEquipt = 9002;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.stackable = false;\n break;\n }\n case 9500: {\n itemDef.name = \"@yel@Wizard Hat\";\n itemDef.value = 20000000;\n itemDef.femaleEquipt = 13079;\n itemDef.maleEquipt = 13082;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = -1;\n itemDef.groundModelId = 11400;\n itemDef.stackable = false;\n itemDef.description = \"Its a wizard hat.\";\n itemDef.modelZoom = 800;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modelRotation1 = 152;\n itemDef.modelRotation2 = 156;\n break;\n }\n case 9501: {\n itemDef.name = \"@yel@Zaros Godsword\";\n itemDef.value = 2000000000;\n itemDef.femaleEquipt = 7997;\n itemDef.maleEquipt = 7997;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = -1;\n itemDef.groundModelId = 7998;\n itemDef.stackable = false;\n itemDef.description = \"Its a zaros godsword.\";\n itemDef.modelZoom = 1957;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modelRotation1 = 498;\n itemDef.modelRotation2 = 484;\n break;\n }\n case 9502: {\n itemDef.name = \"@yel@Masamune\";\n itemDef.value = 2000000000;\n itemDef.femaleEquipt = 13083;\n itemDef.maleEquipt = 13083;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = -1;\n itemDef.groundModelId = 13084;\n itemDef.stackable = false;\n itemDef.description = \"Auron's Celestial Weapon: The Masamune.\";\n itemDef.modelZoom = 1957;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modelRotation1 = 498;\n itemDef.modelRotation2 = 484;\n break;\n }\n case 19000: {\n itemDef.name = \"@yel@drygore Mace\";\n itemDef.value = 2000000000;\n itemDef.femaleEquipt = 19001;\n itemDef.maleEquipt = 19001;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = -1;\n itemDef.groundModelId = 19000;\n itemDef.stackable = false;\n itemDef.description = \"Its's a drygore weapon.\";\n itemDef.modelZoom = 1250;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modelRotation1 = 498;\n itemDef.modelRotation2 = 484;\n break;\n }\n case 18999: {\n itemDef.name = \"@yel@Upgraded drygore Mace\";\n itemDef.value = 2000000000;\n itemDef.femaleEquipt = 18999;\n itemDef.maleEquipt = 18999;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = -1;\n itemDef.groundModelId = 19000;\n itemDef.stackable = false;\n itemDef.description = \"Its's a drygore weapon.\";\n itemDef.modelZoom = 1250;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modelRotation1 = 498;\n itemDef.modelRotation2 = 484;\n break;\n }\n case 19001: {\n itemDef.name = \"@yel@drygore Mace ( broken )\";\n itemDef.value = 2000000000;\n itemDef.femaleEquipt = -1;\n itemDef.maleEquipt = -1;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = -1;\n itemDef.groundModelId = 19002;\n itemDef.stackable = false;\n itemDef.description = \"Its's a drygore weapon.\";\n itemDef.modelZoom = 1250;\n itemDef.modelRotation1 = 498;\n itemDef.modelRotation2 = 484;\n break;\n }\n case 8671: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 11200;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Yellow h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 19002: {\n itemDef.name = \"@yel@drygore Mace ( off-hand )\";\n itemDef.value = 2000000000;\n itemDef.femaleEquipt = 19003;\n itemDef.maleEquipt = 19003;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = -1;\n itemDef.groundModelId = 19003;\n itemDef.stackable = false;\n itemDef.description = \"Its's a drygore weapon.\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wield\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modelZoom = 1250;\n itemDef.modelRotation1 = 498;\n itemDef.modelRotation2 = 484;\n break;\n }\n case 19003: {\n itemDef.name = \"@yel@drygore Longsword ( off-hand )\";\n itemDef.value = 2000000000;\n itemDef.femaleEquipt = 19004;\n itemDef.maleEquipt = 19004;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = -1;\n itemDef.groundModelId = 19005;\n itemDef.stackable = false;\n itemDef.description = \"Its's a drygore weapon.\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wield\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modelZoom = 1250;\n itemDef.modelRotation1 = 498;\n itemDef.modelRotation2 = 484;\n break;\n }\n case 19004: {\n itemDef.name = \"@yel@drygore Longsword ( broken )\";\n itemDef.value = 2000000000;\n itemDef.femaleEquipt = -1;\n itemDef.maleEquipt = -1;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = -1;\n itemDef.groundModelId = 19006;\n itemDef.stackable = false;\n itemDef.description = \"Its's a drygore weapon.\";\n itemDef.modelZoom = 1250;\n itemDef.modelRotation1 = 498;\n itemDef.modelRotation2 = 484;\n break;\n }\n case 19005: {\n itemDef.name = \"@yel@drygore Longsword\";\n itemDef.value = 2000000000;\n itemDef.femaleEquipt = 19007;\n itemDef.maleEquipt = 19007;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = -1;\n itemDef.groundModelId = 19005;\n itemDef.stackable = false;\n itemDef.description = \"Its's a drygore weapon.\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wield\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modelZoom = 1250;\n itemDef.modelRotation1 = 498;\n itemDef.modelRotation2 = 484;\n break;\n }\n case 19006: {\n itemDef.name = \"@yel@drygore Rapier ( off-hand )\";\n itemDef.value = 2000000000;\n itemDef.femaleEquipt = 19008;\n itemDef.maleEquipt = 19008;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = -1;\n itemDef.groundModelId = 19009;\n itemDef.stackable = false;\n itemDef.description = \"Its's a drygore weapon.\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wield\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modelZoom = 1250;\n itemDef.modelRotation1 = 498;\n itemDef.modelRotation2 = 484;\n break;\n }\n case 19007: {\n itemDef.name = \"@yel@drygore Rapier\";\n itemDef.value = 2000000000;\n itemDef.femaleEquipt = 19010;\n itemDef.maleEquipt = 19010;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = -1;\n itemDef.groundModelId = 19009;\n itemDef.stackable = false;\n itemDef.description = \"Its's a drygore weapon.\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wield\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modelZoom = 1250;\n itemDef.modelRotation1 = 498;\n itemDef.modelRotation2 = 484;\n break;\n }\n case 19008: {\n itemDef.name = \"@yel@drygore Rapier ( broken )\";\n itemDef.value = 2000000000;\n itemDef.femaleEquipt = -1;\n itemDef.maleEquipt = -1;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = -1;\n itemDef.groundModelId = 19011;\n itemDef.stackable = false;\n itemDef.description = \"Its's a drygore weapon.\";\n itemDef.modelZoom = 1250;\n itemDef.modelRotation1 = 498;\n itemDef.modelRotation2 = 484;\n break;\n }\n case 19009: {\n itemDef.name = \"Halo Sword\";\n itemDef.value = 2000000000;\n itemDef.femaleEquipt = 19013;\n itemDef.maleEquipt = 19013;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.modelOffset1 = -1;\n itemDef.modelOffset2 = -1;\n itemDef.groundModelId = 19012;\n itemDef.stackable = false;\n itemDef.description = \"its a sword from halo game.\";\n itemDef.modelZoom = 1250;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wield\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modelRotation1 = 498;\n itemDef.modelRotation2 = 484;\n break;\n }\n case 8673: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 6073;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Orange h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 8675: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 32895;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Random h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 8695: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 57300;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Hot h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 8697: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 34503;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Winter h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 8677: {\n itemDef.groundModelId = 40920;\n itemDef.name = \"Pink Special spirit shield\";\n itemDef.description = \"It's a Spectral spirit shield\";\n itemDef.modifiedModelColors = new int[13];\n itemDef.originalModelColors = new int[13];\n itemDef.modifiedModelColors[0] = 44635;\n itemDef.originalModelColors[0] = 62135;\n itemDef.modifiedModelColors[1] = 44612;\n itemDef.originalModelColors[1] = 62135;\n itemDef.modifiedModelColors[2] = 44606;\n itemDef.originalModelColors[2] = 62135;\n itemDef.modifiedModelColors[3] = 44615;\n itemDef.originalModelColors[3] = 62135;\n itemDef.modifiedModelColors[4] = 44641;\n itemDef.originalModelColors[4] = 62135;\n itemDef.modifiedModelColors[5] = 44564;\n itemDef.originalModelColors[5] = 62135;\n itemDef.modifiedModelColors[6] = 44575;\n itemDef.originalModelColors[6] = 62135;\n itemDef.modifiedModelColors[7] = 44618;\n itemDef.originalModelColors[7] = 62135;\n itemDef.modifiedModelColors[8] = 105;\n itemDef.originalModelColors[8] = 6073;\n itemDef.modifiedModelColors[9] = 44603;\n itemDef.originalModelColors[9] = 62135;\n itemDef.modifiedModelColors[10] = 44570;\n itemDef.originalModelColors[10] = 62135;\n itemDef.modifiedModelColors[11] = 4500;\n itemDef.originalModelColors[11] = 62135;\n itemDef.modelZoom = 1616;\n itemDef.modelRotation1 = 396;\n itemDef.modelRotation2 = 1050;\n itemDef.modelOffset2 = -3;\n itemDef.modelOffset1 = 4;\n itemDef.femaleEquipt = 40940;\n itemDef.maleEquipt = 40940;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 8679: {\n itemDef.groundModelId = 5412;\n itemDef.name = \"Cyan Whip\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.modelZoom = 840;\n itemDef.femaleEquipt = 5409;\n itemDef.maleEquipt = 5409;\n itemDef.modelRotation1 = 280;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = -2;\n itemDef.modelOffset2 = 56;\n itemDef.aByte205 = (byte)7;\n itemDef.aByte154 = (byte)-7;\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors[0] = 34503;\n itemDef.modifiedModelColors[0] = 944;\n itemDef.stackable = false;\n break;\n }\n case 8687: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 34503;\n itemDef.groundModelId = 2635;\n itemDef.modelZoom = 440;\n itemDef.modelRotation1 = 76;\n itemDef.modelRotation2 = 1850;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 1;\n itemDef.modelOffset2 = 1;\n itemDef.femaleEquipt = 187;\n itemDef.maleEquipt = 363;\n itemDef.anInt175 = 29;\n itemDef.anInt197 = 87;\n itemDef.name = \"Cyan Party Hat\";\n itemDef.description = \"An Cyan Party Hat.\";\n break;\n }\n case 8689: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 57300;\n itemDef.groundModelId = 2635;\n itemDef.modelZoom = 440;\n itemDef.modelRotation1 = 76;\n itemDef.modelRotation2 = 1850;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 1;\n itemDef.modelOffset2 = 1;\n itemDef.femaleEquipt = 187;\n itemDef.maleEquipt = 363;\n itemDef.anInt175 = 29;\n itemDef.anInt197 = 87;\n itemDef.name = \"Random Party Hat\";\n itemDef.description = \"An Random Party Hat.\";\n break;\n }\n case 8691: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 14898140;\n itemDef.groundModelId = 2635;\n itemDef.modelZoom = 440;\n itemDef.modelRotation1 = 76;\n itemDef.modelRotation2 = 1850;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 1;\n itemDef.modelOffset2 = 1;\n itemDef.femaleEquipt = 187;\n itemDef.maleEquipt = 363;\n itemDef.anInt175 = 29;\n itemDef.anInt197 = 87;\n itemDef.name = \"Random Party Hat\";\n itemDef.description = \"An Random Party Hat.\";\n break;\n }\n case 8693: {\n itemDef.groundModelId = 40920;\n itemDef.name = \"De'Vil spirit shield\";\n itemDef.description = \"It's a Spectral spirit shield\";\n itemDef.modifiedModelColors = new int[13];\n itemDef.originalModelColors = new int[13];\n itemDef.modifiedModelColors[0] = 44635;\n itemDef.originalModelColors[0] = 924;\n itemDef.modifiedModelColors[1] = 44612;\n itemDef.originalModelColors[1] = 924;\n itemDef.modifiedModelColors[2] = 44606;\n itemDef.originalModelColors[2] = 924;\n itemDef.modifiedModelColors[3] = 44615;\n itemDef.originalModelColors[3] = 924;\n itemDef.modifiedModelColors[4] = 44641;\n itemDef.originalModelColors[4] = 924;\n itemDef.modifiedModelColors[5] = 44564;\n itemDef.originalModelColors[5] = 924;\n itemDef.modifiedModelColors[6] = 44575;\n itemDef.originalModelColors[6] = 924;\n itemDef.modifiedModelColors[7] = 44618;\n itemDef.originalModelColors[7] = 924;\n itemDef.modifiedModelColors[8] = 105;\n itemDef.originalModelColors[8] = 105;\n itemDef.modifiedModelColors[9] = 44603;\n itemDef.originalModelColors[9] = 924;\n itemDef.modifiedModelColors[10] = 44570;\n itemDef.originalModelColors[10] = 924;\n itemDef.modifiedModelColors[11] = 4500;\n itemDef.originalModelColors[11] = 924;\n itemDef.modelZoom = 1616;\n itemDef.modelRotation1 = 396;\n itemDef.modelRotation2 = 1050;\n itemDef.modelOffset2 = -3;\n itemDef.modelOffset1 = 4;\n itemDef.femaleEquipt = 40940;\n itemDef.maleEquipt = 40940;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 8699: {\n itemDef.groundModelId = 40920;\n itemDef.name = \"Saradomin spirit shield\";\n itemDef.description = \"It's a Spectral spirit shield\";\n itemDef.modifiedModelColors = new int[13];\n itemDef.originalModelColors = new int[13];\n itemDef.modifiedModelColors[0] = 44635;\n itemDef.originalModelColors[0] = 105;\n itemDef.modifiedModelColors[1] = 44612;\n itemDef.originalModelColors[1] = 105;\n itemDef.modifiedModelColors[2] = 44606;\n itemDef.originalModelColors[2] = 105;\n itemDef.modifiedModelColors[3] = 44615;\n itemDef.originalModelColors[3] = 105;\n itemDef.modifiedModelColors[4] = 44641;\n itemDef.originalModelColors[4] = 105;\n itemDef.modifiedModelColors[5] = 44564;\n itemDef.originalModelColors[5] = 105;\n itemDef.modifiedModelColors[6] = 44575;\n itemDef.originalModelColors[6] = 105;\n itemDef.modifiedModelColors[7] = 44618;\n itemDef.originalModelColors[7] = 105;\n itemDef.modifiedModelColors[8] = 105;\n itemDef.originalModelColors[8] = 105;\n itemDef.modifiedModelColors[9] = 44603;\n itemDef.originalModelColors[9] = 105;\n itemDef.modifiedModelColors[10] = 44570;\n itemDef.originalModelColors[10] = 105;\n itemDef.modifiedModelColors[11] = 4500;\n itemDef.originalModelColors[11] = 105;\n itemDef.modelZoom = 1616;\n itemDef.modelRotation1 = 396;\n itemDef.modelRotation2 = 1050;\n itemDef.modelOffset2 = -3;\n itemDef.modelOffset1 = 4;\n itemDef.femaleEquipt = 40940;\n itemDef.maleEquipt = 40940;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 8701: {\n itemDef.groundModelId = 40920;\n itemDef.name = \"Lava spirit shield\";\n itemDef.description = \"It's a Spectral spirit shield\";\n itemDef.modifiedModelColors = new int[13];\n itemDef.originalModelColors = new int[13];\n itemDef.modifiedModelColors[0] = 44635;\n itemDef.originalModelColors[0] = 6073;\n itemDef.modifiedModelColors[1] = 44612;\n itemDef.originalModelColors[1] = 6073;\n itemDef.modifiedModelColors[2] = 44606;\n itemDef.originalModelColors[2] = 6073;\n itemDef.modifiedModelColors[3] = 44615;\n itemDef.originalModelColors[3] = 6073;\n itemDef.modifiedModelColors[4] = 44641;\n itemDef.originalModelColors[4] = 6073;\n itemDef.modifiedModelColors[5] = 44564;\n itemDef.originalModelColors[5] = 6073;\n itemDef.modifiedModelColors[6] = 44575;\n itemDef.originalModelColors[6] = 6073;\n itemDef.modifiedModelColors[7] = 44618;\n itemDef.originalModelColors[7] = 6073;\n itemDef.modifiedModelColors[8] = 105;\n itemDef.originalModelColors[8] = 105;\n itemDef.modifiedModelColors[9] = 44603;\n itemDef.originalModelColors[9] = 6073;\n itemDef.modifiedModelColors[10] = 44570;\n itemDef.originalModelColors[10] = 6073;\n itemDef.modifiedModelColors[11] = 4500;\n itemDef.originalModelColors[11] = 6073;\n itemDef.modelZoom = 1616;\n itemDef.modelRotation1 = 396;\n itemDef.modelRotation2 = 1050;\n itemDef.modelOffset2 = -3;\n itemDef.modelOffset1 = 4;\n itemDef.femaleEquipt = 40940;\n itemDef.maleEquipt = 40940;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 8717: {\n itemDef.groundModelId = 40920;\n itemDef.name = \"DOOM spirit shield\";\n itemDef.description = \"It's a Spectral spirit shield\";\n itemDef.modifiedModelColors = new int[13];\n itemDef.originalModelColors = new int[13];\n itemDef.modifiedModelColors[0] = 44635;\n itemDef.originalModelColors[0] = 1;\n itemDef.modifiedModelColors[1] = 44612;\n itemDef.originalModelColors[1] = 1;\n itemDef.modifiedModelColors[2] = 44606;\n itemDef.originalModelColors[2] = 1;\n itemDef.modifiedModelColors[3] = 44615;\n itemDef.originalModelColors[3] = 1;\n itemDef.modifiedModelColors[4] = 44641;\n itemDef.originalModelColors[4] = 1;\n itemDef.modifiedModelColors[5] = 44564;\n itemDef.originalModelColors[5] = 1;\n itemDef.modifiedModelColors[6] = 44575;\n itemDef.originalModelColors[6] = 1;\n itemDef.modifiedModelColors[7] = 44618;\n itemDef.originalModelColors[7] = 1;\n itemDef.modifiedModelColors[8] = 105;\n itemDef.originalModelColors[8] = 17350;\n itemDef.modifiedModelColors[9] = 44603;\n itemDef.originalModelColors[9] = 1;\n itemDef.modifiedModelColors[10] = 44570;\n itemDef.originalModelColors[10] = 1;\n itemDef.modifiedModelColors[11] = 4500;\n itemDef.originalModelColors[11] = 1;\n itemDef.modelZoom = 1616;\n itemDef.modelRotation1 = 396;\n itemDef.modelRotation2 = 1050;\n itemDef.modelOffset2 = -3;\n itemDef.modelOffset1 = 4;\n itemDef.femaleEquipt = 40940;\n itemDef.maleEquipt = 40940;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 8719: {\n itemDef.groundModelId = 40920;\n itemDef.name = \"Lime spirit shield\";\n itemDef.description = \"It's a Spectral spirit shield\";\n itemDef.modifiedModelColors = new int[13];\n itemDef.originalModelColors = new int[13];\n itemDef.modifiedModelColors[0] = 44635;\n itemDef.originalModelColors[0] = 17350;\n itemDef.modifiedModelColors[1] = 44612;\n itemDef.originalModelColors[1] = 17350;\n itemDef.modifiedModelColors[2] = 44606;\n itemDef.originalModelColors[2] = 17350;\n itemDef.modifiedModelColors[3] = 44615;\n itemDef.originalModelColors[3] = 17350;\n itemDef.modifiedModelColors[4] = 44641;\n itemDef.originalModelColors[4] = 17350;\n itemDef.modifiedModelColors[5] = 44564;\n itemDef.originalModelColors[5] = 17350;\n itemDef.modifiedModelColors[6] = 44575;\n itemDef.originalModelColors[6] = 17350;\n itemDef.modifiedModelColors[7] = 44618;\n itemDef.originalModelColors[7] = 17350;\n itemDef.modifiedModelColors[8] = 105;\n itemDef.originalModelColors[8] = 105;\n itemDef.modifiedModelColors[9] = 44603;\n itemDef.originalModelColors[9] = 17350;\n itemDef.modifiedModelColors[10] = 44570;\n itemDef.originalModelColors[10] = 17350;\n itemDef.modifiedModelColors[11] = 4500;\n itemDef.originalModelColors[11] = 17350;\n itemDef.modelZoom = 1616;\n itemDef.modelRotation1 = 396;\n itemDef.modelRotation2 = 1050;\n itemDef.modelOffset2 = -3;\n itemDef.modelOffset1 = 4;\n itemDef.femaleEquipt = 40940;\n itemDef.maleEquipt = 40940;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 8721: {\n itemDef.groundModelId = 40920;\n itemDef.name = \"Shaded spirit shield\";\n itemDef.description = \"It's a Spectral spirit shield\";\n itemDef.modifiedModelColors = new int[13];\n itemDef.originalModelColors = new int[13];\n itemDef.modifiedModelColors[0] = 44635;\n itemDef.originalModelColors[0] = 6028;\n itemDef.modifiedModelColors[1] = 44612;\n itemDef.originalModelColors[1] = 6028;\n itemDef.modifiedModelColors[2] = 44606;\n itemDef.originalModelColors[2] = 6028;\n itemDef.modifiedModelColors[3] = 44615;\n itemDef.originalModelColors[3] = 6028;\n itemDef.modifiedModelColors[4] = 44641;\n itemDef.originalModelColors[4] = 6028;\n itemDef.modifiedModelColors[5] = 44564;\n itemDef.originalModelColors[5] = 6028;\n itemDef.modifiedModelColors[6] = 44575;\n itemDef.originalModelColors[6] = 6028;\n itemDef.modifiedModelColors[7] = 44618;\n itemDef.originalModelColors[7] = 6028;\n itemDef.modifiedModelColors[8] = 105;\n itemDef.originalModelColors[8] = 105;\n itemDef.modifiedModelColors[9] = 44603;\n itemDef.originalModelColors[9] = 6028;\n itemDef.modifiedModelColors[10] = 44570;\n itemDef.originalModelColors[10] = 6028;\n itemDef.modifiedModelColors[11] = 4500;\n itemDef.originalModelColors[11] = 6028;\n itemDef.modelZoom = 1616;\n itemDef.modelRotation1 = 396;\n itemDef.modelRotation2 = 1050;\n itemDef.modelOffset2 = -3;\n itemDef.modelOffset1 = 4;\n itemDef.femaleEquipt = 40940;\n itemDef.maleEquipt = 40940;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 8723: {\n itemDef.groundModelId = 40920;\n itemDef.name = \"DragonBone shield\";\n itemDef.description = \"It's a Spectral spirit shield\";\n itemDef.modifiedModelColors = new int[13];\n itemDef.originalModelColors = new int[13];\n itemDef.modifiedModelColors[0] = 44635;\n itemDef.originalModelColors[0] = 44635;\n itemDef.modifiedModelColors[1] = 44612;\n itemDef.originalModelColors[1] = 44612;\n itemDef.modifiedModelColors[2] = 44606;\n itemDef.originalModelColors[2] = 44606;\n itemDef.modifiedModelColors[3] = 44615;\n itemDef.originalModelColors[3] = 44615;\n itemDef.modifiedModelColors[4] = 44641;\n itemDef.originalModelColors[4] = 6028;\n itemDef.modifiedModelColors[5] = 44564;\n itemDef.originalModelColors[5] = 44564;\n itemDef.modifiedModelColors[6] = 44575;\n itemDef.originalModelColors[6] = 44575;\n itemDef.modifiedModelColors[7] = 44618;\n itemDef.originalModelColors[7] = 44618;\n itemDef.modifiedModelColors[8] = 105;\n itemDef.originalModelColors[8] = 1;\n itemDef.modifiedModelColors[9] = 44603;\n itemDef.originalModelColors[9] = 44603;\n itemDef.modifiedModelColors[10] = 44570;\n itemDef.originalModelColors[10] = 6028;\n itemDef.modifiedModelColors[11] = 4500;\n itemDef.originalModelColors[11] = 4500;\n itemDef.modelZoom = 1616;\n itemDef.modelRotation1 = 396;\n itemDef.modelRotation2 = 1050;\n itemDef.modelOffset2 = -3;\n itemDef.modelOffset1 = 4;\n itemDef.femaleEquipt = 40940;\n itemDef.maleEquipt = 40940;\n itemDef.groundActions = new String[5];\n itemDef.groundActions[2] = \"Take\";\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n break;\n }\n case 8711: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 17350;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Lime h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14018: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 6028;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Bronze h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14019: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 33;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Iron h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14020: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 61;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Steel h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14021: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 6020;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Black h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14022: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 255;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"White h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14023: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 43297;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Mithril h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14024: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 21662;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Adamant h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14025: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 36252;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Rune h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14026: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 945;\n itemDef.originalModelColors[0] = 926;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Dragon h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14027: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 6073;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Lava h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14028: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.rdc3 = 521111;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Pink hell h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14029: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.rdc3 = 225555;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Green hell h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14030: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.rdc3 = 152222;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Lime hell h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14031: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.rdc3 = 834788;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"White hell h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14032: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.rdc3 = 1555;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Bronze hell h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14033: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.rdc3 = 52666;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Purple hell h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14034: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 51136;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Purple h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14035: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 290770;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Blurite h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 14036: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.itemActions[4] = \"Drop\";\n itemDef.modifiedModelColors = new int[1];\n itemDef.originalModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 926;\n itemDef.originalModelColors[0] = 226770;\n itemDef.groundModelId = 2438;\n itemDef.modelZoom = 730;\n itemDef.modelRotation1 = 516;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.modelOffset2 = -10;\n itemDef.femaleEquipt = 3188;\n itemDef.maleEquipt = 3192;\n itemDef.name = \"Aqua h'ween Mask\";\n itemDef.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 938: {\n itemDef.name = \"Robin hood hat\";\n itemDef.groundModelId = 3021;\n itemDef.stackable = false;\n itemDef.modifiedModelColors = new int[3];\n itemDef.originalModelColors = new int[3];\n itemDef.modifiedModelColors[0] = 15009;\n itemDef.originalModelColors[0] = 3745;\n itemDef.modifiedModelColors[1] = 17294;\n itemDef.originalModelColors[1] = 3982;\n itemDef.modifiedModelColors[2] = 15252;\n itemDef.originalModelColors[2] = 3988;\n itemDef.modelZoom = 650;\n itemDef.modelRotation1 = 2044;\n itemDef.modelRotation2 = 256;\n itemDef.modelOffset1 = -3;\n itemDef.modelOffset2 = -2;\n itemDef.femaleEquipt = 3378;\n itemDef.maleEquipt = 3382;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 939: {\n itemDef.name = \"Robin hood hat\";\n itemDef.groundModelId = 3021;\n itemDef.stackable = false;\n itemDef.modifiedModelColors = new int[3];\n itemDef.originalModelColors = new int[3];\n itemDef.modifiedModelColors[0] = 15009;\n itemDef.originalModelColors[0] = 30847;\n itemDef.modifiedModelColors[1] = 17294;\n itemDef.originalModelColors[1] = 32895;\n itemDef.modifiedModelColors[2] = 15252;\n itemDef.originalModelColors[2] = 30847;\n itemDef.modelZoom = 650;\n itemDef.modelRotation1 = 2044;\n itemDef.modelRotation2 = 256;\n itemDef.modelOffset1 = -3;\n itemDef.modelOffset2 = -2;\n itemDef.femaleEquipt = 3378;\n itemDef.maleEquipt = 3382;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 940: {\n itemDef.name = \"Robin hood hat\";\n itemDef.groundModelId = 3021;\n itemDef.stackable = false;\n itemDef.modifiedModelColors = new int[3];\n itemDef.originalModelColors = new int[3];\n itemDef.modifiedModelColors[0] = 15009;\n itemDef.originalModelColors[0] = 10015;\n itemDef.modifiedModelColors[1] = 17294;\n itemDef.originalModelColors[1] = 7730;\n itemDef.modifiedModelColors[2] = 15252;\n itemDef.originalModelColors[2] = 7973;\n itemDef.modelZoom = 650;\n itemDef.modelRotation1 = 2044;\n itemDef.modelRotation2 = 256;\n itemDef.modelOffset1 = -3;\n itemDef.modelOffset2 = -2;\n itemDef.femaleEquipt = 3378;\n itemDef.maleEquipt = 3382;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 941: {\n itemDef.name = \"Robin hood hat\";\n itemDef.groundModelId = 3021;\n itemDef.stackable = false;\n itemDef.modifiedModelColors = new int[3];\n itemDef.originalModelColors = new int[3];\n itemDef.modifiedModelColors[0] = 15009;\n itemDef.originalModelColors[0] = 35489;\n itemDef.modifiedModelColors[1] = 17294;\n itemDef.originalModelColors[1] = 37774;\n itemDef.modifiedModelColors[2] = 15252;\n itemDef.originalModelColors[2] = 35732;\n itemDef.modelZoom = 650;\n itemDef.modelRotation1 = 2044;\n itemDef.modelRotation2 = 256;\n itemDef.modelOffset1 = -3;\n itemDef.modelOffset2 = -2;\n itemDef.femaleEquipt = 3378;\n itemDef.maleEquipt = 3382;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 904: {\n itemDef.name = \"Gnome scarf\";\n itemDef.stackable = false;\n itemDef.groundModelId = 17125;\n itemDef.modifiedModelColors = new int[3];\n itemDef.originalModelColors = new int[3];\n itemDef.modifiedModelColors[0] = 119;\n itemDef.originalModelColors[0] = 7737;\n itemDef.modifiedModelColors[1] = 103;\n itemDef.originalModelColors[1] = 7737;\n itemDef.modifiedModelColors[2] = 127;\n itemDef.originalModelColors[2] = 7737;\n itemDef.modelZoom = 919;\n itemDef.modelRotation1 = 595;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = -7;\n itemDef.modelOffset2 = 8;\n itemDef.femaleEquipt = 17155;\n itemDef.maleEquipt = 17157;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 943: {\n itemDef.name = \"Gnome scarf\";\n itemDef.groundModelId = 17125;\n itemDef.stackable = false;\n itemDef.modifiedModelColors = new int[3];\n itemDef.originalModelColors = new int[3];\n itemDef.modifiedModelColors[0] = 119;\n itemDef.originalModelColors[0] = 725;\n itemDef.modifiedModelColors[1] = 103;\n itemDef.originalModelColors[1] = 725;\n itemDef.modifiedModelColors[2] = 127;\n itemDef.originalModelColors[2] = 725;\n itemDef.modelZoom = 919;\n itemDef.modelRotation1 = 595;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = -7;\n itemDef.modelOffset2 = 8;\n itemDef.femaleEquipt = 17155;\n itemDef.maleEquipt = 17157;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 906: {\n itemDef.name = \"Gnome scarf\";\n itemDef.groundModelId = 17125;\n itemDef.stackable = false;\n itemDef.modifiedModelColors = new int[3];\n itemDef.originalModelColors = new int[3];\n itemDef.modifiedModelColors[0] = 119;\n itemDef.originalModelColors[0] = -22250;\n itemDef.modifiedModelColors[1] = 103;\n itemDef.originalModelColors[1] = -22250;\n itemDef.modifiedModelColors[2] = 127;\n itemDef.originalModelColors[2] = -22250;\n itemDef.modelZoom = 919;\n itemDef.modelRotation1 = 595;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = -7;\n itemDef.modelOffset2 = 8;\n itemDef.femaleEquipt = 17155;\n itemDef.maleEquipt = 17157;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 899: {\n itemDef.name = \"Gnome scarf\";\n itemDef.groundModelId = 17125;\n itemDef.stackable = false;\n itemDef.modifiedModelColors = new int[3];\n itemDef.originalModelColors = new int[3];\n itemDef.modifiedModelColors[0] = 119;\n itemDef.originalModelColors[0] = 23970;\n itemDef.modifiedModelColors[1] = 103;\n itemDef.originalModelColors[1] = 23970;\n itemDef.modifiedModelColors[2] = 127;\n itemDef.originalModelColors[2] = 23970;\n itemDef.modelZoom = 919;\n itemDef.modelRotation1 = 595;\n itemDef.modelRotation2 = 0;\n itemDef.modelOffset1 = -7;\n itemDef.modelOffset2 = 8;\n itemDef.femaleEquipt = 17155;\n itemDef.maleEquipt = 17157;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 19904: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.originalModelColors = new int[1];\n itemDef.originalModelColors[0] = 57300;\n itemDef.modifiedModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 944;\n itemDef.groundModelId = 5412;\n itemDef.modelZoom = 840;\n itemDef.modelRotation1 = 280;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = -2;\n itemDef.modelOffset2 = 56;\n itemDef.femaleEquipt = 5409;\n itemDef.maleEquipt = 5409;\n itemDef.anInt188 = -1;\n itemDef.anInt164 = -1;\n itemDef.anInt175 = -1;\n itemDef.anInt197 = -1;\n itemDef.name = \"Pink Whip\";\n itemDef.stackable = false;\n itemDef.description = \"A weapon from the abyss.\";\n break;\n }\n case 19905: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.originalModelColors = new int[1];\n itemDef.originalModelColors[0] = 1;\n itemDef.modifiedModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 944;\n itemDef.groundModelId = 5412;\n itemDef.modelZoom = 840;\n itemDef.modelRotation1 = 280;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = -2;\n itemDef.modelOffset2 = 56;\n itemDef.femaleEquipt = 5409;\n itemDef.maleEquipt = 5409;\n itemDef.anInt188 = -1;\n itemDef.anInt164 = -1;\n itemDef.anInt175 = -1;\n itemDef.anInt197 = -1;\n itemDef.name = \"Black Whip\";\n itemDef.stackable = false;\n itemDef.description = \"A weapon from the abyss.\";\n break;\n }\n case 19906: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.originalModelColors = new int[1];\n itemDef.originalModelColors[0] = 33;\n itemDef.modifiedModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 944;\n itemDef.groundModelId = 5412;\n itemDef.modelZoom = 840;\n itemDef.modelRotation1 = 280;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = -2;\n itemDef.modelOffset2 = 56;\n itemDef.femaleEquipt = 5409;\n itemDef.maleEquipt = 5409;\n itemDef.anInt188 = -1;\n itemDef.anInt164 = -1;\n itemDef.anInt175 = -1;\n itemDef.anInt197 = -1;\n itemDef.name = \"Iron Whip\";\n itemDef.stackable = false;\n itemDef.description = \"A weapon from the abyss.\";\n break;\n }\n case 19908: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.originalModelColors = new int[1];\n itemDef.originalModelColors[0] = 21662;\n itemDef.modifiedModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 944;\n itemDef.groundModelId = 5412;\n itemDef.modelZoom = 840;\n itemDef.modelRotation1 = 280;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = -2;\n itemDef.modelOffset2 = 56;\n itemDef.femaleEquipt = 5409;\n itemDef.maleEquipt = 5409;\n itemDef.anInt188 = -1;\n itemDef.anInt164 = -1;\n itemDef.anInt175 = -1;\n itemDef.anInt197 = -1;\n itemDef.name = \"Adamant Whip\";\n itemDef.stackable = false;\n itemDef.description = \"A weapon from the abyss.\";\n break;\n }\n case 19909: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.originalModelColors = new int[1];\n itemDef.originalModelColors[0] = 43297;\n itemDef.modifiedModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 944;\n itemDef.groundModelId = 5412;\n itemDef.modelZoom = 840;\n itemDef.modelRotation1 = 280;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = -2;\n itemDef.modelOffset2 = 56;\n itemDef.femaleEquipt = 5409;\n itemDef.maleEquipt = 5409;\n itemDef.anInt188 = -1;\n itemDef.anInt164 = -1;\n itemDef.anInt175 = -1;\n itemDef.anInt197 = -1;\n itemDef.name = \"Mithirl Whip\";\n itemDef.stackable = false;\n itemDef.description = \"a weapon from the abyss\";\n break;\n }\n case 19910: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.originalModelColors = new int[1];\n itemDef.originalModelColors[0] = 49823;\n itemDef.modifiedModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 944;\n itemDef.groundModelId = 5412;\n itemDef.modelZoom = 840;\n itemDef.modelRotation1 = 280;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = -2;\n itemDef.modelOffset2 = 56;\n itemDef.femaleEquipt = 5409;\n itemDef.maleEquipt = 5409;\n itemDef.anInt188 = -1;\n itemDef.anInt164 = -1;\n itemDef.anInt175 = -1;\n itemDef.anInt197 = -1;\n itemDef.name = \"Elemental Whip\";\n itemDef.stackable = false;\n itemDef.description = \"a weapon from the abyss\";\n break;\n }\n case 19911: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.originalModelColors = new int[1];\n itemDef.originalModelColors[0] = 17350;\n itemDef.modifiedModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 944;\n itemDef.groundModelId = 5412;\n itemDef.modelZoom = 840;\n itemDef.modelRotation1 = 280;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = -2;\n itemDef.modelOffset2 = 56;\n itemDef.femaleEquipt = 5409;\n itemDef.maleEquipt = 5409;\n itemDef.anInt188 = -1;\n itemDef.anInt164 = -1;\n itemDef.anInt175 = -1;\n itemDef.anInt197 = -1;\n itemDef.name = \"Lime Whip\";\n itemDef.stackable = false;\n itemDef.description = \"A weapon from the abyss.\";\n break;\n }\n case 19913: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.originalModelColors = new int[1];\n itemDef.originalModelColors[0] = 43072;\n itemDef.modifiedModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 944;\n itemDef.groundModelId = 5412;\n itemDef.modelZoom = 840;\n itemDef.modelRotation1 = 280;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = -2;\n itemDef.modelOffset2 = 56;\n itemDef.femaleEquipt = 5409;\n itemDef.maleEquipt = 5409;\n itemDef.anInt188 = -1;\n itemDef.anInt164 = -1;\n itemDef.anInt175 = -1;\n itemDef.anInt197 = -1;\n itemDef.name = \"Steel Whip\";\n itemDef.stackable = false;\n itemDef.description = \"A weapon from the abyss.\";\n break;\n }\n case 19914: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.originalModelColors = new int[1];\n itemDef.originalModelColors[0] = 36133;\n itemDef.modifiedModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 944;\n itemDef.groundModelId = 5412;\n itemDef.modelZoom = 840;\n itemDef.modelRotation1 = 280;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = -2;\n itemDef.modelOffset2 = 56;\n itemDef.femaleEquipt = 5409;\n itemDef.maleEquipt = 5409;\n itemDef.anInt188 = -1;\n itemDef.anInt164 = -1;\n itemDef.anInt175 = -1;\n itemDef.anInt197 = -1;\n itemDef.name = \"Rune Whip\";\n itemDef.stackable = false;\n itemDef.description = \"A weapon from the abyss.\";\n break;\n }\n case 19915: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.originalModelColors = new int[1];\n itemDef.originalModelColors[0] = 7833;\n itemDef.modifiedModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 944;\n itemDef.groundModelId = 5412;\n itemDef.modelZoom = 840;\n itemDef.modelRotation1 = 280;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = -2;\n itemDef.modelOffset2 = 56;\n itemDef.femaleEquipt = 5409;\n itemDef.maleEquipt = 5409;\n itemDef.anInt188 = -1;\n itemDef.anInt164 = -1;\n itemDef.anInt175 = -1;\n itemDef.anInt197 = -1;\n itemDef.name = \"Barrows Whip\";\n itemDef.stackable = false;\n itemDef.description = \"A weapon from the abyss.\";\n break;\n }\n case 19916: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.originalModelColors = new int[1];\n itemDef.originalModelColors[0] = 6073;\n itemDef.modifiedModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 944;\n itemDef.groundModelId = 5412;\n itemDef.modelZoom = 840;\n itemDef.modelRotation1 = 280;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = -2;\n itemDef.modelOffset2 = 56;\n itemDef.femaleEquipt = 5409;\n itemDef.maleEquipt = 5409;\n itemDef.anInt188 = -1;\n itemDef.anInt164 = -1;\n itemDef.anInt175 = -1;\n itemDef.anInt197 = -1;\n itemDef.name = \"Lava Whip\";\n itemDef.stackable = false;\n itemDef.description = \"A weapon from the abyss.\";\n break;\n }\n case 19907: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.originalModelColors = new int[1];\n itemDef.originalModelColors[0] = 6028;\n itemDef.modifiedModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 944;\n itemDef.groundModelId = 5412;\n itemDef.modelZoom = 840;\n itemDef.modelRotation1 = 280;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = -2;\n itemDef.modelOffset2 = 56;\n itemDef.femaleEquipt = 5409;\n itemDef.maleEquipt = 5409;\n itemDef.anInt188 = -1;\n itemDef.anInt164 = -1;\n itemDef.anInt175 = -1;\n itemDef.anInt197 = -1;\n itemDef.name = \"Bronze Whip\";\n itemDef.stackable = false;\n itemDef.description = \"A weapon from the abyss.\";\n break;\n }\n case 19912: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.originalModelColors = new int[1];\n itemDef.originalModelColors[0] = 1000;\n itemDef.modifiedModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 944;\n itemDef.groundModelId = 5412;\n itemDef.modelZoom = 840;\n itemDef.modelRotation1 = 280;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = -2;\n itemDef.modelOffset2 = 56;\n itemDef.femaleEquipt = 5409;\n itemDef.maleEquipt = 5409;\n itemDef.anInt188 = -1;\n itemDef.anInt164 = -1;\n itemDef.anInt175 = -1;\n itemDef.anInt197 = -1;\n itemDef.name = \"Dragon Whip\";\n itemDef.stackable = false;\n itemDef.description = \"A weapon from the abyss.\";\n break;\n }\n case 19917: {\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.originalModelColors = new int[1];\n itemDef.originalModelColors[0] = 255;\n itemDef.modifiedModelColors = new int[1];\n itemDef.modifiedModelColors[0] = 944;\n itemDef.groundModelId = 5412;\n itemDef.modelZoom = 840;\n itemDef.modelRotation1 = 280;\n itemDef.modelRotation2 = 0;\n itemDef.anInt204 = 0;\n itemDef.modelOffset1 = -2;\n itemDef.modelOffset2 = 56;\n itemDef.femaleEquipt = 5409;\n itemDef.maleEquipt = 5409;\n itemDef.anInt188 = -1;\n itemDef.anInt164 = -1;\n itemDef.anInt175 = -1;\n itemDef.anInt197 = -1;\n itemDef.name = \"White Whip\";\n itemDef.description = \"A weapon from the abyss.\";\n itemDef.stackable = false;\n break;\n }\n case 798: {\n itemDef.name = \"Trickster helm\";\n itemDef.description = \"Its a Trickster helm\";\n itemDef.maleEquipt = 44764;\n itemDef.femaleEquipt = 44764;\n itemDef.groundModelId = 45328;\n itemDef.modelRotation1 = 5;\n itemDef.modelRotation2 = 1889;\n itemDef.modelZoom = 738;\n itemDef.modelOffset2 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 796: {\n itemDef.name = \"Trickster robe\";\n itemDef.description = \"Its a Trickster robe\";\n itemDef.maleEquipt = 44786;\n itemDef.femaleEquipt = 44786;\n itemDef.groundModelId = 45329;\n itemDef.modelRotation1 = 593;\n itemDef.modelRotation2 = 2041;\n itemDef.modelZoom = 1420;\n itemDef.modelOffset2 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 797: {\n itemDef.name = \"Trickster robe legs\";\n itemDef.description = \"Its a Trickster robe\";\n itemDef.maleEquipt = 44770;\n itemDef.femaleEquipt = 44770;\n itemDef.groundModelId = 45335;\n itemDef.modelRotation1 = 567;\n itemDef.modelRotation2 = 1023;\n itemDef.modelZoom = 2105;\n itemDef.modelOffset2 = 0;\n itemDef.modelOffset1 = 0;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n break;\n }\n case 1685: {\n itemDef.groundModelId = 45316;\n itemDef.name = \"Trickster boots\";\n itemDef.description = \"Its a Trickster boot\";\n itemDef.modelZoom = 848;\n itemDef.modelRotation2 = 141;\n itemDef.modelRotation1 = 141;\n itemDef.modelOffset1 = -9;\n itemDef.modelOffset2 = 0;\n itemDef.stackable = false;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.maleEquipt = 44757;\n itemDef.femaleEquipt = 44757;\n break;\n }\n case 894: {\n itemDef.groundModelId = 45317;\n itemDef.name = \"Trickster gloves\";\n itemDef.description = \"Its a Trickster glove\";\n itemDef.modelZoom = 830;\n itemDef.modelRotation2 = 150;\n itemDef.modelRotation1 = 536;\n itemDef.modelOffset1 = 1;\n itemDef.modelOffset2 = 3;\n itemDef.stackable = false;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.maleEquipt = 44761;\n itemDef.femaleEquipt = 44761;\n break;\n }\n case 895: {\n itemDef.groundModelId = 44633;\n itemDef.name = \"Vanguard helm\";\n itemDef.description = \"Its a Vanguard helm\";\n itemDef.modelZoom = 855;\n itemDef.modelRotation1 = 1966;\n itemDef.modelRotation2 = 5;\n itemDef.modelOffset2 = 4;\n itemDef.modelOffset1 = -1;\n itemDef.stackable = false;\n itemDef.itemActions = new String[5];\n itemDef.itemActions[1] = \"Wear\";\n itemDef.maleEquipt = 44769;\n itemDef.femaleEquipt = 44769;\n break;\n }\n case 896: {\n itemDef.groundModelId = 44627;\n itemDef.name = \"Vanguard body\";\n itemDef.description = \"Its a Vanguard body\";\n itemDef.modelZoom = 1513;\n itemDef.modelRotation2 = 2041;\n itemDef.modelRotation1 = 593;\n var1_1.modelOffset1 = 3;\n var1_1.modelOffset2 = -11;\n var1_1.stackable = false;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.maleEquipt = 44812;\n var1_1.femaleEquipt = 44812;\n break;\n }\n case 2052: {\n var1_1.groundModelId = 79903;\n var1_1.name = \"Vanguard legs\";\n var1_1.description = \"Its a Vanguard legs\";\n var1_1.modelZoom = 1711;\n var1_1.modelRotation2 = 0;\n var1_1.modelRotation1 = 360;\n var1_1.modelOffset1 = 3;\n var1_1.modelOffset2 = -11;\n var1_1.stackable = false;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.maleEquipt = 44768;\n var1_1.femaleEquipt = 44768;\n break;\n }\n case 898: {\n var1_1.groundModelId = 79340;\n var1_1.name = \"Vanguard gloves\";\n var1_1.description = \"Its a Vanguard glove\";\n var1_1.modelZoom = 830;\n var1_1.modelRotation2 = 0;\n var1_1.modelRotation1 = 536;\n var1_1.modelOffset1 = 9;\n var1_1.modelOffset2 = 3;\n var1_1.stackable = false;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.maleEquipt = 44758;\n var1_1.femaleEquipt = 44758;\n break;\n }\n case 18995: {\n var1_1.groundModelId = 44700;\n var1_1.name = \"Vanguard boots\";\n var1_1.description = \"Its a Vanguard boot\";\n var1_1.modelZoom = 848;\n var1_1.modelRotation2 = 141;\n var1_1.modelRotation1 = 141;\n var1_1.modelOffset1 = 4;\n var1_1.modelOffset2 = 0;\n var1_1.stackable = false;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.maleEquipt = 44752;\n var1_1.femaleEquipt = 44752;\n break;\n }\n case 900: {\n var1_1.groundModelId = 44704;\n var1_1.name = \"Battle-mage hat\";\n var1_1.description = \"Its a Battle-mage hat\";\n var1_1.modelZoom = 658;\n var1_1.modelRotation2 = 1898;\n var1_1.modelRotation1 = 2;\n var1_1.modelOffset1 = 12;\n var1_1.modelOffset2 = 3;\n var1_1.stackable = false;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.maleEquipt = 44767;\n var1_1.femaleEquipt = 44767;\n break;\n }\n case 901: {\n var1_1.groundModelId = 44631;\n var1_1.name = \"Battle-mage robe\";\n var1_1.description = \"Its a Battle-mage robe\";\n var1_1.modelZoom = 1382;\n var1_1.modelRotation2 = 3;\n var1_1.modelRotation1 = 488;\n var1_1.modelOffset1 = 1;\n var1_1.modelOffset2 = 0;\n var1_1.stackable = false;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.maleEquipt = 44818;\n var1_1.femaleEquipt = 44818;\n break;\n }\n case 902: {\n var1_1.groundModelId = 44672;\n var1_1.name = \"Battle-mage robe legs\";\n var1_1.description = \"Its a Battle-mage legs\";\n var1_1.modelZoom = 1842;\n var1_1.modelRotation2 = 1024;\n var1_1.modelRotation1 = 498;\n var1_1.modelOffset1 = 4;\n var1_1.modelOffset2 = -1;\n var1_1.stackable = false;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.maleEquipt = 44775;\n var1_1.femaleEquipt = 44775;\n break;\n }\n case 903: {\n var1_1.groundModelId = 44662;\n var1_1.name = \"Battle-mage boots\";\n var1_1.description = \"Its a Battle-mage boot\";\n var1_1.modelZoom = 987;\n var1_1.modelRotation2 = 1988;\n var1_1.modelRotation1 = 188;\n var1_1.modelOffset1 = -8;\n var1_1.modelOffset2 = 5;\n var1_1.stackable = false;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.maleEquipt = 44755;\n var1_1.femaleEquipt = 44755;\n break;\n }\n case 18994: {\n var1_1.groundModelId = 79341;\n var1_1.name = \"Battle-mage gloves\";\n var1_1.description = \"Its a Battle-mage glove\";\n var1_1.modelZoom = 1053;\n var1_1.modelRotation2 = 0;\n var1_1.modelRotation1 = 536;\n var1_1.modelOffset1 = 3;\n var1_1.modelOffset2 = 0;\n var1_1.stackable = false;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.maleEquipt = 44762;\n var1_1.femaleEquipt = 44762;\n break;\n }\n case 19016: {\n var1_1.name = \"Mario chomp chomp\";\n var1_1.value = 2000000000;\n var1_1.femaleEquipt = 19016;\n var1_1.maleEquipt = 19016;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -1;\n var1_1.groundModelId = 19016;\n var1_1.stackable = false;\n var1_1.description = \"Chomp Chomp!!\";\n var1_1.modelZoom = 1250;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wield\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 484;\n break;\n }\n case 19017: {\n var1_1.name = \"Iron Man Hat\";\n var1_1.value = 2000000000;\n var1_1.femaleEquipt = 71924;\n var1_1.maleEquipt = 71924;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -1;\n var1_1.groundModelId = 728;\n var1_1.stackable = false;\n var1_1.description = \"Some metalics shits!\";\n var1_1.modelZoom = 1250;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wield\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 484;\n break;\n }\n case 19019: {\n var1_1.groundModelId = 4423;\n var1_1.name = \"MineCraft Helm\";\n var1_1.description = \"MineCraft Helmet\";\n var1_1.modelZoom = 980;\n var1_1.modelRotation1 = 208;\n var1_1.modelRotation2 = 220;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -18;\n var1_1.femaleEquipt = 4424;\n var1_1.maleEquipt = 4424;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Craft\";\n break;\n }\n case 19022: {\n var1_1.groundModelId = 12234;\n var1_1.name = \"Bandos C'bow\";\n var1_1.description = \"Its a cbow make be bandos.\";\n var1_1.modelZoom = 1100;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 550;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -1;\n var1_1.femaleEquipt = 12233;\n var1_1.maleEquipt = 12233;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n break;\n }\n case 19023: {\n var1_1.groundModelId = 13421;\n var1_1.name = \"Dragon C'bow\";\n var1_1.description = \"Its a cbow make be dragon plate.\";\n var1_1.modelZoom = 1100;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 550;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -1;\n var1_1.femaleEquipt = 13422;\n var1_1.maleEquipt = 13422;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n break;\n }\n case 19024: {\n var1_1.groundModelId = 13086;\n var1_1.name = \"Obsidian bandos shield\";\n var1_1.description = \"Blablabla\";\n var1_1.modelZoom = 2000;\n var1_1.modelRotation1 = 572;\n var1_1.modelRotation2 = 1000;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 16;\n var1_1.femaleEquipt = 13087;\n var1_1.maleEquipt = 13087;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n break;\n }\n case 19025: {\n var1_1.groundModelId = 8394;\n var1_1.name = \"Birdy suit\";\n var1_1.description = \"Blablabla\";\n var1_1.modelZoom = 1250;\n var1_1.modelRotation1 = 494;\n var1_1.modelRotation2 = 484;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -1;\n var1_1.femaleEquipt = 8394;\n var1_1.maleEquipt = 8394;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n break;\n }\n case 8878: {\n var1_1.groundModelId = 13088;\n var1_1.name = \"Demon wind\";\n var1_1.description = \"Blablabla\";\n var1_1.modelZoom = 1967;\n var1_1.modelRotation1 = 434;\n var1_1.modelRotation2 = 0;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.femaleEquipt = 13089;\n var1_1.maleEquipt = 13089;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n break;\n }\n case 19031: {\n var1_1.groundModelId = 10031;\n var1_1.name = \"Paper Bag\";\n var1_1.description = \"Blablabla\";\n var1_1.modelZoom = 2500;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 383;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -1;\n var1_1.femaleEquipt = 10031;\n var1_1.maleEquipt = 10031;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n break;\n }\n case 19033: {\n var1_1.groundModelId = 14680;\n var1_1.name = \"Bow of Fame\";\n var1_1.description = \"Blablabla\";\n var1_1.modelZoom = 1957;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 484;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -1;\n var1_1.femaleEquipt = 14679;\n var1_1.maleEquipt = 14679;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n break;\n }\n case 19035: {\n var1_1.groundModelId = 13701;\n var1_1.name = \"Deathful Kite\";\n var1_1.description = \"Blablabla\";\n var1_1.modelZoom = 1560;\n var1_1.modelRotation1 = 344;\n var1_1.modelRotation2 = 1104;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -6;\n var1_1.femaleEquipt = 13700;\n var1_1.maleEquipt = 13700;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n break;\n }\n case 19036: {\n var1_1.groundModelId = 13701;\n var1_1.name = \"@yel@Yellow Deathful Kite\";\n var1_1.description = \"Blablabla\";\n var1_1.modelZoom = 1560;\n var1_1.modelRotation1 = 344;\n var1_1.modelRotation2 = 1104;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -6;\n var1_1.femaleEquipt = 13700;\n var1_1.maleEquipt = 13700;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modifiedModelColors = new int[5];\n var1_1.originalModelColors = new int[5];\n var1_1.modifiedModelColors[0] = 782;\n var1_1.originalModelColors[0] = 14030;\n var1_1.modifiedModelColors[1] = 1818;\n var1_1.originalModelColors[1] = 14304;\n var1_1.modifiedModelColors[2] = 10317;\n var1_1.originalModelColors[2] = 1818;\n break;\n }\n case 19037: {\n var1_1.groundModelId = 13701;\n var1_1.name = \"@gre@Lime Deathful Kite\";\n var1_1.description = \"Blablabla\";\n var1_1.modelZoom = 1560;\n var1_1.modelRotation1 = 344;\n var1_1.modelRotation2 = 1104;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -6;\n var1_1.femaleEquipt = 13700;\n var1_1.maleEquipt = 13700;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modifiedModelColors = new int[5];\n var1_1.originalModelColors = new int[5];\n var1_1.modifiedModelColors[0] = 782;\n var1_1.originalModelColors[0] = 22974;\n var1_1.modifiedModelColors[1] = 1818;\n var1_1.originalModelColors[1] = 17350;\n var1_1.modifiedModelColors[2] = 10317;\n var1_1.originalModelColors[2] = 1818;\n break;\n }\n case 19038: {\n var1_1.groundModelId = 13701;\n var1_1.name = \"@blu@Purple Deathful Kite\";\n var1_1.description = \"Blablabla\";\n var1_1.modelZoom = 1560;\n var1_1.modelRotation1 = 344;\n var1_1.modelRotation2 = 1104;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -6;\n var1_1.femaleEquipt = 13700;\n var1_1.maleEquipt = 13700;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modifiedModelColors = new int[5];\n var1_1.originalModelColors = new int[5];\n var1_1.modifiedModelColors[0] = 782;\n var1_1.originalModelColors[0] = 46777;\n var1_1.modifiedModelColors[1] = 1818;\n var1_1.originalModelColors[1] = 45510;\n var1_1.modifiedModelColors[2] = 10317;\n var1_1.originalModelColors[2] = 1818;\n break;\n }\n case 19039: {\n var1_1.groundModelId = 13701;\n var1_1.name = \"@whi@White Deathful Kite\";\n var1_1.description = \"Blablabla\";\n var1_1.modelZoom = 1560;\n var1_1.modelRotation1 = 344;\n var1_1.modelRotation2 = 1104;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -6;\n var1_1.femaleEquipt = 13700;\n var1_1.maleEquipt = 13700;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modifiedModelColors = new int[5];\n var1_1.originalModelColors = new int[5];\n var1_1.modifiedModelColors[0] = 782;\n var1_1.originalModelColors[0] = 255;\n var1_1.modifiedModelColors[1] = 1818;\n var1_1.originalModelColors[1] = 255;\n var1_1.modifiedModelColors[2] = 10317;\n var1_1.originalModelColors[2] = 1818;\n break;\n }\n case 19040: {\n var1_1.groundModelId = 13701;\n var1_1.name = \"@bla@Black Deathful Kite\";\n var1_1.description = \"Blablabla\";\n var1_1.modelZoom = 1560;\n var1_1.modelRotation1 = 344;\n var1_1.modelRotation2 = 1104;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -6;\n var1_1.femaleEquipt = 13700;\n var1_1.maleEquipt = 13700;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modifiedModelColors = new int[5];\n var1_1.originalModelColors = new int[5];\n var1_1.modifiedModelColors[0] = 782;\n var1_1.originalModelColors[0] = 1;\n var1_1.modifiedModelColors[1] = 1818;\n var1_1.originalModelColors[1] = 1;\n var1_1.modifiedModelColors[2] = 10317;\n var1_1.originalModelColors[2] = 1818;\n break;\n }\n case 19034: {\n var1_1.groundModelId = 13701;\n var1_1.name = \"@blu@Blue Deathful Kite\";\n var1_1.description = \"Blablabla\";\n var1_1.modelZoom = 1560;\n var1_1.modelRotation1 = 344;\n var1_1.modelRotation2 = 1104;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -6;\n var1_1.femaleEquipt = 13700;\n var1_1.maleEquipt = 13700;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modifiedModelColors = new int[5];\n var1_1.originalModelColors = new int[5];\n var1_1.modifiedModelColors[0] = 782;\n var1_1.originalModelColors[0] = 33743;\n var1_1.modifiedModelColors[1] = 1818;\n var1_1.originalModelColors[1] = 33251;\n var1_1.modifiedModelColors[2] = 10317;\n var1_1.originalModelColors[2] = 1818;\n break;\n }\n case 9506: {\n var1_1.name = \"imagine's epic sword\";\n var1_1.value = 2000000000;\n var1_1.femaleEquipt = 546;\n var1_1.maleEquipt = 546;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.groundModelId = 2754;\n var1_1.stackable = false;\n var1_1.description = \"Nothing to say.\";\n var1_1.modelZoom = 1561;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"@yel@ Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modelRotation1 = 354;\n var1_1.modelRotation2 = 1513;\n var1_1.modifiedModelColors = new int[6];\n var1_1.originalModelColors = new int[6];\n var1_1.modifiedModelColors[0] = 127;\n var1_1.originalModelColors[0] = 45877;\n var1_1.modifiedModelColors[1] = 82;\n var1_1.originalModelColors[1] = 35292;\n var1_1.modifiedModelColors[2] = 75;\n var1_1.originalModelColors[2] = 13013;\n var1_1.modifiedModelColors[3] = 41;\n var1_1.originalModelColors[3] = 22845;\n var1_1.modifiedModelColors[4] = 48;\n var1_1.originalModelColors[4] = 694;\n var1_1.modifiedModelColors[5] = 57;\n var1_1.originalModelColors[5] = 694;\n break;\n }\n case 9507: {\n var1_1.name = \"imagine's epic scim\";\n var1_1.value = 2000000000;\n var1_1.femaleEquipt = 490;\n var1_1.maleEquipt = 490;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelOffset1 = 4;\n var1_1.modelOffset2 = -3;\n var1_1.groundModelId = 2373;\n var1_1.stackable = false;\n var1_1.description = \"Nothing to say.\";\n var1_1.modelZoom = 1513;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"@yel@ Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modelRotation1 = 525;\n var1_1.modelRotation2 = 40;\n var1_1.modifiedModelColors = new int[6];\n var1_1.originalModelColors = new int[6];\n var1_1.modifiedModelColors[0] = 127;\n var1_1.originalModelColors[0] = 45877;\n var1_1.modifiedModelColors[1] = 82;\n var1_1.originalModelColors[1] = 35292;\n var1_1.modifiedModelColors[2] = 75;\n var1_1.originalModelColors[2] = 13013;\n var1_1.modifiedModelColors[3] = 41;\n var1_1.originalModelColors[3] = 22845;\n var1_1.modifiedModelColors[4] = 48;\n var1_1.originalModelColors[4] = 694;\n var1_1.modifiedModelColors[5] = 57;\n var1_1.originalModelColors[5] = 694;\n break;\n }\n case 4000: {\n var1_1.name = \"@blu@Mastering ranging cape\";\n var1_1.value = 2147000000;\n var1_1.femaleEquipt = 18948;\n var1_1.maleEquipt = 18985;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 1;\n var1_1.groundModelId = 19063;\n var1_1.stackable = false;\n var1_1.description = \"You must be 126 ranging to wear this mastered cape.\";\n var1_1.modelZoom = 2128;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modelRotation1 = 504;\n var1_1.modelRotation2 = 0;\n var1_1.modifiedModelColors = new int[5];\n var1_1.originalModelColors = new int[5];\n var1_1.modifiedModelColors[0] = 57280;\n var1_1.originalModelColors[0] = 34776;\n var1_1.modifiedModelColors[1] = 15128;\n var1_1.originalModelColors[1] = 44981;\n break;\n }\n case 4001: {\n var1_1.name = \"@blu@Mastered ranging hood\";\n var1_1.value = 2147000000;\n var1_1.femaleEquipt = 18914;\n var1_1.maleEquipt = 18967;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.groundModelId = 19058;\n var1_1.stackable = false;\n var1_1.description = \"A hood from masted ranging.\";\n var1_1.modelZoom = 720;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Put on\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modelRotation1 = 21;\n var1_1.modelRotation2 = 18;\n var1_1.modifiedModelColors = new int[5];\n var1_1.originalModelColors = new int[5];\n var1_1.modifiedModelColors[0] = 960;\n var1_1.originalModelColors[0] = 44981;\n var1_1.modifiedModelColors[1] = 15128;\n var1_1.originalModelColors[1] = 34776;\n var1_1.modifiedModelColors[2] = 15252;\n var1_1.originalModelColors[2] = 34776;\n var1_1.modifiedModelColors[3] = 43968;\n var1_1.originalModelColors[3] = 34776;\n break;\n }\n case 4002: {\n var1_1.name = \"@yel@Spongebob Bones\";\n var1_1.value = 2147000000;\n var1_1.femaleEquipt = -1;\n var1_1.maleEquipt = -1;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.groundModelId = 2768;\n var1_1.stackable = false;\n var1_1.description = \"its a bone from spongebob.\";\n var1_1.modelZoom = 1830;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[0] = \"Give to spongebob mom\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modelRotation1 = 216;\n var1_1.modelRotation2 = 648;\n var1_1.modifiedModelColors = new int[5];\n var1_1.originalModelColors = new int[5];\n var1_1.modifiedModelColors[0] = 127;\n var1_1.originalModelColors[0] = 14302;\n break;\n }\n case 4004: {\n var1_1.name = \"@yel@Perfect Hood\";\n var1_1.value = 2147000000;\n var1_1.femaleEquipt = 33200;\n var1_1.maleEquipt = 33254;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -4;\n var1_1.groundModelId = 33185;\n var1_1.stackable = false;\n var1_1.description = \"Its a pefect hood.\";\n var1_1.modelZoom = 724;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Give a damn\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modelRotation1 = 84;\n var1_1.modelRotation2 = 1979;\n var1_1.modifiedModelColors = new int[5];\n var1_1.originalModelColors = new int[5];\n var1_1.modifiedModelColors[0] = 50079;\n var1_1.originalModelColors[0] = 3002;\n var1_1.modifiedModelColors[1] = 50086;\n var1_1.originalModelColors[1] = 12761;\n var1_1.modifiedModelColors[2] = 50072;\n var1_1.originalModelColors[2] = 34784;\n var1_1.modifiedModelColors[3] = 50058;\n var1_1.originalModelColors[3] = 46015;\n break;\n }\n case 4005: {\n var1_1.name = \"@yel@Perfect coins\";\n var1_1.value = 2147000000;\n var1_1.femaleEquipt = -1;\n var1_1.maleEquipt = -1;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelOffset1 = 3;\n var1_1.modelOffset2 = 0;\n var1_1.groundModelId = 2484;\n var1_1.stackable = true;\n var1_1.description = \"Its a pefect key.\";\n var1_1.modelZoom = 710;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modelRotation1 = 184;\n var1_1.modelRotation2 = 2012;\n var1_1.modifiedModelColors = new int[5];\n var1_1.originalModelColors = new int[5];\n var1_1.modifiedModelColors[0] = 8128;\n var1_1.originalModelColors[0] = 46767;\n break;\n }\n case 12150: {\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.groundModelId = 14125;\n var1_1.modelZoom = 2000;\n var1_1.modelRotation1 = 572;\n var1_1.modelRotation2 = 0;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 1;\n var1_1.anInt204 = 0;\n var1_1.femaleEquipt = 14126;\n var1_1.maleEquipt = 14126;\n var1_1.anInt188 = -1;\n var1_1.anInt164 = -1;\n var1_1.anInt175 = -1;\n var1_1.anInt197 = -1;\n var1_1.name = \"Mod Cape\";\n var1_1.stackable = false;\n var1_1.description = \"A cape worn by player Moderators.\";\n break;\n }\n case 12151: {\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.groundModelId = 14127;\n var1_1.modelZoom = 2000;\n var1_1.modelRotation1 = 572;\n var1_1.modelRotation2 = 0;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 1;\n var1_1.anInt204 = 0;\n var1_1.femaleEquipt = 14128;\n var1_1.maleEquipt = 14128;\n var1_1.anInt188 = -1;\n var1_1.anInt164 = -1;\n var1_1.anInt175 = -1;\n var1_1.anInt197 = -1;\n var1_1.name = \"Admin Cape\";\n var1_1.description = \"A cape worn by Administrators\";\n break;\n }\n case 1391: {\n var1_1.name = \"Ethereal battlestaff\";\n var1_1.description = \"Provides extra damage while casting the storm of ethereal\";\n var1_1.maleEquipt = 53577;\n var1_1.femaleEquipt = 53577;\n var1_1.groundModelId = 58945;\n var1_1.modelRotation1 = 450;\n var1_1.modelRotation2 = 1330;\n var1_1.modelZoom = 2925;\n var1_1.modelOffset2 = 0;\n var1_1.modelOffset1 = 0;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n break;\n }\n case 12152: {\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.groundModelId = 14129;\n var1_1.modelZoom = 2000;\n var1_1.modelRotation1 = 572;\n var1_1.modelRotation2 = 0;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 1;\n var1_1.anInt204 = 0;\n var1_1.femaleEquipt = 14130;\n var1_1.maleEquipt = 14130;\n var1_1.anInt188 = -1;\n var1_1.anInt164 = -1;\n var1_1.anInt175 = -1;\n var1_1.anInt197 = -1;\n var1_1.name = \"Owner Cape\";\n var1_1.description = \"A cape worn by Owners.\";\n break;\n }\n case 8713: {\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modifiedModelColors = new int[1];\n var1_1.originalModelColors = new int[1];\n var1_1.modifiedModelColors[0] = 926;\n var1_1.originalModelColors[0] = 10388;\n var1_1.groundModelId = 2438;\n var1_1.modelZoom = 730;\n var1_1.modelRotation1 = 516;\n var1_1.modelRotation2 = 0;\n var1_1.anInt204 = 0;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -10;\n var1_1.femaleEquipt = 3188;\n var1_1.maleEquipt = 3192;\n var1_1.name = \"Barrows h'ween Mask\";\n var1_1.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 8715: {\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modifiedModelColors = new int[1];\n var1_1.originalModelColors = new int[1];\n var1_1.modifiedModelColors[0] = 926;\n var1_1.originalModelColors[0] = 6028;\n var1_1.groundModelId = 2438;\n var1_1.modelZoom = 730;\n var1_1.modelRotation1 = 516;\n var1_1.modelRotation2 = 0;\n var1_1.anInt204 = 0;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -10;\n var1_1.femaleEquipt = 3188;\n var1_1.maleEquipt = 3192;\n var1_1.name = \"Shaded h'ween Mask\";\n var1_1.description = \"AaaarrrgmodelRotation1h... I'm a monster.\";\n break;\n }\n case 19997: {\n var1_1.name = \"Mod body\";\n var1_1.value = 60000;\n var1_1.femaleEquipt = 12847;\n var1_1.maleEquipt = 14436;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelOffset1 = 1;\n var1_1.modelOffset2 = 0;\n var1_1.groundModelId = 19853;\n var1_1.stackable = false;\n var1_1.description = \"mod body bitch gtfo if your not a mod.\";\n var1_1.modelZoom = 1447;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modelRotation1 = 539;\n var1_1.modelRotation2 = 0;\n break;\n }\n case 19996: {\n var1_1.name = \"Mod legs\";\n var1_1.value = 60000;\n var1_1.femaleEquipt = 12845;\n var1_1.maleEquipt = 14418;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelOffset1 = 8;\n var1_1.modelOffset2 = 7;\n var1_1.groundModelId = 18109;\n var1_1.stackable = false;\n var1_1.description = \"mod legs bitch gtfo if your not a mod.\";\n var1_1.modelZoom = 1742;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modelRotation1 = 526;\n var1_1.modelRotation2 = 229;\n break;\n }\n case 19995: {\n var1_1.name = \"Mod boots\";\n var1_1.value = 60000;\n var1_1.femaleEquipt = 10367;\n var1_1.maleEquipt = 14398;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -7;\n var1_1.groundModelId = 21879;\n var1_1.stackable = false;\n var1_1.description = \"mod boots bitch gtfo if your not a mod.\";\n var1_1.modelZoom = 615;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modelRotation1 = 173;\n var1_1.modelRotation2 = 2039;\n break;\n }\n case 19994: {\n var1_1.name = \"Mod gloves\";\n var1_1.value = 60000;\n var1_1.femaleEquipt = 12839;\n var1_1.maleEquipt = 14406;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelOffset1 = 3;\n var1_1.modelOffset2 = -4;\n var1_1.groundModelId = 12839;\n var1_1.stackable = false;\n var1_1.description = \"mod gloves bitch gtfo if your not a mod.\";\n var1_1.modelZoom = 658;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modelRotation1 = 485;\n var1_1.modelRotation2 = 0;\n break;\n }\n case 4278: {\n var1_1.name = \"@gre@Unicorns Token\";\n break;\n }\n case 3606: {\n var1_1.name = \"@yel@Yellow Key\";\n break;\n }\n case 13234: {\n var1_1.name = \"@yel@Custom Key\";\n break;\n }\n case 13360: {\n var1_1.groundModelId = 62701;\n var1_1.name = \"Torva platelegs\";\n var1_1.description = \"Torva platelegs.\";\n var1_1.modelZoom = 1740;\n var1_1.modelRotation1 = 474;\n var1_1.modelRotation2 = 2045;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -5;\n var1_1.femaleEquipt = 62743;\n var1_1.maleEquipt = 62760;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[2] = \"Check-charges\";\n var1_1.itemActions[4] = \"Drop\";\n break;\n }\n case 13358: {\n var1_1.groundModelId = 62699;\n var1_1.name = \"Torva platebody\";\n var1_1.description = \"Torva Platebody.\";\n var1_1.modelZoom = 1506;\n var1_1.modelRotation1 = 473;\n var1_1.modelRotation2 = 2042;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.femaleEquipt = 62746;\n var1_1.maleEquipt = 62762;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[2] = \"Check-charges\";\n var1_1.itemActions[4] = \"Drop\";\n break;\n }\n case 13355: {\n var1_1.groundModelId = 62693;\n var1_1.name = \"Pernix cowl\";\n var1_1.description = \"Pernix cowl\";\n var1_1.modelZoom = 800;\n var1_1.modelRotation1 = 532;\n var1_1.modelRotation2 = 14;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = 1;\n var1_1.femaleEquipt = 62739;\n var1_1.maleEquipt = 62756;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[2] = \"Check-charges\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.anInt175 = 62731;\n var1_1.anInt197 = 62727;\n break;\n }\n case 15152: {\n var1_1.groundModelId = 2635;\n var1_1.name = \"Black Partyhat\";\n var1_1.description = \"A new color :3\";\n var1_1.modelZoom = 440;\n var1_1.modelRotation2 = 1845;\n var1_1.modelRotation1 = 121;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 1;\n var1_1.stackable = false;\n var1_1.value = 1;\n var1_1.femaleEquipt = 187;\n var1_1.maleEquipt = 363;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modifiedModelColors = new int[1];\n var1_1.originalModelColors = new int[1];\n var1_1.modifiedModelColors[0] = 926;\n var1_1.originalModelColors[0] = 1;\n break;\n }\n case 19877: {\n var1_1.groundModelId = 2635;\n var1_1.name = \"Pink Partyhat\";\n var1_1.description = \"A new color :3\";\n var1_1.modelZoom = 440;\n var1_1.modelRotation2 = 1845;\n var1_1.modelRotation1 = 121;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 1;\n var1_1.stackable = false;\n var1_1.value = 1;\n var1_1.femaleEquipt = 187;\n var1_1.maleEquipt = 363;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modifiedModelColors = new int[1];\n var1_1.originalModelColors = new int[1];\n var1_1.modifiedModelColors[0] = 926;\n var1_1.originalModelColors[0] = 57050;\n break;\n }\n case 15154: {\n var1_1.groundModelId = 2635;\n var1_1.name = \"Cyan Partyhat\";\n var1_1.description = \"A new color :3\";\n var1_1.modelZoom = 440;\n var1_1.modelRotation2 = 1845;\n var1_1.modelRotation1 = 121;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 1;\n var1_1.stackable = false;\n var1_1.value = 1;\n var1_1.femaleEquipt = 187;\n var1_1.maleEquipt = 363;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modifiedModelColors = new int[1];\n var1_1.originalModelColors = new int[1];\n var1_1.modifiedModelColors[0] = 926;\n var1_1.originalModelColors[0] = 30296;\n break;\n }\n case 15156: {\n var1_1.groundModelId = 2635;\n var1_1.name = \"Orange Partyhat\";\n var1_1.description = \"A new color :3\";\n var1_1.modelZoom = 440;\n var1_1.modelRotation2 = 1845;\n var1_1.modelRotation1 = 121;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 1;\n var1_1.stackable = false;\n var1_1.value = 1;\n var1_1.femaleEquipt = 187;\n var1_1.maleEquipt = 363;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modifiedModelColors = new int[1];\n var1_1.originalModelColors = new int[1];\n var1_1.modifiedModelColors[0] = 926;\n var1_1.originalModelColors[0] = 5947;\n break;\n }\n case 15158: {\n var1_1.groundModelId = 2635;\n var1_1.name = \"God Partyhat\";\n var1_1.description = \"A new color :3\";\n var1_1.modelZoom = 440;\n var1_1.modelRotation2 = 1845;\n var1_1.modelRotation1 = 121;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 1;\n var1_1.stackable = false;\n var1_1.value = 1;\n var1_1.femaleEquipt = 187;\n var1_1.maleEquipt = 363;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modifiedModelColors = new int[1];\n var1_1.originalModelColors = new int[1];\n var1_1.modifiedModelColors[0] = 926;\n var1_1.originalModelColors[0] = 44580;\n break;\n }\n case 15160: {\n var1_1.groundModelId = 2635;\n var1_1.name = \"Abyss Partyhat\";\n var1_1.description = \"A new color :3\";\n var1_1.modelZoom = 440;\n var1_1.modelRotation2 = 1845;\n var1_1.modelRotation1 = 121;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 1;\n var1_1.stackable = false;\n var1_1.value = 1;\n var1_1.femaleEquipt = 187;\n var1_1.maleEquipt = 363;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modifiedModelColors = new int[1];\n var1_1.originalModelColors = new int[1];\n var1_1.modifiedModelColors[0] = 926;\n var1_1.originalModelColors[0] = 63650;\n break;\n }\n case 15162: {\n var1_1.groundModelId = 2635;\n var1_1.name = \"Forest Partyhat\";\n var1_1.description = \"A new color :3\";\n var1_1.modelZoom = 440;\n var1_1.modelRotation2 = 1845;\n var1_1.modelRotation1 = 121;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 1;\n var1_1.stackable = false;\n var1_1.value = 1;\n var1_1.femaleEquipt = 187;\n var1_1.maleEquipt = 363;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modifiedModelColors = new int[1];\n var1_1.originalModelColors = new int[1];\n var1_1.modifiedModelColors[0] = 926;\n var1_1.originalModelColors[0] = 25371;\n break;\n }\n case 15164: {\n var1_1.groundModelId = 2635;\n var1_1.name = \"Sky Partyhat\";\n var1_1.description = \"A new color :3\";\n var1_1.modelZoom = 440;\n var1_1.modelRotation2 = 1845;\n var1_1.modelRotation1 = 121;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 1;\n var1_1.stackable = false;\n var1_1.value = 1;\n var1_1.femaleEquipt = 187;\n var1_1.maleEquipt = 363;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.modifiedModelColors = new int[1];\n var1_1.originalModelColors = new int[1];\n var1_1.modifiedModelColors[0] = 926;\n var1_1.originalModelColors[0] = 34258;\n break;\n }\n case 18743: {\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.modifiedModelColors = new int[1];\n var1_1.originalModelColors = new int[1];\n var1_1.modifiedModelColors[0] = 926;\n var1_1.originalModelColors[0] = 0;\n var1_1.groundModelId = 3288;\n var1_1.modelZoom = 2500;\n var1_1.modelRotation1 = 1500;\n var1_1.modelRotation2 = 0;\n var1_1.modelOffset1 = -40;\n var1_1.modelOffset2 = -90;\n var1_1.femaleEquipt = 79902;\n var1_1.maleEquipt = 79902;\n var1_1.anInt175 = 14;\n var1_1.anInt197 = 7;\n var1_1.name = \"@red@Death cape@red@\";\n break;\n }\n case 19010: {\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.modifiedModelColors = new int[1];\n var1_1.originalModelColors = new int[1];\n var1_1.modifiedModelColors[0] = 926;\n var1_1.originalModelColors[0] = 0;\n var1_1.groundModelId = 3288;\n var1_1.modelZoom = 2500;\n var1_1.modelRotation1 = 1500;\n var1_1.modelRotation2 = 0;\n var1_1.modelOffset1 = -40;\n var1_1.modelOffset2 = -90;\n var1_1.femaleEquipt = 79902;\n var1_1.maleEquipt = 79902;\n var1_1.anInt175 = 14;\n var1_1.anInt197 = 7;\n var1_1.name = \"@yel@Death cape@red@\";\n var1_1.modifiedModelColors = new int[7];\n var1_1.originalModelColors = new int[7];\n var1_1.modifiedModelColors[0] = 1;\n var1_1.originalModelColors[0] = 14030;\n var1_1.modifiedModelColors[1] = 9230;\n var1_1.originalModelColors[1] = 14304;\n var1_1.modifiedModelColors[2] = 11013;\n var1_1.originalModelColors[2] = 14304;\n var1_1.modifiedModelColors[3] = 23;\n var1_1.originalModelColors[3] = 14030;\n var1_1.modifiedModelColors[4] = 40036;\n var1_1.originalModelColors[4] = 14030;\n var1_1.modifiedModelColors[5] = 10348;\n var1_1.originalModelColors[5] = 14030;\n var1_1.modifiedModelColors[6] = 1822;\n var1_1.originalModelColors[6] = 14030;\n break;\n }\n case 19013: {\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.modifiedModelColors = new int[1];\n var1_1.originalModelColors = new int[1];\n var1_1.modifiedModelColors[0] = 926;\n var1_1.originalModelColors[0] = 0;\n var1_1.groundModelId = 3288;\n var1_1.modelZoom = 2500;\n var1_1.modelRotation1 = 1500;\n var1_1.modelRotation2 = 0;\n var1_1.modelOffset1 = -40;\n var1_1.modelOffset2 = -90;\n var1_1.femaleEquipt = 79902;\n var1_1.maleEquipt = 79902;\n var1_1.anInt175 = 14;\n var1_1.anInt197 = 7;\n var1_1.name = \"@blu@Death cape@red@\";\n var1_1.modifiedModelColors = new int[7];\n var1_1.originalModelColors = new int[7];\n var1_1.modifiedModelColors[0] = 1;\n var1_1.originalModelColors[0] = 33743;\n var1_1.modifiedModelColors[1] = 9230;\n var1_1.originalModelColors[1] = 33251;\n var1_1.modifiedModelColors[2] = 11013;\n var1_1.originalModelColors[2] = 33251;\n var1_1.modifiedModelColors[3] = 23;\n var1_1.originalModelColors[3] = 33743;\n var1_1.modifiedModelColors[4] = 40036;\n var1_1.originalModelColors[4] = 33743;\n var1_1.modifiedModelColors[5] = 10348;\n var1_1.originalModelColors[5] = 33743;\n var1_1.modifiedModelColors[6] = 1822;\n var1_1.originalModelColors[6] = 33743;\n break;\n }\n case 19014: {\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.modifiedModelColors = new int[1];\n var1_1.originalModelColors = new int[1];\n var1_1.modifiedModelColors[0] = 926;\n var1_1.originalModelColors[0] = 0;\n var1_1.groundModelId = 3288;\n var1_1.modelZoom = 2500;\n var1_1.modelRotation1 = 1500;\n var1_1.modelRotation2 = 0;\n var1_1.modelOffset1 = -40;\n var1_1.modelOffset2 = -90;\n var1_1.femaleEquipt = 79902;\n var1_1.maleEquipt = 79902;\n var1_1.anInt175 = 14;\n var1_1.anInt197 = 7;\n var1_1.name = \"@gre@Death cape@red@\";\n var1_1.modifiedModelColors = new int[7];\n var1_1.originalModelColors = new int[7];\n var1_1.modifiedModelColors[0] = 1;\n var1_1.originalModelColors[0] = 22974;\n var1_1.modifiedModelColors[1] = 9230;\n var1_1.originalModelColors[1] = 17350;\n var1_1.modifiedModelColors[2] = 11013;\n var1_1.originalModelColors[2] = 17350;\n var1_1.modifiedModelColors[3] = 23;\n var1_1.originalModelColors[3] = 22974;\n var1_1.modifiedModelColors[4] = 40036;\n var1_1.originalModelColors[4] = 22974;\n var1_1.modifiedModelColors[5] = 10348;\n var1_1.originalModelColors[5] = 22974;\n var1_1.modifiedModelColors[6] = 1822;\n var1_1.originalModelColors[6] = 22974;\n break;\n }\n case 23000: {\n var1_1.groundModelId = 78026;\n var1_1.name = \"@yel@Golden AK-47\";\n var1_1.description = \"The thug life chose you.\";\n var1_1.modelZoom = 1579;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 0;\n var1_1.modelRotation2 = 533;\n var1_1.modelRotation1 = 333;\n var1_1.femaleEquipt = 78027;\n var1_1.maleEquipt = 78027;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.stackable = false;\n var1_1.itemActions[1] = \"Wear\";\n break;\n }\n case 23002: {\n var1_1.groundModelId = 77566;\n var1_1.name = \"Shadow boots\";\n var1_1.description = \"It's a \" + var1_1.name + \".\";\n var1_1.modelZoom = 825;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 0;\n var1_1.modelRotation1 = 400;\n var1_1.femaleEquipt = 77566;\n var1_1.maleEquipt = 77566;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n var1_1.modifiedModelColors = new int[1];\n var1_1.originalModelColors = new int[1];\n var1_1.modifiedModelColors[0] = 8334;\n var1_1.originalModelColors[0] = 32703;\n break;\n }\n case 23004: {\n var1_1.groundModelId = 77573;\n var1_1.name = \"Shadow wings\";\n var1_1.description = \"It's a \" + var1_1.name + \".\";\n var1_1.modelZoom = 825;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 0;\n var1_1.modelRotation1 = 400;\n var1_1.femaleEquipt = 77574;\n var1_1.maleEquipt = 77574;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n var1_1.modifiedModelColors = new int[1];\n var1_1.originalModelColors = new int[1];\n var1_1.modifiedModelColors[0] = 8334;\n var1_1.originalModelColors[0] = 32703;\n break;\n }\n case 23006: {\n var1_1.groundModelId = 78010;\n var1_1.name = \"Hot katana\";\n var1_1.description = \"Imagine ninjas only.\";\n var1_1.modelZoom = 1579;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 0;\n var1_1.modelRotation1 = 533;\n var1_1.modelRotation1 = 333;\n var1_1.femaleEquipt = 78011;\n var1_1.maleEquipt = 78011;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.stackable = false;\n var1_1.itemActions[1] = \"Wear\";\n break;\n }\n case 23008: {\n var1_1.groundModelId = 75018;\n var1_1.name = \"Chainsaw\";\n var1_1.description = \"Got any gas?\";\n var1_1.modelZoom = 1579;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 0;\n var1_1.modelRotation1 = 533;\n var1_1.modelRotation1 = 333;\n var1_1.femaleEquipt = 75019;\n var1_1.maleEquipt = 75019;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n break;\n }\n case 23010: {\n var1_1.groundModelId = 90740;\n var1_1.maleEquipt = 90741;\n var1_1.femaleEquipt = 90741;\n var1_1.name = \"Ironman Helmet\";\n var1_1.itemActions = new String[]{null, \"Wear\", null, null, \"Drop\"};\n var1_1.modelZoom = 494;\n var1_1.modelOffset1 = -2;\n var1_1.modelOffset2 = 1;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 0;\n break;\n }\n case 23012: {\n var1_1.groundModelId = 90742;\n var1_1.maleEquipt = 90743;\n var1_1.femaleEquipt = 90743;\n var1_1.name = \"Ironman platebody\";\n var1_1.itemActions = new String[]{null, \"Wear\", null, null, \"Drop\"};\n var1_1.modelZoom = 1224;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 5;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 10;\n break;\n }\n case 23014: {\n var1_1.groundModelId = 90744;\n var1_1.maleEquipt = 90745;\n var1_1.femaleEquipt = 90745;\n var1_1.name = \"Ironman platelegs\";\n var1_1.itemActions = new String[]{null, \"Wear\", null, null, \"Drop\"};\n var1_1.modelZoom = 1784;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = 7;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 10;\n break;\n }\n case 23016: {\n var1_1.groundModelId = 90746;\n var1_1.maleEquipt = 90747;\n var1_1.femaleEquipt = 90747;\n var1_1.name = \"Ironman boots\";\n var1_1.itemActions = new String[]{null, \"Wear\", null, null, \"Drop\"};\n var1_1.modelZoom = 729;\n var1_1.modelOffset1 = -6;\n var1_1.modelOffset2 = 10;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 2040;\n break;\n }\n case 23018: {\n var1_1.groundModelId = 90748;\n var1_1.maleEquipt = 90749;\n var1_1.femaleEquipt = 90749;\n var1_1.name = \"Ironman gloves\";\n var1_1.itemActions = new String[]{null, \"Wear\", null, null, \"Drop\"};\n var1_1.modelZoom = 494;\n var1_1.modelOffset1 = 6;\n var1_1.modelOffset2 = -1;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 1150;\n break;\n }\n case 23020: {\n var1_1.groundModelId = 91009;\n var1_1.name = \"@cya@Imagine Helm\";\n var1_1.description = \"Imagine a dream that came true...\";\n var1_1.modelZoom = 850;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 16;\n var1_1.modelRotation1 = 533;\n var1_1.modelRotation1 = 333;\n var1_1.femaleEquipt = 91010;\n var1_1.maleEquipt = 91010;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n break;\n }\n case 23022: {\n var1_1.groundModelId = 91011;\n var1_1.name = \"@cya@Imagine Body\";\n var1_1.description = \"Imagine a dream that came true...\";\n var1_1.modelZoom = 1506;\n var1_1.modelRotation1 = 473;\n var1_1.modelRotation2 = 2042;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.femaleEquipt = 91012;\n var1_1.maleEquipt = 91012;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n break;\n }\n case 23024: {\n var1_1.groundModelId = 91013;\n var1_1.name = \"@cya@Imagine Legs\";\n var1_1.description = \"Imagine a dream that came true...\";\n var1_1.modelZoom = 1579;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 0;\n var1_1.modelRotation1 = 333;\n var1_1.modelRotation2 = 73;\n var1_1.femaleEquipt = 91014;\n var1_1.maleEquipt = 91014;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n break;\n }\n case 23026: {\n var1_1.groundModelId = 91015;\n var1_1.name = \"@cya@I@or1@m@cya@a@or1@g@cya@g@or2@i@blu@n@gre@e @or1@K@cya@a@or1@t@cya@a@or1@n@cya@a\";\n var1_1.description = \"Imagine a dream that came true...\";\n var1_1.modelZoom = 676;\n var1_1.modelRotation1 = 0;\n var1_1.modelRotation2 = 0;\n var1_1.modelOffset1 = 3;\n var1_1.modelOffset2 = -14;\n var1_1.femaleEquipt = 91016;\n var1_1.maleEquipt = 91016;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n break;\n }\n case 23028: {\n var1_1.groundModelId = 91018;\n var1_1.name = \"@cya@I@or1@m@cya@a@or1@g@cya@g@or2@i@blu@n@gre@e @or1@G@cya@l@or1@o@cya@v@or1@e@cya@s\";\n var1_1.description = \"Imagine a dream that came true...\";\n var1_1.modelZoom = 676;\n var1_1.modelRotation1 = 0;\n var1_1.modelRotation2 = 0;\n var1_1.modelOffset1 = 3;\n var1_1.modelOffset2 = -14;\n var1_1.femaleEquipt = 91019;\n var1_1.maleEquipt = 91019;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n break;\n }\n case 23030: {\n var1_1.groundModelId = 91017;\n var1_1.name = \"@cya@Imagine Boots\";\n var1_1.description = \"Imagine a dream that came true...\";\n var1_1.modelZoom = 676;\n var1_1.modelRotation1 = 0;\n var1_1.modelRotation2 = 0;\n var1_1.modelOffset1 = 3;\n var1_1.modelOffset2 = -14;\n var1_1.femaleEquipt = 91017;\n var1_1.maleEquipt = 91017;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n break;\n }\n case 23032: {\n var1_1.name = \"Trainee platelegs\";\n var1_1.description = \"It's a \" + var1_1.name;\n var1_1.groundModelId = 91050;\n var1_1.femaleEquipt = 91051;\n var1_1.maleEquipt = 91051;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wield\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelZoom = 540;\n var1_1.modelRotation1 = 72;\n var1_1.modelRotation2 = 136;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.stackable = false;\n break;\n }\n case 23034: {\n var1_1.name = \"Trainee full helm\";\n var1_1.description = \"It's a \" + var1_1.name;\n var1_1.groundModelId = 91052;\n var1_1.femaleEquipt = 91053;\n var1_1.maleEquipt = 91053;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wield\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelZoom = 540;\n var1_1.modelRotation1 = 72;\n var1_1.modelRotation2 = 136;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.stackable = false;\n break;\n }\n case 23036: {\n var1_1.name = \"Trainee platebody\";\n var1_1.description = \"It's a \" + var1_1.name;\n var1_1.groundModelId = 91055;\n var1_1.femaleEquipt = 91054;\n var1_1.maleEquipt = 91054;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelZoom = 540;\n var1_1.modelRotation1 = 72;\n var1_1.modelRotation2 = 136;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.stackable = false;\n break;\n }\n case 23038: {\n var1_1.name = \"Trainee Sword\";\n var1_1.description = \"It's a \" + var1_1.name;\n var1_1.groundModelId = 91057;\n var1_1.femaleEquipt = 91056;\n var1_1.maleEquipt = 91056;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wield\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelZoom = 540;\n var1_1.modelRotation1 = 72;\n var1_1.modelRotation2 = 136;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.stackable = false;\n break;\n }\n case 23040: {\n var1_1.groundModelId = 91100;\n var1_1.name = \"Luigi's head\";\n var1_1.description = \"It's a Luigi's head.\";\n var1_1.modelZoom = 579;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 0;\n var1_1.modelRotation1 = 533;\n var1_1.modelRotation1 = 333;\n var1_1.femaleEquipt = 91101;\n var1_1.maleEquipt = 91101;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wield\";\n break;\n }\n case 23042: {\n var1_1.name = \"Mario's head\";\n var1_1.description = \"It's a Mario head.\";\n var1_1.groundModelId = 91104;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wield\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.femaleEquipt = 91105;\n var1_1.maleEquipt = 91105;\n var1_1.modelZoom = 625;\n var1_1.modelRotation1 = 72;\n var1_1.modelRotation2 = 20;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -10;\n var1_1.stackable = false;\n break;\n }\n case 23044: {\n var1_1.groundModelId = 91315;\n var1_1.femaleEquipt = 91316;\n var1_1.maleEquipt = 91316;\n var1_1.name = \"@blc@Emperor Platebody\";\n var1_1.description = \"It's an \" + var1_1.name;\n var1_1.itemActions = new String[]{null, \"Wield\", null, null, \"Drop\"};\n var1_1.modelZoom = 1506;\n var1_1.modelRotation1 = 473;\n var1_1.modelRotation2 = 2042;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n break;\n }\n case 23046: {\n var1_1.groundModelId = 91317;\n var1_1.femaleEquipt = 91317;\n var1_1.maleEquipt = 91317;\n var1_1.name = \"@blc@Emperor Boots\";\n var1_1.description = \"It's an \" + var1_1.name;\n var1_1.itemActions = new String[]{null, \"Wield\", null, null, \"Drop\"};\n var1_1.modelZoom = 850;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 16;\n var1_1.modelRotation1 = 533;\n var1_1.modelRotation1 = 333;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n break;\n }\n case 23048: {\n var1_1.groundModelId = 91318;\n var1_1.femaleEquipt = 91319;\n var1_1.maleEquipt = 91319;\n var1_1.name = \"@blc@Emperor Gloves\";\n var1_1.description = \"It's an \" + var1_1.name;\n var1_1.itemActions = new String[]{null, \"Wield\", null, null, \"Drop\"};\n var1_1.modelZoom = 1053;\n var1_1.modelRotation2 = 0;\n var1_1.modelRotation1 = 536;\n var1_1.modelOffset1 = 3;\n var1_1.modelOffset2 = 0;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n break;\n }\n case 23050: {\n var1_1.groundModelId = 91320;\n var1_1.femaleEquipt = 91321;\n var1_1.maleEquipt = 91321;\n var1_1.name = \"@blc@Emperors Helmet\";\n var1_1.description = \"It's an \" + var1_1.name;\n var1_1.itemActions = new String[]{null, \"Wield\", null, null, \"Drop\"};\n var1_1.modelZoom = 1500;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.modelRotation1 = 900;\n var1_1.modelRotation2 = 1200;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n break;\n }\n case 23052: {\n var1_1.groundModelId = 91323;\n var1_1.femaleEquipt = 91322;\n var1_1.maleEquipt = 91322;\n var1_1.name = \"@blc@Emperors Platelegs\";\n var1_1.description = \"It's an \" + var1_1.name;\n var1_1.itemActions = new String[]{null, \"Wield\", null, null, \"Drop\"};\n var1_1.modelZoom = 1500;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.modelRotation1 = 900;\n var1_1.modelRotation2 = 1200;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n break;\n }\n case 23054: {\n var1_1.name = \"Nex soul\";\n var1_1.description = \"A soul\";\n var1_1.groundModelId = 91349;\n var1_1.femaleEquipt = 91349;\n var1_1.maleEquipt = 91349;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[4] = \"Drop\";\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelZoom = 2500;\n var1_1.modelRotation1 = 700;\n var1_1.modelRotation2 = 20;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 5;\n break;\n }\n case 23056: {\n var1_1.name = \"@blc@Emperor's soul\";\n var1_1.description = \"A soul\";\n var1_1.groundModelId = 91439;\n var1_1.femaleEquipt = 91439;\n var1_1.maleEquipt = 91439;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[0] = \"Combine\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.modelZoom = 2500;\n var1_1.modelRotation1 = 700;\n var1_1.modelRotation2 = 20;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 5;\n break;\n }\n case 23058: {\n var1_1.groundModelId = 91415;\n var1_1.name = \"@yel@Platinum AK-47\";\n var1_1.description = \"The thug life chose you.\";\n var1_1.modelZoom = 1579;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 0;\n var1_1.modelRotation1 = 533;\n var1_1.modelRotation1 = 333;\n var1_1.femaleEquipt = 91416;\n var1_1.maleEquipt = 91416;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.stackable = false;\n var1_1.itemActions[1] = \"Wear\";\n break;\n }\n case 23060: {\n var1_1.groundModelId = 91500;\n var1_1.femaleEquipt = 91501;\n var1_1.maleEquipt = 91501;\n var1_1.name = \"Hunters helm\";\n var1_1.description = \"It's an \" + var1_1.name;\n var1_1.itemActions = new String[]{null, \"Wield\", null, null, \"Drop\"};\n var1_1.modelZoom = 850;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 16;\n var1_1.modelRotation1 = 533;\n var1_1.modelRotation1 = 333;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n break;\n }\n case 23062: {\n var1_1.groundModelId = 91502;\n var1_1.femaleEquipt = 91503;\n var1_1.maleEquipt = 91503;\n var1_1.name = \"Hunters platelegs\";\n var1_1.description = \"It's an \" + var1_1.name;\n var1_1.itemActions = new String[]{null, \"Wield\", null, null, \"Drop\"};\n var1_1.modelZoom = 1579;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 0;\n var1_1.modelRotation1 = 333;\n var1_1.modelRotation2 = 73;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n break;\n }\n case 23064: {\n var1_1.groundModelId = 91504;\n var1_1.femaleEquipt = 91505;\n var1_1.maleEquipt = 91505;\n var1_1.name = \"Hunters platebody\";\n var1_1.description = \"It's an \" + var1_1.name;\n var1_1.itemActions = new String[]{null, \"Wield\", null, null, \"Drop\"};\n var1_1.modelZoom = 1506;\n var1_1.modelRotation1 = 473;\n var1_1.modelRotation2 = 2042;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n break;\n }\n case 23066: {\n var1_1.name = \"Staff of 1000 Truths\";\n var1_1.groundModelId = 91512;\n var1_1.modelZoom = 2256;\n var1_1.modelRotation1 = 456;\n var1_1.modelRotation2 = 513;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.femaleEquipt = 91513;\n var1_1.maleEquipt = 91513;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wield\";\n break;\n }\n case 23068: {\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.groundModelId = 91514;\n var1_1.modelZoom = 1325;\n var1_1.modelRotation1 = 240;\n var1_1.modelRotation2 = 110;\n var1_1.modelOffset1 = -6;\n var1_1.modelOffset2 = -40;\n var1_1.femaleEquipt = 91516;\n var1_1.maleEquipt = 91516;\n var1_1.name = \"Ascension Crossbow Offhand\";\n var1_1.description = \"A weapon originally developed for Armadyl's forces\";\n break;\n }\n case 23070: {\n var1_1.groundModelId = 91517;\n var1_1.femaleEquipt = 91518;\n var1_1.maleEquipt = 91518;\n var1_1.name = \"@sly@Oblivion helm\";\n var1_1.description = \"It's an \" + var1_1.name;\n var1_1.itemActions = new String[]{null, \"Wield\", null, null, \"Drop\"};\n var1_1.modelZoom = 850;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 16;\n var1_1.modelRotation1 = 533;\n var1_1.modelRotation1 = 333;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n break;\n }\n case 23072: {\n var1_1.groundModelId = 91519;\n var1_1.femaleEquipt = 91520;\n var1_1.maleEquipt = 91520;\n var1_1.name = \"@sly@Oblivion platelegs\";\n var1_1.description = \"It's an \" + var1_1.name;\n var1_1.itemActions = new String[]{null, \"Wield\", null, null, \"Drop\"};\n var1_1.modelZoom = 1579;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 0;\n var1_1.modelRotation1 = 333;\n var1_1.modelRotation2 = 73;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n break;\n }\n case 23074: {\n var1_1.groundModelId = 91521;\n var1_1.femaleEquipt = 91522;\n var1_1.maleEquipt = 91522;\n var1_1.name = \"@sly@Oblivion platebody\";\n var1_1.description = \"It's an \" + var1_1.name;\n var1_1.itemActions = new String[]{null, \"Wield\", null, null, \"Drop\"};\n var1_1.modelZoom = 1506;\n var1_1.modelRotation1 = 473;\n var1_1.modelRotation2 = 2042;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n break;\n }\n case 23076: {\n var1_1.groundModelId = 91523;\n var1_1.name = \"@sly@Oblivion Wings\";\n var1_1.description = \"It's a \" + var1_1.name + \".\";\n var1_1.modelZoom = 1579;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 0;\n var1_1.modelRotation1 = 533;\n var1_1.modelRotation1 = 333;\n var1_1.femaleEquipt = 91524;\n var1_1.maleEquipt = 91524;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.stackable = false;\n var1_1.itemActions[1] = \"Wear\";\n break;\n }\n case 23078: {\n var1_1.groundModelId = 91581;\n var1_1.femaleEquipt = 91582;\n var1_1.maleEquipt = 91582;\n var1_1.name = \"Black Knight Platebody\";\n var1_1.description = \"you are one rich son of a bitch\";\n var1_1.itemActions = new String[]{null, \"Wield\", null, null, \"Drop\"};\n var1_1.modelZoom = 1506;\n var1_1.modelRotation1 = 473;\n var1_1.modelRotation2 = 2042;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n break;\n }\n case 23080: {\n var1_1.groundModelId = 91583;\n var1_1.femaleEquipt = 91584;\n var1_1.maleEquipt = 91584;\n var1_1.name = \"Black Knight Helmet\";\n var1_1.description = \"you are one rich son of a bitch\";\n var1_1.itemActions = new String[]{null, \"Wield\", null, null, \"Drop\"};\n var1_1.modelZoom = 1500;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.modelRotation1 = 900;\n var1_1.modelRotation2 = 1200;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n break;\n }\n case 23082: {\n var1_1.groundModelId = 91585;\n var1_1.femaleEquipt = 91586;\n var1_1.maleEquipt = 91586;\n var1_1.name = \"Black Knight Platelegs\";\n var1_1.description = \"you are one rich son of a bitch\";\n var1_1.itemActions = new String[]{null, \"Wield\", null, null, \"Drop\"};\n var1_1.modelZoom = 1500;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.modelRotation1 = 900;\n var1_1.modelRotation2 = 1200;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n break;\n }\n case 23084: {\n var1_1.groundModelId = 94116;\n var1_1.maleEquipt = 94117;\n var1_1.femaleEquipt = 94117;\n var1_1.name = \"Samurai Hat\";\n var1_1.description = \"Recoloured samurai set.\";\n var1_1.itemActions = new String[]{null, \"Wear\", null, null, \"Drop\"};\n var1_1.modelZoom = 964;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 1150;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -1;\n break;\n }\n case 23086: {\n var1_1.groundModelId = 94118;\n var1_1.maleEquipt = 94119;\n var1_1.femaleEquipt = 94119;\n var1_1.name = \"Samurai Body\";\n var1_1.description = \"Recoloured samurai set.\";\n var1_1.itemActions = new String[]{null, \"Wear\", null, null, \"Drop\"};\n var1_1.modelZoom = 964;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 1150;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -1;\n break;\n }\n case 23088: {\n var1_1.groundModelId = 94120;\n var1_1.maleEquipt = 94121;\n var1_1.femaleEquipt = 94121;\n var1_1.name = \"Samurai Legs\";\n var1_1.description = \"Recoloured samurai set.\";\n var1_1.itemActions = new String[]{null, \"Wear\", null, null, \"Drop\"};\n var1_1.modelZoom = 964;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 1150;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -1;\n break;\n }\n case 23090: {\n var1_1.groundModelId = 94127;\n var1_1.maleEquipt = 94128;\n var1_1.femaleEquipt = 94128;\n var1_1.name = \"Raiden Helm\";\n var1_1.itemActions = new String[]{null, \"Wear\", null, null, \"Drop\"};\n var1_1.modelZoom = 1179;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -1;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 1150;\n break;\n }\n case 23092: {\n var1_1.groundModelId = 94129;\n var1_1.maleEquipt = 94130;\n var1_1.femaleEquipt = 94130;\n var1_1.name = \"Raiden Body\";\n var1_1.itemActions = new String[]{null, \"Wear\", null, null, \"Drop\"};\n var1_1.modelZoom = 1054;\n var1_1.modelOffset1 = 1;\n var1_1.modelOffset2 = -3;\n var1_1.modelRotation1 = 578;\n var1_1.modelRotation2 = 10;\n break;\n }\n case 23094: {\n var1_1.groundModelId = 94131;\n var1_1.maleEquipt = 94132;\n var1_1.femaleEquipt = 94132;\n var1_1.name = \"Raiden Legs\";\n var1_1.itemActions = new String[]{null, \"Wear\", null, null, \"Drop\"};\n var1_1.modelZoom = 1614;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = 1;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 2040;\n break;\n }\n case 23096: {\n var1_1.groundModelId = 94133;\n var1_1.maleEquipt = 94134;\n var1_1.femaleEquipt = 94134;\n var1_1.name = \"Dark Raiden Helm\";\n var1_1.itemActions = new String[]{null, \"Wear\", null, null, \"Drop\"};\n var1_1.modelZoom = 1109;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -1;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 1150;\n break;\n }\n case 23098: {\n var1_1.groundModelId = 94135;\n var1_1.maleEquipt = 94136;\n var1_1.femaleEquipt = 94136;\n var1_1.name = \"Dark Raiden Body\";\n var1_1.itemActions = new String[]{null, \"Wear\", null, null, \"Drop\"};\n var1_1.modelZoom = 1239;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -1;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 0;\n break;\n }\n case 23100: {\n var1_1.groundModelId = 94137;\n var1_1.maleEquipt = 94138;\n var1_1.femaleEquipt = 94138;\n var1_1.name = \"Dark Raiden Legs\";\n var1_1.itemActions = new String[]{null, \"Wear\", null, null, \"Drop\"};\n var1_1.modelZoom = 1624;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = 1;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 2040;\n break;\n }\n case 23102: {\n var1_1.groundModelId = 90092;\n var1_1.name = \"Malevolent cuirass\";\n var1_1.description = \"It's a \" + var1_1.name + \".\";\n var1_1.modelZoom = 1524;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -73;\n var1_1.modelRotation1 = 333;\n var1_1.modelRotation2 = 31;\n var1_1.femaleEquipt = 90092;\n var1_1.maleEquipt = 90092;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.stackable = false;\n var1_1.itemActions[1] = \"Wear\";\n break;\n }\n case 23104: {\n var1_1.groundModelId = 90094;\n var1_1.name = \"Malevolent greaves\";\n var1_1.description = \"It's a \" + var1_1.name + \".\";\n var1_1.modelZoom = 1244;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 0;\n var1_1.modelRotation1 = 333;\n var1_1.modelRotation2 = 5;\n var1_1.femaleEquipt = 90094;\n var1_1.maleEquipt = 90094;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.stackable = false;\n var1_1.itemActions[1] = \"Wear\";\n break;\n }\n case 23106: {\n var1_1.groundModelId = 90096;\n var1_1.name = \"Malevolent helm\";\n var1_1.description = \"It's a \" + var1_1.name + \".\";\n var1_1.modelZoom = 1239;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -127;\n var1_1.modelRotation1 = 333;\n var1_1.modelRotation2 = 26;\n var1_1.femaleEquipt = 90096;\n var1_1.maleEquipt = 90096;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.stackable = false;\n var1_1.itemActions[1] = \"Wear\";\n break;\n }\n case 23108: {\n var1_1.name = \"@dgr@T@gra@y@dgr@r@gra@a@dgr@n@gra@t@dgr@i@gra@t@dgr@o@gra@'@dgr@s @gra@C@dgr@a@gra@p@dgr@e\";\n var1_1.groundModelId = 80346;\n var1_1.femaleEquipt = 80346;\n var1_1.maleEquipt = 80346;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n break;\n }\n case 23110: {\n var1_1.name = \"The Pummeller\";\n var1_1.groundModelId = 11;\n var1_1.femaleEquipt = 12;\n var1_1.maleEquipt = 12;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelRotation1 = 607;\n var1_1.modelRotation2 = 267;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.modelZoom = 1560;\n break;\n }\n case 23112: {\n var1_1.name = \"Donor boots\";\n var1_1.maleEquipt = 15;\n var1_1.femaleEquipt = 15;\n var1_1.groundModelId = 16;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 645;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 25;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 11;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n break;\n }\n case 23114: {\n var1_1.name = \"Donor Demon Cape\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.groundModelId = 18;\n var1_1.maleEquipt = 17;\n var1_1.modelZoom = 1700;\n var1_1.modelOffset1 = -20;\n var1_1.modelOffset2 = -10;\n var1_1.modelRotation1 = 305;\n var1_1.modelRotation2 = 0;\n var1_1.femaleEquipt = 17;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23116: {\n var1_1.name = \"Donor gloves\";\n var1_1.groundModelId = 20;\n var1_1.maleEquipt = 19;\n var1_1.femaleEquipt = 19;\n var1_1.modelZoom = 610;\n var1_1.modelOffset1 = 1;\n var1_1.modelOffset2 = -6;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 0;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23118: {\n var1_1.name = \"Donor Helm\";\n var1_1.maleEquipt = 21;\n var1_1.femaleEquipt = 21;\n var1_1.groundModelId = 22;\n var1_1.modelZoom = 865;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 12;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 0;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23120: {\n var1_1.name = \"Donor Body\";\n var1_1.maleEquipt = 23;\n var1_1.femaleEquipt = 23;\n var1_1.groundModelId = 24;\n var1_1.modelZoom = 1320;\n var1_1.modelOffset1 = 1;\n var1_1.modelOffset2 = 12;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 0;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23122: {\n var1_1.name = \"Donor Legs\";\n var1_1.maleEquipt = 25;\n var1_1.femaleEquipt = 25;\n var1_1.groundModelId = 26;\n var1_1.modelZoom = 1555;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 9;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 0;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23124: {\n var1_1.name = \"Superior Slayer Helm\";\n var1_1.maleEquipt = 27;\n var1_1.femaleEquipt = 27;\n var1_1.groundModelId = 28;\n var1_1.modelZoom = 770;\n var1_1.modelOffset1 = -5;\n var1_1.modelOffset2 = 17;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 0;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23126: {\n var1_1.name = \"Superior Slayer Cape\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.groundModelId = 30;\n var1_1.maleEquipt = 29;\n var1_1.femaleEquipt = 29;\n var1_1.modelZoom = 2885;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 76;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 5;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23128: {\n var1_1.name = \"Superior Slayer Scarf\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.groundModelId = 32;\n var1_1.maleEquipt = 31;\n var1_1.femaleEquipt = 31;\n var1_1.modelZoom = 1040;\n var1_1.modelOffset1 = -6;\n var1_1.modelOffset2 = 4;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 876;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23130: {\n var1_1.name = \"Superior Slayer PlateBody\";\n var1_1.maleEquipt = 33;\n var1_1.femaleEquipt = 33;\n var1_1.groundModelId = 34;\n var1_1.modelZoom = 1415;\n var1_1.modelOffset1 = 2;\n var1_1.modelOffset2 = -13;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 1;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23132: {\n var1_1.name = \"Superior Slayer PlateLegs\";\n var1_1.maleEquipt = 35;\n var1_1.femaleEquipt = 35;\n var1_1.groundModelId = 36;\n var1_1.modelZoom = 1755;\n var1_1.modelOffset1 = -8;\n var1_1.modelOffset2 = 7;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 1;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23134: {\n var1_1.name = \"Superior Slayer KiteShield\";\n var1_1.maleEquipt = 37;\n var1_1.femaleEquipt = 37;\n var1_1.groundModelId = 38;\n var1_1.modelZoom = 1755;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 12;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 11;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23136: {\n var1_1.name = \"Superior Slayer Gloves\";\n var1_1.maleEquipt = 39;\n var1_1.femaleEquipt = 39;\n var1_1.groundModelId = 40;\n var1_1.modelZoom = 665;\n var1_1.modelOffset1 = 1;\n var1_1.modelOffset2 = -4;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 431;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23138: {\n var1_1.name = \"Superior Slayer Boots\";\n var1_1.maleEquipt = 41;\n var1_1.femaleEquipt = 41;\n var1_1.groundModelId = 42;\n var1_1.modelZoom = 655;\n var1_1.modelOffset1 = 1;\n var1_1.modelOffset2 = 18;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 0;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23140: {\n var1_1.name = \"Hailstorm Sword\";\n var1_1.maleEquipt = 43;\n var1_1.femaleEquipt = 43;\n var1_1.groundModelId = 44;\n var1_1.modelZoom = 2100;\n var1_1.modelOffset1 = -5;\n var1_1.modelOffset2 = 13;\n var1_1.modelRotation1 = 350;\n var1_1.modelRotation2 = 545;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"HOLY SHIT\";\n var1_1.stackable = false;\n break;\n }\n case 23142: {\n var1_1.name = \"Omega Helm\";\n var1_1.maleEquipt = 45;\n var1_1.femaleEquipt = 45;\n var1_1.groundModelId = 46;\n var1_1.modelZoom = 540;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = 27;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 0;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23144: {\n var1_1.name = \"Omega PlateBody\";\n var1_1.maleEquipt = 47;\n var1_1.femaleEquipt = 47;\n var1_1.groundModelId = 48;\n var1_1.modelZoom = 1305;\n var1_1.modelOffset1 = -2;\n var1_1.modelOffset2 = 12;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 0;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23146: {\n var1_1.name = \"Omega PlateLegs\";\n var1_1.maleEquipt = 49;\n var1_1.femaleEquipt = 49;\n var1_1.groundModelId = 50;\n var1_1.modelZoom = 1620;\n var1_1.modelOffset1 = -8;\n var1_1.modelOffset2 = 12;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 0;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23148: {\n var1_1.name = \"Omega Gloves\";\n var1_1.maleEquipt = 51;\n var1_1.femaleEquipt = 51;\n var1_1.groundModelId = 52;\n var1_1.modelZoom = 450;\n var1_1.modelOffset1 = -3;\n var1_1.modelOffset2 = -8;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 0;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23150: {\n var1_1.name = \"Omega Boots\";\n var1_1.maleEquipt = 53;\n var1_1.femaleEquipt = 53;\n var1_1.groundModelId = 53;\n var1_1.modelZoom = 680;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 29;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 41;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23152: {\n var1_1.name = \"Sword\";\n var1_1.maleEquipt = 53;\n var1_1.femaleEquipt = 53;\n var1_1.groundModelId = 54;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n break;\n }\n case 23154: {\n var1_1.name = \"Morty Pet\";\n var1_1.maleEquipt = 94004;\n var1_1.femaleEquipt = 94004;\n var1_1.groundModelId = 94004;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Drop\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 964;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 1150;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -1;\n break;\n }\n case 23156: {\n var1_1.name = \"Rick Pet\";\n var1_1.maleEquipt = 94005;\n var1_1.femaleEquipt = 94005;\n var1_1.groundModelId = 94005;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Drop\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 964;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 1150;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -1;\n break;\n }\n case 23158: {\n var1_1.name = \"Crash Bandicoot jr\";\n var1_1.maleEquipt = 94218;\n var1_1.femaleEquipt = 94218;\n var1_1.groundModelId = 94218;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Drop\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 964;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 1150;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -1;\n break;\n }\n case 23160: {\n var1_1.name = \"Space Invader jr\";\n var1_1.maleEquipt = 94214;\n var1_1.femaleEquipt = 94214;\n var1_1.groundModelId = 94214;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Drop\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 964;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 1150;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -1;\n break;\n }\n case 23162: {\n var1_1.name = \"Pacman jr\";\n var1_1.maleEquipt = 94205;\n var1_1.femaleEquipt = 94205;\n var1_1.groundModelId = 94205;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Drop\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 964;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 1150;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -1;\n break;\n }\n case 18449: {\n var1_1.name = \"Imagine PlateBody\";\n var1_1.groundModelId = 89;\n var1_1.maleEquipt = 90;\n var1_1.femaleEquipt = 90;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1244;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = -1;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 5;\n break;\n }\n case 18450: {\n var1_1.name = \"Imagine Helm\";\n var1_1.groundModelId = 91;\n var1_1.maleEquipt = 92;\n var1_1.femaleEquipt = 92;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 649;\n var1_1.modelOffset1 = 2;\n var1_1.modelOffset2 = 4;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 2035;\n break;\n }\n case 18451: {\n var1_1.name = \"Imagine Platelegs\";\n var1_1.groundModelId = 93;\n var1_1.maleEquipt = 94;\n var1_1.femaleEquipt = 94;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1614;\n var1_1.modelOffset1 = -7;\n var1_1.modelOffset2 = -1;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 0;\n break;\n }\n case 18452: {\n var1_1.name = \"Imagine Sword\";\n var1_1.groundModelId = 95;\n var1_1.maleEquipt = 96;\n var1_1.femaleEquipt = 96;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1649;\n var1_1.modelOffset1 = -2;\n var1_1.modelOffset2 = -1;\n var1_1.modelRotation1 = 1753;\n var1_1.modelRotation2 = 1520;\n break;\n }\n case 18453: {\n var1_1.name = \"Imagine Sword\";\n var1_1.groundModelId = 95;\n var1_1.maleEquipt = 96;\n var1_1.femaleEquipt = 96;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1649;\n var1_1.modelOffset1 = -2;\n var1_1.modelOffset2 = -1;\n var1_1.modelRotation1 = 1753;\n var1_1.modelRotation2 = 1520;\n break;\n }\n case 18454: {\n var1_1.name = \"Imagine Spirit Shield\";\n var1_1.groundModelId = 97;\n var1_1.maleEquipt = 98;\n var1_1.femaleEquipt = 98;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1694;\n var1_1.modelOffset1 = -3;\n var1_1.modelOffset2 = -6;\n var1_1.modelRotation1 = 513;\n var1_1.modelRotation2 = 2025;\n break;\n }\n case 18455: {\n var1_1.name = \"Imagine Fire Cape\";\n var1_1.groundModelId = 99;\n var1_1.maleEquipt = 100;\n var1_1.femaleEquipt = 100;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1809;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -9;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 1005;\n break;\n }\n case 23164: {\n var1_1.name = \"Imagine Gloves\";\n var1_1.groundModelId = 101;\n var1_1.maleEquipt = 102;\n var1_1.femaleEquipt = 102;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 579;\n var1_1.modelOffset1 = -2;\n var1_1.modelOffset2 = -1;\n var1_1.modelRotation1 = 498;\n var1_1.modelRotation2 = 1150;\n break;\n }\n case 23166: {\n var1_1.name = \"Imagine Boots\";\n var1_1.groundModelId = 103;\n var1_1.maleEquipt = 103;\n var1_1.femaleEquipt = 103;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 644;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 2;\n var1_1.modelRotation1 = 28;\n var1_1.modelRotation2 = 2025;\n break;\n }\n case 23168: {\n var1_1.name = \"Imagine Chest(MBox)\";\n var1_1.groundModelId = 104;\n var1_1.maleEquipt = 104;\n var1_1.femaleEquipt = 104;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Open\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 964;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = 2;\n var1_1.modelRotation1 = 2038;\n var1_1.modelRotation2 = 2025;\n break;\n }\n case 23169: {\n var1_1.name = \"Beginner Trophy\";\n var1_1.groundModelId = 105;\n var1_1.maleEquipt = 105;\n var1_1.femaleEquipt = 105;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1355;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 3;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 776;\n break;\n }\n case 23170: {\n var1_1.name = \"Easy Trophy\";\n var1_1.groundModelId = 106;\n var1_1.maleEquipt = 106;\n var1_1.femaleEquipt = 106;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1355;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 3;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 776;\n break;\n }\n case 23171: {\n var1_1.name = \"Medium Trophy\";\n var1_1.groundModelId = 107;\n var1_1.maleEquipt = 107;\n var1_1.femaleEquipt = 107;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1355;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 3;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 776;\n break;\n }\n case 23172: {\n var1_1.name = \"Hard Trophy\";\n var1_1.groundModelId = 108;\n var1_1.maleEquipt = 108;\n var1_1.femaleEquipt = 108;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1355;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 3;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 776;\n break;\n }\n case 23173: {\n var1_1.name = \"Elite Trophy\";\n var1_1.groundModelId = 109;\n var1_1.maleEquipt = 109;\n var1_1.femaleEquipt = 109;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1355;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 3;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 776;\n break;\n }\n case 23174: {\n var1_1.name = \"Hailstorm Shield\";\n var1_1.maleEquipt = 110;\n var1_1.femaleEquipt = 110;\n var1_1.groundModelId = 111;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"HOLY SHIT\";\n var1_1.stackable = false;\n var1_1.modelZoom = 1760;\n var1_1.modelOffset1 = -2;\n var1_1.modelOffset2 = 4;\n var1_1.modelRotation1 = 555;\n var1_1.modelRotation2 = 0;\n break;\n }\n case 23176: {\n var1_1.name = \"Finest Rune\";\n var1_1.groundModelId = 112;\n var1_1.maleEquipt = 112;\n var1_1.femaleEquipt = 112;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1355;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 3;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 776;\n break;\n }\n case 23177: {\n var1_1.name = \"Lucky Rune\";\n var1_1.groundModelId = 113;\n var1_1.maleEquipt = 113;\n var1_1.femaleEquipt = 113;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1355;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 3;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 776;\n break;\n }\n case 23178: {\n var1_1.name = \"Chaos Stone\";\n var1_1.groundModelId = 114;\n var1_1.maleEquipt = 114;\n var1_1.femaleEquipt = 114;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1355;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 15;\n var1_1.modelRotation1 = 800;\n var1_1.modelRotation2 = 1031;\n break;\n }\n case 23179: {\n var1_1.name = \"Extreme Stone\";\n var1_1.groundModelId = 115;\n var1_1.maleEquipt = 115;\n var1_1.femaleEquipt = 115;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1355;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 15;\n var1_1.modelRotation1 = 800;\n var1_1.modelRotation2 = 1031;\n break;\n }\n case 23180: {\n var1_1.name = \"Rune of Protection I\";\n var1_1.groundModelId = 116;\n var1_1.maleEquipt = 116;\n var1_1.femaleEquipt = 116;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 460;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 2;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 1;\n break;\n }\n case 23181: {\n var1_1.name = \"Rune of Protection II\";\n var1_1.groundModelId = 117;\n var1_1.maleEquipt = 117;\n var1_1.femaleEquipt = 117;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 460;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 2;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 1;\n break;\n }\n case 23182: {\n var1_1.name = \"Rune of Protection III\";\n var1_1.groundModelId = 118;\n var1_1.maleEquipt = 118;\n var1_1.femaleEquipt = 118;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 460;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 2;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 1;\n break;\n }\n case 23183: {\n var1_1.name = \"Rune of Protection IV\";\n var1_1.groundModelId = 119;\n var1_1.maleEquipt = 119;\n var1_1.femaleEquipt = 119;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 460;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 2;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 1;\n break;\n }\n case 23184: {\n var1_1.name = \"Master Stone +17\";\n var1_1.groundModelId = 120;\n var1_1.maleEquipt = 120;\n var1_1.femaleEquipt = 120;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1355;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 3;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 1031;\n break;\n }\n case 23185: {\n var1_1.name = \"Master Stone +18\";\n var1_1.groundModelId = 121;\n var1_1.maleEquipt = 121;\n var1_1.femaleEquipt = 121;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1355;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 3;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 1006;\n break;\n }\n case 23186: {\n var1_1.name = \"Master Stone +19\";\n var1_1.groundModelId = 122;\n var1_1.maleEquipt = 122;\n var1_1.femaleEquipt = 122;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1355;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 3;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 1006;\n break;\n }\n case 23187: {\n var1_1.name = \"Master Stone +20\";\n var1_1.groundModelId = 123;\n var1_1.maleEquipt = 123;\n var1_1.femaleEquipt = 123;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1165;\n var1_1.modelOffset1 = -3;\n var1_1.modelOffset2 = 5;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 1026;\n break;\n }\n case 23188: {\n var1_1.name = \"Master Stone +21\";\n var1_1.groundModelId = 124;\n var1_1.maleEquipt = 124;\n var1_1.femaleEquipt = 124;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1170;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 3;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 1001;\n break;\n }\n case 23189: {\n var1_1.name = \"Master Stone +23\";\n var1_1.groundModelId = 125;\n var1_1.maleEquipt = 125;\n var1_1.femaleEquipt = 125;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1190;\n var1_1.modelOffset1 = -4;\n var1_1.modelOffset2 = 3;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 1011;\n break;\n }\n case 23190: {\n var1_1.name = \"Master Stone +25\";\n var1_1.groundModelId = 126;\n var1_1.maleEquipt = 126;\n var1_1.femaleEquipt = 126;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 900;\n var1_1.modelOffset1 = -3;\n var1_1.modelOffset2 = -5;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 1016;\n break;\n }\n case 23191: {\n var1_1.name = \"Master Stone +26\";\n var1_1.groundModelId = 127;\n var1_1.maleEquipt = 127;\n var1_1.femaleEquipt = 127;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1100;\n var1_1.modelOffset1 = -3;\n var1_1.modelOffset2 = 3;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 1016;\n break;\n }\n case 23192: {\n var1_1.name = \"Master Stone +27\";\n var1_1.groundModelId = 128;\n var1_1.maleEquipt = 128;\n var1_1.femaleEquipt = 128;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 995;\n var1_1.modelOffset1 = 2;\n var1_1.modelOffset2 = 4;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 1016;\n break;\n }\n case 23193: {\n var1_1.name = \"Master Stone +28\";\n var1_1.groundModelId = 129;\n var1_1.maleEquipt = 129;\n var1_1.femaleEquipt = 129;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 935;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -1;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 1036;\n break;\n }\n case 23194: {\n var1_1.name = \"Master Stone +29\";\n var1_1.groundModelId = 130;\n var1_1.maleEquipt = 130;\n var1_1.femaleEquipt = 130;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1165;\n var1_1.modelOffset1 = -2;\n var1_1.modelOffset2 = 6;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 1036;\n break;\n }\n case 23195: {\n var1_1.name = \"Master Stone +30\";\n var1_1.groundModelId = 131;\n var1_1.maleEquipt = 131;\n var1_1.femaleEquipt = 131;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 1310;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = -1;\n var1_1.modelRotation1 = 550;\n var1_1.modelRotation2 = 1036;\n break;\n }\n case 13151: {\n var1_1.name = \"Vote Book\";\n break;\n }\n case 23196: {\n var1_1.name = \"Necklace of Virtue\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.groundModelId = 132;\n var1_1.maleEquipt = 133;\n var1_1.femaleEquipt = 133;\n var1_1.modelZoom = 1005;\n var1_1.modelOffset1 = 2;\n var1_1.modelOffset2 = 12;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 31;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n break;\n }\n case 23197: {\n var1_1.name = \"Band of Virtue\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.groundModelId = 134;\n var1_1.maleEquipt = 134;\n var1_1.femaleEquipt = 134;\n var1_1.modelZoom = 740;\n var1_1.modelOffset1 = 6;\n var1_1.modelOffset2 = 29;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 271;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n break;\n }\n case 23198: {\n var1_1.groundModelId = 135;\n var1_1.name = \"Medusa's Bow\";\n var1_1.description = \"A Medusa bow!.\";\n var1_1.maleEquipt = 135;\n var1_1.femaleEquipt = 135;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Wear\";\n var1_1.stackable = false;\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n break;\n }\n case 23199: {\n var1_1.groundModelId = 94277;\n var1_1.name = \"Thanos pet\";\n var1_1.description = \"A Thanos pet!.\";\n var1_1.modelZoom = 3000;\n var1_1.modelRotation1 = 0;\n var1_1.modelRotation2 = 0;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[3] = \"Summon\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.stackable = false;\n break;\n }\n case 23200: {\n var1_1.groundModelId = 94259;\n var1_1.name = \"Hulk pet\";\n var1_1.description = \"A Hulk pet!.\";\n var1_1.modelZoom = 3000;\n var1_1.modelRotation1 = 0;\n var1_1.modelRotation2 = 0;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 0;\n var1_1.itemActions = new String[5];\n var1_1.itemActions[3] = \"Summon\";\n var1_1.itemActions[4] = \"Drop\";\n var1_1.stackable = false;\n break;\n }\n case 23201: {\n var1_1.name = \"Skeletal Plate Gloves\";\n var1_1.groundModelId = 136;\n var1_1.maleEquipt = 137;\n var1_1.femaleEquipt = 137;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 585;\n var1_1.modelOffset1 = 0;\n var1_1.modelOffset2 = 2;\n var1_1.modelRotation1 = 320;\n var1_1.modelRotation2 = 0;\n break;\n }\n case 23202: {\n var1_1.name = \"Skeletal Plate Boots\";\n var1_1.groundModelId = 138;\n var1_1.maleEquipt = 139;\n var1_1.femaleEquipt = 139;\n var1_1.groundActions = new String[5];\n var1_1.groundActions[2] = \"Take\";\n var1_1.itemActions = new String[5];\n var1_1.itemActions[1] = \"Equip\";\n var1_1.revisionType = RevisionType.CUSTOM_ITEM_MODELS;\n var1_1.modelZoom = 735;\n var1_1.modelOffset1 = -1;\n var1_1.modelOffset2 = 22;\n var1_1.modelRotation1 = 370;\n var1_1.modelRotation2 = 0;\n break;\n }\n }\n if (n >= 23000 && n <= 23111 && (n & 1) == 1) {\n ItemDefinition.convertToNote((ItemDefinition)var1_1, n - 1, 799);\n }\n boolean bl = false;\n String[] arrstring = var1_1.itemActions;\n int n2 = arrstring.length;\n int n3 = 0;\n do {\n if (n3 >= n2) {\n if (!bl) return var1_1;\n var1_1.aByte154 = (byte)-15;\n return var1_1;\n }\n String string = arrstring[n3];\n if (string != null && string.length() != 0 && string.equalsIgnoreCase(\"Wear\")) {\n bl = true;\n }\n ++n3;\n } while (true);\n }",
"@Override\n public void definitionListItem()\n {\n }",
"ListValue createListValue();",
"ListType createListType();",
"CollectionItem createCollectionItem();",
"OrderedListContent createOrderedListContent();",
"com.exacttarget.wsdl.partnerapi.ObjectDefinition insertNewObjectDefinition(int i);",
"LI createLI();",
"void createItem (String name, String description, double price);",
"@Override\r\n\t\r\n\t protected OverlayItem createItem(int index) {\n\t\treturn lstItems.get(index);\r\n\t\r\n\t }",
"public ItemStack createItem(ItemType type, int damage,List<Text> lore);",
"public Item createItem() {\n if(pickUpImplementation == null)\n {\n pickUpImplementation = new DefaultPickUp();\n }\n\n if(lookImplementation == null)\n {\n lookImplementation = new DefaultLook(R.string.default_look);\n }\n\n if(defaultItemInteraction == null)\n {\n throw new IllegalArgumentException(\"No default interaction specified!\");\n }\n\n\n return new Item(\n id,\n name,\n pickUpImplementation,\n lookImplementation,\n useImplementation,\n defaultItemInteraction\n );\n }",
"UnorderedListContent createUnorderedListContent();",
"SectionList createSectionList();",
"@Override\r\n public AgendaItemDefinition build() {\r\n return new AgendaItemDefinition(this);\r\n }",
"QuoteItem createQuoteItem();",
"ElementDefinition createElementDefinition();",
"private ListItem buildListItem(int menuItemId) {\n return new ListItem(ListItemType.MENU_ITEM,\n new PropertyModel.Builder(TabSelectionEditorActionProperties.MENU_ITEM_KEYS)\n .with(TabSelectionEditorActionProperties.MENU_ITEM_ID, menuItemId)\n .build());\n }",
"void create(MenuTO menuTO, List<Integer> itemsIDList) throws DAOException;",
"@Override\n\tpublic Item create() {\n\t\tLOGGER.info(\"Shoe Name\");\n\t\tString item_name = util.getString();\n\t\tLOGGER.info(\"Shoe Size\");\n\t\tdouble size = util.getDouble();\n\t\tLOGGER.info(\"Set Price\");\n\t\tdouble price = util.getDouble();\n\t\tLOGGER.info(\"Number in Stock\");\n\t\tlong stock = util.getLong();\n\t\tItem newItem = itemDAO.create(new Item(item_name, size, price, stock));\n\t\tLOGGER.info(\"\\n\");\n\t\treturn newItem;\n\t}",
"com.exacttarget.wsdl.partnerapi.ObjectDefinition addNewObjectDefinition();",
"public static void createItems(){\n Registry.register(Registry.ITEM, new Identifier(nameSpace, \"breadly\"), BREADLY);\n Registry.register(Registry.ITEM, new Identifier(nameSpace, \"hard_boiled_egg\"), HARD_BOILED_EGG);\n\n\n Registry.register(Registry.ITEM, new Identifier(nameSpace, \"ender_dragon_spawn_egg\"), ENDER_DRAGON_SPAWN_EGG);\n Registry.register(Registry.ITEM, new Identifier(nameSpace, \"wither_spawn_egg\"), WITHER_SPAWN_EGG);\n Registry.register(Registry.ITEM, new Identifier(nameSpace, \"illusioner_spawn_egg\"), ILLUSIONER_SPAWN_EGG);\n Registry.register(Registry.ITEM, new Identifier(nameSpace, \"giant_spawn_egg\"), GIANT_SPAWN_EGG);\n Registry.register(Registry.ITEM, new Identifier(nameSpace, \"spawn_spawn_egg\"), SPAWN_SPAWN_EGG);\n }",
"void createSportItem (String name, String description, double price, String sportType);",
"public Item createNew(int xpos, int ypos) {\r\n Item i = new Item(name, id);\r\n i.setPosition(xpos, ypos);\r\n return i;\r\n }",
"public @NotNull Item newItem();",
"@Override\r\n\t\tpublic boolean createItem() {\n\t\t\treturn false;\r\n\t\t}",
"private Listitem constructListItem(final String name,String label, String imageSrc, final String locationUri) {\n\t\tListitem tb = new Listitem();\n\t\t\n\t\ttb.setImage(imageSrc);\n\t\ttb.setLabel(label);\n\t\ttb.setStyle(\"padding: 2px; border-spacing: 0\");\n\n\t\t\n\t\t//new and register listener for events\n\t\tEventListener<Event> onActionListener = new SerializableEventListener<Event>(){\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\tpublic void onEvent(Event event) throws Exception {\n\t\t\t\t//redirect current url to new location\n\t\t\t\tif(locationUri.startsWith(\"http\")){\n\t\t\t\t\t//open a new browser tab\n\t\t\t\t\tExecutions.getCurrent().sendRedirect(locationUri);\n\t\t\t\t}else{\n\t\t\t\t\t//use iterable to find the first include only\n\t\t\t\t\tInclude include = (Include)Selectors.iterable(eastSideBarTabbox.getPage(), \"#mainInclude\").iterator().next();\n\t\t\t\t\tinclude.setSrc(locationUri);\n\t\t\t\t\tSessions.getCurrent().setAttribute(\"CURRENT_PAGE\", name);\n\t\t\t\t\t\n\t\t\t\t\t//advance bookmark control, \n\t\t\t\t\t//bookmark with a prefix\n\t\t\t\t\tif(name!=null){\n\n\t\t\t\t\t\tgetPage().getDesktop().setBookmark(Context.BOOKMARK_SEPARATOR + name);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\t\t\n\t\ttb.addEventListener(Events.ON_CLICK, onActionListener);\n\n\t\treturn tb;\n\t}",
"abstract void makeList();",
"public void create(RecognizedItem item, SketchBook model) {\n }",
"private static void customItems(ItemDefinition itemDef) {\n\n\t\tswitch (itemDef.id) {\n\n\t\tcase 11864:\n\t\tcase 11865:\n\t\tcase 19639:\n\t\tcase 19641:\n\t\tcase 19643:\n\t\tcase 19645:\n\t\tcase 19647:\n\t\tcase 19649:\n\t\tcase 23073:\n\t\tcase 23075:\n\t\t\titemDef.equipActions[2] = \"Log\";\n\t\t\titemDef.equipActions[1] = \"Check\";\n\t\t\tbreak;\n\n\t\tcase 13136:\n\t\t\titemDef.equipActions[2] = \"Elidinis\";\n\t\t\titemDef.equipActions[1] = \"Kalphite Hive\";\n\t\t\tbreak;\n\t\tcase 2550:\n\t\t\titemDef.equipActions[2] = \"Check\";\n\t\t\tbreak;\n\n\t\tcase 1712:\n\t\tcase 1710:\n\t\tcase 1708:\n\t\tcase 1706:\n\t\t\titemDef.equipActions[1] = \"Edgeville\";\n\t\t\titemDef.equipActions[2] = \"Karamja\";\n\t\t\titemDef.equipActions[3] = \"Draynor\";\n\t\t\titemDef.equipActions[4] = \"Al-Kharid\";\n\t\t\tbreak;\n\n\t\tcase 22000:\n\t\t\titemDef.name = \"Lava partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"A lava partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 22001:\n\t\t\titemDef.name = \"Infernal partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"An Infernal partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 2552:\n\t\tcase 2554:\n\t\tcase 2556:\n\t\tcase 2558:\n\t\tcase 2560:\n\t\tcase 2562:\n\t\tcase 2564:\n\t\tcase 2566: // Ring of duelling\n\t\t\titemDef.equipActions[2] = \"Shantay Pass\";\n\t\t\titemDef.equipActions[1] = \"Clan wars\";\n\t\t\tbreak;\n\n\t\tcase 21307:\n\t\t\titemDef.name = \"Pursuit crate\";\n\t\t\tbreak;\n\n\t\tcase 12792:\n\t\t\titemDef.name = \"Graceful recolor kit\";\n\t\t\tbreak;\n\n\t\tcase 12022:\n\t\t\titemDef.name = \"Bandos Casket\";\n\t\t\titemDef.description = \"100% chance for an item off the Bandos gwds rare drop table.\";\n\t\t\tbreak;\n\n\t\tcase 12024:\n\t\t\titemDef.name = \"Armadyl Casket\";\n\t\t\titemDef.description = \"100% chance for an item off the Armadyl gwds rare drop table.\";\n\t\t\tbreak;\n\n\t\tcase 12026:\n\t\t\titemDef.name = \"Saradomin Casket\";\n\t\t\titemDef.description = \"100% chance for an item off the Saradomin gwds rare drop table.\";\n\t\t\tbreak;\n\n\t\tcase 12028:\n\t\t\titemDef.name = \"Zamorak Casket\";\n\t\t\titemDef.description = \"100% chance for an item off the Zamorak gwds rare drop table.\";\n\t\t\tbreak;\n\n\t\tcase 964:\n\t\t\titemDef.name = \"Pet Petie\";\n\t\t\tbreak;\n\n\t\tcase 20853:\n\t\t\titemDef.name = \"Deep Sea Bait\";\n\t\t\titemDef.stackable = true;\n\t\t\tbreak;\n\n\t\t/*\n\t\t * case 17014: itemDef.name = \"Dragon flail\"; itemDef.modelId = 50083;\n\t\t * itemDef.modelZoom = 1440; itemDef.modelRotation2 = 272;\n\t\t * itemDef.modelRotation1 = 352; itemDef.modelOffset1 = 32;\n\t\t * //itemDef.modelOffset2 = 0; itemDef.maleModel = 50083; itemDef.femaleModel =\n\t\t * 50083; itemDef.anInt164 = -1; itemDef.anInt188 = -1; itemDef.aByte205 = -8;\n\t\t * itemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t * itemDef.inventoryOptions = new String[] { \"Wear\", null, null, null, \"Drop\" };\n\t\t * itemDef.description = \"An Ancient Dragon Flail.\"; break;\n\t\t */\n\n\t\tcase 33272:\n\t\t\titemDef.name = \"Justiciar's Longsword\";\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modelId = 65472;\n\t\t\titemDef.modelZoom = 1726;\n\t\t\titemDef.modelRotation1 = 1576;\n\t\t\titemDef.modelRotation2 = 242;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\t// itemDef.anInt204 = 0;\n\t\t\t// itemDef.aByte205 = -12;\n\t\t\t// itemDef.aByte154 = 0;\n\t\t\titemDef.maleModel = 65465;\n\t\t\titemDef.femaleModel = 65465;\n\t\t\titemDef.description = \"An ancient longsword received from the Trial of Flames.\";\n\t\t\tbreak;\n\n\t\tcase 33168:\n\t\t\titemDef.name = \"Justiciar kiteshield\";\n\t\t\titemDef.modelId = 65471;\n\t\t\titemDef.modelZoom = 1600;\n\t\t\titemDef.modelRotation2 = 250;\n\t\t\titemDef.modelRotation1 = 300;\n\t\t\titemDef.modelOffset1 = -4;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.maleModel = 65473;\n\t\t\titemDef.femaleModel = 65474;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"An ancient kiteshield. Part of the Justiciar set.\";\n\t\t\tbreak;\n\n\t\tcase 2996:\n\t\t\titemDef.name = \"PKP Ticket\";\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.description = \"Exchange this for a PK Point.\";\n\t\t\tbreak;\n\t\tcase 13226:\n\t\t\titemDef.name = \"Herb Sack\";\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.description = \"A sack for storing grimy herbs.\";\n\t\t\tbreak;\n\t\tcase 13346:\n\t\t\titemDef.name = \"Raid Mystery Box\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Open for chances to receive Raid items & other awesome rewards.\";\n\t\t\tbreak;\n\t\tcase 8800:\n\t\t\titemDef.name = \"Donator Tokens\";\n\t\t\titemDef.modelId = 31624;\n\t\t\t// itemDef.stackAmounts = new int[] { 2, 3, 50, 100, 500000, 1000000, 2500000,\n\t\t\t// 10000000, 100000000, 0 };//amount the model will change at\n\t\t\t// itemDef.stackIDs = new int[] { 8801, 8802, 8803, 8804, 8805, 8806, 8807,\n\t\t\t// 8808, 8809, 0 };//new item id to grab the model from\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 853;\n\t\t\titemDef.modelRotation2 = 1885;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8801:\n\t\t\titemDef.name = \"Donator Tokens\";\n\t\t\titemDef.modelId = 15344;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8802:\n\t\t\titemDef.name = \"Donator Tokens\";\n\t\t\titemDef.modelId = 15345;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8803:\n\t\t\titemDef.name = \"Donator Coins\";\n\t\t\titemDef.modelId = 15346;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8804:\n\t\t\titemDef.name = \"Donator Coins\";\n\t\t\titemDef.modelId = 15347;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8805:\n\t\t\titemDef.name = \"Donator Coins\";\n\t\t\titemDef.modelId = 15348;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8806:\n\t\t\titemDef.name = \"Donator Coins\";\n\t\t\titemDef.modelId = 15349;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8807:\n\t\t\titemDef.name = \"Donator Coins\";\n\t\t\titemDef.modelId = 15350;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8808:\n\t\t\titemDef.name = \"Donator Coins\";\n\t\t\titemDef.modelId = 15351;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8809:\n\t\t\titemDef.name = \"Donator Coins\";\n\t\t\titemDef.modelId = 15352;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 15098:\n\t\t\titemDef.name = \"Dice (up to 100)\";\n\t\t\titemDef.description = \"A 100-sided dice.\";\n\t\t\titemDef.modelId = 31223;\n\t\t\titemDef.modelZoom = 1104;\n\t\t\titemDef.modelRotation2 = 215;\n\t\t\titemDef.modelRotation1 = 94;\n\t\t\titemDef.modelOffset2 = -5;\n\t\t\titemDef.modelOffset1 = -18;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Public-roll\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.name = \"Dice (up to 100)\";\n\t\t\titemDef.anInt196 = 15;\n\t\t\titemDef.anInt184 = 25;\n\t\t\tbreak;\n\n\t\tcase 32991:\n\t\t\titemDef.name = \"Divine spirit shield\";\n\t\t\titemDef.description = \"An ethereal shield with an divine sigil attached to it.\";\n\t\t\titemDef.modelId = 50001;\n\t\t\titemDef.maleModel = 50002;\n\t\t\titemDef.femaleModel = 50002;\n\t\t\titemDef.modelZoom = 1616;\n\t\t\titemDef.modelRotation2 = 1050;\n\t\t\titemDef.modelRotation1 = 396;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\tbreak;\n\t\tcase 32992:\n\t\t\titemDef.name = \"Rainbow spirit shield\";\n\t\t\titemDef.description = \"An ethereal shield with all 4 sigils attached to it.\";\n\t\t\titemDef.modelId = 50004;\n\t\t\titemDef.maleModel = 50005;\n\t\t\titemDef.femaleModel = 50005;\n\t\t\titemDef.modelZoom = 1616;\n\t\t\titemDef.modelRotation2 = 1050;\n\t\t\titemDef.modelRotation1 = 396;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 32993:\n\t\t\titemDef.name = \"Divine sigil\";\n\t\t\titemDef.description = \"A sigil in the shape of a divine symbol.\";\n\t\t\titemDef.modelId = 50003;\n\t\t\titemDef.modelZoom = 848;\n\t\t\titemDef.modelRotation1 = 267;\n\t\t\titemDef.modelRotation2 = 138;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33060:\n\t\t\titemDef.name = \"Barrows Sword\";\n\t\t\titemDef.description = \"A sword glowing with otherworldy energy.\";\n\t\t\titemDef.modelId = 22325;\n\t\t\titemDef.maleModel = 50010;\n\t\t\titemDef.femaleModel = 50010;\n\t\t\titemDef.modelZoom = 1616;\n\t\t\titemDef.modelRotation2 = 1050;\n\t\t\titemDef.modelRotation1 = 396;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\tbreak;\n\t\tcase 32994:\n\t\t\titemDef.name = \"Statius's platebody\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42602;\n\t\t\titemDef.maleModel = 35951;\n\t\t\titemDef.femaleModel = 35964;\n\t\t\titemDef.modelZoom = 1312;\n\t\t\titemDef.modelRotation1 = 272;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.modelOffset1 = -2;\n\t\t\titemDef.modelOffset2 = 39;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 32995:\n\t\t\titemDef.name = \"Statius's platelegs\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42590;\n\t\t\titemDef.maleModel = 35947;\n\t\t\titemDef.femaleModel = 35961;\n\t\t\titemDef.modelZoom = 1625;\n\t\t\titemDef.modelRotation1 = 355;\n\t\t\titemDef.modelRotation2 = 2046;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -11;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 32996:\n\t\t\titemDef.name = \"Statius's full helm\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42596;\n\t\t\titemDef.maleModel = 35943;\n\t\t\titemDef.femaleModel = 35958;\n\t\t\titemDef.modelZoom = 789;\n\t\t\titemDef.modelRotation1 = 96;\n\t\t\titemDef.modelRotation2 = 2039;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -7;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 32997:\n\t\t\titemDef.name = \"Statius's warhammer\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42577;\n\t\t\titemDef.maleModel = 35968;\n\t\t\titemDef.femaleModel = 35968;\n\t\t\titemDef.modelZoom = 1360;\n\t\t\titemDef.modelRotation1 = 507;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 7;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 32998:\n\t\t\titemDef.name = \"Vesta's chainbody\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42593;\n\t\t\titemDef.maleModel = 35953;\n\t\t\titemDef.femaleModel = 35965;\n\t\t\titemDef.modelZoom = 1440;\n\t\t\titemDef.modelRotation1 = 545;\n\t\t\titemDef.modelRotation2 = 2;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 32999:\n\t\t\titemDef.name = \"Vesta's plateskirt\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42581;\n\t\t\titemDef.maleModel = 35950;\n\t\t\titemDef.femaleModel = 35960;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.modelOffset2 = 11;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33000:\n\t\t\titemDef.name = \"Vesta's longsword\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42597;\n\t\t\titemDef.maleModel = 35969;\n\t\t\titemDef.femaleModel = 35969;\n\t\t\titemDef.modelZoom = 1744;\n\t\t\titemDef.modelRotation1 = 738;\n\t\t\titemDef.modelRotation2 = 1985;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.maleOffset = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33001:\n\t\t\titemDef.name = \"Vesta's spear\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42599;\n\t\t\titemDef.maleModel = 35973;\n\t\t\titemDef.femaleModel = 35973;\n\t\t\titemDef.modelZoom = 2022;\n\t\t\titemDef.modelRotation1 = 480;\n\t\t\titemDef.modelRotation2 = 15;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.maleOffset = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33002:\n\t\t\titemDef.name = \"Morrigan's leather body\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42578;\n\t\t\titemDef.maleModel = 35954;\n\t\t\titemDef.femaleModel = 35963;\n\t\t\titemDef.modelZoom = 1440;\n\t\t\titemDef.modelRotation1 = 545;\n\t\t\titemDef.modelRotation2 = 2;\n\t\t\titemDef.modelOffset1 = -2;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33003:\n\t\t\titemDef.name = \"Morrigan's leather chaps\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42603;\n\t\t\titemDef.maleModel = 35948;\n\t\t\titemDef.femaleModel = 35959;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 482;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.modelOffset2 = 11;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33004:\n\t\t\titemDef.name = \"Morrigan's coif\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42583;\n\t\t\titemDef.maleModel = 35945;\n\t\t\titemDef.femaleModel = 35956;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 537;\n\t\t\titemDef.modelRotation2 = 5;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33005:\n\t\t\titemDef.name = \"Morrigan's javelin\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42592;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.maleModel = 42613;\n\t\t\titemDef.femaleModel = 42613;\n\t\t\titemDef.modelZoom = 1872;\n\t\t\titemDef.modelRotation1 = 282;\n\t\t\titemDef.modelRotation2 = 2009;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.maleOffset = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33006:\n\t\t\titemDef.name = \"Morrigan's throwing axe\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42582;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.maleModel = 42611;\n\t\t\titemDef.femaleModel = 42611;\n\t\t\titemDef.modelZoom = 976;\n\t\t\titemDef.modelRotation1 = 672;\n\t\t\titemDef.modelRotation2 = 2024;\n\t\t\titemDef.modelOffset1 = -5;\n\t\t\titemDef.maleOffset = -8;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33007:\n\t\t\titemDef.name = \"Zuriels robe top\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42591;\n\t\t\titemDef.maleModel = 35952;\n\t\t\titemDef.femaleModel = 35966;\n\t\t\titemDef.modelZoom = 1373;\n\t\t\titemDef.modelRotation1 = 373;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -7;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33008:\n\t\t\titemDef.name = \"Zuriels robe bottom\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42588;\n\t\t\titemDef.maleModel = 35949;\n\t\t\titemDef.femaleModel = 35962;\n\t\t\titemDef.modelZoom = 1697;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33009:\n\t\t\titemDef.name = \"Zuriels hood\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42604;\n\t\t\titemDef.maleModel = 35944;\n\t\t\titemDef.femaleModel = 35957;\n\t\t\titemDef.modelZoom = 720;\n\t\t\titemDef.modelRotation1 = 28;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33010:\n\t\t\titemDef.name = \"Zuriels staff\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42595;\n\t\t\titemDef.maleModel = 35971;\n\t\t\titemDef.femaleModel = 35971;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 366;\n\t\t\titemDef.modelRotation2 = 3;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33011:\n\t\t\titemDef.name = \"Craw's bow (u)\";\n\t\t\titemDef.description = \"This bow once belonged to a formidable follower of Armadyl.\";\n\t\t\titemDef.modelId = 35777;\n\t\t\titemDef.maleModel = 35768;\n\t\t\titemDef.femaleModel = 35768;\n\t\t\titemDef.modelZoom = 1979;\n\t\t\titemDef.modelRotation1 = 1463;\n\t\t\titemDef.modelRotation2 = 510;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33012:\n\t\t\titemDef.name = \"Craw's bow\";\n\t\t\titemDef.description = \"This bow once belonged to a formidable follower of Armadyl.\";\n\t\t\titemDef.modelId = 35777;\n\t\t\titemDef.maleModel = 35769;\n\t\t\titemDef.femaleModel = 35769;\n\t\t\titemDef.modelZoom = 1979;\n\t\t\titemDef.modelRotation1 = 1463;\n\t\t\titemDef.modelRotation2 = 510;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33013:\n\t\t\titemDef.name = \"Thammaron's sceptre (u)\";\n\t\t\titemDef.description = \"A mighty sceptre used in long forgotten battles.\";\n\t\t\titemDef.modelId = 35776;\n\t\t\titemDef.maleModel = 35772;\n\t\t\titemDef.femaleModel = 35772;\n\t\t\titemDef.modelZoom = 2105;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 1020;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33014:\n\t\t\titemDef.name = \"Thammaron's sceptre\";\n\t\t\titemDef.description = \"A mighty sceptre used in long forgotten battles.\";\n\t\t\titemDef.modelId = 35776;\n\t\t\titemDef.maleModel = 35773;\n\t\t\titemDef.femaleModel = 35773;\n\t\t\titemDef.modelZoom = 2105;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 1020;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33015:\n\t\t\titemDef.name = \"Viggora's chainmace (u)\";\n\t\t\titemDef.description = \"An ancient chainmace with a peculiar mechanism that allows for varying attack styles.\";\n\t\t\titemDef.modelId = 35778;\n\t\t\titemDef.maleModel = 35770;\n\t\t\titemDef.femaleModel = 35770;\n\t\t\titemDef.modelZoom = 1616;\n\t\t\titemDef.modelRotation1 = 252;\n\t\t\titemDef.modelRotation2 = 944;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33016:\n\t\t\titemDef.name = \"Viggora's chainmace\";\n\t\t\titemDef.description = \"An ancient chainmace with a peculiar mechanism that allows for varying attack styles.\";\n\t\t\titemDef.modelId = 35778;\n\t\t\titemDef.maleModel = 35771;\n\t\t\titemDef.femaleModel = 35771;\n\t\t\titemDef.modelZoom = 1616;\n\t\t\titemDef.modelRotation1 = 252;\n\t\t\titemDef.modelRotation2 = 944;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33018:\n\t\t\titemDef.name = \"Amulet of avarice\";\n\t\t\titemDef.description = \"A hauntingly beautiful amulet bearing the shape of a skull.\";\n\t\t\titemDef.modelId = 35779;\n\t\t\titemDef.maleModel = 35766;\n\t\t\titemDef.femaleModel = 35766;\n\t\t\titemDef.modelZoom = 420;\n\t\t\titemDef.modelRotation1 = 191;\n\t\t\titemDef.modelRotation2 = 86;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33019:\n\t\t\titemDef.name = \"Completionist cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\titemDef.modelId = 65270;\n\t\t\titemDef.maleModel = 65297;\n\t\t\titemDef.femaleModel = 65316;\n\t\t\titemDef.modelZoom = 1316;\n\t\t\titemDef.modelRotation1 = 252;\n\t\t\titemDef.modelRotation2 = 1020;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 24;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33020:\n\t\t\titemDef.name = \"Completionist cape (t)\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\titemDef.modelId = 65258;\n\t\t\titemDef.maleModel = 65295;\n\t\t\titemDef.femaleModel = 65328;\n\t\t\titemDef.modelZoom = 1316;\n\t\t\titemDef.modelRotation1 = 252;\n\t\t\titemDef.modelRotation2 = 1020;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 24;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33021:\n\t\t\titemDef.name = \"Torva full helm\";\n\t\t\titemDef.description = \"An ancient warrior's full helm.\";\n\t\t\titemDef.modelId = 62714;\n\t\t\titemDef.maleModel = 62738;\n\t\t\titemDef.femaleModel = 62738;\n\t\t\titemDef.modelZoom = 672;\n\t\t\titemDef.modelRotation1 = 85;\n\t\t\titemDef.modelRotation2 = 1867;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33022:\n\t\t\titemDef.name = \"Torva platebody\";\n\t\t\titemDef.description = \"An ancient warrior's platebody.\";\n\t\t\titemDef.modelId = 62699;\n\t\t\titemDef.maleModel = 62746;\n\t\t\titemDef.femaleModel = 62746;\n\t\t\titemDef.modelZoom = 1506;\n\t\t\titemDef.modelRotation1 = 473;\n\t\t\titemDef.modelRotation2 = 2042;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33023:\n\t\t\titemDef.name = \"Torva platelegs\";\n\t\t\titemDef.description = \"An ancient warrior's platelegs.\";\n\t\t\titemDef.modelId = 62701;\n\t\t\titemDef.maleModel = 62740;\n\t\t\titemDef.femaleModel = 62740;\n\t\t\titemDef.modelZoom = 1740;\n\t\t\titemDef.modelRotation1 = 474;\n\t\t\titemDef.modelRotation2 = 2045;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33024:\n\t\t\titemDef.name = \"Pernix cowl\";\n\t\t\titemDef.description = \"An ancient warrior's cowl.\";\n\t\t\titemDef.modelId = 62693;\n\t\t\titemDef.maleModel = 62739;\n\t\t\titemDef.femaleModel = 62739;\n\t\t\titemDef.modelZoom = 800;\n\t\t\titemDef.modelRotation1 = 532;\n\t\t\titemDef.modelRotation2 = 14;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33025:\n\t\t\titemDef.name = \"Pernix body\";\n\t\t\titemDef.description = \"An ancient warrior's leather body.\";\n\t\t\titemDef.modelId = 62709;\n\t\t\titemDef.maleModel = 62744;\n\t\t\titemDef.femaleModel = 62744;\n\t\t\titemDef.modelZoom = 1378;\n\t\t\titemDef.modelRotation1 = 485;\n\t\t\titemDef.modelRotation2 = 2042;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 7;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33026:\n\t\t\titemDef.name = \"Pernix chaps\";\n\t\t\titemDef.description = \"An ancient warrior's chaps.\";\n\t\t\titemDef.modelId = 62695;\n\t\t\titemDef.maleModel = 62741;\n\t\t\titemDef.femaleModel = 62741;\n\t\t\titemDef.modelZoom = 1740;\n\t\t\titemDef.modelRotation1 = 504;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33027:\n\t\t\titemDef.name = \"Virtus mask\";\n\t\t\titemDef.description = \"An ancient warrior's mask.\";\n\t\t\titemDef.modelId = 62710;\n\t\t\titemDef.maleModel = 62736;\n\t\t\titemDef.femaleModel = 62736;\n\t\t\titemDef.modelZoom = 928;\n\t\t\titemDef.modelRotation1 = 406;\n\t\t\titemDef.modelRotation2 = 2041;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33028:\n\t\t\titemDef.name = \"Virtus robe top\";\n\t\t\titemDef.description = \"An ancient warrior's robe top.\";\n\t\t\titemDef.modelId = 62704;\n\t\t\titemDef.maleModel = 62748;\n\t\t\titemDef.femaleModel = 62748;\n\t\t\titemDef.modelZoom = 1122;\n\t\t\titemDef.modelRotation1 = 488;\n\t\t\titemDef.modelRotation2 = 3;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33029:\n\t\t\titemDef.name = \"Virtus robe legs\";\n\t\t\titemDef.description = \"An ancient warrior's robe legs.\";\n\t\t\titemDef.modelId = 62700;\n\t\t\titemDef.maleModel = 62742;\n\t\t\titemDef.femaleModel = 62742;\n\t\t\titemDef.modelZoom = 1740;\n\t\t\titemDef.modelRotation1 = 498;\n\t\t\titemDef.modelRotation2 = 2045;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33030:\n\t\t\titemDef.name = \"Zaryte bow\";\n\t\t\titemDef.description = \"An ancient warrior's bow.\";\n\t\t\titemDef.modelId = 62692;\n\t\t\titemDef.maleModel = 62750;\n\t\t\titemDef.femaleModel = 62750;\n\t\t\titemDef.modelZoom = 1703;\n\t\t\titemDef.modelRotation1 = 221;\n\t\t\titemDef.modelRotation2 = 404;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -13;\n\t\t\titemDef.maleOffset = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33083:\n\t\t\titemDef.name = \"Tokhaar-kal\";\n\t\t\titemDef.description = \"\tA cape made of ancient, enchanted obsidian.\";\n\t\t\titemDef.modelId = 52073;\n\t\t\titemDef.maleModel = 52072;\n\t\t\titemDef.femaleModel = 52071;\n\t\t\titemDef.modelZoom = 1615;\n\t\t\titemDef.modelRotation1 = 339;\n\t\t\titemDef.modelRotation2 = 192;\n\t\t\titemDef.modelOffset1 = -4;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33089:\n\t\t\titemDef.name = \"Chaotic maul\";\n\t\t\titemDef.description = \"A maul used to claim life from those who don't deserve it.\";\n\t\t\titemDef.modelId = 54286;\n\t\t\titemDef.maleModel = 56294;\n\t\t\titemDef.femaleModel = 56294;\n\t\t\titemDef.modelZoom = 1447;\n\t\t\titemDef.modelRotation1 = 525;\n\t\t\titemDef.modelRotation2 = 350;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = -7;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\tbreak;\n\t\tcase 33094:\n\t\t\titemDef.name = \"Chaotic crossbow\";\n\t\t\titemDef.description = \"A small crossbow, only effective at short distance.\";\n\t\t\titemDef.modelId = 54331;\n\t\t\titemDef.maleModel = 56307;\n\t\t\titemDef.femaleModel = 56307;\n\t\t\titemDef.modelZoom = 1028;\n\t\t\titemDef.modelRotation1 = 249;\n\t\t\titemDef.modelRotation2 = 2021;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -54;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = -7;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\tbreak;\n\t\tcase 33095:\n\t\t\titemDef.name = \"Chaotic staff\";\n\t\t\titemDef.description = \"This staff makes destructive spells more powerful.\";\n\t\t\titemDef.modelId = 54367;\n\t\t\titemDef.maleModel = 56286;\n\t\t\titemDef.femaleModel = 56286;\n\t\t\titemDef.modelZoom = 1711;\n\t\t\titemDef.modelRotation1 = 471;\n\t\t\titemDef.modelRotation2 = 391;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = -7;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\tbreak;\n\t\tcase 33096:\n\t\t\titemDef.name = \"Chaotic kiteshield\";\n\t\t\titemDef.description = \"A large metal shield.\";\n\t\t\titemDef.modelId = 54358;\n\t\t\titemDef.maleModel = 56038;\n\t\t\titemDef.femaleModel = 56038;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 276;\n\t\t\titemDef.modelRotation2 = 1101;\n\t\t\titemDef.modelOffset1 = -5;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33031:\n\t\t\titemDef.name = \"Chaotic rapier\";\n\t\t\titemDef.description = \"A razor-sharp rapier.\";\n\t\t\titemDef.modelId = 54197;\n\t\t\titemDef.maleModel = 56252;\n\t\t\titemDef.femaleModel = 56252;\n\t\t\titemDef.modelZoom = 1425;\n\t\t\titemDef.modelRotation1 = 540;\n\t\t\titemDef.modelRotation2 = 1370;\n\t\t\titemDef.modelOffset1 = 9;\n\t\t\titemDef.modelOffset2 = 13;\n\t\t\titemDef.maleOffset = -12;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = -7;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\tbreak;\n\t\tcase 33032:\n\t\t\titemDef.name = \"Chaotic longsword\";\n\t\t\titemDef.description = \"A razor-sharp longsword.\";\n\t\t\titemDef.modelId = 54204;\n\t\t\titemDef.maleModel = 56237;\n\t\t\titemDef.femaleModel = 56237;\n\t\t\titemDef.modelZoom = 1650;\n\t\t\titemDef.modelRotation1 = 498;\n\t\t\titemDef.modelRotation2 = 1300;\n\t\t\t// itemDef.aByte154 = -14;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = -7;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\tbreak;\n\t\tcase 33097:\n\t\t\titemDef.name = \"Sword of Onyxia\";\n\t\t\titemDef.description = \"A razor-sharp longsword.\";\n\t\t\titemDef.modelId = 53091;\n\t\t\titemDef.maleModel = 53092;\n\t\t\titemDef.femaleModel = 53092;\n\t\t\titemDef.modelZoom = 2007;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33098:\n\t\t\titemDef.name = \"Onyxia longsword\";\n\t\t\titemDef.description = \"A razor-sharp 2h sword.\";\n\t\t\titemDef.modelId = 53093;\n\t\t\titemDef.maleModel = 53094;\n\t\t\titemDef.femaleModel = 53094;\n\t\t\titemDef.modelZoom = 4007;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.maleOffset = -8;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33099:\n\t\t\titemDef.name = \"White scimitar\";\n\t\t\titemDef.description = \"A razor-sharp scimitar.\";\n\t\t\titemDef.modelId = 53097;\n\t\t\titemDef.maleModel = 53098;\n\t\t\titemDef.femaleModel = 53098;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 312;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\t// itemDef.aByte154 = -14;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33100:\n\t\t\titemDef.name = \"White kiteshield\";\n\t\t\titemDef.description = \"a heavy kiteshield.\";\n\t\t\titemDef.modelId = 53095;\n\t\t\titemDef.maleModel = 53096;\n\t\t\titemDef.femaleModel = 53096;\n\t\t\titemDef.modelZoom = 1616;\n\t\t\titemDef.modelRotation1 = 303;\n\t\t\titemDef.modelRotation2 = 180;\n\t\t\t// itemDef.aByte154 = -14;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.modelOffset2 = 7;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33033:\n\t\t\titemDef.name = \"Agility master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 677, 801, 43540, 43543, 43546, 43549, 43550, 43552, 43554, 43558,\n\t\t\t\t\t43560, 43575 };\n\t\t\titemDef.modelId = 50030;\n\t\t\titemDef.maleModel = 50031;\n\t\t\titemDef.femaleModel = 50031;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33034:\n\t\t\titemDef.name = \"Attack master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 7104, 9151, 911, 914, 917, 920, 921, 923, 925, 929, 931, 946 };\n\t\t\titemDef.modelId = 50032;\n\t\t\titemDef.maleModel = 50033;\n\t\t\titemDef.femaleModel = 50033;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33035:\n\t\t\titemDef.name = \"Construction master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 6061, 5945, 6327, 6330, 6333, 6336, 6337, 6339, 6341, 6345, 6347,\n\t\t\t\t\t6362 };\n\t\t\titemDef.modelId = 50034;\n\t\t\titemDef.maleModel = 50035;\n\t\t\titemDef.femaleModel = 50035;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33036:\n\t\t\titemDef.name = \"Cooking master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 920, 920, 51856, 51859, 51862, 51865, 51866, 51868, 51870, 51874,\n\t\t\t\t\t51876, 51891 };\n\t\t\titemDef.modelId = 50036;\n\t\t\titemDef.maleModel = 50037;\n\t\t\titemDef.femaleModel = 50037;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33037:\n\t\t\titemDef.name = \"Crafting master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 9142, 9152, 4511, 4514, 4517, 4520, 4521, 4523, 4525, 4529, 4531,\n\t\t\t\t\t4546 };\n\t\t\titemDef.modelId = 50038;\n\t\t\titemDef.maleModel = 50039;\n\t\t\titemDef.femaleModel = 50039;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33038:\n\t\t\titemDef.name = \"Defence master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 10460, 10473, 41410, 41413, 41416, 41419, 41420, 41422, 41424,\n\t\t\t\t\t41428, 41430, 41445 };\n\t\t\titemDef.modelId = 50040;\n\t\t\titemDef.maleModel = 50041;\n\t\t\titemDef.femaleModel = 50041;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33039:\n\t\t\titemDef.name = \"Farming master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 14775, 14792, 22026, 22029, 22032, 22035, 22036, 22038, 22040,\n\t\t\t\t\t22044, 22046, 22061 };\n\t\t\titemDef.modelId = 50042;\n\t\t\titemDef.maleModel = 50043;\n\t\t\titemDef.femaleModel = 50043;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33040:\n\t\t\titemDef.name = \"Firemaking master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 8125, 9152, 4015, 4018, 4021, 4024, 4025, 4027, 4029, 4033, 4035,\n\t\t\t\t\t4050 };\n\t\t\titemDef.modelId = 50044;\n\t\t\titemDef.maleModel = 50045;\n\t\t\titemDef.femaleModel = 50045;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33041:\n\t\t\titemDef.name = \"Fishing master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 9144, 9152, 38202, 38205, 38208, 38211, 38212, 38214, 38216,\n\t\t\t\t\t38220, 38222, 38237 };\n\t\t\titemDef.modelId = 50046;\n\t\t\titemDef.maleModel = 50047;\n\t\t\titemDef.femaleModel = 50047;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33042:\n\t\t\titemDef.name = \"Fletching master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 6067, 9152, 33670, 33673, 33676, 33679, 33680, 33682, 33684,\n\t\t\t\t\t33688, 33690, 33705 };\n\t\t\titemDef.modelId = 50048;\n\t\t\titemDef.maleModel = 50049;\n\t\t\titemDef.femaleModel = 50049;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33043:\n\t\t\titemDef.name = \"Herblore master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 9145, 9156, 22414, 22417, 22420, 22423, 22424, 22426, 22428,\n\t\t\t\t\t22432, 22434, 22449 };\n\t\t\titemDef.modelId = 50050;\n\t\t\titemDef.maleModel = 50051;\n\t\t\titemDef.femaleModel = 50051;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33044:\n\t\t\titemDef.name = \"Hitpoints master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 818, 951, 8291, 8294, 8297, 8300, 8301, 8303, 8305, 8309, 8311,\n\t\t\t\t\t8319 };\n\t\t\titemDef.modelId = 50052;\n\t\t\titemDef.maleModel = 50053;\n\t\t\titemDef.femaleModel = 50053;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\titemDef.femaleOffset = 4;\n\t\t\tbreak;\n\t\tcase 33045:\n\t\t\titemDef.name = \"Hunter master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 5262, 6020, 8472, 8475, 8478, 8481, 8482, 8484, 8486, 8490, 8492,\n\t\t\t\t\t8507 };\n\t\t\titemDef.modelId = 50054;\n\t\t\titemDef.maleModel = 50055;\n\t\t\titemDef.femaleModel = 50055;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33046:\n\t\t\titemDef.name = \"Magic master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 43569, 43685, 6336, 6339, 6342, 6345, 6346, 6348, 6350, 6354,\n\t\t\t\t\t6356, 6371 };\n\t\t\titemDef.modelId = 50056;\n\t\t\titemDef.maleModel = 50057;\n\t\t\titemDef.femaleModel = 50057;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33047:\n\t\t\titemDef.name = \"Mining master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 36296, 36279, 10386, 10389, 10392, 10395, 10396, 10398, 10400,\n\t\t\t\t\t10404, 10406, 10421 };\n\t\t\titemDef.modelId = 50058;\n\t\t\titemDef.maleModel = 50059;\n\t\t\titemDef.femaleModel = 50059;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33048:\n\t\t\titemDef.name = \"Prayer master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 9163, 9168, 117, 120, 123, 126, 127, 127, 127, 127, 127, 127 };\n\t\t\titemDef.modelId = 50060;\n\t\t\titemDef.maleModel = 50061;\n\t\t\titemDef.femaleModel = 50061;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33049:\n\t\t\titemDef.name = \"Range master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 3755, 3998, 15122, 15125, 15128, 15131, 15132, 15134, 15136,\n\t\t\t\t\t15140, 15142, 15157 };\n\t\t\titemDef.modelId = 50062;\n\t\t\titemDef.maleModel = 50063;\n\t\t\titemDef.femaleModel = 50063;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33050:\n\t\t\titemDef.name = \"Runecrafting master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 9152, 8128, 10318, 10321, 10324, 10327, 10328, 10330, 10332,\n\t\t\t\t\t10336, 10338, 10353 };\n\t\t\titemDef.modelId = 50064;\n\t\t\titemDef.maleModel = 50065;\n\t\t\titemDef.femaleModel = 50065;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33051:\n\t\t\titemDef.name = \"Slayer master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811 };\n\t\t\titemDef.originalModelColors = new int[] { 912, 920 };\n\t\t\titemDef.modelId = 50066;\n\t\t\titemDef.maleModel = 50067;\n\t\t\titemDef.femaleModel = 50067;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33052:\n\t\t\titemDef.name = \"Smithing master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 8115, 9148, 10386, 10389, 10392, 10395, 10396, 10398, 10400,\n\t\t\t\t\t10404, 10406, 10421 };\n\t\t\titemDef.modelId = 50068;\n\t\t\titemDef.maleModel = 50069;\n\t\t\titemDef.femaleModel = 50069;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33053:\n\t\t\titemDef.name = \"Strength master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 935, 931, 27538, 27541, 27544, 27547, 27548, 27550, 27552, 27556,\n\t\t\t\t\t27558, 27573 };\n\t\t\titemDef.modelId = 50070;\n\t\t\titemDef.maleModel = 50071;\n\t\t\titemDef.femaleModel = 50071;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33054:\n\t\t\titemDef.name = \"Thieving master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 11, 0, 58779, 58782, 58785, 58788, 58789, 57891, 58793, 58797,\n\t\t\t\t\t58799, 58814 };\n\t\t\titemDef.modelId = 50072;\n\t\t\titemDef.maleModel = 50073;\n\t\t\titemDef.femaleModel = 50073;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33055:\n\t\t\titemDef.name = \"Woodcutting master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 25109, 24088, 6693, 6696, 6699, 6702, 6703, 6705, 6707, 6711,\n\t\t\t\t\t6713, 6728 };\n\t\t\titemDef.modelId = 50074;\n\t\t\titemDef.maleModel = 50075;\n\t\t\titemDef.femaleModel = 50075;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33057:\n\t\t\titemDef.name = \"Abyssal Scythe\";\n\t\t\titemDef.description = \"\tA Scythe recieved from the Trials of Xeric CUSTOM RAID.\";\n\t\t\titemDef.modelId = 50081;\n\t\t\titemDef.maleModel = 50080;\n\t\t\titemDef.femaleModel = 50080;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.maleOffset = -12;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33090:\n\t\t\titemDef.name = \"Goliath gloves (Black)\";\n\t\t\titemDef.description = \"\tA pair of gloves earned with blood.\";\n\t\t\titemDef.modelId = 50108;\n\t\t\titemDef.maleModel = 50100;\n\t\t\titemDef.femaleModel = 50101;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 539;\n\t\t\titemDef.modelRotation2 = 40;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33091:\n\t\t\titemDef.name = \"Goliath gloves (Red)\";\n\t\t\titemDef.description = \"\tA pair of gloves earned with blood.\";\n\t\t\titemDef.modelId = 50108;\n\t\t\titemDef.maleModel = 50102;\n\t\t\titemDef.femaleModel = 50103;\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 65046, 65051, 65056 };\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 539;\n\t\t\titemDef.modelRotation2 = 40;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33092:\n\t\t\titemDef.name = \"Goliath gloves (White)\";\n\t\t\titemDef.description = \"\tA pair of gloves earned with blood.\";\n\t\t\titemDef.modelId = 50108;\n\t\t\titemDef.maleModel = 50104;\n\t\t\titemDef.femaleModel = 50105;\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 64585, 64590, 64595 };\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 539;\n\t\t\titemDef.modelRotation2 = 40;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33093:\n\t\t\titemDef.name = \"Goliath gloves (Yellow)\";\n\t\t\titemDef.description = \"\tA pair of gloves earned with blood.\";\n\t\t\titemDef.modelId = 50108;\n\t\t\titemDef.maleModel = 50106;\n\t\t\titemDef.femaleModel = 50107;\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 9767, 9772, 9777 };\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 539;\n\t\t\titemDef.modelRotation2 = 40;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 12639:\n\t\tcase 12637:\n\t\tcase 12638:\n\t\t\titemDef.description = \"Provides players with infinite run energy!\";\n\t\t\tbreak;\n\t\tcase 33056:\n\t\t\titemDef.name = \"Events cape (slayer)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 933, 0, 0, 0, 0 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33081:\n\t\t\titemDef.name = \"Events cape (agility)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 669, 43430, 43430, 43430, 43430 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33080:\n\t\t\titemDef.name = \"Events cape (attack)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 9926, 1815, 1815, 1815, 1815 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33059:\n\t\t\titemDef.name = \"Events cape (construction)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 6967, 6343, 6343, 6343, 6343 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33061:\n\t\t\titemDef.name = \"Events cape (cooking)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 1819, 49685, 49685, 49685, 49685 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33062:\n\t\t\titemDef.name = \"Events cape (crafting)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 7994, 4516, 4516, 4516, 4516 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33063:\n\t\t\titemDef.name = \"Events cape (defence)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 39367, 10472, 10472, 10472, 10472 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33064:\n\t\t\titemDef.name = \"Events cape (farming)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 10698, 19734, 19734, 19734, 19734 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33065:\n\t\t\titemDef.name = \"Events cape (firemaking)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 10059, 4922, 4922, 4922, 4922 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33066:\n\t\t\titemDef.name = \"Events cape (fishing)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 10047, 36165, 36165, 36165, 36165 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33067:\n\t\t\titemDef.name = \"Events cape (fletching)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 10047, 31500, 31500, 31500, 31500 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33068:\n\t\t\titemDef.name = \"Events cape (herblore)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 10051, 20889, 20889, 20889, 20889 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33069:\n\t\t\titemDef.name = \"Events cape (hitpoints)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 1836, 8296, 8296, 8296, 8296 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33070:\n\t\t\titemDef.name = \"Events cape (hunter)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 6916, 8477, 8477, 8477, 8477 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33071:\n\t\t\titemDef.name = \"Events cape (magic)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 43556, 6339, 6339, 6339, 6339 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33072:\n\t\t\titemDef.name = \"Events cape (mining)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 34111, 10391, 10391, 10391, 10391 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33073:\n\t\t\titemDef.name = \"Events cape (prayer)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 9927, 2169, 2169, 2169, 2169 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33074:\n\t\t\titemDef.name = \"Events cape (range)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 3626, 20913, 20913, 20913, 20913 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33075:\n\t\t\titemDef.name = \"Events cape (runecrafting)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 10047, 10323, 10323, 10323, 10323 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33076:\n\t\t\titemDef.name = \"Events cape (smithing)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 10044, 5412, 5412, 5412, 5412 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33077:\n\t\t\titemDef.name = \"Events cape (strength)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 1819, 30487, 30487, 30487, 30487 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33078:\n\t\t\titemDef.name = \"Events cape (thieveing)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 8, 57636, 57636, 57636, 57636 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33079:\n\t\t\titemDef.name = \"Events cape (woodcutting)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 26007, 6570, 6570, 6570, 6570 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33101:\n\t\t\titemDef.name = \"Vorkath platebody\";\n\t\t\titemDef.description = \"Vorkath armour.\";\n\t\t\titemDef.modelId = 53100;\n\t\t\titemDef.maleModel = 53099;\n\t\t\titemDef.femaleModel = 53099;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33102:\n\t\t\titemDef.name = \"Vorkath platelegs\";\n\t\t\titemDef.description = \"Vorkath armour.\";\n\t\t\titemDef.modelId = 53102;\n\t\t\titemDef.maleModel = 53101;\n\t\t\titemDef.femaleModel = 53101;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33103:\n\t\t\titemDef.name = \"Vorkath boots\";\n\t\t\titemDef.description = \"Vorkath armour.\";\n\t\t\titemDef.modelId = 53104;\n\t\t\titemDef.maleModel = 53103;\n\t\t\titemDef.femaleModel = 53103;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33104:\n\t\t\titemDef.name = \"Vorkath gloves\";\n\t\t\titemDef.description = \"Vorkath armour.\";\n\t\t\titemDef.modelId = 53106;\n\t\t\titemDef.maleModel = 53105;\n\t\t\titemDef.femaleModel = 53105;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33105:\n\t\t\titemDef.name = \"Vorkath helmet\";\n\t\t\titemDef.description = \"Vorkath armour.\";\n\t\t\titemDef.modelId = 53108;\n\t\t\titemDef.maleModel = 53107;\n\t\t\titemDef.femaleModel = 53107;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33106:\n\t\t\titemDef.name = \"Tekton helmet\";\n\t\t\titemDef.description = \"Tekton armour.\";\n\t\t\titemDef.modelId = 53118;\n\t\t\titemDef.maleModel = 53117;\n\t\t\titemDef.femaleModel = 53117;\n\t\t\titemDef.modelZoom = 724;\n\t\t\titemDef.modelRotation1 = 81;\n\t\t\titemDef.modelRotation2 = 1670;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33107:\n\t\t\titemDef.name = \"Tekton platebody\";\n\t\t\titemDef.description = \"Tekton armour.\";\n\t\t\titemDef.modelId = 53110;\n\t\t\titemDef.maleModel = 53109;\n\t\t\titemDef.femaleModel = 53109;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33108:\n\t\t\titemDef.name = \"Tekton platelegs\";\n\t\t\titemDef.description = \"Tekton armour.\";\n\t\t\titemDef.modelId = 53112;\n\t\t\titemDef.maleModel = 53111;\n\t\t\titemDef.femaleModel = 53111;\n\t\t\titemDef.modelZoom = 1550;\n\t\t\titemDef.modelRotation1 = 344;\n\t\t\titemDef.modelRotation2 = 186;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = 11;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33109:\n\t\t\titemDef.name = \"Tekton gloves\";\n\t\t\titemDef.description = \"Tekton armour.\";\n\t\t\titemDef.modelId = 53116;\n\t\t\titemDef.maleModel = 53115;\n\t\t\titemDef.femaleModel = 53115;\n\t\t\titemDef.modelZoom = 830;\n\t\t\titemDef.modelRotation1 = 536;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33110:\n\t\t\titemDef.name = \"Tekton boots\";\n\t\t\titemDef.description = \"Tekton armour.\";\n\t\t\titemDef.modelId = 53114;\n\t\t\titemDef.maleModel = 53113;\n\t\t\titemDef.femaleModel = 53113;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33111:\n\t\t\titemDef.name = \"Anti-santa scythe\";\n\t\t\titemDef.description = \"Legend says this is the biggest arse scratcher around.\";\n\t\t\titemDef.modelId = 57002;\n\t\t\titemDef.maleModel = 57001;\n\t\t\titemDef.femaleModel = 57001;\n\t\t\titemDef.modelZoom = 3224;\n\t\t\titemDef.modelRotation1 = 539;\n\t\t\titemDef.modelRotation2 = 714;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33112:\n\t\t\titemDef.name = \"Dominion staff\";\n\t\t\titemDef.description = \"Dominion staff.\";\n\t\t\titemDef.modelId = 59029;\n\t\t\titemDef.maleModel = 59305;\n\t\t\titemDef.femaleModel = 59305;\n\t\t\titemDef.modelZoom = 1872;\n\t\t\titemDef.modelRotation1 = 288;\n\t\t\titemDef.modelRotation2 = 1685;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33113:\n\t\t\titemDef.name = \"Dominion sword\";\n\t\t\titemDef.description = \"Dominion sword.\";\n\t\t\titemDef.modelId = 59832;\n\t\t\titemDef.maleModel = 59306;\n\t\t\titemDef.femaleModel = 59306;\n\t\t\titemDef.modelZoom = 1829;\n\t\t\titemDef.modelRotation1 = 513;\n\t\t\titemDef.modelRotation2 = 546;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33114:\n\t\t\titemDef.name = \"Dominion crossbow\";\n\t\t\titemDef.description = \"Dominion crossbow.\";\n\t\t\titemDef.modelId = 59839;\n\t\t\titemDef.maleModel = 59304;\n\t\t\titemDef.femaleModel = 59304;\n\t\t\titemDef.modelZoom = 1490;\n\t\t\titemDef.modelRotation1 = 362;\n\t\t\titemDef.modelRotation2 = 791;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33115:\n\t\t\titemDef.name = \"Dragonfire Shield (e)\";\n\t\t\titemDef.description = \"unamed shield.\";\n\t\t\titemDef.modelId = 53120;\n\t\t\titemDef.maleModel = 53119;\n\t\t\titemDef.femaleModel = 53119;\n\t\t\titemDef.modelZoom = 2022;\n\t\t\titemDef.modelRotation1 = 540;\n\t\t\titemDef.modelRotation2 = 123;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[] { null, \"Wear\", \"Inspect\", \"Empty\", \"Drop\" };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33116:\n\t\t\titemDef.name = \"Zilyana's longbow\";\n\t\t\titemDef.description = \"A bow belonged to Zilyana.\";\n\t\t\titemDef.modelId = 53122;\n\t\t\titemDef.maleModel = 53121;\n\t\t\titemDef.femaleModel = 53121;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 636;\n\t\t\titemDef.modelRotation2 = 1010;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33117:\n\t\t\titemDef.name = \"Black dragon hunter crossbow\";\n\t\t\titemDef.description = \"Black dragon hunter crossbow.\";\n\t\t\titemDef.modelId = 53124;\n\t\t\titemDef.maleModel = 53123;\n\t\t\titemDef.femaleModel = 53123;\n\t\t\titemDef.modelZoom = 1554;\n\t\t\titemDef.modelRotation1 = 636;\n\t\t\titemDef.modelRotation2 = 1010;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33118:\n\t\t\titemDef.name = \"Vorkath blowpipe\";\n\t\t\titemDef.description = \"Vorkath blowpipe.\";\n\t\t\titemDef.modelId = 53126;\n\t\t\titemDef.maleModel = 53125;\n\t\t\titemDef.femaleModel = 53125;\n\t\t\titemDef.modelZoom = 1158;\n\t\t\titemDef.modelRotation1 = 768;\n\t\t\titemDef.modelRotation2 = 189;\n\t\t\titemDef.modelOffset1 = -7;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33119:\n\t\t\titemDef.name = \"Superior twisted bow\";\n\t\t\titemDef.description = \"An upgraded twisted bow.\";\n\t\t\titemDef.modelId = 53128;\n\t\t\titemDef.maleModel = 53127;\n\t\t\titemDef.femaleModel = 53127;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 720;\n\t\t\titemDef.modelRotation2 = 1500;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\titemDef.maleOffset = -4;\n\t\t\titemDef.femaleOffset = -4;\n\t\t\tbreak;\n\t\tcase 33123:\n\t\t\titemDef.name = \"Staff of sliske\";\n\t\t\titemDef.description = \"Staff of sliske.\";\n\t\t\titemDef.modelId = 59234;\n\t\t\titemDef.maleModel = 59233;\n\t\t\titemDef.femaleModel = 59233;\n\t\t\titemDef.modelZoom = 1872;\n\t\t\titemDef.modelRotation1 = 288;\n\t\t\titemDef.modelRotation2 = 1685;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33124:\n\t\t\titemDef.name = \"Twisted crossbow\";\n\t\t\titemDef.description = \"Twisted crossbow.\";\n\t\t\titemDef.modelId = 62777;\n\t\t\titemDef.maleModel = 62776;\n\t\t\titemDef.femaleModel = 62776;\n\t\t\titemDef.modelZoom = 926;\n\t\t\titemDef.modelRotation1 = 432;\n\t\t\titemDef.modelRotation2 = 258;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33125:\n\t\t\titemDef.name = \"Present\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modelId = 2426;\n\t\t\titemDef.modelZoom = 1180;\n\t\t\titemDef.modelRotation1 = 160;\n\t\t\titemDef.modelRotation2 = 172;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -14;\n\t\t\titemDef.modifiedModelColors = new int[] { 22410, 2999 };\n\t\t\titemDef.originalModelColors = new int[] { 933, 24410 };\n\t\t\titemDef.description = \"Santa's stolen present\";\n\t\t\tbreak;\n\t\tcase 33126:\n\t\t\titemDef.name = \"Christmas tree branch\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modelId = 2412;\n\t\t\titemDef.modelZoom = 940;\n\t\t\titemDef.modelRotation1 = 268;\n\t\t\titemDef.modelRotation2 = 152;\n\t\t\titemDef.modelOffset1 = -8;\n\t\t\titemDef.modelOffset2 = -21;\n\t\t\titemDef.modifiedModelColors = new int[] { 11144 };\n\t\t\titemDef.originalModelColors = new int[] { 6047 };\n\t\t\titemDef.description = \"Enter examine here.\";\n\t\t\tbreak;\n\t\tcase 33127:\n\t\t\titemDef.name = \"Kbd gloves\";\n\t\t\titemDef.description = \"Kbd gloves.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 33085 };\n\t\t\titemDef.originalModelColors = new int[] { 1060 };\n\t\t\titemDef.modelId = 53106;\n\t\t\titemDef.maleModel = 53105;\n\t\t\titemDef.femaleModel = 53105;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33128:\n\t\t\titemDef.name = \"Kbd boots\";\n\t\t\titemDef.description = \"Kbd boots.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 33198, 33202, 33206, 33215, 33210 };\n\t\t\titemDef.originalModelColors = new int[] { 1060, 1061, 1063, 1064, 1065 };\n\t\t\titemDef.modelId = 53104;\n\t\t\titemDef.maleModel = 53103;\n\t\t\titemDef.femaleModel = 53103;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33129:\n\t\t\titemDef.name = \"Kbd platelegs\";\n\t\t\titemDef.description = \"Kbd platelegs.\";\n\t\t\titemDef.modelId = 59994;\n\t\t\titemDef.maleModel = 59995;\n\t\t\titemDef.femaleModel = 59995;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33130:\n\t\t\titemDef.name = \"Kbd platebody\";\n\t\t\titemDef.description = \"Kbd platebody.\";\n\t\t\titemDef.modelId = 59998;\n\t\t\titemDef.maleModel = 59999;\n\t\t\titemDef.femaleModel = 59999;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33131:\n\t\t\titemDef.name = \"Kbd helmet\";\n\t\t\titemDef.description = \"Kbd helmet.\";\n\t\t\titemDef.modelId = 59996;\n\t\t\titemDef.maleModel = 59997;\n\t\t\titemDef.femaleModel = 59997;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33132:\n\t\t\titemDef.name = \"Kbd cape\";\n\t\t\titemDef.description = \"Kbd cape.\";\n\t\t\titemDef.modelId = 59992;\n\t\t\titemDef.maleModel = 59993;\n\t\t\titemDef.femaleModel = 59993;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33133:\n\t\t\titemDef.name = \"Anti-imp pet\";\n\t\t\titemDef.description = \"Anti-imp pet.\";\n\t\t\titemDef.modelId = 45294;\n\t\t\titemDef.modelZoom = 1500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33134:\n\t\t\titemDef.name = \"Anti-santa pet\";\n\t\t\titemDef.description = \"Anti-santa pet.\";\n\t\t\titemDef.modelId = 29030;\n\t\t\titemDef.modelZoom = 653;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 1966;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33135:\n\t\t\titemDef.name = \"Bandos mask\";\n\t\t\titemDef.description = \"Bandos helmet.\";\n\t\t\titemDef.modelId = 59987;\n\t\t\titemDef.maleModel = 59991;\n\t\t\titemDef.femaleModel = 59991;\n\t\t\titemDef.modelZoom = 800;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33136:\n\t\t\titemDef.name = \"Armadyl mask\";\n\t\t\titemDef.description = \"Armadyl mask.\";\n\t\t\titemDef.modelId = 59986;\n\t\t\titemDef.maleModel = 59990;\n\t\t\titemDef.femaleModel = 59990;\n\t\t\titemDef.modelZoom = 800;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33137:\n\t\t\titemDef.name = \"Zamorak mask\";\n\t\t\titemDef.description = \"Zamorak mask.\";\n\t\t\titemDef.modelId = 59985;\n\t\t\titemDef.maleModel = 59989;\n\t\t\titemDef.femaleModel = 59989;\n\t\t\titemDef.modelZoom = 800;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33138:\n\t\t\titemDef.name = \"Saradomin mask\";\n\t\t\titemDef.description = \"Saradomin mask.\";\n\t\t\titemDef.modelId = 59984;\n\t\t\titemDef.maleModel = 59988;\n\t\t\titemDef.femaleModel = 59988;\n\t\t\titemDef.modelZoom = 800;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33139:\n\t\t\titemDef.name = \"Zamarok godbow\";\n\t\t\titemDef.description = \"Zamarok godbow.\";\n\t\t\titemDef.modelId = 60560;//60553\n\t\t\titemDef.maleModel = 60560;\n\t\t\titemDef.femaleModel = 60560;\n\t\t\titemDef.modelZoom = 2100;\n\t\t\titemDef.modelRotation1 = 720;\n\t\t\titemDef.modelRotation2 = 1500;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33140:\n\t\t\titemDef.name = \"Saradomin godbow\";\n\t\t\titemDef.description = \"Saradomin godbow.\";\n\t\t\titemDef.modelId = 60555;\n\t\t\titemDef.maleModel = 60554;\n\t\t\titemDef.femaleModel = 60554;\n\t\t\titemDef.modelZoom = 2100;\n\t\t\titemDef.modelRotation1 = 720;\n\t\t\titemDef.modelRotation2 = 1500;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33141:\n\t\t\titemDef.name = \"Bandos godbow\";\n\t\t\titemDef.description = \"Bandos godbow.\";\n\t\t\titemDef.modelId = 60559;\n\t\t\titemDef.maleModel = 60558;\n\t\t\titemDef.femaleModel = 60558;\n\t\t\titemDef.modelZoom = 2100;\n\t\t\titemDef.modelRotation1 = 720;\n\t\t\titemDef.modelRotation2 = 1500;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33142:\n\t\t\titemDef.name = \"Fire cape (purple)\";\n\t\t\titemDef.description = \"Fire cape (purple).\";\n\t\t\titemDef.modelId = 9631;\n\t\t\titemDef.maleModel = 9638;\n\t\t\titemDef.femaleModel = 9640;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33148:\n\t\t\titemDef.name = \"Fire cape (cyan)\";\n\t\t\titemDef.description = \"Fire cape (cyan).\";\n\t\t\titemDef.modelId = 9631;\n\t\t\titemDef.maleModel = 9638;\n\t\t\titemDef.femaleModel = 9640;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33144:\n\t\t\titemDef.name = \"Fire cape (green)\";\n\t\t\titemDef.description = \"Fire cape (green).\";\n\t\t\titemDef.modelId = 9631;\n\t\t\titemDef.maleModel = 9638;\n\t\t\titemDef.femaleModel = 9640;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33145:\n\t\t\titemDef.name = \"Fire cape (red)\";\n\t\t\titemDef.description = \"Fire cape (red).\";\n\t\t\titemDef.modelId = 9631;\n\t\t\titemDef.maleModel = 9638;\n\t\t\titemDef.femaleModel = 9640;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33143:\n\t\t\titemDef.name = \"Infernal cape (blue)\";\n\t\t\titemDef.description = \"Infernal cape (blue).\";\n\t\t\titemDef.modifiedModelColors = new int[] { 5056, 5066, 924, 3005 };\n\t\t\titemDef.originalModelColors = new int[] { 39851, 39851, 39851, 39851 };\n\t\t\titemDef.modelId = 33144;\n\t\t\titemDef.maleModel = 33103;\n\t\t\titemDef.femaleModel = 33111;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33146:\n\t\t\titemDef.name = \"Infernal cape (green)\";\n\t\t\titemDef.description = \"Infernal cape (green).\";\n\t\t\titemDef.modifiedModelColors = new int[] { 5056, 5066, 924, 3005 };\n\t\t\titemDef.originalModelColors = new int[] { 21167, 21167, 21167, 21167 };\n\t\t\titemDef.modelId = 33144;\n\t\t\titemDef.maleModel = 33103;\n\t\t\titemDef.femaleModel = 33111;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33147:\n\t\t\titemDef.name = \"Infernal cape (purple)\";\n\t\t\titemDef.description = \"Infernal cape (purple).\";\n\t\t\titemDef.modifiedModelColors = new int[] { 5056, 5066, 924, 3005 };\n\t\t\titemDef.originalModelColors = new int[] { 53160, 53160, 53160, 53160 };\n\t\t\titemDef.modelId = 33144;\n\t\t\titemDef.maleModel = 33103;\n\t\t\titemDef.femaleModel = 33111;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33150:\n\t\t\titemDef.name = \"Infernal key piece 1\";\n\t\t\titemDef.description = \"Infernal key piece 1.\";\n\t\t\titemDef.modelId = 61001;\n\t\t\titemDef.modelZoom = 1200;\n\t\t\titemDef.modelRotation1 = 534;\n\t\t\titemDef.modelRotation2 = 222;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Combine\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33151:\n\t\t\titemDef.name = \"Infernal key piece 2\";\n\t\t\titemDef.description = \"Infernal key piece 2.\";\n\t\t\titemDef.modelId = 61002;\n\t\t\titemDef.modelZoom = 1200;\n\t\t\titemDef.modelRotation1 = 534;\n\t\t\titemDef.modelRotation2 = 222;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Combine\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33152:\n\t\t\titemDef.name = \"Infernal key piece 3\";\n\t\t\titemDef.description = \"Infernal key piece 3.\";\n\t\t\titemDef.modelId = 61003;\n\t\t\titemDef.modelZoom = 1200;\n\t\t\titemDef.modelRotation1 = 534;\n\t\t\titemDef.modelRotation2 = 222;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Combine\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33153:\n\t\t\titemDef.name = \"Infernal key\";\n\t\t\titemDef.description = \"Infernal key.\";\n\t\t\titemDef.modelId = 61111;\n\t\t\titemDef.modelZoom = 1200;\n\t\t\titemDef.modelRotation1 = 534;\n\t\t\titemDef.modelRotation2 = 222;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\t\t//DOPES ITEMS NIGGAHAHAHAHAHAHAH\n\t\tcase 2749:\n\t\t\titemDef.name = \"Bloody Axe\";\n\t\t\titemDef.description = \"Look at all that blood!\";\n\t\t\titemDef.modelId = 65495;\n\t\t\titemDef.femaleModel = 65495;\n\t\t\titemDef.maleModel = 65495;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 2750:\n\t\t\titemDef.name = \"Bloody Axe Offhand\";\n\t\t\titemDef.description = \"Look at all that blood!\";\n\t\t\titemDef.modelId = 65496;\n\t\t\titemDef.femaleModel = 65496;\n\t\t\titemDef.maleModel = 65496;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33154:\n\t\t\titemDef.name = \"Infernal mystery box\";\n\t\t\titemDef.description = \"Infernal mystery box.\";\n\t\t\titemDef.modelId = 61110;\n\t\t\titemDef.modelZoom = 1180;\n\t\t\titemDef.modelRotation1 = 160;\n\t\t\titemDef.modelRotation2 = 172;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -14;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Open\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33155:\n\t\t\titemDef.name = \"Ethereal sword (red)\";\n\t\t\titemDef.description = \"Ethereal sword (red).\";\n\t\t\titemDef.modelId = 61005;\n\t\t\titemDef.maleModel = 61004;\n\t\t\titemDef.femaleModel = 61004;\n\t\t\titemDef.modelZoom = 1645;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33156:\n\t\t\titemDef.name = \"Ethereal sword (blue)\";\n\t\t\titemDef.description = \"Ethereal sword (blue).\";\n\t\t\titemDef.modelId = 61006;\n\t\t\titemDef.maleModel = 61007;\n\t\t\titemDef.femaleModel = 61007;\n\t\t\titemDef.modelZoom = 1645;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33157:\n\t\t\titemDef.name = \"Ethereal sword (green)\";\n\t\t\titemDef.description = \"Ethereal sword (green).\";\n\t\t\titemDef.modelId = 61008;\n\t\t\titemDef.maleModel = 61009;\n\t\t\titemDef.femaleModel = 61009;\n\t\t\titemDef.modelZoom = 1645;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33158:\n\t\t\titemDef.name = \"Dagon' hai top\";\n\t\t\titemDef.description = \"An elite dark mages robes.\";\n\t\t\titemDef.modelId = 60317;\n\t\t\titemDef.maleModel = 43614;\n\t\t\titemDef.femaleModel = 43689;\n\t\t\titemDef.anInt188 = 44594;\n\t\t\titemDef.anInt164 = 43681;\n\t\t\titemDef.modelZoom = 1697;\n\t\t\titemDef.modelRotation1 = 536;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 7;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33159:\n\t\t\titemDef.name = \"Dagon' hai hat\";\n\t\t\titemDef.description = \"An elite dark mages hat.\";\n\t\t\titemDef.modelId = 60319;\n\t\t\titemDef.maleModel = 60318;\n\t\t\titemDef.femaleModel = 60318;\n\t\t\titemDef.anInt188 = -1;\n\t\t\titemDef.anInt164 = -1;\n\t\t\titemDef.modelZoom = 1373;\n\t\t\titemDef.modelRotation1 = 98;\n\t\t\titemDef.modelRotation2 = 1988;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33160:\n\t\t\titemDef.name = \"Dagon' hai robe\";\n\t\t\titemDef.description = \"An elite dark mages robe.\";\n\t\t\titemDef.modelId = 60321;\n\t\t\titemDef.maleModel = 60320;\n\t\t\titemDef.femaleModel = 60320;\n\t\t\titemDef.anInt188 = -1;\n\t\t\titemDef.anInt164 = -1;\n\t\t\titemDef.modelZoom = 2216;\n\t\t\titemDef.modelRotation1 = 572;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 14;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33161:\n\t\t\titemDef.name = \"Blue infernal cape mix\";\n\t\t\titemDef.description = \"Changes the color of the Infernal Cape to Blue.\";\n\t\t\titemDef.modelId = 8956;\n\t\t\titemDef.modelZoom = 842;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Use\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33162:\n\t\t\titemDef.name = \"Green infernal cape mix\";\n\t\t\titemDef.description = \"Changes the color of the Infernal Cape to Green.\";\n\t\t\titemDef.modelId = 8956;\n\t\t\titemDef.modelZoom = 842;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Use\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33163:\n\t\t\titemDef.name = \"Purple infernal cape mix\";\n\t\t\titemDef.description = \"Changes the color of the Infernal Cape to Purple.\";\n\t\t\titemDef.modelId = 8956;\n\t\t\titemDef.modelZoom = 842;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Use\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33164:\n\t\t\titemDef.name = \"Purple firecape mix\";\n\t\t\titemDef.description = \"Changes the color of the firecape to purple.\";\n\t\t\titemDef.modelId = 8956;\n\t\t\titemDef.modelZoom = 842;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Use\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33165:\n\t\t\titemDef.name = \"Cyan firecape mix\";\n\t\t\titemDef.description = \"Changes the color of the firecape to cyan.\";\n\t\t\titemDef.modelId = 8956;\n\t\t\titemDef.modelZoom = 842;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Use\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33166:\n\t\t\titemDef.name = \"Green firecape mix\";\n\t\t\titemDef.description = \"Changes the color of the firecape to green.\";\n\t\t\titemDef.modelId = 8956;\n\t\t\titemDef.modelZoom = 842;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Use\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33167:\n\t\t\titemDef.name = \"Red firecape mix\";\n\t\t\titemDef.description = \"Changes the color of the firecape to red.\";\n\t\t\titemDef.modelId = 8956;\n\t\t\titemDef.modelZoom = 842;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Use\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33169:\n\t\t\titemDef.name = \"K'ril robe top\";\n\t\t\titemDef.description = \"A top worn by magic-using followers of Zamorak.\";\n\t\t\titemDef.modelId = 62558;\n\t\t\titemDef.maleModel = 62559;\n\t\t\titemDef.femaleModel = 62559;\n\t\t\titemDef.modelZoom = 1358;\n\t\t\titemDef.modelRotation1 = 514;\n\t\t\titemDef.modelRotation2 = 2041;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33170:\n\t\t\titemDef.name = \"K'ril robe bottom\";\n\t\t\titemDef.description = \"A robe worn by magic-using followers of Zamorak.\";\n\t\t\titemDef.modelId = 62553;\n\t\t\titemDef.maleModel = 62554;\n\t\t\titemDef.femaleModel = 62554;\n\t\t\titemDef.modelZoom = 1690;\n\t\t\titemDef.modelRotation1 = 435;\n\t\t\titemDef.modelRotation2 = 9;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 7;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33171:\n\t\t\titemDef.name = \"K'ril hat\";\n\t\t\titemDef.description = \"A hat worn by magic-using followers of Zamorak.\";\n\t\t\titemDef.modelId = 62551;\n\t\t\titemDef.maleModel = 62552;\n\t\t\titemDef.femaleModel = 62552;\n\t\t\titemDef.modelZoom = 1236;\n\t\t\titemDef.modelRotation1 = 118;\n\t\t\titemDef.modelRotation2 = 10;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -12;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33172:\n\t\t\titemDef.name = \"K'ril swords\";\n\t\t\titemDef.description = \"Sheath & Unsheath this sword in the Equipment tab. Hits an enemy twice.\";\n\t\t\titemDef.equipActions[2] = \"Sheath\";\n\t\t\titemDef.modelId = 62556;\n\t\t\titemDef.maleModel = 62557;\n\t\t\titemDef.femaleModel = 62557;\n\t\t\titemDef.modelZoom = 1650;\n\t\t\titemDef.modelRotation1 = 498;\n\t\t\titemDef.modelRotation2 = 1300;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33173:\n\t\t\titemDef.name = \"K'ril swords (sheathed)\";\n\t\t\titemDef.description = \"Sheath & Unsheath this sword in the Equipment tab. Hits an enemy twice.\";\n\t\t\titemDef.equipActions[2] = \"Unsheath\";\n\t\t\titemDef.modelId = 62556;\n\t\t\titemDef.maleModel = 62556;\n\t\t\titemDef.femaleModel = 62556;\n\t\t\titemDef.modelZoom = 1650;\n\t\t\titemDef.modelRotation1 = 498;\n\t\t\titemDef.modelRotation2 = 1300;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33174:\n\t\t\titemDef.name = \"Pet demonic gorilla\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 31241;\n\t\t\titemDef.modelZoom = 16000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33175:\n\t\t\titemDef.name = \"Pet crawling hand\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5071;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33176:\n\t\t\titemDef.name = \"Pet cave bug\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 23854;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33177:\n\t\t\titemDef.name = \"Pet cave crawler\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5066;\n\t\t\titemDef.modelZoom = 2300;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33178:\n\t\t\titemDef.name = \"Pet banshee\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5063;\n\t\t\titemDef.modelZoom = 3200;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33179:\n\t\t\titemDef.name = \"Pet cave slime\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5786;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33180:\n\t\t\titemDef.name = \"Pet rockslug\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5084;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33181:\n\t\t\titemDef.name = \"Pet cockatrice\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5070;\n\t\t\titemDef.modelZoom = 3200;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33182:\n\t\t\titemDef.name = \"Pet pyrefiend\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5083;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33183:\n\t\t\titemDef.name = \"Pet basilisk\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5064;\n\t\t\titemDef.modelZoom = 3000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33184:\n\t\t\titemDef.name = \"Pet infernal mage\";\n\t\t\titemDef.modifiedModelColors = new int[] { -26527, -24618, -25152, -25491, 119 };\n\t\t\titemDef.originalModelColors = new int[] { 924, 148, 0, 924, 924 };\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5047;\n\t\t\titemDef.modelZoom = 3940;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 84;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33185:\n\t\t\titemDef.name = \"Pet bloodveld\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5065;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33186:\n\t\t\titemDef.name = \"Pet jelly\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5081;\n\t\t\titemDef.modelZoom = 3000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33187:\n\t\t\titemDef.name = \"Pet turoth\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5086;\n\t\t\titemDef.modelZoom = 2600;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33188:\n\t\t\titemDef.name = \"Pet aberrant spectre\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5085;\n\t\t\titemDef.modelZoom = 6500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 450;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33189:\n\t\t\titemDef.name = \"Pet dust devil\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5076;\n\t\t\titemDef.modelZoom = 3000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33190:\n\t\t\titemDef.name = \"Pet kurask\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5082;\n\t\t\titemDef.modelZoom = 5000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33191:\n\t\t\titemDef.name = \"Pet skeletal wyvern\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 10350;\n\t\t\titemDef.modelZoom = 1104;\n\t\t\titemDef.modelRotation1 = 27;\n\t\t\titemDef.modelRotation2 = 1634;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33192:\n\t\t\titemDef.name = \"Pet garygoyle\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5078;\n\t\t\titemDef.modelZoom = 4000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33193:\n\t\t\titemDef.name = \"Pet nechryael\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5074;\n\t\t\titemDef.modelZoom = 4000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33194:\n\t\t\titemDef.name = \"Pet abyssal demon\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5062;\n\t\t\titemDef.modelZoom = 5000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33195:\n\t\t\titemDef.name = \"Pet dark beast\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 26395;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33196:\n\t\t\titemDef.name = \"Pet night beast\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32933;\n\t\t\titemDef.modelZoom = 7000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33197:\n\t\t\titemDef.name = \"Pet greater abyssal demon\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32921;\n\t\t\titemDef.modelZoom = 5000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33198:\n\t\t\titemDef.name = \"Pet crushing hand\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32922;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33199:\n\t\t\titemDef.name = \"Pet chasm crawler\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32918;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33200:\n\t\t\titemDef.name = \"Pet screaming banshee\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32823;\n\t\t\titemDef.modelZoom = 5500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33201:\n\t\t\titemDef.name = \"Pet twisted banshee\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32847;\n\t\t\titemDef.modelZoom = 5500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33202:\n\t\t\titemDef.name = \"Pet giant rockslug\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32919;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33203:\n\t\t\titemDef.name = \"Pet cockathrice\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32920;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33204:\n\t\t\titemDef.name = \"Pet flaming pyrelord\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32923;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33205:\n\t\t\titemDef.name = \"Pet monstrous basilisk\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32924;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33206:\n\t\t\titemDef.name = \"Pet malevolent mage\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32929;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33207:\n\t\t\titemDef.name = \"Pet insatiable bloodveld\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32926;\n\t\t\titemDef.modelZoom = 5000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33208:\n\t\t\titemDef.name = \"Pet insatiable mutated bloodveld\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32925;\n\t\t\titemDef.modelZoom = 5000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33209:\n\t\t\titemDef.name = \"Pet vitreous jelly\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32852;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33210:\n\t\t\titemDef.name = \"Pet vitreous warped jelly\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32917;\n\t\t\titemDef.modelZoom = 6000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33211:\n\t\t\titemDef.name = \"Pet cave abomination\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32935;\n\t\t\titemDef.modelZoom = 5500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33212:\n\t\t\titemDef.name = \"Pet abhorrent spectre\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32930;\n\t\t\titemDef.modelZoom = 6500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33213:\n\t\t\titemDef.name = \"pet repugnant spectre\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32926;\n\t\t\titemDef.modelZoom = 6500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33214:\n\t\t\titemDef.name = \"Pet choke devil\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32927;\n\t\t\titemDef.modelZoom = 6000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33215:\n\t\t\titemDef.name = \"Pet king kurask\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32934;\n\t\t\titemDef.modelZoom = 8000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33217:\n\t\t\titemDef.name = \"Pet nuclear smoke devil\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32928;\n\t\t\titemDef.modelZoom = 5500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33218:\n\t\t\titemDef.name = \"Pet marble gargoyle\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34251;\n\t\t\titemDef.modelZoom = 8000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33219:\n\t\t\titemDef.name = \"Pet nechryarch\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32932;\n\t\t\titemDef.modelZoom = 6500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33220:\n\t\t\titemDef.name = \"Pet Patrity\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32035;\n\t\t\titemDef.modelZoom = 653;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1535;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33221:\n\t\t\titemDef.name = \"Pet xarpus\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35383;\n\t\t\titemDef.modelZoom = 14000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33222:\n\t\t\titemDef.name = \"Pet nyclocas vasilias\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35182;\n\t\t\titemDef.modelZoom = 12000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33223:\n\t\t\titemDef.name = \"Pet pestilent bloat\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35404;\n\t\t\titemDef.modelZoom = 8500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33224:\n\t\t\titemDef.name = \"Pet maiden of sugadinti\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35385;\n\t\t\titemDef.modelZoom = 8500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33225:\n\t\t\titemDef.name = \"Pet lizardman shaman\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 4039;\n\t\t\titemDef.modelZoom = 8500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33226:\n\t\t\titemDef.name = \"Pet abyssal sire\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 29477;\n\t\t\titemDef.modelZoom = 9000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33227:\n\t\t\titemDef.name = \"Pet black demon\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 31984;\n\t\t\titemDef.modelZoom = 1104;\n\t\t\titemDef.modelRotation1 = 144;\n\t\t\titemDef.modelRotation2 = 1826;\n\t\t\titemDef.modelOffset1 = 7;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 11802:\n\t\tcase 11804:\n\t\tcase 11806:\n\t\tcase 11808:\n\t\t\titemDef.equipActions[2] = \"Sheath\";\n\t\t\tbreak;// godsword sheathing operating\n\n\t\tcase 33228:\n\t\t\titemDef.name = \"Pet greater demon\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32015;\n\t\t\titemDef.modelZoom = 902;\n\t\t\titemDef.modelRotation1 = 216;\n\t\t\titemDef.modelRotation2 = 138;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.modelOffset2 = -16;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33229:\n\t\t\titemDef.name = \"Armadyl godsword (sheathed)\";\n\t\t\titemDef.description = \"Armadyl godsword (sheathed)\";\n\t\t\titemDef.equipActions[2] = \"Unsheath\";\n\t\t\titemDef.modelId = 28075;\n\t\t\titemDef.maleModel = 62683;\n\t\t\titemDef.femaleModel = 62683;\n\t\t\titemDef.modelZoom = 1957;\n\t\t\titemDef.modelRotation1 = 498;\n\t\t\titemDef.modelRotation2 = 494;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33230:\n\t\t\titemDef.name = \"Bandos godsword (sheathed)\";\n\t\t\titemDef.description = \"Bandos godsword (sheathed)\";\n\t\t\titemDef.equipActions[2] = \"Unsheath\";\n\t\t\titemDef.modelId = 28059;\n\t\t\titemDef.maleModel = 62684;\n\t\t\titemDef.femaleModel = 62684;\n\t\t\titemDef.modelZoom = 1957;\n\t\t\titemDef.modelRotation1 = 498;\n\t\t\titemDef.modelRotation2 = 494;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33231:\n\t\t\titemDef.name = \"Saradomin godsword (sheathed)\";\n\t\t\titemDef.description = \"Saradomin godsword (sheathed)\";\n\t\t\titemDef.equipActions[2] = \"Unsheath\";\n\t\t\titemDef.modelId = 28070;\n\t\t\titemDef.maleModel = 62685;\n\t\t\titemDef.femaleModel = 62685;\n\t\t\titemDef.modelZoom = 1957;\n\t\t\titemDef.modelRotation1 = 498;\n\t\t\titemDef.modelRotation2 = 494;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33232:\n\t\t\titemDef.name = \"Zamorak godsword (sheathed)\";\n\t\t\titemDef.description = \"Zamorak godsword (sheathed)\";\n\t\t\titemDef.equipActions[2] = \"Unsheath\";\n\t\t\titemDef.modelId = 28060;\n\t\t\titemDef.maleModel = 62686;\n\t\t\titemDef.femaleModel = 62686;\n\t\t\titemDef.modelZoom = 1957;\n\t\t\titemDef.modelRotation1 = 498;\n\t\t\titemDef.modelRotation2 = 494;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33233:\n\t\t\titemDef.name = \"Pet revenant imp\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34156;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33234:\n\t\t\titemDef.name = \"Pet revenant goblin\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34262;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33235:\n\t\t\titemDef.name = \"Pet revenant pyrefiend\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34142;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33236:\n\t\t\titemDef.name = \"Pet revenant hobgoblin\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34157;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33237:\n\t\t\titemDef.name = \"Pet revenant cyclops\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34155;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33238:\n\t\t\titemDef.name = \"Pet revenant hellhound\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34143;\n\t\t\titemDef.modelZoom = 3500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33239:\n\t\t\titemDef.name = \"Pet revenant demon\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32015;\n\t\t\titemDef.modifiedModelColors = new int[] { 1690, 910, 912, 1814, 1938 };\n\t\t\titemDef.originalModelColors = new int[] { 43078, 43078, 43078, 43078, 43078, 43078 };\n\t\t\titemDef.modelZoom = 902;\n\t\t\titemDef.modelRotation1 = 216;\n\t\t\titemDef.modelRotation2 = 138;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.modelOffset2 = -16;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33240:\n\t\t\titemDef.name = \"Pet revenant ork\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34154;\n\t\t\titemDef.modelZoom = 3500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33242:\n\t\t\titemDef.name = \"Pet revenant dark beast\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34158;\n\t\t\titemDef.modelZoom = 6500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33243:\n\t\t\titemDef.name = \"Pet revenant knight\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34145;\n\t\t\titemDef.modelZoom = 3000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33244:\n\t\t\titemDef.name = \"Pet revenant dragon\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34163;\n\t\t\titemDef.modelZoom = 7500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33245:\n\t\t\titemDef.name = \"Pet glob\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 26074;\n\t\t\titemDef.modelZoom = 10000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33246:\n\t\t\titemDef.name = \"Pet ice queen\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 104;\n\t\t\titemDef.modifiedModelColors = new int[] { 41, 61, 4550, 12224, 25238, 6798 };\n\t\t\titemDef.originalModelColors = new int[] { -22052, -26150, -24343, -22052, -22052, -23327 };\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33247:\n\t\t\titemDef.name = \"Pet enraged tarn\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60322;\n\t\t\titemDef.modelZoom = 6500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33248:\n\t\t\titemDef.name = \"Pet jaltok-jad\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 33012;\n\t\t\titemDef.modelZoom = 12000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33249:\n\t\t\titemDef.name = \"Pet rune dragon\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34668;\n\t\t\titemDef.modelZoom = 2541;\n\t\t\titemDef.modelRotation1 = 83;\n\t\t\titemDef.modelRotation2 = 1826;\n\t\t\titemDef.modelOffset1 = -97;\n\t\t\titemDef.modelOffset2 = 9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33271:\n\t\t\titemDef.name = \"Moo\";\n\t\t\titemDef.description = \"cow goes moo.\";\n\t\t\titemDef.modelId = 23889;\n\t\t\titemDef.modelZoom = 2541;\n\t\t\titemDef.modelRotation1 = 83;\n\t\t\titemDef.modelRotation2 = 1826;\n\t\t\titemDef.modelOffset1 = -97;\n\t\t\titemDef.modelOffset2 = 9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33250:\n\t\t\titemDef.name = \"Swift gloves (Black)\";\n\t\t\titemDef.description = \"Watch my speedy hands!\";\n\t\t\titemDef.modelId = 62655;\n\t\t\titemDef.maleModel = 62657;\n\t\t\titemDef.femaleModel = 62658;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33251:\n\t\t\titemDef.name = \"Swift gloves (Red)\";\n\t\t\titemDef.description = \"Watch my speedy hands!\";\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 65046, 65051, 65056 };\n\t\t\titemDef.modelId = 62655;\n\t\t\titemDef.maleModel = 62659;\n\t\t\titemDef.femaleModel = 62660;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33252:\n\t\t\titemDef.name = \"Swift gloves (White)\";\n\t\t\titemDef.description = \"Watch my speedy hands!\";\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 64585, 64590, 64595 };\n\t\t\titemDef.modelId = 62655;\n\t\t\titemDef.maleModel = 62661;\n\t\t\titemDef.femaleModel = 62662;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33253:\n\t\t\titemDef.name = \"Swift gloves (Yellow)\";\n\t\t\titemDef.description = \"Watch my speedy hands!\";\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 9767, 9772, 9777 };\n\t\t\titemDef.modelId = 62655;\n\t\t\titemDef.maleModel = 62663;\n\t\t\titemDef.femaleModel = 62664;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33254:\n\t\t\titemDef.name = \"Spellcaster gloves (Black)\";\n\t\t\titemDef.description = \"\tSome pretty fantastical gloves.\";\n\t\t\titemDef.modelId = 62656;\n\t\t\titemDef.maleModel = 62665;\n\t\t\titemDef.femaleModel = 62666;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33255:\n\t\t\titemDef.name = \"Spellcaster gloves (Red)\";\n\t\t\titemDef.description = \"\tSome pretty fantastical gloves.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 65046, 65051, 65056 };\n\t\t\titemDef.modelId = 62656;\n\t\t\titemDef.maleModel = 62667;\n\t\t\titemDef.femaleModel = 62668;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33256:\n\t\t\titemDef.name = \"Spellcaster gloves (White)\";\n\t\t\titemDef.description = \"\tSome pretty fantastical gloves.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 64585, 64590, 64595 };\n\t\t\titemDef.modelId = 62656;\n\t\t\titemDef.maleModel = 62669;\n\t\t\titemDef.femaleModel = 62670;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33257:\n\t\t\titemDef.name = \"Spellcaster gloves (Yellow)\";\n\t\t\titemDef.description = \"\tSome pretty fantastical gloves.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 9767, 9772, 9777 };\n\t\t\titemDef.modelId = 62656;\n\t\t\titemDef.maleModel = 62671;\n\t\t\titemDef.femaleModel = 62672;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33258:\n\t\t\titemDef.name = \"Tekton longsword\";\n\t\t\titemDef.description = \"Tekton longsword.\";\n\t\t\titemDef.modelId = 62682;\n\t\t\titemDef.maleModel = 62681;\n\t\t\titemDef.femaleModel = 62681;\n\t\t\titemDef.modelZoom = 1445;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33259:\n\t\t\titemDef.name = \"Pet wyrm\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 36922;\n\t\t\titemDef.modelZoom = 2547;\n\t\t\titemDef.modelRotation1 = 97;\n\t\t\titemDef.modelRotation2 = 1820;\n\t\t\titemDef.modelOffset1 = -7;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33260:\n\t\t\titemDef.name = \"Pet drake\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 36160;\n\t\t\titemDef.modelZoom = 6500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33261:\n\t\t\titemDef.name = \"Pet wyrm\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 36922;\n\t\t\titemDef.modelZoom = 2547;\n\t\t\titemDef.modelRotation1 = 97;\n\t\t\titemDef.modelRotation2 = 1820;\n\t\t\titemDef.modelOffset1 = -7;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33262:\n\t\t\titemDef.name = \"Valentines Balloon\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 62766;\n\t\t\titemDef.maleModel = 62767;\n\t\t\titemDef.femaleModel = 62767;\n\t\t\titemDef.modelZoom = 2200;\n\t\t\titemDef.modelRotation1 = 270;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33263:\n\t\t\titemDef.name = \"Cupid bow\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 62768;\n\t\t\titemDef.maleModel = 62769;\n\t\t\titemDef.femaleModel = 62769;\n\t\t\titemDef.modelZoom = 1072;\n\t\t\titemDef.modelRotation1 = 127;\n\t\t\titemDef.modelRotation2 = 103;\n\t\t\titemDef.modelOffset1 = -5;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33264:\n\t\t\titemDef.name = \"Halo and horns\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 62771;\n\t\t\titemDef.maleModel = 62770;\n\t\t\titemDef.femaleModel = 62770;\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation1 = 228;\n\t\t\titemDef.modelRotation2 = 141;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33265:\n\t\t\titemDef.name = \"Heart\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 62782;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33266:\n\t\t\titemDef.name = \"Valentines mystery box\";\n\t\t\titemDef.description = \"You make me hard.\";\n\t\t\titemDef.modelId = 62773;\n\t\t\titemDef.modelZoom = 464;\n\t\t\titemDef.modelRotation1 = 423;\n\t\t\titemDef.modelRotation2 = 1928;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Open\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33267:\n\t\t\titemDef.name = \"Staff of adoration\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 62774;\n\t\t\titemDef.maleModel = 62775;\n\t\t\titemDef.femaleModel = 62775;\n\t\t\titemDef.modelZoom = 1579;\n\t\t\titemDef.modelRotation1 = 660;\n\t\t\titemDef.modelRotation2 = 48;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33268:\n\t\t\titemDef.name = \"Valentines crossbow\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 62778;\n\t\t\titemDef.maleModel = 62779;\n\t\t\titemDef.femaleModel = 62779;\n\t\t\titemDef.modelZoom = 1200;\n\t\t\titemDef.modelRotation1 = 432;\n\t\t\titemDef.modelRotation2 = 258;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33269:\n\t\t\titemDef.name = \"Onyxia Mystery Box\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 2426;\n\t\t\titemDef.modelZoom = 1180;\n\t\t\titemDef.modelRotation1 = 160;\n\t\t\titemDef.modelRotation2 = 172;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -14;\n\t\t\titemDef.modifiedModelColors = new int[] { 22410, 2999 };\n\t\t\titemDef.originalModelColors = new int[] { 2130, 38693 };\n\t\t\titemDef.description = \"Chances at several unqiue items found only in this box! (ex: Tekton Armor)\";\n\t\t\tbreak;\n\t\tcase 33270:\n\t\t\titemDef.name = \"Dragon Hunter Box\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 2426;\n\t\t\titemDef.modelZoom = 1180;\n\t\t\titemDef.modelRotation1 = 160;\n\t\t\titemDef.modelRotation2 = 172;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -14;\n\t\t\titemDef.modifiedModelColors = new int[] { 22410, 2999 };\n\t\t\titemDef.originalModelColors = new int[] { 926, 1050 };\n\t\t\titemDef.description = \"Chances for items that give bonuses toward dragons. (ex: Dragonhunter Lance)\";\n\t\t\tbreak;\n\t\tcase 33273:\n\t\t\titemDef.name = \"Ancient sword\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60201;\n\t\t\titemDef.maleModel = 60200;\n\t\t\titemDef.femaleModel = 60200;\n\t\t\titemDef.modelZoom = 1900;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33274:\n\t\t\titemDef.name = \"Armadyl staff\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60203;\n\t\t\titemDef.maleModel = 60202;\n\t\t\titemDef.femaleModel = 60202;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33275:\n\t\t\titemDef.name = \"Bork axe\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60205;\n\t\t\titemDef.maleModel = 60204;\n\t\t\titemDef.femaleModel = 60204;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33276:\n\t\t\titemDef.name = \"Bree bow\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60207;\n\t\t\titemDef.maleModel = 60206;\n\t\t\titemDef.femaleModel = 60206;\n\t\t\titemDef.modelZoom = 1700;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33277:\n\t\t\titemDef.name = \"Infernal staff\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60209;\n\t\t\titemDef.maleModel = 60208;\n\t\t\titemDef.femaleModel = 60208;\n\t\t\titemDef.modelZoom = 2200;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33278:\n\t\t\titemDef.name = \"Infernal longsword\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60211;\n\t\t\titemDef.maleModel = 60210;\n\t\t\titemDef.femaleModel = 60210;\n\t\t\titemDef.modelZoom = 1900;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33279:\n\t\t\titemDef.name = \"Necrolord staff\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60213;\n\t\t\titemDef.maleModel = 60212;\n\t\t\titemDef.femaleModel = 60212;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33280:\n\t\t\titemDef.name = \"Insert name here\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60215;\n\t\t\titemDef.maleModel = 60214;\n\t\t\titemDef.femaleModel = 60214;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33281:\n\t\t\titemDef.name = \"Infernal bow\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60219;\n\t\t\titemDef.maleModel = 60218;\n\t\t\titemDef.femaleModel = 60218;\n\t\t\titemDef.modelZoom = 3334;\n\t\t\titemDef.modelRotation1 = 533;\n\t\t\titemDef.modelRotation2 = 1294;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33282:\n\t\t\titemDef.name = \"Infernal warhammer\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60221;\n\t\t\titemDef.maleModel = 60220;\n\t\t\titemDef.femaleModel = 60220;\n\t\t\titemDef.modelZoom = 2512;\n\t\t\titemDef.modelRotation1 = 317;\n\t\t\titemDef.modelRotation2 = 1988;\n\t\t\titemDef.modelOffset1 = -8;\n\t\t\titemDef.modelOffset2 = 45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33283:\n\t\t\titemDef.name = \"Imbued Porazdir's heart\";\n\t\t\titemDef.modelId = 32298;\n\t\t\titemDef.modelZoom = 1168;\n\t\t\titemDef.modelRotation1 = 96;\n\t\t\titemDef.modelRotation2 = 1690;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 60826, 59796, 54544, 58904, 54561 };\n\t\t\titemDef.originalModelColors = new int[] { 13263, 13014, 13243, 13000, 13275 };\n\t\t\titemDef.inventoryOptions = new String[] { \"Invigorate\", null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Boosts your strength for a period of time.\";\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33284:\n\t\t\titemDef.name = \"Imbued Justiciar's heart\";\n\t\t\titemDef.modelId = 32298;\n\t\t\titemDef.modelZoom = 1168;\n\t\t\titemDef.modelRotation1 = 96;\n\t\t\titemDef.modelRotation2 = 1690;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 60826, 59796, 54544, 58904, 54561 };\n\t\t\titemDef.originalModelColors = new int[] { 31661, 31418, 31661, 31167, 31445 };\n\t\t\titemDef.inventoryOptions = new String[] { \"Invigorate\", null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Boosts your Defence for a period of time.\";\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32285:\n\t\t\titemDef.name = \"Imbued Derwen's heart\";\n\t\t\titemDef.modelId = 32298;\n\t\t\titemDef.modelZoom = 1168;\n\t\t\titemDef.modelRotation1 = 96;\n\t\t\titemDef.modelRotation2 = 1690;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 60826, 59796, 54544, 58904, 54561 };\n\t\t\titemDef.originalModelColors = new int[] { 926, 930, 936, 940, 950 };\n\t\t\titemDef.inventoryOptions = new String[] { \"Invigorate\", null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Boosts your Attack for a period of time.\";\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32286:\n\t\t\titemDef.name = \"Bronze fishing rod\";\n\t\t\titemDef.description = \"Used for Bait and Fly fishing.\";\n\t\t\titemDef.modelId = 36128;\n\t\t\titemDef.maleModel = 36317;\n\t\t\titemDef.femaleModel = 36312;\n\t\t\titemDef.modelZoom = 1853;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 59499, 24 };\n\t\t\titemDef.originalModelColors = new int[] { 5652, 9152 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32287:\n\t\t\titemDef.name = \"Iron fishing rod\";\n\t\t\titemDef.description = \"Used for Bait and Fly fishing.\";\n\t\t\titemDef.modelId = 36128;\n\t\t\titemDef.maleModel = 36317;\n\t\t\titemDef.femaleModel = 36312;\n\t\t\titemDef.modelZoom = 1853;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 59499, 24 };\n\t\t\titemDef.originalModelColors = new int[] { 33, 9152 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32288:\n\t\t\titemDef.name = \"Steel fishing rod\";\n\t\t\titemDef.description = \"Used for Bait and Fly fishing.\";\n\t\t\titemDef.modelId = 36128;\n\t\t\titemDef.maleModel = 36317;\n\t\t\titemDef.femaleModel = 36312;\n\t\t\titemDef.modelZoom = 1853;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 59499, 24 };\n\t\t\titemDef.originalModelColors = new int[] { 61, 9152 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32289:\n\t\t\titemDef.name = \"Black fishing rod\";\n\t\t\titemDef.description = \"Used for Bait and Fly fishing.\";\n\t\t\titemDef.modelId = 36128;\n\t\t\titemDef.maleModel = 36317;\n\t\t\titemDef.femaleModel = 36312;\n\t\t\titemDef.modelZoom = 1853;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 59499, 24 };\n\t\t\titemDef.originalModelColors = new int[] { 0, 9152 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32290:\n\t\t\titemDef.name = \"Mithril fishing rod\";\n\t\t\titemDef.description = \"Used for Bait and Fly fishing.\";\n\t\t\titemDef.modelId = 36128;\n\t\t\titemDef.maleModel = 36317;\n\t\t\titemDef.femaleModel = 36312;\n\t\t\titemDef.modelZoom = 1853;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 59499, 24 };\n\t\t\titemDef.originalModelColors = new int[] { 43297, 9152 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32291:\n\t\t\titemDef.name = \"Adamant fishing rod\";\n\t\t\titemDef.description = \"Used for Bait and Fly fishing.\";\n\t\t\titemDef.modelId = 36128;\n\t\t\titemDef.maleModel = 36317;\n\t\t\titemDef.femaleModel = 36312;\n\t\t\titemDef.modelZoom = 1853;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 59499, 24 };\n\t\t\titemDef.originalModelColors = new int[] { 21662, 9152 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32292:\n\t\t\titemDef.name = \"Rune fishing rod\";\n\t\t\titemDef.description = \"Used for Bait and Fly fishing.\";\n\t\t\titemDef.modelId = 36128;\n\t\t\titemDef.maleModel = 36317;\n\t\t\titemDef.femaleModel = 36312;\n\t\t\titemDef.modelZoom = 1853;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 59499, 24 };\n\t\t\titemDef.originalModelColors = new int[] { 36133, 9152 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32293:\n\t\t\titemDef.name = \"Dragon fishing rod\";\n\t\t\titemDef.description = \"Used for Bait and Fly fishing. Can also be used for Deep sea fishing.\";\n\t\t\titemDef.modelId = 36128;\n\t\t\titemDef.maleModel = 36317;\n\t\t\titemDef.femaleModel = 36312;\n\t\t\titemDef.modelZoom = 1853;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 59499, 24 };\n\t\t\titemDef.originalModelColors = new int[] { 924, 9152 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32294:\n\t\t\titemDef.name = \"Raw eel\";\n\t\t\titemDef.description = \"Slimy\";\n\t\t\titemDef.modelId = 6856;\n\t\t\titemDef.modelZoom = 1440;\n\t\t\titemDef.modelRotation1 = 296;\n\t\t\titemDef.modelRotation2 = 352;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = 42;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32295:\n\t\t\titemDef.name = \"Burnt eel\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 6856;\n\t\t\titemDef.modelZoom = 1440;\n\t\t\titemDef.modelRotation1 = 296;\n\t\t\titemDef.modelRotation2 = 352;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = 42;\n\t\t\titemDef.modifiedModelColors = new int[] { 8485, 14622, 12589 };\n\t\t\titemDef.originalModelColors = new int[] { 8724, 3226, 9754 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32296:\n\t\t\titemDef.name = \"Eel\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Eat\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 6856;\n\t\t\titemDef.modelZoom = 1440;\n\t\t\titemDef.modelRotation1 = 296;\n\t\t\titemDef.modelRotation2 = 352;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = 42;\n\t\t\titemDef.modifiedModelColors = new int[] { 8485, 14622, 8386, 12589 };\n\t\t\titemDef.originalModelColors = new int[] { 8088, 6032, 57, 2960 };\n\t\t\titemDef.description = \"None\";\n\t\t\tbreak;\n\n\t\tcase 32297:\n\t\t\titemDef.name = \"Raw baron shark\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 2594;\n\t\t\titemDef.modelZoom = 1860;\n\t\t\titemDef.modelRotation1 = 344;\n\t\t\titemDef.modelRotation2 = 12;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = 12;\n\t\t\titemDef.modifiedModelColors = new int[] { 103, 103 };\n\t\t\titemDef.originalModelColors = new int[] { 7756, 5349 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32298:\n\t\t\titemDef.name = \"Burnt baron shark\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 2594;\n\t\t\titemDef.modelZoom = 1860;\n\t\t\titemDef.modelRotation1 = 344;\n\t\t\titemDef.modelRotation2 = 12;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = 12;\n\t\t\titemDef.modifiedModelColors = new int[] { 61, 103 };\n\t\t\titemDef.originalModelColors = new int[] { 28, 41 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32299:\n\t\t\titemDef.name = \"Baron shark\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Eat\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 2594;\n\t\t\titemDef.modelZoom = 1860;\n\t\t\titemDef.modelRotation1 = 344;\n\t\t\titemDef.modelRotation2 = 12;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = 12;\n\t\t\titemDef.modifiedModelColors = new int[] { 61, 103 };\n\t\t\titemDef.originalModelColors = new int[] { 8109, 4795 };\n\t\t\titemDef.description = \"None\";\n\t\t\tbreak;\n\n\t\tcase 32300:\n\t\t\titemDef.name = \"Raw cavefish\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60223;\n\t\t\titemDef.modelZoom = 1284;\n\t\t\titemDef.modelRotation1 = 499;\n\t\t\titemDef.modelRotation2 = 1907;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32301:\n\t\t\titemDef.name = \"Burnt cavefish\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60227;\n\t\t\titemDef.modelZoom = 1284;\n\t\t\titemDef.modelRotation1 = 499;\n\t\t\titemDef.modelRotation2 = 1907;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32302:\n\t\t\titemDef.name = \"Cavefish\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Eat\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 60228;\n\t\t\titemDef.modelZoom = 1284;\n\t\t\titemDef.modelRotation1 = 499;\n\t\t\titemDef.modelRotation2 = 1907;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.description = \"None\";\n\t\t\tbreak;\n\n\t\tcase 32303:\n\t\t\titemDef.name = \"Dragonfire visage (e)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 26456;\n\t\t\titemDef.modelZoom = 1697;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 152;\n\t\t\titemDef.modelOffset1 = -5;\n\t\t\titemDef.modelOffset2 = -5;\n\t\t\titemDef.modifiedModelColors = new int[] { 45, 41, 33, 24, 20, 57, 22, 37 };\n\t\t\titemDef.originalModelColors = new int[] { 0, 1, 2, 3, 4, 5, 6, 7 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33285:\n\t\t\titemDef.name = \"Easter Mystery Box\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 61110;\n\t\t\titemDef.modelZoom = 1180;\n\t\t\titemDef.modelRotation1 = 160;\n\t\t\titemDef.modelRotation2 = 172;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -14;\n\t\t\t// itemDef.modifiedModelColors = new int[] {22410, 2999};\n\t\t\t// itemDef.originalModelColors = new int[] {35321, 350};\n\t\t\titemDef.description = \"Chances for all sorts of Easter Items!\";\n\t\t\tbreak;\n\n\t\tcase 33286:\n\t\t\titemDef.name = \"Easter Cape\";\n\t\t\titemDef.inventoryOptions = new String[] { null, \"wear\", null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 9631;\n\t\t\titemDef.maleModel = 9638;\n\t\t\titemDef.femaleModel = 9640;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"An Easter Cape.\";\n\t\t\tbreak;\n\n\t\tcase 33287:\n\t\t\titemDef.name = \"Pet Easter Bunny\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 37239;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1931;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"You've captured the Easter bunny!\";\n\t\t\tbreak;\n\n\t\tcase 33288:\n\t\t\titemDef.name = \"Pet Choco\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 37239;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1931;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"mmm... a chocolate bunny\";\n\t\t\titemDef.modifiedModelColors = new int[] { 2378 };\n\t\t\titemDef.originalModelColors = new int[] { 7079 };\n\t\t\tbreak;\n\n\t\tcase 33289:\n\t\t\titemDef.name = \"Pet Milkie\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 37239;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1931;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"mmm... a chocolate bunny\";\n\t\t\titemDef.modifiedModelColors = new int[] { 2378 };\n\t\t\titemDef.originalModelColors = new int[] { 6040 };\n\t\t\tbreak;\n\n\t\tcase 33290:\n\t\t\titemDef.name = \"Pet Goldie\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 37239;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1931;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"oh wow... a rare golden bunny!\";\n\t\t\titemDef.modifiedModelColors = new int[] { 2378 };\n\t\t\titemDef.originalModelColors = new int[] { 9152 };\n\t\t\tbreak;\n\n\t\tcase 33291:\n\t\t\titemDef.name = \"Pet Blue\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 37239;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1931;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"A blue bunny... kinda looks like the easter bunny!\";\n\t\t\titemDef.modifiedModelColors = new int[] { 2378 };\n\t\t\titemDef.originalModelColors = new int[] { 35321 };\n\t\t\tbreak;\n\n\t\tcase 33292:\n\t\t\titemDef.name = \"Crazed bunny\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 23901;\n\t\t\titemDef.modelZoom = 500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1931;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"What a bloody mess...\";\n\t\t\titemDef.modifiedModelColors = new int[] { 5413, 5417, 5421 };\n\t\t\titemDef.originalModelColors = new int[] { 935, 111, 127 };\n\t\t\tbreak;\n\n\t\tcase 33293:\n\t\t\titemDef.name = \"Peter Rabbit\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 28602;\n\t\t\titemDef.modelZoom = 500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1931;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"Hi Peter!\";\n\t\t\tbreak;\n\n\t\tcase 33294:\n\t\t\titemDef.name = \"Chocolate Chicken\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 35150;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1731;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"a chocolate chicken\";\n\t\t\titemDef.modifiedModelColors = new int[] { 947 };\n\t\t\titemDef.originalModelColors = new int[] { 8128 };\n\t\t\tbreak;\n\n\t\tcase 33295:\n\t\t\titemDef.name = \"Chocolate Chicken\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 35150;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1731;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"a chocolate chicken\";\n\t\t\titemDef.modifiedModelColors = new int[] { 947, 8301 };\n\t\t\titemDef.originalModelColors = new int[] { 8128, 25511 };\n\t\t\tbreak;\n\n\t\tcase 33296:\n\t\t\titemDef.name = \"Chocolate Chicken\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 35150;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1731;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"a chocolate chicken\";\n\t\t\titemDef.modifiedModelColors = new int[] { 947, 8301 };\n\t\t\titemDef.originalModelColors = new int[] { 8128, 38835 };\n\t\t\tbreak;\n\n\t\tcase 33297:\n\t\t\titemDef.name = \"Chocolate Chicken\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 35150;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1731;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"a chocolate chicken\";\n\t\t\titemDef.modifiedModelColors = new int[] { 947, 8301 };\n\t\t\titemDef.originalModelColors = new int[] { 8128, 947 };\n\t\t\tbreak;\n\n\t\tcase 33305:\n\t\t\titemDef.name = \"$10 bond\";\n\t\t\titemDef.description = \"$10 bond.\";\n\t\t\titemDef.modelId = 29210;\n\t\t\titemDef.modelZoom = 2300;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.modifiedTextureColors = new int[] { 84, 84, 84, 84, 84, 84, 84 };\n\t\t\titemDef.originalTextureColors = new int[] { 22451, 20416, 22181, 22449, 22305, 21435, 22464 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Redeem\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33306:\n\t\t\titemDef.name = \"$25 bond\";\n\t\t\titemDef.description = \"$25 bond.\";\n\t\t\titemDef.modelId = 29210;\n\t\t\titemDef.modelZoom = 2300;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.modifiedTextureColors = new int[] { 87, 87, 87, 87, 87, 87, 87 };\n\t\t\titemDef.originalTextureColors = new int[] { 22451, 20416, 22181, 22449, 22305, 21435, 22464 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Redeem\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33307:\n\t\t\titemDef.name = \"$50 bond\";\n\t\t\titemDef.description = \"$50 bond.\";\n\t\t\titemDef.modelId = 29210;\n\t\t\titemDef.modelZoom = 2300;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.modifiedTextureColors = new int[] { 65, 65, 65, 65, 65, 65, 65 };\n\t\t\titemDef.originalTextureColors = new int[] { 22451, 20416, 22181, 22449, 22305, 21435, 22464 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Redeem\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33308:\n\t\t\titemDef.name = \"$100 bond\";\n\t\t\titemDef.description = \"$25 bond.\";\n\t\t\titemDef.modelId = 29210;\n\t\t\titemDef.modelZoom = 2300;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.modifiedTextureColors = new int[] { 75, 75, 75, 75, 75, 75, 75 };\n\t\t\titemDef.originalTextureColors = new int[] { 22451, 20416, 22181, 22449, 22305, 21435, 22464 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Redeem\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33309:\n\t\t\titemDef.name = \"$200 bond\";\n\t\t\titemDef.description = \"$200 bond.\";\n\t\t\titemDef.modelId = 29210;\n\t\t\titemDef.modelZoom = 2300;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.modifiedTextureColors = new int[] { 88, 88, 88, 88, 88, 88, 88 };\n\t\t\titemDef.originalTextureColors = new int[] { 22451, 20416, 22181, 22449, 22305, 21435, 22464 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Redeem\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33310:\n\t\t\titemDef.name = \"$500 bond\";\n\t\t\titemDef.description = \"$500 bond.\";\n\t\t\titemDef.modelId = 29210;\n\t\t\titemDef.modelZoom = 2300;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.modifiedTextureColors = new int[] { 85, 85, 85, 85, 85, 85, 85 };\n\t\t\titemDef.originalTextureColors = new int[] { 22451, 20416, 22181, 22449, 22305, 21435, 22464 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Redeem\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33311:\n\t\t\titemDef.name = \"$1000 bond\";\n\t\t\titemDef.description = \"$1000 bond.\";\n\t\t\titemDef.modelId = 29210;\n\t\t\titemDef.modelZoom = 2300;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.modifiedTextureColors = new int[] { 86, 86, 86, 86, 86, 86, 86 };\n\t\t\titemDef.originalTextureColors = new int[] { 22451, 20416, 22181, 22449, 22305, 21435, 22464 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Redeem\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33312:\n\t\t\titemDef.name = \"Armadyl battlestaff\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60332;\n\t\t\titemDef.maleModel = 60333;\n\t\t\titemDef.femaleModel = 60333;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 225;\n\t\t\titemDef.modelRotation2 = 1994;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\n\t\tcase 33313:\n\t\t\titemDef.name = \"Colossal platebody\";\n\t\t\titemDef.description = \"Colossal platebody.\";\n\t\t\titemDef.modelId = 60323;\n\t\t\titemDef.maleModel = 60324;\n\t\t\titemDef.femaleModel = 60324;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33314:\n\t\t\titemDef.name = \"Colossal platelegs\";\n\t\t\titemDef.description = \"Colossal platelegs.\";\n\t\t\titemDef.modelId = 60325;\n\t\t\titemDef.maleModel = 60326;\n\t\t\titemDef.femaleModel = 60326;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33315:\n\t\t\titemDef.name = \"Colossal boots\";\n\t\t\titemDef.description = \"Colossal boots.\";\n\t\t\titemDef.modelId = 60329;\n\t\t\titemDef.maleModel = 60329;\n\t\t\titemDef.femaleModel = 60329;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33316:\n\t\t\titemDef.name = \"Colossal gloves\";\n\t\t\titemDef.description = \"Colossal gloves.\";\n\t\t\titemDef.modelId = 60330;\n\t\t\titemDef.maleModel = 60331;\n\t\t\titemDef.femaleModel = 60331;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33317:\n\t\t\titemDef.name = \"Colossal helmet\";\n\t\t\titemDef.description = \"Colossal helmet.\";\n\t\t\titemDef.modelId = 60327;\n\t\t\titemDef.maleModel = 60328;\n\t\t\titemDef.femaleModel = 60328;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\n\t\tcase 33318:\n\t\t\titemDef.name = \"Polypore staff\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60334;\n\t\t\titemDef.maleModel = 60335;\n\t\t\titemDef.femaleModel = 60335;\n\t\t\titemDef.modelZoom = 3750;\n\t\t\titemDef.modelRotation1 = 1454;\n\t\t\titemDef.modelRotation2 = 997;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\n\t\tcase 33319:\n\t\t\titemDef.name = \"Ganodermic platebody\";\n\t\t\titemDef.description = \"Ganodermic platebody.\";\n\t\t\titemDef.modelId = 60338;\n\t\t\titemDef.maleModel = 60339;\n\t\t\titemDef.femaleModel = 60339;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33320:\n\t\t\titemDef.name = \"Ganodermic platelegs\";\n\t\t\titemDef.description = \"Ganodermic platelegs.\";\n\t\t\titemDef.modelId = 60340;\n\t\t\titemDef.maleModel = 60341;\n\t\t\titemDef.femaleModel = 60341;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33321:\n\t\t\titemDef.name = \"Ganodermic helmet\";\n\t\t\titemDef.description = \"Ganodermic helmet.\";\n\t\t\titemDef.modelId = 60336;\n\t\t\titemDef.maleModel = 60337;\n\t\t\titemDef.femaleModel = 60337;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\n\t\tcase 33322:\n\t\t\titemDef.name = \"Grotesque platebody\";\n\t\t\titemDef.description = \"Grosteq platebody.\";\n\t\t\titemDef.modelId = 60347;\n\t\t\titemDef.maleModel = 60348;\n\t\t\titemDef.femaleModel = 60348;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33323:\n\t\t\titemDef.name = \"Grotesque platelegs\";\n\t\t\titemDef.description = \"Grosteq platelegs.\";\n\t\t\titemDef.modelId = 60349;\n\t\t\titemDef.maleModel = 60350;\n\t\t\titemDef.femaleModel = 60350;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33324:\n\t\t\titemDef.name = \"Grotesque helmet\";\n\t\t\titemDef.description = \"Grosteqc helmet.\";\n\t\t\titemDef.modelId = 60345;\n\t\t\titemDef.maleModel = 60346;\n\t\t\titemDef.femaleModel = 60346;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\n\t\tcase 33325:\n\t\t\titemDef.name = \"Grotesque cape\";\n\t\t\titemDef.description = \"Grosteq cape.\";\n\t\t\titemDef.modelId = 60351;\n\t\t\titemDef.maleModel = 60352;\n\t\t\titemDef.femaleModel = 60352;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33326:\n\t\t\titemDef.name = \"Stunning Hammer\";\n\t\t\titemDef.description = \"Has a chance to stun an enemy.\";\n\t\t\titemDef.modelId = 60353;\n\t\t\titemDef.maleModel = 60354;\n\t\t\titemDef.femaleModel = 60354;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1985;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\n\t\tcase 33327:\n\t\t\titemDef.name = \"Stunning Katagon platebody\";\n\t\t\titemDef.description = \"has a chance to stun an enemy.\";\n\t\t\titemDef.modelId = 60356;\n\t\t\titemDef.maleModel = 60357;\n\t\t\titemDef.femaleModel = 60357;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33328:\n\t\t\titemDef.name = \"Stunning Katagon platelegs\";\n\t\t\titemDef.description = \"has a chance to stun an enemy.\";\n\t\t\titemDef.modelId = 60358;\n\t\t\titemDef.maleModel = 60359;\n\t\t\titemDef.femaleModel = 60359;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33329:\n\t\t\titemDef.name = \"Stunning Katagon helmet\";\n\t\t\titemDef.description = \"has a chance to stun an enemy.\";\n\t\t\titemDef.modelId = 60360;\n\t\t\titemDef.maleModel = 60361;\n\t\t\titemDef.femaleModel = 60361;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\n\t\tcase 33331:\n\t\t\titemDef.name = \"Ancient platebody\";\n\t\t\titemDef.description = \"Ancient platebody.\";\n\t\t\titemDef.modelId = 60366;\n\t\t\titemDef.maleModel = 60367;\n\t\t\titemDef.femaleModel = 60367;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33332:\n\t\t\titemDef.name = \"Ancient platelegs\";\n\t\t\titemDef.description = \"Ancient platelegs.\";\n\t\t\titemDef.modelId = 60368;\n\t\t\titemDef.maleModel = 60369;\n\t\t\titemDef.femaleModel = 60369;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33334:\n\t\t\titemDef.name = \"Ancient boots\";\n\t\t\titemDef.description = \"Ancient boots.\";\n\t\t\titemDef.modelId = 60372;\n\t\t\titemDef.maleModel = 60372;\n\t\t\titemDef.femaleModel = 60372;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33335:\n\t\t\titemDef.name = \"Ancient gloves\";\n\t\t\titemDef.description = \"Ancient gloves.\";\n\t\t\titemDef.modelId = 60370;\n\t\t\titemDef.maleModel = 60371;\n\t\t\titemDef.femaleModel = 60371;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33336:\n\t\t\titemDef.name = \"Ancient helmet\";\n\t\t\titemDef.description = \"Ancient helmet.\";\n\t\t\titemDef.modelId = 60364;\n\t\t\titemDef.maleModel = 60365;\n\t\t\titemDef.femaleModel = 60365;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\n\t\tcase 33341:\n\t\t\titemDef.name = \"Vanguard helmet\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60391;\n\t\t\titemDef.maleModel = 60392;\n\t\t\titemDef.femaleModel = 60392;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\n\t\tcase 33342:\n\t\t\titemDef.name = \"Vanguard platebody\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60393;\n\t\t\titemDef.maleModel = 60394;\n\t\t\titemDef.femaleModel = 60394;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33343:\n\t\t\titemDef.name = \"Vanguard platelegs\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60395;\n\t\t\titemDef.maleModel = 60396;\n\t\t\titemDef.femaleModel = 60396;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33344:\n\t\t\titemDef.name = \"Vanguard boots\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60398;\n\t\t\titemDef.maleModel = 60398;\n\t\t\titemDef.femaleModel = 60398;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33345:\n\t\t\titemDef.name = \"Vanguard gloves\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60373;\n\t\t\titemDef.maleModel = 60397;\n\t\t\titemDef.femaleModel = 60397;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33346:\n\t\t\titemDef.name = \"Celestial staff of light\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60401;\n\t\t\titemDef.maleModel = 60402;\n\t\t\titemDef.femaleModel = 60402;\n\t\t\titemDef.modelZoom = 3200;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 101 };\n\t\t\titemDef.originalModelColors = new int[] { 12 };\n\t\t\titemDef.maleOffset = -6;\n\t\t\titemDef.femaleOffset = -6;\n\t\t\tbreak;\n\n\t\tcase 33347:\n\t\t\titemDef.name = \"Hood of sorrow\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60438;\n\t\t\titemDef.maleModel = 60403;\n\t\t\titemDef.femaleModel = 60403;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33348:\n\t\t\titemDef.name = \"Celestial robe top\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60404;\n\t\t\titemDef.maleModel = 60405;\n\t\t\titemDef.femaleModel = 60405;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33349:\n\t\t\titemDef.name = \"Celestial robe legs\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60406;\n\t\t\titemDef.maleModel = 60407;\n\t\t\titemDef.femaleModel = 60407;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33350:\n\t\t\titemDef.name = \"Primal 2h sword\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60408;\n\t\t\titemDef.maleModel = 60409;\n\t\t\titemDef.femaleModel = 60409;\n\t\t\titemDef.modelZoom = 1701;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.modelRotation2 = 1529;\n\t\t\titemDef.modelRotation1 = 1713;\n\t\t\titemDef.modelRotationY = 898;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\titemDef.maleOffset = -7;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33353:\n\t\t\titemDef.name = \"Primal longsword\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60417;\n\t\t\titemDef.maleModel = 60418;\n\t\t\titemDef.femaleModel = 60418;\n\t\t\titemDef.modelZoom = 1616;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.modelRotation2 = 1793;\n\t\t\titemDef.modelRotation1 = 1473;\n\t\t\titemDef.modelRotationY = 1121;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\titemDef.maleOffset = -7;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33354:\n\t\t\titemDef.name = \"Primal maul\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60419;\n\t\t\titemDef.maleModel = 60420;\n\t\t\titemDef.femaleModel = 60420;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 525;\n\t\t\titemDef.modelRotation2 = 350;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\titemDef.maleOffset = -7;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33359:\n\t\t\titemDef.name = \"Primal rapier\";\n\t\t\titemDef.description = \"Good for fighting the ...\";\n\t\t\titemDef.modelId = 60433;\n\t\t\titemDef.maleModel = 60433;\n\t\t\titemDef.femaleModel = 60433;\n\t\t\titemDef.modelZoom = 1300;\n\t\t\titemDef.modelRotation1 = 1401;\n\t\t\titemDef.modelRotation2 = 1724;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.modelOffset2 = 15;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\titemDef.maleOffset = -7;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33360:\n\t\t\titemDef.name = \"Primal spear\";\n\t\t\titemDef.description = \"Good for fighting the Corperal Beast.\";\n\t\t\titemDef.modelId = 60434;\n\t\t\titemDef.maleModel = 60435;\n\t\t\titemDef.femaleModel = 60435;\n\t\t\titemDef.modelZoom = 1711;\n\t\t\titemDef.modelRotation1 = 485;\n\t\t\titemDef.modelRotation2 = 391;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.femaleOffset = -10;\n\t\t\titemDef.maleOffset = -10;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33361:\n\t\t\titemDef.name = \"Primal warhammer\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60436;\n\t\t\titemDef.maleModel = 60437;\n\t\t\titemDef.femaleModel = 60437;\n\t\t\titemDef.modelZoom = 1330;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 148;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\titemDef.maleOffset = -7;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33362:\n\t\t\titemDef.name = \"Chitin helmet\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60445;\n\t\t\titemDef.maleModel = 60446;\n\t\t\titemDef.femaleModel = 60446;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33364:\n\t\t\titemDef.name = \"Chitin platebody\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60447;\n\t\t\titemDef.maleModel = 60448;\n\t\t\titemDef.femaleModel = 60448;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33365:\n\t\t\titemDef.name = \"Chitin platelegs\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60449;\n\t\t\titemDef.maleModel = 60450;\n\t\t\titemDef.femaleModel = 60450;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33366:\n\t\t\titemDef.name = \"Chitin cape\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60443;\n\t\t\titemDef.maleModel = 60444;\n\t\t\titemDef.femaleModel = 60444;\n\t\t\titemDef.modelZoom = 1500;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = -4;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33367:\n\t\t\titemDef.name = \"Supreme void helmet\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60467;\n\t\t\titemDef.maleModel = 60464;\n\t\t\titemDef.femaleModel = 60464;\n\t\t\titemDef.modelZoom = 900;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33368:\n\t\t\titemDef.name = \"Supreme void robe top\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60468;\n\t\t\titemDef.maleModel = 60465;\n\t\t\titemDef.femaleModel = 60465;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33369:\n\t\t\titemDef.name = \"Supreme void robe\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60469;\n\t\t\titemDef.maleModel = 60466;\n\t\t\titemDef.femaleModel = 60466;\n\t\t\titemDef.modelZoom = 1900;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33370:\n\t\t\titemDef.name = \"Korasi's sword\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60471;\n\t\t\titemDef.maleModel = 60470;\n\t\t\titemDef.femaleModel = 60470;\n\t\t\titemDef.modelZoom = 1744;\n\t\t\titemDef.modelRotation1 = 330;\n\t\t\titemDef.modelRotation2 = 1505;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = -4;\n\t\t\titemDef.femaleOffset = -4;\n\t\t\tbreak;\n\n\t\tcase 33371:\n\t\t\titemDef.name = \"Spiked slayer helmet\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60475;\n\t\t\titemDef.maleModel = 60476;\n\t\t\titemDef.femaleModel = 60476;\n\t\t\titemDef.modelZoom = 800;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33372:\n\t\t\titemDef.name = \"Slayer platebody\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60478;\n\t\t\titemDef.maleModel = 60479;\n\t\t\titemDef.femaleModel = 60479;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33373:\n\t\t\titemDef.name = \"Slayer platelegs\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60474;\n\t\t\titemDef.maleModel = 60477;\n\t\t\titemDef.femaleModel = 60477;\n\t\t\titemDef.modelZoom = 1900;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33374:\n\t\t\titemDef.name = \"Slayer boots\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60472;\n\t\t\titemDef.maleModel = 60473;\n\t\t\titemDef.femaleModel = 60473;\n\t\t\titemDef.modelZoom = 789;\n\t\t\titemDef.modelRotation1 = 164;\n\t\t\titemDef.modelRotation2 = 156;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33375:\n\t\t\titemDef.name = \"Blood Justiciar helmet\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60482;\n\t\t\titemDef.maleModel = 60483;\n\t\t\titemDef.femaleModel = 60483;\n\t\t\titemDef.modelZoom = 800;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33376:\n\t\t\titemDef.name = \"Blood Justiciar platebody\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60484;\n\t\t\titemDef.maleModel = 60485;\n\t\t\titemDef.femaleModel = 60485;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33377:\n\t\t\titemDef.name = \"Blood justiciar platelegs\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60486;\n\t\t\titemDef.maleModel = 60487;\n\t\t\titemDef.femaleModel = 60487;\n\t\t\titemDef.modelZoom = 1900;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33378:\n\t\t\titemDef.name = \"Blood justiciar boots\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60488;\n\t\t\titemDef.maleModel = 60488;\n\t\t\titemDef.femaleModel = 60488;\n\t\t\titemDef.modelZoom = 789;\n\t\t\titemDef.modelRotation1 = 164;\n\t\t\titemDef.modelRotation2 = 156;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33379:\n\t\t\titemDef.name = \"Blood justiciar gloves\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60489;\n\t\t\titemDef.maleModel = 60490;\n\t\t\titemDef.femaleModel = 60490;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33380:\n\t\t\titemDef.name = \"Blood scythe of vitur\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60480;\n\t\t\titemDef.maleModel = 60481;\n\t\t\titemDef.femaleModel = 60481;\n\t\t\titemDef.modelZoom = 3850;\n\t\t\titemDef.modelRotation1 = 727;\n\t\t\titemDef.modelRotation2 = 997;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33381:\n\t\t\titemDef.name = \"Skiller cape\";\n\t\t\titemDef.description = \"Skiller cape.\";\n\t\t\titemDef.modelId = 60494;\n\t\t\titemDef.maleModel = 60493;\n\t\t\titemDef.femaleModel = 60492;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33382:\n\t\t\titemDef.name = \"Justiciar faceguard (zamorak)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35751;\n\t\t\titemDef.maleModel = 35349;\n\t\t\titemDef.femaleModel = 35361;\n\t\t\titemDef.modelZoom = 777;\n\t\t\titemDef.modelRotation1 = 22;\n\t\t\titemDef.modelRotation2 = 1972;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 4550 };\n\t\t\titemDef.originalModelColors = new int[] { 926, 926, 926, 926 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33383:\n\t\t\titemDef.name = \"Justiciar faceguard (guthix)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35751;\n\t\t\titemDef.maleModel = 35349;\n\t\t\titemDef.femaleModel = 35361;\n\t\t\titemDef.modelZoom = 777;\n\t\t\titemDef.modelRotation1 = 22;\n\t\t\titemDef.modelRotation2 = 1972;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 4550 };\n\t\t\titemDef.originalModelColors = new int[] { 21939, 21945, 21952, 21954 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33384:\n\t\t\titemDef.name = \"Justiciar faceguard (saradomin)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35751;\n\t\t\titemDef.maleModel = 35349;\n\t\t\titemDef.femaleModel = 35361;\n\t\t\titemDef.modelZoom = 777;\n\t\t\titemDef.modelRotation1 = 22;\n\t\t\titemDef.modelRotation2 = 1972;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 4550 };\n\t\t\titemDef.originalModelColors = new int[] { 43929, 43929, 43929, 43929 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33385:\n\t\t\titemDef.name = \"Justiciar faceguard (ancient)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35751;\n\t\t\titemDef.maleModel = 35349;\n\t\t\titemDef.femaleModel = 35361;\n\t\t\titemDef.modelZoom = 777;\n\t\t\titemDef.modelRotation1 = 22;\n\t\t\titemDef.modelRotation2 = 1972;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 4550 };\n\t\t\titemDef.originalModelColors = new int[] { -10854, -10860, -10872, -10874 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33387:\n\t\t\titemDef.name = \"Justiciar faceguard (bandos)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35751;\n\t\t\titemDef.maleModel = 35349;\n\t\t\titemDef.femaleModel = 35361;\n\t\t\titemDef.modelZoom = 777;\n\t\t\titemDef.modelRotation1 = 22;\n\t\t\titemDef.modelRotation2 = 1972;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 4550 };\n\t\t\titemDef.originalModelColors = new int[] { 7062, 7062, 7062, 7062 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33389:\n\t\t\titemDef.name = \"Justiciar faceguard (armadyl)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35751;\n\t\t\titemDef.maleModel = 35349;\n\t\t\titemDef.femaleModel = 35361;\n\t\t\titemDef.modelZoom = 777;\n\t\t\titemDef.modelRotation1 = 22;\n\t\t\titemDef.modelRotation2 = 1972;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 4550 };\n\t\t\titemDef.originalModelColors = new int[] { 10467, 10474, 10482, 10484 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33390:\n\t\t\titemDef.name = \"Justiciar chestguard (zamorak)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35750;\n\t\t\titemDef.maleModel = 35359;\n\t\t\titemDef.femaleModel = 35368;\n\t\t\titemDef.modelZoom = 1310;\n\t\t\titemDef.modelRotation1 = 432;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 926, 926, 926, 926 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33391:\n\t\t\titemDef.name = \"Justiciar chestguard (guthix)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35750;\n\t\t\titemDef.maleModel = 35359;\n\t\t\titemDef.femaleModel = 35368;\n\t\t\titemDef.modelZoom = 1310;\n\t\t\titemDef.modelRotation1 = 432;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 21939, 21945, 21952, 21954 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33392:\n\t\t\titemDef.name = \"Justiciar chestguard (saradomin)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35750;\n\t\t\titemDef.maleModel = 35359;\n\t\t\titemDef.femaleModel = 35368;\n\t\t\titemDef.modelZoom = 1310;\n\t\t\titemDef.modelRotation1 = 432;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 43929, 43929, 43929, 43929 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33393:\n\t\t\titemDef.name = \"Justiciar chestguard (ancient)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35750;\n\t\t\titemDef.maleModel = 35359;\n\t\t\titemDef.femaleModel = 35368;\n\t\t\titemDef.modelZoom = 1310;\n\t\t\titemDef.modelRotation1 = 432;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { -10854, -10860, -10872, -10874 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33394:\n\t\t\titemDef.name = \"Justiciar chestguard (bandos)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35750;\n\t\t\titemDef.maleModel = 35359;\n\t\t\titemDef.femaleModel = 35368;\n\t\t\titemDef.modelZoom = 1310;\n\t\t\titemDef.modelRotation1 = 432;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 7062, 7062, 7062, 7062 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33395:\n\t\t\titemDef.name = \"Justiciar chestguard (armadyl)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35750;\n\t\t\titemDef.maleModel = 35359;\n\t\t\titemDef.femaleModel = 35368;\n\t\t\titemDef.modelZoom = 1310;\n\t\t\titemDef.modelRotation1 = 432;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 10467, 10474, 10482, 10484 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33396:\n\t\t\titemDef.name = \"Justiciar legguards (zamorak)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35752;\n\t\t\titemDef.maleModel = 35356;\n\t\t\titemDef.femaleModel = 35357;\n\t\t\titemDef.modelZoom = 1720;\n\t\t\titemDef.modelRotation1 = 468;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 926, 926, 926, 926 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33397:\n\t\t\titemDef.name = \"Justiciar legguards (guthix)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35752;\n\t\t\titemDef.maleModel = 35356;\n\t\t\titemDef.femaleModel = 35357;\n\t\t\titemDef.modelZoom = 1720;\n\t\t\titemDef.modelRotation1 = 468;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 21939, 21945, 21952, 21954 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33398:\n\t\t\titemDef.name = \"Justiciar legguards (saradomin)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35752;\n\t\t\titemDef.maleModel = 35356;\n\t\t\titemDef.femaleModel = 35357;\n\t\t\titemDef.modelZoom = 1720;\n\t\t\titemDef.modelRotation1 = 468;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 43929, 43929, 43929, 43929 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33399:\n\t\t\titemDef.name = \"Justiciar legguards (ancient)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35752;\n\t\t\titemDef.maleModel = 35356;\n\t\t\titemDef.femaleModel = 35357;\n\t\t\titemDef.modelZoom = 1720;\n\t\t\titemDef.modelRotation1 = 468;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { -10854, -10860, -10872, -10874 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33400:\n\t\t\titemDef.name = \"Justiciar legguards (bandos)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35752;\n\t\t\titemDef.maleModel = 35356;\n\t\t\titemDef.femaleModel = 35357;\n\t\t\titemDef.modelZoom = 1720;\n\t\t\titemDef.modelRotation1 = 468;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 7062, 7062, 7062, 7062 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33401:\n\t\t\titemDef.name = \"Justiciar legguards (armadyl)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35752;\n\t\t\titemDef.maleModel = 35356;\n\t\t\titemDef.femaleModel = 35357;\n\t\t\titemDef.modelZoom = 1720;\n\t\t\titemDef.modelRotation1 = 468;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 10467, 10474, 10482, 10484 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33402:\n\t\t\titemDef.name = \"Pet andy\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 50169;\n\t\t\titemDef.modelZoom = 1500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33403:\n\t\t\titemDef.name = \"Pet mod divine\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 14283;\n\t\t\titemDef.modelZoom = 3500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33404:\n\t\t\titemDef.name = \"Celestial fairy\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60491;\n\t\t\titemDef.modelZoom = 3500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.originalTextureColors = new int[] { 947 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 78 };\n\t\t\titemDef.modifiedModelColors = new int[] { 937, 11200 };\n\t\t\titemDef.originalModelColors = new int[] { 42663, 41883 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33405:\n\t\t\titemDef.name = \"Lava partyhat (red)\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"A lava partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 33406:\n\t\t\titemDef.name = \"Lava partyhat (green)\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"A lava partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 33407:\n\t\t\titemDef.name = \"Lava partyhat (cyan)\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"A lava partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 33408:\n\t\t\titemDef.name = \"Lava partyhat (purple)\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"A lava partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 33409:\n\t\t\titemDef.name = \"Infernal partyhat (blue)\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"An Infernal partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 33410:\n\t\t\titemDef.name = \"Infernal partyhat (green)\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"An Infernal partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 33411:\n\t\t\titemDef.name = \"Infernal partyhat (purple)\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"An Infernal partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 33412:\n\t\t\titemDef.name = \"Infernal partyhat (rainbow)\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"An Infernal partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 33413:\n\t\t\titemDef.name = \"Celestial partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"none.\";\n\t\t\tbreak;\n\n\t\tcase 33414:\n\t\t\titemDef.name = \"Blood partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"none.\";\n\t\t\tbreak;\n\n\t\tcase 33415:\n\t\t\titemDef.name = \"Shadow partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"none.\";\n\t\t\tbreak;\n\n\t\tcase 33416:\n\t\t\titemDef.name = \"Light blue partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"none.\";\n\t\t\tbreak;\n\n\t\tcase 33417:\n\t\t\titemDef.name = \"Easter partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"none.\";\n\t\t\tbreak;\n\n\t\tcase 33418:\n\t\t\titemDef.name = \"Dark sparkle partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"none.\";\n\t\t\tbreak;\n\n\t\tcase 33419:\n\t\t\titemDef.name = \"Rainbow partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"none.\";\n\t\t\tbreak;\n\n\t\tcase 33420:\n\t\t\titemDef.name = \"Fire partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"none.\";\n\t\t\tbreak;\n\n\t\tcase 33421:\n\t\t\titemDef.name = \"Pet star sprite\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60506;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33422:\n\t\t\titemDef.name = \"Stargaze Box\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 61110;\n\t\t\titemDef.modelZoom = 1180;\n\t\t\titemDef.modelRotation1 = 160;\n\t\t\titemDef.modelRotation2 = 172;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -14;\n\t\t\t// itemDef.modifiedModelColors = new int[] {22410, 2999};\n\t\t\t// itemDef.originalModelColors = new int[] {35321, 350};\n\t\t\titemDef.description = \"none\";\n\t\t\tbreak;\n\n\t\tcase 33423:\n\t\t\titemDef.name = \"Star Dust\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Exchange\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modelId = 60496;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 279;\n\t\t\titemDef.modelRotation2 = 1994;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 47;\n\t\t\t// itemDef.modifiedModelColors = new int[] {22410, 2999};\n\t\t\t// itemDef.originalModelColors = new int[] {35321, 350};\n\t\t\titemDef.description = \"none\";\n\t\t\tbreak;\n\n\t\tcase 33424:\n\t\t\titemDef.name = \"Blood twisted bow\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32799;\n\t\t\titemDef.maleModel = 32674;\n\t\t\titemDef.femaleModel = 32674;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 720;\n\t\t\titemDef.modelRotation2 = 1500;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.originalTextureColors = new int[] { 10318, 10334 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 66, 66 };\n\t\t\titemDef.modifiedModelColors = new int[] { 14236, 13223 };\n\t\t\titemDef.originalModelColors = new int[] { 926, 926 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33425:\n\t\t\titemDef.name = \"Celestial crow\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60507;\n\t\t\titemDef.modelZoom = 1000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.originalTextureColors = new int[] { 10382 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 78 };\n\t\t\titemDef.modifiedModelColors = new int[] { 10378, 10502 };\n\t\t\titemDef.originalModelColors = new int[] { 0, 0 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33426:\n\t\t\titemDef.name = \"Celestial penguin\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60508;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.originalTextureColors = new int[] { 10343 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 78 };\n\t\t\titemDef.modifiedModelColors = new int[] { 16, 12, 20, 24, 8, 10332, 10337 };\n\t\t\titemDef.originalModelColors = new int[] { 0, 0, 0, 0, 0, 0, 0 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33427:\n\t\t\titemDef.name = \"Celestial snake\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60509;\n\t\t\titemDef.modelZoom = 1800;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.originalTextureColors = new int[] { 10644, 10512 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 78, 78 };\n\t\t\titemDef.modifiedModelColors = new int[] { 10413, 10405, 10524 };\n\t\t\titemDef.originalModelColors = new int[] { 0, 0, 0 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33428:\n\t\t\titemDef.name = \"Celestial scorpion\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60510;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.originalTextureColors = new int[] { 142 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 78 };\n\t\t\titemDef.modifiedModelColors = new int[] { 4884, 4636, 3974, 4525, 4645 };\n\t\t\titemDef.originalModelColors = new int[] { 0, 0, 0, 0, 0 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33429:\n\t\t\titemDef.name = \"Armadyl dye\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60513;\n\t\t\titemDef.modelZoom = 809;\n\t\t\titemDef.modelRotation1 = 90;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 30814, 30809, 30799, 30804 };\n\t\t\titemDef.originalModelColors = new int[] { 10467, 10474, 10482, 10484 };\n\t\t\tbreak;\n\n\t\tcase 33430:\n\t\t\titemDef.name = \"Guthix dye\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60513;\n\t\t\titemDef.modelZoom = 809;\n\t\t\titemDef.modelRotation1 = 90;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 30814, 30809, 30799, 30804 };\n\t\t\titemDef.originalModelColors = new int[] { 21939, 21945, 21952, 21954 };\n\t\t\tbreak;\n\n\t\tcase 33431:\n\t\t\titemDef.name = \"Zamorak dye\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60513;\n\t\t\titemDef.modelZoom = 809;\n\t\t\titemDef.modelRotation1 = 90;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 30814, 30809, 30799, 30804 };\n\t\t\titemDef.originalModelColors = new int[] { 926, 926, 926, 926 };\n\t\t\tbreak;\n\n\t\tcase 33432:\n\t\t\titemDef.name = \"Ancient dye\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60513;\n\t\t\titemDef.modelZoom = 809;\n\t\t\titemDef.modelRotation1 = 90;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 30814, 30809, 30799, 30804 };\n\t\t\titemDef.originalModelColors = new int[] { -10854, -10860, -10872, -10874 };\n\t\t\tbreak;\n\n\t\tcase 33433:\n\t\t\titemDef.name = \"Bandos dye\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60513;\n\t\t\titemDef.modelZoom = 809;\n\t\t\titemDef.modelRotation1 = 90;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 30814, 30809, 30799, 30804 };\n\t\t\titemDef.originalModelColors = new int[] { 7062, 7062, 7062, 7062 };\n\t\t\tbreak;\n\n\t\tcase 33434:\n\t\t\titemDef.name = \"Saradomin dye\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60513;\n\t\t\titemDef.modelZoom = 809;\n\t\t\titemDef.modelRotation1 = 90;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 30814, 30809, 30799, 30804 };\n\t\t\titemDef.originalModelColors = new int[] { 43929, 43929, 43929, 43929 };\n\t\t\tbreak;\n\n\t\tcase 33435:\n\t\t\titemDef.name = \"Celestial egg\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 7171;\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelRotation2 = 16;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.originalTextureColors = new int[] { 476 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 78 };\n\t\t\titemDef.inventoryOptions = new String[] { \"Hatch\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = true;\n\t\t\tbreak;\n\n\t\tcase 33436:\n\t\t\titemDef.name = \"Elite void top (placeholder)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 10586;\n\t\t\titemDef.maleModel = 10687;\n\t\t\titemDef.anInt188 = 10681;\n\t\t\titemDef.femaleModel = 10694;\n\t\t\titemDef.anInt164 = 10688;\n\t\t\titemDef.modelZoom = 1221;\n\t\t\titemDef.modelRotation1 = 459;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\t// itemDef.originalTextureColors = new int [] { 695};\n\t\t\t// itemDef.modifiedTextureColors = new int [] { 66};\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33437:\n\t\t\titemDef.name = \"Elite void robe (placeholder)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60528;\n\t\t\titemDef.maleModel = 60526;\n\t\t\titemDef.femaleModel = 60527;\n\t\t\titemDef.modelZoom = 2105;\n\t\t\titemDef.modelRotation1 = 525;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\t// itemDef.originalTextureColors = new int [] { 695};\n\t\t\t// itemDef.modifiedTextureColors = new int [] { 66};\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33438:\n\t\t\titemDef.name = \"Blood chest\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60516;\n\t\t\titemDef.modelZoom = 2640;\n\t\t\titemDef.modelRotation1 = 114;\n\t\t\titemDef.modelRotation2 = 1883;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33439:\n\t\t\titemDef.name = \"Blood bird\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60517;\n\t\t\titemDef.modelZoom = 2768;\n\t\t\titemDef.modelRotation1 = 141;\n\t\t\titemDef.modelRotation2 = 1790;\n\t\t\titemDef.modelOffset1 = -8;\n\t\t\titemDef.modelOffset2 = -13;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\titemDef.originalTextureColors = new int[] { 1946, 2983, 6084, 2735, 5053, 6082, 4013, 2733, 4011, 2880,\n\t\t\t\t\t8150 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66 };\n\t\t\tbreak;\n\n\t\tcase 33440:\n\t\t\titemDef.name = \"Blood Death\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60441;\n\t\t\titemDef.modelZoom = 16000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33442:\n\t\t\titemDef.name = \"10 Min XP boost (25%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Claim\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33446:\n\t\t\titemDef.name = \"10 Min XP boost (50%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Claim\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33450:\n\t\t\titemDef.name = \"10 Min XP boost (75%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Claim\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33454:\n\t\t\titemDef.name = \"10 Min XP boost (100%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33458:\n\t\t\titemDef.name = \"10 Min XP boost (150%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33462:\n\t\t\titemDef.name = \"10 Min XP boost (200%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33443:\n\t\t\titemDef.name = \"30 Min XP boost (25%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33447:\n\t\t\titemDef.name = \"30 Min XP boost (50%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33451:\n\t\t\titemDef.name = \"30 Min XP boost (75%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33455:\n\t\t\titemDef.name = \"30 Min XP boost (100%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33459:\n\t\t\titemDef.name = \"30 Min XP boost (150%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33463:\n\t\t\titemDef.name = \"30 Min XP boost (200%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33444:\n\t\t\titemDef.name = \"60 Min XP boost (25%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33448:\n\t\t\titemDef.name = \"60 Min XP boost (50%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33452:\n\t\t\titemDef.name = \"60 Min XP boost (75%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33456:\n\t\t\titemDef.name = \"60 Min XP boost (100%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33460:\n\t\t\titemDef.name = \"60 Min XP boost (150%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33464:\n\t\t\titemDef.name = \"60 Min XP boost (200%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33445:\n\t\t\titemDef.name = \"120 Min XP boost (25%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33449:\n\t\t\titemDef.name = \"120 Min XP boost (50%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33453:\n\t\t\titemDef.name = \"120 Min XP boost (75%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33457:\n\t\t\titemDef.name = \"120 Min XP boost (100%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33461:\n\t\t\titemDef.name = \"120 Min XP boost (150%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33465:\n\t\t\titemDef.name = \"120 Min XP boost (200%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33466:\n\t\t\titemDef.name = \"Deathtouched dart\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60534;\n\t\t\titemDef.maleModel = 60533;\n\t\t\titemDef.femaleModel = 60533;\n\t\t\titemDef.modelZoom = 1053;\n\t\t\titemDef.modelRotation1 = 471;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33467:\n\t\t\titemDef.name = \"Justiciar boots\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60535;\n\t\t\titemDef.maleModel = 60535;\n\t\t\titemDef.femaleModel = 60535;\n\t\t\titemDef.modelZoom = 789;\n\t\t\titemDef.modelRotation1 = 164;\n\t\t\titemDef.modelRotation2 = 156;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33468:\n\t\t\titemDef.name = \"Justiciar gloves\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 31022;\n\t\t\titemDef.maleModel = 31006;\n\t\t\titemDef.femaleModel = 31013;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 636;\n\t\t\titemDef.modelRotation2 = 2015;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 123, 70 };\n\t\t\titemDef.originalModelColors = new int[] { 6736, 59441 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33469:\n\t\t\titemDef.name = \"Magic mushroom\";\n\t\t\titemDef.description = \"offers a 10% droprate increase while this pet follows you.\";\n\t\t\titemDef.modelId = 60532;\n\t\t\titemDef.modelZoom = 3000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 6;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33470:\n\t\t\titemDef.name = \"Twisted staff\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60538;\n\t\t\titemDef.maleModel = 60539;\n\t\t\titemDef.femaleModel = 60539;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33471:\n\t\t\titemDef.name = \"Cowboy hat\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60540;\n\t\t\titemDef.maleModel = 60541;\n\t\t\titemDef.femaleModel = 60541;\n\t\t\titemDef.modelZoom = 800;\n\t\t\titemDef.modelRotation1 = 108;\n\t\t\titemDef.modelRotation2 = 1535;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33472:\n\t\t\titemDef.name = \"Stick\";\n\t\t\titemDef.description = \"Careful of that chub.\";\n\t\t\titemDef.modelId = 60545;\n\t\t\titemDef.maleModel = 60545;\n\t\t\titemDef.femaleModel = 60545;\n\t\t\titemDef.modelZoom = 3000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33473:\n\t\t\titemDef.name = \"#1 Tob cape\";\n\t\t\titemDef.description = \"Reward to the first to complete tob solo and in a team.\";\n\t\t\titemDef.modelId = 60551;\n\t\t\titemDef.maleModel = 60550;\n\t\t\titemDef.femaleModel = 60550;\n\t\t\titemDef.modelZoom = 2295;\n\t\t\titemDef.modelRotation1 = 367;\n\t\t\titemDef.modelRotation2 = 1212;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = 8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33474:\n\t\t\titemDef.name = \"Supreme void upgrade kit\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 4847;\n\t\t\titemDef.modelZoom = 1310;\n\t\t\titemDef.modelRotation1 = 163;\n\t\t\titemDef.modelRotation2 = 73;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { -32709, 10295, 10304, 10287, 10275, 10283 };\n\t\t\titemDef.originalModelColors = new int[] { 10, 10, 10, 10, 10, 10 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33475:\n\t\t\titemDef.name = \"Hunter's penguin\";\n\t\t\titemDef.description = \"the one and only's pet.\";\n\t\t\titemDef.modelId = 60548;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 6;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33476:\n\t\t\titemDef.name = \"Chef Harambe\";\n\t\t\titemDef.description = \"I like to dip my balls in a deep fryer.\";\n\t\t\titemDef.modelId = 60921;\n\t\t\titemDef.modelZoom = 5000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 6;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33477:\n\t\t\titemDef.name = \"Void knight champion jr\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60463;\n\t\t\titemDef.modelZoom = 14000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 6;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33478:\n\t\t\titemDef.name = \"Custom pet token\";\n\t\t\titemDef.description = \"Trade this to corey after filling out a form on the forums post custom pets\";\n\t\t\titemDef.modelId = 13838;\n\t\t\titemDef.modelZoom = 530;\n\t\t\titemDef.modelRotation1 = 415;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33479:\n\t\t\titemDef.name = \"Mr jaycorr\";\n\t\t\titemDef.description = \"The autistic one.\";\n\t\t\titemDef.modelId = 60592;\n\t\t\titemDef.modelZoom = 7500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33480:\n\t\t\titemDef.name = \"Broom broom\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60593;\n\t\t\titemDef.maleModel = 60593;\n\t\t\titemDef.femaleModel = 60593;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33481:\n\t\t\titemDef.name = \"Test\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35751;\n\t\t\titemDef.maleModel = 35349;\n\t\t\titemDef.femaleModel = 35361;\n\t\t\titemDef.modelZoom = 777;\n\t\t\titemDef.modelRotation1 = 22;\n\t\t\titemDef.modelRotation2 = 1972;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 11773:\n\t\tcase 11771:\n\t\tcase 11770:\n\t\tcase 11772:\n\t\t\titemDef.anInt196 += 45;\n\t\t\tbreak;\n\t\tcase 22610:\n\t\t\titemDef.name = \"Vesta's spear (deg)\";\n\t\t\tbreak;\n\t\tcase 22614:\n\t\t\titemDef.name = \"Vesta's longsword (deg)\";\n\t\t\tbreak;\n\t\tcase 22616:\n\t\t\titemDef.name = \"Vesta's chainbody (deg)\";\n\t\t\tbreak;\n\t\tcase 22619:\n\t\t\titemDef.name = \"Vesta's plateskirt (deg)\";\n\t\t\tbreak;\n\t\tcase 22622:\n\t\t\titemDef.name = \"Statius's warhammer (deg)\";\n\t\t\tbreak;\n\t\tcase 22625:\n\t\t\titemDef.name = \"Statius's full helm (deg)\";\n\t\t\tbreak;\n\t\tcase 22628:\n\t\t\titemDef.name = \"Statius's platebody (deg)\";\n\t\t\tbreak;\n\t\tcase 22631:\n\t\t\titemDef.name = \"Statius's platelegs (deg)\";\n\t\t\tbreak;\n\t\tcase 22638:\n\t\t\titemDef.name = \"Morrigan's coif (deg)\";\n\t\t\tbreak;\n\t\tcase 22641:\n\t\t\titemDef.name = \"Morrigan's leather body (deg)\";\n\t\t\tbreak;\n\t\tcase 22644:\n\t\t\titemDef.name = \"Morrigan's leather chaps (deg)\";\n\t\t\tbreak;\n\t\tcase 22647:\n\t\t\titemDef.name = \"Zuriel's staff (deg)\";\n\t\t\tbreak;\n\t\tcase 22650:\n\t\t\titemDef.name = \"Zuriel's hood (deg)\";\n\t\t\tbreak;\n\t\tcase 22653:\n\t\t\titemDef.name = \"Zuriel's robe top (deg)\";\n\t\t\tbreak;\n\t\tcase 22656:\n\t\t\titemDef.name = \"Zuriel's robe bottom (deg)\";\n\t\t\tbreak;\n\n\t\tcase 13303:\n\t\t\titemDef.name = \"Event Key (Tarn)\";\n\t\t\titemDef.description = \"Use this to open the Event Boss chest.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 8128 };\n\t\t\titemDef.originalModelColors = new int[] { 933 };\n\t\t\tbreak;\n\t\tcase 13302:\n\t\t\titemDef.name = \"Event Key (Graardor)\";\n\t\t\titemDef.description = \"Use this to open the Event Boss chest.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 8128 };\n\t\t\titemDef.originalModelColors = new int[] { 933 };\n\t\t\tbreak;\n\t\tcase 13305:\n\t\t\titemDef.name = \"Tastey-Looking Key\";\n\t\t\titemDef.description = \"Use this to open the Event Boss chest.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 8128 };\n\t\t\titemDef.originalModelColors = new int[] { 933 };\n\t\t\tbreak;\n\t\tcase 2697:\n\t\t\titemDef.name = \"$10 Scroll\";\n\t\t\titemDef.description = \"Get donor status at a cheaper cost!\";\n\t\t\tbreak;\n\t\tcase 2698:\n\t\t\titemDef.name = \"$50 Scroll\";\n\t\t\titemDef.description = \"Read this scroll to be rewarded with the Super Donator status.\";\n\t\t\tbreak;\n\t\tcase 2699:\n\t\t\titemDef.name = \"$100 Donator\";\n\t\t\titemDef.description = \"Read this scroll to be rewarded with the Extreme Donator status.\";\n\t\t\tbreak;\n\t\tcase 2700:\n\t\t\titemDef.name = \"$5 Scroll\";\n\t\t\titemDef.description = \"Read this scroll to be rewarded with the Legendary Donator status.\";\n\t\t\tbreak;\n\t\tcase 1464:\n\t\t\titemDef.name = \"Vote ticket\";\n\t\t\titemDef.description = \"This ticket can be exchanged for a voting point.\";\n\t\t\tbreak;\n\n\t\tcase 11739:\n\t\t\titemDef.name = \"Daily reward box\";\n\t\t\titemDef.description = \"Open this box for a daily reward.\";\n\t\t\tbreak;\n\n\t\tcase 13066:// super set\n\t\tcase 12873:// barrows\n\t\tcase 12875:\n\t\tcase 12877:\n\t\tcase 12879:\n\t\tcase 12881:\n\t\tcase 12883:\n\t\tcase 12789:// clue box\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\tbreak;\n\t\t}\n\t\t\n\t}",
"private void makeObject() {\n\t\t\n\t\tItem I1= new Item(1,\"Cap\",10.0f,\"to protect from sun\");\n\t\tItemMap.put(1, I1);\n\t\t\n\t\tItem I2= new Item(2,\"phone\",100.0f,\"Conversation\");\n\t\tItemMap.put(2, I2);\n\t\t\n\t\tSystem.out.println(\"Objects Inserted\");\n\t}",
"protected static ParameterDef createListParameter(final String param) {\n return new ParameterDef(new Variable(param), ParameterType.LIST);\n }",
"public Item createItem(int i, int x, int y) {\n\t\tswitch (i) {\n\t\tcase 51:\n\t\t\treturn new DoubleJumpItem(i, x, y);\n\t\tcase 102:\n\t\t\treturn new StopTimeItem(i, 5, x, y);\n\t\tcase 53:\n\t\t\treturn new ImmortalItem(i, x, y);\n\t\tdefault:\n\t\t\treturn null;\n\t\t}\n\t}",
"private ListChooserItem createItem(String id, String label, String imageAssetID, boolean selected) {\n/*Generated! Do not modify!*/ ListChooserItem result = new ListChooserItem();\n/*Generated! Do not modify!*/ result.setID(id);\n/*Generated! Do not modify!*/ result.setLabel(label);\n/*Generated! Do not modify!*/ result.setImageAssetID(imageAssetID);\n/*Generated! Do not modify!*/ result.setSelected(selected);\n/*Generated! Do not modify!*/ return result;\n/*Generated! Do not modify!*/ }",
"public org.landxml.schema.landXML11.DefinitionDocument.Definition insertNewDefinition(int i)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.DefinitionDocument.Definition target = null;\r\n target = (org.landxml.schema.landXML11.DefinitionDocument.Definition)get_store().insert_element_user(DEFINITION$2, i);\r\n return target;\r\n }\r\n }",
"ExprListRule createExprListRule();",
"public interface DefinitionFactory {\n\n\tMutableComplexTypeDefinition createComplexTypeDefinition(QName name);\n\n\t<T> MutablePrismPropertyDefinition<T> createPropertyDefinition(QName name, QName typeName);\n\n\tMutablePrismReferenceDefinition createReferenceDefinition(QName name, QName typeName);\n\n\tMutablePrismContainerDefinition<?> createContainerDefinition(QName name, ComplexTypeDefinition ctd);\n\n\t<T> PrismPropertyDefinition<T> createPropertyDefinition(QName name, QName typeName, Collection<? extends DisplayableValue<T>> allowedValues, T defaultValue);\n}",
"ListString createListString();",
"void addDef(Definition def) {\n defs.addElement(def);\n }",
"private static Object makeItem(final String item){\n return new Object(){\n public String toString() {\n return item;\n }\n };\n }",
"public static void createLists() {\r\n \t\t// Raw Meat: (A bit cold...)\r\n \t\tObjectLists.addItem(\"rawmeat\", Items.beef);\r\n \t\tObjectLists.addItem(\"rawmeat\", Items.porkchop);\r\n \t\tObjectLists.addItem(\"rawmeat\", Items.chicken);\r\n \t\t\r\n \t\t// Cooked Meat: (Meaty goodness for carnivorous pets!)\r\n \t\tObjectLists.addItem(\"cookedmeat\", Items.cooked_beef);\r\n \t\tObjectLists.addItem(\"cookedmeat\", Items.cooked_porkchop);\r\n \t\tObjectLists.addItem(\"cookedmeat\", Items.cooked_chicken);\r\n \t\t\r\n \t\t// Prepared Vegetables: (For most vegetarian pets.)\r\n \t\tObjectLists.addItem(\"vegetables\", Items.wheat);\r\n \t\tObjectLists.addItem(\"vegetables\", Items.carrot);\r\n \t\tObjectLists.addItem(\"vegetables\", Items.potato);\r\n \t\t\r\n \t\t// Fruit: (For exotic pets!)\r\n \t\tObjectLists.addItem(\"fruit\", Items.apple);\r\n \t\tObjectLists.addItem(\"fruit\", Items.melon);\r\n \t\tObjectLists.addItem(\"fruit\", Blocks.pumpkin);\r\n \t\tObjectLists.addItem(\"fruit\", Items.pumpkin_pie);\r\n \r\n \t\t// Raw Fish: (Very smelly!)\r\n \t\tObjectLists.addItem(\"rawfish\", Items.fish);\r\n \r\n \t\t// Cooked Fish: (For those fish fiends!)\r\n \t\tObjectLists.addItem(\"cookedfish\", Items.cooked_fished);\r\n \t\t\r\n \t\t// Cactus Food: (Jousts love these!)\r\n \t\tObjectLists.addItem(\"cactusfood\", new ItemStack(Items.dye, 1, 2)); // Cactus Green\r\n \t\t\r\n \t\t// Mushrooms: (Fungi treats!)\r\n \t\tObjectLists.addItem(\"mushrooms\", Blocks.brown_mushroom);\r\n \t\tObjectLists.addItem(\"mushrooms\", Blocks.red_mushroom);\r\n \t\tObjectLists.addItem(\"mushrooms\", Blocks.brown_mushroom_block);\r\n \t\tObjectLists.addItem(\"mushrooms\", Blocks.red_mushroom_block);\r\n \t\t\r\n \t\t// Sweets: (Sweet sugary goodness!)\r\n \t\tObjectLists.addItem(\"sweets\", Items.sugar);\r\n \t\tObjectLists.addItem(\"sweets\", new ItemStack(Items.dye, 1, 15)); // Cocoa Beans\r\n \t\tObjectLists.addItem(\"sweets\", Items.cookie);\r\n \t\tObjectLists.addItem(\"sweets\", Blocks.cake);\r\n \t\tObjectLists.addItem(\"sweets\", Items.pumpkin_pie);\r\n \t\t\r\n \t\t// Fuel: (Fiery awesomeness!)\r\n \t\tObjectLists.addItem(\"fuel\", Items.coal);\r\n \t\t\r\n \t\t// Custom Entries:\r\n \t\tfor(String itemListName : itemListNames) {\r\n \t\t\taddFromConfig(itemListName.toLowerCase());\r\n \t\t}\r\n \t}",
"@ApiOperation(value = \"Creates a new todo list item.\")\n @ApiResponses(value = {\n @ApiResponse(code = 200, message = \"The todo list item has been successfully created.\"),\n @ApiResponse(code = 400, message = \"The data describing the new todo list item is invalid.\"),\n @ApiResponse(code = 500, message = \"An internal error occured while processing the create item request.\")\n })\n @PostMapping(path = \"/items\", consumes = MediaType.APPLICATION_JSON_VALUE)\n public Future<Void> createItem(@ApiParam(value = \"NewItem\", required = true) @RequestBody @Valid final NewItemRepr newItemRepr) {\n final String itemId = IdentifierFactory.getInstance().generateIdentifier();\n final CreateItemCommand createItemCommand = new CreateItemCommand(itemId, newItemRepr.getDescription());\n return commandGateway.send(createItemCommand);\n }",
"public ArrayList<Item> createItemList() {\n return itemLines\n .stream()\n .map(this::writeLineItemNumber)\n .map(this::createItem)\n .collect(Collectors.toCollection(ArrayList::new));\n }",
"@Override\n public ID createItem(@NotNull String uid) {\n final long startNs = myStats != null ? System.nanoTime() : 0;\n final ID result = createItemImpl(uid);\n if (myStats != null) {\n myStats.incrementCounter(StatsCounters.itemsCreationDurationNs, System.nanoTime() - startNs);\n }\n return result;\n }",
"private AgendaItemDefinition(Builder builder) {\r\n \tthis.id = builder.getId();\r\n \tthis.agendaId = builder.getAgendaId();\r\n \tthis.ruleId = builder.getRuleId();\r\n \tthis.subAgendaId = builder.getSubAgendaId();\r\n \tthis.whenTrueId = builder.getWhenTrueId();\r\n \tthis.whenFalseId = builder.getWhenFalseId();\r\n \tthis.alwaysId = builder.getAlwaysId();\r\n this.versionNumber = builder.getVersionNumber();\r\n\r\n \tif (builder.getRule() != null) { this.rule = builder.getRule().build(); }\r\n \tif (builder.getSubAgenda() != null) { this.subAgenda = builder.getSubAgenda().build(); }\r\n \tif (builder.getWhenTrue() != null) { this.whenTrue = builder.getWhenTrue().build(); }\r\n \tif (builder.getWhenFalse() != null) { this.whenFalse = builder.getWhenFalse().build(); }\r\n \tif (builder.getAlways() != null) { this.always = builder.getAlways().build(); }\r\n }",
"UL createUL();",
"ListOfValuesType createListOfValuesType();",
"public ItemStack generateItem(){\n\t\tItemStack item = new ItemStack(material);\n\t\tif(damage >= 0) item.setDurability(damage);\n\t\t\n\t\tif(itemName.isEmpty() && loreLine.isEmpty()) return item;\n\t\t\n\t\tItemMeta meta = item.getItemMeta();\n\t\tif(meta == null) return item;\n\t\t\n\t\tmeta.setDisplayName(itemName);\n\t\tmeta.setLore(Arrays.asList(loreLine));\n\t\titem.setItemMeta(meta);\n\t\t\n\t\treturn item;\n\t}",
"public static MyListItem fromCursor(Cursor cursor) {\n MyListItem myListItem=new MyListItem();\n myListItem._id=cursor.getInt(0);\n myListItem.amount=cursor.getString(1);\n myListItem.dateTime=cursor.getString(2);\n myListItem.type=cursor.getShort(3);\n return myListItem;\n }",
"@SuppressWarnings(\"unchecked\")\r\n public void createList() {\r\n items = new int[MAX_LIST];\r\n NumItems = 0;\r\n }",
"private void createNewListSection() {\n\t\tImageIcon image10 = new ImageIcon(sURLFCL1);\n\t\tImageIcon image11 = new ImageIcon(sURLFCL2);\n\t\tImageIcon image12 = new ImageIcon(sURLFCL3);\n\t\tjbCreateLists = new JButton(\"New PlayList\");\n\t\tjbCreateLists.setFont(new java.awt.Font(\"Century Gothic\",0, 15));\n\t\tjbCreateLists.setForeground(new Color(150,100,100));\n\t\tjbCreateLists.setIcon(image10);\n\t\tjbCreateLists.setHorizontalTextPosition(SwingConstants.CENTER);\n\t\tjbCreateLists.setVerticalTextPosition(SwingConstants.CENTER);\n\t\tjbCreateLists.setRolloverIcon(image11);\n\t\tjbCreateLists.setRolloverSelectedIcon(image12);\t\n\t\tjbCreateLists.setContentAreaFilled(false);\n\t\tjbCreateLists.setFocusable(false);\n\t\tjbCreateLists.setBorderPainted(false);\n\t}",
"public void addToList(View view) {\n Items newItem = new Items();\n EditText ETNew = (EditText) findViewById(R.id.ETNew);\n newItem.todo = ETNew.getText().toString();\n newItem.done = false;\n helper.create(newItem);\n Toast.makeText(this, \"Item added\", Toast.LENGTH_SHORT).show();\n adaptList2();\n ETNew.setText(\"\");\n ETNew.setHint(\"my new to-do\");\n }",
"static List<SubstantiveParametersParameterItem> createSubstantiveParametersParameterItem(List<String> collectionOfItems) {\n List<SubstantiveParametersParameterItem> substantiveParametersParameterItemList = new ArrayList<>();\n for (String item: collectionOfItems) {\n substantiveParametersParameterItemList.add(new SubstantiveParametersParameterItem(item));\n }\n return substantiveParametersParameterItemList;\n }",
"public DefinedListField addDefinedListField(final String key) {\n String label = key;\n DefinedListField listField = new DefinedListField(getComposite(), _form, key, label, false);\n listField.adapt(_formToolkit);\n _form.mapField(key, listField);\n return listField;\n }",
"ShipmentItem createShipmentItem();",
"public void buildItems() {\n try (PreparedStatement prep = Database.getConnection()\n .prepareStatement(\"CREATE TABLE IF NOT\"\n + \" EXISTS items (order_id TEXT, item TEXT, FOREIGN KEY (order_id)\"\n + \" REFERENCES orders(id) ON DELETE CASCADE ON UPDATE CASCADE);\")) {\n prep.executeUpdate();\n } catch (final SQLException exc) {\n exc.printStackTrace();\n }\n }",
"@Override\r\n\tpublic ItemInstance createItemInstance() {\n\t\treturn new HpInstance();\r\n\t}",
"protected int createItem() throws Exception {\n\t\tString title = etTitle.getText().toString();\r\n\t\tif (title.length() == 0)\r\n\t\t\tthrow new Exception(\"Invalide name\");\r\n\r\n\t\t// Gets the description\r\n\t\tString description = etDescription.getText().toString();\r\n\r\n\t\t// Gets the start date [not null]\r\n\t\tString strStartDate = tvStartDate.getText().toString();\r\n\t\tif (strStartDate.length() == 0)\r\n\t\t\tthrow new Exception(\"Invalide start date\");\r\n\t\tDate startDate = dateFormatter.parse(strStartDate);\r\n\r\n\t\t// Gets the end date\r\n\t\tString strEndDate = tvEndDate.getText().toString();\r\n\t\tDate endDate = null;\r\n\t\tif (strEndDate.length() != 0)\r\n\t\t\tendDate = dateFormatter.parse(strEndDate);\r\n\r\n\t\t// Gets the start location [not null]\r\n\t\tString startLocation = etStartLocation.getText().toString();\r\n\t\tif (startLocation.length() == 0)\r\n\t\t\tthrow new Exception(\"Invalide location\");\r\n\r\n\t\t// Gets the end location\r\n\t\tString endLocation = etEndLocation.getText().toString();\r\n\t\tif (endLocation.length() == 0)\r\n\t\t\tendLocation = null;\r\n\r\n\t\t// Gets the tag\r\n\t\tString strTag = spTag.getSelectedItem().toString();\r\n\r\n\t\t// set values\r\n\t\ttravelItem.setDescription(description);\r\n\t\ttravelItem.setTitle(title);\r\n\t\ttravelItem.setEndLocation(endLocation);\r\n\t\ttravelItem.setStartLocation(startLocation);\r\n\t\ttravelItem.setStartDate(startDate);\r\n\t\ttravelItem.setEndDate(endDate);\r\n\t\ttravelItem.getTag().setTagType(TagType.valueOf(strTag));\r\n\r\n\t\t// Creates or updates the item\r\n\t\tDao<TravelItem, Integer> itemDao = databaseHelper.getTravelItemDao();\r\n\t\tDao<Tag, Integer> tagDao = databaseHelper.getTagDao();\r\n\r\n\t\tLog.i(LOGTAG, travelItem.toString());\r\n\t\titemDao.createOrUpdate(travelItem);\r\n\t\ttagDao.update(travelItem.getTag());\r\n\r\n\t\treturn travelItem.getId();\r\n\t}",
"public void create(AttributeList attributeList) {\n super.create(attributeList);\n }",
"<C> CollectionItem<C> createCollectionItem();",
"public RDFList createRDFList(List<Expression> list, int arobase) {\r\n RDFList rlist = new RDFList(newBlankNode(), list); \r\n if (arobase == L_DEFAULT){\r\n arobase = listType;\r\n }\r\n switch (arobase){\r\n \r\n case L_LIST: \r\n rlist = complete(rlist);\r\n break;\r\n \r\n case L_PATH:\r\n rlist = path(rlist);\r\n break;\r\n }\r\n return rlist;\r\n }",
"protected void create(AttributeList attributeList) {\n super.create(attributeList);\n oracle.jbo.server.SequenceImpl s =new oracle.jbo.server.SequenceImpl(\"MNJ_MFG_FABINS_INVL_S\",getDBTransaction());\n oracle.jbo.domain.Number sVal = s.getSequenceNumber();\n setLineId(sVal);\n }",
"@Override\n public void onCreate(SQLiteDatabase db) {\n\n String SQL_CREATE_NEW_ITEMS_TABLE = \"CREATE TABLE \" + ListContract.ListContractEntry.ITEMS_TABLE_NAME +\" (\"\n + ListContract.ListContractEntry._ID + \" INTEGER PRIMARY KEY AUTOINCREMENT, \"\n + ListContract.ListContractEntry.COLUMN_ITEM_NAME + \" TEXT NOT NULL, \"\n + ListContract.ListContractEntry.COLUMN_ITEM_DATE + \" INTEGER);\";\n\n db.execSQL(SQL_CREATE_NEW_ITEMS_TABLE);\n\n }",
"public static MyListItem fromCursor(Cursor cursor) {\n MyListItem m = new MyListItem();\n return m;\n }",
"@Override\n public Item createItem(int itemNum, Item item) throws VendingMachinePersistenceException {\n loadItemFile();\n Item newItem = itemMap.put(itemNum, item);\n writeItemFile();\n return newItem;\n }",
"@Before(value = \"@createList\", order = 1)\n public void createList() {\n String endpoint = EnvironmentTrello.getInstance().getBaseUrl() + \"/lists/\";\n JSONObject json = new JSONObject();\n json.put(\"name\", \"testList\");\n json.put(\"idBoard\", context.getDataCollection(\"board\").get(\"id\"));\n RequestManager.setRequestSpec(AuthenticationUtils.getLoggedReqSpec());\n Response response = RequestManager.post(endpoint, json.toString());\n context.saveDataCollection(\"list\", response.jsonPath().getMap(\"\"));\n }",
"@Override\r\n\tpublic ItemInfo createItemInfo() {\n\t\treturn new HpInfo();\r\n\t}",
"@Override\n\tpublic IItemView createCell(Context context, ViewGroup root) {\n\t\treturn this.newCellFromXml(context, R.layout.dynamic_list_item, root);\n\t}",
"protected void create(AttributeList attributeList) {\n super.create(attributeList);\n }",
"interface WithDescription {\n /**\n * Specifies the description property: The description of the lab..\n *\n * @param description The description of the lab.\n * @return the next definition stage.\n */\n WithCreate withDescription(String description);\n }",
"public RDR_RDR_DEFINITION insertDEFINITION(int rep) throws HL7Exception { \r\n return (RDR_RDR_DEFINITION)super.insertRepetition(\"DEFINITION\", rep);\r\n }",
"static public ApplicationFormItem createNew(int id, String shortname, boolean required, ApplicationFormItemType type,\n\t\t\t\t\t\t\t\t\t\t\t\tString federationAttribute, String perunSourceAttribute, String perunDestinationAttribute, String regex,\n\t\t\t\t\t\t\t\t\t\t\t\tList<Application.ApplicationType> applicationTypes, Integer ordnum, boolean forDelete)\t{\n\t\tApplicationFormItem afi = new JSONObject().getJavaScriptObject().cast();\n\t\tafi.setId(id);\n\t\tafi.setShortname(shortname);\n\t\tafi.setRequired(required);\n\t\tafi.setType(type);\n\t\tafi.setFederationAttribute(federationAttribute);\n\t\tafi.setPerunSourceAttribute(perunSourceAttribute);\n\t\tafi.setPerunDestinationAttribute(perunDestinationAttribute);\n\t\tafi.setRegex(regex);\n\t\tafi.setApplicationTypes(applicationTypes);\n\t\tafi.setOrdnum(ordnum);\n\t\tafi.setForDelete(forDelete);\n\t\treturn afi;}",
"@Before\n public void createSimpleList() {\n testList = new SimpleList();\n }",
"DataList createDataList();",
"public void testDefine() throws Exception\r\n {\r\n File f = getResourceFile(\"data\", \"custom2.xsd_\");\r\n InputStream in = new FileInputStream(f);\r\n List types = xsdHelper.define(in, f.toURL().toString());\r\n in.close();\r\n\r\n String uri = \"http://sdo/test/custom2\";\r\n String name = \"A\";\r\n Type t = typeHelper.getType(uri, name);\r\n assertNotNull(t);\r\n\r\n DataObject a = factory.create(t);\r\n assertNotNull(a);\r\n \r\n Property p = t.getProperty(\"e\");\r\n assertNotNull(p);\r\n Type pType = p.getType();\r\n System.out.println(pType.getInstanceClass());\r\n a.setString(p, \"1 2 3\");\r\n String s = a.getString(p);\r\n System.out.println(s);\r\n assertEquals(\"1 2 3\", s);\r\n\r\n a.unset(p);\r\n a.setString(\"e\", \"1 2 3\");\r\n s = a.getString(\"e\");\r\n System.out.println(s);\r\n assertEquals(\"1 2 3\", s);\r\n\r\n MyIntList mil = new MyIntList(\"5 6 7 8\");\r\n a.set(p, mil);\r\n Object o = a.get(p);\r\n assertTrue(o instanceof MyIntList);\r\n assertEquals(\"5 6 7 8\", o.toString());\r\n }",
"com.exacttarget.wsdl.partnerapi.DefinitionResponseMsgDocument.DefinitionResponseMsg addNewDefinitionResponseMsg();",
"void add(Item item);",
"public MenuListItem(String ref, String rtPic, String sqPic, String head, String desc, String filename) {\n this.ref = ref;\n this.rtPic = rtPic;\n this.sqPic = sqPic;\n this.head = head;\n this.desc = desc;\n this.filename = filename;\n }",
"private Item initItem() {\n String name = inputName.getText().toString();\n int quantityToBuy = -1;\n if (!inputQuantityToBuy.getText().toString().equals(\"\"))\n quantityToBuy = Integer.parseInt(inputQuantityToBuy.getText().toString());\n String units = inputUnits.getText().toString();\n double price = 0;\n if (!inputPrice.getText().toString().equals(\"\"))\n price = Double.parseDouble(inputPrice.getText().toString());\n int calories = 0;\n if (!inputCalories.getText().toString().equals(\"\"))\n calories = Integer.parseInt(inputCalories.getText().toString());\n ArrayList<String> allergies = allergyActions.getAllergies();\n return new Item(name, 0, units, quantityToBuy, 0, allergies, calories, price);\n }",
"private void insertItem() {\n System.out.println(\"What is the priority level of the task: \\n\\tH -> high \\n\\tM -> medium \\n\\tL -> low\");\n char priorityLevel = scanner.next().toUpperCase().charAt(0);\n\n priorityLevel = checkPriorityLevel(priorityLevel);\n Categories category;\n if (priorityLevel == 'H') {\n category = Categories.HIGHPRIORITY;\n } else if (priorityLevel == 'M') {\n category = Categories.MIDPRIORITY;\n } else {\n category = Categories.LOWPRIORITY;\n }\n\n System.out.println(\"Enter the name of the task:\");\n scanner.nextLine();\n String name = scanner.nextLine();\n\n String daysBeforeDue = acceptDaysBeforeDue();\n\n Item item = new Item(name, daysBeforeDue, category);\n toDoList.insert(item);\n System.out.println(\"Added successfully!\");\n\n System.out.println(\"Updated to-do list:\");\n viewList();\n }",
"DirectiveDefinition createDirectiveDefinition();",
"public SalesOrder.SalesOrderBuilder item(SalesOrderItem... value) {\r\n return toItem(Lists.newArrayList(value));\r\n }",
"WithCreate withDescription(String description);",
"WithCreate withDescription(String description);",
"public void createItem(View view) {\n \t\n String[] temp = getCurrentItemTypes();\n \n Intent intent = new Intent(this, CreateItem.class);\n intent.putExtra(EDIT, \"no\");\n intent.putExtra(TYPES, temp);\n startActivityForResult(intent, 1);\n }",
"protected abstract Item createTestItem1();",
"public static void createItem(String inputCommand) {\r\n\t\tString[] value = inputCommand.split(\" \");\r\n\t\tif(value.length == 4 && \"create\".equalsIgnoreCase(value[0])) {\r\n\t\t\tInventory inventory = new Inventory();\r\n\t\t\tinventory.setItemName(value[1]);\r\n\t\t\tinventory.setItemCostPrice(Double.parseDouble(value[2]));\r\n\t\t\tinventory.setItemSellPrice(Double.parseDouble(value[3]));\r\n\t\t\tinventoryList.put(value[1], inventory);\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"Entered wrong input command\");\r\n\t\t}\r\n\t}",
"private void insertCreator(Item item) {\n head = new Node(item, null, null); // creates node\n head.next = head;\n head.before = head; // sets itself as both next and before in the list\n }",
"protected void sequence_Definition(ISerializationContext context, Definition semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}",
"private void addItem() {\n\n ItemBean bean2 = new ItemBean();\n int drawableId2 = getResources().getIdentifier(\"ic_swrl\", \"drawable\", this.getPackageName());\n bean2.setAddress(drawableId2);\n bean2.setName(getResources().getString(R.string.swrl));\n itemList.add(bean2);\n\n ItemBean bean3 = new ItemBean();\n int drawableId3 = getResources().getIdentifier(\"ic_bianmin\", \"drawable\", this.getPackageName());\n bean3.setAddress(drawableId3);\n bean3.setName(getResources().getString(R.string.bianmin));\n itemList.add(bean3);\n\n ItemBean bean4 = new ItemBean();\n int drawableId4 = getResources().getIdentifier(\"ic_shenghuo\", \"drawable\", this.getPackageName());\n bean4.setAddress(drawableId4);\n bean4.setName(getResources().getString(R.string.shenghuo));\n itemList.add(bean4);\n\n ItemBean bean5 = new ItemBean();\n int drawableId5 = getResources().getIdentifier(\"ic_nxwd\", \"drawable\", this.getPackageName());\n bean5.setAddress(drawableId5);\n bean5.setName(getResources().getString(R.string.nxwd));\n// itemList.add(bean5);\n\n }",
"@JsonIgnore\n @Override\n public Item createDynamoDbItem() {\n return new Item()\n .withPrimaryKey(\"widgetId\", this.getWidgetId())\n .with(\"widgetJSONString\", WidgetSerializer.serialize(this));\n }",
"public interface ListItemType {\n int TYPE_UNKNOWN = -1;\n int TYPE_DUOBAO_LABEL = 0;\n int TYPE_DUOBAO = 1;\n int TYPE_JIFEN_LABEL = 2;\n int TYPE_JIFEN = 3;\n}",
"@attribute(value = \"\", required = false)\r\n\tpublic void addItem(Item i) {\r\n\t}",
"protected abstract SingleTypeAdapter<E> createAdapter( final List<E> items );",
"private Model() {\n lists.put(ItemType.DEVELOPER, new ItemList());\n lists.put(ItemType.PROJECT, new ItemList());\n lists.put(ItemType.STORY, new ItemList());\n lists.put(ItemType.STORY_DEVELOPER, new ItemList());\n }"
]
| [
"0.7278509",
"0.64813167",
"0.640983",
"0.63264364",
"0.63200605",
"0.62338835",
"0.62210894",
"0.6187449",
"0.6128837",
"0.6068515",
"0.6027648",
"0.599945",
"0.5992944",
"0.59538907",
"0.589062",
"0.5839782",
"0.5786914",
"0.5765489",
"0.57215923",
"0.57192516",
"0.5671121",
"0.56589293",
"0.56304824",
"0.56275284",
"0.56010056",
"0.55973893",
"0.55968",
"0.55442595",
"0.5523533",
"0.5506553",
"0.5493674",
"0.54892033",
"0.54678357",
"0.5466786",
"0.54600006",
"0.5455923",
"0.5408948",
"0.5398046",
"0.5374954",
"0.5374361",
"0.5330806",
"0.53267664",
"0.5310075",
"0.5304315",
"0.5281498",
"0.5234562",
"0.52297384",
"0.5229648",
"0.5226799",
"0.5223385",
"0.5223111",
"0.52219504",
"0.5218277",
"0.5217656",
"0.52174205",
"0.5214877",
"0.52087474",
"0.52042276",
"0.51977825",
"0.5190969",
"0.51846206",
"0.5167267",
"0.51572794",
"0.5157103",
"0.5153002",
"0.5148092",
"0.5147189",
"0.5146396",
"0.51421267",
"0.51274216",
"0.512455",
"0.51117593",
"0.5103746",
"0.50952417",
"0.5094586",
"0.5089316",
"0.5085715",
"0.5083473",
"0.5080148",
"0.5075044",
"0.50677687",
"0.506571",
"0.50626826",
"0.50625396",
"0.5044784",
"0.50442976",
"0.5040096",
"0.50397974",
"0.50397974",
"0.50354916",
"0.5029964",
"0.5029904",
"0.50293696",
"0.50233775",
"0.50143796",
"0.5011737",
"0.50019926",
"0.49871013",
"0.49827814",
"0.49810237"
]
| 0.5071699 | 80 |
&9674;&9674;&9674; Running methods for this specific subchapter &9674;&9674;&9674; | public static void main(String[] args) {
System.out.println("Chapter 3 - 3.3. Reduction Operations Using Reduce");
System.out.println();
// *** Reduction Operations on IntStream ***
reductionOperationsOnIntStream();
System.out.println();
// *** Summing Numbers Using reduce() ***
summingNumbersUsingReduce();
System.out.println();
// *** Perform reduce with a BinaryOperator ***
performReduceWithABinaryOperator();
System.out.println();
// *** Using a Collector ***
usingACollector();
System.out.println();
// *** Accumulating Books into a Map ***
new Recipe_3_3_Reduction_Operations_Using_Reduce().accumulatingBooksIntoAMap();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void sub() {\n\t\tSystem.out.println(\"I am from substraion method\");\n\t\t\n\t}",
"private void sub() {\n\n\t}",
"public static void doExercise1() {\n // TODO: Complete Exercise 1 Below\n\n }",
"public static void displaySubTitles()\r\n {\n }",
"public static void doExercise2() {\n // TODO: Complete Exercise 2 Below\n\n }",
"public static void doExercise4() {\n // TODO: Complete Exercise 4 Below\n\n }",
"@Override\n\tpublic void study() {\n\t\tSystem.out.println(\"You will study in JUR\");\n\t}",
"public static void doExercise5() {\n // TODO: Complete Exercise 5 Below\n\n }",
"protected void mainSubDef()\n\t{\n\t\ttext(\"public static void main(String[] args) {\");\n\t\tsuper.mainSubDef();\n\t}",
"public static void doExercise3() {\n // TODO: Complete Exercise 3 Below\n\n }",
"public void firstSem2a6(){\n chapter = \"firstSem2a6\";\n String firstSem2a6 = \"\\\"Well? Are we friends, like that guy said?\\\"\";\n getTextIn(firstSem2a6);\n }",
"public void study() {\n\t\tSystem.out.println(\"I'm a good student.\");\n\t}",
"static void perform_sub(String passed){\n\t\tint type = type_of_sub(passed);\n\t\tswitch(type){\n\t\tcase 1:\n\t\t\tsub_with_reg(passed);\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tsub_with_mem(passed);\n\t\t\tbreak;\n\t\t}\n\t}",
"public void firstSem2a5(){\n chapter = \"firstSem2a5\";\n String firstSem2a5 = \"What about your friend here?\\\" he asks, nodding to \"+student.getRmName()+\". \\\"Oh, I'm good,\\\"\" +\n student.getRmName()+\"says quickly. I already have a job, through the underground Communist...uh, through\" +\n \" the school paper.\\\" You chat with the man a little longer before he excuses himself to go back to the \" +\n \"kitchen.\\tYou and \"+student.getRmName()+\" finish up your dinner and head back. About halfway there, your roommate \" +\n \"stops and peers at you intensely. \\\"Well?\\\" they say.\";\n getTextIn(firstSem2a5);\n }",
"@Test\r\n\tpublic void editChapterDriver() {\r\n\t\tfinal Object testingData[][] = {\r\n\t\t\t{ // Successful test\r\n\t\t\t\t\"producer3\", 315, null\r\n\t\t\t}, { // A producer tries to edit a content of another producer\r\n\t\t\t\t\"producer1\", 315, IllegalArgumentException.class\r\n\t\t\t}, { // A user tries to create a content\r\n\t\t\t\t\"user3\", 315, IllegalArgumentException.class\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tfor (int i = 0; i < testingData.length; i++)\r\n\t\t\tthis.editionChapterTemplate((String) testingData[i][0], (Integer) testingData[i][1], (Class<?>) testingData[i][2]);\r\n\t}",
"public void firstSem4() {\n chapter = \"firstSem4\";\n String firstSem4 = \"You're sitting at your computer - you can't sleep, and your only companions are \"+student.getRmName()+\"'s \" +\n \"snoring and Dave Grohl, whose kind face looks down at you from your poster. Your head is buzzing with everything you've \" +\n \"seen today.\\tA gentle 'ding' sounds from your computer, and you click your email tab. It's a campus-wide message \" +\n \"from the president, all caps, and it reads as follows:\\n\\t\" +\n \"DEAR STUDENTS,\\n\" +\n \"AS YOU MAY HAVE HEARD, THERE HAVE BEEN SEVERAL CONFIRMED INTERACTIONS WITH THE CAMPUS BEAST. THESE INTERACTIONS\" +\n \" RANGE FROM SIGHTINGS (17) TO KILLINGS (6). BE THIS AS IT MAY, REST ASSURED THAT WE ARE TAKING EVERY NECESSARY \" +\n \"PRECAUTION TO ENSURE STUDENT WELL-BEING. WE ARE ALL DEDICATED TO MAKING \"+(student.getCollege().getName()).toUpperCase()+\n \" A SAFE, INCLUSIVE ENVIRONMENT FOR ALL. TO CONTRIBUTE, I ASK THAT YOU DO YOUR PART, AND REPORT ANY SIGHTINGS, MAIMINGS,\" +\n \" OR KILLINGS TO PUBLIC SAFETY WITHIN A REASONABLE AMOUNT OF TIME. ENJOY YOUR STUDIES!\\nTOODOLOO,\\nPRESIDENT DOUG\";\n getTextIn(firstSem4);\n }",
"public static void exercise10() {\n }",
"public void firstSem10d(){\n chapter = \"firstSem10d\";\n String firstSem10d = \"Shocked, you and your roommate look at each other. \\\"That was...intense,\\\" your roommate says uncomfortably, and you agree. \" +\n \"\\\"Can I ask why you didn't go for the shotgun?\\\" you ask eventually, trying to find a way to bring down the adrenaline in the room. \"+\n student.getRmName()+\" shakes their head. \\\"I told you, man, that's for defense against gunmen.\\\" They look around, seemingly noticing the \" +\n \"level of destruction for the first time. \\\"This sucks. I can help you clean up the glass and stuff. You want Insomnia Cookie or anything? On me. \" +\n \"Well, partially. I only have like ten dollars.\\\" You nod, only half-listening. \\\"Yeah.\\\" you say finally. \\\"Cookies would be good.\\\"\\n\" +\n \"\\t LATER...\\n\";\n getTextIn(firstSem10d);\n }",
"public void study() {\n\t\tSystem.out.println(\"学习Java\");\r\n\t}",
"void compileSubroutine() {\n tagBracketPrinter(SUB_TAG, OPEN_TAG_BRACKET);\n try {\n compileSubroutineHelper();\n } catch (IOException e) {\n e.printStackTrace();\n }\n tagBracketPrinter(SUB_TAG, CLOSE_TAG_BRACKET);\n\n }",
"@Override\n\tpublic void activity() {\n\t\tSystem.out.println(\"studying\");\n\t}",
"private void callSubMenu() {\n new SubMenu().display();\n }",
"public void mo97906c() {\n }",
"public static void menu()\n {\n //Complete exercises 9.3.1, 9.4.2, and 9.6.1. Extra Credit: 9.3.1 (d)\n System.out.println(\"Welcome to Akash and Bobby's Homework\");\n char part;\n\n for (int i = 0; i < 100; i++) {\n System.out.println(\"______________________________________\\n\\n\");\n System.out.println(\"\\n\");\n System.out.println(\"(a) Exercise 9.3.1 [Parts a - c, e]\");\n System.out.println(\"(b) Exercise 9.4.2 [Parts a - d]\");\n System.out.println(\"(c) Exercise 9.3.1 d [Extra Credit]\");\n System.out.println(\"Enter [exit] to quit.\");\n char choice = getResponse(\"Exercise\", false); // a,b,c,d or x\n if (choice == 'g') {\n System.out.println(\"Bye, thanks for playing.\");\n break;\n }\n while (choice == 'x') {\n choice = getResponse(\"Exercise\", true);\n }\n System.out.println(\"-----------------------------------------------\");\n if (choice == 'a') {\n System.out.println(\"Exercise 9.3.1 [parts a - c, e]\");\n part = getResponse(\"Part\", false);\n while (part == 'x') {\n part = getResponse(\"Part\", true);\n }\n System.out.println(\"Exercise 9.3.1: \" + part);\n Exercise931(part);\n //Call Exercise931(choice);\n } else if (choice == 'b') {\n System.out.println(\"Exercise 9.4.2 [parts a - d]\");\n part = getResponse(\"Part\", false);\n while (part == 'x') {\n part = getResponse(\"Part\", true);\n }\n System.out.println(\"Exercise 9.4.2: \" + part);\n Exercise942(part);\n //Call Exercise942(choice);\n } else if (choice == 'c') {\n System.out.println(\"Exercise 9.3.1 d\");\n //Call Exercise931d;\n } else if (choice == 'd') {\n //Exercise931(d);\n }\n }\n }",
"public void sub();",
"public void updateChapter(Chapter chapter);",
"public void firstSem10c(){\n chapter = \"firstSem10c\";\n String firstSem10c = \"Shocked, you wander around your very empty dorm room, staring at the broken glass. You spy a scrap of paper nearby - it's \" +\n \"a part of the Dave Grohl poster. How can he still be smiling at a time like this? \\\"Man, I'm sorry,\\\" your RA says again. \\\"That sucks. \" +\n \"I can help you clean up the glass and stuff. You want Insomnia Cookie or anything? On me. Well, partially. I only have like ten dollars.\\\" \" +\n \"You nod, only half-listening. \\\"Yeah.\\\" you say finally. \\\"Cookies would be good.\\\"\\n\\t LATER...\\n\";\n getTextIn(firstSem10c);\n }",
"@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}",
"public void firstSem10a(){\n chapter = \"firstSem10a\";\n String firstSem10a = \"There's a commotion outside your room - your door looks like it's been smashed down, and your RA is standing outside, looking \" +\n \"distressed. You can hear a shout from inside - your roommate - and sounds of a struggle. \\\"Get in there and help!\\\" you shout to the RA, \" +\n \"but he just shakes his head. \\\"Sorry, I can't. I'm anti-violence. You can't fight hate with hate, you know.\\\"\\tPushing past him, you \" +\n \"run into your room to see your roommate grappling with a large beast. THE beast. It is real. What do you want to do?\";\n getTextIn(firstSem10a);\n }",
"@Override\n protected void extractChapText(Chapter chapter) {\n StringBuilder chapterText = new StringBuilder();\n\n Elements content = chapter.rawHtml.select(chapTextSelector);\n Iterator<Element> iterator = content.iterator();\n while (iterator.hasNext()) {\n chapterText.append(iterator.next().html());\n if (iterator.hasNext()) chapterText.append(\"<hr />\");\n }\n chapter.contentFromString(chapterText.toString().replace(\"blockquote\", \"div\"));\n }",
"public abstract String loadChapterTextLowercasedWithoutSplit(Book book, int chapter_1);",
"public void firstSem10b(){\n chapter = \"firstSem10b\";\n String firstSem10b = \"By the time you get back to your room around 4AM, something's very wrong. Your door appears to have been ripped off its\" +\n \" hinges, and your room is in complete disarray. Dave Grohl has been ripped to tatters, and your roommate's nowhere to be seen.\\n\\t\\\"\"+\n student.getName()+\"!\\\" your RA shouts, running down the hall toward you. \\\"I've been trying to call you...the beast got \"+student.getRmName()\n +\". Just took him. I wanted to stop it, but...you know, I'm anti-violence. You just can't fight hate with hate. Sorry, man.\\\"\";\n getTextIn(firstSem10b);\n }",
"public String mo10346a() {\n return \"GrandGesture.ShowTutorial\";\n }",
"public void firstSem2b(){\n chapter = \"firstSem2b\";\n String firstSem2b = \"You decide that you'd better stay here and unpack, so your roommate goes ahead without you. In\" +\n \" no time at all, you've got everything arranged like you want it - the strand of Christmas lights, the band \" +\n \"posters, the pictures of you and your high school friends being cool. You decide you'd better go grab some food, \" +\n \"so you walk outside into the sunlight. Look around?\\t\";\n getTextIn(firstSem2b);\n }",
"public void mo97908d() {\n }",
"public void method_199() {}",
"public void printCourseDetails()\n {\n // put your code here\n System.out.println(\"Course \" + codeNo + \" - \" + title);\n }",
"public void mo21792Q() {\n }",
"@Override\n\tpublic void exams() {\n\t\t\n\t}",
"@Test\n\tpublic void listParadeChapterDriver() {\n\t\tfinal Object testingData[][] = {\n\t\t\t{\n\t\t\t\t\"chapter2\", null\n\t\t\t}, {\n\t\t\t\t\"member1\", IllegalArgumentException.class\n\t\t\t}\n\t\t};\n\t\tfor (int i = 0; i < testingData.length; i++)\n\t\t\tthis.listParadeChapterTemplate((String) testingData[i][0], (Class<?>) testingData[i][1]);\n\t}",
"@Override\n\tpublic void work() {\n\t\tSystem.out.println(\"看门!!!\");\n\t}",
"@Override\r\n\tpublic void clickSub(int count) {\n\t\t\r\n\t}",
"@Override\n\tpublic SubTitleInfo leechSub()\n\t{\n\t\ttry\n\t\t{\n\t\t\tlog.debug(String.format(\"SubLeecher %s - Start - File='%s' ; Language='%s'\", SITE_NAME, this.tvShowInfo.getInputVideoFileName(), this.subLanguage));\n\t\t\t\n\t\t\tString episode = TvShowInfoHelper.getShortNameTypeX(this.tvShowInfo);\n\t\t\tString serie = this.tvShowInfo.getSerie();\n\n\t\t\t// ********************************************\n\t\t\t// 1 - Search Page\n\t\t\t\n\t\t\t// Connect to search page & search the episode\n\t\t\tString searchUrl = TVSUBTITLES_URL + \"/search.php?q=\" + URLEncoder.encode(serie, \"UTF-8\");\n\t\t\tlog.debug(String.format(\"Search for serie '%s' at URL '%s' ...\", serie, searchUrl));\n\t\t\t\n\t\t\tDocument docSearch = Jsoup.connect(searchUrl)\n\t\t\t\t\t.timeout(QUERY_TIME_OUT)\n\t\t\t\t\t.get();\n\t\t\t\n\t\t\t// Iterative through search results\n\t\t\tElement aSerieMatch = null;\n\t\t\tfor (Element aSerie : docSearch.select(\"div[class=left_articles] > ul > li a\"))\n\t\t\t{\n\t\t\t\tString aText = aSerie.text(); \n\t\t\t\tString aSerieCleaned = TvShowInfoHelper.removeYearsFromSerieName(aText);\n\t\t\t\t\n\t\t\t\t// Check if the result text : \n\t\t\t\t// - starts with the desired serie name\n\t\t\t\t// OR\n\t\t\t\t// - ends with the desired serie name\n\t\t\t\t// => select the first one matching only\n\t\t\t\tif (SubLeecherHelper.looseMatchStartsWith(aSerieCleaned, this.tvShowInfo.getSerie(), true)\n\t\t\t\t\t\t|| SubLeecherHelper.looseMatchEndsWith(aSerieCleaned, this.tvShowInfo.getSerie(), true))\n\t\t\t\t{\t\t\t\t\t\n\t\t\t\t\tlog.debug(String.format(\"> Matching result found : '%s'\", aText));\n\t\t\t\t\taSerieMatch = aSerie;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tlog.debug(String.format(\"> Non matching result : '%s'\", aText));\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tif (aSerieMatch == null) {\n\t\t\t\t// No episode found => end\n\t\t\t\tlog.debug(\"> No match in result !\");\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t// Get the season URL from serie link (add season number at the end of URL)\n\t\t\tString serieUrl = TVSUBTITLES_URL + aSerieMatch.attr(\"href\");\n\t\t\tString seasonsUrl = getSeriePageUrlWithSeason(serieUrl, tvShowInfo.getSeason());\n\t\t\t\t\t\t\n\t\t\t// ********************************************\n\t\t\t// 2 - Season Page\n\t\t\t\t\t\t\n\t\t\t// Connect to season page\n\t\t\tlog.debug(String.format(\"Search for episode '%s' at URL '%s' ...\", episode, seasonsUrl));\n\t\t\tDocument docSeason = Jsoup.connect(seasonsUrl)\n\t\t\t\t\t.timeout(QUERY_TIME_OUT)\n\t\t\t\t\t.header(\"Referer\", serieUrl)\n\t\t\t\t\t.get();\t\n\n\t\t\t// Browse lines in episodes table\n\t\t\tElements trEpisodeList = docSeason.select(\"table[id=table5] tr\");\n\t\t\tString episodeListUrl = null;\n\t\t\tboolean isHeader = true;\n\t\t\tfor (Element trEpisode : trEpisodeList)\n\t\t\t{\n\t\t\t\tif (isHeader) {\n\t\t\t\t\t// Skip header row\n\t\t\t\t\tisHeader = false;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tElement tdEpisode = trEpisode.select(\"td\").first();\n\t\t\t\tif (tdEpisode == null) {\n\t\t\t\t\t// No TD in row => next line\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tElement aEpisode = trEpisode.select(\"a\").first();\n\t\t\t\tif (aEpisode == null) {\n\t\t\t\t\t// No link in row => next line\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// Try to analyse the episode title to extract info. Ex : 8x03\n\t\t\t\tString tdEpisodeText = tdEpisode.text();\n\t\t\t\tTvShowInfo tdEpisodeInfo = TvShowInfoHelper.populateTvShowInfoFromFreeText(this.tvShowInfo.getSerie() + \" \" + tdEpisodeText, true);\n\t\t\t\t\n\t\t\t\t// Check if the result text : \n\t\t\t\t// - has the season search \n\t\t\t\t// - has at least one episode search \n\t\t\t\t// => select the first one matching only\n\t\t\t\tif (tdEpisodeInfo != null\n\t\t\t\t\t\t&& tdEpisodeInfo.getSeason() == this.tvShowInfo.getSeason()\n\t\t\t\t\t\t&& TvShowInfoHelper.testIfOneEpisodeMatches(this.tvShowInfo.getEpisodes(), tdEpisodeInfo.getEpisodes()))\n\t\t\t\t{\t\t\t\t\t\n\t\t\t\t\tlog.debug(String.format(\"> Matching result found : '%s'\", tdEpisodeText));\n\t\t\t\t\tepisodeListUrl = TVSUBTITLES_URL + \"/\" + aEpisode.attr(\"href\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tlog.debug(String.format(\"> Non matching result : '%s'\", tdEpisodeText));\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tif (episodeListUrl == null) {\n\t\t\t\tlog.debug(\"> No matching result\");\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\t\n\t\t\t// ********************************************\n\t\t\t// 3 - Episode List Page\n\t\t\t\n\t\t\t// Connect to episode List page\n\t\t\tlog.debug(String.format(\"Search for subtitles for episode '%s' at URL '%s' ...\", episode, episodeListUrl));\n\t\t\tDocument docEpisode = Jsoup.connect(episodeListUrl)\n\t\t\t\t\t.timeout(QUERY_TIME_OUT)\n\t\t\t\t\t.header(\"Referer\", seasonsUrl)\n\t\t\t\t\t.get();\t\n\t\n\t\t\t// Browse subtitle links in subtitles table\n\t\t\tElement divSubtitleList = docEpisode.select(\"div[class=left_articles]\").first();\n\t\t\tElements aSubtitleList = divSubtitleList.select(\"a[href^=/subtitle-]\");\n\t\t\tList<SubSearchResult> subSearchResults = new ArrayList<SubSearchResult>();\t\t\t\n\t\t\tfor (Element aSubtitle : aSubtitleList)\n\t\t\t{\n\t\t\t\t// Get the flag image (corresponding to the language) \n\t\t\t\tElement imgFlag = aSubtitle.select(\"img[src^=images/flags/]\").first();\n\t\t\t\t\n\t\t\t\t// Check if the image has the right language image\n\t\t\t\t// example : src=images/flags/fr.gif\n\t\t\t\tif (imgFlag == null ||\n\t\t\t\t\t\t!imgFlag.attr(\"src\").toLowerCase().startsWith(\"images/flags/\" + this.subLanguage.toLowerCase().substring(0,2))) {\n\t\t\t\t\t// Language mismatch => next line\n\t\t\t\t\tcontinue;\n\t\t\t\t}\t\t\n\t\t\t\t\n\t\t\t\t// Get the subtitle URL\n\t\t\t\tString subtitleUrl = TVSUBTITLES_URL + aSubtitle.attr(\"href\");\n\t\t\t\t\n\t\t\t\t// Get the episode Release (OPTIONAL)\n\t\t\t\tElement pRelease = aSubtitle.select(\"p[title=release]\").first();\n\t\t\t\tString episodeRelease = \"\";\n\t\t\t\tif (pRelease != null) {\n\t\t\t\t\tepisodeRelease = TvShowInfoHelper.cleanReleaseGroupNamingPart(pRelease.text());\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// Get the number of downloads (OPTIONAL)\n\t\t\t\tElement pDownloads = aSubtitle.select(\"p[title=downloaded]\").first();\n\t\t\t\tint episodeNbDownload = 0;\n\t\t\t\tif (pDownloads != null) {\n\t\t\t\t\tepisodeNbDownload = Integer.parseInt(pDownloads.text());\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsubSearchResults.add(new SubSearchResult(subtitleUrl, this.subLanguage, episodeNbDownload, episodeRelease));\n\t\t\t}\n\t\t\t\n\t\t\t// Evaluate the matching score and sort the subtitle results !\n\t\t\tList<SubSearchResult> scoredSubs = SubLeecherHelper.evaluateScoreAndSort(\n\t\t\t\t\tsubSearchResults, \n\t\t\t\t\tthis.tvShowInfo.getCleanedReleaseGroup(), \n\t\t\t\t\tthis.releaseGroupMatchRequired);\n\t\t\t\n\t\t\tif (scoredSubs == null || scoredSubs.size() == 0) {\n\t\t\t\tlog.debug(\"> No matching result\");\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\t\n\t\t\tfor (SubSearchResult scoredSub : scoredSubs)\n\t\t\t{\n\t\t\t\t// ********************************************\n\t\t\t\t// 3 - Subtitle Page\n\t\t\t\t\n\t\t\t\t// Connect to subtitle page\n\t\t\t\tString subtitleUrl = scoredSub.getUrl();\t\t\t\t\n\t\t\t\tlog.debug(String.format(\"Go to subtitle page at URL '%s'\", subtitleUrl));\n\t\t\t\tDocument docSubtitle = Jsoup.connect(subtitleUrl)\n\t\t\t\t\t\t.timeout(QUERY_TIME_OUT)\n\t\t\t\t\t\t.header(\"Referer\", episodeListUrl)\n\t\t\t\t\t\t.get();\n\t\t\t\t\n\t\t\t\tElement aDownload = docSubtitle.select(\"a[href^=download-\").first();\n\t\t\t\tif (aDownload == null) {\n\t\t\t\t\t// No download link\n\t\t\t\t\tlog.debug(\"> Download not available : no download link found in page\");\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// Get the download redirect URL\n\t\t\t\tString downloadRedirectUrl = TVSUBTITLES_URL + \"/\" + aDownload.attr(\"href\");\n\t\t\t\t\n\t\t\t\t// ********************************************\n\t\t\t\t// 4 - Download Redirect Page\n\t\t\t\t\n\t\t\t\tlog.debug(String.format(\"Go to download redirect page at URL '%s' ...\", downloadRedirectUrl));\n\t\t\t\tResponse response = Jsoup.connect(downloadRedirectUrl)\n\t\t\t\t\t\t.timeout(QUERY_TIME_OUT)\n\t\t\t\t\t\t.followRedirects(false)\n\t\t\t\t\t\t.execute();\n\n\t\t\t\tString redirectLocation = response.header(\"Location\");\n\t\t\t\tif (redirectLocation == null) {\n\t\t\t\t\t// No download link\n\t\t\t\t\tlog.debug(\"> Download not available : no download redirect location\");\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// Convert redirection location to URL (escape space char to %20)\n\t\t\t\tString downloadUrl = FileHelper.encodeUnsafeUrl(TVSUBTITLES_URL + \"/\" + redirectLocation);\t\n\t\t\t\t\n\t\t\t\t// ********************************************\n\t\t\t\t// 5 - Download Page\n\t\t\t\t\n\t\t\t\t// Connection to download page\n\t\t\t\tlog.debug(String.format(\"Try to download subtitle at URL '%s' ...\", downloadUrl));\n\n\t\t\t\tbyte[] bytes = null;\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tbytes = Jsoup.connect(downloadUrl)\n\t\t\t\t\t\t\t.timeout(QUERY_TIME_OUT)\n\t\t\t\t\t\t\t.header(\"Referer\", subtitleUrl)\n\t\t\t\t\t\t\t.ignoreContentType(true)\n\t\t\t\t\t\t\t.execute()\n\t\t\t\t\t\t\t.bodyAsBytes();\t\t\t\n\t\t\t\t}\n\t\t\t\tcatch (IllegalCharsetNameException ex) {\n\t\t\t\t\t// Charset not detect : try to force download with charset UTF-8\n\t\t\t\t\tlog.debug(String.format(\"> Charset not detect : try to force download with charset '%s' ...\", ALT_DOWNLOAD_CHARSET));\n\t\t\t\t\tURL url = new URL(downloadUrl);\n\t\t\t\t\tURLConnection connection = url.openConnection();\n\t\t\t\t\tconnection.setRequestProperty(\"Referer\", subtitleUrl);\t\t\t\t\n\t\t\t\t\tInputStream stream = connection.getInputStream();\n\t\t\t\t\tbytes = IOUtils.toByteArray(stream);\n\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t// Save zipped subtitle file to working folder\n\t\t\t\tString zippedSubFileName = TvShowInfoHelper.prepareZippedSubtitleFileName(this.tvShowInfo, this.subLanguage);\t\t\t\t\n\t\t\t\tString zippedSubPath = this.workingFolderPath + \"/\" + zippedSubFileName;\n\t\t\t\tFileOutputStream fos = new FileOutputStream(zippedSubPath);\n\t\t\t\tfos.write(bytes);\n\t\t\t\tfos.close();\n\t\t\t\tlog.debug(String.format(\"> Zipped subtitle downloaded to path '%s'\", zippedSubPath));\n\t\t\t\t\n\t\t\t\t// Unzip the first subtitle file in ZIP \n\t\t\t\tString subFileName = FileHelper.unZipWorkingFirstSubFile(\n\t\t\t\t\t\tthis.workingFolderPath, \n\t\t\t\t\t\tzippedSubFileName, \n\t\t\t\t\t\tTvShowInfoHelper.prepareBaseOutputFileName(this.tvShowInfo, this.subLanguage));\n\t\t\t\t\n\t\t\t\tif (subFileName == null) {\n\t\t\t\t\t// No download link\n\t\t\t\t\tlog.debug(\"> No subtitle found in ZIP file\");\n\t\t\t\t\tcontinue;\n\t\t\t\t}\t\t\t\t\n\t\t\t\t\n\t\t\t\t// Add ZIP file name to return value for post-processor\n\t\t\t\tList<String> extraFileNames = new ArrayList<String>();\n\t\t\t\textraFileNames.add(zippedSubFileName);\n\t\t\t\t\n\t\t\t\tlog.info(String.format(\"> SubLeecher %s - Subtitle found : Video File='%s' ; Language='%s' ; Subtitle File='%s'\", \n\t\t\t\t\t\tSITE_NAME,\n\t\t\t\t\t\tthis.tvShowInfo.getInputVideoFileName(), \n\t\t\t\t\t\tthis.subLanguage, \n\t\t\t\t\t\tsubFileName));\n\t\t\t\treturn new SubTitleInfo(subFileName, this.subLanguage, extraFileNames);\n\t\t\t}\n\n\t\t\t// No subtitle found => end\n\t\t\tlog.debug(\"No subtitle downloaded\");\n\t\t\treturn null;\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tlog.error(\"Error while trying to sub-leech files with \" + SITE_NAME, e);\n return null;\n\t\t}\n\t\tfinally\n\t\t{\n\t\t\tlog.debug(String.format(\"SubLeecher %s - End - File='%s' ; Language='%s'\", SITE_NAME, this.tvShowInfo.getInputVideoFileName(), this.subLanguage));\n\t\t}\n\t}",
"public abstract String getExerciseText();",
"private void presentShowcaseSequence() {\n }",
"protected String getChapterBlock()\n {\n return \"<chapter></chapter>\";\n }",
"@Override\r\n public void Story(){\r\n super.Story();\r\n System.out.println(\"=======================================================================================\");\r\n System.out.println(\"|| Arya harus bergegas untuk menyelamatkan seluruh warga. Dia tidak tau posisi warga ||\");\r\n System.out.println(\"|| yang harus diselamatkan ada pada ruangan yang mana. ||\");\r\n System.out.println(\"=======================================================================================\");\r\n }",
"public static void main(String[] args) {\n\t\tSuperClass c = new Practice(1);\n\t\tc.test1();\n\t\ttest1();\n\t}",
"public void speak()\n\t {\n\t \tSystem.out.printf(\"%s chants: Four legs good, Two legs BETTER\\n\", this.getName());\n\t }",
"abstract void sub();",
"boolean hasHadithChapterIntro();",
"public void mo21794S() {\n }",
"public static void main(String[] args) {\nSubClass obj = new SubClass();\r\n\t\t\r\n\t\tobj.display();\r\n\t}",
"public void firstSem3() {\n chapter = \"firstSem3\";\n String firstSem3 = \"The calm afternoon is suddenly broken up by a shout. A little way in front of you, a man runs out onto \" +\n \"the path - he has a long beard and is festooned with campaign buttons. \\\"Find your dream!\\\" he shouts, \" +\n \"maybe to the sky, maybe to a tree. \\\"More like find your place in the corporate machinery, hahahaha!\\\"\\t\" +\n \"You stand stock-still for a moment, bewildered, until someone taps on your shoulder. It's your roommate. \\\"Oh,\" +\n \" that's just Crazy Joe, don't worry. I met him during orientation. He says weird shit, but he's totally \" +\n \"harmless.\\\"\\n\\t\"+student.getRmName()+\" puts a hand on your shoulder and gently steers you past the raving man. \" +\n \"As you pass, Crazy Joe's eyes focus on you, and he whispers in a voice only you can hear: \\\"Beware. Beware the beast.\\\"\" +\n \"\\n\\tThat's weird as fuck, right?\\n\\tLATER THAT NIGHT...\";\n getTextIn(firstSem3);\n }",
"public E16_OverloadJavaDoc() {\n System.out.println(\"Planting a seedling\");\n }",
"public void mo21793R() {\n }",
"public void method_193() {}",
"public void printDetails()\n {\n super.printDetails();\n System.out.println(\"The author is \" + author + \" and the isbn is \" + isbn); \n }",
"public void parseSubs(){\n\t\t\n\t\t\n\t}",
"public void subTask(String tr) {\n\t\t\n\t}",
"public void run(){\n ArrayList<String> menuItems = new ArrayList<>();\n menuItems.add(\"Play the Game\");\n menuItems.add(\"Close the Program\");\n menuItems.add(\"Show the highest score\");\n String menu = CollectionTools.collectionPrinter('S', menuItems);\n runMenu(menu);\n }",
"private void printHelp()//Method was given\n {\n System.out.println(\"Your command words are:\");\n parser.showCommands();\n }",
"public static void main(String[] args) {\n Course AbstractAdvancedJavaSuperClass = new AdvancedJavaCourse(\"AdvancedJava\", \"-003\");\r\n Course AbstractJavaSuperClass = new IntroJavaCourse(\"IntroJava\", \"-002\");\r\n Course AbstractProgramClass = new IntroToProgrammingCourse(\"Intro\", \"-001\");\r\n\r\n AbstractAdvancedJavaSuperClass.setCredits(4);\r\n AbstractJavaSuperClass.setCredits(4.0);\r\n AbstractProgramClass.setCredits(4.0);\r\n \r\n //this is a test\r\n \r\n AbstractAdvancedJavaSuperClass.setPrerequisites(AbstractJavaSuperClass.getCourseNumber());\r\n AbstractJavaSuperClass.setPrerequisites(AbstractProgramClass.getCourseNumber());\r\n \r\n System.out.println(AbstractProgramClass.getCapitalizedCourseName()\r\n + \" \" + AbstractProgramClass.getCourseNumber() );\r\n \r\n System.out.println(AbstractJavaSuperClass.getCourseName()\r\n + \" \" + AbstractJavaSuperClass.getCourseNumber() \r\n + \" \" + AbstractJavaSuperClass.getPrerequisites());\r\n \r\n System.out.println(AbstractAdvancedJavaSuperClass.getCourseName()\r\n + \" \" + AbstractAdvancedJavaSuperClass.getCourseNumber() \r\n + AbstractAdvancedJavaSuperClass.getPrerequisites() );\r\n}",
"public static void talk() {\r\n\t\t\r\n\t\tif (ths.page == 3) {\r\n\t\t\tths.page++;\r\n\t\t}\r\n\t}",
"protected void runSubCommand(int num) {\n subCommands[num].execute();\n }",
"private void level6() {\n }",
"public void Case29(){\n\n }",
"@Override\n\tpublic void intro() {\n\t\t\n\t}",
"public void method_4270() {}",
"public void mo21791P() {\n }",
"void pramitiTechTutorials() {\n\t\n}",
"public static void main(String[] args) {\n Course introProgramming = new IntroToProgrammingCourse(\"Intro to Programming\", \"330\", 2);\n Course introJava = new IntroJavaCourse(\"Intro to Java Programming\", \"331\", 3, \"Intro to Programming\");\n AdvancedJavaCourse advancedJava = new AdvancedJavaCourse(\"Advanced Java Programming\", \"332\", 4, \"Intro to Java Programming\");\n System.out.println(introProgramming.printCourse());\n System.out.println(introJava.printCourse());\n System.out.println(advancedJava.printCourse());\n }",
"public static void main(String[] args) {\n // TODO write the code to thoroughly unit test SubStringPractice\n\n SubStringPractice subStringPractice = new SubStringPractice();\n\n //\n }",
"@Override\n public void sectionTitle()\n {\n }",
"public void verliesLeven() {\r\n\t\t\r\n\t}",
"public void compileSubroutine() throws DOMException, CloneNotSupportedException {\n\t\tElement ele = null;\n\t\tString token, tokenType;\n\t\tString keyword, returnType;\n\t\ttokenType = jTokenizer.tokenType();\n\t\ttoken = jTokenizer.returnTokenVal(tokenType);\n\n\t\tElement parentXML = document.createElement(\"subroutineDec\");\n\n\t\tsymTable.startSubroutine();\n\n\t\t// method/constructor/funtion\n\t\tele = createXMLnode(tokenType);\n\t\tkeyword = jTokenizer.returnTokenVal();\n\t\tparentXML.appendChild(ele);\n\n\t\tif (keyword.equals(\"method\")) {\n\n\t\t\t// argument 0 for a method is always a \"this\" object of the present class\n\t\t\tsymTable.define(\"this\", className, \"argument\");\n\t\t}\n\n\t\t// Return type of the subroutine\n\t\tjTokenizer.advance();\n\t\ttokenType = jTokenizer.tokenType();\n\t\ttoken = jTokenizer.returnTokenVal(tokenType);\n\t\treturnType = token;\n\t\tele = createXMLnode(tokenType);\n\t\tparentXML.appendChild(ele);\n\n\t\t// Name of the subroutine\n\t\tjTokenizer.advance();\n\t\ttokenType = jTokenizer.tokenType();\n\t\ttoken = jTokenizer.returnTokenVal(tokenType);\n\t\tsubroutineName = token;\n\t\tele = createXMLnode(tokenType);\n\t\tparentXML.appendChild(ele);\n\n\t\t// The character \"(\"\n\t\tjTokenizer.advance();\n\t\ttokenType = jTokenizer.tokenType();\n\t\ttoken = jTokenizer.returnTokenVal(tokenType);\n\t\tele = createXMLnode(tokenType);\n\t\tparentXML.appendChild(ele);\n\n\t\t// the list of parameters\n\t\tparentXML.appendChild(compileParameterList());\n\n\t\t// the symbol \")\"\n\t\ttoken = jTokenizer.returnTokenVal();\n\t\ttokenType = jTokenizer.tokenType();\n\t\tele = createXMLnode(tokenType);\n\t\tparentXML.appendChild(ele);\n\n\t\t// Body of subroutine\n\t\tElement body = document.createElement(\"subroutineBody\");\n\t\tparentXML.appendChild(body);\n\n\t\t// Character \"{\"\n\t\tjTokenizer.advance();\n\t\ttokenType = jTokenizer.tokenType();\n\t\tele = createXMLnode(tokenType);\n\t\tbody.appendChild(ele);\n\n\t\t// The body of the subroutine that contains declarations and statements\n\t\tjTokenizer.advance();\n\t\ttoken = jTokenizer.returnTokenVal();\n\t\tboolean declared = false;\n\t\twhile (!token.equals(\"}\")) {\n\t\t\ttokenType = jTokenizer.tokenType();\n\t\t\ttoken = jTokenizer.returnTokenVal(tokenType);\n\n\t\t\t// XML for variable declarations inside the funtion\n\t\t\tif (token.equals(\"var\")) {\n\t\t\t\tbody.appendChild(compileVarDec());\n\t\t\t\tjTokenizer.advance();\n\t\t\t}\n\n\t\t\t// XML for statements inside the function, and the declaration\n\t\t\telse if (token.matches(\"let|if|while|do|return\")) {\n\n\t\t\t\t// If the first statement has been encountered,\n\t\t\t\t// Variable declaration has ended. Function Declaration\n\t\t\t\t// can be written now\n\t\t\t\tif (!declared) {\n\n\t\t\t\t\t// Writing the VM code for function declaration\n\t\t\t\t\twriter.writeFunction(className + \".\" + subroutineName, symTable.count.get(\"local\"));\n\n\t\t\t\t\tif (keyword.equals(\"method\")) {\n\t\t\t\t\t\t// If the subroutine is a method\n\t\t\t\t\t\twriter.writePush(\"argument\", 0);\n\t\t\t\t\t\twriter.writePop(\"pointer\", 0);\n\t\t\t\t\t} else if (keyword.equals(\"constructor\")) {\n\t\t\t\t\t\t// If subroutine is a constructor\n\t\t\t\t\t\twriter.writePush(\"constant\", symTable.count.get(\"this\"));\n\t\t\t\t\t\twriter.writeCall(\"Memory.alloc\", 1);\n\t\t\t\t\t\twriter.writePop(\"pointer\", 0);\n\t\t\t\t\t}\n\t\t\t\t\tdeclared = true;\n\t\t\t\t}\n\t\t\t\t// Write the VM code for the statements after variable declaration\n\t\t\t\tbody.appendChild(compileStatements());\n\t\t\t}\n\n\t\t}\n\n\t\t// Closing char \"}\"\n\t\ttokenType = jTokenizer.tokenType();\n\t\tele = createXMLnode(tokenType);\n\t\tbody.appendChild(ele);\n\n\t\troot.appendChild(parentXML);\n\t}",
"private void openSubFile() throws Exception {\r\n sub = new PrintOutput(SUBMISSION);\r\n \r\n xml = new XMLSerializer(sub, false, true);\r\n xml.doctype(token(\"efficiency-submission\"),\r\n token(\"\\\"efficiency-submission.dtd\\\"\"), null);\r\n \r\n // print header in output file\r\n xml.openElement(token(\"efficiency-submission\"),\r\n token(\"participant-id\"), token(\"304\"),\r\n token(\"run-id\"), token(\"1111111\"),\r\n token(\"task\"), token(TASK[0]),\r\n token(\"type\"), token(TYPE[0]),\r\n token(\"query\"), token(QUERY[0]),\r\n token(\"sequential\"), token(\"yes\"),\r\n token(\"no_cpu\"), token(\"2\"),\r\n token(\"ram\"), token(\"32 GB\"),\r\n token(\"index_size_bytes\"), token(\"7869335184\"),\r\n token(\"indexing_time_sec\"), token(\"2874\")\r\n );\r\n xml.emptyElement(token(\"topic-fields\"),\r\n token(\"co_title\"), token(\"no\"),\r\n token(\"cas_title\"), token(\"no\"),\r\n token(\"xpath_title\"), token(\"yes\"),\r\n token(\"text_predicates\"), token(\"no\"),\r\n token(\"description\"), token(\"no\"),\r\n token(\"narrative\"), token(\"no\")\r\n );\r\n \r\n xml.openElement(token(\"general_description\"));\r\n xml.text(token(\"The client/server architecture of BaseX 5.72 was used \" +\r\n \"to perform the tests. The test machine has an Intel Xeon E5345 \" +\r\n \"with 2 Quad-Core CPUs and 32 GB RAM.\"));\r\n xml.closeElement();\r\n xml.openElement(token(\"ranking_description\"));\r\n xml.text(token(\"We are using both content-based as well as \" +\r\n \"structural-based ranking. At first, a content-based weight \" +\r\n \"is estimated and later refined for each location step. \" +\r\n \"The weights are derived from database meta information.\"));\r\n xml.closeElement();\r\n xml.openElement(token(\"indexing_description\"));\r\n xml.text(token(\"The full-text indexes of BaseX support both an \" +\r\n \"sped up evaluation of simple ftcontains operators as well \" +\r\n \"as advanced features of the upcoming XQFT Recommendation. \" +\r\n \"The indexes contain token positions and pointers on the text nodes. \" +\r\n \"Structural information, such as location paths to the text nodes, \" +\r\n \"are evaluated at runtime. As a consequence, our performance \" +\r\n \"measurements include the total time both for accessing the indexes \" +\r\n \"as well as traversing the inverted specified location paths.\"));\r\n xml.closeElement();\r\n xml.openElement(token(\"caching_description\"));\r\n xml.text(token(\"Both database instances as well as the full-text \" +\r\n \"indexes are completely disk-based and rely on the caching \" +\r\n \"mechanisms of the operating system.\"));\r\n xml.closeElement();\r\n }",
"@Override\n\tpublic void editTutorial() {\n\t\t\n\t}",
"public void mo21877s() {\n }",
"@Override\n\tpublic void doJob() {\n\t\tSystem.out.println(\"Studying\");\n\t}",
"@Test\n public void testscrollPNWMagazine(){\n TestLogger.log(getClass().getSimpleName() + \": \" + convertToString(new Object(){}.getClass().getEnclosingMethod().getName()));\n getPnwMagazine();\n System.out.println(\"scrollMenuList for PNW Magazine passed\");\n }",
"public void method_6349() {\r\n super.method_6349();\r\n }",
"@Override\n\tpublic void work() {\n\t\t// TODO Auto-generated method stub\n\t\tSystem.out.println(\"We work in TestYantra software solution\");\n\t\t\n\t}",
"@Override\n\t\tpublic void subTask(String arg0) {\n\n\t\t}",
"@Override\r\n\tpublic void credit() {\n\t\tSystem.out.println(\"Core Method of Child\");\r\n\t}",
"public void Case37(){\n\n }",
"private void goGuide() {\n }",
"@Override\r\n\tpublic void science() {\n\t\tSystem.out.println(\"Science class is on every tuesday afternoon\");\r\n\t\t\r\n\t}",
"public static void facultyExtended(){\n\t\tSystem.out.println(\"Enter 'EXIT' to exit to the Main Menu\");\n\t\tSystem.out.println(\"Enter 'ADD' followed by: faculty ID, name, major, class, and GPA to add a student record\");\n\t\tSystem.out.println(\"Enter 'REMOVE' followed by a faculty ID to remove a student\");\n\t\tSystem.out.println(\"Enter 'FIND' followed by a faculty ID or name to pull up student's information\");\n\t\tSystem.out.println(\"Enter 'SCHEDULE' followed by a faculty ID or name to list all courses person is teaching\");\n\t\tSystem.out.println(\"Enter 'GRANTS' followed by a faculty ID or name to list all grant information\");\n\t}",
"public static void main(String[] args) {\n Sourceable sourceable1 = new SourceSub1();\n Sourceable sourceable2 = new SourceSub2();\n\n sourceable1.method1();\n sourceable1.method2();\n sourceable2.method1();\n sourceable2.method2();\n }",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"public void talk() {\n\n\t}",
"public void mo21779D() {\n }",
"public abstract void parseChapter(XMLObject xml, Chapter chapter);",
"@Override\n\tpublic void teach() {\n\t\tSystem.out.println(\"Im your math teacher\");\n\t}",
"@Override\n \t\t\t\tpublic void doHelp() {\n \n \t\t\t\t}",
"SubTitleTransmitter getSubTitleTransmitter();",
"public static void foo() {\n\t\t\tSystem.out.println(\"Sub foo....\");\n\t\t}",
"public static void listing5_14() {\n }",
"@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}",
"public void mo21789N() {\n }"
]
| [
"0.6270567",
"0.6148319",
"0.6082356",
"0.60158455",
"0.59423697",
"0.5866581",
"0.5858166",
"0.5824626",
"0.5821499",
"0.57685095",
"0.5713671",
"0.57085985",
"0.5703779",
"0.5677934",
"0.56326306",
"0.56241",
"0.5580282",
"0.5464723",
"0.5437662",
"0.54234195",
"0.54229647",
"0.5420641",
"0.5417733",
"0.5399622",
"0.5386043",
"0.5380156",
"0.5365348",
"0.5360034",
"0.5358763",
"0.53342605",
"0.5317102",
"0.53144926",
"0.5311993",
"0.53038377",
"0.5293351",
"0.5257753",
"0.5252145",
"0.5240326",
"0.52340776",
"0.5230133",
"0.5228353",
"0.5223013",
"0.52149385",
"0.52089334",
"0.52040815",
"0.5203401",
"0.5196832",
"0.51961887",
"0.5191219",
"0.51911443",
"0.5186772",
"0.51854825",
"0.5183643",
"0.5169534",
"0.5167744",
"0.51658887",
"0.51621693",
"0.5161187",
"0.5160139",
"0.51544356",
"0.51519936",
"0.5149954",
"0.51496005",
"0.51442057",
"0.51426774",
"0.5139632",
"0.5138955",
"0.5134948",
"0.51349044",
"0.51344055",
"0.513427",
"0.51313317",
"0.5126968",
"0.51192313",
"0.51022273",
"0.5098923",
"0.5095004",
"0.50932974",
"0.5090088",
"0.5085529",
"0.508538",
"0.50835234",
"0.5074861",
"0.5074027",
"0.50719523",
"0.5067409",
"0.5063269",
"0.5062933",
"0.50626063",
"0.5058114",
"0.5047061",
"0.5047058",
"0.50428104",
"0.5035176",
"0.5032546",
"0.50321555",
"0.5032045",
"0.5024667",
"0.50226426",
"0.5017163",
"0.5016012"
]
| 0.0 | -1 |
&9674;&9674;&9674; Perform reduce with a BinaryOperator &9674;&9674;&9674; Integer sum = Stream.of(1, 2, 3, 4, 5).reduce(0, Integer::sum); Integer minValue = Stream.of(5, 4, 9, 2, 1).reduce(Integer.MIN_VALUE, Integer::max); String concatenation = Stream.of("str ", "= ", "alt ", "string") the first parameter becomes the target of the concat method and the second one is the argument to concat the target, the parameter and the result are of the same type and this can be considered a binary operator for the reduce method .reduce("", String::concat); | protected static void performReduceWithABinaryOperator() {
Integer sum = Stream.of(1, 2, 3, 4, 5).reduce(0, Integer::sum);
Integer minValue = Stream.of(5, 4, 9, 2, 1).reduce(Integer.MIN_VALUE, Integer::max);
String concatenation = Stream.of("str ", "= ", "alt ", "string")
// the first parameter becomes the target of the concat method and the second one is the argument to concat
// the target, the parameter and the result are of the same type and this can be considered a binary
// operator for the reduce method
.reduce("", String::concat);
System.out.println(concatenation);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void main(String[] args){\n int result = Stream.of(1,2,3,4,5,6,7,8,9,10)\n .reduce(0,Integer::sum);//metodo referenciado\n// .reduce(0, (acumulador, elemento) -> acumulador+elemento);\n System.out.println(result);\n\n // Obtener lenguajes separados por pipeline entre ellos y sin espacios\n // opcion 1(mejor) con operador ternario\n String cadena = Stream.of(\"Java\",\"C\",\"Python\",\"Ruby\")\n .reduce(\"\", (acumulador, lenguaje) -> acumulador.equals(\"\")?lenguaje:acumulador + \"|\" + lenguaje);\n\n System.out.println(cadena);\n\n //Opcion 2 Con regex\n String cadenaRegex = Stream.of(\"Java\",\"C\",\"Python\",\"Ruby\")\n .reduce(\"\", (acumulador, lenguaje) -> acumulador + \"|\" + lenguaje)\n .replaceFirst(\"\\\\|\",\"\") // Quitamos la primera pipeline\n .replaceAll(\"\\\\s\",\"\"); // Quitamos todos los espacios\n\n System.out.println(cadenaRegex);\n }",
"public static void reduceDemo() {\n Observable.range(1, 10).reduce(new Func2<Integer, Integer, Integer>() {\n @Override\n public Integer call(Integer integer, Integer integer2) {\n RxDemo.log(RxDemo.getMethodName() + \" \" + integer + \" \" + integer2);\n return integer + integer2;\n }\n }).subscribe(new RxCreateOperator.Sub());\n }",
"private String reduceOperation(String op1, String opd, String op2, StringBuffer expr) {\r\n if (opd == null) {\r\n if (op1 == null || op2 == null) {\r\n return null;\r\n } else if (\"AND\".equals(op1) && \"AND\".equals(op2)) {\r\n return \"AND\";\r\n } else {\r\n return \"OR\";\r\n }\r\n } else {\r\n if (op1 != null) {\r\n expr.append(op1).append(\" \");\r\n }\r\n expr.append(opd).append(\" \");\r\n return op2;\r\n }\r\n }",
"public static void main(String[] args) {\n int count = Stream.of(1, 2, 3).reduce(0, (lhs, rhs) -> lhs + rhs);\r\n System.out.println(\"Sum by reduce: \" + count);\r\n \r\n // 3-16a: feature preview\r\n count = Stream.of(1, 2, 3).reduce(0, Integer::sum);\r\n System.out.println(\"Ditto - Integer::sum: \" + count);\r\n \r\n // 3-16b: another feature preview - get rid of boxing/unboxing\r\n count = IntStream.of(1, 2, 3).sum();\r\n System.out.println(\"Ditto - IntStream.sum(): \" + count);\r\n \r\n // Example 3-18\r\n count = 0;\r\n for (int value : new int[]{1, 2, 3}) {\r\n count += value;\r\n }\r\n System.out.println(\"Ditto - classic: \" + count);\r\n \r\n }",
"public static Expression reduce(Expression expression) { throw Extensions.todo(); }",
"@Override\n public BinaryOperator<List<Integer>> combiner() {\n return (resultList1, resultList2) -> {\n Integer currentTotal1 = resultList1.get(0);\n Integer currentTotal2 = resultList2.get(0);\n currentTotal1 += currentTotal2;\n resultList1.set(0, currentTotal1);\n return resultList1;\n };\n }",
"@Override\n public String reduce(String arg0, String arg1) throws Exception {\n return arg0.concat(arg1);\n }",
"public static void main(String[] args) {\n unaryAndBinaryOperator();\n }",
"public String operator( String op);",
"default <V> Parser<S,T,U> reduce(Parser<S,T,Function<U,U>> p) {\n return s-> {\n return reduce(s, parse(s), p);\n };\n }",
"Unary operator(Operator o);",
"public static void main(String[] args) {\n System.out.println(\"Chapter 3 - 3.3. Reduction Operations Using Reduce\");\n\n\n System.out.println();\n // *** Reduction Operations on IntStream ***\n reductionOperationsOnIntStream();\n\n System.out.println();\n // *** Summing Numbers Using reduce() ***\n summingNumbersUsingReduce();\n\n System.out.println();\n // *** Perform reduce with a BinaryOperator ***\n performReduceWithABinaryOperator();\n\n System.out.println();\n // *** Using a Collector ***\n usingACollector();\n\n System.out.println();\n // *** Accumulating Books into a Map ***\n new Recipe_3_3_Reduction_Operations_Using_Reduce().accumulatingBooksIntoAMap();\n }",
"@Test\n public void unaryTest() {\n UnaryOperator<String> postfix = (a) -> a + \"postfix\";\n UnaryOperator<Integer> increment = (a) -> a + 1;\n\n Assert.assertEquals(\"valuepostfix\", postfix.apply(\"value\"));\n Assert.assertEquals(new Integer(2), increment.apply(1));\n }",
"@Override\n public BinaryOperator<TradeAccumulator> combiner() {\n return (accum1, accum2) -> {return accum1.addAll(accum2);};\n }",
"public interface ReduceFunction {\n String reduce(String hash);\n}",
"public static Expression reduceAndCheck(Expression expression) { throw Extensions.todo(); }",
"public interface BinaryOperators<T> {\n\n\t/** BinaryOperator<T> extends BiFunction<T,T,T> */\n\tT apply(T t1, T t2);\n\n\t/** DoubleBinaryOperator */\n\tdouble applyAsDouble(double left, double right);\n\n\t/** IntBinaryOperator */\n\tint applyAsInt(int left, int right);\n\n\t/** LongBinaryOperator */\n\tlong applyAsLong(long left, long right);\n\n}",
"@Override\n\t\tpublic void reduce() {\n\t\t\t\n\t\t}",
"static BinaryOperator<SibillaValue> getOperator(String op) {\n if (op.equals(\"+\")) {return SibillaValue::sum;}\n if (op.equals(\"-\")) {return SibillaValue::sub; }\n if (op.equals(\"%\")) {return SibillaValue::mod; }\n if (op.equals(\"*\")) {return SibillaValue::mul; }\n if (op.equals(\"/\")) {return SibillaValue::div; }\n if (op.equals(\"//\")) {return SibillaValue::zeroDiv; }\n return (x,y) -> SibillaValue.ERROR_VALUE;\n }",
"public void reduce( T mrt ) { }",
"public void reduce( T mrt ) { }",
"@InterfaceAudience.Public\n Reducer compileReduce(String source, String language);",
"ReduceType reduceInit();",
"public int operation(int number1,int number2,String operator)",
"@Test\n\tpublic void testReducer() {\n\n\t\tList<Text> values = new ArrayList<Text>();\n\t\tvalues.add(new Text(\"1745.09564282 5218.86073424\"));\n\n\t\t/*\n\t\t * For this test, the reducer's input will be \"cat 1 1\".\n\t\t */\n\t\treduceDriver.withInput(new Text(\"Sweden\"), values);\n\n\t\t/*\n\t\t * The expected output is \"cat 2\"\n\t\t */\n\t\treduceDriver.withOutput(new Text(\"(Sweden)\"), new Text(\"| in 2011$ values PPP, 1995 health cost: 1745.1| 2014 health cost: 5218.86| cost increase (%): 199.06%\\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\"));\n\n\t\t/*\n\t\t * Run the test.\n\t\t */\n\t\treduceDriver.runTest();\n\t}",
"public static Expression reduceExtensions(Expression expression) { throw Extensions.todo(); }",
"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 }",
"default <V> Parser<S, T, V> reduce(Supplier<V> start,BiFunction<V, U, V> f) {\n return s-> {\n return reduceBase(s, start.get(),f);\n };\n }",
"@Override\n public Integer reduce(Integer value, Integer sum) {\n return value + sum;\n }",
"public static void main(String[] args) {\n NumberFact a, b;\n a = new NumberFact(1_000);\n b = new NumberFact(999);\n\n ArithmeticOperator x, y;\n x = new ArithmeticOperator('*', a, b);\n y = new ArithmeticOperator('+', x, b);\n\n System.out.println(y);\n System.out.println(y.eval());\n }",
"public static void main(String[] args) {\n\n int X = 20;\n X +=10;\n System.out.println(X);\n X +=60;\n System.out.println(X);\n\n String schoolname = \"CyberTek\";\n schoolname += 12345;\n System.out.println(schoolname);\n\n char ch1 = 'a'; //result will not be numbers\n ch1 += 'b';\n System.out.println(ch1);\n\n\n int num = 'z';\n num +='x';\n System.out.println(num);\n\n System.out.println(\"=============================================\");\n////////////////////////////////////////////////////////////////////////////////\n //multi warm up for shorthand Operators\nint a = 2;\na *=3;\n System.out.println(a);\n\n int b = a *= 10;\n // b = a = a * 10 = 60\n System.out.println(a);\n System.out.println(b);\n\n\n int a1 = 100;\n int b1 = ( a1*= 2) + ++a1;\n // b1 = 200 + 201\n System.out.println(b1);\n\n\n int x1 = 10;\n int y1 = x1 += 10*2;\n System.out.println(y1);\n\n\n int q = 20;\n int p = q *= 20*3;\n System.out.println(p);\n System.out.println(\"==========================================================\");\n//////////////////////////////////////////////////////////////////////////////\n\n// warmup: subtraction - shorthand operators:\n\n int num1 = 300;\n num1 /=2;\n System.out.println(num1);\n\n int num2 = 400;\n num2 /= 20 +10;\n System.out.println(num2);\n ///////////////////////////////////////////////////////////////////////\n\n//remainder for shorthand operators\n\n int num3 = 300;\n num3 %= 10 + 20;\n System.out.println(num3);\n \n\n\n\n }",
"@Override\n\tpublic void VisitBinaryNode(BinaryOperatorNode Node) {\n\n\t}",
"public static void main(String[] args)\n {\n int i = 1 + 1;\n \n //Concat String\n String s = \"My\" + \" \" + \"String\";\n \n int r = 4;\n int ff = 4;\n System.out.println(\"String\" + r + ff);\n System.out.println(\"String\" + ( r + ff ));\n //If the left or the rigth operator is a String, + will be a String concatenation\n //If both operands are numeric, + will be an addition operator\n \n /*************************************/\n /** Operator = */\n /*************************************/\n //Assign a primitive value to a variable\n int ii = 4;\n \n //Assign a value to an object reference variable\n Object o = new Object();\n \n /*************************************/\n /** Compound assignment operators */\n /*************************************/\n //+=,-=,*=,/=\n// int x *= 2+5;//forbidden, compound assignment operators\n int x = 1;\n \n x *= 2+5;\n //equals to\n x = x * (2+5);\n\n /*************************************/\n /** Relational operators */\n /*************************************/\n //>,>=,<,<=,==,!=\n boolean b = false;\n if(b = false){System.out.println(\"false\");}\n //The result of any assignment is the value of the variable after assignment !\n \n /** == with enum values **/\n //It's the same than equals()\n \n /*************************************/\n /** Arithmetic operators */\n /*************************************/ \n //+,-,/,*,%\n \n /*************************************/\n /** Inc and Decrement operators */\n /*************************************/\n int azerty = 4;\n //pre incr and decrementation\n System.out.println(++azerty);//incr first, print after\n System.out.println(--azerty);//desc first, print after\n \n //post incr and decrementation\n azerty = 4;\n System.out.println(azerty++);//print first, inc after\n System.out.println(azerty--);//print first, desc after\n \n /*************************************/\n /** Logical operator */\n /*************************************/\n //|| OR\n if(theTruth() || theTruth()){\n //Do something\n }\n //if the first operator is true, the second will not be evaluated\n \n //| OR\n if(theTruth() | theTruth()){\n //Do something\n }\n //The two operators are evalued\n \n //XOR ^\n System.out.println(true ^ true);//false\n System.out.println(true ^ false);//true\n System.out.println(false ^ true);//true\n System.out.println(false ^ false);//false\n //The two operators are evalued\n \n //logical operator !\n if(false && false || true){\n System.out.println(\"?\");\n }\n if( (false && false) || true){\n System.out.println(\"??\");\n }\n if(false && false | true){\n System.out.println(\"???\");\n }\n if( (false && false) | true){\n System.out.println(\"????\");\n }\n //| operator is evaluated first!!!\n }",
"public Object visitShiftExpression(GNode n) {\n Object a, b, result;\n String op;\n \n nonboolean = true;\n \n dostring = true;\n \n a = dispatch(n.getGeneric(0));\n b = dispatch(n.getGeneric(2));\n op = n.getString(1);\n \n dostring = false;\n \n if (a instanceof Long && b instanceof Long) {\n if (op.equals(\"<<\")) {\n result = (Long) a << (Long) b;\n }\n else if (op.equals(\">>\")) {\n result = (Long) a >> (Long) b;\n }\n else {\n result = \"\";\n }\n }\n else {\n result = parens(a) + \" \" + op + \" \" + parens(b);\n }\n \n return result;\n }",
"public static void main(String []args){\n int x =10;\n System.out.println(x);\n System.out.println(x++);\n System.out.println(++x);\n System.out.println(x--);\n System.out.println(--x);\n //Example of a ternary operator\n int a= 20;\n int b=10;\n int min=(a<b)?a:b;\n System.out.println(\"This is the min value:\"+min);\n int max=(a>b)?a:b;\n System.out.println(\"This is the max value:\"+max);\n //Demonstrating Shift operator\n int c= 20 << 2;\n int d=20 >> 2;\n System.out.println(\"This is left shift:\"+c);\n System.out.println(\"This is right shift:\"+d);\n\n\n }",
"@Override\n public void reduce() {\n if(null != getState())\n switch(getState()) {\n case OPERATOR:\n if (getDispenser().tokenIsOperator() && numOpNumOnStack())\n priorityReduce();\n break;\n case RIGHT_PAREN:\n if (getDispenser().tokenIsRightParen()) {\n if (!getStack().contains('('))\n throw new RuntimeException(\"Error -- mismatched parentheses\");\n while ((char)getStack().get(getStack().size() - 2) != '(')\n reduceNumOpNum();\n double aNum = (double)getStack().pop();\n getStack().pop();\n getStack().push(aNum);\n }\n break;\n case END:\n if (getDispenser().tokenIsEOF()) {\n if(getStack().contains('('))\n throw new RuntimeException(\"Error -- mismatched parentheses\");\n while(numOpNumOnStack())\n reduceNumOpNum();\n if(getStack().size() != 1)\n throw new RuntimeException(\"Error -- mismatched parentheses\");\n }\n break;\n }\n }",
"public void typeInference() {\n\t\tMathOperation addition = (a, b) -> a + b;\n\t\t// Data Type of a, b can be referred from MathOperation functional interface\n\t\tSystem.out.println(\"10 + 5 = \" + addition.operation(10, 5));\n\t}",
"public interface Reducer<T, U> {\n U reduce(U collector, T item);\n}",
"public interface Reducer<KeyIn extends WritableComparable<KeyIn> , ValueIn extends WritableComparable<ValueIn> , KeyOut extends WritableComparable<KeyOut> , ValueOut extends WritableComparable<ValueOut>> {\n\t\n\tpublic void reduce(KeyIn keyIn , Iterator<ValueIn> values , ReduceOutputCollector<KeyOut, ValueOut> outputCollector );\n\t\n}",
"@Override\n\tpublic void VisitUnaryNode(UnaryOperatorNode Node) {\n\n\t}",
"private void jetBinopExprStr(){\n\t\tBinopExpr binopExpr = (BinopExpr) rExpr;\n\t\tValue op1 = binopExpr.getOp1();\n\t\tValue op2 = binopExpr.getOp2();\n\t\tZ3Type op1Z3Type = Z3MiscFunctions.v().z3Type(op1.getType());\n\t\tZ3Type op2Z3Type = Z3MiscFunctions.v().z3Type(op2.getType());\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tBinopExprType binopType = Z3MiscFunctions.v().getBinopExprType(binopExpr);\n\t\tswitch(binopType){\n\t\t//[start]ADD\n\t\tcase ADD:\n\t\t\t//add_expr = immediate \"+\" immediate;\n\t\t\t//immediate = constant | local;\n\t\t\t//only Int, Real, String can ADD\n\t\t\t//Exceptional Cases: \"084\" + 42; we exclude them\n\t\t\tassert((op1Z3Type == Z3Type.Z3String && op2Z3Type == Z3Type.Z3String) ||\n\t\t\t\t\t(op1Z3Type != Z3Type.Z3String && op2Z3Type != Z3Type.Z3String));\n\t\t\tif(op1Z3Type == Z3Type.Z3String ){\n\t\t\t\t//( Concat \"te\" y1 )\n\t\t\t\tsb.append(\"( Concat \");\n\t\t\t}else{\n\t\t\t\t//(+ 2 i2)\n\t\t\t\tsb.append(\"(+ \");\n\t\t\t}\n\t\t\tif(op1 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op1, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op1.toString());\n\t\t\t}\n\t\t\tsb.append(\" \");\n\t\t\tif(op2 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op2, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op2.toString());\n\t\t\t}\n\t\t\tsb.append(\" )\");\n\t\t\tthis.exprStr = sb.toString();\n\t\t\tbreak;\n\t\t//[end]ADD\n\t\tcase AND:\n\t\t\t//and_expr = immediate \"&\" immediate;\n\t\t\t//TODO\n\t\t\t//assert(false) : \"AND Expr\";\n\t\t\tbreak;\n\t\t//[start] DIV\n\t\tcase DIV:\n\t\t\t//div_expr = immediate \"/\" immediate;\n\t\t\t//(div a b) integer division\n\t\t\t//(/ a b) float division\n\t\t\tif(op1Z3Type == Z3Type.Z3Real || op2Z3Type == Z3Type.Z3Real){\n\t\t\t\tsb.append(\"(/ \");\n\t\t\t}else{\n\t\t\t\tsb.append(\"(div \");\n\t\t\t}\n\t\t\tif(op1 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op1, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op1.toString());\n\t\t\t}\n\t\t\tsb.append(\" \");\n\t\t\tif(op2 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op2, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op2.toString());\n\t\t\t}\n\t\t\tsb.append(\")\");\n\t\t\tthis.exprStr = sb.toString();\n\t\t\tbreak;\n\t\t//[end] DIV\n\t\t//[start] EQ\n\t\tcase EQ:\n\t\t\t//eq_expr = immediate \"==\" immediate;\n\t\t\t//b = r1 == r2\n\t\t\t//(assert (= b (= r1 r2)))\n\t\t\tsb.append(\"(= \");\n\t\t\tif(op1 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op1, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op1.toString());\n\t\t\t}\n\t\t\tsb.append(\" \");\n\t\t\tif(op2 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op2, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op2.toString());\n\t\t\t}\n\t\t\tsb.append(\")\");\n\t\t\tthis.exprStr = sb.toString();\n\t\t\tbreak;\n\t\t//[end] EQ\n\t\t//[start] GE\n\t\tcase GE:\n\t\t\t//ge_expr = immediate \">=\" immediate;\n\t\t\t//b = r1 >= r2\n\t\t\t//(assert (= b (>= r1 r2)))\n\t\t\tsb.append(\"(>= \");\n\t\t\tif(op1 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op1, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op1.toString());\n\t\t\t}\n\t\t\tsb.append(\" \");\n\t\t\tif(op2 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op2, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op2.toString());\n\t\t\t}\n\t\t\tsb.append(\")\");\n\t\t\tthis.exprStr = sb.toString();\n\t\t\tbreak;\n\t\t//[end] GE\n\t\t//[start] GT\n\t\tcase GT:\n\t\t\t//gt_expr = immediate \">\" immediate;\n\t\t\t//b = r1 > r2\n\t\t\t//(assert (= b (> r1 r2)))\n\t\t\tsb.append(\"(> \");\n\t\t\tif(op1 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op1, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op1.toString());\n\t\t\t}\n\t\t\tsb.append(\" \");\n\t\t\tif(op2 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op2, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op2.toString());\n\t\t\t}\n\t\t\tsb.append(\")\");\n\t\t\tthis.exprStr = sb.toString();\n\t\t\tbreak;\n\t\t//[end] GT\n\t\t//[start] LE\n\t\tcase LE:\n\t\t\t//le_expr = immediate \"<=\" immediate;\n\t\t\t//b = r1 <= r2\n\t\t\t//(assert (= b (<= r1 r2)))\n\t\t\tsb.append(\"(<= \");\n\t\t\tif(op1 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op1, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op1.toString());\n\t\t\t}\n\t\t\tsb.append(\" \");\n\t\t\tif(op2 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op2, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op2.toString());\n\t\t\t}\n\t\t\tsb.append(\")\");\n\t\t\tthis.exprStr = sb.toString();\n\t\t\tbreak;\n\t\t//[end] LE\n\t\t//[start] LT\n\t\tcase LT:\n\t\t\t//lt_expr = immediate \"<\" immediate;\n\t\t\t//b = r1 < r2\n\t\t\t//(assert (= b (< r1 r2)))\n\t\t\tsb.append(\"(< \");\n\t\t\tif(op1 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op1, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op1.toString());\n\t\t\t}\n\t\t\tsb.append(\" \");\n\t\t\tif(op2 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op2, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op2.toString());\n\t\t\t}\n\t\t\tsb.append(\")\");\n\t\t\tthis.exprStr = sb.toString();\n\t\t\tbreak;\n\t\t//[end] LT\n\t\t//[start] MUL\n\t\tcase MUL:\n\t\t\t//mul_expr = immediate \"*\" immediate;\n\t\t\t//(* op1 op2)\n\t\t\tsb.append(\"(* \");\n\t\t\tif(op1 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op1, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op1.toString());\n\t\t\t}\n\t\t\tsb.append(\" \");\n\t\t\tif(op2 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op2, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op2.toString());\n\t\t\t}\n\t\t\tsb.append(\")\");\n\t\t\tthis.exprStr = sb.toString();\n\t\t\tbreak;\n\t\t//[end] MUL\n\t\t//[start] NE\n\t\tcase NE:\n\t\t\t//ne_expr = immediate \"!=\" immediate;\n\t\t\t//(not (= op1 op2))\n\t\t\tsb.append(\"(not (= \");\n\t\t\tif(op1 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op1, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op1.toString());\n\t\t\t}\n\t\t\tsb.append(\" \");\n\t\t\tif(op2 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op2, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op2.toString());\n\t\t\t}\n\t\t\tsb.append(\"))\");\n\t\t\tthis.exprStr = sb.toString();\n\t\t\tbreak;\n\t\t//[end] NE\n\t\tcase OR:\n\t\t\t//or_expr = immediate \"|\" immediate;\n\t\t\t//TODO\n\t\t\tassert(false) : \"OR Expr\";\n\t\t\tbreak;\n\t\t//[start] REM\n\t\tcase REM:\n\t\t\t//rem_expr = immediate \"%\" immediate;\n\t\t\t//(rem op1 op2)\n\t\t\tsb.append(\"(rem \");\n\t\t\tif(op1 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op1, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op1.toString());\n\t\t\t}\n\t\t\tsb.append(\" \");\n\t\t\tif(op2 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op2, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op2.toString());\n\t\t\t}\n\t\t\tsb.append(\")\");\n\t\t\tthis.exprStr = sb.toString();\n\t\t\tbreak;\n\t\t//[end] REM\n\t\t//[start] SUB\n\t\tcase SUB:\n\t\t\t//sub_expr = immediate \"-\" immediate;\n\t\t\t//(- op1 op2)\n\t\t\tsb.append(\"(- \");\n\t\t\tif(op1 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op1, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op1.toString());\n\t\t\t}\n\t\t\tsb.append(\" \");\n\t\t\tif(op2 instanceof Local){\n\t\t\t\tsb.append(fileGenerator.getRenameOf(op2, false, this.stmtIdx));\n\t\t\t}else{\n\t\t\t\tsb.append(op2.toString());\n\t\t\t}\n\t\t\tsb.append(\")\");\n\t\t\tthis.exprStr = sb.toString();\n\t\t\tbreak;\n\t\t//[end] SUB\n\t\t}\n\t}",
"@Override\n\tpublic boolean isReduce() {\n\t\treturn true;\n\t}",
"public static void main(String[] args) {\n System.out.println(getInt());\n// Function<Integer, Integer> increment = num -> ++num;\n// System.out.println(increment.apply(2));\n// Function<Integer, Integer> incrementTwoTimes = increment.andThen(increment);\n// System.out.println(incrementTwoTimes.apply(2));\n//\n// BiFunction <Integer, Integer, Integer> biIncrement = (number1, number) -> number1 + number ;\n// System.out.println(biIncrement.apply(increment.apply(2), increment.apply(2)));\n }",
"private void operator() {\n reduce();\n shift();\n getDispenser().advance();\n if(getDispenser().tokenIsNumber()) setState(State.NUMBER);\n else if (getDispenser().tokenIsLeftParen()) setState(State.LEFT_PAREN);\n else syntaxError(NUM);\n \n }",
"protected abstract boolean reduce();",
"Operator operator();",
"Concat createConcat();",
"public int score(String ops[]) {\n int result = 0;\n\n Deque<Integer> stack = new ArrayDeque<>();\n\n for (String op : ops) {\n if (\"+\".equals(op)) {\n int prev1 = stack.pop();\n int prev2 = stack.peek();\n\n stack.push(prev1);\n stack.push(prev1 + prev2);\n } else if (\"D\".equals(op)) {\n int prev1 = stack.peek();\n stack.push(prev1 * prev1);\n } else if (\"C\".equals(op)) {\n stack.pop();\n } else {\n stack.push(Integer.parseInt(op));\n }\n }\n\n System.out.println(stack);\n\n while (!stack.isEmpty()) {\n result += stack.pop();\n }\n\n return result;\n }",
"@Override\n public String run(String left, String right) {\n \n buildSum(left,right);\n\n return sum + \"\";\n }",
"Double reduce(Double identity, Function accumulator);",
"public static void main(String[] args) {\n\t\tFunction<Integer, Integer> f = (x) -> x+20;\r\n\t\tSystem.out.println(f.apply(20));\r\n\t\tFunction<Integer, Double> f1 = (x) -> x+20.0;\r\n\t\tSystem.out.println(f1.apply(20));\r\n\t\tFunction<String, Integer> f2 = (str) -> str.length();\r\n\t\tSystem.out.println(f2.apply(\"Aditya Mukherjee\"));\r\n\t\r\n\t\r\n//\t Function Chaining\r\n\t\tFunction<Integer, Integer> f3 = (x) -> 2*x;\r\n\t\tFunction<Integer, Integer> f4 = (x) -> x*x*x;\r\n//\t\tAND THEN FUNCTION\r\n\t\tSystem.out.println(\"And Then Output \"+f3.andThen(f4).apply(2));\r\n//\t\tCOMPOSE FUNCTION\r\n\t\tSystem.out.println(\"Compose Output \"+f3.compose(f4).apply(2));\r\n//\tBIFUNCTION\r\n\t\tBiFunction<Integer, Integer, Integer> bf = (x,y) -> x+y;\r\n\t\tSystem.out.println(bf.apply(20, 30));\r\n\t\r\n\t}",
"java.lang.String getOperator();",
"protected Pair<JilExpr,List<JilStmt>> doStringConcat(Expr.BinOp bop){\n \t\tString builderLab = \"$builder\" + stringbuilder_label++;\r\n \t\tPair<JilExpr,List<JilStmt>> lhs = doExpression(bop.lhs());\r\n \t\tPair<JilExpr,List<JilStmt>> rhs = doExpression(bop.rhs());\r\n \t\t\r\n \t\tList<JilStmt> stmts = lhs.second();\r\n \t\tstmts.addAll(lhs.second());\r\n \t\tstmts.addAll(rhs.second());\r\n \t\t\r\n \t\tType.Clazz builder = new Type.Clazz(\"java.lang\",\r\n \t\t\t\t\"StringBuilder\");\r\n \t\t\t\t\t\t\r\n \t\tstmts.add(new JilStmt.Assign(new JilExpr.Variable(builderLab, builder),\r\n \t\t\t\tnew JilExpr.New(builder, new ArrayList<JilExpr>(),\r\n \t\t\t\t\t\tnew Type.Function(T_VOID), bop.attributes())));\t\t\t\t\t\r\n \t\t\r\n \t\tType lhs_t = lhs.first().type(); \r\n \t\tif(lhs_t instanceof Type.Primitive || isString(lhs_t)) {\r\n \t\t\tArrayList<JilExpr> params = new ArrayList<JilExpr>();\r\n \t\t\tparams.add(lhs.first());\r\n \t\t\tstmts.add(new JilExpr.Invoke(new JilExpr.Variable(builderLab, builder), \"append\",\r\n \t\t\t\t\tparams, new Type.Function(new Type.Clazz(\"java.lang\",\r\n \t\t\t\t\t\"StringBuilder\"), lhs.first().type()), new Type.Clazz(\r\n \t\t\t\t\t\t\t\"java.lang\", \"StringBuilder\")));\r\n \t\t} else {\r\n \t\t\tArrayList<JilExpr> params = new ArrayList<JilExpr>();\r\n \t\t\tparams.add(lhs.first());\r\n \t\t\tstmts.add(new JilExpr.Invoke(new JilExpr.Variable(builderLab, builder),\r\n \t\t\t\t\t\"append\", params, new Type.Function(new Type.Clazz(\r\n \t\t\t\t\t\t\t\"java.lang\", \"StringBuilder\"),\r\n \t\t\t\t\tJAVA_LANG_OBJECT), new Type.Clazz(\"java.lang\",\r\n \t\t\t\t\t\"StringBuilder\")));\t\r\n \t\t}\r\n \r\n \t\t// Now, do the right hand side\r\n \t\tJilExpr r;\r\n \t\tType rhs_t = rhs.first().type(); \r\n \t\tif(rhs_t instanceof Type.Primitive || isString(rhs_t)) {\r\n \t\t\tArrayList<JilExpr> params = new ArrayList<JilExpr>();\r\n \t\t\tparams.add(rhs.first());\r\n \t\t\tr = new JilExpr.Invoke(new JilExpr.Variable(builderLab, builder), \"append\",\r\n \t\t\t\t\tparams, new Type.Function(new Type.Clazz(\"java.lang\",\r\n \t\t\t\t\t\"StringBuilder\"), rhs_t), new Type.Clazz(\r\n \t\t\t\t\t\t\t\"java.lang\", \"StringBuilder\"));\r\n \t\t} else {\r\n \t\t\tArrayList<JilExpr> params = new ArrayList<JilExpr>();\r\n \t\t\tparams.add(rhs.first());\r\n \t\t\tr = new JilExpr.Invoke(new JilExpr.Variable(builderLab, builder),\r\n \t\t\t\t\t\"append\", params, new Type.Function(new Type.Clazz(\r\n \t\t\t\t\t\t\t\"java.lang\", \"StringBuilder\"), JAVA_LANG_OBJECT),\r\n \t\t\t\t\tnew Type.Clazz(\"java.lang\", \"StringBuilder\"));\r\n \t\t}\r\n \r\n \t\tr = new JilExpr.Invoke(r, \"toString\", new ArrayList<JilExpr>(),\r\n \t\t\t\tnew Type.Function(JAVA_LANG_STRING), JAVA_LANG_STRING);\r\n \t\t\r\n \t\treturn new Pair<JilExpr,List<JilStmt>>(r,stmts);\r\n \t}",
"public static final void main(String... strings) {\n\t\tMathematics sum = (x, y) -> x + y;\n\t\t// Uso de interface funcional para resta\n\t\tMathematics subtraction = (x, y) -> x - y;\n\t\t// Uso de interface funcional para multiplicacion\n\t\tMathematics mult = (x, y) -> x * y;\n\t\t// Uso de interface funcional para division\n\t\tMathematics div = (x, y) -> x / y;\n\n\t\tSystem.out.println(\"El resultado de la suma es: \" + sum.operation(15, 10));\n\t\tSystem.out.println(\"El resultado de la suma es: \" + subtraction.operation(15, 10));\n\t\tSystem.out.println(\"El resultado de la suma es: \" + mult.operation(15, 10));\n\t\tSystem.out.println(\"El resultado de la suma es: \" + div.operation(15, 10));\n\n\t}",
"public static void main(String[] args) {\n ArrayList<Double> myList = new ArrayList<>();\n\n myList.add(7.0);\n myList.add(18.0);\n myList.add(10.0);\n myList.add(24.0);\n myList.add(17.0);\n myList.add(5.0);\n\n double productOfSqrRoots = myList.parallelStream().reduce(\n 1.0,\n (a, b) -> a * Math.sqrt(b),\n (a, b) -> a * b\n );\n\n System.out.println(\"Product of square roots: \" + productOfSqrRoots);\n\n\n // This won't work. !! VERY HARD TO UNDERSTAND !!\n // In this version of reduce(), ACCUMULATOR and COMBINER function are one and the same.\n // This results in an error because when TWO PARTIAL RESULTS ARE COMBINED, THEIR SQUARE\n // ROOTS ARE MULTIPLIED TOGETHER RATHER THAN THE PARTIAL RESULTS, themselves.\n double productOfSqrRoots2 = myList.parallelStream().reduce(\n 1.0,\n (a, b) -> a * Math.sqrt(b)\n );\n\n System.out.println(productOfSqrRoots2);\n }",
"public interface Operator {\n /**\n * String literal to enter operator\n * @return\n */\n String getKey();\n\n void execute(EvaluatedParameters evaluatedParameters) throws ProcessorException;\n}",
"public static void calculateSumViaStreams(List<Integer> numbers){\n int sum = numbers.stream()\n .filter(x -> x % 2 == 0)\n .map(y -> y * y)\n .reduce(0, (x, y) -> x + y);\n\n System.out.println(sum);\n }",
"public String operate() {\r\n\r\n\t\t// Logger log = Logger.getLogger(IterationFactory.class);\r\n\t\tDecimalFormat form = new DecimalFormat(\"0.0000\");\r\n\t\tStringBuffer sb = new StringBuffer();\r\n\t\tOperationFactory operateF;\r\n\t\tList<Integer> valueList;\r\n\r\n\t\tIterator<String> inputItr = this.getInputList().iterator();\r\n\r\n\t\tIterator<Character> opItr = this.getOperator().iterator();\r\n\r\n\t\ttry {\r\n\t\t\t/* Domain check */\r\n\t\t\tif (this.getInputList().size() <= 1 && this.getInputList().size() >= 10) {\r\n\t\t\t\tthrow new ValuePairOutOfLimit(this.getInputList().size());\r\n\t\t\t}\r\n\r\n\t\t\twhile (inputItr.hasNext()) {\r\n\r\n\t\t\t\t/* To get individual operands from operand sets */\r\n\t\t\t\tvalueList = u.toValueList(inputItr.next());\r\n\t\t\t\tIterator<Integer> valItr = valueList.iterator();\r\n\r\n\t\t\t\t/* Check for validity of operands and string format */\r\n\t\t\t\tif (valueList.size() < Constant.TWO)\r\n\t\t\t\t\tthrow new OperandException();\r\n\t\t\t\tif (valueList.size() > Constant.TWO)\r\n\t\t\t\t\tthrow new StringFormatException();\r\n\r\n\t\t\t\t/*\r\n\t\t\t\t * If there is empty operator string default operator sets to\r\n\t\t\t\t * plus\r\n\t\t\t\t */\r\n\t\t\t\tif (operator.size() == 0)\r\n\t\t\t\t\toperateF = new OperationFactory(valItr.next(), valItr.next(), Constant.PLUS);\r\n\t\t\t\telse\r\n\t\t\t\t\toperateF = new OperationFactory(valItr.next(), valItr.next(), opItr.next());\r\n\r\n\t\t\t\t/* Output */\r\n\t\t\t\tsb.append(operateF.getmOp().getmOperand1() + operateF.getmOp().getmWord()\r\n\t\t\t\t\t\t+ operateF.getmOp().getmOperand2() + \" = \" + form.format(operateF.operate()) + \"\\n\");\r\n\r\n\t\t\t\t/*To reset operator iterator.*/\r\n\t\t\t\tif (!opItr.hasNext())\r\n\t\t\t\t\topItr = this.getOperator().iterator();\r\n\t\t\t}\r\n\t\t} catch (IntegerOutOfLimit e) {\r\n\t\t\tsb.append(e);\r\n\t\t} catch (InvalidOperator e) {\r\n\t\t\tsb.append(e);\r\n\t\t} catch (OperandException e) {\r\n\t\t\tsb.append(e);\r\n\t\t} catch (StringFormatException e) {\r\n\t\t\tsb.append(e);\r\n\t\t} catch (ValuePairOutOfLimit e) {\r\n\t\t\tsb.append(e);\r\n\t\t}\r\n\t\treturn sb.toString();\r\n\t}",
"public static void main(String[] args) {\n\n\t\tUnaryOperator<Integer> func=x->x*7;\t\t\n\t\tint num=func.apply(10);\n\t\tSystem.out.println(num);\n\t\t\n\t\tFunction<Integer, Integer> func1=x->x*10;\n\t\tSystem.out.println(func1.apply(10));\n\t\t\n\t\tList<String> langList=new ArrayList<String>();\n\t\tlangList.add(\"Java\");\n\t\tlangList.add(\"Ruby\");\n\t\tlangList.add(\"Python\");\n\t\t\n\t\tSystem.out.println(langList);\n\t\t\n\t\tlangList.replaceAll(ele -> ele +\" Deeps\");\n\t\tSystem.out.println(langList);\n\t}",
"public RegexNode Reduce()\n\t{\n\t\tRegexNode n;\n\n\t\tswitch (Type())\n\t\t{\n\t\t\tcase Alternate:\n\t\t\t\tn = ReduceAlternation();\n\t\t\t\tbreak;\n\n\t\t\tcase Concatenate:\n\t\t\t\tn = ReduceConcatenation();\n\t\t\t\tbreak;\n\n\t\t\tcase Loop:\n\t\t\tcase Lazyloop:\n\t\t\t\tn = ReduceRep();\n\t\t\t\tbreak;\n\n\t\t\tcase Group:\n\t\t\t\tn = ReduceGroup();\n\t\t\t\tbreak;\n\n\t\t\tcase Set:\n\t\t\tcase Setloop:\n\t\t\t\tn = ReduceSet();\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tn = this;\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn n;\n\t}",
"static <T> Function<T,SibillaValue> apply(UnaryOperator<SibillaValue> op, Function<T,SibillaValue> f1) {\n return arg -> op.apply(f1.apply(arg));\n }",
"public static void main(String[] args) {\n MathOp add=new MathOp() {\n \t \n public int operation(int x, int y)\n {\n \t return x+y;\n }\n\t };\n\t System.out.println(add.operation(1, 2));\n \n\t MathOp sub=new MathOp() {\n \t \n\t public int operation(int x, int y)\n\t {\n\t \t return x-y;\n\t }\n\t\t };\n\t\t System.out.println(sub.operation(1, 2));\n\t \n\t\t MathOp mul=new MathOp() {\n\t \t \n\t\t public int operation(int x, int y)\n\t\t {\n\t\t \t return x*y;\n\t\t }\n\t\t\t };\n\t\t\t System.out.println(mul.operation(1, 2));\n\t\t \n\t\t\t MathOp div=new MathOp() {\n\t\t \t \n\t\t\t public int operation(int x, int y)\n\t\t\t { \n\t\t\t \t return x/y;\n\t\t\t }\n\t\t\t\t };\n\t\t\t\t System.out.println(div.operation(1, 2));\n\t\t\t \n}",
"static <T> Function<T,SibillaValue> apply(BinaryOperator<SibillaValue> op, Function<T,SibillaValue> f1, Function<T, SibillaValue> f2) {\n return arg -> op.apply(f1.apply(arg), f2.apply(arg));\n }",
"public static void main(String[] args) {\n\t\tFunctionInterface<?,Integer> imp = (a,b) -> a+b;\n\t\tSystem.out.println(imp.add(3, 5));\n\t\t//使用系统提供的functional interface\n\t\t//BiFunction<Integer,String,Long> sub = (a,b) -> System.out.println(b + a);\n\t}",
"public void reduce(Text prefix, Iterator<IntWritable> iter,\n OutputCollector<Text, IntWritable> output, Reporter reporter) throws IOException {\nint a000_ = 0;\nint a001_ = 0;\nint a002_ = 0;\nint a003_ = 0;\nint a004_ = 0;\nint a005_ = 0;\nint a006_ = 0;\nint a007_ = 0;\nint a008_ = 0;\nint a009_ = 0;\nint a010_ = 0;\nint a011_ = 0;\nint a012_ = 0;\nint a013_ = 0;\nint a014_ = 0;\nint a015_ = 0;\nint a016_ = 0;\nint a017_ = 0;\nint a018_ = 0;\nint a019_ = 0;\nint cur_ = 0;\n\nwhile (iter.hasNext()) {\ncur_ = iter.next().get();\na011_ = a015_ - a008_;\na003_ = a000_ + a003_;\na005_ = a005_ + a006_;\na015_ = a012_ + a011_;\na008_ = a014_ + a001_;\na007_ = a005_ + a015_;\na002_ = a000_ - a009_;\na012_ = a005_ + a012_;\na010_ = a018_ + a003_;\na014_ = a014_ + a004_;\ncur_ = a002_ + a004_;\na017_ = a007_ + a009_;\na005_ = cur_ - a014_;\na000_ = a012_ - a006_;\na006_ = a013_ - a011_;\na000_ = 0 - a008_;\na006_ = a007_ + a003_;\na015_ = a014_ - a019_;\na004_ = a012_ + cur_;\na005_ = a018_ - a017_;\na007_ = a006_ + a000_;\na005_ = cur_ - a009_;\na001_ = a009_ + a008_;\na015_ = cur_ + a010_;\na013_ = a018_ * -2;\ncur_ = a013_ - a012_;\na019_ = a002_ - a001_;\na017_ = a014_ + a004_;\na005_ = a017_ - a006_;\na016_ = a019_ - a019_;\na009_ = a000_ + cur_;\na013_ = a003_ * -1;\nif (a010_ >= a004_) {\na015_ = a018_ + a015_;\na010_ = a009_ - a010_;\na012_ = a011_ - a005_;\na014_ = a002_ - a012_;\nif (a000_ != a013_) {\na004_ = a015_ + cur_;\na013_ = a019_ + a016_;\na013_ = a012_ + a009_;\na016_ = a014_ - -5;\na001_ = a002_ - a004_;\n} else {\na007_ = a013_ - a003_;\na016_ = a007_ - a018_;\na016_ = a013_ + a011_;\na013_ = a013_ - a012_;\na013_ = -1 + a006_;\ncur_ = a002_ - a017_;\na007_ = a002_ + a018_;\ncur_ = a002_ + a015_;\na003_ = a015_ + a007_;\na017_ = a005_ + a009_;\na013_ = a006_ - -2;\na008_ = a005_ - a003_;\na002_ = a017_ - a014_;\na006_ = a006_ + a010_;\na008_ = a018_ + a010_;\na000_ = a015_ + -4;\na014_ = a004_ - a010_;\na012_ = a009_ - a016_;\na008_ = a002_ - a019_;\na015_ = a007_ + a005_;\na004_ = cur_ + a018_;\na011_ = a007_ + a012_;\na007_ = 4 - a011_;\na001_ = a012_ + cur_;\na011_ = a010_ - a013_;\na003_ = a006_ - a011_;\na006_ = a012_ - a008_;\na015_ = a010_ - a013_;\na019_ = a012_ + a011_;\nif (a017_ != a015_) {\ncur_ = a010_ - cur_;\na013_ = a009_ - a002_;\na008_ = a011_ - a008_;\na019_ = a005_ - a000_;\na010_ = a019_ + a010_;\na002_ = a004_ - 1;\na017_ = a015_ - cur_;\ncur_ = 1 - a005_;\na004_ = a000_ + a003_;\na001_ = a012_ + 2;\na004_ = a003_ - 2;\na003_ = a010_ - -4;\na019_ = a014_ - a002_;\na011_ = a002_ - a007_;\na000_ = a007_ + a015_;\na018_ = a009_ + cur_;\na006_ = a003_ - a017_;\nif (a008_ == a013_) {\na005_ = a017_ + a016_;\na005_ = a005_ + a013_;\na017_ = a015_ + a007_;\na016_ = a016_ + a018_;\na016_ = a014_ - a015_;\na003_ = a019_ - a018_;\ncur_ = a010_ + a005_;\na003_ = a001_ + a010_;\na016_ = -4 + a003_;\na002_ = a017_ + a008_;\na016_ = a003_ - a009_;\na003_ = a009_ + a015_;\na016_ = a004_ - a000_;\na005_ = a015_ + cur_;\na018_ = a010_ + a003_;\na016_ = a017_ - a004_;\n} else {\na018_ = a019_ + a009_;\na015_ = a004_ + a018_;\na019_ = a005_ - a003_;\na009_ = -5 + a008_;\na010_ = a000_ + a000_;\na009_ = a009_ - a011_;\na005_ = a006_ - cur_;\na019_ = a018_ + a009_;\na014_ = a005_ + cur_;\na004_ = a010_ + a008_;\na000_ = a015_ - a018_;\na015_ = a017_ - a017_;\na008_ = a001_ + a008_;\na002_ = a009_ - a012_;\na010_ = a006_ - a012_;\na014_ = a009_ + a001_;\na016_ = a000_ - a016_;\na004_ = a018_ - a019_;\na007_ = a003_ + a011_;\na019_ = a004_ - a017_;\na015_ = a018_ - a017_;\na003_ = a000_ + a002_;\na005_ = a007_ - a014_;\na001_ = cur_ + a017_;\n}\na012_ = a012_ + cur_;\n} else {\na010_ = a018_ + a000_;\na002_ = a000_ - a003_;\na005_ = a012_ + a012_;\na015_ = a004_ + a004_;\na008_ = a013_ - a019_;\na004_ = a002_ + a015_;\na011_ = a014_ + a012_;\na004_ = a019_ + a010_;\na002_ = a018_ + a010_;\ncur_ = a017_ + a019_;\na017_ = a013_ + a005_;\na013_ = a008_ - a012_;\na004_ = a012_ + a007_;\n}\na009_ = a015_ - a016_;\na000_ = a006_ + a008_;\na003_ = a008_ - a011_;\na001_ = a016_ - a006_;\na016_ = a014_ + a016_;\na000_ = a011_ + a003_;\na004_ = a010_ + a019_;\na013_ = a008_ + cur_;\na016_ = a016_ + a015_;\n}\na010_ = a003_ + a007_;\na006_ = a009_ - a000_;\na002_ = a017_ - a001_;\na013_ = a016_ + a019_;\na013_ = a009_ - a015_;\na005_ = a002_ - a018_;\na009_ = a002_ + a007_;\na008_ = a008_ + a002_;\na007_ = a005_ + a009_;\na017_ = a019_ + a013_;\na012_ = a003_ + a004_;\na008_ = a012_ + a012_;\na003_ = a007_ + a005_;\ncur_ = a014_ + a007_;\na009_ = a016_ + a010_;\na006_ = a005_ - a003_;\na014_ = a019_ + cur_;\na006_ = a007_ + a000_;\na013_ = a011_ - a011_;\na018_ = a009_ - 1;\na002_ = a004_ - a014_;\n} else {\na004_ = a006_ - a014_;\na016_ = a017_ + 2;\na014_ = a006_ - a002_;\na002_ = a016_ + cur_;\na014_ = -3 + a018_;\n}\ncur_ = a017_ + a015_;\na005_ = a003_ - a015_;\na014_ = a019_ + a009_;\ncur_ = cur_ + a005_;\na009_ = a007_ - a004_;\ncur_ = a014_ + a006_;\na013_ = a002_ - a012_;\na002_ = a008_ + a014_;\na000_ = a006_ + a004_;\na017_ = 1 - a009_;\na012_ = a017_ + a001_;\na011_ = a009_ - a010_;\na011_ = a018_ - a014_;\na016_ = a003_ - cur_;\na013_ = cur_ + a012_;\na015_ = a012_ + a010_;\na017_ = a007_ + a017_;\na000_ = -1 + a008_;\na010_ = a008_ + a003_;\na016_ = a009_ + a010_;\na002_ = a011_ + a008_;\na016_ = a015_ + a016_;\na002_ = a012_ + a008_;\na017_ = a013_ + a004_;\n}\noutput.collect(prefix, new IntWritable(a005_));\n}",
"public abstract T accumulate(T left, T right);",
"public void reduce(Text prefix, Iterator<IntWritable> iter,\n OutputCollector<Text, IntWritable> output, Reporter reporter) throws IOException {\nint a000 = 0;\nint a001 = 0;\nint a002 = 0;\nint a003 = 0;\nint a004 = 0;\nint a005 = 0;\nint a006 = 0;\nint a007 = 0;\nint a008 = 0;\nint a009 = 0;\nint a010 = 0;\nint a011 = 0;\nint a012 = 0;\nint a013 = 0;\nint a014 = 0;\nint a015 = 0;\nint a016 = 0;\nint a017 = 0;\nint a018 = 0;\nint a019 = 0;\nint a020 = 0;\nint a021 = 0;\nint a022 = 0;\nint a023 = 0;\nint a024 = 0;\nint cur = 0;\n\nwhile (iter.hasNext()) {\ncur = iter.next().get();\na003 += a021;\na011 += a023;\na017 -= -2;\na003 += a009;\na018 += a016;\na015 -= a004;\na020 -= a018;\na007 = a015 - a024;\na006 = a017 - a023;\na006 -= a024;\na019 += a014;\na008 = a015 - a023;\na015 += a024;\na004 += a004;\na021 -= a018;\na008 = a024 - a010;\na011 = a020 + a019;\na023 = a004 - a018;\ncur = a024 - a015;\na007 += a014;\na002 = a014 + a000;\na010 = a010 - a013;\na022 = a010 - a023;\na016 -= a014;\na004 -= a024;\na004 -= a005;\na014 = a005 + a012;\na001 = a018 + a018;\nif (a014 != a017) {\na019 = a023 + a007;\na000 -= cur;\na011 = a016 + a024;\na003 = a000 + a008;\na001 -= a012;\na011 = a016 + a022;\na009 += a011;\na012 -= a002;\na007 += a012;\n} else {\na003 -= a002;\na011 = a022 + a012;\na022 = a004 - a018;\na001 += a022;\na018 -= a005;\na001 = a004 - a017;\na021 = a011 + a021;\na005 -= a010;\na011 += a002;\na016 = a016 - a018;\na006 = a000 - a006;\na019 -= a002;\na009 -= a003;\na016 -= a019;\na013 = a000 + a005;\na008 += a002;\na013 = a002 + a007;\na010 += a018;\na005 -= a022;\na015 = a021 + a018;\na000 = a019 - a001;\nif (a005 == a018) {\nif (a011 >= a018) {\na018 += a005;\na012 -= a005;\na007 = a007 - a004;\n} else {\na015 = a017 + a022;\na022 += a015;\na019 += a010;\na014 -= cur;\na023 += a008;\na015 = a013 - a014;\nif (a011 != -2) {\na013 = a021 - a019;\na016 -= a010;\na000 = a021 + a024;\na009 = a009 + a015;\na005 = a018 + a002;\na004 = a021 * 4;\na008 = a018 + a007;\na021 = a011 + a013;\na015 = a002 + a023;\na022 = a007 - a012;\na005 -= a021;\na022 = a015 - a015;\na007 = a007 + a020;\na001 = a013 - a002;\na015 += a011;\na011 -= a002;\na010 = a015 * -2;\na020 -= a011;\na023 -= a013;\na013 = a004 - a023;\na023 = a023 - a017;\na016 = a008 + a014;\na015 -= cur;\na023 -= a022;\na005 -= a011;\na002 = a009 + a008;\na023 = a015 * 4;\na014 = 0 - a010;\na012 = a016 - a024;\na004 += a000;\na022 = a010 - a022;\na013 += a015;\na016 = a020 - a023;\nif (a012 < -4) {\na019 -= a019;\na015 -= a005;\na023 = a007 - a018;\na013 = a015 - a017;\na021 -= a013;\na005 = a004 - a020;\na004 = 0 - a022;\na021 -= a013;\na004 += a004;\na012 = a022 + a022;\n} else {\na018 = a013 + a014;\na004 += a017;\na007 = a021 + a009;\na009 -= a019;\na024 -= a000;\na001 = a001 - a021;\na001 = a011 + a001;\na005 = a003 + a006;\na012 -= a000;\na016 = a004 - a019;\na010 = a007 - a013;\na011 += cur;\na020 -= a021;\na024 = a015 - cur;\na000 = a012 - a015;\na011 -= a015;\na022 = a007 - a019;\na004 -= a013;\na016 = a015 - a016;\na022 = a023 + a006;\n}\na019 -= a000;\na000 = a012 - a019;\na005 = a014 + a004;\na022 -= a021;\na006 = a009 + a011;\na001 = a007 + a006;\na013 = a009 - a021;\na006 = a004 - a000;\na011 += a020;\na012 -= cur;\na010 -= a011;\na000 = a009 + cur;\na013 += a002;\na019 -= a013;\na021 -= a011;\na005 = 2 + a009;\na023 = a007 - a016;\na009 -= a024;\na024 -= a019;\n} else {\na010 -= cur;\na018 -= a001;\na007 -= a022;\na022 += a005;\na022 = a006 + a020;\na013 = cur - a001;\n}\na003 = a013 + a010;\na023 -= a010;\na011 = a002 - a015;\na017 = a010 + a008;\ncur = a020 - a018;\na011 += a009;\na018 = a012 + a017;\na000 += a023;\na012 = a001 - a007;\na009 += a005;\na018 += a006;\na020 = a016 - a016;\na007 = a007 + a002;\na005 = a021 - a018;\na023 = a006 - a002;\na006 = cur - a016;\na007 = a007 + a013;\ncur += a021;\na014 += -3;\na013 -= a007;\na016 += a012;\ncur += a005;\na007 += a018;\na013 = a006 - a022;\na008 -= a008;\na000 = a006 - a011;\ncur += a023;\na002 = a005 - a024;\na022 -= a019;\na016 = a007 - a002;\na002 = a012 + a020;\n}\na003 += a004;\na005 = a022 - a000;\na004 = a003 - a021;\na011 -= a009;\na000 -= a024;\na019 += a012;\na024 = a021 + a020;\na016 -= a005;\na024 += a006;\na006 = a005 - a008;\na003 = a021 + a000;\na012 -= a012;\na012 += a003;\na002 += a013;\na020 = 0 + a007;\na013 -= a006;\na022 = a020 - a010;\n} else {\na002 -= a002;\na017 = a000 + a018;\na012 += cur;\na014 -= a006;\na024 += a000;\na008 = a023 - a009;\na009 += a012;\na013 += a007;\na001 += a011;\na020 += 1;\na011 = a006 + a023;\na017 += a024;\na002 = a014 + a014;\na016 = a012 - a009;\n}\na018 -= a010;\na023 += a020;\na012 = a013 - a012;\na015 -= a021;\na004 = a001 - a016;\na001 += a004;\na023 -= a021;\na014 += a002;\na001 = a007 - a006;\na007 = a022 - -5;\na012 -= a006;\na022 += a010;\na007 = a001 + -2;\na016 = a015 + a005;\na021 += a004;\na006 -= a023;\na017 += a013;\na012 -= a010;\na018 -= 0;\na023 = -3 - a006;\na012 -= a014;\n}\na005 += a020;\na016 = a012 - a008;\na016 = a012 + a002;\na019 = a007 + a017;\na009 = a009 + a009;\na001 += 1;\na020 = a021 + a024;\na001 = a020 - a011;\na015 = a011 - a013;\na003 += a021;\na004 -= a009;\na014 -= a022;\n}\noutput.collect(prefix, new IntWritable(a015));\n}",
"@Override\r\n public Double reduce(Double identity, Function accumulator) {\r\n return head.reduce(identity, accumulator);\r\n }",
"public void reduce(Text prefix, Iterator<IntWritable> iter,\n OutputCollector<Text, IntWritable> output, Reporter reporter) throws IOException {\nint a000_ = 0;\nint a001_ = 0;\nint a002_ = 0;\nint a003_ = 0;\nint a004_ = 0;\nint a005_ = 0;\nint a006_ = 0;\nint a007_ = 0;\nint a008_ = 0;\nint a009_ = 0;\nint a010_ = 0;\nint a011_ = 0;\nint a012_ = 0;\nint a013_ = 0;\nint a014_ = 0;\nint a015_ = 0;\nint a016_ = 0;\nint a017_ = 0;\nint a018_ = 0;\nint a019_ = 0;\nint a020_ = 0;\nint a021_ = 0;\nint a022_ = 0;\nint a023_ = 0;\nint a024_ = 0;\nint cur_ = 0;\n\nwhile (iter.hasNext()) {\ncur_ = iter.next().get();\na012_ = a000_ - a017_;\na004_ = cur_ - 2;\na008_ = a018_ - a009_;\na020_ = a020_ - cur_;\na021_ = a001_ - a009_;\na010_ = a002_ + a004_;\na013_ = a005_ + a005_;\na009_ = a019_ + a012_;\na008_ = a008_ * -5;\na021_ = a022_ - a023_;\na002_ = a020_ - a022_;\na019_ = cur_ + a020_;\ncur_ = cur_ + a008_;\na020_ = a006_ + a021_;\na021_ = a008_ - a017_;\na017_ = a021_ - a009_;\ncur_ = a011_ - a005_;\nif (a004_ == a007_) {\na007_ = -2 - a015_;\na022_ = a005_ - a019_;\na013_ = a010_ - a022_;\na024_ = a009_ + a000_;\na018_ = a003_ - 3;\na019_ = a021_ - a002_;\na000_ = a017_ + cur_;\na010_ = a020_ - 1;\na000_ = a020_ - a024_;\na017_ = a004_ + a007_;\na009_ = a001_ - a010_;\na015_ = a018_ + a022_;\na023_ = a013_ + a016_;\na024_ = cur_ - a019_;\na015_ = a013_ - a017_;\na024_ = a003_ - a021_;\na018_ = a003_ - a023_;\n} else {\na011_ = a006_ + a023_;\na018_ = a003_ - a015_;\na022_ = a008_ - a007_;\na005_ = a001_ - cur_;\na007_ = a000_ + a012_;\na000_ = a007_ + a023_;\na009_ = cur_ + a010_;\na018_ = -1 + a001_;\na003_ = -2 + a005_;\na006_ = a009_ + a020_;\na001_ = a017_ + a022_;\na024_ = a009_ + a006_;\na005_ = a017_ - a023_;\na004_ = a017_ - a019_;\na015_ = a018_ - a018_;\na021_ = a019_ + a011_;\na024_ = a009_ - a014_;\na009_ = 0 + a023_;\na020_ = a011_ + a006_;\na012_ = a005_ - a011_;\na010_ = a001_ - a018_;\na012_ = a002_ - a003_;\ncur_ = a006_ - a013_;\n}\na000_ = a023_ + a012_;\na008_ = a016_ - a018_;\na024_ = a018_ + a010_;\na013_ = a018_ + a002_;\na009_ = a016_ + a015_;\na005_ = a002_ + a009_;\na004_ = a009_ + a011_;\na011_ = a011_ + a013_;\na022_ = a019_ + a008_;\na017_ = a016_ + a010_;\na014_ = a012_ - a023_;\na005_ = a019_ - a001_;\na005_ = a013_ * -4;\na009_ = a020_ + a008_;\na012_ = a020_ - a001_;\na013_ = a016_ - a000_;\na012_ = a003_ + a000_;\na022_ = a001_ + a002_;\na001_ = a010_ - a024_;\na003_ = a008_ + a015_;\na012_ = a012_ - a020_;\na001_ = a019_ + a015_;\na009_ = a002_ + a018_;\na021_ = a024_ - a006_;\nif (a024_ == a014_) {\na006_ = a002_ + a016_;\na003_ = a020_ - 2;\na008_ = a020_ - a018_;\na015_ = a012_ + a001_;\na008_ = cur_ - a014_;\na001_ = a002_ - a008_;\na004_ = a015_ + a011_;\na024_ = -4 + a020_;\na021_ = a013_ + a012_;\na005_ = a012_ + a001_;\na009_ = a012_ + a018_;\na023_ = a016_ - a003_;\na011_ = a019_ - a012_;\na005_ = a000_ - a008_;\na004_ = a024_ - a011_;\na022_ = a024_ - a009_;\na005_ = a007_ + a011_;\na001_ = a012_ + a000_;\na006_ = a020_ - cur_;\na015_ = a020_ - 1;\n} else {\na001_ = a006_ - a019_;\na019_ = 2 - a014_;\ncur_ = a021_ + a009_;\na023_ = a010_ + 3;\na005_ = a018_ + a019_;\na015_ = cur_ + a020_;\na001_ = a009_ - a021_;\na016_ = a009_ - a004_;\na005_ = a003_ + a023_;\na006_ = a008_ - a008_;\ncur_ = a013_ - -3;\na018_ = a007_ + a009_;\nif (a011_ <= a024_) {\na001_ = a001_ - a007_;\na018_ = a001_ - a010_;\na015_ = a016_ + a008_;\na009_ = a013_ - a015_;\na001_ = a018_ + a001_;\na001_ = a024_ - a002_;\na018_ = a006_ + a015_;\na001_ = a000_ - 0;\na022_ = a024_ - a009_;\na011_ = a008_ - a015_;\na009_ = a017_ + a000_;\na016_ = a005_ + a023_;\na001_ = a007_ - a023_;\na008_ = a023_ - a020_;\na023_ = a005_ - a016_;\na020_ = a024_ + a008_;\na005_ = a008_ - a003_;\na016_ = a006_ + a011_;\na006_ = a004_ + a014_;\na013_ = -2 - a001_;\na021_ = a008_ - a005_;\na000_ = a011_ - a016_;\na024_ = a008_ - a000_;\na007_ = a008_ + a013_;\n} else {\na021_ = a010_ + a018_;\na005_ = a013_ - a023_;\na012_ = a011_ - a024_;\na014_ = a002_ + a009_;\na022_ = a022_ + a015_;\na024_ = a008_ + a021_;\ncur_ = a014_ + a009_;\na018_ = a004_ + a015_;\na004_ = a018_ + a004_;\na020_ = a013_ + a005_;\na017_ = a012_ - a007_;\na011_ = a017_ - a005_;\na015_ = a012_ - a014_;\na020_ = 2 - a009_;\na019_ = a001_ + a023_;\na003_ = a008_ - a020_;\ncur_ = a005_ - a001_;\na016_ = a011_ + a022_;\na005_ = a010_ + cur_;\na018_ = a021_ - a016_;\na022_ = a005_ - a016_;\n}\nif (a011_ == a020_) {\na017_ = a007_ + a006_;\na017_ = a001_ - a002_;\na003_ = a005_ + a023_;\na012_ = a007_ + a021_;\na005_ = a020_ + a005_;\na023_ = a019_ + a003_;\na019_ = a016_ - a013_;\na013_ = a008_ + a002_;\na023_ = a004_ - a020_;\na014_ = a000_ + a013_;\na015_ = a008_ + a011_;\na010_ = a004_ - a014_;\na020_ = a022_ - a013_;\na020_ = a011_ + a015_;\na021_ = a021_ + a021_;\na024_ = a009_ - 2;\na012_ = a014_ - a018_;\na014_ = a009_ + a024_;\na021_ = a019_ - a007_;\nif (a006_ <= a022_) {\ncur_ = a004_ - a006_;\na022_ = a021_ - a003_;\na013_ = a023_ - a001_;\na011_ = a017_ - a009_;\na002_ = a000_ + a005_;\na019_ = a005_ + a023_;\na007_ = a024_ + a013_;\na014_ = a001_ - a003_;\na007_ = 3 + a003_;\na000_ = a002_ + a011_;\na000_ = a004_ + a012_;\na018_ = a013_ + a024_;\na024_ = a023_ - cur_;\na001_ = a007_ + a008_;\ncur_ = a008_ + a000_;\na012_ = a013_ + a000_;\na001_ = a008_ - a021_;\na013_ = a006_ + a018_;\na024_ = a004_ - a001_;\na014_ = a000_ - a006_;\na008_ = a010_ * 2;\na000_ = a019_ + a011_;\na000_ = a019_ + a000_;\n} else {\na014_ = a010_ - a009_;\na007_ = a009_ + a004_;\na019_ = a017_ + a006_;\na001_ = a019_ + a005_;\na015_ = a000_ - a006_;\na002_ = a011_ + a011_;\na013_ = a013_ + a015_;\na005_ = a014_ + a015_;\na017_ = a000_ + a000_;\na015_ = a019_ - a013_;\na007_ = a021_ + a005_;\na020_ = -4 + a007_;\na007_ = a022_ + a003_;\na009_ = a021_ - a001_;\na002_ = a009_ + a004_;\na016_ = a018_ + a022_;\na008_ = a007_ - a001_;\na007_ = a010_ + a010_;\na012_ = a020_ + a013_;\na006_ = a011_ + a011_;\na023_ = a021_ + a002_;\na023_ = a015_ + a011_;\na008_ = a005_ - a024_;\na019_ = a000_ - a015_;\na007_ = a022_ - a003_;\na023_ = a008_ - a007_;\na007_ = a008_ - a023_;\na024_ = a018_ + a005_;\na001_ = a013_ - a002_;\na017_ = a023_ - a011_;\na022_ = a003_ + a004_;\n}\na010_ = a017_ - a010_;\na012_ = a013_ - a019_;\na001_ = cur_ + a012_;\na017_ = a015_ + a002_;\na018_ = a023_ + a020_;\na020_ = a012_ + a022_;\ncur_ = a023_ - a005_;\na000_ = a019_ - a022_;\na002_ = a006_ + a015_;\na022_ = a015_ - a003_;\na016_ = a013_ + -1;\na010_ = a016_ - a002_;\na021_ = a009_ - a008_;\na021_ = a002_ + a003_;\na013_ = a004_ - a008_;\n} else {\na015_ = a019_ + a023_;\na001_ = a014_ - a000_;\n}\na015_ = a014_ + a023_;\n}\na002_ = a014_ + a010_;\n}\noutput.collect(prefix, new IntWritable(a023_));\n}",
"private String calculate (double num1, double num2, String operator){\r\n \r\n double value;\r\n switch(operator){\r\n case \"+\":\r\n value = num1 + num2;\r\n break;\r\n case \"-\":\r\n value = num1 - num2;\r\n break;\r\n case \"*\":\r\n value = num1 * num2;\r\n break;\r\n case \"/\":\r\n value = num1/num2;\r\n break;\r\n default:\r\n throw new IllegalArgumentException();\r\n \r\n }\r\n String result = value + \"\";\r\n return result;\r\n }",
"public void reduce(Text word, Iterable<Text> value,\n Context context) throws IOException, InterruptedException\n {String sum=\"\";\n for (Text count : value) {\n if(sum.equals(\"\")){\n sum=count.toString();\n }\n else\n sum =sum+\",\"+ count.toString();\n }//System.out.println(sum);\n context.write(word, new Text(sum));\n }",
"public void reduce(Text prefix, Iterator<IntWritable> iter,\n OutputCollector<Text, IntWritable> output, Reporter reporter) throws IOException {\nint a000 = 0;\nint a001 = 0;\nint a002 = 0;\nint a003 = 0;\nint a004 = 0;\nint a005 = 0;\nint a006 = 0;\nint a007 = 0;\nint a008 = 0;\nint a009 = 0;\nint a010 = 0;\nint a011 = 0;\nint a012 = 0;\nint a013 = 0;\nint a014 = 0;\nint a015 = 0;\nint a016 = 0;\nint a017 = 0;\nint a018 = 0;\nint a019 = 0;\nint a020 = 0;\nint a021 = 0;\nint a022 = 0;\nint a023 = 0;\nint a024 = 0;\nint cur = 0;\n\nwhile (iter.hasNext()) {\ncur = iter.next().get();\na014 = a022 - a006;\na013 = -2 - a022;\na018 += a003;\na011 -= a011;\na011 += a018;\na009 -= cur;\nif (a019 <= a021) {\na014 = a003 + a003;\na011 = a021 + 4;\na017 -= a002;\na005 = -5 - a019;\na004 = a003 - a016;\ncur += a017;\na013 += a010;\ncur -= a012;\na006 = a000 + a015;\na017 = a014 + a022;\na011 = a020 + a013;\na014 += a001;\na005 = a016 + a007;\ncur = 2 + a011;\na020 = a023 - a006;\na007 += a021;\na021 = a021 + a008;\na000 += a008;\na024 = a024 - a009;\na017 += 4;\na013 = a006 - a023;\na013 = a009 + a008;\na010 += a001;\na003 = a018 - a018;\na015 = a023 + a023;\na016 = a009 - a002;\na003 += -1;\na013 = a022 + a014;\na018 -= a020;\na001 = a003 + a009;\na024 += a015;\n} else {\nif (a017 > a011) {\na009 -= a001;\na024 -= a007;\na005 = a017 - a007;\na020 += a020;\nif (a003 != a001) {\na009 += a006;\na006 += a017;\na016 -= a004;\na024 = a008 + a002;\na014 -= a024;\na017 -= a010;\na012 -= a003;\na005 += a002;\na005 = a007 - a014;\na013 = a013 - a001;\na005 = a019 + a016;\na024 -= a014;\ncur = a005 - a010;\na004 = a003 - a001;\na000 = a021 - -1;\na019 = a006 - a008;\na006 = a018 + a009;\na015 -= a013;\na017 = a019 - a022;\na004 += a019;\na023 += a016;\na010 += a000;\na003 += a011;\na011 += a019;\na009 += a014;\na018 = a012 + a001;\ncur = -4 + 3;\na021 = a017 - a001;\na004 += a002;\na020 = -5 + a024;\na023 = a020 + a018;\na024 += a018;\n} else {\na017 = -5 - a012;\na013 = a023 - a018;\na020 = a020 - a017;\na003 += a013;\na004 = a019 - cur;\na016 += a010;\na021 += a018;\na008 = a010 - a012;\na010 -= a019;\na007 -= a013;\na015 -= a019;\na019 = a004 + a021;\na011 = a013 + a006;\na005 += a004;\na015 -= a016;\na017 = a002 - a024;\na002 -= a007;\na022 = a004 - cur;\na011 = a021 + a014;\na004 += a020;\na020 = a020 + a009;\na007 = a012 - a002;\na018 = a003 - a001;\na011 = a000 + a009;\na019 = a021 + a017;\na017 = a022 - a013;\na014 = a018 - a020;\na009 -= a023;\na007 -= a008;\na020 = 2 + a011;\na009 = cur + a010;\na015 -= a018;\na010 = a024 + a014;\n}\ncur -= a020;\n} else {\na008 = a003 - a017;\na024 -= a004;\nif (a014 >= a018) {\na005 = a000 + a021;\na003 = a006 + a002;\na009 = a021 + a023;\na003 += -5;\na022 += a024;\na010 = a014 + a016;\na024 = a008 + a010;\na008 = 2 - a003;\na014 -= a002;\na007 = a006 - a023;\na014 += a018;\na001 = a009 + a016;\na018 += a022;\na001 = a019 - a018;\na008 -= a011;\na019 -= a001;\na010 += a014;\ncur += a011;\na024 = a022 - a018;\na014 = a003 - a023;\na004 -= a002;\n} else {\na020 += a017;\na001 = a012 + a009;\na015 += a013;\na018 += a003;\na013 += a009;\na007 = a015 + a019;\na012 += a001;\na009 = a010 + -1;\na023 -= a017;\na020 = a017 + a004;\na005 = a011 - a001;\ncur -= a000;\na020 = a002 + a002;\na004 += a017;\na022 = a017 + a024;\na001 -= a016;\na012 = a021 + 0;\na002 -= a018;\na011 += a001;\na024 = a001 + a002;\na003 -= a015;\na016 = a022 - a014;\na008 = a002 - a001;\na006 += a009;\na018 -= a000;\na008 = a000 - a004;\na019 += a021;\na009 = a021 - a011;\na000 += a020;\na002 += a009;\nif (a024 == a022) {\ncur = a012 + a009;\na007 = a002 + a012;\na015 += a001;\na022 = a007 + a011;\na012 += a021;\na003 -= cur;\na018 -= a011;\na012 = a019 - a013;\na000 = a010 - a005;\na004 = a014 - a009;\na001 = a000 + a005;\na010 += a004;\na008 = a023 - 3;\na009 += a022;\na005 -= a018;\na004 += a003;\na018 = a001 + a001;\na010 = a003 + a014;\na011 -= a003;\na000 += 1;\na006 -= a018;\na008 = a011 - a009;\na008 = a013 - a009;\na011 = a016 + a009;\na008 -= a011;\na024 = a000 + a003;\na015 -= 4;\ncur = a008 - a024;\na024 = a012 - a008;\na005 = a023 + a020;\na024 -= a003;\n} else {\na017 = a012 + a013;\na017 = a019 - a000;\n}\na018 -= a005;\na006 = a021 + a019;\na005 += a007;\na018 += cur;\na005 += a008;\na008 += a017;\na019 = a002 - a006;\na005 = a000 + a011;\na003 = a021 - a005;\na019 = a014 + a006;\na018 -= a010;\na006 = 1 + a023;\na024 += a016;\na018 += a022;\na011 += a024;\na003 = a007 - a010;\na001 = a019 + a013;\na022 += a013;\na017 += a008;\na006 = a010 + a011;\na023 += a006;\na009 = a011 + a002;\na022 -= a015;\na024 = a012 - a019;\na001 -= a023;\na010 = a019 + cur;\na002 -= a009;\na012 -= a010;\na001 -= a006;\na021 = a000 - a000;\n}\na000 += a008;\na010 = a004 + a013;\na001 += cur;\na004 += a010;\na022 = a020 + a016;\na016 -= a008;\na010 = 4 - a018;\na007 = a021 - a011;\na010 -= a006;\na011 = a018 + a008;\na002 -= a000;\na004 -= a016;\na012 = a018 - a003;\na010 = a005 + a012;\na013 -= a005;\na011 = a010 - a001;\na007 -= a000;\na001 = a014 + a013;\na008 += a002;\na017 = a011 - a020;\na009 -= a013;\na022 -= a010;\na022 = a011 - a010;\n}\na005 = a021 - a002;\n}\na003 += a010;\na012 = cur - a021;\ncur += a017;\n}\noutput.collect(prefix, new IntWritable(a003));\n}",
"public interface Unary extends Expr \n{\n /** Unary expression operator. */\n public static enum Operator {\n BIT_NOT (\"~\", true),\n NEG (\"-\", true),\n POST_INC (\"++\", false),\n POST_DEC (\"--\", false),\n PRE_INC (\"++\", true),\n PRE_DEC (\"--\", true),\n POS (\"+\", true),\n NOT (\"!\", true),\n CARET (\"^\", true),\n BAR (\"|\", true),\n AMPERSAND(\"&\", true),\n STAR (\"*\", true),\n SLASH (\"/\", true),\n PERCENT (\"%\", true);\n\n protected boolean prefix;\n protected String name;\n\n private Operator(String name, boolean prefix) {\n this.name = name;\n this.prefix = prefix;\n }\n\n /** Returns true of the operator is a prefix operator, false if\n * postfix. */\n public boolean isPrefix() { return prefix; }\n\n @Override public String toString() { return name; }\n }\n\n public static final Operator BIT_NOT = Operator.BIT_NOT;\n public static final Operator NEG = Operator.NEG;\n public static final Operator POST_INC = Operator.POST_INC;\n public static final Operator POST_DEC = Operator.POST_DEC;\n public static final Operator PRE_INC = Operator.PRE_INC;\n public static final Operator PRE_DEC = Operator.PRE_DEC;\n public static final Operator POS = Operator.POS;\n public static final Operator NOT = Operator.NOT;\n public static final Operator CARET = Operator.CARET;\n public static final Operator BAR = Operator.BAR;\n public static final Operator AMPERSAND = Operator.AMPERSAND;\n public static final Operator STAR = Operator.STAR;\n public static final Operator SLASH = Operator.SLASH;\n public static final Operator PERCENT = Operator.PERCENT;\n\n /** The sub-expression on that to apply the operator. */\n Expr expr();\n /** Set the sub-expression on that to apply the operator. */\n Unary expr(Expr e);\n\n /** The operator to apply on the sub-expression. */\n Operator operator();\n /** Set the operator to apply on the sub-expression. */\n Unary operator(Operator o);\n}",
"@FunctionalInterface\npublic interface FoldImplementation {\n void main(String[] args);\n}",
"public static void main(String[] args) {\r\n\t\tString str1 = \"Jag\";\r\n\t\tString str2 = \"Chill\";\r\n\t\t// Lamda Expression\r\n\t\tIAddable<String> stringAdder = ( s1, s2) -> s1 + s2;\r\n\t\tIAddable<Integer> integerAdder = ( s1, s2) -> s1 + s2;\r\n\t\t// Call Lamda\r\n\t\tSystem.out.println(\"String Concat \" + stringAdder.add(str1, str2));\r\n\t\tSystem.out.println(\"Add \" + integerAdder.add(11, 22));\r\n\t \r\n\t\t//Call Reference\r\n\t\tMainClass obj = new MainClass();\r\n\t\tSystem.out.println(obj.addInteger.add(6 ,9));\r\n\t\t\r\n\t }",
"String getOperator();",
"@Override\n\tpublic void visit(Concat arg0) {\n\t\t\n\t}",
"public static void main(String[] args) {\r\n\t\tStream strings = Stream.of(\"A\", \"good\", \"day\", \"to\", \"write\", \"some\", \"Java\");\r\n//\t\tOptional<String> optionalS = (Optional<String>) strings.reduce(\"\", (x, y) -> x+\" \"+y).\r\n\r\n\t\tOptional<String> optional = strings.reduce((o, o2) -> o +\" \"+o2);\r\n\t\tif(optional.isPresent())\r\n\t\t\tSystem.out.println(optional.get());\r\n\r\n\t\t\r\n\t}",
"static <T> Function<T, T> compose(Stream<Function<T, T>> functions) {\n return functions.reduce(identity(), Function::andThen);\n }",
"ASTFoldCombine() { super(null); }",
"public static void main(String[] args) {\n ArithmeticExpression calculation =\n new Operand(\n new Operand(new Number(4), Operation.PLUS, new Number(6)),\n Operation.MULTIPLICATION,\n new Operand(new Number(1), Operation.DIVISION, new Number(2)));\n\n System.out.println(calculation.toString() + \" = \" + calculation.calculate());\n }",
"private static String evaluate(ArrayList<String> operators, ArrayList<String> operands) {\n\n /* Check for valid input. There should be one more operand than operator. */\n if (operands.size() != operators.size()+1)\n return \"Invalid Input\";\n\n String current;\n int value;\n int numMultiply = 0;\n int numAdd = 0;\n int currentOperator = 0;\n\n /* Get the number of multiplications in the operators list. */\n for (int i = 0; i < operators.size(); i++) {\n\n if (operators.get(i).equals(\"*\"))\n numMultiply++;\n }\n\n /* Get the number of addition and subtraction in the operators list. */\n for (int i = 0; i < operators.size(); i++) {\n\n if (operators.get(i).equals(\"-\") || operators.get(i).equals(\"+\"))\n numAdd++;\n }\n\n /* Evaluate multiplications first, from left to right. */\n while (numMultiply > 0){\n\n current = operators.get(currentOperator);\n if (current.equals(\"*\")) {\n\n /* When multiplication is found in the operators, get the associative operands from the operands list.\n Associative operands are found in the operands list at indexes current operator and current operator + 1.\n */\n value = Integer.parseInt(operands.get(currentOperator)) * Integer.parseInt(operands.get(currentOperator+1));\n\n /* Remove the operands and the operator since they have been evaluated and add the evaluated answer back in the operands. */\n operators.remove(currentOperator);\n operands.remove(currentOperator);\n operands.remove(currentOperator);\n operands.add(currentOperator, Integer.toString(value));\n\n numMultiply--;\n }\n else\n currentOperator++;\n }\n\n currentOperator = 0;\n\n /* Next evaluate the addition and subtraction, from left to right. */\n while (numAdd > 0){\n current = operators.get(currentOperator);\n if (current.equals(\"+\")) {\n\n value = Integer.parseInt(operands.get(currentOperator)) + Integer.parseInt(operands.get(currentOperator+1));\n operators.remove(currentOperator);\n operands.remove(currentOperator);\n operands.remove(currentOperator);\n operands.add(currentOperator, Integer.toString(value));\n numAdd--;\n }\n\n else if (current.equals(\"-\")) {\n\n value = Integer.parseInt(operands.get(currentOperator)) - Integer.parseInt(operands.get(currentOperator+1));\n operators.remove(currentOperator);\n operands.remove(currentOperator);\n operands.remove(currentOperator);\n operands.add(currentOperator, Integer.toString(value));\n numAdd--;\n }\n else\n currentOperator++;\n }\n\n /* When all the operations have been evaluated, the final answer will be in the first element of the operands list. */\n return operands.get(0);\n }",
"@Override\n\t\t\tpublic Integer apply(Integer num1, Integer num2) {\n\t\t\t\treturn num1+num2;\n\t\t\t}",
"public String determineFormattedSumString(int a, int b);",
"static String arithmeticExpressions(int[] arr) {\n String result = \"\";\n String[] operation = {\"+\", \"-\", \"*\"};\n boolean done = false;\n Map<Integer, String> outputToExpression = new HashMap<>();\n outputToExpression.put(arr[0], String.valueOf(arr[0]));\n for(int i = 1; i < arr.length; i++) {\n Map<Integer, String> tempOutputToExpression = new HashMap<>();\n int currentInteger = arr[i];\n final Set<Map.Entry<Integer, String>> entry2 = outputToExpression.entrySet();\n for(int entry : outputToExpression.keySet()) {\n for(int k = 0; k < operation.length; k++) {\n int tempOutput = entry;\n if(operation[k].equals(\"+\")) {\n tempOutput = tempOutput + currentInteger;\n tempOutputToExpression.put(tempOutput, outputToExpression.get(entry) + \"+\" + currentInteger);\n }\n if(operation[k].equals(\"-\")) {\n tempOutput = tempOutput - currentInteger;\n tempOutputToExpression.put(tempOutput, outputToExpression.get(entry) + \"-\" + currentInteger);\n }\n if(operation[k].equals(\"*\")) {\n tempOutput = (tempOutput * currentInteger) % 101;\n tempOutputToExpression.put(tempOutput, outputToExpression.get(entry) + \"*\" + currentInteger);\n }\n if(tempOutput % 101 == 0) {\n result = tempOutputToExpression.get(tempOutput);\n for(int j = i + 1; j < arr.length; j++) {\n result += \"*\" + arr[j];\n }\n done = true;\n }\n if(done) break;\n }\n if(done) break;\n }\n if(done) break;\n outputToExpression = tempOutputToExpression;\n }\n\n\n return result;\n }",
"public Object visitAdditiveExpression(GNode n) {\n Object a, b, result;\n String op;\n \n nonboolean = true;\n \n dostring = true;\n \n a = dispatch(n.getGeneric(0));\n b = dispatch(n.getGeneric(2));\n op = n.getString(1);\n \n dostring = false;\n \n if (a instanceof Long && b instanceof Long) {\n if (op.equals(\"+\")) {\n result = (Long) a + (Long) b;\n }\n else if (op.equals(\"-\")) {\n result = (Long) a - (Long) b;\n }\n else {\n result = \"\";\n }\n }\n else {\n result = parens(a) + \" \" + op + \" \" + parens(b);\n }\n \n return result;\n }",
"public static void main(String[] arg) {\n\r\n System.out.println(incrementByOneFunction.apply(2));\r\n\r\n System.out.println(multipleByTen.apply(12));\r\n\r\n System.out.println(addByOneThenMulByTen.apply(19));\r\n\r\n // BiFunction takes two argument and produce one result\r\n\r\n System.out.println(incrementByOneAndMultiplyBiFunction.apply(4,100));\r\n }",
"public static void main(String[] args) {\n\t\tStream<Integer> intStream = Stream.of(1, 2, 3, 4);\n\t\t// intStream.forEach(System.out::println);\n\n\t\t/*\n\t\t * Approach 2 of declaring a stream objects with range of elements from 1-10\n\t\t * where last range element is not considered while printing or for any //\n\t\t * operation like sum, average, etc.\n\t\t * \n\t\t * We have IntStream, DoubleStream, etc to handle primitive values inside\n\t\t * streams...\n\t\t */\n\n\t\tIntStream.range(1, 10).forEach(e -> System.out.println(\"IntStream values from 1-10 range: \" + e)); // This will\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// print\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// numbers\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// from 1-9\n\n\t\t// Sometimes,we really want to create Streams dynamically instead of sequential\n\t\t// int values as above. We can use iterate method to to that.\n\t\tIntStream.iterate(1, e -> e * 2).limit(10).forEach(System.out::println);// Priting square numbers\n\n\t\tIntStream.iterate(2, e -> e + 2).limit(10).peek(System.out::println);// Printing even numbers\n\n\t\t/*\n\t\t * Convert these primitive streams to List For that we need to do a boxing\n\t\t * operation on top of stream\n\t\t */\n\n\t\tSystem.out.println(\"Converting IntStream to List...\");\n\t\tIntStream.range(1, 10).limit(5).boxed().collect(Collectors.toList()).forEach(System.out::println);\n\n\t\t/*\n\t\t * Lets explore some concepts on Strings...How stream works on strings and its\n\t\t * related operations\n\t\t */\n\n\t\t// Stream courseStream = Stream.of(\"Spring\", \"API\", \"AWS\", \"Java\", \"JavaFP\");\n\t\tList<String> courses = List.of(\"Spring\", \"API\", \"AWS\", \"Java\", \"JavaFP\");\n\t\tList<String> courses2 = List.of(\"Spring\", \"API\", \"AWS\", \"Java\", \"JavaFP\");\n\t\t// If we want to join these values\n\n\t\tSystem.out.println(courses.stream().collect(Collectors.joining()));\n\n\t\t/*\n\t\t * Lets say, if i want tp split each string in stream seprated by comma..\n\t\t */\n\t\tSystem.out.println(\"String opeartaion within Streams....\");\n\t\t// The below one prints all stream Objects that executed on top of split\n\t\t// function. So, we need to flatMap it to extract the actual result\n\t\tSystem.out.println(courses.stream().map(course -> course.toString().split(\",\")).collect(Collectors.toList()));\n\t\tSystem.out.println(\n\t\t\t\tcourses.stream().map(course -> course.split(\"\")).flatMap(Arrays::stream).collect(Collectors.toList()));\n\n\t\tSystem.out.println(\"Tuples strings : \"\n\t\t\t\t+ courses.stream().flatMap(course -> courses2.stream().map(course2 -> List.of(course, course2)))\n\t\t\t\t\t\t.collect(Collectors.toList()));\n\n\t\t/**\n\t\t * Higher Order Functions... Higher Order function is a function that returns a\n\t\t * function... In simpler terms, a method that returns a Predicate which\n\t\t * contains logic. So, here we are using method logic as a normal data and\n\t\t * returning it from an another method..\n\t\t */\n\n\t\tList<Courses> courseList = List.of(new Courses(1, \"Java\", 5000, 5), new Courses(2, \"AWS\", 4000, 4));\n\t\t// If we want to get courses whcih has number of students greater than 4000,\n\t\t// then we need to write a predicate for that first\n\t\tint numberOfStudentsThreshhold = 4000;\n\t\tPredicate<Courses> numberOfStudentsPredicate = numberOfStudentsPredecateMethod(numberOfStudentsThreshhold);\n\n\t\tSystem.out.println(\"Courses that has score>4000 : \"\n\t\t\t\t+ courseList.stream().filter(numberOfStudentsPredicate).collect(Collectors.toList()));\n\n\t}",
"public abstract int apply(int lhs, int rhs);",
"public static void main(String[] args) {\n\n Function<Integer, String> parOuImpar = n -> n % 2 == 0 ? \"Par\" : \"Ímpar\";\n\n System.out.println(parOuImpar.apply(27));\n\n Function<String, String> oResutladoE = v -> \"O resultado é: \" + v;\n\n Function<String, String> empolgado = x -> x + \"!!\";\n\n Function<String, String> duvida = v -> v + \"??\";\n\n String resultadoFinal = parOuImpar\n .andThen(oResutladoE) //Função encadeada\n .andThen(empolgado) //Função encadeada\n .apply(27);\n System.out.println(resultadoFinal);\n\n String resutladoFinal2 = parOuImpar\n .andThen(duvida)\n .apply(33);\n System.out.println(resutladoFinal2);\n\n }",
"public Integer perform (IExpression left, IExpression right);",
"public static void main(String[] args) {\nint a=10;\nint b=13; // For right shift of b:b >> 1\n//int c = a | b; //For OR gate\n//int c= a & b;// For AND gate\nint c=b<<1;//For left shift of b is multiply of b\na >>= 2; //Assignment Operator\nSystem.out.println(c);\nSystem.out.println(a);\nSystem.out.println(a>b);//comparision operator\n\n\t}",
"@Override\r\n\tprotected void onReduceMp()\r\n\t{\n\t}",
"public static void main(String[] args) {\n\t\tint num1 = 7;\r\n\t\tint num2 = 6;\r\n\t\t\r\n\t\tmathOps ops1 = new mathOps();\r\n\t\tSystem.out.println(\"sum = \" +ops1.addition(num1, num2));\r\n\t\tSystem.out.println(\"sub = \" +ops1.substraction(num1, num2));\r\n\t\tSystem.out.println(\"mul = \" +ops1.multiply(num1, num2));\r\n\t\tSystem.out.println(\"div = \" +ops1.divide(num1, num2));\r\n\t}",
"public static void main(String[] args){\n SomeFunc<String> reverse = (str) -> new StringBuilder(str).reverse().toString();\n// System.out.println(reverse.func(\"Hello World\"));\n\n // passing lambda expressions as arguments\n// System.out.println(makeHappy((s -> s + \" :)\"), \"Hello Jeff\"));\n\n MyNumberType doubleNum = (nt) -> nt * 2;\n MyNumberType addOneToNum = (nt)-> nt + 1;\n System.out.printf(\"2 doubled is %d, 2 + 1 is %d\", doubleNum.transform(2), addOneToNum.transform(2));\n System.out.printf(\"\\n2 doubled + 1 is %d\", doubleNum.andThen(addOneToNum).transform(2));\n\n// consumerDemo();\n// predicateDemo();\n functionDemo();\n// supplierDemo();\n\n }",
"public static void main(String[] args) {\n byte b1=10;\r\n byte b2=20;\r\n int b3=b1+b2; // byte+byte=int\r\n \r\n int a=10;\r\n long b=20L;\r\n double d=10.5;\r\n // a+b+d \r\n // a=10.0 b=20.0 d=10.5\r\n String s=\"\";\r\n // double r=a+b+d+s; \r\n // String \r\n\t}",
"static int calculate(int a, int b, String op) {\n switch (op) {\n case \"+\":\n return a + b;\n case \"-\":\n return a - b;\n case \"*\":\n return a * b;\n case \"/\":\n return a / b;\n default:\n break;\n }\n return 0;\n }",
"@Override\n\tpublic void visit(Concat arg0) {\n\n\t}",
"String performCalculation(String str) {\n // will get all numbers and store it to `numberStr`\n String numberStr[] = str.replaceAll(\"[+*/()-]+\", \" \").split(\" \");\n // will get all operators and store it to `operatorStr`\n String operatorStr[] = str.replaceAll(\"[0-9()]+\", \"\").split(\"\");\n\n int total = Integer.parseInt(numberStr[0]);\n\n for (int i = 0; i < operatorStr.length; i++) {\n switch (operatorStr[i]) {\n case \"+\":\n total += Integer.parseInt(numberStr[i + 1]);\n break;\n case \"-\":\n total -= Integer.parseInt(numberStr[i + 1]);\n break;\n case \"*\":\n total *= Integer.parseInt(numberStr[i + 1]);\n break;\n case \"/\":\n total /= Integer.parseInt(numberStr[i + 1]);\n break;\n }\n\n if (i + 2 >= operatorStr.length)\n continue; // if meets the last operands already\n numberStr[i + 1] = String.valueOf(total);\n\n }\n return String.valueOf(total);\n }",
"S op(final S a, final S b);"
]
| [
"0.6804598",
"0.6361666",
"0.6318965",
"0.629476",
"0.6183886",
"0.61270314",
"0.601953",
"0.5833654",
"0.5789548",
"0.5765127",
"0.5702013",
"0.5680815",
"0.56807727",
"0.56799304",
"0.56371665",
"0.56291014",
"0.5623535",
"0.55686975",
"0.5566753",
"0.55563873",
"0.55563873",
"0.55541337",
"0.55466247",
"0.5545814",
"0.54779977",
"0.5464133",
"0.5447687",
"0.5443388",
"0.5430103",
"0.5374038",
"0.53578484",
"0.5347253",
"0.5336752",
"0.532894",
"0.529085",
"0.5242874",
"0.5238017",
"0.5219306",
"0.52175474",
"0.52084386",
"0.5195911",
"0.5190588",
"0.51836634",
"0.51746416",
"0.51733553",
"0.5153045",
"0.514819",
"0.5141251",
"0.5140541",
"0.51292795",
"0.511873",
"0.51057506",
"0.5103508",
"0.50977117",
"0.5089978",
"0.5089541",
"0.5088158",
"0.50849503",
"0.50575984",
"0.5052945",
"0.5033252",
"0.5028016",
"0.500491",
"0.49807584",
"0.4976109",
"0.49757108",
"0.49665087",
"0.4964328",
"0.49441946",
"0.49415612",
"0.4938487",
"0.49380112",
"0.49358913",
"0.49342945",
"0.49268952",
"0.49255216",
"0.4920662",
"0.49181443",
"0.49066544",
"0.48951554",
"0.48918176",
"0.4888141",
"0.48867127",
"0.48853713",
"0.4883638",
"0.48825288",
"0.48817074",
"0.4875668",
"0.4870942",
"0.48535225",
"0.48508316",
"0.48486626",
"0.48263222",
"0.4826138",
"0.48094895",
"0.48075542",
"0.48027867",
"0.47946832",
"0.47910735",
"0.4788436"
]
| 0.86688364 | 0 |
&9674;&9674;&9674; Using a Collector &9674;&9674;&9674; String string = Stream.of("this", "is", "a", "list") .collect(() &62; new StringBuilder(), // result Supplier (sb, str) &62; sb.append(str), // add a single value to the result (sb1, sb2) &62; sb1.append(sb2)) // combine two results .toString(); Using method reference string = Stream.of("this", "is", "a", "list") .collect(StringBuilder::new, // result Supplier StringBuilder::append, // add a single value to the result StringBuilder::append) // combine two results .toString(); Using joining method string = Stream.of("this", "is", "a", "list").collect(Collectors.joining()); | protected static void usingACollector() {
String string = Stream.of("this", "is", "a", "list")
.collect(() -> new StringBuilder(), // result Supplier
(sb, str) -> sb.append(str), // add a single value to the result
(sb1, sb2) -> sb1.append(sb2)) // combine two results
.toString();
// Using method reference
string = Stream.of("this", "is", "a", "list")
.collect(StringBuilder::new, // result Supplier
StringBuilder::append, // add a single value to the result
StringBuilder::append) // combine two results
.toString();
// Using joining method
string = Stream.of("this", "is", "a", "list").collect(Collectors.joining());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n void testCollect() {\n List<Integer> numbers = Stream.of(1, 2, 3, 4)\n .collect(Collectors.toList());\n assertEquals(List.of(1, 2, 3, 4), numbers);\n\n // collect to a Set\n numbers = List.of(1, 1, 2, 2);\n Set<Integer> unique = numbers.stream()\n .collect(Collectors.toSet());\n assertEquals(Set.of(1, 2), unique);\n\n // collect to a different collection like a Queue\n Queue<Integer> queue = numbers.stream()\n .collect(Collectors.toCollection(LinkedList::new));\n assertEquals(Integer.valueOf(1), queue.poll());\n assertEquals(Integer.valueOf(1), queue.poll());\n assertEquals(Integer.valueOf(2), queue.poll());\n assertEquals(Integer.valueOf(2), queue.poll());\n\n // collect to one single String\n List<String> letters = List.of(\"S\", \"t\", \"r\", \"e\", \"a\", \"m\", \"s\");\n String word = letters.stream()\n .collect(Collectors.joining());\n assertEquals(\"Streams\", word);\n\n String another = letters.stream()\n .collect(Collectors.joining(\" \", \"*\", \"!\"));\n assertEquals(\"*S t r e a m s!\", another);\n }",
"private void collectorOperationInStream() {\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 Map<Integer, List<Person>> personsByAge = persons\n .stream()\n .collect(Collectors.groupingBy(p -> p.age));\n\n personsByAge.forEach((age, p) -> System.out.format(\"age %s: %s\\n\", age, p));\n\n Double averageAge = persons\n .stream()\n .collect(Collectors.averagingInt(p -> p.age));\n\n System.out.println(\"Average-Age: \" + averageAge);\n\n IntSummaryStatistics ageSummary = persons.stream()\n .collect(Collectors.summarizingInt(p -> p.age));\n\n System.out.println(\"Summarizing Age: \" + ageSummary);\n\n String phrase = persons\n .stream()\n .filter(p -> p.age >= 18)\n .map(p -> p.name)\n .collect(Collectors.joining(\" and \", \"In Germany \", \" are of legal age.\"));\n\n System.out.println(\"Collectors Joining: \" + phrase);\n\n Map<Integer, String> map = persons\n .stream()\n .collect(Collectors.toMap(\n p -> p.age,\n p -> p.name,\n (name1, name2) -> name1 + \";\" + name2));\n\n System.out.println(\"Collectors Mapping: \" + map);\n\n\n Collector<Person, StringJoiner, String> personNameCollector =\n Collector.of(\n () -> new StringJoiner(\" | \"), // supplier\n (j, p) -> j.add(p.name.toUpperCase()), // accumulator\n StringJoiner::merge, // combiner\n StringJoiner::toString); // finisher\n\n String names = persons\n .stream()\n .collect(personNameCollector);\n\n System.out.println(\"Collectors Collect: \" + names);\n\n\n List<Integer> IntegerRange = IntStream.range(51, 54).boxed().collect(Collectors.toList());\n List<Integer> IntegerRange1 = IntStream.range(51, 54).mapToObj(i-> i).collect(Collectors.toList());\n System.out.println(\"InStream to List : \"+IntegerRange);\n System.out.println(\"InStream to List : \"+IntegerRange1);\n }",
"public static void main(String[] args) {\n\t\tStream<Integer> intStream = Stream.of(1, 2, 3, 4);\n\t\t// intStream.forEach(System.out::println);\n\n\t\t/*\n\t\t * Approach 2 of declaring a stream objects with range of elements from 1-10\n\t\t * where last range element is not considered while printing or for any //\n\t\t * operation like sum, average, etc.\n\t\t * \n\t\t * We have IntStream, DoubleStream, etc to handle primitive values inside\n\t\t * streams...\n\t\t */\n\n\t\tIntStream.range(1, 10).forEach(e -> System.out.println(\"IntStream values from 1-10 range: \" + e)); // This will\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// print\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// numbers\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// from 1-9\n\n\t\t// Sometimes,we really want to create Streams dynamically instead of sequential\n\t\t// int values as above. We can use iterate method to to that.\n\t\tIntStream.iterate(1, e -> e * 2).limit(10).forEach(System.out::println);// Priting square numbers\n\n\t\tIntStream.iterate(2, e -> e + 2).limit(10).peek(System.out::println);// Printing even numbers\n\n\t\t/*\n\t\t * Convert these primitive streams to List For that we need to do a boxing\n\t\t * operation on top of stream\n\t\t */\n\n\t\tSystem.out.println(\"Converting IntStream to List...\");\n\t\tIntStream.range(1, 10).limit(5).boxed().collect(Collectors.toList()).forEach(System.out::println);\n\n\t\t/*\n\t\t * Lets explore some concepts on Strings...How stream works on strings and its\n\t\t * related operations\n\t\t */\n\n\t\t// Stream courseStream = Stream.of(\"Spring\", \"API\", \"AWS\", \"Java\", \"JavaFP\");\n\t\tList<String> courses = List.of(\"Spring\", \"API\", \"AWS\", \"Java\", \"JavaFP\");\n\t\tList<String> courses2 = List.of(\"Spring\", \"API\", \"AWS\", \"Java\", \"JavaFP\");\n\t\t// If we want to join these values\n\n\t\tSystem.out.println(courses.stream().collect(Collectors.joining()));\n\n\t\t/*\n\t\t * Lets say, if i want tp split each string in stream seprated by comma..\n\t\t */\n\t\tSystem.out.println(\"String opeartaion within Streams....\");\n\t\t// The below one prints all stream Objects that executed on top of split\n\t\t// function. So, we need to flatMap it to extract the actual result\n\t\tSystem.out.println(courses.stream().map(course -> course.toString().split(\",\")).collect(Collectors.toList()));\n\t\tSystem.out.println(\n\t\t\t\tcourses.stream().map(course -> course.split(\"\")).flatMap(Arrays::stream).collect(Collectors.toList()));\n\n\t\tSystem.out.println(\"Tuples strings : \"\n\t\t\t\t+ courses.stream().flatMap(course -> courses2.stream().map(course2 -> List.of(course, course2)))\n\t\t\t\t\t\t.collect(Collectors.toList()));\n\n\t\t/**\n\t\t * Higher Order Functions... Higher Order function is a function that returns a\n\t\t * function... In simpler terms, a method that returns a Predicate which\n\t\t * contains logic. So, here we are using method logic as a normal data and\n\t\t * returning it from an another method..\n\t\t */\n\n\t\tList<Courses> courseList = List.of(new Courses(1, \"Java\", 5000, 5), new Courses(2, \"AWS\", 4000, 4));\n\t\t// If we want to get courses whcih has number of students greater than 4000,\n\t\t// then we need to write a predicate for that first\n\t\tint numberOfStudentsThreshhold = 4000;\n\t\tPredicate<Courses> numberOfStudentsPredicate = numberOfStudentsPredecateMethod(numberOfStudentsThreshhold);\n\n\t\tSystem.out.println(\"Courses that has score>4000 : \"\n\t\t\t\t+ courseList.stream().filter(numberOfStudentsPredicate).collect(Collectors.toList()));\n\n\t}",
"public String toString() { return lambda0 + \" \" + r + \" \" + s; }",
"public static void main(String args[]) \r\n {\n List<Integer> number = Arrays.asList(2,3,4,5); \r\n \r\n // demonstration of map method \r\n List<Integer> square = number.stream().map(x -> x*x). \r\n collect(Collectors.toList()); \r\n System.out.println(\"Square od number using map()\"+square); \r\n \r\n // create a list of String \r\n List<String> names = \r\n Arrays.asList(\"Reflection\",\"Collection\",\"Stream\"); \r\n \r\n // demonstration of filter method \r\n List<String> result = names.stream().filter(s->s.startsWith(\"S\")). \r\n collect(Collectors.toList()); \r\n System.out.println(result); \r\n \r\n // demonstration of sorted method \r\n List<String> show = \r\n names.stream().sorted().collect(Collectors.toList()); \r\n System.out.println(show); \r\n \r\n // create a list of integers \r\n List<Integer> numbers = Arrays.asList(2,3,4,5,2); \r\n \r\n // collect method returns a set \r\n Set<Integer> squareSet = \r\n numbers.stream().map(x->x*x).collect(Collectors.toSet()); \r\n System.out.println(squareSet); \r\n \r\n // demonstration of forEach method \r\n number.stream().map(x->x*x).forEach(y->System.out.println(y)); \r\n \r\n // demonstration of reduce method \r\n int even = \r\n number.stream().filter(x->x%2==0).reduce(0,(ans,i)-> ans+i); \r\n \r\n System.out.println(even); \r\n \r\n // Create a String with no repeated keys \r\n Stream<String[]> \r\n str = Stream \r\n .of(new String[][] { { \"GFG\", \"GeeksForGeeks\" }, \r\n { \"g\", \"geeks\" }, \r\n { \"G\", \"Geeks\" } }); \r\n\r\n // Convert the String to Map \r\n // using toMap() method \r\n Map<String, String> \r\n map = str.collect( \r\n Collectors.toMap(p -> p[0], p -> p[1])); \r\n\r\n // Print the returned Map \r\n System.out.println(\"Map:\" + map); \r\n }",
"public static void main(String[] args) {\r\n\t\t\r\n\t\tSystem.out.println(\"-------1. Stream filter() example---------\");\r\n\t\t//We can use filter() method to test stream elements for a condition and generate filtered list.\r\n\t\t\r\n\t\tList<Integer> myList = new ArrayList<>();\r\n\t\tfor(int i=0; i<100; i++) myList.add(i);\r\n\t\tStream<Integer> sequentialStream = myList.stream();\r\n\r\n\t\tStream<Integer> highNums = sequentialStream.filter(p -> p > 90); //filter numbers greater than 90\r\n\t\tSystem.out.print(\"High Nums greater than 90=\");\r\n\t\thighNums.forEach(p -> System.out.print(p+\" \"));\r\n\t\t//prints \"High Nums greater than 90=91 92 93 94 95 96 97 98 99 \"\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\"-------2. Stream map() example---------\");\r\n\t\t//We can use map() to apply functions to an stream\r\n\t\tStream<String> names = Stream.of(\"aBc\", \"d\", \"ef\");\r\n\t\tSystem.out.println(names.map(s -> {\r\n\t\t\t\treturn s.toUpperCase();\r\n\t\t\t}).collect(Collectors.toList()));\r\n\t\t//prints [ABC, D, EF]\r\n\t\t\r\n\t\tSystem.out.println(\"-------3. Stream sorted() example---------\");\r\n\t\t//We can use sorted() to sort the stream elements by passing Comparator argument.\r\n\t\tStream<String> names2 = Stream.of(\"aBc\", \"d\", \"ef\", \"123456\");\r\n\t\tList<String> reverseSorted = names2.sorted(Comparator.reverseOrder()).collect(Collectors.toList());\r\n\t\tSystem.out.println(reverseSorted); // [ef, d, aBc, 123456]\r\n\r\n\t\tStream<String> names3 = Stream.of(\"aBc\", \"d\", \"ef\", \"123456\");\r\n\t\tList<String> naturalSorted = names3.sorted().collect(Collectors.toList());\r\n\t\tSystem.out.println(naturalSorted); //[123456, aBc, d, ef]\r\n\t\t\r\n\t\tSystem.out.println(\"-------4. Stream flatMap() example---------\");\r\n\t\t//We can use flatMap() to create a stream from the stream of list.\r\n\t\tStream<List<String>> namesOriginalList = Stream.of(\r\n\t\t\t\tArrays.asList(\"Pankaj\"), \r\n\t\t\t\tArrays.asList(\"David\", \"Lisa\"),\r\n\t\t\t\tArrays.asList(\"Amit\"));\r\n\t\t\t//flat the stream from List<String> to String stream\r\n\t\t\tStream<String> flatStream = namesOriginalList\r\n\t\t\t\t.flatMap(strList -> strList.stream());\r\n\r\n\t\t\tflatStream.forEach(System.out::println);\r\n\r\n\t}",
"public static void main(final String[] args)\n {\n final Supplier<ArrayList<String>> proveedor = ArrayList::new;\n\n // Aqui tenemos el acumulador, el que añadira cada elemento del stream al proveedor definido\n // arriba\n // BiConsumer<ArrayList<String>, String> acumulador = (list, str) -> list.add(str);\n final BiConsumer<ArrayList<String>, String> acumulador = ArrayList::add;\n\n // Aquí tenemos el combinador, ya que por ejemplo al usar parallelStream, cada hijo generara\n // su propio proveedor, y al final deberan combinarse\n final BiConsumer<ArrayList<String>, ArrayList<String>> combinador = ArrayList::addAll;\n\n final List<Empleado> empleados = Empleado.empleados();\n final List<String> listNom = empleados.stream()\n .map(Empleado::getNombre)\n .collect(ArrayList::new, ArrayList::add, ArrayList::addAll);\n System.out.println(listNom);\n\n // Usando Collectors\n final List<String> listNom2 = empleados.stream()\n .map(Empleado::getNombre)\n .collect(Collectors.toList());\n System.out.println(listNom2);\n\n final Set<String> listNom3 = empleados.stream()\n .map(Empleado::getNombre)\n .collect(Collectors.toSet());\n System.out.println(listNom3);\n\n final Collection<String> listNom4 = empleados.stream()\n .map(Empleado::getNombre)\n .collect(Collectors.toCollection(TreeSet::new));\n System.out.println(listNom4);\n\n // Ahora con mapas\n final Map<Long, String> map = empleados.stream()\n .collect(Collectors.toMap(Empleado::getId, Empleado::getNombre));\n System.out.println(map);\n\n final Map<Genero, String> map2 = empleados.stream()\n .collect(Collectors.toMap(Empleado::getGenero, Empleado::getNombre,\n (nom1,\n nom2) -> String.join(\", \", nom1, nom2)));\n System.out.println(map2);\n }",
"StringBuilder toString(StringBuilder str);",
"public static void main(String[] args) {\n List<Character> charachterList = Arrays.asList('T', 'h', 'i', 's', ' ', 'i', 's', ' ', 'S', 'p', 'a', 'r', 't', 'a', '!');\n String strings = charachterList.stream()\n .map(c -> c.toString())\n .collect(Collectors.joining());\n\n System.out.println(strings);\n }",
"@Test\n public void simplifiedFlowableDemo() {\n StringBuilder sb = new StringBuilder();\n\n Flowable<String> flowable = Flowable.create(new FlowableOnSubscribe<String>() {\n @Override\n public void subscribe(FlowableEmitter<String> flowableEmitter) throws Exception {\n flowableEmitter.onNext(\"a\");\n flowableEmitter.onNext(\"b\");\n flowableEmitter.onComplete();\n log.info(\"Result string is: {}\", sb.toString());\n }\n }, BackpressureStrategy.BUFFER);\n\n flowable.subscribe(new Consumer<String>() {\n @Override\n public void accept(String s) throws Exception {\n sb.append(s);\n log.info(\"append {}, new the sb is {}\", s, sb.toString());\n }\n });\n }",
"public static void main(String[] args) {\n\t\tSystem.out.println(\"Create Stream of Object\\n\");\n\t\tStream<String> stream= Stream.of(\"Saliou\",\"Fatimatou\",\"Mahdiyou\",\"Kolon\");\n\t stream.forEach(System.out::println);\n\t \n // Create Stream from Objects from Collection\n\t\tSystem.out.println(\" \\n\\nCreate Stream Object from collection\\n\");\n\t Collection<String> collection=Arrays.asList(\"Saliou\",\"Fatimatou\",\"Mahdiyou\",\"Kolon\");\n\t Stream<String> stream2=collection.stream();\n\t stream2.forEach(System.out::println);\n\t \n\t //Create Stream Object from Collection\n\t System.out.println(\"\\n\\nCreate Stream Object from List\");\n\t List<String> list= Arrays.asList(\"Modou\",\"Fatou\",\"Saliou\",\"Samba\");\n\t Stream<String> stream3=list.stream();\n\t stream3.forEach(System.out::println);\n\t \n\t //Create Stream Object from Set\n\t System.out.println(\"\\n Create Stream from Set\");\n\t Set<String> set= new HashSet<>(list);\n\t Stream<String> stream4= set.stream();\n\t stream4.forEach(System.out::println);\n\t \n\t //Create Stream Object from Arrays\n\t System.out.println(\"\\nCreate Stream Object from Arrays\");\n\t ArrayList<String> array= new ArrayList<>(list);\n\t Stream<String> stream5= array.stream();\n\t stream5.forEach(System.out::println);\n\t \n\t //Create Stream from Array of String\n\t System.out.println(\"\\n Create Stream from Array of String\");\n\t String[] strArray= {\"Saliou\",\"Fatimatou\",\"Mahdiyou\",\"Kolon\"};\n\t Stream<String> stream6=Arrays.stream(strArray);\n\t stream6.forEach(System.out::println);\n\t \n\t \n\t}",
"public static void main(String[] args) {\n\t\tString s=\"abc\";\n\t\ts=s.concat(\"defg\");\n\t\ts.concat(\"ghi\");\n\t\tString s1=s,s2=s,s3=s,s4=s,s5=s;\n\t\tSystem.out.println(s);\n\t\tSystem.out.println(s1);\n\t\tSystem.out.println(s2);\n\t\tSystem.out.println(s3);\n\t\tSystem.out.println(s3);\n\t\tSystem.out.println(s4);\n\t\tSystem.out.println(s5);\n\t\t\n\t\t\n\t\tStringBuffer sb= new StringBuffer(\"abc\");\n\t\tsb.append(\"ABC\");\n\t\tStringBuffer sb1=sb,sb2=sb;\n\t\tSystem.out.println(sb);\n\t\tSystem.out.println(sb1);\n\t\tSystem.out.println(sb2);\n\t\t\n\t}",
"@Test\n public void intermediateAndTerminalOperations() throws Exception {\n System.out.println(\n MockData.getCars()\n // Here we go to \"abstraction\" of strams\n .stream()\n // This is an intermediate op because we stay in the abstraction\n .filter(car -> {\n System.out.println(\"filter car \" + car);\n return car.getPrice() < 10000;\n })\n // This is intermediate too, we still working with streams \"abstraction\"\n .map(car -> {\n System.out.println(\"mapping car \" + car);\n return car.getPrice();\n })\n // same as before, still intermediate, still in streams abstraction\n .map(price -> {\n System.out.println(\"mapping price \" + price);\n return price + (price * .14);\n })\n // ok, this is a terminal operation and give you back the \"concrete type\" result of the operations\n .collect(Collectors.toList())\n );\n\n // Q: If you comment this line, no result is printed, you got only stram reference, why?\n // A: STREAMS are LAZY initialized\n\n // Q: What's the order of execution in the above code?\n // A: See the console print to understand order of execution:\n // The mappings are executed as soon as the first car passes the filter\n // so to get some results, stream don't need to filter ALL the list before\n\n }",
"@SuppressWarnings(\"unchecked\")\n\tpublic static <CollectedFact> Stream<CollectedFact> addToStream(\n\t\t\tStream<CollectedFact> stream, Stream<CollectedFact> stream2) {\n\t\tList<CollectedFact> result = stream.collect(Collectors.toList()); // error\n\t\tresult.addAll(stream2.collect(Collectors.toList()));\n//\t\tresult.forEach(System.out::println);\n\t\t\n\t\t\n\t\t//code to save to an Output File\n\t\t List<String> strList = result.stream().distinct().map(Object::toString)\n\t\t\t\t.collect(Collectors.toList());\n\n\t\ttry {\n\t\t\tFiles.write(Paths.get(outputFileName),\n\t\t\t\t\t(Iterable<String>) strList.stream()::iterator);\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\treturn result.stream();\n\t}",
"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}",
"@Test\n public void intermediateOperations() {\n Stream<Book> books = TestData.getBooks().stream();\n // filter\n Stream<Book> booksWithMultipleAuthors = books.filter(book -> book.hasMultipleAuthors());\n // map\n Stream<String> namesStream = booksWithMultipleAuthors.map(book -> book.getName());\n \n Set<String> expected = \n Sets.newHashSet(\"Design Patterns: Elements of Reusable Object-Oriented Software\",\n \"Structure and Interpretation of Computer Programs\");\n assertEquals(expected, namesStream.collect(Collectors.toSet()));\n }",
"@CompileStatic\npublic interface Stream<T> {\n\n /**\n * Remap the stream.\n *\n * @param <X> type parameter\n * @param mapper mapper returning iterable of values to be flattened into output\n * @return the remapped stream\n */\n default <X> Stream<X> flatMap(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<Iterable<X>> mapper) {\n\n return flatMap(null, mapper);\n }\n\n /**\n * Remap the stream.\n *\n * @param <X> type parameter\n * @param name name of the operation\n * @param mapper mapper returning iterable of values to be flattened into output\n * @return the remapped stream\n */\n <X> Stream<X> flatMap(\n @Nullable String name,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<Iterable<X>> mapper);\n\n /**\n * Remap the stream.\n *\n * @param <X> type parameter\n * @param mapper the mapping closure\n * @return remapped stream\n */\n default <X> Stream<X> map(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<X> mapper) {\n\n return map(null, mapper);\n }\n\n /**\n * Remap the stream.\n *\n * @param <X> type parameter\n * @param name stable name of the mapping operator\n * @param mapper the mapping closure\n * @return remapped stream\n */\n <X> Stream<X> map(\n @Nullable String name,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<X> mapper);\n\n /**\n * Filter stream based on predicate\n *\n * @param predicate the predicate to filter on\n * @return filtered stream\n */\n default Stream<T> filter(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<Boolean> predicate) {\n\n return filter(null, predicate);\n }\n\n /**\n * Filter stream based on predicate\n *\n * @param name name of the filter operator\n * @param predicate the predicate to filter on\n * @return filtered stream\n */\n Stream<T> filter(\n @Nullable String name,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<Boolean> predicate);\n\n /**\n * Assign event time to elements.\n *\n * @param assigner assigner of event time\n * @return stream with elements assigned event time\n */\n default Stream<T> assignEventTime(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<Long> assigner) {\n\n return assignEventTime(null, assigner);\n }\n\n /**\n * Assign event time to elements.\n *\n * @param name name of the assign event time operator\n * @param assigner assigner of event time\n * @return stream with elements assigned event time\n */\n Stream<T> assignEventTime(\n @Nullable String name,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<Long> assigner);\n\n /**\n * Add window to each element in the stream.\n *\n * @return stream of pairs with window\n */\n default Stream<Pair<Object, T>> withWindow() {\n return withWindow(null);\n }\n\n /**\n * Add window to each element in the stream.\n *\n * @param name stable name of the mapping operator\n * @return stream of pairs with window\n */\n Stream<Pair<Object, T>> withWindow(@Nullable String name);\n\n /**\n * Add timestamp to each element in the stream.\n *\n * @return stream of pairs with timestamp\n */\n default Stream<Pair<T, Long>> withTimestamp() {\n return withTimestamp(null);\n }\n\n /**\n * Add timestamp to each element in the stream.\n *\n * @param name stable name of mapping operator\n * @return stream of pairs with timestamp\n */\n Stream<Pair<T, Long>> withTimestamp(@Nullable String name);\n\n /** Print all elements to console. */\n void print();\n\n /**\n * Collect stream as list. Note that this will result on OOME if this is unbounded stream.\n *\n * @return the stream collected as list.\n */\n List<T> collect();\n\n /**\n * Test if this is bounded stream.\n *\n * @return {@code true} if this is bounded stream, {@code false} otherwise\n */\n boolean isBounded();\n\n /**\n * Process this stream as it was unbounded stream.\n *\n * <p>This is a no-op if {@link #isBounded} returns {@code false}, otherwise it turns the stream\n * into being processed as unbounded, although being bounded.\n *\n * <p>This is an optional operation and might be ignored if not supported by underlying\n * implementation.\n *\n * @return Stream viewed as unbounded stream, if supported\n */\n default Stream<T> asUnbounded() {\n return this;\n }\n\n /**\n * Convert elements to {@link StreamElement}s.\n *\n * @param <V> type of value\n * @param repoProvider provider of {@link Repository}\n * @param entity the entity of elements\n * @param keyExtractor extractor of keys\n * @param attributeExtractor extractor of attributes\n * @param valueExtractor extractor of values\n * @param timeExtractor extractor of time\n * @return stream with {@link StreamElement}s inside\n */\n <V> Stream<StreamElement> asStreamElements(\n RepositoryProvider repoProvider,\n EntityDescriptor entity,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<CharSequence> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\")\n Closure<CharSequence> attributeExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<Long> timeExtractor);\n\n /**\n * Persist this stream to replication.\n *\n * @param repoProvider provider of {@link Repository}.\n * @param replicationName name of replication to persist stream to\n * @param target target of the replication\n */\n void persistIntoTargetReplica(\n RepositoryProvider repoProvider, String replicationName, String target);\n\n /**\n * Persist this stream to specific family.\n *\n * <p>Note that the type of the stream has to be already {@link StreamElement StreamElements} to\n * be persisted to the specified family. The family has to accept given {@link\n * AttributeDescriptor} of the {@link StreamElement}.\n *\n * @param repoProvider provider of {@link Repository}.\n * @param targetFamilyname name of target family to persist the stream into\n */\n default void persistIntoTargetFamily(RepositoryProvider repoProvider, String targetFamilyname) {\n persistIntoTargetFamily(repoProvider, targetFamilyname, 10);\n }\n\n /**\n * Persist this stream to specific family.\n *\n * <p>Note that the type of the stream has to be already {@link StreamElement StreamElements} to\n * be persisted to the specified family. The family has to accept given {@link\n * AttributeDescriptor} of the {@link StreamElement}.\n *\n * @param repoProvider provider of {@link Repository}.\n * @param targetFamilyname name of target family to persist the stream into\n * @param parallelism parallelism to use when target family is bulk attribute family\n */\n void persistIntoTargetFamily(\n RepositoryProvider repoProvider, String targetFamilyname, int parallelism);\n\n /**\n * Persist this stream as attribute of entity\n *\n * @param <V> type of value extracted\n * @param repoProvider provider of repository\n * @param entity the entity to store the stream to\n * @param keyExtractor extractor of key for elements\n * @param attributeExtractor extractor for attribute for elements\n * @param valueExtractor extractor of values for elements\n * @param timeExtractor extractor of event time\n */\n <V> void persist(\n RepositoryProvider repoProvider,\n EntityDescriptor entity,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<CharSequence> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\")\n Closure<CharSequence> attributeExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<Long> timeExtractor);\n\n /**\n * Directly write this stream to repository. Note that the stream has to contain {@link\n * StreamElement}s (e.g. created by {@link #asStreamElements}.\n *\n * @param repoProvider provider of repository\n */\n void write(RepositoryProvider repoProvider);\n\n /**\n * Create time windowed stream.\n *\n * @param millis duration of tumbling window\n * @return time windowed stream\n */\n WindowedStream<T> timeWindow(long millis);\n\n /**\n * Create sliding time windowed stream.\n *\n * @param millis duration of the window\n * @param slide duration of the slide\n * @return sliding time windowed stream\n */\n WindowedStream<T> timeSlidingWindow(long millis, long slide);\n\n /**\n * Create session windowed stream.\n *\n * @param <K> type of key\n * @param keyExtractor extractor of key\n * @param gapDuration duration of the gap between elements per key\n * @return session windowed stream\n */\n <K> WindowedStream<Pair<K, T>> sessionWindow(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n long gapDuration);\n\n /**\n * Create calendar-based windowed stream.\n *\n * @param window the resolution of the calendar window (\"days\", \"weeks\", \"months\", \"years\")\n * @param count number of days, weeks, months, years\n * @param timeZone time zone of the calculation\n * @return calendar windowed stream\n */\n WindowedStream<T> calendarWindow(String window, int count, TimeZone timeZone);\n\n /**\n * Group all elements into single window.\n *\n * @return globally windowed stream.\n */\n WindowedStream<T> windowAll();\n\n /**\n * Merge two streams together.\n *\n * @param other the other stream(s)\n * @return merged stream\n */\n default Stream<T> union(Stream<T> other) {\n return union(Arrays.asList(other));\n }\n\n /**\n * Merge two streams together.\n *\n * @param name name of the union operator\n * @param other the other stream(s)\n * @return merged stream\n */\n default Stream<T> union(@Nullable String name, Stream<T> other) {\n return union(name, Arrays.asList(other));\n }\n\n /**\n * Merge multiple streams together.\n *\n * @param streams other streams\n * @return merged stream\n */\n default Stream<T> union(List<Stream<T>> streams) {\n return union(null, streams);\n }\n\n /**\n * Merge multiple streams together.\n *\n * @param name name of the union operator\n * @param streams other streams\n * @return merged stream\n */\n Stream<T> union(@Nullable String name, List<Stream<T>> streams);\n\n /**\n * Transform this stream using stateful processing.\n *\n * @param <K> type of key\n * @param <S> type of value state\n * @param <V> type of intermediate value\n * @param <O> type of output value\n * @param keyExtractor extractor of key\n * @param valueExtractor extractor of value\n * @param initialState closure providing initial state value for key\n * @param outputFn function for outputting values (when function returns {@code null} the output\n * is discarded\n * @param stateUpdate update (accumulation) function for the state the output is discarded\n * @return the statefully reduced stream\n */\n default <K, S, V, O> Stream<Pair<K, O>> reduceValueStateByKey(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"K\") Closure<S> initialState,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<O> outputFn,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<S> stateUpdate) {\n\n return reduceValueStateByKey(\n null, keyExtractor, valueExtractor, initialState, outputFn, stateUpdate);\n }\n\n /**\n * Transform this stream using stateful processing without time-sorting.\n *\n * @param <K> type of key\n * @param <S> type of value state\n * @param <V> type of intermediate value\n * @param <O> type of output value\n * @param keyExtractor extractor of key\n * @param valueExtractor extractor of value\n * @param initialState closure providing initial state value for key\n * @param outputFn function for outputting values (when function returns {@code null} the output\n * is discarded\n * @param stateUpdate update (accumulation) function for the state the output is discarded\n * @return the statefully reduced stream\n */\n default <K, S, V, O> Stream<Pair<K, O>> reduceValueStateByKeyUnsorted(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"K\") Closure<S> initialState,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<O> outputFn,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<S> stateUpdate) {\n\n return reduceValueStateByKeyUnsorted(\n null, keyExtractor, valueExtractor, initialState, outputFn, stateUpdate);\n }\n\n /**\n * Transform this stream using stateful processing.\n *\n * @param <K> type of key\n * @param <S> type of value state\n * @param <V> type of intermediate value\n * @param <O> type of output value\n * @param name optional name of the stateful operation\n * @param keyExtractor extractor of key\n * @param valueExtractor extractor of value\n * @param initialState closure providing initial state value for key\n * @param stateUpdate update (accumulation) function for the state\n * @param outputFn function for outputting values (when function returns {@code null} the output\n * is discarded\n * @return the statefully reduced stream\n */\n default <K, S, V, O> Stream<Pair<K, O>> reduceValueStateByKey(\n @Nullable String name,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"K\") Closure<S> initialState,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<O> outputFn,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<S> stateUpdate) {\n\n return reduceValueStateByKey(\n name, keyExtractor, valueExtractor, initialState, outputFn, stateUpdate, true);\n }\n\n /**\n * Transform this stream using stateful processing without time-sorting.\n *\n * @param <K> type of key\n * @param <S> type of value state\n * @param <V> type of intermediate value\n * @param <O> type of output value\n * @param name optional name of the stateful operation\n * @param keyExtractor extractor of key\n * @param valueExtractor extractor of value\n * @param initialState closure providing initial state value for key\n * @param stateUpdate update (accumulation) function for the state\n * @param outputFn function for outputting values (when function returns {@code null} the output\n * is discarded\n * @return the statefully reduced stream\n */\n default <K, S, V, O> Stream<Pair<K, O>> reduceValueStateByKeyUnsorted(\n @Nullable String name,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"K\") Closure<S> initialState,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<O> outputFn,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<S> stateUpdate) {\n\n return reduceValueStateByKey(\n name, keyExtractor, valueExtractor, initialState, outputFn, stateUpdate, false);\n }\n\n /**\n * Transform this stream using stateful processing.\n *\n * @param <K> type of key\n * @param <S> type of value state\n * @param <V> type of intermediate value\n * @param <O> type of output value\n * @param name optional name of the stateful operation\n * @param keyExtractor extractor of key\n * @param valueExtractor extractor of value\n * @param initialState closure providing initial state value for key\n * @param stateUpdate update (accumulation) function for the state\n * @param outputFn function for outputting values (when function returns {@code null} the output\n * is discarded\n * @param sorted {@code true} if the input to the state update function should be time-sorted\n * @return the statefully reduced stream\n */\n <K, S, V, O> Stream<Pair<K, O>> reduceValueStateByKey(\n @Nullable String name,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"K\") Closure<S> initialState,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<O> outputFn,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<S> stateUpdate,\n boolean sorted);\n\n /**\n * Transform this stream to another stream by applying combining transform in global window\n * emitting results after each element added. That means that the following holds: * the new\n * stream will have exactly the same number of elements as the original stream minus late elements\n * dropped * streaming semantics need to define allowed lateness, which will incur real time\n * processing delay * batch semantics use sort per key\n *\n * @param <K> key type\n * @param <V> value type\n * @param keyExtractor extractor of key\n * @param valueExtractor extractor of value\n * @param initialValue closure providing initial value of state for key\n * @param combiner combiner of values to final value\n * @return the integrated stream\n */\n default <K, V> Stream<Pair<K, V>> integratePerKey(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"K\") Closure<V> initialValue,\n @ClosureParams(value = FromString.class, options = \"V,V\") Closure<V> combiner) {\n\n return integratePerKey(null, keyExtractor, valueExtractor, initialValue, combiner);\n }\n\n /**\n * Transform this stream to another stream by applying combining transform in global window\n * emitting results after each element added. That means that the following holds: * the new\n * stream will have exactly the same number of elements as the original stream minus late elements\n * dropped * streaming semantics need to define allowed lateness, which will incur real time\n * processing delay * batch semantics use sort per key\n *\n * @param <K> key type\n * @param <V> value type\n * @param name optional name of the transform\n * @param keyExtractor extractor of key\n * @param valueExtractor extractor of value\n * @param initialValue closure providing initial value of state for key\n * @param combiner combiner of values to final value\n * @return the integrated stream\n */\n <K, V> Stream<Pair<K, V>> integratePerKey(\n @Nullable String name,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"K\") Closure<V> initialValue,\n @ClosureParams(value = FromString.class, options = \"V,V\") Closure<V> combiner);\n\n /** Reshuffle the stream via random key. */\n default Stream<T> reshuffle() {\n return reshuffle(null);\n }\n\n /**\n * Reshuffle the stream via random key.\n *\n * @param name name of the transform\n */\n @SuppressWarnings(\"unchecked\")\n Stream<T> reshuffle(@Nullable String name);\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 void main(String[] args) {\n\t\tSystem.out.println(\"Supplier test\");\n\t\tSupplier<String> stringSupp = () -> \"test\"; \n\t\tSystem.out.println(stringSupp.get());\n\t\t\t\t\n\t\t// used as a factory\n\t\tSupplier<Integer> intSupp5 = () -> {return new Integer(5);};\t\t\t\t\n\t\tSupplier<Map> hashMapSupp = () -> new HashMap<>();\n\t\t// using a Method Reference\n\t\tSupplier<Map> hashMapSuppMF = HashMap::new;\n\t\t\t\t\t\t\t\t\n\t\t// *** consumer --> Consumer<T> cons = t -> {};\n\t\tSystem.out.println(\"\\nConsumer test\");\n\t\tConsumer cons = t -> {};\n\t\tConsumer<String> commaStringOut = s -> System.out.print(s + \", \");\n\t\tcommaStringOut.accept(\"This is a test\");\n\t\tSystem.out.println(\"\");\n\t\t\n\t\t// andThen - returns a composed Consumer\n\t\tConsumer<String> suffixStringOut = s -> System.out.println(\"of lambdas\");\t\t\n\t\tcommaStringOut.andThen(suffixStringOut).accept(\"This is a test\");\t\n\t\t\n//\t\tConsumer<String> fullStringOut = commaStringOut.andThen(suffixStringOut);\n//\t\tfullStringOut.accept(\"This is a test\");\n\n\t\t// *** function --> Function(T,T) func = t -> t;\n\t\tSystem.out.println(\"\\nFunction test\");\n\t\tFunction func = t -> t;\n\t\t\t\t\n\t\tFunction<String, Integer> stringLength = (s) -> s.length();\n\t\tSystem.out.println(stringLength.apply(\"Hello world\"));\n\t\t\n\t\t// andThen\n\t\tSystem.out.println(\"andThen test\");\n\t\tFunction<Integer, Boolean> lowerThanTen = (i) -> i < 10;\t\t\t\t\n\t\tFunction<String, Boolean> function = stringLength.andThen(lowerThanTen);\n\t\t// Will print false\n\t\tSystem.out.println(function.apply(\"Hello world\"));\n\n\t\t// compose \n\t\tSystem.out.println(\"compose test\");\n\t\tFunction<Integer, Integer> times2 = e -> e * 2;\n\t\tFunction<Integer, Integer> squared = e -> e * e;\n\t\t\n\t\t// returns 64\n\t\tSystem.out.println(times2.andThen(squared).apply(4));\t\n\t\t\n\t\t// returns 32\n\t\tSystem.out.println(times2.compose(squared).apply(4));\t\n\t\t\n\t\t// identity \n\t\tFunction<String,String> strIdenityFunc = Function.identity();\n\t\tSystem.out.println(strIdenityFunc.apply(\"Identity Test\"));\t\n\t\t\n\t\t// *** predicate --> Predicate<T> pred = t -> 1 == 1;\n\t\tSystem.out.println(\"\\nPredicate test\");\n\t\tPredicate<String> lengthTest5 = (s)-> s.length() > 5;\n\t\tSystem.out.println(lengthTest5.test(\"longer than 5 test \"));\n\t\t\n\t\t// and\n\t\tSystem.out.println(\"and test\");\n\t\tPredicate<String> startsWith = (s)-> s.startsWith(\"t\");\n\t\tSystem.out.println(lengthTest5.and(startsWith).test(\"longer than 5 test \"));\n\n\t\t// or\n\t\tSystem.out.println(\"or test\");\n\t\tSystem.out.println(lengthTest5.or(startsWith).test(\"longer than 5 test \"));\n\t\t\n\t\t// negate\n\t\tSystem.out.println(\"negate test\");\n\t\tSystem.out.println(startsWith.negate().test(\"longer than 5 test \"));\n\t\t\n\t\t// isEqual\n\t\tSystem.out.println(\"isEquale test\");\n\t Predicate<String> strEqual = Predicate.isEqual(\"asdf\");\n\t \n\t System.out.println(strEqual.test(\"basddfs\"));\n\t System.out.println(strEqual.test(\"asdf\"));\n\t}",
"protected Pair<JilExpr,List<JilStmt>> doStringConcat(Expr.BinOp bop){\n \t\tString builderLab = \"$builder\" + stringbuilder_label++;\r\n \t\tPair<JilExpr,List<JilStmt>> lhs = doExpression(bop.lhs());\r\n \t\tPair<JilExpr,List<JilStmt>> rhs = doExpression(bop.rhs());\r\n \t\t\r\n \t\tList<JilStmt> stmts = lhs.second();\r\n \t\tstmts.addAll(lhs.second());\r\n \t\tstmts.addAll(rhs.second());\r\n \t\t\r\n \t\tType.Clazz builder = new Type.Clazz(\"java.lang\",\r\n \t\t\t\t\"StringBuilder\");\r\n \t\t\t\t\t\t\r\n \t\tstmts.add(new JilStmt.Assign(new JilExpr.Variable(builderLab, builder),\r\n \t\t\t\tnew JilExpr.New(builder, new ArrayList<JilExpr>(),\r\n \t\t\t\t\t\tnew Type.Function(T_VOID), bop.attributes())));\t\t\t\t\t\r\n \t\t\r\n \t\tType lhs_t = lhs.first().type(); \r\n \t\tif(lhs_t instanceof Type.Primitive || isString(lhs_t)) {\r\n \t\t\tArrayList<JilExpr> params = new ArrayList<JilExpr>();\r\n \t\t\tparams.add(lhs.first());\r\n \t\t\tstmts.add(new JilExpr.Invoke(new JilExpr.Variable(builderLab, builder), \"append\",\r\n \t\t\t\t\tparams, new Type.Function(new Type.Clazz(\"java.lang\",\r\n \t\t\t\t\t\"StringBuilder\"), lhs.first().type()), new Type.Clazz(\r\n \t\t\t\t\t\t\t\"java.lang\", \"StringBuilder\")));\r\n \t\t} else {\r\n \t\t\tArrayList<JilExpr> params = new ArrayList<JilExpr>();\r\n \t\t\tparams.add(lhs.first());\r\n \t\t\tstmts.add(new JilExpr.Invoke(new JilExpr.Variable(builderLab, builder),\r\n \t\t\t\t\t\"append\", params, new Type.Function(new Type.Clazz(\r\n \t\t\t\t\t\t\t\"java.lang\", \"StringBuilder\"),\r\n \t\t\t\t\tJAVA_LANG_OBJECT), new Type.Clazz(\"java.lang\",\r\n \t\t\t\t\t\"StringBuilder\")));\t\r\n \t\t}\r\n \r\n \t\t// Now, do the right hand side\r\n \t\tJilExpr r;\r\n \t\tType rhs_t = rhs.first().type(); \r\n \t\tif(rhs_t instanceof Type.Primitive || isString(rhs_t)) {\r\n \t\t\tArrayList<JilExpr> params = new ArrayList<JilExpr>();\r\n \t\t\tparams.add(rhs.first());\r\n \t\t\tr = new JilExpr.Invoke(new JilExpr.Variable(builderLab, builder), \"append\",\r\n \t\t\t\t\tparams, new Type.Function(new Type.Clazz(\"java.lang\",\r\n \t\t\t\t\t\"StringBuilder\"), rhs_t), new Type.Clazz(\r\n \t\t\t\t\t\t\t\"java.lang\", \"StringBuilder\"));\r\n \t\t} else {\r\n \t\t\tArrayList<JilExpr> params = new ArrayList<JilExpr>();\r\n \t\t\tparams.add(rhs.first());\r\n \t\t\tr = new JilExpr.Invoke(new JilExpr.Variable(builderLab, builder),\r\n \t\t\t\t\t\"append\", params, new Type.Function(new Type.Clazz(\r\n \t\t\t\t\t\t\t\"java.lang\", \"StringBuilder\"), JAVA_LANG_OBJECT),\r\n \t\t\t\t\tnew Type.Clazz(\"java.lang\", \"StringBuilder\"));\r\n \t\t}\r\n \r\n \t\tr = new JilExpr.Invoke(r, \"toString\", new ArrayList<JilExpr>(),\r\n \t\t\t\tnew Type.Function(JAVA_LANG_STRING), JAVA_LANG_STRING);\r\n \t\t\r\n \t\treturn new Pair<JilExpr,List<JilStmt>>(r,stmts);\r\n \t}",
"@Test\n public void testChainingReactions() throws Exception {\n FunctionalReactives.from(1, 2, 3, 4, 5)\n .filter(new Predicate<Integer>() {\n @Override\n public boolean apply(Integer input) {\n return input % 2 == 1; //filter out even integers\n }\n })\n .map(new Function<Integer, Optional<String>>() {\n @Override\n public Optional<String> apply(Integer input) {\n return Optional.of(input.toString()); //convert integer to String\n }\n })\n .reduce(new FunctionAcc<String, String>() {\n @Override\n public Optional<String> apply(String acc, String next) {\n return Optional.of(acc + \",\" + next); //join integers on \",\"\n }\n })\n .forEach(println()) //print out reaction results each in one line\n .start(); //on start() it will iterate through the array to fire the reactives\n\n //Reaction walk through:\n // Original source: 1 -> 2 -> 3 -> 4 -> 5 -> |\n // Filter events: 1 ------> 3 ------> 5 -> |\n // Map to String: \"1\" ----> \"3\" ----> \"5\"-> |\n // Join on \",\" by reduce: -----> \"1,3\" --> \"1,3,5\" -> |\n // Print out on each: ----> \"1,3\\n\" -> \"1,3,5\\n\" -> |\n }",
"public static void main(String[] args) {\n\t\tStream<Integer> stream = Stream.of(1, 2, 3, 4, 5, 6);\n\t\tstream.forEach(System.out::print);\n\t\t//:: is called method refrence \n\t\tStream<Integer> stream1 = Stream.of(new Integer[]{1,2,3,4});\n\t\tstream1.forEach(System.out::println);\n\t\t\n\t\tStream<String> names2 = Stream.of(\"D\", \"A\", \"Z\", \"R\");\n names2.sorted(Comparator.naturalOrder()).forEach(System.out::println);\n\t\t \n \n\t}",
"public static void main(String[] args) {\n Set<String>list=new LinkedHashSet<>();\n list.add(\"Work\");\n list.add(\" smart\");\n list.add(\" not\");\n list.add(\" hard\");\n\n String str2=\"\";\n\n for(String str:list){\n str2+=str;\n }\n System.out.println(str2);\n }",
"public static void main(String []args) {\n\t\tList<String> numbers = Arrays.asList(\"1\", \"2\", \"3\", \"4\", \"5\", \"6\",\"7\",\"8\",\"9\");\r\n\t\t//Generate numbers from 1 to 9\r\n\t\tSystem.out.println(IntStream.range(1,10).mapToObj(String::valueOf).collect(Collectors.toList()));\r\n//\t\tSystem.out.println(\"Original list \" + numbers);\r\n\t\t\r\n\t\tList<Integer> even = numbers.stream()\r\n\t\t\t\t//gets the integer value from the string\r\n//\t\t\t\t.map(s ->Integer.valueOf(s))\r\n\t\t\t\t.map(Integer::valueOf) // Another way to do the top line(line 18)\r\n\t\t\t\t//checking if it is even\r\n\t\t\t\t.filter(number -> number % 2 ==1)// Odd numbers\r\n//\t\t\t\t.filter(number -> number % 2 ==0)// Even numbers\r\n\t\t\t\t//Collects results in to list call even.\r\n\t\t\t\t.collect(Collectors.toList());\r\n\t\t\r\n\t\tSystem.out.println(even);\r\n\r\n\t\tList<String> strings = Arrays.asList(\"abc\", \"\", \"bc\", \"efg\", \"abcd\", \"\", \"jkl\", \"\", \"\");\r\n\t\tSystem.out.println(strings);\r\n\t\t\r\n\t\tList<String> filtered = strings.stream()\r\n\t\t\t\t// checking each item and we check it is empty\r\n\t\t\t\t.filter(s-> !s.isEmpty())\r\n//\t\t\t\t.filter(s-> s.isEmpty())\r\n\t\t\t\t// add the remaining element to the list\r\n\t\t\t\t.collect(Collectors.toList());\r\n\t\tSystem.out.println(filtered);\r\n\t\t\r\n\t\t// Known as a method reference \r\n//\t\tforEach(System.out::println)\r\n\t\t \r\n\t}",
"public void testConsumer ()\n {\n\n List<String> list = new ArrayList<>();\n list.add(\"ccc\");\n list.add(\"bbb\");\n list.add(\"ddd\");\n list.add(\"DDDD\");\n list.add(\"ccc\");\n list.add(\"aaa\");\n list.add(\"eee\");\n\n// Collections.sort(list);\n// Collections.sort(list, (s, s2) -> s.toLowerCase().compareTo(s2.toLowerCase()));\n\n// list.sort((s, s2) -> s.compareTo(s2));\n// list.sort((s, s2) -> s.toLowerCase().compareTo(s2.toLowerCase()));\n\n// list.forEach(s -> System.out.println(s));\n// list.forEach(s -> System.out.println(s));\n\n\n// Predicate<String> predicate2 = s -> s.length()>3;\n// System.out.println(\"predicate2.test(\\\"DDDD\\\") = \" + predicate2.test(\"DDDD\"));\n\n// Stream<String> stringStream = list.stream();\n// stringStream.forEach(s -> System.out.println(s));\n// stringStream.forEach(s -> System.out.println(s));//会报错\n\n// list.stream().forEach(s -> System.out.println(s));\n// list.stream().forEach(s -> System.out.println(s));\n\n //并行流是无序的\n// list.parallelStream().forEach(s -> System.out.println(s));\n// list.parallelStream().forEach(s -> System.out.println(s));\n\n// list.stream().skip(3).forEach(s -> System.out.println(s));\n// list.stream().distinct().forEach(s -> System.out.println(s));\n// System.out.println(\"list.stream().count() = \" + list.stream().count());\n// list.stream().limit(2).forEach(s -> System.out.println(s));\n\n// list.stream().filter(s -> s.length()<4).forEach(s -> System.out.println(s));\n\n// BiFunction<Integer, String, Person> bf = Person::new;\n// BiFunction<Integer, String, Person> bf = (n, s) -> new Person(s);\n\n// Person aaa = bf.apply();\n\n// System.out.println(\"aaa = \" + bf.apply(0, \"aaa\"));\n \n }",
"public String joinedStream(Stream strm) {\n\t\tString str = \"\";\n\t\tstr += joinStreamInfo(strm);\n\t\tMap<String, Set<String>> joinSet = new HashMap<String, Set<String>>();\n\t\tSet<String> newVal = new HashSet<String>();\n\t\tfor (Window win : strm.getFrom().getList()) { //All streamwindows used in the current stream\n\t\t\tif(streamSet.contains(win.getName()))\n\t\t\t\tcontinue; //if stream is generated by starql -> skip\t\n\t\t\tif(win.getName().contains(\"_\")){\n\t\t\t\tString key = win.getName().substring(0,\n\t\t\t\t\t\twin.getName().indexOf(\"_\"));\n\t\t\t\tif(isHistorical())\n\t\t\t\t\tHelperFunctions.mapToSet(joinSet, key, win.getName().substring(win.getName().indexOf(\"_\")) + \"_stream\");\n\t\t\t\telse\n\t\t\t\t\tHelperFunctions.mapToSet(joinSet, key, win.getName().substring(win.getName().indexOf(\"_\")));\n\t\t\t\tnewVal.clear();\n\t\t\t}else{\n\t\t\t\tif(isHistorical())\n\t\t\t\t\tHelperFunctions.mapToSet(joinSet, win.getName(), win.getName()+\"_stream\");\n\t\t\t\telse\n\t\t\t\t\tHelperFunctions.mapToSet(joinSet, win.getName(), win.getName());\n\t\t\t}\n\t\t}\n\t\t\n\t\tstreamSet.clear();\n\t\tstreamSet.addAll(joinSet.keySet());\n\t\tstreamSet.addAll(streamSet2);\n\t\tif(!joinSet.isEmpty()){\t\n\t\t\tIterator it = joinSet.entrySet().iterator();\n\t\t\twhile (it.hasNext()) {\t\t\t\t\n\t\t\t\tMap.Entry mapEntry = (Map.Entry) it.next();\t\t\t\t\n\t\t\t\tstr += \"\\r\\n\"+genTableStr;\n\t\t\t\tstr += mapEntry.getKey() + \" AS WCACHE \\r\\n\";\n\t\t\t\tstr += \"SELECT * FROM\\r\\n \";\n\t\t\t\tboolean first2 = true;\n\t\t\t\tfor (String val : (Set<String>) mapEntry.getValue()) {\n\t\t\t\t\tif(((Set<String>) mapEntry.getValue()).size() == 1 && !mapEntry.getKey().toString().contains(\"_\") ){\n\t\t\t\t\t\tstr += val;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tif(((Set<String>) mapEntry.getValue()).size() == 1){\n\t\t\t\t\t\t\tstr += mapEntry.getKey() + val;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tif (first2) {\n\t\t\t\t\t\t\t\tstr += \"(mergeunion '\"+mapEntry.getKey() + val;\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\tstr += \", \"+mapEntry.getKey() + val;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfirst2 = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(((Set<String>) mapEntry.getValue()).size() > 1)\n\t\t\t\t\tstr += \t\"' cols:wid)\";\n\t\t\t\tstr += \";\\r\\n\";\n\t\t\t\tit.remove(); // avoids a ConcurrentModificationException\n\t\t\t}\t\t\t\n\t\t}\t\n\t\t//str += nowVal(strm, hasNative);\n\t\treturn str;\n\t}",
"public static void main(String[] args) throws Exception {\n List<Integer> numberList = IntStream\n .generate(() -> ThreadLocalRandom.current().nextInt(10))\n .limit(100)\n .boxed()\n .collect(Collectors.toList());\n\n // collecting the stream to a set\n Set<Integer> numberSet = IntStream\n .generate(() -> ThreadLocalRandom.current().nextInt(10))\n .limit(100)\n .boxed()\n .collect(Collectors.toSet());\n\n // String concatenation again\n String s = Arrays.asList(\"John\", \"Jack\", \"Mary\", \"Nancy\")\n .stream()\n .collect(Collectors.joining(\",\"));\n\n // create a map; keys are names; values are length of names\n Map<String, Integer> m1 =\n Arrays.asList(\"Jack\", \"John\", \"Jeremy\", \"Mary\", \"Nancy\")\n .stream()\n .collect(Collectors.toMap(e -> e, e -> e.length()));\n\n // create a map; keys are length of names; values are list of names\n Map<Integer, List<String>> m2 =\n Arrays.asList(\"Jack\", \"John\", \"Jeremy\", \"Mary\", \"Nancy\")\n .stream()\n .collect(Collectors.groupingBy(\n name -> name.length(),\n Collectors.toList()\n ));\n }",
"public static void main(String[] args) {\n deck = new Deck();\n\n //1c)\n hand = deck.assign(10);\n\n // prints all cards in hand\n System.out.print(String.format(\"Printing all %s cards in hand: \", hand.size()));\n hand.stream()\n .map(Card::getDetails)\n .sorted() //TODO fix sorting by numeric value. x1 x11 x12 x10 x2 etc..\n .forEachOrdered(\n det -> Stream.concat(Stream.of(det), Stream.of(\", \"))\n .forEachOrdered(System.out::print));\n //TODO refactor formatted print to own method\n System.out.println(\"\");\n\n //1d) filter and print specific suit from hand\n //TODO refactor to separate method and make calls for each suit\n\n System.out.print(\"Printing all Spades suit cards: \");\n hand.stream()\n .filter(Card -> (Card.getSuit() == 'S'))\n .map(Card::getDetails)\n .sorted() //TODO fix sorting by numeric value. x1 x11 x12 x10 x2 etc..\n .forEachOrdered(\n det -> Stream\n .concat( Stream.of(det), Stream.of(\", \") ) //separates cards with \", \"\n .forEachOrdered(System.out::print) );\n System.out.println(\"\"); //line break\n\n\n // 1e) filters heart cards from hand into new set\n HashSet<Card> cardsOfHeart = hand.stream()\n .filter(Card -> ( Card.getSuit() == 'H') )\n .collect(Collectors\n .toCollection(HashSet::new));\n\n //print heart cards\n System.out.print( String.format( \"Printing all %s heart cards: \", cardsOfHeart.size() ) );\n cardsOfHeart.stream()\n .map(Card::getDetails) //map to card details\n .sorted() //TODO fix sorting by numeric value. x1 x11 x12 x10 x2 etc..\n .forEachOrdered(\n det -> Stream\n .concat( Stream.of(det), Stream.of(\", \") ) //separates cards with \", \"\n .forEachOrdered(System.out::print)\n );\n System.out.println(\"\");\n\n //1f) stream map cards to stream of suit chars\n System.out.print(\"Printing only suit value of cards in hand: \");\n hand.stream().map(Card::getSuit).sorted().forEachOrdered(System.out::print);\n System.out.println(\"\");\n\n //1g) stream reduce card values to sum of values in hand\n System.out.println(\n String.format(\"The sum of the face values on hand is %s\",\n hand.stream()\n .map(Card::getFace)\n .reduce(0, Integer::sum)\n )\n );\n\n }",
"@Test\r\n\tvoid testAppend2() {\r\n\t\tSimpleList test = new SimpleList();\r\n\t\ttest.append(1);\r\n\t\ttest.append(2);\r\n\t\ttest.append(3);\r\n\t\ttest.append(4);\r\n\t\ttest.append(5);\r\n\t\ttest.append(6);\r\n\t\ttest.append(7);\r\n\t\ttest.append(8);\r\n\t\ttest.append(9);\r\n\t\ttest.append(10);\r\n\t\ttest.append(11);\r\n\t\tString output = test.toString();\r\n\t\tassertEquals(\"1 2 3 4 5 6 7 8 9 10 11\", output);\r\n\t}",
"public static void main(String[] args){\n SomeFunc<String> reverse = (str) -> new StringBuilder(str).reverse().toString();\n// System.out.println(reverse.func(\"Hello World\"));\n\n // passing lambda expressions as arguments\n// System.out.println(makeHappy((s -> s + \" :)\"), \"Hello Jeff\"));\n\n MyNumberType doubleNum = (nt) -> nt * 2;\n MyNumberType addOneToNum = (nt)-> nt + 1;\n System.out.printf(\"2 doubled is %d, 2 + 1 is %d\", doubleNum.transform(2), addOneToNum.transform(2));\n System.out.printf(\"\\n2 doubled + 1 is %d\", doubleNum.andThen(addOneToNum).transform(2));\n\n// consumerDemo();\n// predicateDemo();\n functionDemo();\n// supplierDemo();\n\n }",
"public static void main(String[] args) {\n\t\tStringJoiner joiner=new StringJoiner(\" and \",\"{\",\"}\");\n\t\tjoiner.add(\"python\");\n\t\tjoiner.add(\"java\");\n\t\tjoiner.add(\"c\");\n\t\tjoiner.add(\"c++\").add(\"html\").add(\"css\").add(\"js\");\n\t\tString s=joiner.toString();\n\t\tSystem.out.println(s);\n\t\tString s1=\"asd ad ad vxczvz\";\n\t\tSystem.out.println(s1.lastIndexOf(\" \"));\n\t\tSystem.out.println(s1.substring(s1.lastIndexOf(\" \")));\n\t\t\n\t\tStringJoiner joiner1=new StringJoiner(\" and \",\"[\",\"]\");\n\t\tjoiner1.add(\"asdsa\").add(\"rgrg\").add(\"grger\");\n\t\tSystem.out.println(joiner1);\n\t\tjoiner.merge(joiner1);\n\t\tSystem.out.println(joiner);\n\t}",
"public static String myConcatenator(String str1, String str2)\r\n {\r\n str1 += str2;\r\n return str1;\r\n }",
"public static void main(String[] args) {\n\r\n\t\t String s1=\"Lambda\";\r\n\r\n\t\t String s2=\"Expression\";\r\n\r\n\t\t \r\n\r\n\t\t StringFormatter x=(a1,a2)->a1+\" \"+a2;\r\n\r\n\t\t StringFormatter y=(a1,a2)->a1+\"-\"+a2;\r\n\r\n\t\t StringFormatter z=(a1,a2)->a1.toUpperCase()+\" \"+a2.toUpperCase();\r\n\r\n\t\t \r\n\r\n\t\t System.out.println(x.format(s1, s2));\r\n\r\n\t\t System.out.println(y.format(s1, s2));\r\n\r\n\t\t System.out.println(z.format(s1, s2));\r\n\r\n}",
"public static void exampleStringJoiner() {\n\t\tStringJoiner example1 = new StringJoiner(\",\"); // passing comma(,) as delimiter\r\n\r\n\t\t// Adding values to StringJoiner\r\n\t\texample1.add(\"Rohini Example1\");\r\n\t\texample1.add(\"Alex Example1\");\r\n\t\texample1.add(\"Peter Example1\");\r\n\r\n\t\tSystem.out.println(\"Example 1 - passing comma(,) as delimiter ... \\n\" + example1);\r\n\t\t\r\n\t\t// Example 2 - passing comma(,) and square-brackets (adding prefix and suffix) as delimiter\r\n\t\tStringJoiner example2 = new StringJoiner(\":\", \"[\", \"]\"); // passing comma(,) and square-brackets as delimiter\r\n\r\n\t\t// Adding values to StringJoiner\r\n\t\texample2.add(\"Rohini Example2\");\r\n\t\texample2.add(\"Raheem Example2\");\r\n\t\tSystem.out.println(\"\\nExample 2 - passing comma(:) and square-brackets (adding prefix and suffix) as delimiter ... \\n\" + example2);\r\n\r\n\t\t// Example 3 - Merge Two StringJoiner\r\n\t\tStringJoiner merge = example1.merge(example2);\r\n\t\tSystem.out.println(\"\\nExample 3 - Merge Two StringJoiner ... \\n\" + merge);\r\n\t}",
"public static void main(String[] args) {\r\n\t// challenge #1: anonymous to lambda expression\r\n\r\n Runnable runnable = new Runnable() {\r\n @Override\r\n public void run() {\r\n String myString = \"Let's split this up into an string\";\r\n String[] parts = myString.split(\" \");\r\n for (String part : parts) {\r\n System.out.println(part);\r\n }\r\n }\r\n };\r\n\r\n Runnable runable = () -> {\r\n String myString = \"Let's split this up into an string\";\r\n String[] parts = myString.split(\" \");\r\n for (String part : parts) {\r\n System.out.println(part);\r\n }\r\n };\r\n\r\n /*challenge #2: write the following method as a lambda expression*/\r\n Function<String,String> lambdaFunction = s -> {\r\n StringBuilder returnVal = new StringBuilder();\r\n for (int i=0; i<s.length(); i++) {\r\n if (i % 2 == 1) {\r\n returnVal.append(s.charAt(i));\r\n }\r\n }\r\n return returnVal.toString();\r\n };\r\n\r\n /* challenge #3: execute the function with the argument of \"123456789\"*/\r\n\r\n// System.out.println(lambdaFunction.apply(\"123456789\"));\r\n\r\n // challenge #5\r\n String result = everySecondCharacter(lambdaFunction,\"123456789\");\r\n System.out.println(result);\r\n\r\n // challenge #6\r\n// Supplier<String> iLoveJava = () -> \"i love java\";\r\n Supplier<String> iLoveJava = () -> {return \"i love java\";};\r\n\r\n // challenge #7\r\n String supplierResult = iLoveJava.get();\r\n System.out.println(supplierResult);\r\n\r\n\r\n List<String> topNames2015 = Arrays.asList(\r\n \"Amelia\",\r\n \"Olivia\",\r\n \"emily\",\r\n \"Isla\",\r\n \"Ava\",\r\n \"oliver\",\r\n \"Jack\",\r\n \"Charlie\",\r\n \"harry\",\r\n \"Jacob\"\r\n );\r\n\r\n List<String> firstUpperCaseList = new ArrayList<>();\r\n topNames2015.forEach(name -> {\r\n firstUpperCaseList.add(name.substring(0,1).toUpperCase() + name.substring(1));\r\n });\r\n firstUpperCaseList.sort(String::compareTo);\r\n firstUpperCaseList.forEach(System.out::println);\r\n\r\n System.out.println(\"-----------\");\r\n topNames2015.stream()\r\n .map(name -> name.substring(0,1).toUpperCase() + name.substring(1))\r\n .sorted()\r\n .forEach(System.out::println);\r\n\r\n long namesBeginningWithA = topNames2015.stream()\r\n .map(name -> name.substring(0,1).toUpperCase() + name.substring(1))\r\n .filter(name ->name.startsWith(\"A\"))\r\n .count();\r\n\r\n System.out.println(\"Numbers of name begining with A\" + namesBeginningWithA);\r\n\r\n // Stream chain is lazy evaluated\r\n topNames2015\r\n .stream()\r\n .map(name -> name.substring(0,1).toUpperCase() + name.substring(1))\r\n .peek(System.out::println)\r\n .sorted(String::compareTo)\r\n .collect(Collectors.toList());\r\n\r\n\r\n\r\n\r\n }",
"private void collapse(StringBuffer result, String text) {\n \n }",
"public static void main(String[] args) {\n\t\n\t\tm(\"Iterate\", () -> {\t\t\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tSupplier<IntStream>[] sArr = (Supplier<IntStream>[])new Supplier[] {\n\t\t\t\t() -> IntStream.iterate(2, i -> 2 * i),\n\t\t\t\t() -> IntStream.iterate(10, i -> i - 1),\n\t\t\t\t() -> IntStream.iterate(10, i -> i),\n\t\t\t\t() -> IntStream.iterate(10, i -> 2),\n\t\t\t\t() -> IntStream.iterate(42, IntUnaryOperator.identity()),\n\t\t\t\t() -> IntStream.iterate(42, IntUnaryOperator.identity().andThen(IntUnaryOperator.identity())),\n\t\t\t};\n\t\t\tStream.of(sArr).forEach(supplier -> supplier.get().limit(10).forEach(System.out::println));\n\t\t});\n\t\t\n\t\t\n\t\t//Various IntStream generations. generate produces elements without input => it uses an IntSupplier.\n\t\t\n\t\tSystem.out.println(\"---------------------------------------------\");\n\t\t\n\t\tm(\"Generate\", () -> {\t\t\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tSupplier<IntStream>[] sArr = (Supplier<IntStream>[])new Supplier[] {\n\t\t\t\t() -> IntStream.generate(() -> new Random().nextInt()),\n\t\t\t\t() -> IntStream.generate(() -> new Random().nextInt()).filter(n -> n >= 0),\n\t\t\t\t() -> IntStream.generate(() -> 10),\n\t\t\t\t() -> IntStream.generate(() -> new Random().nextInt() % 20).filter(n -> n >= 0)\n\t\t\t};\n\t\t\tStream.of(sArr).forEach(supplier -> {supplier.get().limit(10).forEach(System.out::println); System.out.println(\"--------------------------------\");});\n\t\t});\n\t\t\n\t\t\n\t\t//Iterate and generate for DoubleStream, LongStream and Stream<T>\n\t\t\n\t\t\n\t\tm(\"DoubleStream iterate and generate\", () -> {\t\t\n\t\t\tDoubleStream.iterate(1, d -> d + d / 2).limit(20).forEach(System.out::println); //Uses DoubleUnaryOperator\n\t\t\tSystem.out.println(\"-------------------------\");\n\t\t\tDoubleStream.generate(() -> new Random().nextDouble()).limit(5).forEach(System.out::println); //Uses DoubleSupplier\n\t\t});\n\t\t\n\t\tm(\"LongStream iterate and generate\", () -> {\t\t\n\t\t\tLongStream.iterate(2, n -> n * n).limit(4).forEach(System.out::println); //Uses LongUnaryOperator\n\t\t\tSystem.out.println(\"-------------------------\");\n\t\t\tDoubleStream.generate(() -> new Random().nextLong()).limit(5).forEach(System.out::println); //Uses LongSupplier\n\t\t});\n\t\t\n\t\tm(\"Stream iterate and generate\", () -> {\t\t\n\t\t\tStream.<List<Object>>iterate(new ArrayList<Object>(), l -> {l.add(1); return l;}).limit(4).forEach(System.out::println); //Uses UnaryOperator\n\t\t\tSystem.out.println(\"-------------------------\");\n\t\t\tStream.<List<Object>>generate(() -> new ArrayList<Object>()).limit(4).forEach(System.out::println); //Uses Supplier\n\t\t});\n\t\t\n\t\tm(\"noneMatch\", () -> {\t\t\n\t\t\tStream<String> stream = Stream.<String>iterate(\"-\", s -> s + s);\n\t\t\tPredicate<String> predicate = s -> s.length() > 3;\n\t\t\tSystem.out.println(stream.noneMatch(predicate)); //Note: this is not infinite. None match will fail as soon as one element is found\n\t\t});\n\t\t\n\t\tm(\"allMatch\", () -> {\t\t\n\t\t\tStream<String> stream = Stream.<String>iterate(\"-\", s -> s + s);\n\t\t\tPredicate<String> predicate = s -> s.length() > 0;\n\t\t\tPredicate<String> predicate2 = s -> s.length() > 3;\n\t\t\t//System.out.println(stream.allMatch(predicate)); //Note: This is infinite and will fail with OOM error\n\t\t\tSystem.out.println(stream.allMatch(predicate2)); //Note how this will return as the first element does not match so false can be returned\n\t\t});\n\t\t\n\t}",
"public static void main(String[] args){\n int result = Stream.of(1,2,3,4,5,6,7,8,9,10)\n .reduce(0,Integer::sum);//metodo referenciado\n// .reduce(0, (acumulador, elemento) -> acumulador+elemento);\n System.out.println(result);\n\n // Obtener lenguajes separados por pipeline entre ellos y sin espacios\n // opcion 1(mejor) con operador ternario\n String cadena = Stream.of(\"Java\",\"C\",\"Python\",\"Ruby\")\n .reduce(\"\", (acumulador, lenguaje) -> acumulador.equals(\"\")?lenguaje:acumulador + \"|\" + lenguaje);\n\n System.out.println(cadena);\n\n //Opcion 2 Con regex\n String cadenaRegex = Stream.of(\"Java\",\"C\",\"Python\",\"Ruby\")\n .reduce(\"\", (acumulador, lenguaje) -> acumulador + \"|\" + lenguaje)\n .replaceFirst(\"\\\\|\",\"\") // Quitamos la primera pipeline\n .replaceAll(\"\\\\s\",\"\"); // Quitamos todos los espacios\n\n System.out.println(cadenaRegex);\n }",
"private void createStringConcat( AOpExpr node){\n\t\til.append(fi.createNew(\"java.lang.StringBuilder\"));\n \til.append(InstructionConstants.DUP);\n \tnode.getLeft().apply(this); //Load the left string.\n \til.append(fi.createInvoke(\"java.lang.StringBuilder\", \"<init>\", org.apache.bcel.generic.Type.VOID, new org.apache.bcel.generic.Type[] { org.apache.bcel.generic.Type.STRING }, Constants.INVOKESPECIAL));\n \tnode.getRight().apply(this); \n \til.append(fi.createInvoke(\"java.lang.StringBuilder\", \"append\", new org.apache.bcel.generic.ObjectType(\"java.lang.StringBuilder\"), new org.apache.bcel.generic.Type[] { org.apache.bcel.generic.Type.STRING }, Constants.INVOKEVIRTUAL));\n \til.append(fi.createInvoke(\"java.lang.StringBuilder\", \"toString\", org.apache.bcel.generic.Type.STRING, org.apache.bcel.generic.Type.NO_ARGS, Constants.INVOKEVIRTUAL));\n\t}",
"public String joinStreamInfo(Stream stream) {\n\t\tString str = \"\";\n\t\tBoolean first = true;\t\t\n\t\t\n\t\tfor (Window win : stream.getFrom().getList()) {\n\t\t\tif (streamSet.contains(win.getName())) {\n\t\t\t\tstr += \"\\r\\n\"+genTableStr + win.getName()\n\t\t\t\t\t\t+ \"_starqlout_w AS WCACHE\\r\\n\";\t\n\t\t\t\tstr += \"select * from \\r\\n(ordered timeslidingwindow timecolumn:0\"\n\t\t\t\t\t\t+ \" timewindow:\" + win.getTimewindow() + \" frequency:\" + win.getSlide()\n\t\t\t\t\t\t+ \" \" + \"granularity:1\"\n\t\t\t\t\t\t+ \" equivalence:floor select * from (\"+win.getName()+\"_starqlout));\\r\\n\";\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (Window win : stream.getFrom().getList()) {\n\t\t\tif (streamSet.contains(win.getName())) {\n\t\t\t\tif (!first) {\n\t\t\t\t\tstr += \"\\r\\nUNION\\r\\n\";\n\t\t\t\t} else {\n\t\t\t\t\tstr += \"\\r\\n\"+genTableStr + stream.getName()\n\t\t\t\t\t\t\t+ \"_strminfo AS WCACHE\\r\\n\";\t\t\t\t\n\t\t\t\t}\n\t\t\t\tstr += \"SELECT * FROM \" + win.getName() + \"_starqlout_w\";\n\t\t\t\tfirst = false;\n\t\t\t\tstreamSet2.add(stream.getName()+\"_strminfo\");\n\t\t\t}\t\t\t\n\t\t}\t\t\n\t\tif(first == false)\n\t\t\tstr += \";\\r\\n\";\n\t\treturn str;\n\t}",
"default HtmlFormatter wrapWith(String left, String right) {\n return andThen(s -> String.join(\n \"\",\n left,\n s,\n right\n ));\n }",
"private void usingPrimitiveStream() {\n IntStream.range(1, 4).forEach(System.out::println);\n DoubleStream.of(2.3, 4.3).forEach(System.out::println);\n LongStream.range(1, 4).forEach(System.out::println);\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 static void main(String[] args) {\n List<Character> chars = Arrays.asList('K', 'I', 'T', 'T', 'E', 'N', '.');\n String charsAsString = chars.stream()\n .map(character -> character.toString())\n .collect(Collectors.joining());\n System.out.println(charsAsString);\n }",
"public static void main(String[] args) {\n List<String> names = Arrays.asList(\"Smith\", \"Gourav\", \"Heather\", \"John\", \"Catania\");\n Function<String, Integer> nameSize = String::length;\n var newList = names.stream().map(nameSize).collect(Collectors.toList());\n System.out.println(newList);\n System.out.println(\"----------------------------------------------------------\");\n var newList1 = testMyFunc(names, s -> s.concat(\" A\"));\n System.out.println(newList1);\n System.out.println(\"----------------------------------------------------------\");\n\n // For two arguments\n Map<String, Integer> salaries = new HashMap<>();\n salaries.put(\"John\", 40000);\n salaries.put(\"Freddy\", 30000);\n salaries.put(\"Samuel\", 50000);\n BiFunction<String, Integer, Integer> bf =\n (name, oldValue) -> name.equals(\"Freddy\") ? oldValue : oldValue + 5000;\n salaries.replaceAll(bf);\n System.out.println(salaries);\n }",
"public void printItemsUsingLambdaCollectorsJDK8(List<Item> items){\n\t\tIO.print(\"\\nPrint average of all items price using JDK8 stream, method reference, collector!\");\r\n\t\t// average requires total sum and no of items as well.\r\n\t\t// collect returns ONLY one value throughout the stream. So we need some kind of placer where we will keep storing sum, count during stream.\r\n\t\tAverager avg = items\r\n\t\t\t.stream()\r\n\t\t\t.map(Item::getPrice) \r\n\t\t\t// alternate of item -> item.getPrice()\r\n\t\t\t.collect(Averager::new, Averager::accept, Averager::mergeIntermediateAverage); \r\n\t\t\t//accept takes one double value from stream and call merge.. method, which combines previous averger`s sum, count.\r\n\t\t\t// All Averager`s methods have no return type except for average which is not used in stream processing.\r\n\t\tIO.print(\"Average of price: \" + String.format(\"%.4f\", avg.average()));\r\n\t\t\r\n\t\tIO.print(\"\\nPrint total of items price using JDK8 stream, collector, suming!\");\r\n\t\tdouble total = items\r\n\t\t\t.stream()\r\n\t\t\t.collect(Collectors.summingDouble(Item::getPrice)); // no need for map as well.\r\n\t\tIO.print(\"Total price: \" + String.format(\"%.4f\", total)); // same result\r\n\t\t\r\n\t\tIO.print(\"\\nPrint total of all items price using JDK8 stream, collector toList!\");\r\n\t\tList<Double> prices = items\r\n\t\t\t.stream()\r\n\t\t\t.map(Item::getPrice) \r\n\t\t\t// alternate of item -> item.getPrice()\r\n\t\t\t.collect(Collectors.toList()); \r\n\t\t\t// collects stream of elements i.e. price, and creates a List of price.\r\n\t\tIO.print(\"List of prices: \" + prices); \r\n\t\t\r\n\t\tIO.print(\"\\nPrint total of all items price using JDK8 stream, collector toCollection!\");\r\n\t\tprices = items\r\n\t\t\t.stream()\r\n\t\t\t.map(Item::getPrice) \r\n\t\t\t.collect(Collectors.toCollection(ArrayList::new)); // same as toList: Here, we can get prices in any list form; TreeSet, HashSet, ArrayList.\r\n\t\tIO.print(\"List of prices: \" + prices);\r\n\t\t\r\n\t\tIO.print(\"\\nPrint total of all items price using JDK8 stream, collector joining!\");\r\n\t\tString priceString = items\r\n\t\t\t.stream()\r\n\t\t\t.map(Item::getPrice)\r\n\t\t\t.map(Object::toString) //basically, double.toString() as upper map converts stream of Item into stream of Double\r\n\t\t\t.collect(Collectors.joining(\", \")); // same as toList.\r\n\t\tIO.print(\"List of prices: [\" + priceString + \"]\"); \r\n\t\t\r\n\t\tIO.print(\"\\nPrint items based on type using JDK8 stream, collector grouping!\");\r\n\t\tMap<ITEM_TYPE, List<Item>> byType = items\r\n\t\t\t.stream()\r\n\t\t\t.collect(Collectors.groupingBy(Item::getType));\r\n\t\tIO.print(\"Items by Type: \" + byType ); \r\n\t\t\r\n\t\tIO.print(\"\\nPrint items based on type using JDK8 stream, collector grouping!\");\r\n\t\tMap<ITEM_TYPE, Double> sumByType = items\r\n\t\t\t.stream()\r\n\t\t\t.collect(Collectors.groupingBy(Item::getType, Collectors.summingDouble(Item::getPrice)));\r\n\t\tIO.print(\"Total prices by Type: \" + sumByType); \r\n\t\t\r\n\t\tIO.print(\"\\nPrint items based on type using JDK8 stream, collector grouping!\");\r\n\t\tMap<ITEM_TYPE, Optional<Item>> largetstByType = items\r\n\t\t\t.stream()\r\n\t\t\t.collect(Collectors.groupingBy(Item::getType, Collectors.maxBy(Comparator.comparing(Item::getPrice) )));\r\n\t\tIO.print(\"Total prices by Type: \" + largetstByType); \r\n\t}",
"protected static void performReduceWithABinaryOperator() {\n Integer sum = Stream.of(1, 2, 3, 4, 5).reduce(0, Integer::sum);\n\n Integer minValue = Stream.of(5, 4, 9, 2, 1).reduce(Integer.MIN_VALUE, Integer::max);\n\n String concatenation = Stream.of(\"str \", \"= \", \"alt \", \"string\")\n // the first parameter becomes the target of the concat method and the second one is the argument to concat\n // the target, the parameter and the result are of the same type and this can be considered a binary\n // operator for the reduce method\n .reduce(\"\", String::concat);\n System.out.println(concatenation);\n }",
"@Test\n public void collectAndReduce() {\n List<Book> collectedWithReduce = TestData.getBooks().stream()\n .reduce(new ArrayList<Book>(),\n (list, book) -> {\n // Separate list created to avoid mutating elements in the list\n // -> works also with parallel streams\n ArrayList<Book> result = new ArrayList<Book>(list);\n result.add(book);\n return result;\n }, (list1, list2) -> {\n ArrayList<Book> result = new ArrayList<Book>(list1);\n result.addAll(list2);\n return result;\n });\n assertEquals(4, collectedWithReduce.size());\n\n // Collect to list \"manually\" with collect\n // R collect(Supplier<R> supplier, BiConsumer<R, ? super T> accumulator,\n // BiConsumer<R, R> combiner)\n List<Book> books = TestData.getBooks().stream()\n .collect(ArrayList::new, ArrayList::add, ArrayList::addAll);\n assertEquals(4, books.size());\n\n // And the typical way using utilities from java.util.stream.Collectors\n assertEquals(4,\n TestData.getBooks().stream().collect(Collectors.toList()).size());\n }",
"private static void functionStream() {\n\t\tStream.iterate(0, n -> n + 2).limit(10).forEach(System.out::println);\n\t\tStream.generate(Math::random).limit(4).forEach(System.out::println);\n\n\t}",
"public static void main(String[] args) {\n\t\tList<List<String>> activityList = Student.getListOfStudents().stream().map(Student::getActivities)\n\t\t\t\t.collect(Collectors.toList());\n\t\tSystem.out.println(activityList);\n\n\t\t// Flat Map Demo\n\t\tList<String> activityList1 = Student.getListOfStudents().stream().map(Student::getActivities)\n\t\t\t\t.flatMap(List::stream).collect(Collectors.toList());\n\t\tSystem.out.println(activityList1);\n\n\t\t// Distinct element form stream\n\t\tList<String> distictActivityList = Student.getListOfStudents().stream().map(Student::getActivities)\n\t\t\t\t.flatMap(List::stream).distinct().collect(Collectors.toList());\n\t\tSystem.out.println(distictActivityList);\n\n\t\t// Count number of elements after manipulation\n\t\tlong activityCount = Student.getListOfStudents().stream().map(Student::getActivities).flatMap(List::stream)\n\t\t\t\t.distinct().count();\n\t\tSystem.out.println(\"Activity Count : \" + activityCount);\n\n\t\t// Comparator Traditional\n\t\tList<String> studentNameList = Student.getListOfStudents().stream().map(Student::getStudentName)\n\t\t\t\t.sorted((i1, i2) -> i1.compareTo(i2)).collect(Collectors.toList());\n\t\tSystem.out.println(studentNameList);\n\n\t\t// Comparator Using Stream\n\t\tList<String> studentNamecomparator = Student.getListOfStudents().stream()\n\t\t\t\t.sorted(Comparator.comparing(Student::getStudentName)).map(Student::getStudentName)\n\t\t\t\t.collect(Collectors.toList());\n\t\tSystem.out.println(studentNamecomparator);\n\n\t\t// Comparator Using Stream\n\t\tList<String> studentNamecomparatorReverseOrder = Student.getListOfStudents().stream()\n\t\t\t\t.sorted(Comparator.comparing(Student::getStudentName).reversed()).map(Student::getStudentName)\n\t\t\t\t.collect(Collectors.toList());\n\t\tSystem.out.println(studentNamecomparatorReverseOrder);\n\n\t}",
"private String listToString(CommonList fs) throws SAXException {\n if (fs == null) {\n return null; // different from \"\"\n }\n final StringBuilder sb = new StringBuilder();\n fs.anyListToOutput(cds.sharedData, cds, s -> {\n if (sb.length() > 0) {\n sb.append(' ').append(s);\n } else {\n sb.append(s);\n }\n });\n return sb.toString();\n }",
"private void exercise1() {\n final List<String> list = asList(\n \"The\", \"Quick\", \"BROWN\", \"Fox\", \"Jumped\", \"Over\", \"The\", \"LAZY\", \"DOG\");\n\n final List<String> lowerList = list.stream()\n .map(String::toLowerCase)\n .peek(System.out::println)\n .collect(toList());\n }",
"public static void main(String[] args) {\n Consumer<Integer> consumer = x ->{\n System.out.println(\"Number is :\"+x);\n };\n consumer.accept(55);\n //Supplier\n Supplier<String> str = () -> \"Implementation of Supplier \";\n System.out.println(str.get());\n //Predicate\n int a=37;\n Predicate<Integer> isOddPredicate = x -> x%2 != 0;\n System.out.println(\"Is \"+a+\" Odd Number :\"+isOddPredicate.test(a));\n //Function\n int b=7;\n Function<Integer,Integer> squareFunction = x -> x*x;\n System.out.println(\"Square of \"+b+\" is \"+squareFunction.apply(b));\n\n //Example\n List<Integer> list = List.of(12,9,13,4,6,2,4);\n Consumer<Integer> con = System.out::println;\n System.out.println(\"Example(Square of odd no.) : \");\n list.stream()\n .filter(isOddPredicate)\n .map(squareFunction)\n .forEach(con);\n\n\n\n }",
"public String toDetailedString() {\n \t\tStringJoiner joiner = new StringJoiner(\"\\r\\n\");\n \t\tfor (MethodInfo method : methods) {\n \t\t\tjoiner.add(method.toString());\n \t\t}\n \t\treturn joiner.toString();\n \t}",
"@Ignore\n @Test\n public void hashSetToStream() {\n // BEGIN HASHSET_TO_STREAM\n Set<Integer> numbers = new HashSet<>(asList(4, 3, 2, 1));\n\n List<Integer> sameOrder = numbers.stream()\n .collect(toList());\n\n // This may not pass\n assertEquals(asList(4, 3, 2, 1), sameOrder);\n // END HASHSET_TO_STREAM\n }",
"public static void main(String[] args) {\n\n\t\t\n\t\tSet list = new HashSet();\n\t\tlist.add(\"1\");\n\t\tlist.add(\"2\");\n\t\tlist.add(\"3\");\n\t\tlist.add(\"1\");\n\t\tlist.forEach(System.out::print); // 123\n\t\t\n\t\tSystem.out.println(\"---------------------------\");\n\t\t\n//\t\tStream<String> stream = Arrays.stream(new String[] {\"a\",\"b\",\"c\"});\n//\t\tString output = stream.filter(s->{ \n//\t\t\tif(s.compareTo(\"abc\") > 0)\n//\t\t\t\treturn true;\n//\t\t})\n//\t\t.peek(System.out::print)\n//\t\t.collect(Collectorsjoining()); //Compilation Fail Here\n//\t\tSystem.out.println(output);\n\t\t\n\t\t\n\t\tVector obj = new Vector(4,2);\n\t\tobj.addElement(new Integer(3));\n\t\tobj.addElement(new Integer(2));\n\t\tobj.addElement(new Integer(5));\n\t\tSystem.out.println(obj.capacity());\n\t\t\n\t\tSystem.out.println(\"---------------------------\");\n\t\t\n//\t\tSet _set = new HashSet();\n\t\tSet _set = new TreeSet();\n\t\t_set.add(new Integer(2));\n\t\t_set.add(new Integer(1));\n\t\tSystem.out.println(_set); // [1,2] TreeSet will Guaranteed Sorting\n\t\t\n\t\tSystem.out.println(\"---------------------------\");\n\t\t\n\t\tSet<Integer> ss = new HashSet<Integer>();\n\t\tInteger i1 = 45;\n\t\tInteger i2 = 46;\n\t\tss.add(i1);\n\t\tss.add(i1);\n\t\tss.add(i2);\n\t\tSystem.out.print(ss.size() + \" \");\n\t\tss.remove(i1);\n\t\tSystem.out.print(ss.size() + \" \");\n\t\ti2=47;\n\t\tss.remove(i2);\n\t\tSystem.out.print(ss.size() + \" \");\n\t\t\n\t\tSystem.out.println(\"---------------------------\");\n\t}",
"public static void main(String[] args) {\n //StringCircularBuffer buffer = new StringCircularBuffer(10);\n CircularBuffer buffer = new CircularBuffer(10);\n buffer.offer(\"a\");\n buffer.offer(\"b\");\n buffer.offer(\"cd\");\n //buffer.offer(1);\n String value = concatenate(buffer);\n //System.out.println(value);\n\n }",
"@Test\n void StringBuffer() {\n StringBuilder builder = new StringBuilder();\n for (int i = 0; i < 10; i++) {\n builder.append(i).append(\" \");\n }\n assertThat(builder.toString()).isEqualTo(\"0 1 2 3 4 5 6 7 8 9 \");\n }",
"public String toString()\r\n/* 736: */ {\r\n/* 737:804 */ return toStringBuilder().toString();\r\n/* 738: */ }",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"public Stream<String> sourceStringAsStream() {\n return Stream.of(\"beetroot\", \"apple\", \"grape\");\n }",
"private void exercise3() {\n final List<String> list = asList(\n \"The\", \"quick\", \"brown\", \"fox\", \"jumped\", \"over\", \"the\", \"lazy\", \"dog\");\n\n String result = list.stream()\n .skip(1)\n .limit(3)\n .collect(joining(\"-\"));\n\n System.out.println(result);\n }",
"List<T> collect();",
"public static void main(String args[]) {\n\t\tList<String> words = Arrays.asList(\"hi\",\"hello\",\"Bye\",\"Goodbye\");\n\t\twords.stream().forEach(s->s=\" __ \"+s);\n\t\twords.forEach(s->System.out.println(s));\n\t\tSystem.out.println();\n\t\t\n\t\t//using method reference \n\t\twords.stream().map(s->\"_\"+s).forEach(System.out::println);\n\t\tSystem.out.println();\n\t\t\n\t\t//operations using map\n\t\twords.stream().map(s-> s.replace(\"i\", \"eye\")).forEach(System.out::println);\n\t\tSystem.out.println();\n\t\t\n\t\t//filter\n\t\twords.stream().filter(s->s.length()<7).forEach(System.out::println);\n\t\tSystem.out.println();\n\t\t\n\t\t//reduce operation and concatenate operation\n\t\tSystem.out.println(words.stream().reduce(\"\",(s1,s2)->s1.toUpperCase()+(s2.toUpperCase())));\n\t\t\n\t\t//Reduce using map and concat\n\t\tSystem.out.println(words.stream().map(s->s.toUpperCase()).reduce(\"\", (s1,s2)->s1.concat(s2)));\n\t\t\n\t\t//concate words with commas in between them\n\t\tSystem.out.println(words.stream().reduce((s1,s2)->s1.concat(\",\"+s2)).get());\n\t\t\n\t\t//Large array of doubles\n\t\tdouble[] list= new Random().doubles(10).toArray();\n\t\t\n\t}",
"<R> Streamlet<R> newSource(SerializableSupplier<R> supplier);",
"protected StringBuffer inlineValueSB(Environment env,\n Context ctx,\n StringBuffer buffer) {\n if (type != Type.tString) {\n // This isn't a concatenation. It is actually an addition\n // of some sort. Call the generic inlineValueSB()\n return super.inlineValueSB(env, ctx, buffer);\n }\n\n buffer = left.inlineValueSB(env, ctx, buffer);\n if (buffer != null) {\n buffer = right.inlineValueSB(env, ctx, buffer);\n }\n return buffer;\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}",
"Concat createConcat();",
"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}",
"public String join() {\n\t\t// A stringbuilder is an efficient way to create a new string in Java, since += makes copies.\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (Node<T> current = start; current != null; current = current.next) {\n\t\t\tif (current != start) {\n\t\t\t\tsb.append(' ');\n\t\t\t}\n\t\t\tsb.append(current.value);\n\t\t}\n\t\treturn sb.toString();\n\t}",
"public static void main(String[] args) {\n String string = \"test\";\n concat(string);\n System.out.println(string); // test \n}",
"public static void main(String[] args) {\r\n\t\t\r\n\t\t\r\n\t\tfinal String s=\"today\";\r\n\t\ts.concat(\"post\");\r\n\t\tSystem.out.println(s);\r\n\t\t\r\n\t\tString s1= new String (\"too\");\r\n\t\ts1=s1.concat(\"pre\");\r\n\t\tSystem.out.println(s1);\r\n\t\t\r\n\t\t\r\n\t\tSystem.out.println(\"*******\");\r\n\t\tString str1=\"Tomi\";\r\n\t\tString str2=\"Rohan\";\r\n\t\tString abc=str1.concat(str2);\r\n\t\t\r\n\t\r\n\t\tString str5=new String(\"Tomi\");\r\n\t\t\r\n\t\tstr5=str5.concat(\"Rohan\");\r\n\t\tSystem.out.println(str5);\r\n\t\t\r\n\t\tStringBuffer str6=new StringBuffer(\"Tomi\");\r\n\t\t\r\n\t\tstr6.append(\"Rohan\");\r\n\t\tSystem.out.println(str6);\r\n\t\t\r\n\t\t/*//System.out.println(\"Address of str1 : \"+System.identityHashCode(str1));\r\n\t\t//System.out.println(\"Address of str2 : \"+System.identityHashCode(str2));\r\n\t\tSystem.out.println(\"Length of str1 : \"+str1.length());\r\n\t\tSystem.out.println(\"Char at 5th element : \"+str1.charAt(3));\r\n\t\tSystem.out.println(abc);*/\r\n\t}",
"public static void main(String args[]) \n {\n Consumer<List<Integer> > modify = list -> \n { \n for (int i = 0; i < list.size(); i++) \n list.set(i, 5 * list.get(i));\n };\n \n Consumer<List<Integer> > square = list ->\n { \n for (int i = 0; i < list.size(); i++)\n \tlist\n .set(i,(int) Math.pow(list.get(i), 2));\n };\n \n // Consumer to display a list of integers \n Consumer<List<Integer> > \n dispList = list ->\n list.stream().\n forEach(a -> System.out.print(a + \" \"));\n \n List<Integer> list = new ArrayList<Integer>(); \n list.add(2); \n list.add(1); \n list.add(3); \n \n // using addThen() \n modify\n .andThen(square)\n .andThen(dispList)\n .accept(list);\n }"
]
| [
"0.661547",
"0.5992544",
"0.58088976",
"0.56335676",
"0.5590958",
"0.5575294",
"0.5502463",
"0.54817724",
"0.54658216",
"0.52960473",
"0.528896",
"0.5288502",
"0.52402323",
"0.5214799",
"0.5193282",
"0.5176596",
"0.51547414",
"0.51262873",
"0.5105088",
"0.5083788",
"0.50782335",
"0.50603586",
"0.5014708",
"0.5001723",
"0.49720815",
"0.4938496",
"0.48975986",
"0.48871723",
"0.48809317",
"0.48553306",
"0.4850504",
"0.48446766",
"0.48358586",
"0.48275155",
"0.48229095",
"0.4797885",
"0.4788095",
"0.47846395",
"0.47794598",
"0.47775188",
"0.47734514",
"0.47695658",
"0.4759664",
"0.47550675",
"0.4746067",
"0.47373012",
"0.47308746",
"0.4721074",
"0.47182652",
"0.4712845",
"0.46910486",
"0.46775013",
"0.4673728",
"0.4663074",
"0.466173",
"0.46573097",
"0.4657277",
"0.4653196",
"0.46328712",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46295455",
"0.46232918",
"0.4620015",
"0.4619465",
"0.46182534",
"0.46153486",
"0.4614228",
"0.461353",
"0.46116555",
"0.4603165",
"0.46014652",
"0.45954782",
"0.4584952",
"0.45841673"
]
| 0.8403388 | 0 |
map method that performs framing the initial key value pairs | public void map(LongWritable key, Text value, OutputCollector<Text, Text> output, Reporter reporter) throws IOException
{
// get filename to send it as key for sorting.
FileSplit fileSplit = (FileSplit)reporter.getInputSplit();
String k = fileSplit.getPath().getName();
//taking one line at a time
String line = value.toString();
// get the position of the meaningful character
int pos = lineno % 40;
// get the character from the string
String character = Character.toString(line.charAt(pos));
// convert pipe symbol to next line
if(character.charAt(0) == '|')
character = "\n";
// sending to output collector which in turn passes the same to reducer
output.collect(new Text(k), new Text(character));
lineno++;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void mapValues() {\n\t\tmap.put(1, \"I\");\r\n\t\tmap.put(5, \"V\");\r\n\t\tmap.put(10, \"X\");\r\n\t\tmap.put(50, \"L\");\r\n\t\tmap.put(100, \"C\");\r\n\t\tmap.put(500, \"D\");\r\n\t\tmap.put(1000, \"M\");\r\n\t}",
"private void mapSetUp() {\n\t\tfor (int i = 0; i < allChar.length; i++) {\n\t\t\tmap.put(allChar[i], shuffledChar[i]);\n\t\t}\n\t}",
"@Override\n public HashMap<String, List<String>> initializeMapping(HashMap<String, List<String>> mapping) {\n mapping.put(\"xEncoder\", Arrays.asList(\"outtakeMotor1\", \"outtake1\"));\n mapping.put(\"yEncoder\", Arrays.asList(\"wobbleMotor\"));\n\n return mapping;\n }",
"private void populateMaps() {\n\t\t//populate the conversion map.\n\t\tconvertMap.put(SPACE,(byte)0);\n\t\tconvertMap.put(VERTICAL,(byte)1);\n\t\tconvertMap.put(HORIZONTAL,(byte)2);\n\n\t\t//build the hashed numbers based on the training input. 1-9\n\t\tString trainingBulk[] = new String[]{train1,train2,train3,\"\"};\n\t\tbyte[][] trainer = Transform(trainingBulk);\n\t\tfor(int i=0; i < 9 ;++i) {\n\t\t\tint val = hashDigit(trainer, i);\n\t\t\tnumbers.put(val,i+1);\n\t\t}\n\t\t//train Zero\n\t\ttrainingBulk = new String[]{trainz1,trainz2,trainz3,\"\"};\n\t\tint zeroVal = hashDigit(Transform(trainingBulk), 0);\n\t\tnumbers.put(zeroVal,0);\n\n\n\t}",
"public abstract void map(String key, String value) throws Exception;",
"protected ForwardingMapEntry() {}",
"ProcessOperation<Map<String, Object>> map();",
"public Object map(String key, Object input);",
"@Test\n public void mapKeys() {\n check(MAPKEYS);\n query(\"for $i in \" + MAPKEYS.args(\n MAPNEW.args(\" for $i in 1 to 3 return \" +\n MAPENTRY.args(\"$i\", \"$i+1\"))) + \" order by $i return $i\", \"1 2 3\");\n query(\"let $map := \" + MAPNEW.args(\" for $i in 1 to 3 return \" +\n MAPENTRY.args(\"$i\", \"$i + 1\")) +\n \"for $k in \" + MAPKEYS.args(\"$map\") + \" order by $k return \" +\n MAPGET.args(\"$map\", \"$k\"), \"2 3 4\");\n }",
"public MapData(Generator<Pair<K, V>> generator, int quantity) {\n for (int i = 0; i < quantity; i++) {\n Pair<K, V> pair = generator.next();\n put(pair.key, pair.value);\n }\n }",
"private void getMapping() {\n double [][] chars = new double[CHAR_SET_SIZE][1];\n for (int i = 0; i < chars.length; i++) {\n chars[i][0] = i;\n }\n Matrix b = new Matrix(key).times(new Matrix(chars));\n map = b.getArray();\n }",
"AllTransformationsMap(Producer<? extends Map<Object, ? extends PreparedTransformer<? extends R>>> transformersInput,\n List<? extends Producer<?>> valueInputs) {\n super(Iterables.prepend(valueInputs, transformersInput));\n }",
"public void map( Chunk c0, Chunk c1 ) { }",
"public void mapping() {\n\t\t\n\t}",
"public void map( Chunk c0, Chunk c1, Chunk c2 ) { }",
"private static void simpleMapExamples() {\n\t\tSystem.out.println(\"simpleMapExamples Start ----\");\n\t\t\n\t\tMap<String,Integer> mapEx1 = new HashMap<>();\n\t\t\n\t\tmapEx1.put(\"Amit\", 35);\n\t\tmapEx1.put(\"Gunjan\", 45);\n\t\tmapEx1.put(\"Vidut\", 55);\n\t\t\n\t\t//Loop over Map\n\t\tfor(Entry<String, Integer> entry : mapEx1.entrySet()) {\n\t\t\t\n\t\t\tString key = entry.getKey();\n\t\t\tInteger val = entry.getValue();\n\t\t\t\n\t\t\tSystem.out.println(\"KEY : \" + key + \" : VAL : \" + val);\n\t\t\t\n\t\t}\n\t\t\n\t\t//API to get collection of values from the map\n\t\tCollection<Integer> values = mapEx1.values();\n\t\t\n\t\t//Now browse over collection values using java8 lambda\n\t\tSystem.out.println(\"Printing values ...\");\n\t\tvalues.forEach((val) -> System.out.println(val));\n\t\t\n\t\t//Replace values in the map using \n\t\t//Here we are replacing each key's value to 46\n\t\tmapEx1.replaceAll(( s, i) -> {\n\t\t\treturn 46;\n\t\t});\n\t\t\n\t\tSystem.out.println(\"Printing after firing replaceAll...\");\n\t\t//Now print the key/value pair of map using lambda\n\t\tmapEx1.forEach((k,v) -> {\n\t\t\tSystem.out.println(\"Key : \" + k + \" Val \" + v);\n\t\t});\n\t\t\n\t\t\n\t\t\n\t\tSystem.out.println(\"simpleMapExamples End ----\");\n\t}",
"Object visitMapOfValues(MapOfValuesNode node, Object state);",
"public void setUp()\n {\n map = new Map(5, 5, null);\n }",
"private static void fillupmap(Map<String, Object> m) {\n\t\tRectangle r =new Rectangle(\"A\",2,3);\r\n\t\tm.put(r.getRname(), r);\r\n\t\tr =new Rectangle(\"B\",4,1);\r\n\t\tm.put(r.getRname(), r);\r\n\t\tCircle c =new Circle(\"C\",3);\r\n\t\tm.put(c.getCname(),c);\r\n\t\tc =new Circle(\"D\",4);\r\n\t\tm.put(c.getCname(),c);\r\n\t\t\r\n\t}",
"public void buildMap()\n {\n for(int letterNum=0; letterNum < myText.length()-myNum; letterNum++) {\n String key = myText.substring(letterNum,letterNum+myNum);\n String nextLetter = String.valueOf(myText.charAt(letterNum + myNum));\n if (!map.containsKey(key)) {\n ArrayList<String> lettersArray = new ArrayList<String>();\n lettersArray.add(nextLetter);\n map.put(key,lettersArray);\n }else\n {\n map.get(key).add(nextLetter);\n }\n }\n }",
"private void fillData() {\n\t\tfor(Entry<String, HashMap<String, Double>> entry : m.map.entrySet()) {\n\t\t\tfor(Entry<String, Double> subEntry : entry.getValue().entrySet()) {\n\t\t\t\tMappingData item = new MappingData(entry.getKey(), subEntry.getKey(), subEntry.getValue());\n\t\t\t\tdataList.add(item);\n\t\t\t}\n\t\t}\n\t}",
"@Override\n\tprotected void map(Text key, Text value,\n\t\t\torg.apache.hadoop.mapreduce.Mapper.Context context)\n\t\t\tthrows IOException, InterruptedException {\n\t\tString[] values=value.toString().split(\" \");\n\t\tIntWritable mapkey=new IntWritable();\n\t\tText mapvalue=new Text();\n\t\tStringBuilder sb=new StringBuilder();\n\t\tfor(int i=0;i<values.length;i++)\n\t\t{\n\t\t\tmapkey.set(i);\n\t\t\tsb.append(key.toString());\n\t\t\tsb.append(\",\");\n\t\t\tsb.append(values[i]);\n\t\t\tmapvalue.set(sb.toString());\n\t\t//\tsb=null;\n\t\t\tsb=new StringBuilder();\n\t\t\tcontext.write(mapkey, mapvalue);\n\t\t}\n\t}",
"@Override\n protected void map(Object key, Text value, Context context) throws IOException, InterruptedException {\n \n String[] inputArray = value.toString().split(\"::\");\n inputKey.set(Integer.parseInt(inputArray[1]));\n intValue.set(Integer.parseInt(inputArray[2]));\n SortedMapWritable inputValue = new SortedMapWritable();\n inputValue.put(intValue, count);\n context.write(inputKey, inputValue);\n }",
"public void populateMap(int playerNumber){\n\t\tint factor = 1;\n\t\t\n\t\t\n\t}",
"private static void replacenullwithdefaultvalue(Map<Integer, Integer> map1, int defaultValue) {\n\t\t Map<Object, Object> map = map1.entrySet() \n .stream() \n .map(entry -> { \n if (entry.getValue() == null) \n entry.setValue(defaultValue); \n return entry; \n }) \n .collect(Collectors.toMap(Map.Entry::getKey, \n Map.Entry::getValue)); \n \n\t\tSystem.out.println(map);\n\t}",
"private void generateMaps() {\r\n\t\tthis.tablesLocksMap = new LinkedHashMap<>();\r\n\t\tthis.blocksLocksMap = new LinkedHashMap<>();\r\n\t\tthis.rowsLocksMap = new LinkedHashMap<>();\r\n\t\tthis.waitMap = new LinkedHashMap<>();\r\n\t}",
"public void initMap()\r\n/* */ {\r\n///* 36 */ putHandler(\"vwkgcode\", PDWkHeadTailVWkgcodeHandler.class);\r\n///* 37 */ putHandler(\"fcapacitycalc\", PDWkHeadTailFcapacitycalcHandler.class);\r\n///* 38 */ putHandler(\"bprodline\", PDWkHeadTailBprodlineHandler.class);\r\n/* */ }",
"@Override\n\tpublic void convertitMap(Map<String, Object> map) {\n\t\t\n\t}",
"private void initMaps()\r\n\t{\r\n\t\tenergiesForCurrentKOppParity = new LinkedHashMap<Integer, Double>();\r\n\t\tinputBranchWithJ = new LinkedHashMap<Integer, Double>();\r\n\t\tassociatedR = new LinkedHashMap<Integer, Double>();\r\n\t\tassociatedP = new LinkedHashMap<Integer, Double>();\r\n\t\tassociatedQ = new LinkedHashMap<Integer, Double>();\r\n\t\ttriangularP = new LinkedHashMap<Integer, Double>();\r\n\t\ttriangularQ = new LinkedHashMap<Integer, Double>();\r\n\t\ttriangularR = new LinkedHashMap<Integer, Double>();\r\n\t\tupperEnergyValuesWithJ = new LinkedHashMap<Integer, Double>();\r\n\t}",
"public void map(Object key, Text value, Context context)\n\t\t\t\t\tthrows IOException, InterruptedException\n\t\t\t\t\t{\n\t//Passing the string and splitting it by comma separated and storing it in string array\n\t\t\t\tString[] arr_new = value.toString().split(\",\");\n //Inserting the value at the 2nd position of the string array\n\t\t\t\tspeed.set(arr_new[14]);\n\t//Inserting the value at the 4th position of the string array and parsing it to integer\n\t\t\t\taccidents.set(Integer.parseInt(arr_new[6]));\n\t//Passing the key and value to context buffer of the Map output \n\t\t\t\tcontext.write(speed, accidents);\n\t\t\t\t\n\t\t\t\t\n\t\t}",
"protected void fillMapFromProperties(Properties props)\n {\n Enumeration<?> en = props.propertyNames();\n\n while (en.hasMoreElements())\n {\n String propName = (String) en.nextElement();\n\n // ignore map, pattern_map; they are handled separately\n if (!propName.startsWith(\"map\") &&\n !propName.startsWith(\"pattern_map\"))\n {\n String propValue = props.getProperty(propName);\n String fieldDef[] = new String[4];\n fieldDef[0] = propName;\n fieldDef[3] = null;\n if (propValue.startsWith(\"\\\"\"))\n {\n // value is a constant if it starts with a quote\n fieldDef[1] = \"constant\";\n fieldDef[2] = propValue.trim().replaceAll(\"\\\"\", \"\");\n }\n else\n // not a constant\n {\n // split it into two pieces at first comma or space\n String values[] = propValue.split(\"[, ]+\", 2);\n if (values[0].startsWith(\"custom\") || values[0].equals(\"customDeleteRecordIfFieldEmpty\") ||\n values[0].startsWith(\"script\"))\n {\n fieldDef[1] = values[0];\n\n // parse sections of custom value assignment line in\n // _index.properties file\n String lastValues[];\n // get rid of empty parens\n if (values[1].indexOf(\"()\") != -1)\n values[1] = values[1].replace(\"()\", \"\");\n\n // index of first open paren after custom method name\n int parenIx = values[1].indexOf('(');\n\n // index of first unescaped comma after method name\n int commaIx = Utils.getIxUnescapedComma(values[1]);\n\n if (parenIx != -1 && commaIx != -1 && parenIx < commaIx) {\n // remainder should be split after close paren\n // followed by comma (optional spaces in between)\n lastValues = values[1].trim().split(\"\\\\) *,\", 2);\n\n // Reattach the closing parenthesis:\n if (lastValues.length == 2) lastValues[0] += \")\";\n }\n else\n // no parens - split comma preceded by optional spaces\n lastValues = values[1].trim().split(\" *,\", 2);\n\n fieldDef[2] = lastValues[0].trim();\n\n fieldDef[3] = lastValues.length > 1 ? lastValues[1].trim() : null;\n // is this a translation map?\n if (fieldDef[3] != null && fieldDef[3].contains(\"map\"))\n {\n try\n {\n fieldDef[3] = loadTranslationMap(props, fieldDef[3]);\n }\n catch (IllegalArgumentException e)\n {\n logger.error(\"Unable to find file containing specified translation map (\" + fieldDef[3] + \")\");\n throw new IllegalArgumentException(\"Error: Problems reading specified translation map (\" + fieldDef[3] + \")\");\n }\n }\n } // end custom\n else if (values[0].equals(\"xml\") ||\n values[0].equals(\"raw\") ||\n values[0].equals(\"date\") ||\n values[0].equals(\"json\") ||\n values[0].equals(\"json2\") ||\n values[0].equals(\"index_date\") ||\n values[0].equals(\"era\"))\n {\n fieldDef[1] = \"std\";\n fieldDef[2] = values[0];\n fieldDef[3] = values.length > 1 ? values[1].trim() : null;\n // NOTE: assuming no translation map here\n if (fieldDef[2].equals(\"era\") && fieldDef[3] != null)\n {\n try\n {\n fieldDef[3] = loadTranslationMap(props, fieldDef[3]);\n }\n catch (IllegalArgumentException e)\n {\n logger.error(\"Unable to find file containing specified translation map (\" + fieldDef[3] + \")\");\n throw new IllegalArgumentException(\"Error: Problems reading specified translation map (\" + fieldDef[3] + \")\");\n }\n }\n }\n else if (values[0].equalsIgnoreCase(\"FullRecordAsXML\") ||\n values[0].equalsIgnoreCase(\"FullRecordAsMARC\") ||\n values[0].equalsIgnoreCase(\"FullRecordAsJson\") ||\n values[0].equalsIgnoreCase(\"FullRecordAsJson2\") ||\n values[0].equalsIgnoreCase(\"FullRecordAsText\") ||\n values[0].equalsIgnoreCase(\"DateOfPublication\") ||\n values[0].equalsIgnoreCase(\"DateRecordIndexed\"))\n {\n fieldDef[1] = \"std\";\n fieldDef[2] = values[0];\n fieldDef[3] = values.length > 1 ? values[1].trim() : null;\n // NOTE: assuming no translation map here\n }\n else if (values.length == 1)\n {\n fieldDef[1] = \"all\";\n fieldDef[2] = values[0];\n fieldDef[3] = null;\n }\n else\n // other cases of field definitions\n {\n String values2[] = values[1].trim().split(\"[ ]*,[ ]*\", 2);\n fieldDef[1] = \"all\";\n if (values2[0].equals(\"first\") ||\n (values2.length > 1 && values2[1].equals(\"first\")))\n fieldDef[1] = \"first\";\n\n if (values2[0].startsWith(\"join\"))\n fieldDef[1] = values2[0];\n\n if ((values2.length > 1 && values2[1].startsWith(\"join\")))\n fieldDef[1] = values2[1];\n\n if (values2[0].equalsIgnoreCase(\"DeleteRecordIfFieldEmpty\") ||\n (values2.length > 1 && values2[1].equalsIgnoreCase(\"DeleteRecordIfFieldEmpty\")))\n fieldDef[1] = \"DeleteRecordIfFieldEmpty\";\n\n fieldDef[2] = values[0];\n fieldDef[3] = null;\n\n // might we have a translation map?\n if (!values2[0].equals(\"all\") &&\n !values2[0].equals(\"first\") &&\n !values2[0].startsWith(\"join\") &&\n !values2[0].equalsIgnoreCase(\"DeleteRecordIfFieldEmpty\"))\n {\n fieldDef[3] = values2[0].trim();\n if (fieldDef[3] != null)\n {\n try\n {\n fieldDef[3] = loadTranslationMap(props, fieldDef[3]);\n }\n catch (IllegalArgumentException e)\n {\n logger.error(\"Unable to find file containing specified translation map (\" + fieldDef[3] + \")\");\n throw new IllegalArgumentException(\"Error: Problems reading specified translation map (\" + fieldDef[3] + \")\");\n }\n }\n }\n } // other cases of field definitions\n\n } // not a constant\n\n fieldMap.put(propName, fieldDef);\n\n } // if not map or pattern_map\n\n } // while enumerating through property names\n\n // verify that fieldMap is valid\n verifyCustomMethodsAndTransMaps();\n }",
"InfiniteMap<K,V> build();",
"private void genLoadMapCode(String name, String keyClassSimpleName, String valueClassSimpleName, boolean valueIsPersistable) {\n\n int tabLevel = 1;\n String tabs = tabs(tabLevel);\n\n String keyCppType = cppType(keyClassSimpleName);\n String valueCppType = cppType(valueClassSimpleName);\n\n String mapType = \"std::map< \" + keyCppType + \", \" + valueCppType + \" >\";\n\n load.println(\"\\t// \" + mapType + \" this->\" + name);\n genDebug(load, \"\\tstd::cout << \\\"load \" + mapType + \" \" + name + \"\\\" << std::endl;\");\n\n String vVarName = \"v\" + \"_\" + name;\n String lenVarName = vVarName + \"_length\";\n\n // read the length of the map\n load.println(tabs + \"int \" + lenVarName + \";\");\n\n load.println();\n load.println(tabs + INSTREAM_VAR_NAME + \".readInt(\" + lenVarName + \");\");\n\n genDebugDumpValue(load, lenVarName, tabs);\n\n load.println(tabs + mapType + \"& \" + vVarName + \" = this->\" + name + \";\");\n\n // initialize & pre-allocate the map\n // load.println( tabs + vVarName + \".reserve( \" + lenVarName + \" );\");\n\n load.println();\n load.println(tabs + \"for( int i = 0; i < \" + lenVarName + \"; i++ ){\");\n\n tabs = tabs(++tabLevel);\n\n // load key\n String keyVarName = vVarName + \"_key\";\n load.println(tabs + keyCppType + \" \" + keyVarName + \";\");\n load.println(tabs + genReadCode(keyVarName, keyCppType));\n\n // load value\n String valueVarName = vVarName + \"_value\";\n load.println(tabs + valueCppType + \" \" + valueVarName + \";\");\n\n if (valueIsPersistable) {\n load.println(tabs + valueVarName + \".load( \" + INSTREAM_VAR_NAME + \" );\");\n } else {\n load.println(tabs + genReadCode(valueVarName, valueCppType));\n }\n\n // add the new pair to the map\n load.println(tabs + vVarName + \".insert( std::make_pair( \" + keyVarName + \", \" + valueVarName + \" ));\");\n\n tabs = tabs(--tabLevel);\n load.println(tabs + \"}\");\n }",
"protected JavaPairRDD<K, Tuple2<K, V>> performMappingPart(JavaRDD<KeyValueObject<KEYIN, VALUEIN>> pInputs) {\n guaranteePathReader();\n IMapperFunction map = getMap();\n\n MapFunctionAdaptor<KEYIN, VALUEIN, K, V> ma = new MapFunctionAdaptor<KEYIN, VALUEIN, K, V>(map);\n\n JavaRDD<KeyValueObject<K, V>> mappedKeys = pInputs.flatMap(ma);\n JavaPairRDD<K, Tuple2<K, V>> kkv = mappedKeys.mapToPair(new KeyValuePairFunction<K, V>());\n kkv = kkv.sortByKey();\n return kkv;\n }",
"private HashMap<Object, Object> HashMapTransform(List<String> lines) {\n\n HashMap<Object, Object> keypair = new HashMap<>();\n\n for (String line : lines) {\n if (line.contains(pairDelimiter)) {\n String[] intermediate = line.split(pairDelimiter, maxSplitSize);\n keypair.put(intermediate[0], intermediate[1]);\n }\n }\n return keypair;\n }",
"public static void addToMap()\n {\n Map<String, Integer> map = new HashMap<>();\n\n BiConsumer<String, Integer> mapAdderEveryTime = (s, i) -> map.put(s, i);\n\n mapAdderEveryTime.accept(\"key1\", 4);\n mapAdderEveryTime.accept(\"key2\", 4);\n\n BiConsumer<String, Integer> mapAdderIfPresent = (s, i) -> {\n map.computeIfPresent(s, (key, value) -> (value % 4 == 0) ? 0 : value +1);\n };\n\n mapAdderIfPresent.accept(\"key1\", 1);\n\n System.out.println(map);\n }",
"@Override\n protected void map(Object key, Text value, Context context) throws IOException, InterruptedException {\n String inputLine = value.toString().trim();\n String[] fromPageToPages = inputLine.split(\"\\t\");\n if (fromPageToPages.length == 1 || fromPageToPages[1].trim().equals(\"\")) {\n return;\n }\n String from = fromPageToPages[0];\n String[] tos = fromPageToPages[1].split(\",\");\n for (String to : tos) {\n context.write(new Text(from), new Text(to + \"=\" + (double)1/tos.length));\n }\n }",
"private Map<String, Object> createDefaultMap() {\n Map<String, Object> result = new LinkedHashMap<>();\n result.put(\"stream_speed0\", 1);\n result.put(\"stream_start0\", 0);\n result.put(\"stream_end0\", 7);\n result.put(\"stream_speed1\", -2);\n result.put(\"stream_start1\", 15);\n result.put(\"stream_end1\", 19);\n\n result.put(\"fish_quantity\", numFishes);\n result.put(\"fish_reproduction\", 3);\n result.put(\"fish_live\", 10);\n result.put(\"fish_speed\", 2);\n result.put(\"fish_radius\", 4);\n\n result.put(\"shark_quantity\", numSharks);\n result.put(\"shark_live\", 20);\n result.put(\"shark_hungry\", 7);\n result.put(\"shark_speed\", 2);\n result.put(\"shark_radius\", 5);\n\n return result;\n }",
"public void initialilzeMapEntry(String file){\n\t\tmap.put(file, new LinkedList<HashMap<Integer, Integer>>());\n\t}",
"private Map<Integer, MessageEncoder> initialiseMap() {\n Map<Integer, MessageEncoder> composerMap = new HashMap<>();\n composerMap.put(AC35MessageType.BOAT_ACTION.getCode(), new BoatActionEncoder());\n composerMap.put(AC35MessageType.REQUEST.getCode(), new RequestEncoder());\n composerMap.put(AC35MessageType.COLOUR.getCode(), new ColourEncoder());\n\n return Collections.unmodifiableMap(composerMap);\n }",
"void remap()\n\t\t{\n\t\t\tif(nextMap == null)\n\t\t\t\treturn;\n\t\t\tnextMap = newNodeMap(nextMap);\n\t\t\tfor(Node<T> node : nextMap.values())\n\t\t\t\tnode.remap();\n\t\t}",
"public void map( Chunk bv ) { }",
"@Override\n\t\tprotected void map(Object key, Text value,\n\t\t\t\tMapper<Object, Text, MyKey, Text>.Context context)\n\t\t\t\tthrows IOException, InterruptedException {\n\t\t\tString line[] = value.toString().split(\"\\t\");\n\t\t\tif(line.length<2)return;\n\t\t\tk.setK(new Text(line[0]));\n\t\t\tk.setV(new Text(line[1]));\n\t\t\tcontext.write(k,new Text(line[1]));\n\t\t}",
"private void initializeMaps(){\n\t\t\n\t\tsteps = new HashMap<Integer, Set<PlanGraphStep>>();\n\t\tfacts = new HashMap<Integer, Set<PlanGraphLiteral>>();\n\t\tinconsistencies = new HashMap<Integer, Set<LPGInconsistency>>();\n\t\t\n\t\tfor(int i = 0; i <= maxLevel; i++) {\n\t\t\tsteps.put(i, new HashSet<PlanGraphStep>());\n\t\t\tfacts.put(i, new HashSet<PlanGraphLiteral>());\n\t\t\tinconsistencies.put(i, new HashSet<LPGInconsistency>());\n\t\t}\n\t\t\n\t\t/* This level holds only the special action end which has the goals as preconditions */\n\t\tsteps.put(maxLevel + 1, new HashSet<PlanGraphStep>());\n\t}",
"@Override\n protected Map<Object, R> apply(List<?> values) {\n Map<Object, ? extends PreparedTransformer<? extends R>> transformers =\n (Map<Object, ? extends PreparedTransformer<? extends R>>) values.get(0);\n\n // the values to pass to those transformers are the rest of our inputs\n Object[] passedValues = values.subList(1, values.size()).toArray();\n\n // results is an Object[] array containing elements of type R\n Object[] results = transformers.values()\n .stream()\n .map(preparedTransformer -> preparedTransformer.internalAPI()\n .applyUnsafe(preparedTransformer.internalAPI().createExecutionCache(1), passedValues))\n .toArray();\n\n // we use an Object2ObjectArrayMap because it's *very* cheap to construct (once you have the key & value arrays)\n return new Object2ObjectArrayMap<>(transformers.keySet().toArray(), results);\n }",
"public FractalMapImpl() {\n this.shift = 0;\n }",
"protected ForwardingMap() {}",
"@Override\n\tpublic void prepareKeys() {\n\t\tfor (RecordKey key : paramHelper.getPushingKeys())\n\t\t\taddReadKey(key);\n\t}",
"private MapTransformer(Map map) {\n super();\n iMap = map;\n }",
"@Override\n\tpublic void map(Object key, Text value, Context context)\n\tthrows IOException, InterruptedException {\n\tString[] words = value.toString().split(\"[ \\t]+\");\n\tfor(String originalWord:words)\n\t{\n\t\t//Remove all alphanumeric characters\n\t\toriginalWord = originalWord.replaceAll(\"[^a-zA-Z0-9]\",\"\");\n\t\t\n\t\t//Convert the words to lower case\n\t\t//word = word.toLowerCase();\n\t\n\t\tchar[] chars = originalWord.toCharArray();\n\t\tArrays.sort(chars);\n\t\tString sortedWord= new String(chars);\n\t\tcontext.write(new Text(sortedWord), new Text(originalWord));\n\t\tSystem.err.println(\"RKUMLOG:This is a mapper.\");\n\t}\n\t}",
"private void fillMap() {\n\t\tObject tile = new Object();\n\t\tfor(int x = 0; x < map.length; x++) {\n\t\t\tfor(int y = 0; y < map.length; y++) {\n\t\t\t\tmap[x][y] = tile;\n\t\t\t}\n\t\t}\n\t}",
"public void generateRandomMap() {\n\n\t}",
"private static Map generateCharacterMappings() {\n Log.debug(\"Generating default character mappings\");\n Map map = new HashMap();\n Iterator iter = keycodes.keySet().iterator();\n while (iter.hasNext()) {\n Object key = iter.next();\n map.put(keycodes.get(key), key);\n }\n return map;\n }",
"@Test\n public void mapToTest() throws Exception {\n RESTEasyContextMapper rcm = new RESTEasyContextMapper();\n RESTEasyBindingData rbd = new RESTEasyBindingData();\n\n Context context = new DefaultContext();\n context.setProperty(\"one\", Integer.valueOf(1));\n \n rcm.mapTo(context, rbd);\n Iterator<Map.Entry<String, List<String>>> entries = rbd.getHeaders().entrySet().iterator();\n while (entries.hasNext()) {\n Map.Entry<String, List<String>> entry = entries.next();\n List<String> values = entry.getValue();\n Assert.assertTrue(values.size() == 1);\n Assert.assertTrue(entry.getKey().equals(\"one\"));\n Assert.assertTrue(values.get(0).equals(\"1\"));\n }\n \n RESTEasyBindingData rbd2 = new RESTEasyBindingData();\n context.removeProperties();\n List<Integer> list = new ArrayList<Integer>();\n list.add(Integer.valueOf(1));\n list.add(Integer.valueOf(2));\n list.add(Integer.valueOf(3));\n context.setProperty(\"numbers\", list);\n rcm.mapTo(context, rbd2);\n entries = rbd2.getHeaders().entrySet().iterator();\n while (entries.hasNext()) {\n Map.Entry<String, List<String>> entry = entries.next();\n List<String> values = entry.getValue();\n Assert.assertTrue(values.size() == 3);\n Assert.assertTrue(entry.getKey().equals(\"numbers\"));\n for (String value : values) {\n Assert.assertTrue(values.get(0).equals(\"1\") || values.get(1).equals(\"2\") ||\n values.get(1).equals(\"3\"));\n }\n } \n }",
"TOutput MapFrom(TInput input);",
"private static void initializeMap() {\n\t\tmap = new HashMap<String, MimeTransferEncoding>();\n\t\tfor (MimeTransferEncoding mte : MimeTransferEncoding.values()) {\n\t\t\tmap.put(mte.string, mte);\n\t\t}\n\t}",
"private static void initializeMaps()\n\t{\n\t\taddedPoints = new HashMap<String,String[][][]>();\n\t\tpopulatedList = new HashMap<String,Boolean>();\n\t\tloadedAndGenerated = new HashMap<String,Boolean>();\n\t}",
"public void map(Object key, Text value, Context context)\n\t\t\t\t\tthrows IOException, InterruptedException\n\t\t\t\t\t{\n\t\t\t\tString[] arr_new = value.toString().split(\",\");\n\t\t\t\tTpcondition.set(arr_new[2]);\n\t\t\t\tdbh.set(Integer.parseInt(arr_new[1]));\n\t//Passing the key and value to context buffer of the Map output \n\t\t\t\tcontext.write(Tpcondition, dbh);\n\t\t\t\t\n\t\t\t\t\n\t\t}",
"public void testMap() throws Exception {\n String key1 = 1 + randomAlphaOfLength(3);\n String key2 = 2 + randomAlphaOfLength(3);\n String key3 = 3 + randomAlphaOfLength(3);\n updateAndCheckSource(\n 0,\n 1,\n XContentFactory.jsonBuilder().startObject().startObject(\"test\").field(key1, \"foo\").field(key2, \"baz\").endObject().endObject()\n );\n updateAndCheckSource(\n 0,\n 1,\n XContentFactory.jsonBuilder().startObject().startObject(\"test\").field(key1, \"foo\").field(key2, \"baz\").endObject().endObject()\n );\n updateAndCheckSource(\n 1,\n 2,\n XContentFactory.jsonBuilder().startObject().startObject(\"test\").field(key1, \"foo\").field(key2, \"bir\").endObject().endObject()\n );\n updateAndCheckSource(\n 1,\n 2,\n XContentFactory.jsonBuilder().startObject().startObject(\"test\").field(key1, \"foo\").field(key2, \"bir\").endObject().endObject()\n );\n updateAndCheckSource(\n 2,\n 3,\n XContentFactory.jsonBuilder().startObject().startObject(\"test\").field(key1, \"foo\").field(key2, \"foo\").endObject().endObject()\n );\n updateAndCheckSource(\n 3,\n 4,\n XContentFactory.jsonBuilder()\n .startObject()\n .startObject(\"test\")\n .field(key1, \"foo\")\n .field(key2, (Object) null)\n .endObject()\n .endObject()\n );\n updateAndCheckSource(\n 3,\n 4,\n XContentFactory.jsonBuilder()\n .startObject()\n .startObject(\"test\")\n .field(key1, \"foo\")\n .field(key2, (Object) null)\n .endObject()\n .endObject()\n );\n updateAndCheckSource(\n 4,\n 5,\n XContentFactory.jsonBuilder()\n .startObject()\n .startObject(\"test\")\n .field(key1, \"foo\")\n .field(key2, (Object) null)\n .field(key3, (Object) null)\n .endObject()\n .endObject()\n );\n\n assertEquals(3, totalNoopUpdates());\n }",
"public StateDictionary<T> make(Map<CharSequence, T> source) {\n // clear out state\n buildingCurrentAddRow = null;\n buildingLastEntry = \"\";\n builtTotalBytes = builtTotalStrings = builtMaxByteLength = 0;\n builtRows = new ArrayList<Row>();\n builtBaseRow = makeRow();\n builtResults = intMapFactory.make(source.values());\n if (SHOW_SIZE) System.out.println(\"***VALUE STORAGE: \" + builtResults.approximateStorage());\n \n Map<T, Integer> valueToInt = builtResults.getValueMap();\n Map<byte[],Integer> sorted = new TreeMap(SHORTER_BYTE_ARRAY_COMPARATOR);\n for (CharSequence text : source.keySet()) {\n sorted.put(byteConverter.toBytes(text), valueToInt.get(source.get(text)));\n }\n\n for (byte[] key : sorted.keySet()) {\n addMapping(key, sorted.get(key));\n }\n\n // now compact the rows\n // first find out which rows are equivalent (recursively)\n Map<Row,Row> replacements = new HashMap<Row,Row>();\n {\n Map<Row,Row> equivalents = new TreeMap<Row,Row>(StateDictionary.rowComparator);\n for (Row row : builtRows) {\n Row cardinal = equivalents.get(row);\n if (cardinal == null) {\n equivalents.put(row,row);\n } else {\n replacements.put(row,cardinal);\n }\n }\n }\n if (SHOW_SIZE) System.out.println(\"***ROWS: \" + builtRows.size() + \"\\t REPLACEMENTS: \" + replacements.size());\n \n // now replace all references to rows by their equivalents\n for (Row row : builtRows) {\n for (Byte key : row.byteToCell.keySet()) {\n Cell cell = row.byteToCell.get(key);\n Row newRow = replacements.get(cell.nextRow);\n if (newRow != null) {\n cell.nextRow = newRow;\n }\n }\n }\n // now compact the rows array\n ArrayList<Row> newRows = new ArrayList<Row>();\n for (Row row : builtRows) {\n if (!replacements.containsKey(row)) {\n newRows.add(row);\n }\n }\n builtRows = newRows;\n if (SHOW_SIZE) System.out.println(\"***ROWS: \" + builtRows.size());\n return new StateDictionary<T>(builtBaseRow, builtRows, builtResults, builtMaxByteLength, byteConverter);\n }",
"@Override\n\t\tprotected void map(Object key, Text value, Context context)\n\t\t\t\tthrows IOException, InterruptedException {\n\t\t\tStringTokenizer str=new StringTokenizer(value.toString());\n//\t\t\tString[]str=new String(value.toString()).split(\"a\");\n\t\t\twhile(str.hasMoreTokens()){\n\t\t\t\tword.set(str.nextToken());\n\t\t\t\tcontext.write(word, one);\n\t\t\t\t}\n//\t\t\tfor(String b:str){\n//\t\t\t\tword.set(b);\n//\t\t\t\tcontext.write(word, one);\n//\t\t\t\t\n//\t\t\t}\n\t\t\t\n\t\t}",
"private final java.lang.String B(java.util.Map<java.lang.String, ? extends java.lang.Object> r11) {\n /*\n r10 = this;\n r11 = r11.entrySet();\n r11 = (java.lang.Iterable) r11;\n r0 = new java.util.ArrayList;\n r0.<init>();\n r0 = (java.util.Collection) r0;\n r11 = r11.iterator();\n L_0x0011:\n r1 = r11.hasNext();\n if (r1 == 0) goto L_0x004e;\n L_0x0017:\n r1 = r11.next();\n r2 = r1;\n r2 = (java.util.Map.Entry) r2;\n r3 = r2.getKey();\n r3 = (java.lang.CharSequence) r3;\n r3 = r3.length();\n r4 = 1;\n r5 = 0;\n if (r3 <= 0) goto L_0x002e;\n L_0x002c:\n r3 = 1;\n goto L_0x002f;\n L_0x002e:\n r3 = 0;\n L_0x002f:\n if (r3 == 0) goto L_0x0047;\n L_0x0031:\n r2 = r2.getValue();\n r2 = r2.toString();\n r2 = (java.lang.CharSequence) r2;\n r2 = r2.length();\n if (r2 <= 0) goto L_0x0043;\n L_0x0041:\n r2 = 1;\n goto L_0x0044;\n L_0x0043:\n r2 = 0;\n L_0x0044:\n if (r2 == 0) goto L_0x0047;\n L_0x0046:\n goto L_0x0048;\n L_0x0047:\n r4 = 0;\n L_0x0048:\n if (r4 == 0) goto L_0x0011;\n L_0x004a:\n r0.add(r1);\n goto L_0x0011;\n L_0x004e:\n r0 = (java.util.List) r0;\n r1 = r0;\n r1 = (java.lang.Iterable) r1;\n r11 = \"&\";\n r2 = r11;\n r2 = (java.lang.CharSequence) r2;\n r3 = 0;\n r4 = 0;\n r5 = 0;\n r6 = 0;\n r11 = com.iqoption.core.connect.http.Http$urlEncode$2.baR;\n r7 = r11;\n r7 = (kotlin.jvm.a.b) r7;\n r8 = 30;\n r9 = 0;\n r11 = kotlin.collections.u.a(r1, r2, r3, r4, r5, r6, r7, r8, r9);\n r11 = r10.ft(r11);\n return r11;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.iqoption.core.connect.http.c.B(java.util.Map):java.lang.String\");\n }",
"@Override\n public void record2Map(final Map<String, Integer> map) {\n }",
"public StandardValues() {\n super(ForwardingMap.this);\n }",
"public MapData(Iterable<K> iterable, Generator<V> generator) {\n for (K key: iterable) {\n put(key, generator.next());\n }\n }",
"public abstract void createMap();",
"@Override\n\t\tprotected void map(Object key, Text value, Mapper<Object, Text, Text, NullWritable>.Context context)\n\t\t\t\tthrows IOException, InterruptedException {\n\t\t\tString[] infos = value.toString().split(\"\\t\");\n\t\t\tapplication_no = infos[PatentStructure.application_no];\n\t\t\tif(typeSet.contains(application_no.charAt(6))){\n\t\t\t\ttype = String.valueOf(application_no.charAt(6));\n\t\t\t}else {\n\t\t\t\ttype = \"4\";\n\t\t\t}\n\t\t\tinfos[0] = \"null\";\n\t\t\tinfos[PatentStructure.url] = infos[PatentStructure.url] + \"\\t\" + type + \"\\t\" + infos[PatentStructure.url+3];\n\t\t\toutKey.set(StringUtils.join(infos, \"\\t\"));\n\t\t\tcontext.write(outKey, NullWritable.get());\n\t\t}",
"@Override\r\n\tpublic Object visitPairList(PairList pairList, Object arg) throws Exception {\n\t String tempMapName = initTempMap((Type)arg);\r\n\t //put all the pairlist into the temp map\r\n\t for(Pair aPair : pairList.pairs)\r\n\t {\r\n\t mv.visitFieldInsn(GETSTATIC, className, tempMapName, HASHMAP_SIGNATURE);\r\n\t aPair.expression0.visit(this, nonNull);\r\n\t box(aPair.expression0.expressionType);\r\n\t aPair.expression1.visit(this, nonNull);\r\n\t box(aPair.expression1.expressionType);\r\n\t mv.visitMethodInsn(INVOKEVIRTUAL, \"java/util/HashMap\", \"put\", \"(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;\");\r\n mv.visitInsn(POP);\r\n\t }\r\n\t //now inovke putAll to transfer everything from temp map to actual one\r\n mv.visitFieldInsn(GETSTATIC, className, tempMapName, HASHMAP_SIGNATURE);\r\n mv.visitMethodInsn(INVOKEVIRTUAL, \"java/util/HashMap\", \"putAll\", \"(Ljava/util/Map;)V\");\r\n\t return null;\r\n\t}",
"private VariableMap getParamMappingAsVariableMap() {\n paramValueEncodings.put(fileNameToIndex.keySet().toString(), \" FileNames\");\n paramValueEncodings.put(functionNameToIndex.keySet().toString(), \" FunctionNames\");\n paramValueEncodings.put(typeToIndex.keySet().toString(), \" Types\");\n\n VariableMap preInversedMap = new VariableMap(paramValueEncodings);\n ImmutableMap<String, String> inversedMap = preInversedMap.getNewNameToOriginalNameMap();\n return new VariableMap(inversedMap);\n }",
"@Override\n\tpublic void putAll(Map<? extends K, ? extends V> arg0) {\n\t\t\n\t}",
"private IMapData<Integer, String> getHashMapData1() {\n List<IKeyValueNode<Integer, String>> creationData = new ArrayList<>();\n List<IKeyValueNode<Integer, String>> data = new ArrayList<>();\n List<Integer> keys = this.createKeys(data);\n List<String> values = this.createValues(data);\n\n return new MapData<>(\n creationData,\n data,\n keys,\n values);\n }",
"protected abstract void initKeyNameMapping(Context context, HashMap<String, RemoteKey> keyMapping);",
"private void fillMap(String[] querys) {\r\n\r\n\t\tLOG.info(\"fillMap\");\r\n\r\n\t\tquerysMap = new HashMap<String, String>();\r\n\t\t\r\n\t\tfor (String query : querys) {\r\n\t\t\t\r\n\t\t\tString[] temp = getStringArray(query, START_QUERY_PATTERN);\r\n\t\t\t\r\n\t\t\tif (temp != null && temp.length == 2) {\r\n\t\t\t\t\r\n\t\t\t\ttemp[0] = temp[0].replaceAll(\"\\\\P{Alnum}\", \"\");\r\n\t\t\t\tquerysMap.put(temp[0], temp[1].trim());\r\n\t\t\t\t\r\n\t\t\t} else {\r\n\t\t\t\tLOG.error(\"El array es nulo o la longitud no es la esperada\");\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\r\n\t\tLOG.info(\"END fillMap\");\r\n\r\n\t}",
"@Override\n public Map makeMap() {\n Map<Integer,String> testMap = new HashingMap<>();\n return testMap;\n }",
"private void toMap(String cycle) {\n for (int i = 0; i < cycle.length() - 1; i++) {\n Integer input = _alphabet.toInt(cycle.charAt(i));\n Integer output = _alphabet.toInt(cycle.charAt(i + 1));\n _map.put(input, output);\n }\n Integer i = _alphabet.toInt(cycle.charAt(cycle.length() - 1));\n Integer o = _alphabet.toInt(cycle.charAt(0));\n _map.put(i, o);\n }",
"public Map<T, V> populateMap() {\n Map<T, V> map = new HashMap<>();\n for (int i = 0; i < entryNumber; i++) {\n cacheKeys[i] = (T) Integer.toString(random.nextInt(1000000000));\n String key = cacheKeys[i].toString();\n map.put((T) key, (V) Integer.toString(random.nextInt(1000000000)));\n }\n return map;\n }",
"@Override\n public void map(Text key,Text values,Context context) throws IOException, InterruptedException {\n count += 1;\n String movie_id = key.toString();\n String data = ((Text)values).toString();\n String status = count+\":\"+capopyCenters.size()+\":\"+movie_id;\n context.setStatus(status); \n NetflixMovie curr = new NetflixMovie(movie_id, data);\n boolean emitted = false;\n StringBuilder builder = new StringBuilder();\n for(NetflixMovie center: capopyCenters) {\n int matchCount = curr.MatchCount(center);\n if(matchCount > 2) {\n emitted |= true;\n if(builder.length()>0)\n builder.append(\":\");\n builder.append(center.movie_id);\n }\n }\n if(emitted) {\n builder.append(\":\");\n builder.append(movie_id);\n builder.append(\":\");\n builder.append(data);\n String to_emit = builder.toString();\n context.write(new Text(movie_id), new Text(to_emit));\n }else\n context.setStatus(\"Did not emit: \"+movie_id);\n }",
"void transit(Map<T, Integer> state) {\n for (Entry<T, Integer> x : input.entrySet())\n put(state, x.getKey(), get(state, x.getKey()) - x.getValue());\n for (T x : reset)\n put(state, x, 0);\n for (Entry<T, Integer> x : output.entrySet())\n put(state, x.getKey(), get(state, x.getKey()) + x.getValue());\n }",
"void transform(Map<String, List<Map<String,String>>> data, long startTime, long endTime);",
"private void generateKeyMappings(HashMap<Integer, Integer> keys)\n {\n int count = 0;\n for (int i = 0; i < 256; i++)\n {\n byte value = (byte) i;\n int transitions = 0;\n int last = value & 1;\n for (int k = 1; k < 8; k++)\n {\n if (((value >> k) & 1) != last)\n {\n last = ((value >> k) & 1);\n transitions++;\n if (transitions > 2)\n {\n break;\n }\n }\n }\n if (transitions <= 2)\n {\n keys.put(i, count++);\n }\n }\n }",
"private void expand() {\n int capacity = newCapacity();\n IntIntMap h = new IntIntMap(capacity);\n for (int i = 0; i < entries.length; i += 2) {\n if (entries[i] != EMPTY) {\n h.put(entries[i], entries[i + 1]);\n }\n }\n this.entries = h.entries;\n this.threshold = h.threshold;\n this.modulo = h.modulo;\n this.modulo2 = h.modulo2;\n }",
"@SuppressWarnings(\"unchecked\")\n private static <T> Map<String, T> mapOf(Object... inputs) {\n Map<String, T> map = new HashMap<>();\n for (int i = 0; i < inputs.length; i += 2) {\n String key = (String) inputs[i];\n T value = (T) inputs[i + 1];\n map.put(key, value);\n }\n return map;\n }",
"public Map<String, Object> createFldNames2ValsMap(Record record, ErrorHandler errors)\n {\n this.errors = errors;\n perRecordInitMaster(record);\n Map<String, Object> fldNames2ValsMap = new HashMap<String, Object>();\n\n for (String key : fieldMap.keySet())\n {\n String fieldVal[] = fieldMap.get(key);\n String indexField = fieldVal[0];\n String indexType = fieldVal[1];\n String indexParm = fieldVal[2];\n String mapName = fieldVal[3];\n\n if (indexType.equals(\"constant\"))\n {\n if (indexParm.contains(\"|\"))\n {\n String parts[] = indexParm.split(\"[|]\");\n Set<String> result = new LinkedHashSet<String>();\n result.addAll(Arrays.asList(parts));\n // if a zero length string appears, remove it\n result.remove(\"\");\n addFieldsToMap(fldNames2ValsMap, indexField, null, result);\n }\n else\n addFieldToMap(fldNames2ValsMap, indexField, indexParm);\n }\n else if (indexType.equals(\"first\"))\n addFieldToMap(fldNames2ValsMap, indexField, getFirstFieldVal(record, mapName, indexParm));\n else if (indexType.equals(\"all\"))\n addFieldsToMap(fldNames2ValsMap, indexField, mapName, MarcUtils.getFieldList(record, indexParm));\n else if (indexType.equals(\"DeleteRecordIfFieldEmpty\"))\n {\n Set<String> fields = MarcUtils.getFieldList(record, indexParm);\n if (mapName != null && findTranslationMap(mapName) != null)\n fields = Utils.remap(fields, findTranslationMap(mapName), true);\n\n if (fields.size() != 0)\n addFieldsToMap(fldNames2ValsMap, indexField, null, fields);\n else // no entries produced for field => generate no record in Solr\n throw new SolrMarcIndexerException(SolrMarcIndexerException.DELETE,\n \"Index specification: \"+ indexField +\" says this record should be deleted.\");\n }\n else if (indexType.startsWith(\"join\"))\n {\n String joinChar = \" \";\n if (indexType.contains(\"(\") && indexType.endsWith(\")\"))\n joinChar = indexType.replace(\"join(\", \"\").replace(\")\", \"\");\n addFieldToMap(fldNames2ValsMap, indexField, MarcUtils.getFieldVals(record, indexParm, joinChar));\n }\n else if (indexType.equals(\"std\"))\n {\n if (indexParm.equals(\"era\"))\n addFieldsToMap(fldNames2ValsMap, indexField, mapName, MarcUtils.getEra(record));\n else\n addFieldToMap(fldNames2ValsMap, indexField, getStd(record, indexParm));\n }\n else if (indexType.startsWith(\"custom\"))\n {\n try {\n handleCustom(fldNames2ValsMap, indexType, indexField, mapName, record, indexParm);\n }\n catch(SolrMarcIndexerException e)\n {\n String recCntlNum = null;\n try {\n recCntlNum = record.getControlNumber();\n }\n catch (NullPointerException npe) { /* ignore */ }\n\n if (e.getLevel() == SolrMarcIndexerException.DELETE)\n {\n throw new SolrMarcIndexerException(SolrMarcIndexerException.DELETE,\n \"Record \" + (recCntlNum != null ? recCntlNum : \"\") + \" purposely not indexed because \" + key + \" field is empty\");\n// logger.error(\"Record \" + (recCntlNum != null ? recCntlNum : \"\") + \" not indexed because \" + key + \" field is empty -- \" + e.getMessage(), e);\n }\n else\n {\n logger.error(\"Unable to index record \" + (recCntlNum != null ? recCntlNum : \"\") + \" due to field \" + key + \" -- \" + e.getMessage(), e);\n throw(e);\n }\n }\n }\n }\n this.errors = null;\n return fldNames2ValsMap;\n }",
"public MapToken() {\n\t\tmData = new FastMap<String, Object>();\n\t}",
"InfiniteMap<K,V> build(MapTypes type);",
"Map<ParameterKeys, Object> process(final Map<ParameterKeys, Object> params) throws NullPointerException, IllegalArgumentException;",
"public void map( Chunk c ) { }",
"private IMapData<Integer, String> getLinkedHashMapData1() {\n List<IKeyValueNode<Integer, String>> creationData = new ArrayList<>();\n List<IKeyValueNode<Integer, String>> data = new ArrayList<>();\n List<Integer> keys = this.createKeys(data);\n List<String> values = this.createValues(data);\n\n return new MapData<>(\n creationData,\n data,\n keys,\n values);\n }",
"private void copyMappings(Pair<Attribute[], Attribute[]> keyAttributes, boolean left) {\n\t\tAttribute[] copyAttributes = left ? keyAttributes.getFirst() : keyAttributes.getSecond();\n\t\tfor (Attribute attribute : copyAttributes) {\n\t\t\tif (attribute.isNominal()) {\n\t\t\t\tNominalMapping newMapping = (NominalMapping) attribute.getMapping().clone();\n\t\t\t\tattribute.setMapping(newMapping);\n\t\t\t}\n\t\t}\n\n\t}",
"public final void mo12410a(Map<String, String> map, Map<String, String> map2) {\n AppMethodBeat.m2504i(98681);\n HashMap hashMap = new HashMap();\n hashMap.putAll(map);\n hashMap.put(\"B59\", this.f1552p);\n if (this.f1561y) {\n hashMap.put(\"B85\", \"1\");\n }\n if (this.f15282c) {\n hashMap.put(\"B95\", \"1\");\n } else {\n hashMap.put(\"B96\", this.f1547C);\n }\n if (!this.f1562z) {\n hashMap.put(\"B23\", \"1\");\n }\n HashMap hashMap2 = new HashMap();\n hashMap2.putAll(map2);\n if (this.f15292m != 0) {\n hashMap2.put(\"B84\", this.f15292m);\n }\n hashMap2.put(\"B87\", this.f1545A);\n hashMap2.put(\"B88\", this.f1546B);\n hashMap2.put(\"B90\", this.f1549E.f1569g);\n hashMap2.put(\"B91\", this.f1549E.f1570h);\n hashMap2.put(\"B92\", this.f1549E.f1571i);\n hashMap2.put(\"B93\", this.f1549E.f1572j);\n hashMap2.put(\"B94\", this.f1549E.f1573k);\n if (!TextUtils.isEmpty(this.f15287h)) {\n hashMap2.put(\"B47\", this.f15287h);\n }\n if (!TextUtils.isEmpty(this.f1548D)) {\n hashMap2.put(\"B41\", this.f1548D);\n }\n int i = this.f1559w.f1540a != 0 ? this.f1559w.f1540a : this.f1559w.f1542c == 200 ? 0 : this.f1559w.f1542c;\n if (!this.f1555s || i == -4) {\n C24371es.m37719b(\"HLHttpDirect\", C46772bt.m88739c(), i, this.f1559w.f1541b, hashMap, hashMap2, this.f15288i);\n AppMethodBeat.m2505o(98681);\n return;\n }\n C24371es.m37717a(\"HLHttpDirect\", C46772bt.m88739c(), i, this.f1559w.f1541b, hashMap, hashMap2, this.f15288i);\n AppMethodBeat.m2505o(98681);\n }",
"void setHashMap();",
"private void initMap(String day,int colIndex){\n position.put(day+\" 08\",new Pair(colIndex,1));\n position.put(day+\" 09\",new Pair(colIndex,2));\n position.put(day+\" 10\",new Pair(colIndex,3));\n position.put(day+\" 11\",new Pair(colIndex,4));\n position.put(day+\" 12\",new Pair(colIndex,5));\n position.put(day+\" 13\",new Pair(colIndex,6));\n position.put(day+\" 14\",new Pair(colIndex,7));\n position.put(day+\" 15\",new Pair(colIndex,8));\n position.put(day+\" 16\",new Pair(colIndex,9));\n position.put(day+\" 17\",new Pair(colIndex,10));\n position.put(day+\" 18\",new Pair(colIndex,11));\n position.put(day+\" 19\",new Pair(colIndex,12));\n position.put(day+\" 20\",new Pair(colIndex,13));\n }",
"private IMapData<Integer, String> getHashMapData2() {\n List<IKeyValueNode<Integer, String>> creationData = ArrayLists.make(\n KeyValueNode.make(1, \"a\"),\n KeyValueNode.make(1, \"a\"),\n KeyValueNode.make(2, \"b\"),\n KeyValueNode.make(2, \"c\"),\n KeyValueNode.make(2, \"b\"),\n KeyValueNode.make(3, \"a\"),\n KeyValueNode.make(3, \"b\"),\n KeyValueNode.make(3, \"c\"));\n\n List<IKeyValueNode<Integer, String>> data = ArrayLists.make(\n KeyValueNode.make(1, \"a\"),\n KeyValueNode.make(2, \"b\"),\n KeyValueNode.make(3, \"c\"));\n\n List<Integer> keys = this.createKeys(data);\n List<String> values = this.createValues(data);\n\n return new MapData<>(\n creationData,\n data,\n keys,\n values);\n }",
"public MapData(Generator<K> generator, V value, int quantity) {\n for (int i = 0; i < quantity; i++) {\n put(generator.next(), value);\n }\n }",
"MapBuilder<K,V> pairInjection(Injection<OrderedPair<K,V>, byte[]> pairInjection);",
"private void initValues() {\n \n }",
"protected Map<String,List<PageViewVO>> initializePageMap() {\n\t\tMap<String,List<PageViewVO>> pm = new HashMap<>();\n\t\tfor (Section sect : Section.values()) {\n\t\t\tpm.put(sect.name(), new ArrayList<>());\n\t\t}\n\t\treturn pm;\n\t}",
"public abstract Map<K, V> a();",
"@Test\n public void mapNew() {\n check(MAPNEW);\n query(EXISTS.args(MAPNEW.args(\"()\")), true);\n query(MAPSIZE.args(MAPNEW.args(\"()\")), 0);\n query(COUNT.args(MAPNEW.args(\"()\")), 1);\n query(MAPSIZE.args(MAPNEW.args(MAPNEW.args(\"()\"))), 0);\n }",
"public FMap(String rute) {\n super(rute);\n init(rute);\n }",
"@Test\n public void hashMapInitialised()\n {\n Map<Integer, String> strings = MapUtil.<Integer, String>hashMap().keyValue(1, \"Me\").keyValue(2, \"You\");\n // Is this really better than calling strings.put(..)?\n\n assertEquals(\"You\", strings.get(2));\n }"
]
| [
"0.62421185",
"0.62368387",
"0.6085258",
"0.6016183",
"0.58868283",
"0.58526075",
"0.58426756",
"0.5801066",
"0.57975245",
"0.5777039",
"0.5687637",
"0.56268007",
"0.55681163",
"0.5560662",
"0.55564296",
"0.55561155",
"0.5532598",
"0.5489588",
"0.54504323",
"0.54378396",
"0.5381366",
"0.53580225",
"0.5357217",
"0.53533936",
"0.5349638",
"0.5326866",
"0.53245866",
"0.5317182",
"0.5314727",
"0.5304114",
"0.5303544",
"0.52994317",
"0.5296049",
"0.5295062",
"0.5292212",
"0.5285714",
"0.5280378",
"0.52791995",
"0.5276959",
"0.5271575",
"0.52702785",
"0.5259267",
"0.524844",
"0.5246198",
"0.52361286",
"0.52206177",
"0.52094465",
"0.5204748",
"0.5201974",
"0.5195326",
"0.519408",
"0.5189246",
"0.5188333",
"0.5183315",
"0.51762676",
"0.51630384",
"0.51608276",
"0.5158019",
"0.5157933",
"0.5155412",
"0.51540375",
"0.514798",
"0.5144748",
"0.5137898",
"0.5129783",
"0.5125356",
"0.51152205",
"0.5114798",
"0.5114317",
"0.51101744",
"0.5107391",
"0.510733",
"0.5105471",
"0.5101643",
"0.50849944",
"0.5077702",
"0.5062421",
"0.5061904",
"0.50587946",
"0.505497",
"0.50514144",
"0.5049802",
"0.5044526",
"0.504132",
"0.5037234",
"0.50337917",
"0.5012869",
"0.5012131",
"0.5011158",
"0.5004106",
"0.5003319",
"0.50006884",
"0.49998194",
"0.49831635",
"0.49817044",
"0.49802634",
"0.497517",
"0.49691334",
"0.49685627",
"0.49681213",
"0.49675795"
]
| 0.0 | -1 |
get employee by id | @Override
@Transactional
public Employee getEmployeeByID(int employeeID) {
Optional<Employee> empData = employeeRepository.findById(employeeID);
return empData.get();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic Employee getEmployee(int id) {\n\t\treturn employees.stream().filter(emp -> emp.getEmpId()==(id)).findFirst().get();\r\n\t}",
"public Employee findEmployee(Long id);",
"public Employee getEmployeeByID(int id) {\n\t\t\r\n\t\ttry {\r\n\t\t\tEmployee f = temp.queryForObject(\"Select * from fm_employees where EID =?\",new EmployeeMapper(),id);\r\n\t\t\treturn f;\r\n\t\t} catch (EmptyResultDataAccessException e) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}",
"public void getByIdemployee(int id){\n\t\tEmployeeDTO employee = getJerseyClient().resource(getBaseUrl() + \"/employee/\"+id).get(EmployeeDTO.class);\n\t\tSystem.out.println(\"Nombre: \"+employee.getName());\n\t\tSystem.out.println(\"Apellido: \"+employee.getSurname());\n\t\tSystem.out.println(\"Direccion: \"+employee.getAddress());\n\t\tSystem.out.println(\"RUC: \"+employee.getRUC());\n\t\tSystem.out.println(\"Telefono: \"+employee.getCellphone());\n\t}",
"Employee findById(int id);",
"@Override\n\tpublic Employee getEmpleadoById(String id) {\n\t\treturn repositorioEmployee.findOne(id);\n\t}",
"public Employee getEmployeeFromId(Integer id) {\n\n return employeeMap.get(id);\n }",
"public Employee getEmployeeById(int id) {\r\n\t\treturn employee1.get(id);\r\n\t}",
"public Employee get(int id) {\n\n\t\t\tfor (Employee c : employees) {\n\t\t\t\tif (c.getId()==(id)) {\n\t\t\t\t\treturn c;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn null;\n\t\t}",
"public Employee getEmp(Integer id) {\n\t\tEmployee selectByPrimaryKey = employeeMapper.selectByPrimaryKey(id);\n\t\treturn selectByPrimaryKey;\n\t}",
"public Employee getEmployeeById(int id) {\n\t\tEmployee employee;\n\t\temployee = template.get(Employee.class, id);\n\t\treturn employee;\n\t}",
"@Override\n\tpublic Employee findById(int id) {\n\t\tList<Employee> employeeList= \n\t\tlistEmployee().stream().filter((e -> e.getId()==id)).collect(Collectors.toList());\n\t\t\n\t\treturn (Employee)employeeList.get(0);\n\t}",
"public Employee getEmployeeById(int id) {\n Employee foundedEmployee = null;\n String SQL = \"SELECT * FROM `employees` WHERE `idEmployee` =\" + id + \"\";\n MysqlDbManager dbManager = MysqlDbManager.getInstance();\n try {\n ResultSet resultSet = dbManager.getResultSet(SQL);\n while (resultSet.next()) {\n foundedEmployee = new Employee(resultSet);\n }\n } catch (SQLException e) {\n LOGGER.log(Level.SEVERE, \"SQLException\" + e.toString());\n } finally {\n try {\n if (!dbManager.getPreparedStatement().isClosed()) {\n dbManager.getPreparedStatement().close();\n }\n if (!dbManager.getResultSet().isClosed()) {\n dbManager.getResultSet().close();\n }\n } catch (SQLException e) {\n LOGGER.log(Level.SEVERE, \"SQLException\" + e.toString());\n }\n }\n return foundedEmployee;\n }",
"@Override\n\tpublic Employee getEmployeeById(int emp_id) {\n\t\tlog.debug(\"EmplyeeService.getEmployeeById(int emp_id) return Employee object with id\" + emp_id);\n\t\treturn repositary.findById(emp_id);\n\t}",
"@Transactional(readOnly = true)\n public Employee get(Long id) {\n logger.debug(\"retrieve a employee by id : {}\", id);\n return employeeDao.get(id);\n }",
"EmployeeDetail getById(long identifier) throws DBException;",
"public Employee getEmployeeDetailById(int id) {\n\t\treturn dao.getEmployeeDetailById(id);\n\t}",
"public Employee getEmployeebyId(int id) {\r\n\t\tEmployee e = SQLUtilityEmployees.getEmpByID(id);\r\n\t\treturn e;\r\n\t\t\r\n\t}",
"@GetMapping(\"/employee/{id}\")\n\tpublic ResponseEntity<Employee> getEmployeeById(@PathVariable Long id) {\n\t\t\n\t\tEmployee employee = emprepo.findById(id).orElseThrow(()-> new ResourceNotFoundException(\"Employee not exist with id: \" + id)); \n\t\t\n\t\treturn ResponseEntity.ok(employee);\n\t}",
"@GetMapping(\"/employees/{id}\")\n\tpublic ResponseEntity<Employee> getEmployeeById(@PathVariable Long id) {\n\t\tEmployee orElseThrow = repo.findById(id).orElseThrow(() -> new ResourceNotFoundException(\"Employee not exist with id \" + id));\n\t\treturn ResponseEntity.ok(orElseThrow);\n\t}",
"@Override\r\n\tpublic DataResult<Employees> getById(int id) {\n\t\treturn null;\r\n\t}",
"public Employee getEmployeeById(Long employeeId) {\n return employeeRepository.findEmployeeById(employeeId);\n }",
"@Override\n\tpublic Employee getById(Integer employeeId) {\n\t\treturn employeeDao.getById(employeeId);\n\t}",
"@Override\n\tpublic Employee findByemployeeId(Long id) {\n\t\treturn employeeRepository.findById(id).orElse(null);\n\t}",
"public Optional<Employee> getEmployee(Long id){\n return employeeRepository.findById(id);\n }",
"public Employee getById(Long id) throws SQLException {\n Session session = currentSession();\n Transaction transaction = session.beginTransaction();\n Query<Employee> query = session.createQuery(\n \"from Employee where id = :id\",Employee.class);\n query.setParameter(\"id\", id);\n Employee employee = query.list().stream().findAny().orElse(null);\n transaction.commit();\n session.close();\n return employee;\n }",
"@RequestMapping(value = \"/findId/{id}\", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)\n public final EmployeeDTO findEmployeeById(@PathVariable(\"id\") long id) {\n try {\n LOGGER.info(\"getting Employee with id=\" + id);\n return employeeFacade.findEmployeeById(id);\n } catch (NonExistingEntityException e) {\n throw new RequestedResourceNotFound(\"Employee with id=\" + id + \" does not exist in system.\", e);\n } catch (IllegalArgumentException e) {\n throw new RequestedResourceNotFound(\"Argument id is illegal.\", e);\n }\n }",
"public Employee getEmployeeById(String id) {\n\t\t\t\n\t\t\tfor(Employee employee : employees) {\n\t\t\t\t\n\t\t\t\tif(id.equals(employee.getEmployeeId()) && employee != null){\n\t\t\t\t\treturn employee;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\treturn null;\n\t\t\t\n\t\t}",
"public Optional<Employee> getEmployee(int id) {\n\n\t\tOptional<Employee> employeeList = employeeRepository.findById(id);\n\n\t\tif (employeeList.isEmpty()) {\n\n\t\t\tthrow new NoDataFoundException(\"Employee is empty\");\n\t\t}\n\t\treturn employeeList;\n\n\t}",
"@GetMapping(\"/employee/{id}\")\r\n\tpublic ResponseEntity<Employee> getEmployeeById(@PathVariable Long id)\r\n\t{\r\n\t\tEmployee emp=empdao.findOne(id);\r\n\t\tif(emp == null)\r\n\t\t{\r\n\t\treturn ResponseEntity.notFound().build();\r\n\t\t}\r\n\t\treturn ResponseEntity.ok().body(emp);\r\n\t}",
"@GetMapping(\"/employee/{id}\")\n public Employee getEmployeeById(@PathVariable(value = \"id\") Integer id){\n\n Employee employee = employeeService.findEmployeeById(id);\n\n return employee;\n }",
"public EmployeeDTO getEmployee(final Long id) {\n\t\tfinal String sql = \"SELECT * FROM EMPLOYEES WHERE ID = ?\";\n\t\tfinal Object[] args = new Object[] { id };\n\n\t\treturn jdbcTemplate.queryForObject(sql, args, new EmployeeRowMapper());\n\t}",
"@Override\n\tpublic Employee getEmployeeById(int id) {\n\t\treturn null;\n\t}",
"@Override\n\tpublic Employee getEmployeeById(int id) {\n\t\treturn null;\n\t}",
"public Employee findById(final String id) {\n LOG.debug(\"getting Employee instance with id: \" + id);\n try {\n Employee instance = entityManager.find(Employee.class, id);\n LOG.debug(\"get successful\");\n return instance;\n } catch (RuntimeException re) {\n LOG.error(\"get failed\", re);\n throw re;\n }\n }",
"@Override\n\tpublic Employee getEmployeeById(Integer id) {\n\t\treturn null;\n\t}",
"public Employeedetails getEmployeeDetailByName(String employeeId);",
"@Override\n\t@Transactional\n\tpublic Employee findEmployeeById(int id) {\n\t\treturn employeeDao.findEmployeeById(id);\n\t}",
"public Employee getByID(int empId) {\n\t\tEmployee e = employees.get(empId);\n\t\tSystem.out.println(e);\n\t\treturn e;\n\t}",
"@GetMapping(\"/employee/{id}\")\r\n\tpublic Employee get(@PathVariable Integer id) {\r\n\t \r\n\t Employee employee = empService.get(id);\r\n\t return employee;\r\n\t \r\n\t}",
"public Employee getEmployeeById(Long custId)throws EmployeeException;",
"@GetMapping(\"/employebyid/{empId}\")\n\t public ResponseEntity<Employee> getEmployeeById(@PathVariable int empId)\n\t {\n\t\tEmployee fetchedEmployee = employeeService.getEmployee(empId);\n\t\tif(fetchedEmployee.getEmpId()==0)\n\t\t{\n\t\t\tthrow new InvalidEmployeeException(\"No employee found with id= : \" + empId);\n\t\t}\n\t\telse \n\t\t{\n\t\t\treturn new ResponseEntity<Employee>(fetchedEmployee,HttpStatus.OK);\n\t\t}\n }",
"public Emp findEmpById(int id) throws Exception {\n\t\tSession session = null;\n\t\tEmp emp = null;\n\t\ttry {\n\t\t\tsession = sf.openSession();\n\t\t\temp = (Emp) session.get(Emp.class, id);\n\t\t\tsession.flush();\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tif (session != null)\n\t\t\t\tsession.close();\n\t\t}\n\t\treturn emp;\n\t}",
"@Override\r\n\tpublic Employee findEmployeeById(int empId) {\n\t\tEmployee employee = null;\r\n\t\tString findData = \"select * from employee where empId=?\";\r\n\r\n\t\ttry {\r\n\t\t\tPreparedStatement ps = dataSource.getConnection().prepareStatement(findData);\r\n\t\t\tps.setInt(1, empId);\r\n\r\n\t\t\tResultSet set = ps.executeQuery();\r\n\r\n\t\t\twhile (set.next()) {\r\n\t\t\t\tString name = set.getString(1);\r\n\t\t\t\tint id = set.getInt(\"empId\");\r\n\t\t\t\tint sal = set.getInt(\"salary\");\r\n\t\t\t\tString tech = set.getString(\"technology\");\r\n\t\t\t\temployee = new Employee(id, sal, name, tech);\r\n\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn employee;\r\n\r\n\t}",
"@Override\n\tpublic Optional<Employee> getEmployeeById(int Id) {\n\t\treturn employeeDao.getEmployeeById(Id);\n\t}",
"public Employee findEmployee(String id)\n\t{\t\t\n\t\tHRProtocol envelop = null;\n\t\tenvelop = new HRProtocol(HRPROTOCOL_FIND_EMPLOYEE_REQUEST, id, null);\n\t\tsendEnvelop(envelop);\n\t\tenvelop = receiveEnvelop();\n\t\tif(envelop.getPassingCode() == HRPROTOCOL_FIND_EMPLOYEE_RESPONSE)\n\t\t{ \n\t\t\tint eid = ((Employee)envelop.getPassingObject()).getEmployeeId();\n\t\t\tString lastName = ((Employee)envelop.getPassingObject()).getLastName();\n\t\t\tString firstName = ((Employee)envelop.getPassingObject()).getFirstName();\n\t\t\tint DepNo = ((Employee)envelop.getPassingObject()).getDepartmentId();\n\n\t\t\tEmployee emp = new Employee(firstName, lastName, eid, DepNo);\n\t\t\treturn emp;\n\t\t\t\n\t\t}else\n\t\t{\n\t\t\t//Error in transition. or other error codes.\n\t\t\treturn null;\n\t\t}\n\t}",
"@Override\n\tpublic EmployeeBean getEmployeeDetails(Integer id) throws Exception {\n\t\treturn employeeDao.getEmployeeDetails(id);\n\t}",
"@GetMapping(\"/employees/{id}\")\n public ResponseEntity<Employee> getEmployeeById(@PathVariable(value = \"id\") long employeeId) throws ResourceNotFoundException {\n Employee employee = service.getEmployeeById(employeeId).orElseThrow(() -> new ResourceNotFoundException(\"Employee not found for this id: \" + employeeId));\n return ResponseEntity.ok().body(employee);\n }",
"@GetMapping(value=\"/employes/{Id}\")\n\tpublic Employee getEmployeeDetailsByEmployeeId(@PathVariable Long Id){\n\t\t\n\t\tEmployee employee = employeeService.fetchEmployeeDetailsByEmployeeId(Id);\n\t\t\n\t\treturn employee;\n\t\t}",
"public Employee getEmployeeById(String id) {\r\n for(int i = 0; i < companyDirectory.size(); i++) {\r\n\t for(int j = 0; j < companyDirectory.get(i).getLocations().size(); j++) {\r\n\t\t for(int k = 0; k < companyDirectory.get(i).getLocations().get(j).getEmployees().size(); k++) {\t\t\r\n\t\t if(companyDirectory.get(i).getLocations().get(j).getEmployees().get(k).getId().equals(id)) \r\n\t\t \treturn companyDirectory.get(i).getLocations().get(j).getEmployees().get(k);\r\n\t\t }\r\n\t\t}\r\n\t }\r\n return null;\r\n\t}",
"@Override\n\tpublic Employee getEmployeeById(int employeeId) {\n\t\ttry {\n\t\t\treturn template.queryForObject(\"select * from employee where empid = ?\", new Object[] { employeeId },\n\t\t\t\t\tnew RowMapper<Employee>() {\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic Employee mapRow(ResultSet rs, int rowNum) throws SQLException {\n\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\tEmployee emp = new Employee();\n\t\t\t\t\t\t\temp.setEmployeeId(rs.getInt(\"empid\"));\n\t\t\t\t\t\t\temp.setFirstName(rs.getString(\"fname\"));\n\t\t\t\t\t\t\temp.setLastName(rs.getString(\"lname\"));\n\t\t\t\t\t\t\temp.setEmail(rs.getString(\"email\"));\n\t\t\t\t\t\t\temp.setDesignation(rs.getString(\"desig\"));\n\t\t\t\t\t\t\temp.setLocation(rs.getString(\"location\"));\n\t\t\t\t\t\t\temp.setSalary(rs.getInt(\"salary\"));\n\t\t\t\t\t\t\treturn emp;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t});\n\n\t\t} catch (EmptyResultDataAccessException excep) {\n\t\t\treturn null;\n\t\t}\n\t}",
"@Override\n\tpublic Employee findById(int id) {\n\t\tSession currentSession = entityManager.unwrap(Session.class);\n\t\t\n\t\t// create a query to get an employee based on Id\n\t\tQuery<Employee> theQuery = currentSession.createQuery(\"from Employee e where e.id =: id\" , Employee.class);\n\t\ttheQuery.setParameter(\"id\", id);\n\t\tEmployee employee = theQuery.getSingleResult();\n\t\treturn employee;\n\t}",
"@GetMapping(\"{id}\")\n\t@Secured(Roles.ADMIN)\n\tpublic ResponseEntity<EmployeeDto> getById(@PathVariable long id) {\n\t\tLogStepIn();\n\n\t\tEmployee employee = employeeRepository.findById(id);\n\n\t\tif (employee == null)\n\t\t\treturn LogStepOut(ResponseEntity.notFound().build());\n\t\telse\n\t\t\treturn LogStepOut(ResponseEntity.ok(toDto(employee)));\n\t}",
"public Employee getEmployeeById(long id) {\n\t\tEmployee employee = employeeDao.findEmployeeByEmployeeId(id);\n\t\tif(employee != null)\n\t\t\treturn employee;\n\t\treturn null;\n\t}",
"@GetMapping(\"/getEmployeeByID/{id}\")\n\t\tpublic ResponseEntity<EmployeeMon> getEmployeeByID(@PathVariable Integer id) throws Exception {\n\t\t\tEmployeeMon model = repository.findById(id)\n\t\t\t.orElseThrow(() -> new ResourceNotFoundException(\"Employee not found for this id :: \" + id));\n\t\t\treturn ResponseEntity.ok().body(model);\n\t\t}",
"public Employee findById(int id) throws InvalidOperationException {\n try {\n return employeeArray[id];\n } catch (ArrayIndexOutOfBoundsException e) {\n throw new InvalidOperationException(\"Error finding employee \", e);\n }\n }",
"public EmployeeResponse getById(int id) throws EmployeeNotFoundException {\n\n Optional<Employee> result=employeeRepository.findById(id);\n if (result.isPresent()){\n EmployeeResponse response=new EmployeeResponse();\n response.setId(result.get().getId());\n response.setName(result.get().getName());\n return response;\n }\n\n throw new EmployeeNotFoundException(\"Employee not found id=\"+id);\n// return response;\n }",
"@RequestMapping(value = BASE_URL_API + GET_EMPLOYEE_DETAIL_BY_ID_API, method = RequestMethod.GET)\r\n public ResponseEntity<?> getEmployeeDetail(@PathVariable(\"id\") String id) {\r\n checkLogin();\r\n EmployeeVO employeeDetail = employeeService.getEmployeeById(id);\r\n\r\n return new ResponseEntity<EmployeeVO>(employeeDetail, HttpStatus.OK);\r\n }",
"@Override\n\tpublic Employee getEmployeeByID(int empid) throws RemoteException {\n\t\treturn DAManager.getEmployeeByID(empid);\n\t}",
"public Employee listEmployeeById(int id) throws SQLException {\n\t\t\treturn employeeDAO.listEmployeeById(id);\n\t\t}",
"@Override\n public Mechanic getEmployee(Long id) {\n LOGGER.info(\"Get Mechanic with id {}\", id);\n return mechanicRepository.findById(id)\n .orElseThrow(() -> new NotFoundException(Entity.MECHANIC.toString(), id, HttpStatus.NOT_FOUND));\n }",
"Employee selectByPrimaryKey(String id);",
"@Override\n\tpublic Empdetails findById(int empid) {\n\t\t\t\treturn empDAO.findById(empid);\n\t}",
"public Employee viewInformation(int id) {\n\t\tEmployee employee = new Employee(); \n\t\ttry{ \n\n\t\t\tString sql = \"select * from employees where id = \"+id; \n\t\t\tConnection connection = DBConnectionUtil.getConnection();\n\t\t\tStatement statement = connection.createStatement();\n\t\t\tResultSet resultSet = statement.executeQuery(sql);\n\n\t\t\tresultSet.next();\n\t\t\temployee.setId(resultSet.getInt(\"employee_id\"));\n\t\t\temployee.setUsername(resultSet.getString(\"username\"));\n\t\t\temployee.setPassword(resultSet.getString(\"password\"));\n\t\t\temployee.setFirstName(resultSet.getString(\"first_name\"));\n\t\t\temployee.setLastName(resultSet.getString(\"last_name\"));\n\t\t\temployee.setEmail(resultSet.getString(\"email\"));\n\t\t\t\n\t\t\treturn employee;\n\t\t\t \n\t\t}catch(Exception e){System.out.println(e);} \n\t\treturn null; \t\t\n\t}",
"@GetMapping(\"/one/{id}\")\n\tpublic ResponseEntity<?> getOneEmployee(@PathVariable Integer id) {\n\t\tResponseEntity<?> response = null;\n\t\ttry {\n\t\t\tEmployee employee = service.getOneEmployee(id);\n\t\t\tresponse = new ResponseEntity<Employee>(employee, HttpStatus.OK); // 200\n\t\t} catch (EmployeeNotFoundException enfe) {\n\t\t\tthrow enfe;\n\t\t}\n\t\treturn response;\n\t}",
"@Override\n\tpublic Employee findById(Integer eid) {\n\t\tEmployee employee = employeeDao.findById(eid);\n\t\treturn employee;\n\t}",
"@GET\n\t@Path(\"{empID}\")\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic Response getById(@PathParam(\"empID\") int id) {\n\t\tEmployeeFacade employeeFacade = new EmployeeFacade();\n\t\tGenericEntity<List<EmployeeVO>> generic = new GenericEntity<List<EmployeeVO>>(employeeFacade.findById(id)) {};\n\t\treturn Response.status(200).header(\"Access-Control-Allow-Origin\", CorsFilter.DEFAULT_ALLOWED_ORIGINS).entity(generic).build();\n\t}",
"@Override\n\tpublic Empregado getEmpregadoById(long id) {\n\t\treturn empregadoRepository.findById(id).get();\n\t}",
"@Override\n\tpublic Empdetails getemp(int empid) {\n\t\treturn empDAO.getemp(empid);\n\t}",
"@Override\r\n\tpublic EmployeeBean searchemp(int id) {\n\t\tEntityManager entityManager = entityManagerFactory.createEntityManager();\r\n\r\n\t\tEmployeeBean bean = entityManager.find(EmployeeBean.class, id);\r\n\t\tif (bean != null) {\r\n\t\t\treturn bean;\r\n\t\t} else {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t}",
"@GetMapping(\"/{id}\")\n public Employee findById(@PathVariable(\"id\") Long id){\n return employeeService.findById(id);\n }",
"public Optional<Employeee> findById(int id) {\n\t\treturn employeerepo.findById(id);\n\t}",
"@Transactional(readOnly = true)\n public Optional<Employee> findOne(Long id) {\n log.debug(\"Request to get Employee : {}\", id);\n return employeeRepository.findById(id);\n }",
"@Override\n\tpublic ResponseEntity<Employee> findById(Long id) {\n\t\treturn null;\n\t}",
"@GetMapping(\"/external/{id}\")\n\t\t\t@JsonView(Views.External.class)\n\t\t\tpublic Optional<Employee> getEmployeeById(@PathVariable(\"id\") @Min(1) Long id) {\n\t\t\t\tSystem.out.println(\"id\"+id);\n\t\t\t\ttry {\n\t\t\t\t\treturn employeeService.getEmployeeById(id);\n\t\t\t\t} catch (UserNotFoundException e) {\n\t\t\t\t\tthrow new ResponseStatusException(HttpStatus.NOT_FOUND, e.getMessage());\n\t\t\t\t}\n\n\t\t\t}",
"@Override\n\tpublic EmployeeBean getEmployee(int employeeId) {\n\t\tLOGGER.info(\"starts getEmployee method\");\n\t\tLOGGER.info(\"Ends getEmployee method\");\n\t\treturn adminEmployeeDao.getEmployee(employeeId);\n\t}",
"public Employee getStudentOnId(int id);",
"@GetMapping(value = {\"/{id}\", \"/{id}/\"})\n public ResponseEntity<Employee> loadEmployee(@NotBlank @PathVariable(\"id\") String id){\n Employee employee = employeeService.getEmployee(id);\n return new ResponseEntity<>(employee, HttpStatus.OK);\n }",
"@RequestMapping(value = \"/employee/{empId}\", method = RequestMethod.GET)\r\n\tpublic Employee getEmployeedetails(@PathVariable int empId) throws EmployeeMaintainceException {\r\n\t\ttry {\r\n\t\t\treturn eService.getEmployee(empId);\r\n\t\t} catch (Exception e) {\r\n\t\t\tthrow new EmployeeMaintainceException(204, e.getMessage());\r\n\t\t}\r\n\t}",
"ProEmployee selectByPrimaryKey(String id);",
"EmployeeDTO findById(Long employeeId);",
"Empleado findById(Integer id);",
"public String getEmployeeById(int id) {\n\t\t//logger.info(\"Inside get employee by id.... Now calling get employee by id\");\n\t\t\n\t\t//logger.log(Level.FINEST ,\"theEmployee value is:....................................\"+theEmployee);\n\t\ttry {\n\t\t\tEmployee theEmployee=getEmployeeService().getEmployeeByID(id);\n\t\t\tExternalContext externalContext= FacesContext.getCurrentInstance().getExternalContext();\n\t\t\tMap<String,Object> requestMap= externalContext.getRequestMap();\n\t\t\trequestMap.put(\"employeeBean\", theEmployee);\n\t\t}catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t//logger.info(\"displaying the map................\"+requestMap);\n\t\treturn \"update\";\n\t}",
"@Override\n@Transactional\npublic Employee getEmployeeById(int id) {\n\treturn entityManager.find(Employee.class, id);\n}",
"@GetMapping(value=\"employee/{employeeId}\")\n\tpublic ResponseEntity<Employee> getEmployeeById(@PathVariable(\"employeeId\") int employeeId)\n\t{\n\t\treturn employeeService.getEmployeeById(employeeId);\n\t}",
"@Override\n\tpublic Emp findbyId(int eid) {\n\t\treturn eb.findbyId(eid);\n\t}",
"@GET\n\t@Consumes(\"text/plain\")\n\t@Produces(\"application/json\")\n\t@Path(\"/get/{id}\")\n\tpublic Response getEmployee(@PathParam(\"id\") String id) {\n\t\tid = id.trim();\n\t\tif (bookedTickets.containsKey(id)) {\n\t\t\tMap<String, String> info = new HashMap<>();\n\t\t\tinfo = bookedTickets.get(id);\n\t\t\tTicket ticket = new Ticket();\n\t\t\tticket.setDate(info.get(\"date\"));\n\t\t\tticket.setFoodItems(info.get(\"foodItems\"));\n\t\t\tticket.setSeats(info.get(\"seats\"));\n\t\t\tticket.setShowTime(info.get(\"showTime\"));\n\t\t\tticket.setTheater(info.get(\"theater\"));\n\t\t\tticket.setTicketNo(info.get(\"ticketNo\"));\n\t\t\tticket.setTotalPrice(info.get(\"totalPrice\"));\n\t\t\t\n\t\n\t\t\treturn Response.ok(ticket).build();\n\t\t}\n\n\t\tMessage msg = new Message();\n\t\tmsg.setMessage(\"ID is not registered\");\n\t\treturn Response.ok(msg).build();\n\n\t}",
"@Override\n\tpublic JSONObject getEmployeeById(String id) {\n\t\tJSONObject json=new JSONObject();;\n\t\tEmployeeDAO employeeDAO = DAOFactory.getEmployeeDAO();\n\t\ttry {\n\t\t\tEmployee employee=employeeDAO.findById(id);\n\t\t\tjson.put(\"name\", employee.getName());\n\t\t\tjson.put(\"id\", employee.getId());\n\t\t\tjson.put(\"job\", employee.getJobTitle());\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 json;\n\t}",
"@Override\n\tpublic Employee getEmployeeById(int empId) {\n\t\treturn null;\n\t}",
"@RequestMapping(value = \"/getEmpoyeeById\", method = RequestMethod.GET, produces = { MediaType.APPLICATION_JSON_VALUE })\r\n\tpublic Stream<Employee> getEmpoyeeById(@RequestParam int id){\r\n\t\treturn repository.getAllEmpoyees().stream().filter(emp -> emp.getEmpId() == id);\r\n\t}",
"@Override\r\n\t@Transactional\r\n\tpublic EmployeeMaster getEmployeebyId(int id) {\r\n\t\tString hql = \"FROM EmployeeMaster WHERE obsolete ='N' and emp_id =\"+ id + \"\";\r\n\t\tQuery query = sessionFactory.getCurrentSession().createQuery(hql);\r\n\t\t\r\n\t\tList<EmployeeMaster> emplist = (List<EmployeeMaster>) query.list();\r\n\t\tif(emplist != null && !emplist.isEmpty()) {\r\n\t\t\treturn emplist.get(0);\r\n\t\t}\r\n\t\treturn null;\r\n\t}",
"@GetMapping(\"/one/{id}\")\n\tpublic ResponseEntity<?> fetchOneData(@PathVariable(\"id\") Integer id) {\n\t\tResponseEntity<?> res = null;\n\t\ttry {\n\t\t\tEmployee emp = service.getOneEmpObject(id);\n\t\t\tres = new ResponseEntity<Employee>(emp, HttpStatus.OK);\n\t\t} catch (Exception e) {\n\t\t\tres = new ResponseEntity<String>(\"Unable Featch Data \", HttpStatus.INTERNAL_SERVER_ERROR);\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn res;\n\t}",
"public List<EmployeeManage> queryEmployeeId(int id) {\n\t\treturn \temployeeManageDao.queryEmployeeId(id);\r\n\t}",
"public Empresa getEmpresa(String id) {\n Empresa e = null;\n String empresaID;\n try {\n connection = con.connect();\n PreparedStatement stm = connection.prepareStatement(\"SELECT Empresa.* FROM Empresa \" +\n \"INNER JOIN Revista ON Revista.Empresa_ID = Empresa.ID \" +\n \"WHERE Revista.ID = \" + id);\n //stm.setString(1, id);\n ResultSet rs = stm.executeQuery();\n if (rs.next()) {\n String i = rs.getString(\"ID\");\n String n = rs.getString(\"Nome\");\n String r = rs.getString(\"Rua\");\n String c = rs.getString(\"Cidade\");\n String q = rs.getString(\"QuantidadeRevistas\");\n e = new Empresa(i, n, c, r, q);\n }\n } catch (SQLException e1) {\n e1.printStackTrace();\n }\n finally{\n con.close(connection);\n }\n return e;\n }",
"@GET\n\t@Path(\"{id}\")\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic String getEmployeeById(@PathParam(\"id\") String id) throws ParseException{\n\t\tString message = \"{}\";\n\t\t\n\t\tJSONObject employeesJsonObject = (JSONObject) parser.parse(getFileContent());\n\t\tJSONArray employeesArray = (JSONArray) employeesJsonObject.get(\"employee\");\n\t\tJSONObject employee;\n\t\t\n\t\t/*checking each employee*/\n\t\tfor ( int i = 0 ; i < employeesArray.size() ; i++ ){\n\t\t\temployee = ((JSONObject) employeesArray.get(i));\n\t\t\t\n\t\t\tif(employee.get(\"id\").toString().equalsIgnoreCase(id)){\n\t\t\t\tmessage = employee.toString();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn message;\n\t}",
"@GetMapping(value = \"/getGreetingByID\")\n\tpublic ResponseEntity<String> getEmployeeByID(@RequestParam(name = \"id\") int id) {\n\t\treturn new ResponseEntity<>(greetingService.getEmployeeByID(id), HttpStatus.OK);\n\t}",
"public Employee retrieveEmployee(Integer employeeId) {\n\t\t\n\t\tif(null == employeeId){return null;}\n\t\t\n\t\tif(log.isTraceEnabled()){\n\t\t\tlog.trace(\"mapping objects about to begin employee -> employeeBo\");\n\t\t}\n\n\t\tEmployeeBo employeeBo = new EmployeeBo(employeeId);\n\t\t\n\t\tif(employeeBo == null){\n\t\t\tlog.error(\"mapping objects was NOT successfull employee -> employeeBo ?:\"+employeeBo);\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\temployeeBo = new EmployeeDao(getSessionFactory()).retrieveOne(employeeBo);\n\n\t\tEmployee employee = Mapper.employeeMapper.map(employeeBo);\n\n\t\treturn employee;\n\t}",
"public EmployeeDto getEmployee(Long employeeId) throws ApiDemoBusinessException;",
"public int getEmployeeId();",
"@GetMapping(\"/internal/{id}\")\n\t\t\t@JsonView(Views.Internal.class)\n\t\t\tpublic Optional<Employee> getEmployeeByIdInternal(@PathVariable(\"id\") @Min(1) Long id) {\n\t\t\t\ttry {\n\t\t\t\t\treturn employeeService.getEmployeeById(id);\n\t\t\t\t} catch (UserNotFoundException e) {\n\t\t\t\t\tthrow new ResponseStatusException(HttpStatus.NOT_FOUND, e.getMessage());\n\t\t\t\t}\n\n\t\t\t}"
]
| [
"0.86086214",
"0.85512394",
"0.8549764",
"0.84169763",
"0.83048487",
"0.83011305",
"0.82647115",
"0.8263107",
"0.8204168",
"0.81955457",
"0.81941897",
"0.8164265",
"0.81237817",
"0.81236064",
"0.8116296",
"0.8113932",
"0.8107287",
"0.809597",
"0.80562675",
"0.8052791",
"0.804923",
"0.80389345",
"0.8028019",
"0.79882205",
"0.798721",
"0.7968301",
"0.79630613",
"0.79443586",
"0.79294837",
"0.79215795",
"0.7915718",
"0.7915054",
"0.79065126",
"0.79065126",
"0.7905258",
"0.7893176",
"0.78851867",
"0.78765315",
"0.7875382",
"0.7866821",
"0.78488654",
"0.78217345",
"0.781246",
"0.78103775",
"0.7808576",
"0.7801842",
"0.7796971",
"0.7794966",
"0.7782137",
"0.77595466",
"0.77496135",
"0.7745391",
"0.7735557",
"0.77322364",
"0.7690475",
"0.7684914",
"0.76800346",
"0.76627016",
"0.76551896",
"0.76304734",
"0.76259226",
"0.76184684",
"0.7614425",
"0.7609232",
"0.75796574",
"0.7578016",
"0.75772464",
"0.7567036",
"0.756009",
"0.7558421",
"0.7553672",
"0.75426406",
"0.7535621",
"0.75200313",
"0.7515889",
"0.7514691",
"0.74982035",
"0.747399",
"0.74731666",
"0.74664396",
"0.74557185",
"0.7437812",
"0.7424049",
"0.74218774",
"0.7415389",
"0.74140024",
"0.73935306",
"0.7382863",
"0.7342574",
"0.7342548",
"0.7305308",
"0.72923374",
"0.72776926",
"0.7248473",
"0.7226328",
"0.72159386",
"0.7205596",
"0.72020316",
"0.71906275",
"0.71839076"
]
| 0.7197161 | 98 |
update employee by id | @Override
@Transactional
public void updateEmp(int employeeID, Employee employee) {
Optional<Employee> empData = employeeRepository.findById(employeeID);
if(empData.isPresent()) {
Employee emp = empData.get();
emp.setFirstName(employee.getFirstName());
emp.setLastName(employee.getLastName());
emp.setEmail(employee.getEmail());
emp.setPhone(employee.getPhone());
employeeRepository.save(emp);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void updateEmployee(long employeeId, Employee updateEmployee) {\n\t\t\r\n\t}",
"public abstract void updateEmployee(int id, Employee emp) throws DatabaseExeption;",
"@PutMapping(\"/updateEmployee/{id}\")\n\tpublic ResponseEntity<Employee> updateEmployee(@PathVariable Long id, @RequestBody Employee employee){\n\t\tEmployee save = repo.save(employee);\n\t\treturn ResponseEntity.ok(save);\n\t}",
"@Override\r\n\tpublic void updateEmployee(int id, Employee employee) {\n\t\tfor(int i=0;i<employees.size();i++)\r\n\t\t{\r\n\t\t\tEmployee emp= employees.get(i);\r\n\t\t\tif(emp.getEmpId()==(id));\r\n\t\t\temployees.set(i, employee);\r\n\t\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}",
"@Transactional\n public Employee update(Employee employee) {\n logger.debug(\"update employee by id :\");\n return employeeDao.update(employee);\n }",
"public void updateEmployee(Long employeeId, CreateOrEditEmployeeRequestDto employee) throws ApiDemoBusinessException;",
"@PutMapping(\"/employee/{id}\")\n\tpublic ResponseEntity<Employee> updateEmployee(@PathVariable Long id, @RequestBody Employee employeeDetail){\n\t\t\n\t\tEmployee employee = emprepo.findById(id).orElseThrow(()-> new ResourceNotFoundException(\"Employee not exist with id: \"+id )); \n\t\t\n\t\temployee.setFirstname(employeeDetail.getFirstname());\n\t\temployee.setLastname(employeeDetail.getLastname());\n\t\temployee.setEmail(employeeDetail.getEmail());\n\t\t\n\t\tEmployee updateEmployee= emprepo.save(employee);\n\t\t\n\t\treturn ResponseEntity.ok(updateEmployee);\n\t}",
"public void updateEmployee(Employe employee) {\n\t\t\n\t}",
"@PutMapping(\"/products/{id}\")\r\n\tpublic Employee update(@RequestBody Employee employee, @PathVariable Integer id) {\r\n\t \r\n\t Employee exitEmployee= empService.get(id);\r\n\t empService.save(employee); \r\n\t return exitEmployee;\r\n\t}",
"@RequestMapping(value = \"/employee/{empId}\", method = RequestMethod.PUT)\r\n\tpublic Employee updateEmployee(@RequestBody Employee employee, @PathVariable int empId)\r\n\t\t\tthrows EmployeeMaintainceException {\r\n\t\ttry {\r\n\t\t\treturn eService.updateEmployee(employee, empId);\r\n\t\t} catch (Exception e) {\r\n\t\t\tthrow new EmployeeMaintainceException(400, e.getMessage());\r\n\t\t}\r\n\r\n\t}",
"public void updateEmployee(Employee emp, int id) {\n\t\tif (id == emp.getEmployeeID()) {\n\t\t\temployeeRepository.save(emp);\n\t\t}\n\t}",
"void update(EmployeeDetail detail) throws DBException;",
"public void update(Employee employee){\n employeeRepository.save(employee);\n }",
"@Override\n\tpublic Employee updateEmployee(Employee emp) {\n\t\tlog.debug(\"EmplyeeService.updateEmployee(Employee emp) update Employee object whos id is\" + emp.getId());\n\t\treturn repositary.save(emp);\n\t}",
"public void updateEmployeeDetails(EmployeeDetails employeeDetails);",
"@PutMapping(\"/UpdateEmployee/{empId}\")\r\n public String updateEmployee(@RequestBody Employee employee, @PathVariable String empId) {\r\n return admin.updateEmployeeService(employee, empId);\r\n }",
"@Override\n\tpublic void updateEmployee(int empid, int empNewSalary) {\n\t\t\n\t}",
"@Override\n\tpublic void update(Employee employee) {\n\t\temployeeDao.update(employee);\n\t}",
"@RequestMapping(path = \"/employee/{id}/{name}\", method = RequestMethod.PUT)\r\n\t@ResponseBody\r\n\tpublic String updateEmployeeById(@PathVariable int id, @PathVariable String name) {\r\n\t\ter.save(new Employee(id, name));\r\n\t\treturn \"Employee updated with id: \" + id;\r\n\t}",
"int updateByPrimaryKey(Employee record);",
"@Override\n\tpublic Integer updateEmp(Integer id, String name) {\n\t\treturn null;\n\t}",
"public void update(Employee e) {\n\t\t\r\n\t}",
"public Employee updateEmployeeDetails(Employee employee) {\n\t\t long requestObjectEmployeeId = employee.getEmployeeId();\n\t\t Employee existedEmployee = employeeDao.findEmployeeByEmployeeId(requestObjectEmployeeId);\n\t\t if(employee != null) {\n\t\t\t return employeeDao.save(employee);\n\t\t }\n\t\t\treturn null;\t\n\t}",
"@Override\n\t//业务层修改员工方法\n\tpublic void update(Employee employee) {\n\t\temployeeDao.update(employee);\n\t}",
"@PutMapping(\"/employees/{employeeId}\")\r\n\tpublic Employee updateEmployee(@RequestBody Employee theEmployee) {\r\n\t\t\r\n\t\t\temployeeService.saveEmployee(theEmployee);\r\n\t\t\r\n\t\treturn theEmployee;\r\n\t}",
"@Override\n\tpublic void updateEmployee(Employee employee) {\n\t\tEmployee updateEmployee = em.find(Employee.class, employee.getId());\n\t\t\n\t\tem.getTransaction().begin();\n\t\tem.merge(employee);\n\t\tem.getTransaction().commit();\n\t\tSystem.out.println(\"Data Updated successfully\");\n\t\tlogger.log(Level.INFO, \"Data Updated successfully\");\n\n\t}",
"@GetMapping(\"/{id}\")\n public ResponseEntity updateOne(@PathVariable Long id){\n Employee employee=hr_service.findById(id);\n\n return new ResponseEntity<>(employee, HttpStatus.OK);\n }",
"@Override\n public ResponseEntity<Void> updateEmployee(int id, @Valid EmployeeDTO employeeDTO) throws RestException {\n Employee employeeUpdate = EmployeeToEmployeeDTOMapper.INSTANCE.employeeDTOToEmployee(employeeDTO);\n employeesService.updateEmployee(id, employeeUpdate);\n return new ResponseEntity<>(HttpStatus.OK);\n }",
"public void setEmployeeId(long employeeId);",
"@Override\r\n\tpublic void updateEmployee(Employee t) {\n\t\t\r\n\t}",
"@PutMapping(\"/update\")\n\t public Employee updateEmployee(@RequestBody Employee emp)\n\t {\n\t\treturn employeeService.editEmployee(emp);\n\t }",
"int updateByPrimaryKey(ProEmployee record);",
"@Override\r\n\tpublic Result update(Employees employees) {\n\t\treturn null;\r\n\t}",
"@Override\n\tpublic void updateEmployee(Employee e) {\n\t\t\n\t}",
"@Override\n\tpublic void update(Employee employee) {\n\t}",
"int updateByPrimaryKeySelective(Employee record);",
"@Override\n\tpublic void updateEmployee(List<Employee> employees) {\n\t\t\n\t}",
"private void updateEmployee(HttpServletRequest request, HttpServletResponse response)\r\n\t\tthrows Exception {\n\t\tint id = Integer.parseInt(request.getParameter(\"employeeId\"));\r\n\t\tString firstName = request.getParameter(\"firstName\");\r\n\t\tString lastName = request.getParameter(\"lastName\");\r\n\t\tint age = Integer.parseInt(request.getParameter(\"age\"));\r\n\t\tString gender = request.getParameter(\"gender\");\r\n\t\tString email = request.getParameter(\"email\");\r\n\t\t\r\n\t\t// create a new student object\r\n\t\tEmployee theEmployee = new Employee (id, firstName, lastName,gender,age, email);\r\n\t\t\r\n\t\t// perform update on database\r\n\t\temployeeDAO.updateEmployee(theEmployee);\r\n\t\t\r\n\t\t// send them back to the \"list students\" page\r\n\t\tlistEmployees(request, response);\r\n\t\t\r\n\t}",
"public void updateEmp(Emp emp) {\n\t\t\n\t}",
"@Override\n\tpublic void updateEmployeEmailById(int empid, String email) {\n\t\t\n\t}",
"public void updateEmployees(List<Employe> employees) {\n\t\t\n\t}",
"public void updateEmployee(Employee employee) throws SQLException {\n PreparedStatement preparedStatement = null;\n MysqlDbManager mysqlDb = MysqlDbManager.getInstance();\n String SQL = \"UPDATE employees SET surname=?, name=?, gender=?, marital_status=?, salary=?, dob=? WHERE idEmployee=?\";\n try {\n mysqlDb.getNewConnection();\n preparedStatement = mysqlDb.getConnection().prepareStatement(SQL);\n preparedStatement.setString(1, employee.getSurname());\n preparedStatement.setString(2, employee.getName());\n preparedStatement.setString(3, employee.getGender());\n preparedStatement.setString(4, employee.getMaritalStatus());\n preparedStatement.setInt(5, employee.getSalary());\n preparedStatement.setDate(6, new Date(employee.getDob().getTime()));\n preparedStatement.setInt(7, employee.getId());\n mysqlDb.executePreparedUpdate(preparedStatement);\n } catch (NullPointerException e) {\n LOGGER.log(Level.SEVERE, \"There is no access to the mysql database: \" + e.toString());\n } catch (SQLException e) {\n LOGGER.log(Level.SEVERE, \"SQLException\" + e.toString());\n } finally {\n try {\n if (preparedStatement != null) {\n preparedStatement.close();\n }\n if (!mysqlDb.getConnection().isClosed()) {\n mysqlDb.getConnection().close();\n }\n } catch (SQLException e) {\n LOGGER.log(Level.SEVERE, \"SQLException\" + e.toString());\n }\n }\n }",
"public void updateemployee(Employeee em) {\n\t\temployeerepo.save(em);\n\t}",
"Employee setId(Short id);",
"@RequestMapping(value = BASE_URL_API + UPDATE_EMPLOYEE_BY_ID, method=RequestMethod.PUT)\r\n public ResponseEntity<?> updateEmployee(@PathVariable(\"id\") String id, @RequestBody EmployeeVO employeeVO) {\r\n\r\n checkLogin();\r\n\r\n employeeVO.setId(id);\r\n EmployeeVO updatedEmployee = employeeService.updateEmployee(employeeVO);\r\n\r\n return new ResponseEntity<>(updatedEmployee, HttpStatus.OK);\r\n }",
"@Override\n\tpublic int updateEmployee(Employee emp) throws RemoteException {\n\t\treturn DAManager.updateEmployee(emp);\n\t}",
"@Override\r\n\tpublic int updateEmployee(Connection con, Employee employee) {\n\t\treturn 0;\r\n\t}",
"int updateByPrimaryKeySelective(ProEmployee record);",
"public int updateEmployee(Employee emp) throws SQLException {\n\t\t\treturn employeeDAO.updateEmployee(emp);\n\t\t}",
"public EmployeeDTO updateEmployee(final EmployeeDTO createEmployeeDTO) throws ApplicationCustomException;",
"public void setEmployeeid(long employeeid)\n {\n this.employeeid = employeeid;\n }",
"@Override\n\tpublic void updateEmployee() {\n\n\t}",
"@Override\n\tpublic ResponseEntity<Employee> update(Employee t) {\n\t\treturn null;\n\t}",
"@Override\n\t@Transactional\n\tpublic boolean updateEmployee(Employee employee) {\n\t\treturn employeeDao.updateEmployee(employee);\n\t}",
"public void updateEmployee(final Employee update) {\r\n\t\t sessionFactory.getCurrentSession().saveOrUpdate(update);\r\n\t }",
"@Override\n public Employee updateEmployeeName(int employeeId, String name) {\n return null;\n }",
"public void setEmployeeId(long employeeId) {\n this.employeeId = employeeId;\n }",
"@Override\n\tpublic Employees update(Employees entity)\n\tthrows OperationNotSupportedException {\n\t\treturn null;\n\t}",
"@Override\n\tpublic void updateInformation(String firstname, String lastname, String email, int id) {\t\t\n\t\ttry {\n\t\t\tString sql = \"update employees set first_name = '\"+firstname+\"', last_name='\"+lastname+\"',email = '\"+email+\"' where employee_id=\"+id; \n\t\t\tConnection connection = DBConnectionUtil.getConnection();\n\t\t\tStatement statement = connection.createStatement();\t\t\n\t\t\tstatement.executeUpdate(sql);\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@Override\n\tpublic void update(double sal, int id) {\n\t\tConnection con=null;\n\t\tPreparedStatement stmt=null;\n\t\t\n\t\ttry {\n\t\t\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t\t\tcon=DriverManager.getConnection(\"jdbc:mysql://localhost:3306/ems?user=root&password=root\");\n\t\t\tString query=\"update employee set sal=? where id=?\";\n\t\t\tstmt=con.prepareStatement(query);\n\t\t\tstmt.setDouble(1, sal);\n\t\t\tstmt.setInt(2, id);\n\t\t\tstmt.execute();\n\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\t\n\t\t\n\t}",
"@Override\r\n\tpublic void deleteEmployee(int id) {\n\t\ttry {\r\n\t DirectlyDatabase.update(PropertyManager.getProperty(\"db_employee_delete\"), id +\"\"); \r\n\t\t} catch (SQLException ex) {\r\n System.out.println(ex.toString());\r\n }\t\r\n\t}",
"public static HashSet<Employee> update(int id, HashSet<Employee> emplists) {\n\t\t//Employee emps = null;\n\n\t\tScanner scan = new Scanner(System.in);\n\t\n\n\t\t\n\t\tfor (Employee emp : emplists) {\n\n\t\t\tif (id == emp.getEmpId()) {\n\t\t\t\n\n\t\t\t\tSystem.out.println(\"Enter the id for update\");\n\t\t\t\temp.setEmpId(scan.nextInt());\n\t\t\t\tSystem.out.println(\"Enter the name for update\");\n\t\t\t\temp.setEmpName(scan.next());\n\t\t\t\tSystem.out.println(\"Enter the Age for update\");\n\t\t\t\temp.setEmpAge(scan.nextInt());\n\t\t\t\tSystem.out.println(\"Enter the address for update\");\n\t\t\t\temp.setEmpSalary(scan.nextInt());\n\t\t\t\tscan.close();\n\t\t\t}\n\t\t\n\t\t}\n\n\t\treturn emplists;\n\t}",
"@Override\r\n\tpublic boolean updateEmployee(Employee employee) {\n\t\tboolean added = false;\r\n\t\tString updateData = \"update employee set empName=?, salary=? ,technology=? where empId=?\";\r\n\r\n\t\ttry {\r\n\t\t\tPreparedStatement ps = dataSource.getConnection().prepareStatement(updateData);\r\n\t\t\tps.setString(1, employee.getName());\r\n\t\t\tps.setInt(2, employee.getSalary());\r\n\t\t\tps.setString(3, employee.getTechnoogy());\r\n\t\t\tps.setInt(4, employee.getEmpId());\r\n\r\n\t\t\tint updated = ps.executeUpdate();\r\n\t\t\tif (updated > 0) {\r\n\t\t\t\tadded = true;\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn added;\r\n\t}",
"@Override\r\n\tpublic boolean updateEmployee(EmployeeEO employeeEORef) {\n\t\tif(employeeDAORepoRef.findById(employeeEORef.getEmployeeId()).equals(null))\r\n\t\treturn false;\r\n\t\telse {\r\n\t\t\temployeeDAORepoRef.save(employeeEORef);\r\n\t\t\treturn true;\r\n\t\t}\r\n\t}",
"public void ModifyEmployee(int idEmployee , String firstName , String lastName, String name_department)\n\t{\n\t\tfor(int i = 0; i < departments.size() ; i++)\n\t\t{\n\t\t\tfor(Employee emp : departments.get(i).getEmployeeList())\n\t\t\t{\n\t\t\t\tif(emp.getIdEmployee()==idEmployee) \n\t\t\t\t{\n\t\t\t\t\temp.setName(firstName);\n\t\t\t\t\temp.setSurname(lastName);\n\t\t\t\t\temp.setDepartment(SearchDepartment(name_department));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"protected void updateEmployee(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException {\n\t\tString name,email,password,country;\n\t\tint eId;\n\t\tname = request.getParameter(\"name\");\n\t\temail = request.getParameter(\"email\");\n\t\tpassword = request.getParameter(\"password\");\n\t\tcountry = request.getParameter(\"country\");\n\t\teId = Integer.parseInt(request.getParameter(\"eId\"));\n\t\tEmployeeModel emp = new EmployeeModel(name,password,email,country,eId);\n\t\temployeeServiceObj.updateEmployee(emp);\n\t\t\n\t\t\n\t\tRequestDispatcher view=request.getRequestDispatcher(\"viewEmployees.do\");\n\t\tview.forward(request, response);\n\t\t\t\n\t}",
"public boolean updateEmployee(int id, String[] fields, String[] data) throws SQLException {\n if (fields.length != data.length)\n throw new IllegalArgumentException(\"Each field/data input must have a corresponding data/field input!\");\n\n String update = String.format(\"UPDATE %s SET %s = '%s'\", table_employees.name, fields[0], data[0]);\n StringBuilder sql = new StringBuilder(update);\n\n for (int i = 1; i < fields.length; i++) {\n String set = String.format(\", %s = '%s'\", fields[i], data[i]);\n sql.append(set);\n }\n\n String where = String.format(\" WHERE %s = %s\", table_employees.cols.id, id);\n sql.append(where);\n\n return con.createStatement().executeUpdate(sql.toString()) != 0;\n }",
"public int updateEmployeeRecord(Employee employee) {\n\t\ttry {\n\t\t\t\n\t\t\tString query = \"update employeedbaddress set eName=?, eDesignation=?, eGender=?, eSalary=?, eUsername=?, ePassword=?, street=?, city=?, state=?, pincode=?, contact=?, email=? where eNo=?\";\n\t\t\tPreparedStatement ps = connection.prepareStatement(query);\n\t\t\tps.setString(1, employee.getEname());\n\t\t\tps.setString(2, employee.getEdesignation());\n\t\t\tps.setString(3, employee.getEgender());\n\t\t\tps.setDouble(4, employee.getEsalary());\n\t\t\tps.setString(5, employee.getEusername());\n\t\t\tps.setString(6, employee.getEpassword());\n\t\t\tps.setString(7, employee.getStreet());\n\t\t\tps.setString(8, employee.getCity());\n\t\t\tps.setString(9, employee.getState());\n\t\t\tps.setInt(10, employee.getPincode());\n\t\t\tps.setString(11, employee.getContact());\n\t\t\tps.setString(12, employee.getEmail());\n\t\t\tps.setInt(13, employee.getEno());\n\t\t\tresult = ps.executeUpdate();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn result;\n\t}",
"void update(Employee nurse);",
"public boolean updateEmployeeDetail(Employee employee) {\n\t\treturn dao.updateEmployeeDetail(employee);\n\t}",
"@Test\r\n\tpublic void test_updateEmployeeDetail() {\r\n\t\tgiven()\r\n\t\t\t\t.contentType(ContentType.JSON)//\r\n\t\t\t\t.queryParam(\"id\", \"2\")//\r\n\t\t\t\t.body(new EmployeeDto(2L, \"sunil\", \"changed\", \"[email protected]\"))//\r\n\t\t\t\t.when()//\r\n\t\t\t\t.put(\"/api/v1/employee\")//\r\n\t\t\t\t.then()//\r\n\t\t\t\t.log()//\r\n\t\t\t\t.body()//\r\n\t\t\t\t.statusCode(200)//\r\n\t\t\t\t.body(\"id\", equalTo(2))//\r\n\t\t\t\t.body(\"firstName\", equalTo(\"sunil\"))//\r\n\t\t\t\t.body(\"lastName\", equalTo(\"changed\"))//\r\n\t\t\t\t.body(\"emailId\", equalTo(\"[email protected]\"));\r\n\r\n\t}",
"@Override\n\tpublic Employee update(Employee emp) {\n\t\treturn null;\n\t}",
"E update(ID id, E entity, RequestContext context);",
"@Override\n public void save(Employee employee) {\n Employee dbEmployee = entityManager.merge(employee);\n \n //update with id from database so we can generate id for save/insert\n employee.setId(dbEmployee.getId());\n \n }",
"public String updateByPrimaryKeySelective(Emp record) {\n BEGIN();\n UPDATE(\"emp\");\n \n if (record.getName() != null) {\n SET(\"name = #{name,jdbcType=VARCHAR}\");\n }\n \n if (record.getSex() != null) {\n SET(\"sex = #{sex,jdbcType=CHAR}\");\n }\n \n if (record.getJob() != null) {\n SET(\"job = #{job,jdbcType=VARCHAR}\");\n }\n \n if (record.getSalary() != null) {\n SET(\"salary = #{salary,jdbcType=DECIMAL}\");\n }\n \n if (record.getHiredate() != null) {\n SET(\"hiredate = #{hiredate,jdbcType=DATE}\");\n }\n \n if (record.getDeptno() != null) {\n SET(\"deptno = #{deptno,jdbcType=INTEGER}\");\n }\n \n WHERE(\"id = #{id,jdbcType=INTEGER}\");\n \n return SQL();\n }",
"@Test\r\n public void testUpdateEmployee1() throws Exception {\r\n try {\r\n\r\n int employee_id = 0;\r\n int department_id = 1;\r\n int position_id = 1;\r\n int status = 1;\r\n String date = \"\";\r\n EmployeeDAOImpl instance = new EmployeeDAOImpl();\r\n boolean expResult = false;\r\n boolean result = instance.updateEmployee(employee_id, department_id, position_id, status, date);\r\n assertEquals(expResult, result);\r\n } catch (Exception ex) {\r\n assertTrue(ex.getMessage().contains(\"Wrong Required Parameters\"));\r\n }\r\n }",
"public String editEmployee(Employee employee) {\n\t\t\n\t\ttry {\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t\t\tConnection con = DriverManager.getConnection(\"jdbc:mysql://mysql3.cs.stonybrook.edu:3306/mwcoulter?useSSL=false\",\"mwcoulter\",\"111030721\");\n\t\t\tPreparedStatement st = con.prepareStatement(\n\t\t\t\t\t\"UPDATE mwcoulter.Employee SET StartDate = ?, HourlyRate = ?, Email = ? WHERE SSN = ?\");\n\t\t\tst.setDate(1, Date.valueOf(employee.getStartDate()));\n\t\t\tst.setInt(2, (int)employee.getHourlyRate());\n\t\t\tst.setString(3, employee.getEmail());\n\t\t\tst.setInt(4, Integer.valueOf(employee.getEmployeeID()));\n\t\t\tst.executeUpdate();\n\t\t\t\n\t\t\tst = con.prepareStatement(\n\t\t\t\t\t\"UPDATE mwcoulter.Person SET LastName = ?, FirstName = ?, Address = ?, ZipCode = ? WHERE SSN = ?\");\n\t\t\tst.setString(1, employee.getLastName());\n\t\t\tst.setString(2, employee.getFirstName());\n\t\t\tst.setString(3, employee.getAddress());\n\t\t\tst.setInt(4, employee.getZipCode());\n\t\t\tst.setInt(5, Integer.valueOf(employee.getEmployeeID()));\n\t\t\tst.executeUpdate();\n\t\t\t\n\t\t\tst = con.prepareStatement(\n\t\t\t\t\t\"UPDATE mwcoulter.LivesAt SET ZipCode = ? WHERE SSN = ?\");\n\t\t\tst.setInt(1, employee.getZipCode());\n\t\t\tst.setInt(2, Integer.valueOf(employee.getEmployeeID()));\n\t\t\tst.executeUpdate();\n\t\t\t\n\t\t\tst = con.prepareStatement(\n\t\t\t\t\t\"UPDATE mwcoulter.Location SET City = ?, State = ? WHERE ZipCode = ?\");\n\t\t\tst.setString(1, employee.getCity());\n\t\t\tst.setString(2, employee.getState());\n\t\t\tst.setInt(3, employee.getZipCode());\n\t\t\tst.executeUpdate();\n\t\t}\n\t\tcatch(Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t\treturn \"failure\";\n\t\t}\n\t\treturn \"success\";\n\n\t}",
"public void setEmployeeId(String employeeId) {\n this.employeeId = employeeId;\n }",
"public void updateEmployeeDetails(int employeeId, String firstName, String lastName, int salary, long mobileNumber,\n\t Date dateOfBirth ) {\n\temployeeService.updateEmployeeDetails(employeeId, firstName, lastName, salary, mobileNumber, dateOfBirth);\n }",
"public void setEmployeeId(int employeeId) {\r\n\t\r\n\t\tthis.employeeId = employeeId;\r\n\t}",
"void updateOfProductById(long id);",
"public void update(Emp p){\n\t\n\t\tString sql=\"UPDATE emp99 set name=?, salary=?, designation=? WHERE id=\"+p.getId();\n\t\t\n\t\ttemplate.update(sql, p.getName(),p.getSalary(),p.getDesignation());\n\t\t\n\t\t/*return template.execute(sql, new PreparedStatementCallback<Boolean>() {\n\n\t\t\t@Override\n\t\t\tpublic Boolean doInPreparedStatement(PreparedStatement ps) throws SQLException, DataAccessException {\n\t\t\t\t\n\t\t\t\tps.setString(1, p.getName());\n\t\t\t\tps.setFloat(2, p.getSalary());\n\t\t\t\tps.setString(3, p.getDesignation());\n\t\t\t\tps.setInt(4, p.getId());\n\t\t\t\t\n\t\t\t\treturn ps.execute();\n\t\t\t}\n\t\t});*/\n\t\t\n\t}",
"@Override\n\tpublic int updateOrgEmployee(Org_employee orgEmloyee) {\n\t\treturn 0;\n\t}",
"@Override\n public Employee updateEmployeeDepartment(int employeeId, int departmentId) {\n return null;\n }",
"public Employeedetails updateEmployee(Employeedetails employeeDetail,\n\t\t\tConnection connection) {\n\n\t\ttry {\n\t\t\tString employeeId = employeeDetail.getEmployeeId();\n\t\t\tString employeeName = employeeDetail.getEmployeeName();\n\t\t\t;\n\t\t\tStatement statement = connection.createStatement();\n\t\t\tString squery = \"update employeeregister set employeename = '\"\n\t\t\t\t\t+ employeeName + \"' where employeeid ='\" + employeeId\n\t\t\t\t\t+ \"';\";\n\t\t\tint a = statement.executeUpdate(squery);\n\n\t\t\tif (a == 0) {\n\n\t\t\t\treturn employeeDetail;\n\t\t\t} else {\n\t\t\t\treturn employeeDetail;\n\t\t\t}\n\n\t\t} catch (SQLException sqle) {\n\n\t\t} catch (Exception e) {\n\n\t\t}\n\t\treturn employeeDetail;\n\n\t}",
"@Override\n\tpublic int updateEmployeeDesigById(int employeeId, String desig) {\n\t\tif (getEmployeeById(employeeId) == null) {\n\t\t\treturn -1;\n\t\t} else {\n\t\t\treturn template.update(\"update employee set desig = ? where empid = ?\", desig, employeeId);\n\t\t}\n\t}",
"public void updateData() throws SQLException {\n pst=con.prepareStatement(\"update employee set name=?,city=? where id=?\");\n System.out.println(\"Enter name: \");\n String name=sc.next();\n pst.setString(1,name);\n\n System.out.println(\"Enter city: \");\n String city=sc.next();\n pst.setString(2,city);\n\n System.out.println(\"Enter id: \");\n int id=sc.nextInt();\n pst.setInt(3,id);\n pst.execute();\n\n System.out.println(\"Data updated successfully\");\n }",
"@PutMapping(\"/my-employee\")\n\t@Secured(Roles.BOSS)\n\tpublic ResponseEntity<?> updateEmployee(@Valid @RequestBody ModifyEmployeeDto modifyEmployeeDto) {\n\t\tLogStepIn();\n\n\t\tEmployee employee = employeeRepository.findById(modifyEmployeeDto.id.longValue());\n\t\tif(employee == null)\n\t\t\treturn LogStepOut(ResponseEntity.notFound().build());\n\n\t\tString bossUsername = SecurityContextHolder.getContext().getAuthentication().getName();\n\t\tEmployee employeeBoss = userRepository.findByName(bossUsername).getEmployee();\n\t\tif (employee.getBossId().equals(employeeBoss.getId())) {\n\t\t\tif(modifyEmployeeDto.grossPayment != null)\n\t\t\t\temployee.setGrossPayment(modifyEmployeeDto.grossPayment);\n\n\t\t\tif(modifyEmployeeDto.workHours != null)\n\t\t\t\temployee.setWorkHours(modifyEmployeeDto.workHours);\n\n\t\t\tif(modifyEmployeeDto.workStatus != null)\n\t\t\t\temployee.setWorkStatus(WorkStatus.get(modifyEmployeeDto.workStatus));\n\n\t\t\tif(modifyEmployeeDto.isEntrant != null)\n\t\t\t\temployee.setEntrant(modifyEmployeeDto.isEntrant);\n\n\t\t\tEmployee modifiedEmployee = employeeRepository.save(employee);\n\n\t\t\treturn LogStepOut(ResponseEntity.ok(toDto(modifiedEmployee)));\n\t\t}\n\n\t\treturn LogStepOut(ResponseEntity.badRequest().body(\"The requested id does not match the authenticated user's id.\"));\n\t}",
"E update(E entiry);",
"public void editEmployee(ActionRequest request, ActionResponse response) throws PortalException, SystemException {\n\t\tString strKey = request.getParameter(\"editKey\");\n\t\tlong empId = Long.valueOf(strKey);\n\t\tEmployee emp = EmployeeLocalServiceUtil.getEmployee(empId);\n\t\trequest.setAttribute(\"editKey\", emp);\n\t\tresponse.setRenderParameter(\"mvcPath\", \"/html/employee/edit.jsp\");\n\t}",
"int updateByPrimaryKey(SmsEmployeeTeam record);",
"@Override\n\tpublic Integer update(Employee e) {\n\t\tString sql = \"update Staff set Emp_name = ?, Emp_psword = ?, Emp_rank = ? where Emp_usrnme = ?\";\n\t\tint a = -1;\n\t\t//if errors occur revert to three column method as illustrated in project notes.\n\t\ttry(Connection con = ConnectDB.getHardCodedConnection()){\n\t\t\tPreparedStatement ps = con.prepareStatement(sql);\n\t\t\tps.setString(1, e.getEmployeeName());\n\t\t\tps.setString(2, e.getEPassword());\n\t\t\tps.setInt(3, e.getRank());\n\t\t\tps.setString(4,e.getEUserName());\n\t\t\t\n\t\t\ta = ps.executeUpdate();\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 a;\n\t}",
"public void alterar(int id) {\r\n\t\ttry {\r\n\t\t\tbd.getConnection();\r\n\t\t\tString nome, apelido, mascote;\r\n\t\t\tsmt = bd.conn.createStatement();\r\n\t\t\t\r\n\t\t\tutil.p2(\"Nome da Equipe: \"); \r\n\t\t\tnome = dados.nextLine();\r\n\t\t\t\t\t\r\n\t\t\tutil.p2(\"Apelido: \"); \r\n\t\t\tapelido = dados.nextLine();\r\n\t\t\t\r\n\t\t\tutil.p2(\"Mascote: \");\r\n\t\t\tmascote = dados.nextLine();\t\r\n\t\t\t\r\n\t\t\tsql = \"UPDATE equipes set \" \r\n\t\t\t\t+ \"nome= '\" + nome + \"' , \" \r\n\t\t\t\t+ \"apelido= '\" + apelido + \"' , \" \r\n\t\t\t\t+ \"mascote= '\" + mascote + \"' \"\r\n\t\t\t\t+ \"where id=\" + id;\r\n\t\t\t\r\n\t\t\tsmt.execute(sql);\r\n\t\t\t\r\n\t\t\tutil.l();\r\n\t\t\tutil.p(\"Equipe alterada com sucesso!\");\r\n\t\t\t\r\n\t\t\tbd.conn.close();\r\n\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\t\r\n\t\t\tutil.p(\"Erro: \" + e.getMessage());\r\n\t\t\t\r\n\t\t}\r\n\t}",
"public Employee update(Session session, Employee emp) {\n Employee bbddEmp;\n Transaction t = session.beginTransaction();\n Query query = session.createQuery(\"from Employee where\"\n + \" name = :name and nifnie = :nifnie and companyEntryDate=:\"\n + \"companyEntryDate \");\n query.setParameter(\"name\", emp.getName());\n query.setParameter(\"nifnie\", emp.getNifnie());\n query.setDate(\"companyEntryDate\", emp.getCompanyEntryDate());\n bbddEmp = (Employee) query.list().get(0);\n\n updateColumns(emp, bbddEmp);\n session.update(bbddEmp);\n t.commit();\n return bbddEmp;\n }",
"@PutMapping(path = \"/{employeeNumber}\")\n private ResponseEntity<EmployeeDto> update(@PathVariable(name = \"employeeNumber\") Long employeeNumber,\n @RequestBody EmployeeDto employeeDto){\n Employee employeeRequest = modelMapper.map(employeeDto, Employee.class);\n\n // Save data to DB using create method()\n // passing converted Dto -> entity as parameter\n Employee employee = employeeService.update(employeeNumber, employeeRequest);\n\n // Convert back from Entity -> Dto\n // for returning values to the front end\n EmployeeDto employeeResponse = modelMapper.map(employee, EmployeeDto.class);\n\n return ResponseEntity.ok().body(employeeResponse);\n }",
"@Override\r\n\tpublic Employee change(Employee employee) {\n\t\treturn empdao.save(employee);\r\n\t}",
"Employee findById(int id);",
"@Override\r\n\tpublic void update(Connection connection, Long id, Salary salary) throws SQLException {\n\r\n\t}",
"@Override\n\t@Transactional\n\tpublic Employee findEmployeeById(int id) {\n\t\treturn employeeDao.findEmployeeById(id);\n\t}",
"@Override\n\tpublic void setEmpId(long empId) {\n\t\t_employee.setEmpId(empId);\n\t}"
]
| [
"0.80955666",
"0.80815214",
"0.796134",
"0.79336005",
"0.79218996",
"0.7919036",
"0.784482",
"0.7842039",
"0.7773386",
"0.77396435",
"0.7729171",
"0.77229476",
"0.7681702",
"0.76616937",
"0.762941",
"0.75956357",
"0.75750667",
"0.75279206",
"0.7524372",
"0.7510149",
"0.7502207",
"0.7463081",
"0.7457145",
"0.7451889",
"0.7445101",
"0.74036294",
"0.7385434",
"0.7354643",
"0.7231336",
"0.7203318",
"0.72020143",
"0.72000074",
"0.71845603",
"0.71432936",
"0.71361476",
"0.70925856",
"0.7079099",
"0.7066306",
"0.7049586",
"0.7048536",
"0.7047788",
"0.7040705",
"0.7037563",
"0.7031875",
"0.7026161",
"0.7021363",
"0.70180595",
"0.6996779",
"0.6987202",
"0.6951263",
"0.69445515",
"0.6930999",
"0.6894331",
"0.68669325",
"0.68179995",
"0.6800848",
"0.67791754",
"0.6775529",
"0.67748195",
"0.6755949",
"0.6741977",
"0.6741365",
"0.673651",
"0.6730499",
"0.6723788",
"0.6723177",
"0.67011404",
"0.6689607",
"0.6647293",
"0.6638015",
"0.66323775",
"0.6605581",
"0.6584409",
"0.6577766",
"0.656447",
"0.654342",
"0.65357894",
"0.6531927",
"0.6530134",
"0.65062946",
"0.6505642",
"0.64999247",
"0.64963806",
"0.64748466",
"0.64612174",
"0.6450649",
"0.6436496",
"0.6411008",
"0.6401228",
"0.63999975",
"0.6385724",
"0.63854796",
"0.6376752",
"0.63705987",
"0.6365581",
"0.636378",
"0.63485676",
"0.63464",
"0.634206",
"0.6341522"
]
| 0.7289456 | 28 |
delete employee by id | @Override
public void deleteEmpByID(int employeeID) {
employeeRepository.deleteById(employeeID);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void deleteEmployeeById(int id) {\n\t\t\n\t}",
"public void deleteEmployee(Long id) {\n employeeRepository.deleteById(id);\n }",
"@Override\r\n\tpublic void deleteEmployee(int id) {\n\t\ttry {\r\n\t DirectlyDatabase.update(PropertyManager.getProperty(\"db_employee_delete\"), id +\"\"); \r\n\t\t} catch (SQLException ex) {\r\n System.out.println(ex.toString());\r\n }\t\r\n\t}",
"public void deleteEmployee(int id) {\r\n\t\temployee1.remove(id);\r\n\t}",
"public void deleteEmp(Integer id) {\n\t\temployeeMapper.deleteByPrimaryKey(id);\n\t}",
"public void deleteEmployee(Long employeeId) throws ApiDemoBusinessException;",
"@Override\n\tpublic void deleteEmployeeById(int empId) {\n\t\t\n\t}",
"@Override\n public void deleteEmployee(int employeeId) {\n\n }",
"@DeleteMapping(\"/employee/{id}\")\r\n\tpublic void delete(@PathVariable Integer id) {\r\n\t\tempService.delete(id);\r\n\t}",
"@Override\r\n\tpublic void deleteEmployee(int id) {\n\t\temployees.removeIf(emp -> emp.getEmpId()==(id));\r\n\t}",
"@Override\n\tpublic String deleteEmployee(int id) {\n\t\treturn employeeDao.deleteEmployee(id);\n\t}",
"public void delete(Long id) {\n log.debug(\"Request to delete Employee : {}\", id);\n employeeRepository.deleteById(id);\n }",
"@Override\n public void deleteById(long id) {\n\n Query theQuery = entityManager.createQuery(\"DELETE FROM Employee WHERE id=:employeeId\");\n \n theQuery.setParameter(\"employeeId\", id);\n \n theQuery.executeUpdate();\n }",
"@Override\n\tpublic void deleteByEmployeeId(Long id) {\n\t\temployeeRepository.deleteById(id);\n\t}",
"@DeleteMapping(\"/deleteEmployee/{id}\")\n\tpublic void deleteEmployee(@PathVariable Long id){\n repo.deleteById(id);\n\t}",
"@Override\n\tpublic void deleteEmp(int id) {\n\t\tConnection con=null;\n\t\tPreparedStatement stmt=null;\n\t\t\n\t\t\n\t\ttry {\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t\t\n\t\tcon=DriverManager.getConnection(\"jdbc:mysql://localhost:3306/ems?user=root&password=root\");\n\t\tString query=\"delete from employee where id=?\";\n\t\tstmt=con.prepareStatement(query);\n\t\tstmt.setInt(1, id);\n\t\tstmt.execute();\n\t\t\n\t\t\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}",
"@Override\r\n\tpublic void deleteEmployeeByEmployeeId(long emplloyeeId) {\n\t\t\r\n\t}",
"@RequestMapping(value = \"/{id}\", method = RequestMethod.DELETE, produces = MediaType.APPLICATION_JSON_VALUE)\n public final void deleteEmployee(@PathVariable(\"id\") long id) {\n try {\n LOGGER.info(\"deleting Employee with id=\" + id);\n employeeFacade.removeEmployee(id);\n } catch (NonExistingEntityException | IllegalArgumentException e) {\n throw new RequestedResourceNotFound(\"Employee with id=\" + id + \" does not exist in system.\", e);\n }\n }",
"public void deleteById(Integer employeeid) {\n\t\temployeerepository.deleteById(employeeid);\n\t}",
"@Override\r\n\tpublic void delete(Integer id) {\n\t\tempdao.deleteById(id);\r\n\t}",
"@Transactional\n public void delete(Long id) {\n logger.debug(\"delete employee by id : {}\", id);\n employeeDao.delete(id);\n }",
"public abstract Employee deleteEmployee(int id) throws DatabaseExeption;",
"@Override\n public Mechanic deleteEmployee(Long id) {\n LOGGER.info(\"Delete Mechanic with id {}\", id);\n Mechanic mechanic = getEmployee(id);\n mechanicRepository.delete(mechanic);\n return mechanic;\n }",
"public String deleteEmployee(EmployeeDetails employeeDetails);",
"public void delete(Employee employee){\n employeeRepository.delete(employee);\n }",
"@DeleteMapping(\"/{ecode}\")\n\tpublic ResponseEntity<Employee> deleteEmployee( @PathVariable (value =\"ecode\") long id) {\n\t\tEmployee existingEmployee = this.employeeRepository.findById(id)\n\t\t\t\t.orElseThrow(() -> new ResourceNotFoundException(\"Employee not found with id: \"+ id));\n\t\t\n\t\tthis.employeeRepository.delete(existingEmployee);\n\t\treturn ResponseEntity.ok().build();\n\t}",
"@DeleteMapping(\"/{id}\")\n public ResponseEntity deleteEmployee(@PathVariable(\"id\") Long id){\n Employee employee = employeeService.deleteEmployee(id);\n String responseMessage = String.format(\"Employee: %s ID: %s has been deleted from records.\", employee.getName(), employee.getEmployeeId());\n return new ResponseEntity<>(responseMessage, HttpStatus.OK);\n }",
"@Override\n\t@Transactional\n\tpublic boolean delete(int id) {\n\t\treturn employeeDao.delete(id);\n\t}",
"@Override\n\tpublic ResponseEntity<Employee> deleteById(Long id) {\n\t\treturn null;\n\t}",
"@Override\n\tpublic void deleteEmployee(Employee employee) {\n\t\t\n\t}",
"@RequestMapping(path = \"/employee/{id}\", method = RequestMethod.DELETE)\r\n\t@ResponseBody\r\n\tpublic String deleteEmployeeById(@PathVariable int id) {\r\n\t\ter.deleteById(id);\r\n\t\treturn \"Employee deleted with id: \" + id;\r\n\t}",
"@Override\n\tpublic void deleteEmployee(Employee employee) {\n\t\tEmployee deleteEmployee = em.find(Employee.class, employee.getId());\n\t\ttry {\n\t\t\tem.getTransaction().begin();\n\t\t\tem.remove(deleteEmployee);\n\t\t\tem.getTransaction().commit();\n\t\t\tSystem.out.println(\"Employee Data Removed successfully\");\n\t\t\tlogger.log(Level.INFO, \"Employee Data Removed successfully\");\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tSystem.out.println(\"Not found\");\n\t\t}\n\n\t}",
"@RequestMapping(value = BASE_URL_API + DELETE_EMPLOYEE_BY_ID, method=RequestMethod.DELETE)\r\n public HttpEntity<?> deleteEmployee(@PathVariable(\"id\") String id) {\r\n\r\n checkLogin();\r\n\r\n employeeService.deleteEmployeeById(id);\r\n\r\n return new ResponseEntity<>(HttpStatus.OK);\r\n }",
"@Override\r\n\tpublic void deleteEmployee(Employee t) {\n\t\t\r\n\t}",
"@Override\n public void deleteById(int theId) {\n Query theQuery = entityManager.createQuery(\n \"delete from Employee where id=:employeeId\");\n theQuery.setParameter(\"employeeId\", theId);\n theQuery.executeUpdate();\n }",
"@Override\n\tpublic void deleteEmployee(Employee e) {\n\t\t\n\t}",
"@DeleteMapping(\"/employees/{employeeId}\")\n\tpublic String deleteEmployee (@PathVariable int employeeId) {\n\t\tEmployee theEmployee = employeeService.fndById(employeeId);\n\t\t\n\t\t// if employee null\n\t\tif (theEmployee == null) {\n\t\t\tthrow new RuntimeException(\"Employee xx his idEmpl not found \"+ employeeId);\n\t\t\t \n\t\t}\n\t\temployeeService.deleteById(employeeId);\n\t\treturn \"the employe was deleted \"+ employeeId;\n\t\t\n\t}",
"@Override\n\tpublic void delete(Integer employeeId) {\n\t\tEmployee e = employeeDao.getById(employeeId);\n\t\temployeeDao.delete(e);\n\t}",
"@Override\n\tpublic EmployeeBean deleteEmployeeDetails(Integer id) throws Exception {\n\t\treturn employeeDao.deleteEmployeeDetails(id);\n\t}",
"@DeleteMapping(\"employee/{employeeId}\")\n\tpublic void deleteEmployeeById(@PathVariable(\"employeeId\") int employeeId, Principal principal)\n\t{\n\t\temployeeService.deleteEmployeeById(employeeId,principal);\n\t}",
"@DeleteMapping(\"/remove/{id}\")\n\tpublic ResponseEntity<String> deleteEmployee(@PathVariable Integer id) {\n\t\tResponseEntity<String> response = null;\n\t\ttry {\n\t\t\tservice.deleteEmployee(id);\n\t\t\tString message = \"Employee '\" + id + \"' Deleted!\";\n\t\t\tresponse = new ResponseEntity<String>(message, HttpStatus.OK);\n\t\t} catch (EmployeeNotFoundException e) {\n\t\t\tthrow e;\n\t\t}\n\t\treturn response;\n\t}",
"@Override\n\tpublic void delete(Employee employee) {\n\t\temployeeDao.delete(employee);\n\t}",
"@Override\n\tpublic void deleteEmployee() {\n\n\t}",
"public int deleteEmployeeById(int id) throws SQLException {\n\t\t\treturn employeeDAO.deleteEmployeeById(id);\n\t\t}",
"@Override\n\tpublic boolean deleteEmployeeById(int employeeId) {\n\t\tint isDeleted = template.update(\"delete from employee where empid = ?\", employeeId);\n\t\tif (isDeleted > 0) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}",
"@DeleteMapping(\"/employee/{id}\")\n\tpublic ResponseEntity<Map<String, Boolean>> deleteEmployee(@PathVariable Long id){\n\t\tEmployee employee = emprepo.findById(id).orElseThrow(()-> new ResourceNotFoundException(\"Employee not exist with id: \"+id ));\n\t\t\n\t\temprepo.delete(employee);\n\t\tMap<String, Boolean> response = new HashMap<>();\n\t\t\tresponse.put(\"deleted\", Boolean.TRUE);\n\t\t\treturn ResponseEntity.ok(response);\n\t\t\t\n\n\t}",
"@DeleteMapping(\"/DeleteEmployee/{empId}\")\r\n public String deleteEmployee(@PathVariable String empId) {\r\n return admin.deleteEmployeeService(empId);\r\n }",
"@Override\r\n\tpublic int deleteEmployee(int empId) {\n\t\tint added = 0;\r\n\t\tString insertData = \"delete from employee where empId=?\";\r\n\r\n\t\ttry {\r\n\t\t\tPreparedStatement ps = dataSource.getConnection().prepareStatement(insertData);\r\n\t\t\tps.setInt(1, empId);\r\n\t\t\tadded = ps.executeUpdate();\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn added;\r\n\r\n\t}",
"@Override\n\tpublic void deleteEmployee(Employee emp) {\n\t\tlog.debug(\"EmplyeeService.deleteEmployee(Employee emp) delete Employee object whos id is\" + emp.getId());\n\n\t\trepositary.delete(emp);\n\n\t}",
"public void delete(Employee employee) {\r\n\r\n String sql = \"delete from db.emp where id= ?\";\r\n try {\r\n Connection connection = ConnectDB();\r\n PreparedStatement preparedStatement = connection.prepareStatement(sql);\r\n preparedStatement.setInt(1,employee.getId());\r\n\r\n int rows=preparedStatement.executeUpdate();\r\n String message=rows==1 ? \"A fost sters cu succes\": \"Nu este nimic de sters\";\r\n\r\n System.out.println(message);\r\n\r\n } catch (SQLException Ex) {\r\n System.out.println(Ex.getMessage());\r\n System.out.println(\"Eroare la stergere\"+ Ex.getMessage());\r\n\r\n }\r\n }",
"@Override\n\tpublic void deleteById(int theId) {\n\t\tSession currentSession = entityManager.unwrap(Session.class);\n\t\t\n\t\tQuery<Employee> theQuery = currentSession.createQuery(\"delete from Employee where id=:employeeId\");\n\t\ttheQuery.setParameter(\"employeeId\", theId);\n\t\ttheQuery.executeUpdate();\n\t\t\n\t}",
"@DELETE\n @Transactional\n @Path(\"/{id}\")\n @Produces(MediaType.APPLICATION_JSON)\n public Response delete(\n @PathParam(\"id\") @NotNull(message = ValidationMessages.EMPLOYEE_ID_MUST_NOT_BE_NULL)\n UUID employeeId) {\n\n deleteEmployeeById.handle(employeeId);\n return Response.ok().build();\n }",
"@Override\n\tpublic int deleteEmployeeByID(int empid) throws RemoteException {\n\t\treturn DAManager.deleteEmployeeByID(empid);\n\t}",
"public void delete(EmployeeEntity entity){\n EmployeeDB.getInstance().delete(entity);\n }",
"@Override\r\n\tpublic void delete(Employee arg0) {\n\t\t\r\n\t}",
"@Override\r\n\tpublic int deleteEmployee(Connection con, Employee employee) {\n\t\treturn 0;\r\n\t}",
"public void deleteOne(Long id) {\n\t\ttry{\n\t\t\t//tx.begin();\n\t\t\tWeekAssignmentPerEmployee weekAssignmentPerEmployee = (WeekAssignmentPerEmployee)em.find(WeekAssignmentPerEmployee.class, id);\n\t\t\tif (weekAssignmentPerEmployee == null) {\n\t\t\t\tthrow new DaoException(2);\n\t\t\t}\n\t\t\tem.remove(weekAssignmentPerEmployee);\n\t\t\t\t\n\t //tx.commit();\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tthrow new BusinessException(new ExceptionMessage(\"Failed in WeekAssignmentPerEmployeDao : deleteOne ...\"));\n\t \n\t\t}finally{\n\t\t\tem.close();\n\t\t}\n\n\t\t\n\t}",
"@GET\n\t@Path(\"delete\")\n\t@Produces(MediaType.TEXT_PLAIN)\n\tpublic String deleteEmployee(@QueryParam(\"id\") String id) throws ParseException {\n\t\t\n\t\tJSONObject employeesJsonObject = (JSONObject) parser.parse(getFileContent());\n\t\tJSONArray employeesArray = (JSONArray) employeesJsonObject.get(\"employee\");\n\t\tJSONObject employee;\n\t\t\n\t\t/*checking each employee*/\n\t\tfor ( int i = 0 ; i < employeesArray.size() ; i++ ){\n\t\t\temployee = ((JSONObject) employeesArray.get(i));\n\t\t\t\n\t\t\tif(employee.get(\"id\").toString().equalsIgnoreCase(id)){\n\t\t\t\temployeesArray.remove(employee);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tinsertIntoFile(employeesJsonObject.toString());\n\t\treturn \"success\";\n\t}",
"@DELETE\n\t@Path(\"{empID}\")\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic Response remove(@PathParam(\"empID\") int id) {\n\t\tEmployeeFacade employeeFacade = new EmployeeFacade();\n\t\tboolean result = employeeFacade.removeById(id);\n\t\tif (result) {\n\t\t\treturn Response.status(200).build();\n\t\t}\n\t\treturn Response.status(409).build();\n\t}",
"@DeleteMapping(\"/deleteByID/{id}\")\n\t\tpublic ResponseEntity deleteByID(@PathVariable Integer id) {\n\t\t\tOptional<EmployeeMon> empId = repository.findById(id);\n\t\t\tif(empId.isPresent()) {\n\t\t\t\trepository.deleteById(id);\n\t\t\t\treturn new ResponseEntity<>(HttpStatus.OK);\n\t\t\t} else {\n\t\t\t\treturn new ResponseEntity<>(HttpStatus.NOT_FOUND);\n\t\t\t}\n\t\t}",
"public ResponseEntity<Void> deleteEmp(@ApiParam(value = \"employee id to delete\",required=true) @PathVariable(\"empId\") Long empId) {\n \tEmployee newEmp= empService.getEmployeeById(empId);\n\t\t\n\t\tif(newEmp==null) {\n\t\t\tthrow new ResourceNotFoundException(\"Skill with id \"+empId+\" is not found\");\n\t\t}\n\t\t\n\t\telse {\n\t\t\t\n//\t\t\tLOGGER.trace(\" Trying to trace skills to delete details\");\n\t\t\tempService.deleteEmp(empId);\n\t\t\treturn new ResponseEntity<>(HttpStatus.ACCEPTED);\n\t\t}\n }",
"private void deleteEmployee(HttpServletRequest request, HttpServletResponse response)\r\n\t\tthrows Exception {\n\t\tString theEmployeeId = request.getParameter(\"employeeId\");\r\n\t\t\r\n\t\t// delete employee from database\r\n\temployeeDAO.deleteEmployee(theEmployeeId);\r\n\t\t\r\n\t\t// send them back to \"list employees\" page\r\n\t\tlistEmployees(request, response);\r\n\t}",
"public void deleteEmployee(int employeeID) {\n try {\r\n Class.forName(\"com.mysql.cj.jdbc.Driver\");\r\n\r\n Connection con = DriverManager.getConnection(DatabaseManager.CONNECTION_TO_DATABASE, DatabaseManager.USER_NAME, DatabaseManager.PASSWORD);\r\n\r\n String query = \"DELETE FROM employees WHERE id = '\"+employeeID+\"'\";\r\n\r\n PreparedStatement preparedStatement = con.prepareStatement(query);\r\n preparedStatement.execute();\r\n \r\n if(getEmployeeCount() == 0) \r\n {\r\n DatabaseManager.locations.deleteAllLocations();\r\n }\r\n\r\n con.close();\r\n\r\n } catch (ClassNotFoundException e) {\r\n System.out.println(e.getMessage());\r\n\r\n JOptionPane.showMessageDialog(null, e.getMessage());\r\n } catch (SQLException e2) {\r\n System.out.println(e2.getMessage());\r\n\r\n JOptionPane.showMessageDialog(null, e2.getMessage());\r\n }\r\n\r\n }",
"@DeleteMapping(value=\"/employes/{Id}\")\n\tpublic void deleteEmployeeDetailsByEmployeeId(@PathVariable Long Id) {\n\t\t\n\t\temployeeService.deleteEmployeeDetails(Id);\t\n\t}",
"@Override\r\n\tpublic Map deleteEmployee(long employeeId) {\n\t\treturn null;\r\n\t}",
"public boolean deleteEmployee(int id) {\n\t\tboolean flag = false;\n\t\tMapSqlParameterSource myMap = new MapSqlParameterSource();\n\t\tmyMap.addValue(\"id\", id);\n\t\t\n\t\tint effected = jdbcTemplate.update(\"delete from employee where empId=:id\", myMap);\n\t\tif(effected !=0) {\n\t\t\tflag=true;\n\t\t\tSystem.out.println(\"Employee with id \"+id+\" deleted successfully\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Some proble while deleting data from Employee table\");\n\t\t}\n\t\treturn flag;\n\t}",
"public int deleteEmp(int id) throws Exception {\n\t\tSession session = null;\n\t\tEmp emp = null;\n\t\ttry {\n\t\t\tsession = sf.openSession();\n\t\t\tdeleteUser(id);\n\t\t\temp = findEmpById(id);\n\t\t\tsession.delete(emp);\n\t\t\tsession.flush();\n\t\t\treturn 1;\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\te.printStackTrace();\n\t\t\treturn -1;\n\t\t} finally {\n\t\t\tif (session != null)\n\t\t\t\tsession.close();\n\t\t}\n\t}",
"@DeleteMapping(\"{id}\")\n\t@Secured(Roles.ADMIN)\n\tpublic ResponseEntity<?> delete(@PathVariable long id) {\n\t\tLogStepIn();\n\n\t\tEmployee employee = employeeRepository.findById(id);\n\t\tif (employee == null) {\n\t\t\treturn LogStepOut(ResponseEntity.notFound().build());\n\t\t}\n\t\telse {\n\t\t\tuserRepository.deleteById(employee.getUser().getId());\n\t\t\temployeeRepository.deleteById(id);\n\t\t\treturn LogStepOut(ResponseEntity.noContent().build());\n\t\t}\n\t}",
"public static void deleteRecord(Integer employeeId) {\n\t\ttry {\n\t\t\t// Getting Session Object From SessionFactory\n\t\t\tsessionObj = buildSessionFactory().openSession();\n\t\t\t// Getting Transaction Object From Session Object\n\t\t\tsessionObj.beginTransaction();\n\n\t\t\tFuncionario employeeObj = findRecordById(employeeId);\n\t\t\tsessionObj.delete(employeeObj);\n\n\t\t\t// Committing The Transactions To The Database\n\t\t\tsessionObj.getTransaction().commit();\n\t\t} catch (Exception sqlException) {\n\t\t\tif (null != sessionObj.getTransaction()) {\n\t\t\t\tsessionObj.getTransaction().rollback();\n\t\t\t}\n\t\t\tsqlException.printStackTrace();\n\t\t} finally {\n\t\t\tif (sessionObj != null) {\n\t\t\t\tsessionObj.close();\n\t\t\t}\n\t\t}\n\t}",
"public void deleteEmp(int empno) {\n\t\t\n\t}",
"@Override\r\n\tpublic boolean deleteEmp(int id) {\n\t\tEntityManager entityManager = entityManagerFactory.createEntityManager();\r\n\t\tEntityTransaction entityTransaction = entityManager.getTransaction();\r\n\r\n\t\ttry {\r\n\t\t\tentityTransaction.begin();\r\n\t\t\tEmployeeBean employeeBean = entityManager.find(EmployeeBean.class, id);\r\n\t\t\tif (employeeBean != null) {\r\n\t\t\t\tentityManager.remove(employeeBean);\r\n\t\t\t\tentityTransaction.commit();\r\n\t\t\t\treturn true;\r\n\t\t\t} else {\r\n\t\t\t\treturn false;\r\n\t\t\t}\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\treturn false;\r\n\t\t}\r\n\r\n\t}",
"public ResponseEntity<Void> deleteEmployeeDetails(@ApiParam(value = \"employee id to delete\",required=true) @PathVariable(\"empId\") Long empId) {\n \tEmployee newEmp= empService.getEmployeeById(empId);\n\t\t\n\t\tif(newEmp==null) {\n\t\t\tthrow new ResourceNotFoundException(\"Skill with id \"+empId+\" is not found\");\n\t\t}\n\t\t\n\t\telse {\n\t\t\t\n//\t\t\tLOGGER.trace(\" Trying to trace skills to delete details\");\n\t\t\tempService.deleteEmployeeDetails(empId);\n\t\t\treturn new ResponseEntity<>(HttpStatus.ACCEPTED);\n\t\t}\n }",
"public static void deleteEmployee(Employee employee) {\n try {\n if (employeeRepository.delete(dataSource, employee) == 0) {\n LOGGER.info(\"The employee \" + employee.getFirstName() + \" \" + employee.getLastName() +\n \" \" + employee.getBirthday() + \" was successfully deleted from the list of employees\");\n System.out.println(\"\\n\" + resourceBundle.getString(\"emp\") + \" \" + employee.getFirstName() + \" \" + employee.getLastName() +\n \" \" + employee.getBirthday() + \" \" + resourceBundle.getString(\"success.delete\") + \"\\n\");\n } else {\n LOGGER.warn(\"The employee \" + employee.getFirstName() + \" \" + employee.getLastName() + \" \" + employee.getBirthday() + \" was not found in the list of employees\");\n System.out.println(\"\\n\" + resourceBundle.getString(\"emp\") + \" \" + employee.getFirstName() + \" \" + employee.getLastName() + \" \" + employee.getBirthday() + \" \" + resourceBundle.getString(\"not.in.list\") + \"\\n\");\n }\n } catch (SQLException e) {\n LOGGER.error(e.getMessage());\n }\n }",
"public void DeleteEmployee(int idEmployee)\n\t{\n\t\tfor(int i = 0; i < departments.size() ; i++)\n\t\t\tfor(Employee emp : departments.get(i).getEmployeeList())\n\t\t\t{\n\t\t\t\tif(emp.getIdEmployee()==idEmployee) \n\t\t\t\t{\n\t\t\t\t\tdepartments.get(i).delEmployee(emp);break;\n\t\t\t\t}\n\t\t\t}\n\t}",
"@POST(\"/DeleteEmpire\")\n\tCollection<Empire> deleteEmpire(@Body Empire empire,@Body int id) throws GameNotFoundException;",
"@Override\n\tpublic void deleteEPAData(int empId) {\n\t}",
"@Override\n\tpublic void deletarEmpregado(long id) {\n\t\tempregadoRepository.deleteById(id);\n\t}",
"@Override\n\tpublic void deleteById(String id) throws Exception {\n\t\t\n\t}",
"public boolean deleteEmployeeDetail(int id) {\n\t\treturn dao.deleteEmployeeDetail(id);\n\t}",
"@Override\n public void delete(Long id) throws Exception {\n\n }",
"public void delete(int id) throws Exception {\n\n\t}",
"void deleteById(int id);",
"public void delete(Integer id);",
"public void delete(Integer id);",
"public void delete(Integer id);",
"public void deleteById(String id);",
"public void deleteEmployee(Integer employeeID) {\n\t\tSession session = factory.openSession();\n\t\tTransaction transaction = null;\n\t\ttry {\n\t\t\ttransaction = session.beginTransaction();\n\t\t\tEmployee employee = (Employee) session.get(Employee.class, employeeID);\n\t\t\tsession.delete(employee);\n\t\t\ttransaction.commit();\n\t\t} catch (HibernateException e) {\n\t\t\tif (transaction != null)\n\t\t\t\ttransaction.rollback();\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tsession.close();\n\t\t}\n\t}",
"public void delete(int id);",
"@Override\n\tpublic Employee delete(Employee emp) {\n\t\treturn null;\n\t}",
"public void delete(int id) throws InvalidOperationException {\n if (employeeArray[id] == null) {\n throw new InvalidOperationException(\"Error deleting employee, no such employee \" + id);\n }\n try {\n employeeArray[id] = null;\n } catch (ArrayIndexOutOfBoundsException e) {\n throw new InvalidOperationException(\"Error deleting employee, id must be less than \" + employeeArray.length);\n }\n }",
"public void delete(Long id);",
"public void delete(Long id);",
"public void delete(Long id);",
"public void delete(Long id);",
"public void delete(Long id);",
"void deleteById(Integer id);",
"void deleteById(Integer id);",
"void deleteById(long id);",
"public void deleteById(Long id);",
"public void delete(String id);"
]
| [
"0.8837166",
"0.8720212",
"0.8622953",
"0.8616821",
"0.8494361",
"0.8474979",
"0.84199214",
"0.8366706",
"0.83481956",
"0.8315401",
"0.8306215",
"0.8273694",
"0.8258912",
"0.82516634",
"0.8250484",
"0.8231417",
"0.81776434",
"0.81551236",
"0.8153424",
"0.81365126",
"0.8068093",
"0.8042389",
"0.8034111",
"0.8033053",
"0.8029059",
"0.8006421",
"0.7988276",
"0.7980211",
"0.79605585",
"0.7947233",
"0.7944215",
"0.79372764",
"0.79015017",
"0.7882356",
"0.7876608",
"0.7865074",
"0.7854863",
"0.7838667",
"0.7824403",
"0.780609",
"0.7786995",
"0.7776884",
"0.7757956",
"0.77333796",
"0.7732661",
"0.7730661",
"0.7728321",
"0.7727916",
"0.7722744",
"0.77186704",
"0.7698815",
"0.769442",
"0.7693844",
"0.768987",
"0.7654785",
"0.7651256",
"0.76331955",
"0.7633123",
"0.76324844",
"0.7621303",
"0.76184875",
"0.7605088",
"0.7600209",
"0.75984955",
"0.75739074",
"0.7570875",
"0.75652236",
"0.7549027",
"0.75427663",
"0.7527",
"0.75202733",
"0.75130004",
"0.7436611",
"0.7399842",
"0.73904884",
"0.73799145",
"0.73662794",
"0.73553365",
"0.7317337",
"0.7294683",
"0.72938997",
"0.72935975",
"0.7281855",
"0.7281855",
"0.7281855",
"0.7280197",
"0.727208",
"0.727011",
"0.72638214",
"0.72595865",
"0.72593045",
"0.72593045",
"0.72593045",
"0.72593045",
"0.72593045",
"0.7236019",
"0.7236019",
"0.7229069",
"0.72273266",
"0.7226209"
]
| 0.7433418 | 73 |
TODO Autogenerated method stub read in files from DIRECTORY | public static void main(String[] args) {
File txtFiles = new File(DIRECTORY);
TextReader reader = new TextReader();
// read words from each file
for(File f : txtFiles.listFiles()) {
System.out.println("Reading from: " + f.getName());
try {
Scanner s = new Scanner(f);
reader.readWords(s);
s.close();
}
catch(FileNotFoundException e) {
System.out.println("Cannot find file named: " + f.getName());
}
}
// sort words
System.out.println("\n\n\nSorting words\n\n\n");
reader.sortByCount();
//Find 20 most used
System.out.println("Top "+TOPCOUNT+" Words by Count");
for(int i = 0; i < TOPCOUNT; i++) {
System.out.println((i+1) + " : \t" + reader.words.get(i).word + "\t\t" + reader.words.get(i).count);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void getDirectoryContents() {\n\t File directory = Utilities.prepareDirectory(\"Filtering\");\n\t if(directory.exists()) {\n\t FilenameFilter filter = new FilenameFilter() {\n\t public boolean accept(File dir, String filename) {\n\t return filename.contains(\".pcm\") || filename.contains(\".wav\");\n\t }\n\t };\n\t fileList = directory.list(filter);\n\t }\n\t else {\n\t fileList = new String[0];\n\t }\n\t}",
"public void readResult() {\n File dirXml = new File(System.getProperty(\"user.dir\") + \"/target/classes/\");\n /// Get Parent Directory\n String parentDirectory = dirXml.getParent();\n File folder = new File(parentDirectory + \"/jbehave\");\n File[] listOfFiles = folder.listFiles();\n\n if (listOfFiles != null) {\n for (File listOfFile : listOfFiles) {\n if (listOfFile.isFile()) {\n String filePath = folder.getPath() + \"/\" + listOfFile.getName();\n System.out.println(\"File \" + filePath);\n if (filePath.contains(\".xml\") && !filePath.contains(\"AfterStories\") && !filePath.contains(\n \"BeforeStories\")) {\n readXML(filePath);\n }\n }\n }\n }\n }",
"private File[] getFilesInDirectory() {\n\t\t//Show Directory Dialog\n\t\tDirectoryChooser dc = new DirectoryChooser();\n\t\tdc.setTitle(\"Select Menu File Directory\");\n\t\tString folderPath = dc.showDialog(menuItemImport.getParentPopup().getScene().getWindow()).toString();\n\t\t\n\t\t//Update Folder location text\n\t\ttxtFolderLocation.setText(\"Import Folder: \" + folderPath);\n\t\t//Now return a list of all the files in the directory\n\t\tFile targetFolder = new File(folderPath);\n\t\t\n\t\treturn targetFolder.listFiles(); //TODO: This returns the names of ALL files in a dir, including subfolders\n\t}",
"private void getFiles() {\n\t\ttry {\n\t\t\tFileReader fr = new FileReader(inputFileName);\n\t\t\tinputBuffer = new BufferedReader(fr);\n\n\t\t\tFileWriter fw = new FileWriter(outputFileName);\n\t\t\toutputBuffer = new BufferedWriter(fw);\n\t\t} catch (FileNotFoundException e) {\n\t\t\tSystem.out.println(\"File not found: \" + e.getMessage());\n\t\t\tSystem.exit(-2);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"IOException \" + e.getMessage());\n\t\t\te.printStackTrace();\n\t\t\tSystem.exit(-3);\n\t\t}\n\t}",
"AntiIterator<FsPath> listFilesAndDirectories(FsPath dir);",
"public void findCsvFiles(String parentDirectory){\n File[] filesInDirectory = new File(parentDirectory).listFiles();\n \n for(File f : filesInDirectory){\n if(f.isDirectory()){\n findCsvFiles(f.getAbsolutePath());\n }\n String filePath = f.getAbsolutePath();\n String fileExtenstion = filePath.substring(filePath.lastIndexOf(\".\") + 1,filePath.length());\n \n if(\"csv\".equals(fileExtenstion)) {\n \t\tread(filePath);\n }\n } \n \n }",
"@PostConstruct\n private void loadFiles() {\n \n\n File dir = new File(Constants.DIR_PATH);\n File[] files = dir.listFiles(); //stores list of files in given paths\n String line=\"\";\n\n for(File file : files){\n try {\n br = new BufferedReader(new FileReader(file));\n br.readLine();\n while((line=br.readLine())!=null){\n\n String []token=line.split(Constants.DELIMETER);\n String fileName=file.getName().toUpperCase();\n\n FlightData newflight = new FlightData(fileName.substring(0,fileName.lastIndexOf(\".\")),token[0],token[1],token[2],token[3],token[4],token[5],Double.parseDouble(token[6]),token[7],token[8]);\n flightDataDao.insertFlightData(newflight);\n }\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n }",
"List<File> list(String directory) throws FindException;",
"private static List<File> listChildFiles(File dir) throws IOException {\n\t\t List<File> allFiles = new ArrayList<File>();\n\t\t \n\t\t File[] childFiles = dir.listFiles();\n\t\t for (File file : childFiles) {\n\t\t if (file.isFile()) {\n\t\t allFiles.add(file);\n\t\t } else {\n\t\t List<File> files = listChildFiles(file);\n\t\t allFiles.addAll(files);\n\t\t }\n\t\t }\n\t\t return allFiles;\n\t\t }",
"public Directory parseDirectory() {\n\n\t// Create a buffer for the result.\n\tDirectory result = new DirectoryImpl( this);\n\n\t// The track and sector pos of the currency directory sector.\n\tint trackIndex = 18;\n\tint sectorIndex = 1;\n\n\t// The directory starts at track 18, sector 1 and normally continues to sector 18.\n\twhile( ( trackIndex != 0) && (sectorIndex != 0)) {\n\n\t // Get the data of the current sector.\n\t byte [] sectorData = getSector( trackIndex, sectorIndex).getDataBytes();\n\n\t // Parse the directory entries in this sector.\n\t for( int currentEntry = 0; currentEntry < 8; ++currentEntry) {\n\n\t\t// Calculate the byte, where the directory entry starts.\n\t\tint entryOffset = 32 * currentEntry;\n\n\t\t// Check, if this entry is a deleted file.\n\t\tif( sectorData[ entryOffset + 2] == 0) { \n\n\t\t continue; // This entry is deleted.\n\t\t}\n\n\t\t// Get the name of the filename.\n\t\tStringBuffer filenameBuffer = new StringBuffer();\n\n\t\tfor( int filenameIndex = 5; filenameIndex <= 14; ++filenameIndex) {\n\n\t\t // Get the current byte of the filename.\n\t\t byte currentFilenameChar = sectorData[ entryOffset + filenameIndex];\n\n\t\t if( currentFilenameChar == 0xa0) { // This is a padding byte. Filename is complete.\n\t\t\t\n\t\t\tbreak;\n\n\t\t } else { // Convert this petscii char and add it to the filename.\n\t\t\t\n\t\t\tfilenameBuffer.append( CharsetUtils.getInstance().petscii2ascii( currentFilenameChar));\n\t\t }\n\t\t}\n\n\t\t// Get the type of the file.\n\t\tbyte currentFileType = (byte)( sectorData[ entryOffset + 2] & (byte)7);\n\t\tString currentFileTypeName = \"\";\n\n\t\tswitch( currentFileType) {\n\t\tcase 1: currentFileTypeName = \"SEQ\"; break;\n\t\tcase 2: currentFileTypeName = \"PRG\"; break;\n case 3: currentFileTypeName = \"USR\"; break;\n\t\tcase 4: currentFileTypeName = \"REL\"; break;\n\t\t}\n\n\t\t// Try to approximate the filesize. The c64 only stores blocks of 254 bytes and not \n\t\t// the actual filesize in bytes.\n\t\tint filesize = sectorData[ entryOffset + 0x1e] + ( 256 * sectorData[ entryOffset + 0x1f]);\n\t\t\n\t\t// Create a directory entry and add it to the result.\n\t\tresult.addDirectoryEntry( new D64DirectoryEntry( filenameBuffer.toString()\n\t\t\t\t\t\t\t\t , filesize\n\t\t\t\t\t\t\t\t , currentFileTypeName\n\t\t\t\t\t\t\t\t , sectorData[ entryOffset + 3] // Track index of the first sector.\n\t\t\t\t\t\t\t\t , sectorData[ entryOffset + 4] // Sector index of the first sector.\n\t\t\t\t\t\t\t\t , result));\n\t }\n\n\t // Get the track and sector of the next directory sector from the current sector;\n\t trackIndex = sectorData[ 0];\n\t sectorIndex = sectorData[ 1];\n\t}\n\n\t// Return the parsed directory.\n\treturn result;\n }",
"public void loadFiles(String location) {\r\n files = new ArrayList<>();\r\n try {\r\n // определяем объект для каталога\r\n File dir = new File(location);\r\n String[] listOfFiles = dir.list();\r\n if(dir.isDirectory()) {\r\n \tSystem.out.println(\"Dir: \" + dir.getAbsolutePath());\r\n \ttestWriter.write(\"Dir: \" + dir.getAbsolutePath());\r\n }\r\n for(File i : dir.listFiles()) {\r\n System.out.println(\"SubDir: \" + i.getAbsolutePath());\r\n for(File j : i.listFiles()) {\r\n files.add(new File(j.getAbsolutePath()));\r\n System.out.println(\"File: \" + j.getAbsolutePath() + \" is loaded\");\r\n testWriter.write(\"File: \" + j.getAbsolutePath() + \" is loaded\");\r\n }\r\n }\r\n }\r\n catch(NullPointerException e) {\r\n System.err.println(\"Error while loading file\");\r\n e.printStackTrace();\r\n } catch (IOException e) {\r\n \tSystem.err.println(\"Error while writing to log file\");\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n }",
"public synchronized int load()\n {\n int cb = (maxFiles * maxChars * SysLib.CBCHAR) + \n (maxFiles * SysLib.CBINT);\n byte b[] = new byte[cb];\n files.clear();\n int fileNameOffset = maxFiles * SysLib.CBINT;\n int offset = 0;\n\n // Read the entire potential directory listing\n if (inode.read(0, b) < 0)\n {\n return -1;\n }\n\n for (int i = 0; i < maxFiles; i++)\n {\n // Read the file name length\n int strLen = SysLib.bytes2int(b, offset);\n offset += SysLib.CBINT;\n\n // Read the file name, if one is stored\n if (strLen > 0)\n {\n byte strBytes[] = new byte[strLen * SysLib.CBCHAR];\n\n System.arraycopy(b, fileNameOffset, strBytes, 0,\n strBytes.length);\n\n files.add(new String(strBytes));\n\n fileNameOffset += strLen;\n }\n // Add a zero-length placeholder for this listing\n else\n {\n files.add(new String(\"\"));\n }\n }\n\n return 0;\n }",
"public static void main(String[] args) { String dirname = \"/home/diego/IdeaProjects/JAVAStuff/src/tmp/dirTest.txt\";\n// File d = new File(dirname);\n// d.mkdirs();\n//\n File file = null;\n String[] paths;\n\n try {\n file = new File(\"/home/diego/IdeaProjects/JAVAStuff/src\");\n paths = file.list();\n\n for(String s: paths) {\n System.out.println(s);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n\n }",
"public void process() throws Exception {\n\tFile curDir = new File(pathToInputFolder);\n\tFile[] filesList = curDir.listFiles();\n\tlist=list(filesList);\n\t\n\tif(list.length==0) System.out.println(\"No file in the specified directory\");\n\n\t}",
"static void viewFiles()\r\n\t {\n\t\t File directoryPath = new File(\"D:\\\\java_project\");\r\n\t File filesList[] = directoryPath.listFiles();\r\n System.out.println(\"List of files and directories in the specified directory:\");\r\n\t for(File file : filesList) \r\n\t {\r\n\t System.out.println(\"File name: \"+file.getName());\r\n\t System.out.println(\"File path: \"+file.getAbsolutePath());\r\n\t System.out.println(\"Size :\"+file.getTotalSpace());\r\n\t System.out.println(\"last time file is modified :\"+new Date(file.lastModified()));\r\n System.out.println(\" \");\r\n\t }\r\n }",
"private void processDir(){\n // get the location of ISAW code base\n String isaw_home=SharedData.getProperty(\"ISAW_HOME\");\n if(isaw_home==null)\n throw new InstantiationError(\"Could not find directory:ISAW_HOME is null\");\n isaw_home=FilenameUtil.setForwardSlash(isaw_home+\"/\");\n\n // get the name of the directory to check\n String dir=FilenameUtil.setForwardSlash(isaw_home\n +\"DataSetTools/parameter/\");\n\n // check that the directory is okay to work with\n if(DEBUG) System.out.println(\"Looking in \"+dir);\n File paramDir=new File(dir);\n if( !(paramDir.exists()) || !(paramDir.isDirectory()) )\n throw new InstantiationError(\"Could not find directory \" + dir);\n\n // get the list of all possible classes\n File[] files=paramDir.listFiles();\n String filename=null;\n for( int i=0 ; i<files.length ; i++ ){\n filename=checkName(files[i].toString(),isaw_home.length());\n if(filename!=null) addParameter(filename);\n }\n \n \n\n dir=FilenameUtil.setForwardSlash(isaw_home\n +\"gov/anl/ipns/Parameters/\");\n\n // check that the directory is okay to work with\n if(DEBUG) System.out.println(\"Looking in \"+dir);\n paramDir=new File(dir);\n if( !(paramDir.exists()) || !(paramDir.isDirectory()) )\n throw new InstantiationError(\"Could not find directory \" + dir);\n\n // get the list of all possible classes\n files=paramDir.listFiles();\n filename=null;\n for( int i=0 ; i<files.length ; i++ ){\n filename=checkName(files[i].toString(),isaw_home.length());\n if(filename!=null) addParameter(filename);\n }\n\n }",
"public void readFromFile() {\n\n\t}",
"static void walkTheDir(){ \n\t try (Stream<Path> paths = Files.walk(Paths.get(\"/ownfiles/tullverketCert/source\"))) {\n\t \t paths\n\t \t .filter(Files::isRegularFile)\n\t \t //.forEach(System.out::println);\n\t \t .forEach( e ->{\n\t \t \t\tSystem.out.println(e);\n\t \t \t\tSystem.out.println(e.getParent());\n\t \t \t\t\n\t \t \t});\n\t \t \n \t}catch (Exception e) { \n\t System.out.println(\"Exception: \" + e); \n\t } \n\t }",
"public Stream<Path> loadAll() {\n\t\ttry\n\t\t{\n\t\t\tSystem.out.println(\"File Retrived\");\n\t\t\treturn Files.walk(this.path, 1).filter(path->!path.equals(this.path)).map(this.path::relativize);\n\t\t}catch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t\tSystem.out.println(\"File Retrived Error\");\n\t\t}\n\t\treturn null;\n\t}",
"protected void openFiles() {\n\t\tthis.container = fso.openFile(prefix+EXTENSIONS[CTR_FILE],\"rw\");\n\t\tthis.metaData = fso.openFile(prefix+EXTENSIONS[MTD_FILE], \"rw\");\n\t\tthis.reservedBitMap = fso.openFile(prefix+EXTENSIONS[RBM_FILE], \"rw\");\n\t\tthis.updatedBitMap = fso.openFile(prefix+EXTENSIONS[UBM_FILE], \"rw\");\n\t\tthis.freeList = fso.openFile(prefix+EXTENSIONS[FLT_FILE], \"rw\");\n\t}",
"public FilesInputStreamLoad readFile() throws ArcException {\r\n\tFile dir = new File(this.archiveChargement + \".dir\");\r\n\tString fileName = ManipString.substringAfterFirst(this.idSource, \"_\");\r\n\tFile toRead = new File(dir + File.separator + ManipString.redoEntryName(fileName));\r\n\tFilesInputStreamLoad filesInputStreamLoadReturned = null;\r\n\ttry {\r\n\t\tfilesInputStreamLoadReturned = new FilesInputStreamLoad (toRead);\r\n\t} catch (IOException ioReadException) {\r\n\t\tthrow new ArcException(ioReadException, ArcExceptionMessage.FILE_READ_FAILED, toRead);\r\n\t}\r\n\treturn filesInputStreamLoadReturned;\r\n }",
"private static void retrieveFiles(File fileDir) {\n List<String> files = Arrays.asList(fileDir.list());\n if (files.isEmpty()) {\n System.out.println(\"There are no files under current directory.\");\n return;\n }\n Collections.sort(files);\n int numOfFiles = files.size();\n System.out.println(\"There are \" + numOfFiles + \" files under current directory.\");\n for (int i = 1; i <= numOfFiles; i++) {\n System.out.println(i + \" - \" + files.get(i - 1));\n }\n }",
"private void processBulk()\n {\n File inDir = new File(m_inDir);\n String [] fileList = inDir.list();\n \n for (int j=0; j<fileList.length; j++)\n {\n String file = fileList[j];\n if (file.endsWith(\".xml\"))\n {\n m_inFile = m_inDir + \"/\" + file;\n m_localeStr = Utilities.extractLocaleFromFilename(file);\n processSingle();\n }\n }\n }",
"public interface IReadDirectory {\n\n /**\n * List all files existing in the given directory.\n * \n * @param directory\n * @return file list\n * @throws FindException\n */\n List<File> list(String directory) throws FindException;\n\n}",
"abstract File getResourceDirectory();",
"private List<Path> listSourceFiles(Path dir) throws IOException {\n\t\tList<Path> result = new ArrayList<>();\n\t\ttry (DirectoryStream<Path> stream = Files.newDirectoryStream(dir, \"*.json\")) {\n\t\t\tfor (Path entry: stream) {\n\t\t\t\tresult.add(entry);\n\t\t\t}\n\t\t} catch (DirectoryIteratorException ex) {\n\t\t\t// I/O error encounted during the iteration, the cause is an IOException\n\t\t\tthrow ex.getCause();\n\t\t}\n\t\treturn result;\n\t}",
"@Override\n public List<GEMFile> getLocalFiles(String directory) {\n File dir = new File(directory);\n List<GEMFile> resultList = Lists.newArrayList();\n File[] fList = dir.listFiles();\n if (fList != null) {\n for (File file : fList) {\n if (file.isFile()) {\n resultList.add(new GEMFile(file.getName(), file.getParent()));\n } else {\n resultList.addAll(getLocalFiles(file.getAbsolutePath()));\n }\n }\n gemFileState.put(STATE_SYNC_DIRECTORY, directory);\n }\n return resultList;\n }",
"public static File[] getFiles() /*throws IOException*/ {\n\n String os = (System.getProperty(\"os.name\")).toUpperCase();\n File path;\n if (os.contains(\"WIN\")) {\n path = new File(System.getenv(\"APPDATA\")+\"\\\\SudokuGR04\");\n }\n else\n {\n path = new File(System.getProperty(\"user.home\" + \"/Library/Application Support/SudokuGR04\" ));\n }\n\n FileFilter fileFilter = dir -> {\n return dir.isFile();\n };\n //in the files-array there is a list of all files in the dir\n files = path.listFiles(fileFilter);\n return files;\n }",
"private void initializeFileArrays(){\n File downloadedFilesFolder = new File(MainActivity.DB_PATH);\n File[] files = downloadedFilesFolder.listFiles();\n System.out.println(\"*** \" + files.length + \" ***\");\n if(files != null){\n System.out.println(\"*** \" + files.length + \" ***\");\n for(File f : files){\n if(f != null){\n System.out.println(\"***\\n FILE FOUND - \" + f.getAbsolutePath()+\"\\nSIZE - \" +\n f.length() + \" BYTES \\n***\");\n fileNames.add(f.getName());\n fileSizes.add(f.length()+\"\");\n this.files.add(f);\n }\n }\n }\n }",
"public void processDirectory(String dirName, DraftStatus minimalDraftStatus)\n throws IOException, ParseException {\n File dir = new File(outputDir + dirName);\n if (!dir.exists()) {\n dir.mkdirs();\n }\n SupplementalDataInfo sdi = SupplementalDataInfo.getInstance(CldrUtility.DEFAULT_SUPPLEMENTAL_DIRECTORY);\n Factory cldrFactory = Factory.make(\n cldrCommonDir + dirName + \"/\", \".*\");\n Set<String> files = cldrFactory.getAvailable();\n for (String filename : files) {\n if (LdmlConvertRules.IGNORE_FILE_SET.contains(filename)) {\n continue;\n }\n if (!filename.matches(match)) {\n continue;\n }\n\n System.out.println(\"Processing file \" + dirName + \"/\" + filename);\n String pathPrefix;\n CLDRFile file = cldrFactory.make(filename, resolve && dirName.equals(MAIN), minimalDraftStatus);\n\n sectionItems.clear();\n if (dirName.equals(MAIN)) {\n pathPrefix = \"/cldr/\" + dirName + \"/\" + filename.replaceAll(\"_\", \"-\") + \"/\";\n } else {\n pathPrefix = \"/cldr/\" + dirName + \"/\";\n }\n mapPathsToSections(file, pathPrefix, sdi);\n\n String outputDirname;\n if (dirName.equals(MAIN)) {\n outputDirname = outputDir + dirName + File.separator + filename.replaceAll(\"_\", \"-\");\n } else {\n outputDirname = outputDir + dirName;\n }\n convertCldrItems(outputDirname, pathPrefix);\n }\n }",
"private ArrayList<String> readReturnFileContents(String fileName){\n String startingDir = System.getProperty(\"user.dir\");\n BufferedReader reader = null;\n String line = \"\";\n ArrayList<String> wholeFile = new ArrayList<String>();\n try {\n reader = new BufferedReader(new FileReader(startingDir + \"/\" + fileName));\n while ((line = reader.readLine()) != null) {\n wholeFile.add(line);\n }\n } catch (FileNotFoundException fnfe) {\n System.out.println(fnfe.getMessage());\n System.exit(1);\n } catch (NullPointerException npe) {\n System.out.println(npe.getMessage());\n System.exit(1);\n } catch (Exception ex) {\n System.out.println(ex.getMessage());\n System.exit(1);\n }\n return wholeFile;\n }",
"protected File[] getFiles() {\r\n DirectoryScanner scanner = new DirectoryScanner(rootDir,true,\"*.xml\");\r\n List<File> files = scanner.list();\r\n return files.toArray(new File[files.size()]);\r\n }",
"List readFile(String pathToFile);",
"public static void readFiles () throws FileNotFoundException{\n try {\n data.setFeatures(data.readFeatures(\"features.txt\"));\n data.setUnknown(data.readFeatures(\"unknown.txt\"));\n data.setTargets(data.readTargets(\"targets.txt\"));\n } catch (FileNotFoundException e) {\n System.out.println(\"Document not found\");\n }\n }",
"public static void main(String args[]) throws IOException {\n File file = new File(\"D:\\\\ExampleDirectory\");\r\n //List of all files and directories\r\n listOfFiles(file);\r\n }",
"private Vector getDirectoryEntries(File directory) {\n Vector files = new Vector();\n\n // File[] filesInDir = directory.listFiles();\n String[] filesInDir = directory.list();\n\n if (filesInDir != null) {\n int length = filesInDir.length;\n\n for (int i = 0; i < length; ++i) {\n files.addElement(new File(directory, filesInDir[i]));\n }\n }\n\n return files;\n }",
"public void readEntries() throws FileAccessException;",
"private static String readFromFile(ArrayList diretorios, String sessionId)\n\t{\n\t StringBuffer result = new StringBuffer();\n\t \n\t try\n\t {\n\t //Verificando na lista de diretorios se o arquivo pode ser encontrado. \n\t for(int i = 0; i < diretorios.size(); i++)\n\t {\n\t\t String fileName = (String)diretorios.get(i) + File.separator + sessionId;\n\t\t File fileExtrato = new File(fileName);\n\t\t \n\t\t if(fileExtrato.exists())\n\t\t {\n\t\t //Lendo o XML do arquivo.\n\t\t FileReader reader = new FileReader(fileExtrato);\n\t\t char[] buffer = new char[new Long(fileExtrato.length()).intValue()];\n\t\t int bytesRead = 0;\n\t \n\t\t while((bytesRead = reader.read(buffer)) != -1)\n\t\t {\n\t\t result.append(buffer);\n\t\t }\n\t \n\t\t reader.close();\n\t\t break;\n\t\t }\n\t }\n\t }\n\t catch(Exception e)\n\t {\n\t e.printStackTrace();\n\t }\n\t \n\t return (result.length() > 0) ? result.toString() : null;\n\t}",
"protected Set<File> getDataFiles(File directory){\n\t\tSet<File> files = new HashSet<File>();\n\t\t\n\t\tfor(File file : directory.listFiles()){\n\t\t\tif(file.isDirectory()){\n\t\t\t\tfiles.addAll(this.getDataFiles(file));\n\t\t\t} else {\n\t\t\t\tif(file.getName().equals(DATA_FILE)){\n\t\t\t\t\tfiles.add(file);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn files;\n\t}",
"public List<File> getFiles(String dir)\r\n\t{\r\n\t\tList<File> result = null;\r\n\t\tFile folder = new File(dir);\r\n\t\tif (folder.exists() && folder.isDirectory())\r\n\t\t{\r\n\t\t\tFile[] listOfFiles = folder.listFiles(); \r\n\t\t\t \r\n\t\t\tresult = new ArrayList<File>();\r\n\t\t\tfor (File file : listOfFiles)\r\n\t\t\t{\r\n\t\t\t\tif (file.isFile())\r\n\t\t\t\t\tresult.add(file);\r\n\t\t\t}\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tlogger.error(\"check to make sure that \" + dir + \" exists and you have permission to read its contents\");\r\n\t\t}\r\n\t\t\r\n\t\treturn result;\r\n\t}",
"public void displayDirectoryList() {\r\n //-----------------------------------\r\n String appDirecotry = APP_INSTANCE.getAppDirectory();\r\n\r\n //-----------------------------------\r\n\r\n System.out.println(\"/// FILE LIST OF DIRECTORY: \"+appDirecotry);\r\n System.out.println(\"/// ------------------ START OF DIRECTORY FILES LIST -------------------\");\r\n\r\n //-----------------------------------\r\n getCurrentDirectoryFiles(appDirecotry).forEach(listItemFile-> {\r\n intProperty = (intProperty +1 );\r\n System.out.println(\"/// [\"+intProperty+\"] \"+listItemFile.getName());\r\n });\r\n\r\n //-----------------------------------\r\n System.out.println(\"/// ------------------- END OF DIRECTORY FILES LIST --------------------\");\r\n }",
"static Vector< DbRecord > ReadRecords( String szDbDir )\n {\n File DbDir;\n File[] files;\n Vector<DbRecord> Users = new Vector<DbRecord>( 10, 10 );\n\n // Read all records to identify\n DbDir = new File( szDbDir );\n files = DbDir.listFiles();\n\n if( (files == null) || (files.length == 0) )\n {\n return Users;\n }\n\n for( int iFiles = 0; iFiles < files.length; iFiles++)\n {\n try\n {\n if( files[iFiles].isFile() )\n {\n DbRecord User = new DbRecord( files[iFiles].getAbsolutePath() );\n Users.add( User );\n }\n }\n catch( FileNotFoundException e )\n {\n // The record has invalid data. Skip it and continue processing.\n }\n catch( NullPointerException e )\n {\n JOptionPane.showConfirmDialog(null, \"erro\"+e);\n }\n catch( AppException e )\n {\n // The record has invalid data or access denied. Skip it and continue processing.\n }\n }\n \n return Users;\n }",
"public static List<String> getFilesFromDirectory(){\n File wordTextFolder = new File(FOLDER_OF_TEXT_FILES.toString());\n File[] filesInsideFolder = wordTextFolder.listFiles();\n List<String> paths = new ArrayList<>();\n String name;\n\n for (File txtFile : filesInsideFolder){\n paths.add( txtFile.getPath() );\n name = txtFile.getName();\n name = name.substring(0, name.lastIndexOf('.'));\n\n if(name.length() > Table.maxFileNameLength){\n Table.setMaxFileNameLength(name.length());\n }\n }\n return paths;\n }",
"private void processDir(final String filename) throws FileNotFoundException, IOException, RepositoryException,\n RDFHandlerException\n {\n final File dataDir = new File(filename);\n System.out.println(\"Using data directory: \" + dataDir);\n\n // get the data files\n final File[] dataFiles = dataDir.listFiles(new FilenameFilter()\n {\n @Override\n public boolean accept(final File dir, final String name)\n {\n return name.contains(\"heartrate\") && (name.endsWith(\"csv\") || name.endsWith(\"CSV\"));\n }\n });\n // want to make sure we only create each person and sensor once\n Arrays.sort(dataFiles);\n\n // FIXME testing with just 1 file to start\n final File[] testFiles = dataFiles;\n // testFiles[0] = dataFiles[0];\n\n int count = 0;\n\n for (final File file : testFiles)\n {\n final String oldPid = currentPid;\n\n System.out.println(\"processing \" + file);\n\n try\n {\n parseFilename(file);\n\n // did we change people?\n if (oldPid != currentPid)\n {\n createNewPersonHeartRate();\n }\n\n repoConn.begin();\n count += processFileHeartRate(file);\n repoConn.commit();\n\n System.out.println(String.format(\" %,d records\", Integer.valueOf(count)));\n }\n catch (final NumberFormatException e)\n {\n System.err.println(\"Cannot read the date from the file format\");\n }\n }\n }",
"private static File openFile(String file) {\r\n \tFile currFile;\r\n\r\n \tfor (String directory : dir) {\r\n \t\tcurrFile = new File(directory.concat(file));\r\n \t\tif (currFile.exists() && !currFile.isDirectory()) {\r\n \t\t\treturn currFile;\r\n \t\t}\r\n \t}\r\n \treturn null;\r\n }",
"private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }",
"private void readSavedFile() {\n\n String[] files = new String[0];\n \n // On récupère la liste des fichiers\n File file = new File(folderName);\n\n // check if the specified pathname is directory first\n if(file.isDirectory()){\n //list all files on directory\n files = file.list();\n }\n\n if (files != null) {\n for(String currentFile : files) {\n Vehicule voiture;\n try {\n FileInputStream fileIn = new FileInputStream(folderName + \"/\" + currentFile);\n ObjectInputStream in = new ObjectInputStream(fileIn);\n voiture = (Vehicule) in.readObject();\n addVoitureToList(voiture);\n in.close();\n fileIn.close();\n } catch (IOException i) {\n i.printStackTrace();\n return;\n } catch (ClassNotFoundException c) {\n System.out.println(\"#Erreur : Impossible de récupérer l'objet \" + currentFile);\n c.printStackTrace();\n return;\n }\n }\n }\n }",
"@Override\n public boolean isDir() { return true; }",
"private static void getResults() {\n\t\t//Variables\n\t\tFile directoryOfChunks = new File(\"output\");\n\t\tFile[] files = directoryOfChunks.listFiles();\n\t\tArrayList<String> filesInFolder = new ArrayList<>();\n\t\tArrayList<String> chunkResults = new ArrayList<>();\n\t\tBufferedReader br = null;\n\t\tReadFromFile rf = new ReadFromFile();\n\n\t\t//Get files from output folder\n\t\tif(directoryOfChunks.exists() && directoryOfChunks.isDirectory()){\n\t\t\tdirectoryName = \"output\";\n\t\t\t//Copy file names into arraylist\n\t\t\tfor (File f: files) {\n\t\t\t\t//Save file names into arraylist.\n\t\t\t\tfilesInFolder.add(f.getName());\n\t\t\t}\n\t\t}\n\t\t//if not a file or directory print error message\n\t\telse{\n\t\t\tSystem.out.println(\"No such file/directory: \" + directoryOfChunks);\n\t\t}\n\n\t\t//for loop to open and read each individual file\n\t\tfor (String file : filesInFolder) {\n\t\t\ttry {\n\n\t\t\t\tFileReader reader = new FileReader(directoryName + \"\\\\\" + file);\n\t\t\t\tbr = new BufferedReader(reader);\n\t\t\t} catch (FileNotFoundException e1) {\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t\tchunkResults.addAll(rf.readFromChunk(br));\n\t\t}\n\n\t\t//Call sanitizeAndSplit\n\t\tsanitizeAndSplit(chunkResults);\n\t}",
"@Override\n public Iterable<File> list(File storageDirectory) {\n\treturn null;\n }",
"@Override\n public Iterable<File> list(File storageDirectory, FilenameFilter filter) {\n\treturn null;\n }",
"public String [] listContents(File directory) throws IOException{\n\t\tFile [] dirContents = directory.listFiles();\n\t\tString [] arrOfFileNames = new String[dirContents.length];\n\t\tint i = 0;\n\t\tfor(File file: dirContents) {\n\t\t\tarrOfFileNames[i++] = file.getName();\n }\n return arrOfFileNames;\n }",
"public static void processDirectorySelecction()\n {\n int answer = JSoundsMainWindowViewController.jFileChooser1.showOpenDialog(JSoundsMainWindowViewController.jSoundsMainWindow);\n \n if (answer == JFileChooser.APPROVE_OPTION)\n {\n File actualDirectory = JSoundsMainWindowViewController.jFileChooser1.getCurrentDirectory();\n String directory = actualDirectory.getAbsolutePath() + \"/\" + JSoundsMainWindowViewController.jFileChooser1.getSelectedFile().getName();\n UtilFunctions.listFilesAndFilesSubDirectories(directory);\n JSoundsMainWindowViewController.orderBy(true, false, false);\n \n \n }\n }",
"public void fileRead() {\n\t\tString a, b;\n\t\t\n\t\twhile (input.hasNext()) {\n\t\t\ta = input.next();\n\t\t\tb = input.next();\n\t\t\tSystem.out.printf(\"%s %s\\n\", a, b);\n\t\t}\n\t}",
"public void getFiles()\n\t{\n\t\tif(fileList.size() == 0)\n\t\t{\n\t\t\tSystem.out.println(\"There is no file or file not found\");\n\t\t}\n\t\tfor(int i = 0; i < fileList.size(); i++)\n\t\t{\n\t\t\tSystem.out.println(\"File is at: \" + fileList.get(i));\n\t\t}\n\t}",
"public void should_read_files_in_directory() throws IOException {\n File tempDir = Files.createTempDir();\n tempDir.deleteOnExit();\n // json file\n File file1 = File.createTempFile(\"file1\", \".json\", tempDir);\n String content1 = \"content1\";\n Files.write(content1.getBytes(), file1);\n // n1ql file\n File file2 = File.createTempFile(\"file2\", \".N1QL\", tempDir);\n String content2 = \"content2\";\n Files.write(content2.getBytes(), file2);\n // txt file\n Files.write(getRandomString().getBytes(), File.createTempFile(getRandomString(), \".txt\", tempDir));\n\n // When we read files in this directory with extension filter\n Map<String, String> result = FileUtils.readFilesInDirectory(tempDir.toPath(), \"json\", \"n1ql\");\n\n // Then we should have file content matching this extension\n Assert.assertEquals(2, result.size());\n Assert.assertEquals(content1, result.get(file1.getName()));\n Assert.assertEquals(content2, result.get(file2.getName()));\n}",
"public String[] read()\n {\n ArrayList<String> input = new ArrayList<String>();\n try\n {\n dir = new File(contextRef.getFilesDir(), filename);\n if (dir.exists())\n {\n Scanner contacts = new Scanner(dir);\n while (contacts.hasNextLine())\n {\n input.add(contacts.nextLine());\n }\n contacts.close();\n }\n }catch (Exception ex)\n {\n //debug(\"read file contents failure\");\n debug = \"test read failure\";\n }\n return input.toArray(new String[1]);\n }",
"public abstract List<LocalFile> getAllFiles();",
"private void readFileList() throws IOException {\n\t\tint entries = metadataFile.readInt();\n\n\t\tfor (int i = 0; i < entries; i++) {\n\t\t\tint hash = metadataFile.readInt();\n\t\t\tlong dataOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tlong dataSize = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathListIndex = metadataFile.readInt();\n\n\t\t\tlong position = metadataFile.getPosition();\n\t\t\tmetadataFile.setPosition(pathListOffset + 8 + (pathListIndex * 8));\n\n\t\t\tlong pathOffset = metadataFile.readInt() & 0xFFFFFFFFL;\n\t\t\tint pathSize = metadataFile.readInt();\n\n\t\t\tmetadataFile.setPosition(pathListOffset + pathOffset);\n\t\t\tString path = metadataFile.readString(pathSize).trim();\n\n\t\t\tif (hash == hash(path)) \n\t\t\t\tfileEntries.add(new RAFFileEntry(dataOffset, dataSize, path));\n\t\t\telse\n\t\t\t\tthrow new IOException(\"Invalid hash for item '\" + path + \"'.\");\n\n\t\t\tmetadataFile.setPosition(position);\n\t\t}\n\t}",
"public static void getListOfAllFileVarianta2() {\n\t\tPath pathToSrc = Paths.get(\"D:\\\\TorrentsMd\");\r\n\t\ttry {\r\n\t\t\t//cu method references\r\n//\t\t\tFiles.walk(pathToSrc)\r\n//\t\t\t\t.map(Path::toFile)\r\n//\t\t\t\t.filter(File::isFile)\r\n//\t\t\t\t.map(File::getName)\r\n//\t\t\t\t.sorted()\r\n//\t\t\t\t.forEach(System.out::println);\r\n\t\t\t\r\n\t\t\t//cu lambda, dar dpdv semantic sunt identice\r\n\t\t\tFiles.walk(pathToSrc)\r\n\t\t\t\t .map(path -> path.toFile()) //trasnform fiecare Path din stream intr-un File\r\n\t\t\t\t .filter(file -> file.isFile()) //filtrez doar fisierele\r\n\t\t\t\t .map(file -> file.getName())//transform fiecare File din stream intr-un String, care e numele sau\r\n\t\t\t\t .sorted()\r\n\t\t\t\t .forEach(file -> System.out.println(file));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public InputStream getInputStream( DirectoryEntry directoryEntry) {\n\n\t// If the file has a 0 size, just return null for now.\n\tif( directoryEntry.getFileSizeAsBytes() == 0) {\n\t return null;\n\t}\n\n\t// A pointer to the current sector.\n\tD64Sector sectorBuffer;\n\n\t// Create a byte buffer for the file content.\n\tbyte [] fileContent = new byte[ directoryEntry.getFileSizeAsBytes()];\n\n\t// Get the first sector of the file and add it to the result.\n\tSystem.arraycopy( ( sectorBuffer = (D64Sector)getSector( ((D64DirectoryEntry)directoryEntry).getStartTrack()\n\t\t\t\t\t\t , ((D64DirectoryEntry)directoryEntry).getStartSector())).getDataBytes()\n\t\t\t , 2\n\t\t\t , fileContent\n\t\t\t , 0\n\t\t\t , getUnitSize());\n\n\t// Loop over the sectors of the file and add them to the buffer.\n\tint currentFileContentIndex = getUnitSize();\n\tfor( int currentSectorIndex = 1; currentSectorIndex < directoryEntry.getFileSizeAsUnits(); ++currentSectorIndex) {\n\t \n\t // Get the next track and sector from the current sector.\n\t int nextTrack = sectorBuffer.getNextTrack();\n\t int nextSector = sectorBuffer.getNextSector();\n\n\t // Add the next sector to the result.\n\t System.arraycopy( ( sectorBuffer = (D64Sector)getSector( nextTrack, nextSector)).getDataBytes()\n\t\t\t , 2\n\t\t\t , fileContent\n\t\t\t , currentFileContentIndex\n\t\t\t , getUnitSize());\n\n\t // Point to the next block in the result buffer.\n\t currentFileContentIndex += getUnitSize();\n\t}\n\n\t// Now create an input stream from the file content.\n\treturn new ByteArrayInputStream( fileContent);\n }",
"public void runForEachSample(String dirName, String fnamePattern){\n System.out.println(\"Getting all files with reads per transcripts counts. Files names finish with \" + fnamePattern);\n File dir = new File(dirName);\n for (File ch : dir.listFiles()) {\n if (ch.isDirectory())\n for (File child : ch.listFiles()){\n if (child.getName().matches(fnamePattern)){\n try {\n getSNPStatisticsPerSample(child.getPath());\n } catch (IOException ex) {\n Logger.getLogger(GetAllStatisticsRNAseq.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n }\n }\n }",
"public List<Task> readFile() throws FileNotFoundException, DukeException {\n List<Task> output = new ArrayList<>();\n Scanner sc = new Scanner(file);\n while (sc.hasNext()) {\n output.add(readTask(sc.nextLine()));\n }\n return output;\n }",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n System.out.println(\"please input the file path....\");\n String filePath = sc.next();\n\n // Second: list the file path, and iterator it's sub direction\n File file = new File(filePath);\n for(File f : file.listFiles()){\n // F:\\MyStudyFile\\IT-Books\\书籍仓库\\Java书籍类\n System.out.println(f.getPath());\n iteratorFilePath(f);\n }\n }",
"public static void getAllFiles()\n\t{\n\t\t//Getting the File Name\n\n\t\tList<String> fileNames = FileManager.getAllFiles(folderpath);\n\t\n\t\tfor(String f:fileNames)\n\t\tSystem.out.println(f);\n\t\n\t}",
"static public Vector<File> searchDateFiles(File dir, Date beginDate, Date endDate, String prefix) {\n\n\t\tVector<File> toReturn=new Vector<File>();\n\n\t\t// if directory ha files \n\t\tif(dir.isDirectory() && dir.list()!=null && dir.list().length!=0){\n\n//\t\t\tserach only files starting with prefix\n\n\t\t\t// get sorted array\n\t\t\tFile[] files=getSortedArray(dir, prefix);\n\n\t\t\tif (files == null){\n\t\t\t\tthrow new SpagoBIServiceException(SERVICE_NAME, \"Missing files in specified interval\");\n\t\t\t}\n\n\t\t\t// cycle on all files\n\t\t\tboolean exceeded = false;\n\t\t\tfor (int i = 0; i < files.length && !exceeded; i++) {\n\t\t\t\tFile childFile = files[i];\n\n\t\t\t\t// extract date from file Name\n\t\t\t\tDate fileDate=null;\n\t\t\t\ttry {\n\t\t\t\t\tfileDate = extractDate(childFile.getName(), prefix);\n\t\t\t\t} catch (ParseException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\tlogger.error(\"error in parsing log file date, file will be ignored!\",e);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// compare beginDate and timeDate, if previous switch file, if later see end date\n\t\t\t\t// compare then end date, if previous then endDate add file, else exit\n\n\t\t\t\t// if fileDate later than begin Date\n\t\t\t\tif(fileDate !=null && fileDate.after(beginDate)){\n\t\t\t\t\t// if end date later than file date\n\t\t\t\t\tif(endDate.after(fileDate)){\n\t\t\t\t\t\t// it is in the interval, add to list!\n\t\t\t\t\t\ttoReturn.add(childFile);\n\t\t\t\t\t}\n\t\t\t\t\telse { // if file date is later then end date, we are exceeding interval\n\t\t\t\t\t\texceeded = true;\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn toReturn;\n\t}",
"private static void getFile(String path){\n File file = new File(path); \r\n // get the folder list \r\n File[] array = file.listFiles();\r\n // flag = array.length;\r\n \r\n for(int i=0;i<array.length;i++){ \r\n if(array[i].isFile()){ \r\n // only take file name \r\n //System.out.println(\"^^^^^\" + array[i].getName()); \r\n // take file path and name \r\n //System.out.println(\"#####\" + array[i]); \r\n // take file path and name \r\n System.out.println(\"*****\" + array[i].getPath()); \r\n\t\t\tcalculate_Ave(array[i].getPath());\r\n } \r\n }\r\n}",
"public static void processDirectory(File directory) {\n FlatFileProcessor processor = new FlatFileProcessor(directory);\n processor.processDirectory();\n }",
"@Override\n public InputStream getInputStream() throws IOException\n {\n/**/\n/**/\n/**/\n if (Files.isDirectory(path))\n throw new IOException(path + \" is a directory\");\n\n return Files.newInputStream(path,StandardOpenOption.READ);\n }",
"public void parseFile(File dir) {\r\n\t\tFile[] files = dir.listFiles();\r\n\t\tfor(int i = 0; i < files.length; i++) {\r\n\t\t\tif(files[i].isDirectory()) {\r\n\t\t\t\tparseFile(files[i]);\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tif(!files[i].exists()) {\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\tString fileName = files[i].getName();\r\n\t\t\t\tif(fileName.toLowerCase().endsWith(\".json\")) {\r\n\t\t\t\t\twq.execute(new Worker(library, files[i]));\r\n\t\t\t\t}\t\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"private void readFiles(File fileDir) {\n \t\n\t\tif(!fileDir.exists() || !fileDir.isDirectory()) {\n\t\t\treturn;\n\t\t}\n\t\tBufferedReader reader = null;\n\t\tString command = \"cat \";\n\t\tFile[] files = fileDir.listFiles();\n\t\tfor(File file : files) {\n\t\t\tcommand += file.getAbsolutePath();\n\t\t\tcommand += \" \";\n\t\t}\n\t\tcommand += \" | sort\";\n\t\tString[] cmd = {\n\t\t\t\t\"sh\",\n\t\t\t\t\"-c\",\n\t\t\t\tcommand\n\t\t\t\t};\n\t\tProcess p;\n\t\ttry {\n\t\t\tp = Runtime.getRuntime().exec(cmd);\n\t\t\treader = new BufferedReader(new InputStreamReader(p.getInputStream()));\n\t\t\tString line = null;\n\t\t\tString lastKey = null;\n\t\t\tList<String> values = new ArrayList<String>();\n\t\t\twhile((line = reader.readLine()) != null) {\n\t\t\t\tString[] parts = line.split(\"\\\\t\");\n\t\t\t\tif (parts.length < 2) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tString thisKey = parts[0].trim();\n\t\t\t\tString value = parts[1].trim();\n\t\t\t\thandler.onKVPairRead();\n\t\t\t\tif (lastKey != null && !thisKey.equals(lastKey)) {\n\t\t\t\t\tlines.add(new KVPair(lastKey, new ArrayList<String>(values)));\n\t\t\t\t\tvalues.clear();\n\t\t\t\t}\n\t\t\t\tlastKey = thisKey;\n\t\t\t\tvalues.add(value);\n\t\t\t}\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\treduceComplete = true;\n }",
"public String[] listFiles() throws FileSystemUtilException \r\n\t{\r\n\t\tString remoteDir = null;\r\n\t\tString remoteFileName = null;\r\n\t\tString command = null;\r\n\t\tint signal = -1;\r\n\t\tlogger.debug(\"Begin: \"+getClass().getName()+\":listFiles()\");\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconnect(); \r\n\t\t\t\r\n\t\t\tint lastSeperatorIndex = -1;\r\n\t\r\n\t\t\tif(remoteFilePath.lastIndexOf(\"/\") != -1){\r\n\t\t\t\tlastSeperatorIndex = remoteFilePath.lastIndexOf(\"/\");\r\n\t\t\t}else if(remoteFilePath.lastIndexOf(\"\\\\\") != -1){\r\n\t\t\t\tlastSeperatorIndex = remoteFilePath.lastIndexOf(\"\\\\\");\r\n\t\t\t}\r\n\t\t\tif(lastSeperatorIndex == remoteFilePath.length()-1)\r\n\t\t\t{\r\n\t\t\t\tremoteDir = remoteFilePath;\r\n\t\t\t\tremoteFileName = \"\";\r\n\t\t\t\tlogger.debug(\"file path ends with / - directory is \"+remoteDir+\" , filename is \"+remoteFileName);\r\n\t\t\t\tcommand = \"cd \"+remoteDir;\t\t\t\r\n\t\t\t\tsignal = executeSimpleCommand(command);\r\n\t\r\n\t\t\t\tif(signal != 0)\r\n\t\t\t\t{\r\n\t\t\t\t\t//invlid directory/file\r\n\t\t\t\t\tthrow new FileSystemUtilException(\"ET0017\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tremoteDir = remoteFilePath.substring(0,lastSeperatorIndex+1);\r\n\t\t\t\tremoteFileName = remoteFilePath.substring(lastSeperatorIndex+1,remoteFilePath.length());\r\n\t\t\t\tlogger.debug(\"file path not ends with / - directory is \"+remoteDir+\" , filename is \"+remoteFileName);\r\n\t\t\t\tcommand = \"cd \"+remoteDir;\r\n\t\t\t\tsignal = executeSimpleCommand(command);\r\n\t\t\t\tif(signal != 0)\r\n\t\t\t\t{\r\n\t\t\t\t\t//invlid directory/file\r\n\t\t\t\t\tthrow new FileSystemUtilException(\"ET0017\");\r\n\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\tif(!remoteFileName.startsWith(\"*.\") && !remoteFileName.endsWith(\".*\"))\r\n\t\t\t\t{\r\n\t\t\t\t\tlogger.debug(\"file/directory name \"+remoteFileName+\" not started with *. or ends wirh .*\");\r\n\t\t\t\t\tcommand = \"cd \"+remoteDir+remoteFileName;\r\n\t\t\t\t\tsignal = executeSimpleCommand(command);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\tif(signal != 0)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tboolean isFile = false;\r\n\t\t\t\t\t\tcommand = \"ls \"+remoteDir;\r\n\t\t\t\t\t\texecuteSimpleCommand(command);\r\n\t\t\t\t\t\tString[] tempFileNames = getFileNamesArray(output);\r\n\t\t\t\t\t\tfor(int j = 0; j < tempFileNames.length; j++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tif(remoteFileName.equals(tempFileNames[j]))\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tisFile = true;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(!isFile)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t//invlid directory/file\r\n\t\t\t\t\t\t\tthrow new FileSystemUtilException(\"ET0017\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tlogger.debug(remoteFileName+\" is a file\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tlogger.debug(remoteFileName+\" is a directory\");\r\n\t\t\t\t\t\tremoteDir = remoteDir+remoteFileName;\r\n\t\t\t\t\t\tremoteFileName = \"\";\r\n\t\t\t\t\t}\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tlogger.debug(\"Before getting list of files : current dir \"+remoteDir+\" getting files list for \"+remoteFileName);\r\n\t\t\tcommand = \"cd \"+remoteDir+\";ls -F \"+remoteFileName;\r\n\t\t\tsignal = executeSimpleCommand(command);\r\n\t\t\tdisconnect();\r\n\t\t\tif(signal != 0)\r\n\t\t\t{\t\t\t \r\n\t\t\t\tthrow new FileSystemUtilException(\"ET0017\");\r\n\t\t\t}\r\n\t\t\tString[] filesList = getFileNamesArray(output);\t\t\r\n\t\t\tlogger.debug(\"End: \"+getClass().getName()+\":listFiles()\");\r\n\t\t\treturn filesList;\r\n\t\t}\r\n\t\t\r\n\t\tcatch(FileSystemUtilException e)\r\n\t\t{\r\n\t\t disconnect();\r\n\t\t if(e.getMessage() != null && e.getMessage().equals(\"FL0071\")){\r\n\t\t \tthrow new FileSystemUtilException(\"FL0071\");\r\n\t\t }\r\n\t\t\tthrow new FileSystemUtilException(e.getErrorCode(),e.getException());\r\n\t\t}\r\n\t\t\r\n\t}",
"private void readMetaData() throws AreaFileException {\r\n \r\n int i;\r\n// hasReadData = false;\r\n\r\n// if (! fileok) {\r\n// throw new AreaFileException(\"Error reading AreaFile directory\");\r\n// }\r\n\r\n dir = new int[AD_DIRSIZE];\r\n\r\n for (i=0; i < AD_DIRSIZE; i++) {\r\n try { dir[i] = af.readInt();\r\n } catch (IOException e) {\r\n status = -1;\r\n throw new AreaFileException(\"Error reading AreaFile directory:\" + e);\r\n }\r\n }\r\n position += AD_DIRSIZE * 4;\r\n\r\n // see if the directory needs to be byte-flipped\r\n\r\n if (dir[AD_VERSION] != VERSION_NUMBER) {\r\n McIDASUtil.flip(dir,0,19);\r\n // check again\r\n if (dir[AD_VERSION] != VERSION_NUMBER)\r\n throw new AreaFileException(\r\n \"Invalid version number - probably not an AREA file\");\r\n // word 20 may contain characters -- if small integer, flip it...\r\n if ( (dir[20] & 0xffff) == 0) McIDASUtil.flip(dir,20,20);\r\n McIDASUtil.flip(dir,21,23);\r\n // words 24-31 contain memo field\r\n McIDASUtil.flip(dir,32,50);\r\n // words 51-2 contain cal info\r\n McIDASUtil.flip(dir,53,55);\r\n // word 56 contains original source type (ascii)\r\n McIDASUtil.flip(dir,57,63);\r\n flipwords = true;\r\n }\r\n\r\n areaDirectory = new AreaDirectory(dir);\r\n\r\n // pull together some values needed by other methods\r\n navLoc = dir[AD_NAVOFFSET];\r\n calLoc = dir[AD_CALOFFSET];\r\n auxLoc = dir[AD_AUXOFFSET];\r\n datLoc = dir[AD_DATAOFFSET];\r\n numBands = dir[AD_NUMBANDS];\r\n linePrefixLength = \r\n dir[AD_DOCLENGTH] + dir[AD_CALLENGTH] + dir[AD_LEVLENGTH];\r\n if (dir[AD_VALCODE] != 0) linePrefixLength = linePrefixLength + 4;\r\n if (linePrefixLength != dir[AD_PFXSIZE]) \r\n throw new AreaFileException(\"Invalid line prefix length in AREA file.\");\r\n lineDataLength = numBands * dir[AD_NUMELEMS] * dir[AD_DATAWIDTH];\r\n lineLength = linePrefixLength + lineDataLength;\r\n numberLines = dir[AD_NUMLINES];\r\n\r\n if (datLoc > 0 && datLoc != McIDASUtil.MCMISSING) {\r\n navbytes = datLoc - navLoc;\r\n calbytes = datLoc - calLoc;\r\n auxbytes = datLoc - auxLoc;\r\n }\r\n if (auxLoc > 0 && auxLoc != McIDASUtil.MCMISSING) {\r\n navbytes = auxLoc - navLoc;\r\n calbytes = auxLoc - calLoc;\r\n }\r\n\r\n if (calLoc > 0 && calLoc != McIDASUtil.MCMISSING ) {\r\n navbytes = calLoc - navLoc;\r\n }\r\n\r\n\r\n // Read in nav block\r\n if (navLoc > 0 && navbytes > 0) {\r\n nav = new int[navbytes/4];\r\n newPosition = (long) navLoc;\r\n skipByteCount = (int) (newPosition - position);\r\n try {\r\n af.skipBytes(skipByteCount);\r\n } catch (IOException e) {\r\n status = -1;\r\n throw new AreaFileException(\"Error skipping AreaFile bytes: \" + e);\r\n }\r\n for (i=0; i<navbytes/4; i++) {\r\n try {\r\n nav[i] = af.readInt();\r\n } catch (IOException e) {\r\n status = -1;\r\n throw new AreaFileException(\"Error reading AreaFile navigation:\"+e);\r\n }\r\n }\r\n if (flipwords){\r\n flipnav(nav);\r\n }\r\n position = navLoc + navbytes;\r\n }\r\n\r\n // Read in cal block\r\n if (calLoc > 0 && calbytes > 0) {\r\n cal = new int[calbytes/4];\r\n newPosition = (long)calLoc;\r\n skipByteCount = (int) (newPosition - position);\r\n try {\r\n af.skipBytes(skipByteCount);\r\n } catch (IOException e) {\r\n status = -1;\r\n throw new AreaFileException(\"Error skipping AreaFile bytes: \" + e);\r\n }\r\n for (i=0; i<calbytes/4; i++) {\r\n try { \r\n cal[i] = af.readInt();\r\n } catch (IOException e) {\r\n status = -1;\r\n throw new AreaFileException(\"Error reading AreaFile calibration:\"+e);\r\n }\r\n }\r\n // if (flipwords) flipcal(cal);\r\n position = calLoc + calbytes;\r\n }\r\n\r\n // Read in aux block\r\n if (auxLoc > 0 && auxbytes > 0){\r\n aux = new int[auxbytes/4];\r\n newPosition = (long) auxLoc;\r\n skipByteCount = (int) (newPosition - position);\r\n try{\r\n af.skipBytes(skipByteCount);\r\n }catch (IOException e){\r\n status = -1;\r\n throw new AreaFileException(\"Error skipping AreaFile bytes: \" + e);\r\n }\r\n for (i = 0; i < auxbytes/4; i++){\r\n try{\r\n aux[i] = af.readInt();\r\n }catch (IOException e){\r\n status = -1;\r\n throw new AreaFileException(\"Error reading AreaFile aux block:\" + e);\r\n }\r\n }\r\n position = auxLoc + auxbytes;\r\n }\r\n\r\n // now return the Dir, as requested...\r\n status = 1;\r\n return;\r\n }",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\r\n \r\n System.out.println(\"Enter dirpath:\");\r\n String dirpath=br.readLine();\r\n System.out.println(\"Enter the dirname\");\r\n String dname=br.readLine();\r\n \r\n //create File object with dirpath and dname\r\n File f = new File(dirpath, dname);\r\n \r\n // File folder = new File(\"your/path\");\r\n File[] listOfFiles = f.listFiles();\r\n\r\n for (int i = 0; i < listOfFiles.length; i++) {\r\n if (listOfFiles[i].isFile()) {\r\n System.out.println(\"File \" + listOfFiles[i].getName());\r\n } else if (listOfFiles[i].isDirectory()) {\r\n System.out.println(\"Directory \" + listOfFiles[i].getName());\r\n }\r\n }\r\n }",
"public String printFromDirectory(IDirectory currentDir) {\r\n // Create a result variable to store the names of the contents of the\r\n // directory\r\n String result = \"\";\r\n\r\n // Get all the sub directories in currentDir\r\n ArrayList<IDirectory> subDirectories = new ArrayList<>();\r\n subDirectories = currentDir.getSubDirectories();\r\n // Get all the files in the directory\r\n ArrayList<IFile> files = new ArrayList<>();\r\n files = currentDir.getFiles();\r\n\r\n // Add names of the sub directories to the result\r\n for (IDirectory subDir : subDirectories) {\r\n result += subDir.getName() + \"\\n\";\r\n }\r\n // Add names of the files in the directory to the result\r\n for (IFile file : files) {\r\n result += file.getName() + \"\\n\";\r\n }\r\n\r\n // Return the names of all the contents\r\n return result;\r\n }",
"void loadNextSplitCurrentDir() throws IOException {\n\t\tCollection<File> files = fsIterator.getFiles();\n\t\n\t\tif (files == null || files.size() == 0)\n\t\t\treturn;\n\t\t\n\t\tIterator<File> it = files.iterator();\n\t\twhile (it.hasNext()) {\n\t\t\tFile file = it.next();\n\t\t\tRandomAccessFile raf = openedRAFs.get(file.getAbsolutePath());\n\t\t\tif (raf == null) {\n\t\t\t\ttry {\n\t\t\t\t\traf = new RandomAccessFile(file, \"r\");\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t//e.printStackTrace();\n\t\t\t\t\t// TODO: show warning that the file cannot be read\n\t\t\t\t\tit.remove();\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tRandomAccessFile old = \n\t\t\t\t\t\topenedRAFs.put(file.getAbsolutePath(), raf);\n\t\t\t\tif (old != null)\n\t\t\t\t\told.close();\n\t\t\t}\n\t\t\t\n\t\t\tlong begin = splitter.splitBegin(raf);\n\t\t\tif (begin == -1) {\n\t\t\t\traf.close();\n\t\t\t\tit.remove();\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\traf.seek(begin);\n\t\t\t\n\t\t\tlong end = splitter.splitEnd(raf, blocksize);\n\t\t\t\n\t\t\tif (begin == end) {\n\t\t\t\traf.close();\n\t\t\t\tit.remove();\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\traf.seek(end);\n\t\t\t\n\t\t\tcurrentRAF = new RandomAccessFile(file, \"r\");\n\t\t\tcurrentRAF.seek(begin);\n\t\t\tcurrentLength = end - begin;\n\t\t\t\n\t\t\tlogger.debug(String.format(\"Generated Split. %s %d %d\",\n\t\t\t\t\tfile.getAbsolutePath(), begin, end));\n\t\t\t\n\t\t\treturn;\n\t\t}\n\t}",
"@Override\n public String getFileList() {\n StringBuilder string = null;\n //if (parentFile.isDirectory()) {\n File parentFile = currentDir;\n string = new StringBuilder();\n for (File childFile : parentFile.listFiles()) {\n try {\n //TODO: Verify that Paths.get() is retrieving a valid path relative to the project's location.\n Path file = Paths.get(childFile.getPath());\n\n BasicFileAttributes attr = Files.readAttributes(file, BasicFileAttributes.class);\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"M\");\n String month = dateFormat.format(attr.creationTime().toMillis());\n dateFormat.applyPattern(\"d\");\n String dayOfMonth = dateFormat.format(attr.creationTime().toMillis());\n dateFormat.applyPattern(\"y\");\n String year = dateFormat.format(attr.creationTime().toMillis());\n\n char fileType = childFile.isDirectory() ? 'd' : '-'; //'-' represents a file.\n string.append(String.format(\"%srw-r--r--\", fileType)); //Linux style permissions\n string.append(\"\\t\");\n string.append(\"1\"); //?\n string.append(\" \");\n string.append(\"0\"); //?\n string.append(\"\\t\");\n string.append(\"0\"); //?\n string.append(\"\\t\");\n string.append(childFile.length()); //Length\n string.append(\" \");\n string.append(month); //Month\n string.append(\" \");\n string.append(dayOfMonth); //Day\n string.append(\" \");\n string.append(\" \");\n string.append(year); //Year\n string.append(\" \");\n string.append(childFile.getName());\n string.append(System.getProperty(\"line.separator\"));\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n //}\n\n String format = \"%S\\t%d %d\\t%d\\t%d %S %d %d %S\";\n //return \"-rw-r--r-- 1 0 0 1073741824000 Feb 19 2016 1000GB.zip\";\n if (!string.equals(null)) {\n return string.toString();\n } else {\n return \"Error when creating file list.\";\n }\n }",
"public static void viewDirectory(String inputDirectory) {\n File directory = new File(inputDirectory);\n //check if it is a directory \n if (directory.isDirectory()) {\n //check if the directory has children \n if (directory.listFiles().length == 0) {\n System.out.println(\"Sorry, directory is empty!\");\n } //separate files and print [Folder] or [File]\n else {\n String listFiles[] = directory.list();\n System.out.println(\"Following are files in the directory \" + inputDirectory + \" :\\n \");\n for (String listFile : listFiles) {\n File allFiles = new File(listFile);\n System.out.println(\"-> \" + allFiles);\n }\n }\n } else {\n System.out.println(\"Invalid directory or path\");\n }\n }",
"public File getDirectoryValue();",
"private void readSourceData() throws Exception {\n\t\tthis.fileDataList = new ArrayList<String>();\n\t\tReader reader = new Reader(this.procPath);\n\t\treader.running();\n\t\tthis.fileDataList = reader.getFileDataList();\n\t}",
"private void fileRead(String path)\n\t{\n\t\ttry\n\t\t{\n\t\t\t// create file\n\t\t\tFile file = new File(path);\n\t\t\tFileInputStream fileStream = new FileInputStream(file);\n\t\t\t\n\t\t\t// data read\n\t\t\tthis.dataContent = new byte[(int)file.length()];\n\t\t\tint ret = fileStream.read(this.dataContent, 0, (int)file.length());\n\t\t}\n\t\tcatch(FileNotFoundException e)\n\t\t{\n\t\t\tSystem.out.println(\"File Not Found : \" + e.getMessage());\n\t\t}\n\t\tcatch(IOException e)\n\t\t{\n\t\t\tSystem.out.println(\"Failed File Read : \" + e.getMessage());\n\t\t}\n\t\t\n\t}",
"List<File> getSystemDescriptionFiles();",
"private String[] nlstHelper(String args) {\n // Construct the name of the directory to list.\n String filename = currDirectory;\n if (args != null) {\n filename = filename + fileSeparator + args;\n }\n\n // Now get a File object, and see if the name we got exists and is a\n // directory.\n File f = new File(filename);\n\n if (f.exists() && f.isDirectory()) {\n return f.list();\n } else if (f.exists() && f.isFile()) {\n String[] allFiles = new String[1];\n allFiles[0] = f.getName();\n return allFiles;\n } else {\n return null;\n }\n }",
"void getSegmentFiles(DataSegment segment, File dir) throws SegmentLoadingException;",
"public ArrayList<String> traverseFiles(File inputDir, ArrayList<String> Documents2 )\n\t{\n\t\tif (inputDir.isDirectory()) {\n\t\t\t//System.out.println(\"Checking for directory...\");\n\t String[] children = inputDir.list();\n\t for (int i = 0; children != null && i < children.length; i++) {\n\t traverseFiles(new File(inputDir, children[i]), Documents2);\n\t }\n\t }\n\t if (inputDir.isFile()) \n\t \t{ Documents2.add(inputDir.getAbsolutePath());}//change it if needed\n\t \n\t return Documents2;\n\t // System.out.println(Documents.size());\n\t}",
"public void listFiles(String directoryName) throws IOException{\n File directory = new File(directoryName);\n //get all the files from a directory\n System.out.println(\"List of Files in: \" + directory.getCanonicalPath());\n File[] fList = directory.listFiles();\n for (File file : fList){\n if (file.isFile()){\n System.out.println(file.getName());\n }\n }\n }",
"@Override\n\t\tpublic InJarResourceImpl getDirectory(String name, InJarResourceImpl parentDirectory) {\n\t\t\tfor (InJarResourceImpl r : parentDirectory.getContents(false)) {\n\t\t\t\t// System.out.println(\" * \" + r.getName() + \" \" + r);\n\t\t\t\tif (name.equals(r.getName())) {\n\t\t\t\t\treturn r;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn null;\n\t\t}",
"private static void iteratorFilePath(File file){\n while(file.isDirectory()){\n for(File f : file.listFiles()){\n System.out.println(f.getPath());\n iteratorFilePath(f);\n }\n break;\n }\n }",
"public static void readDirectory(String dir){\n\t\tMap<Integer,Integer> catemap = new HashMap<Integer, Integer>();\r\n\t\tFile[] names = null;\r\n\t\tFile file = new File(dir);\r\n\t\tif(file.isFile())\r\n\t\t\tnames = new File[]{file};\r\n\t\telse\r\n\t\t\tnames = new File(dir).listFiles();\r\n\t\tList<String> lines = null;\r\n\t\tList<String> strs = null;\r\n\t\tList<Integer> keys = new ArrayList<Integer>();\r\n\t\tList<Integer> values = new ArrayList<Integer>();\r\n\t\tint v = 0;\r\n\t\tif(null!=names&&names.length>0){\r\n\t\t\tfor(File f:names){\r\n\t\t\t\tif(null!=lines)\r\n\t\t\t\t\tlines.clear();\r\n\t\t\t\tlines = readFile(f,\"utf-8\");\r\n\t\t\t\tif(null!=lines){\r\n\t\t\t\t\tint j = 0;\r\n\t\t\t\t\tint k=0;\r\n\t\t\t\t\tfor(String line:lines){\r\n\t\t\t\t\t\tstrs = parseStr2List(line, \"\\\\t\");\r\n//\t\t\t\t\t\tif(null!=strs&&strs.size()==7){\r\n//\t\t\t\t\t\t\tv = getPerValue(strs.get(3));\r\n//\t\t\t\t\t\t\tmaxmap.put(v, 1+DataFormat.parseInt(maxmap.get(v)));\r\n//\t\t\t\t\t\t\tv = getPerValue(strs.get(5));\r\n//\t\t\t\t\t\t\tcatemap.put(v, 1+DataFormat.parseInt(catemap.get(v)));\r\n//\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(null!=strs&&strs.size()==2){\r\n\t\t\t\t\t\t\tv = DataFormat.parseInt(strs.get(0));\r\n//\t\t\t\t\t\t\tif(v<=500){\r\n//\t\t\t\t\t\t\t\tv = j/5+1;\r\n//\t\t\t\t\t\t\t\tj = j+1;\r\n//\t\t\t\t\t\t\t}else{\r\n//\t\t\t\t\t\t\t\tv = 101;\r\n//\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tif(k>500) break;\r\n\t\t\t\t\t\t\tk++;\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tif(j<20){\r\n\t\t\t\t\t\t\t\tkeys.add(v);\r\n\t\t\t\t\t\t\t\tvalues.add(DataFormat.parseInt(strs.get(1)));\r\n\t\t\t\t\t\t\t\tj++;\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tj=0;\r\n\t\t\t\t\t\t\t\tSystem.out.println(Arrays.toString(keys.toArray(new Integer[]{})));\r\n\t\t\t\t\t\t\t\tSystem.out.println(Arrays.toString(values.toArray(new Integer[]{})));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n//\t\t\t\t\t\t\tcatemap.put(v, DataFormat.parseInt(strs.get(1))+DataFormat.parseInt(catemap.get(v)));\r\n\t\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}\r\n\t\t}\r\n\t\t\r\n//\t\tfor(Entry<Integer, Integer> entry:maxmap.entrySet()){\r\n//\t\t\tUtils.appendToFile(\"/vol/user_log/maxmap.txt\", entry.getKey()+\"\\t\"+entry.getValue());\r\n//\t\t}\r\n//\t\tfor(Entry<Integer, Integer> entry:catemap.entrySet()){\r\n//\t\t\tUtils.appendToFile(\"C:\\\\Program Files\\\\SecureCRT\\\\download\\\\map.txt\", entry.getKey()+\"\\t\"+entry.getValue());\r\n//\t\t}\r\n\t}",
"public List listFiles(String path);",
"public void parseDirectory(File directory) throws IOException {\n this.parsedFiles.clear();\n File[] contents = directory.listFiles();\n for (File file : contents) {\n if (file.isFile() && file.canRead() && file.canWrite()) {\n String fileName = file.getPath();\n if (fileName.endsWith(\".html\")) {\n Document parsed;\n parsed = Jsoup.parse(file, \"UTF-8\");\n if (this.isWhiteBearArticle(parsed)) {\n HTMLFile newParsedFile = new HTMLFile(parsed, false);\n String name = file.getName();\n this.parsedFiles.put(name, newParsedFile);\n } else if (this.isMenuPage(parsed)) {\n //HTMLFile newParsedFile = new HTMLFile(parsed, false);\n //String name = file.getName();\n //this.parsedFiles.put(name, newParsedFile);\n }\n }\n }\n }\n }",
"public File getSingleFileFromDirectory(int index) {\n ClassLoader classLoader = getClass().getClassLoader();\n File directoryFile = new File(classLoader.getResource(directoryString).getFile());\n\n\n File[] files = directoryFile.listFiles();\n\n return files[index];\n }",
"public void doFiles(){\r\n serversDir = new File(rootDirPath+\"/servers/\");\r\n serverList = new File(rootDirPath+\"serverList.txt\");\r\n if(!serversDir.exists()){ //if server Directory doesn't exist\r\n serversDir.mkdirs(); //create it\r\n }\r\n updateServerList();\r\n }",
"public static void [] consult(String directoryName)\n {\n\n }",
"private void FindFiles(Path findPath)\n {\n\n try (DirectoryStream<Path> stream = Files.newDirectoryStream(findPath))\n {\n\n for (Path thisPath : stream)\n {\n File file = new File(thisPath.toString());\n\n if (file.isDirectory())\n {\n dirCount++;\n\n if (HasMatch(thisPath.toString(), lineIncludePattern, lineExcludePattern))\n {\n dirLineMatchCount++;\n\n System.out.println(thisPath.toAbsolutePath().toString() + \",directory,none\");\n }\n\n if (HasMatch(thisPath.toString(), dirIncludePattern, dirExcludePattern))\n {\n dirMatchCount++;\n folderLevel++;\n //indentBuffer = String.join(\"\", Collections.nCopies(folderLevel * 3, \" \"));\n indentBuffer = \"\";\n\n //System.out.println(indentBuffer + thisPath.toString() + \" ...\");\n FindFiles(thisPath.toAbsolutePath());\n\n folderLevel--;\n //indentBuffer = String.join(\"\", Collections.nCopies(folderLevel * 3, \" \"));\n }\n }\n else\n {\n fileCount++;\n\n if (HasMatch(thisPath.getParent().toString(), lineIncludePattern, lineExcludePattern))\n {\n fileLineMatchCount++;\n\n System.out.println(thisPath.getParent().toString() + \",\" + thisPath.getFileName() + \",none\");\n }\n\n if (HasMatch(thisPath.toString(), fileIncludePattern, fileExcludePattern))\n {\n fileMatchCount++;\n\n File refFile;\n if (doReplace)\n {\n refFile = new File(thisPath.toString() + \"_bak\");\n file.renameTo(refFile);\n\n //System.out.println(indentBuffer + thisPath.toString());\n Scan(refFile.toPath().toAbsolutePath().toString(),thisPath.toAbsolutePath().toString());\n }\n else\n {\n //System.out.println(indentBuffer + thisPath.toString());\n Scan(file.toPath().toAbsolutePath().toString(),thisPath.toAbsolutePath().toString());\n }\n\n }\n }\n }\n }\n catch (Exception e)\n {\n System.err.format(\"Exception occurred trying to read '%s'.\", findPath);\n e.printStackTrace();\n }\n\n }",
"public static void main(String[] args) {\n File directoryPath = new File(\"C:\\\\Users\\\\jarek\\\\Downloads\");\n //List of all files and directories\n String[] contents = directoryPath.list();\n\n Pattern p= Pattern.compile(\"zip$\");\n Matcher m;\n Vector<String> lis = new Vector<>();\n for(int i = 0; i< Objects.requireNonNull(contents).length; i++){\n m=p.matcher(contents[i]);\n if(m.find()) lis.addElement(contents[i]);\n }\n System.out.println(\"List of files and directories in the specified directory:\");\n for (String content : contents) {\n System.out.println(content);\n }\n }",
"public static void main(String[] args) {\n\n File dir = new File(\"D:/test.txt\");\n FileFilter fr = (File f) -> f.isDirectory();\n File[] fs = dir.listFiles(fr);\n }",
"public void loadDir (File configDir) throws FilePermissionException {\n //check, if file is an directory\n if (!configDir.isDirectory()) {\n throw new IllegalStateException(\"configuration path '\" + configDir.getAbsolutePath() + \"' isnt an directory.\");\n }\n\n //check file permissions\n if (!configDir.canRead()) {\n throw new FilePermissionException(\"wrong file permissions, cannot read configuration directory: \" + configDir.getAbsolutePath());\n }\n\n //get all files from directory\n File[] files = configDir.listFiles();\n\n //iterate through all files\n for (File configFile : files) {\n //load configuration file\n instance.loadFile(configFile);\n }\n }",
"public String getDir();",
"private void fill( File fileDirectory )\n\t{\n\t\t// title\n\t\tsetTitle( fileDirectory.getAbsolutePath() );\n\n\t\t// file list\n\t\tFile[] aFile = fileDirectory.listFiles( getFileFilter() );\n\t\tList<FileInfo> listFileInfo = new ArrayList<FileInfo>();\n\t\tif( null != aFile )\n\t\t{\n\t\t\tfor( File fileTemp : aFile )\n\t\t\t{\n\t\t\t\tlistFileInfo.add( new FileInfo( fileTemp.getName(), fileTemp ) );\n\t\t\t}\n\t\t\tCollections.sort( listFileInfo );\n\t\t}\n\t\t// Add peth to back to parent folder\n\t\tif( null != fileDirectory.getParent() )\n\t\t{\n\t\t\tlistFileInfo.add( 0, new FileInfo( \"..\", new File( fileDirectory.getParent() ) ) );\n\t\t}\n\n\t\tm_fileinfoarrayadapter = new FileInfoArrayAdapter( this, listFileInfo );\n\t\tm_listview.setAdapter( m_fileinfoarrayadapter );\n\t}",
"Object getDir();"
]
| [
"0.6341431",
"0.60737014",
"0.6072154",
"0.592309",
"0.58828056",
"0.5814533",
"0.5807407",
"0.5806722",
"0.5804307",
"0.58017695",
"0.57906914",
"0.5788179",
"0.577763",
"0.57751393",
"0.57717395",
"0.5720293",
"0.57141995",
"0.5710712",
"0.56606305",
"0.5648825",
"0.5648303",
"0.5646077",
"0.56290895",
"0.5607597",
"0.5601101",
"0.5596763",
"0.5583858",
"0.5577009",
"0.5574346",
"0.55679864",
"0.555897",
"0.5557884",
"0.5551681",
"0.55488694",
"0.55277926",
"0.55218375",
"0.5518774",
"0.5504255",
"0.550081",
"0.547822",
"0.5460182",
"0.5450902",
"0.5447137",
"0.5418599",
"0.5402528",
"0.5399353",
"0.5397182",
"0.5394236",
"0.5391591",
"0.53888917",
"0.5374507",
"0.53726655",
"0.5369956",
"0.5368011",
"0.5367524",
"0.53666586",
"0.5363633",
"0.53606385",
"0.53494143",
"0.53409344",
"0.53400034",
"0.53355485",
"0.533285",
"0.5329853",
"0.53255785",
"0.5324486",
"0.53239095",
"0.53206086",
"0.53108895",
"0.5310175",
"0.5309613",
"0.5309376",
"0.5309207",
"0.5303305",
"0.5299164",
"0.5295376",
"0.5295324",
"0.52946067",
"0.5294219",
"0.52904254",
"0.52747446",
"0.52731293",
"0.52614003",
"0.5261147",
"0.52458614",
"0.52439684",
"0.5243337",
"0.5243222",
"0.52412146",
"0.5239411",
"0.5238694",
"0.5235502",
"0.5234442",
"0.5231723",
"0.5230962",
"0.52301973",
"0.5229472",
"0.5229127",
"0.5226788",
"0.52214926",
"0.52209926"
]
| 0.0 | -1 |
TODO Autogenerated method stub | @Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
GLSurfaceView cubeGL = new GLSurfaceView(this);
requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
render = new OpenGL3DRenderer(this);
cubeGL.setZOrderOnTop(true);
cubeGL.setEGLConfigChooser(8, 8, 8, 8, 16, 0);
cubeGL.getHolder().setFormat(PixelFormat.TRANSLUCENT);
cubeGL.setBackgroundDrawable(getResources().getDrawable(R.drawable.snowflower));
cubeGL.setRenderer(render);
setContentView(cubeGL);
getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE , R.layout.inc_app_title);
Toast.makeText(OpenGLActivity.this, "zhe", Toast.LENGTH_LONG).show();
LoadingAllVideos();
} | {
"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.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
"0.6076905",
"0.6041205",
"0.6024897",
"0.60200036",
"0.59985113",
"0.5967729",
"0.5967729",
"0.5965808",
"0.5949083",
"0.5941002",
"0.59236866",
"0.5909713",
"0.59030116",
"0.589475",
"0.58857024",
"0.58837134",
"0.586915",
"0.58575684",
"0.5850424",
"0.5847001",
"0.5824116",
"0.5810248",
"0.5809659",
"0.58069366",
"0.58069366",
"0.5800507",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.57900196",
"0.5790005",
"0.578691",
"0.578416",
"0.578416",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5761079",
"0.57592577",
"0.57592577",
"0.5749888",
"0.5749888",
"0.5749888",
"0.5748457",
"0.5733414",
"0.5733414",
"0.5733414",
"0.57209575",
"0.57154554",
"0.57149583",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.571194",
"0.57043016",
"0.56993437",
"0.5696782",
"0.5687825",
"0.5677794",
"0.5673577",
"0.5672046",
"0.5669512",
"0.5661156",
"0.56579345",
"0.5655569",
"0.5655569",
"0.5655569",
"0.56546396",
"0.56543446",
"0.5653163",
"0.56502634"
]
| 0.0 | -1 |
if beginning character is before ending character for example beginning A ending D >>ABCD if beginning character is after ending character for example beginning D, ending A>>DCBA | public static void printAlphabetInRange(char beginning, char ending ){
if(beginning<ending){
System.out.println("we need to increment from " + beginning+" till "+ending);
for (char i = beginning; i <=ending ; i++) {
System.out.print(i+" ");
}
System.out.println();
}else if (beginning>ending){
System.out.println("we need to decrement from " + beginning+" till "+ending);
for (char i = beginning; i >=ending ; i--) {
System.out.print(i+" ");
}
System.out.println();
}else{
System.out.println("They are same character");
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract boolean isStarterChar(char c);",
"public boolean mixStart(String str) {\n if (str.length() < 3) return false;\n return (str.substring(1,3).equals(\"ix\"));\n}",
"public String startOz(String str) {\n String result = \"\";\n \n if (str.length() >= 1 && str.charAt(0)=='o') {\n result = result + str.charAt(0);\n }\n \n if (str.length() >= 2 && str.charAt(1)=='z') {\n result = result + str.charAt(1);\n }\n \n return result;\n}",
"private boolean isFitPatternStr(char startC, String patternStr) {\n\n if (startC != patternStr.charAt(0)) {\n return false;\n }\n char inputChar = ' ';\n char patternchar = ' ';\n for (int i = 1; i < patternStr.length(); i++) {//the post\n patternchar = patternStr.charAt(i);\n inputChar = getNextChar();\n if (inputChar != patternchar) {\n throwParseError();\n }\n\n }\n return true;\n }",
"public boolean isLetterOrDigitAhead()\n {\n\n int pos = currentPosition;\n\n while (pos < maxPosition)\n {\n if (Character.isLetterOrDigit(str.charAt(pos)))\n return true;\n\n pos++;\n }\n\n return false;\n }",
"private boolean RANGE(char first, char last) {\r\n if (in >= input.length()) return false;\r\n int len = input.nextLength(in);\r\n int code = input.nextChar(in, len);\r\n if (code < first || code > last) return false;\r\n in += len;\r\n return true;\r\n }",
"int main()\n{\n string str1,str2;\n cin>>str1;\n while(str2!=\"####\"){\n \t\n cin>>str2;\n int len=str1.length();\n if(str1[len-1]==str2[0]){\n \tcout<<str1<<endl;\n }\n else{\n \tbreak;\n \t}\n str1=str2;\n }\n cout<<str1;\n}",
"public boolean gHappy(String str) {\n for(int x=0; x<str.length(); x++)\n {\n if(str.charAt(x)=='g')\n {\n if(str.length()<2)\n return false;\n else if(x==0 && str.charAt(x+1) != 'g')\n return false;\n else if(x>0 && str.charAt(x-1) != 'g' && x+1==str.length())\n return false;\n else if(x>0 && str.charAt(x-1) != 'g' && str.charAt(x+1) != 'g')\n return false;\n }\n }\n\n return true;\n}",
"int getStartCharIndex();",
"String getBeginSplited();",
"int getEndCharIndex();",
"public boolean startHi(String str) {\n if (str.length() < 2) return false;\n \n String front;\n if (str.length() == 2) {\n front = str;\n } else {\n front = str.substring(0, 2);\n }\n \n return (front.equals(\"hi\"));\n \n}",
"private int huntLeft(String in, int offset) {\n char temp = 0;\n for(int i = offset - 1; i >= 0; i--) {\n temp = in.charAt(i);\n if(temp == '\\n' || temp == '\\r')\n return i;\n }\n return 0; //eof counts\n }",
"char startChar();",
"public boolean frontAgain(String str) {\r\n if (str.length() > 1 && str.substring(0, 2).equals(str.substring(str.length() - 2))) {\r\n return true;\r\n }\r\n return false;\r\n }",
"public static void main(String[] args)\n {\n Pattern pattern = Pattern.compile(\"aba\");\n Matcher m = pattern.matcher(\"abababa\");\n //boolean find()//return true if found the pattern and go to the next sub sequence\n while(m.find()){\n System.out.print(m.start());//0 and 4 but not 2!\n System.out.print(m.end());//3 and 7 (return the position of the last char matched + 1)\n System.out.print(m.group());// = s.substring(m.start(), m.end());\n System.out.print(\"\\n\");\n }\n //what's append?\n //first occurence starts at 0, ends at 2 and aba\n //search for the second occurence from 3\n //second occurence starts at 4, ends at 6 and aba\n //search for the thrid occurence from 7\n \n System.out.print(\"========\\n\");\n \n //0-length matches\n Pattern pattern2 = Pattern.compile(\"a?\");\n Matcher m2 = pattern2.matcher(\"aba\");\n while(m2.find()){\n System.out.print(m2.start());//the char a is or not is at position 0,1,2 and 3\n System.out.print(m2.end());//1,1,3,3 ==> ?? @see page 500\n System.out.print(\"\\n\");\n }\n \n /** Expressions **/\n // \\d digit\n // \\s whitespace\n // \\w letters, digits or _\n // [abc] searching for a, b or c\n // [a-f] searching for a letter to f lettre included\n // [A-F] searching for A letter to F lettre included\n // [a-fA-F] search for a letter to f or A letter to F lettre included\n // 0 [x-X] search for 0 followed by x or X\n /** quantifiers **/\n //? Zero or one\n //* Zero or more\n //+ One or more\n// 0[x-X]+ => 0 followed by one x or one X\n// (0[x-X])+ => 0 followed by x or X one time\n \n //. = any char (whitespace is a char)\n //Escaping special char !!! . = any char, \\. = compilator error, \\\\. = .\n }",
"boolean isBeginInclusive();",
"private static boolean checkFirstLastTag(String line) {\n return line.charAt(1) != line.charAt(line.length() - 2);\n }",
"public String tweakFront(String str) {\n\n if(str.substring(0, 1).equalsIgnoreCase(\"a\")){\n\n if(!str.substring(1, 2).equalsIgnoreCase(\"b\")){\n str = str.substring(0, 1) + str.substring(2,str.length());\n }\n \n }else{\n str = str.substring(1);\n \n if(str.substring(0, 1).equalsIgnoreCase(\"b\")){\n \n }else{\n str = str.substring(1);\n }\n }\n \n \n \n return str;\n \n}",
"public static void main(String[] args) {\n\n\t\tString s=\"xxxxxabcxxxx\";\n\t\tint m=s.length()/2;\n\t\t\n\t\tif(s.substring(m-1, m+2).equals(\"abc\")) {\n\t\t\t\n\t\tSystem.out.println(\"middle\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"no inmid\");\n\t\t\n\n}\n}",
"private static boolean stringStartsWith(String string, String prefix){\n for(int i=0; i < prefix.length(); i++){\n if(string.charAt(i) != prefix.charAt(i)){\n return false;\n }\n }\n return true;\n }",
"boolean isEndInclusive();",
"public String helper(String s, int begin, int end) {\n\twhile (begin >= 0 && end <= s.length() - 1 && s.charAt(begin) == s.charAt(end)) {\n\t\tbegin--;\n\t\tend++;\n\t}\n\treturn s.substring(begin + 1, end);\n}",
"private boolean alphabCheck(String first, String second) {\n\t\tif (first.length() == 1 || second.length() == 1) {\n\t\t\tif (first.compareTo(second) < 0) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tif (first.substring(0, 1).compareTo(second.substring(0,1)) < 0) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tif (first.substring(0, 1).compareTo(second.substring(0,1)) == 0) {\n\t\t\t\t\treturn alphabCheck(first.substring(1, first.length()),second.substring(1,second.length()));\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}",
"private boolean esDelimitador(char c){\n if ((\"+-/*^=%()\".indexOf (c) != -1)){\n return true;\n }else{\n return false;\n }\n }",
"private int scanContent(char[] input,\n int offset,\n int end,\n int[] contentOffset,\n int[] contentSize,\n int[] lineNr)\n throws XMLParseException {\n if (input[offset] == '/') {\n contentSize[0] = 0;\n\n if (input[offset + 1] != '>') {\n throw this.expectedInput(\"'>'\", lineNr[0]);\n }\n\n return offset + 2;\n }\n\n if (input[offset] != '>') {\n throw this.expectedInput(\"'>'\", lineNr[0]);\n }\n\n if (this.skipLeadingWhitespace) {\n offset = this.skipWhitespace(input, offset + 1, end, lineNr);\n }\n else {\n offset++;\n }\n\n // int begin = offset;\n contentOffset[0] = offset;\n int level = 0;\n char[] tag = this.tagName.toCharArray();\n end -= (tag.length + 2);\n\n while ((offset < end) && (level >= 0)) {\n if (input[offset] == '<') {\n boolean ok = true;\n\n if ((offset < (end - 1)) && (input[offset + 1] == '!')\n && (input[offset + 2] == '[')) {\n offset++;\n continue;\n }\n\n for (int i = 0; ok && (i < tag.length); i++) {\n ok &= (input[offset + (i + 1)] == tag[i]);\n }\n\n ok &= !this.isIdentifierChar(input[offset + tag.length + 1]);\n\n if (ok) {\n while ((offset < end) && (input[offset] != '>')) {\n offset++;\n }\n\n if (input[offset - 1] != '/') {\n level++;\n }\n\n continue;\n }\n else if (input[offset + 1] == '/') {\n ok = true;\n\n for (int i = 0; ok && (i < tag.length); i++) {\n ok &= (input[offset + (i + 2)] == tag[i]);\n }\n\n if (ok) {\n contentSize[0] = offset - contentOffset[0];\n offset += tag.length + 2;\n\n try {\n offset = this.skipWhitespace(input, offset,\n end + tag.length\n + 2,\n lineNr);\n } catch (XMLParseException e) {\n // ignore\n }\n\n if (input[offset] == '>') {\n level--;\n offset++;\n }\n\n continue;\n }\n }\n }\n\n if (input[offset] == '\\r') {\n lineNr[0]++;\n\n if ((offset != end) && (input[offset + 1] == '\\n')) {\n offset++;\n }\n }\n else if (input[offset] == '\\n') {\n lineNr[0]++;\n }\n\n offset++;\n }\n\n if (level >= 0) {\n throw this.unexpectedEndOfData(lineNr[0]);\n }\n\n if (this.skipLeadingWhitespace) {\n int i = contentOffset[0] + contentSize[0] - 1;\n\n while ((contentSize[0] >= 0) && (input[i] <= ' ')) {\n i--;\n contentSize[0]--;\n }\n }\n\n return offset;\n }",
"private static boolean checkIfCanBreak( String s1, String s2 ) {\n\n if (s1.length() != s2.length())\n return false;\n\n Map<Character, Integer> map = new HashMap<>();\n for (Character ch : s2.toCharArray()) {\n map.put(ch, map.getOrDefault(ch, 0) + 1);\n }\n\n for (Character ch : s1.toCharArray()) {\n\n char c = ch;\n while ((int) (c) <= 122 && !map.containsKey(c)) {\n c++;\n }\n\n if (map.containsKey(c)) {\n map.put(c, map.getOrDefault(c, 0) - 1);\n\n if (map.get(c) <= 0)\n map.remove(c);\n }\n }\n\n return map.size() == 0;\n }",
"@Test\n public void shouldFindSubstringAtTheEndOfTheStringAfterOneCharacterPartialMatch() {\n // Given\n String string = \"AABc\";\n CharSequence charSequence = new StringBuilder(\"ABc\");\n\n // When\n boolean containsCharSequence = string.contains(charSequence);\n\n // Then\n assertTrue(containsCharSequence);\n }",
"@Test\n public void testAreFirstAndLastCharactersTheSame() {\n \n assertTrue(stringHelper.areFirstAndLastCharactersTheSame(\"AA\"));\n \n }",
"private int indexOfNextUnescapedChar(String s, char c, int start){\n int pos = 0;\n while(true){\n pos = s.indexOf(c, start+pos);\n if(pos <= 0)break;\n if((pos > start) && (s.charAt(pos-1) != '\\\\'))break;\n else pos++;\n }\n return pos;\n }",
"@Override\n public CharSequence filter(CharSequence source, int start, int end,\n Spanned dest, int dstart, int dend) {\n if (end == 0) return null;\n String sou = source.toString().trim();\n String des = dest.toString().replace(\"-\", \"\");\n\n int a = des.length() % 4;\n\n char[] array = sou.toCharArray();\n StringBuilder buff = new StringBuilder();\n\n for (int i = 0; i < array.length; i++) {\n if ((a + i) % 4 == 0 && (i != 0 || des.length() != 0)) {\n buff.append(\"-\");\n }\n buff.append(array[i]);\n }\n\n return buff.toString();\n }",
"public boolean nextIsSep()\n {\n\n if (Character.isLetterOrDigit(str.charAt(currentPosition)))\n return false;\n else\n return true;\n }",
"boolean hasChar();",
"private boolean checkInputContent(String contents){\n try {\n char[] temC = contents.toCharArray();\n for (int i=0;i<temC.length;i++) {\n char mid = temC[i];\n if(mid>=48&&mid<=57){//数字\n continue;\n }\n if(mid>=65&&mid<=90){//大写字母\n continue ;\n }\n if(mid>=97&&mid<=122){//小写字母\n continue ;\n }\n// temp.replace(i, i+1, \" \");\n return false;\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return true;\n }",
"static boolean isBasePair(char c)\n{\n\treturn c >= 'A' && c <= 'Z';\n}",
"private static String flipEndChars(String str) {\n if (str.length() < 2) {\n return \"Incompatible.\";\n }\n char firstChar = str.charAt(0);\n char lastChar = str.charAt(str.length() - 1);\n if (firstChar == lastChar) {\n return \"Two\\'s a pair.\";\n }\n return lastChar + str.substring(1, str.length() - 1) + firstChar;\n }",
"private static boolean startsWith(String str, String token) {\n return str.startsWith(token)\n && (str.length() == token.length()\n || Character.isUpperCase(str.charAt(token.length())));\n }",
"String getIfBegin();",
"String getBegin();",
"private static boolean isStartTag(String line) {\n final char c = line.charAt(line.length() - 2);\n return brackets(line) && line.charAt(1) != '/' && (c != '/' && c != '?');\n }",
"private static boolean beforeStar(String v1, String v2) {\n\t\t\n\t\tif(v1.length() < (v2.length() - 1) ) {\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tchar[] value1 = v1.toCharArray();\n\t\tchar[] value2 = v2.toCharArray();\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tint n = v1.length();\n\t\t\n\t\twhile(true) {\n\t\t\t\n\t\t\tif( (value1[i] != value2[j]) && value2[j] != '*') {\n\t\t\t\treturn false;\n\t\t\t}else if(value2[j] == '*') {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\ti++;\n\t\t\tj++;\n\t\t\t\n\t\t\tif(i == n) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn true;\n\t}",
"protected boolean ignoreLinesStartWith(char a) {\r\n if (!this.hasNextToken()) return false;\r\n boolean b = false;\r\n while (true) {\r\n char c = this.stream.peek();\r\n if (c==a) {\r\n this.getUntilMeetChar('\\n');\r\n b = true;\r\n continue;\r\n }\r\n return b;\r\n }\r\n }",
"public void endCharacter() {\n\t\tString name = \"Tori\";\n\t\tboolean startWith = name.endsWith(\"ori\");\n\t\tif(startWith) {\n\t\t\tSystem.out.println(\"it ends with the character\");\n\t\t}\n\t}",
"private int skipPreamble(char[] input,\n int offset,\n int end,\n int[] lineNr)\n throws XMLParseException {\n char ch;\n\n do {\n offset = this.skipWhitespace(input, offset, end, lineNr);\n\n if (input[offset] != '<') {\n this.expectedInput(\"'<'\", lineNr[0]);\n }\n\n offset++;\n\n if (offset >= end) {\n throw this.unexpectedEndOfData(lineNr[0]);\n }\n\n ch = input[offset];\n\n if ((ch == '!') || (ch == '?')) {\n offset = this.skipBogusTag(input, offset, end, lineNr);\n }\n } while (!isIdentifierChar(ch));\n\n return offset;\n }",
"public abstract char getStarterChar();",
"private static boolean d(char paramChar)\r\n/* 685: */ {\r\n/* 686:678 */ return ((paramChar >= 'k') && (paramChar <= 'o')) || ((paramChar >= 'K') && (paramChar <= 'O')) || (paramChar == 'r') || (paramChar == 'R');\r\n/* 687: */ }",
"private boolean preTest(String str) {\n\t\treturn str.matches(\"^[\\\"A-Z][\\u0000-\\u0080]+$\");\n\t}",
"public static void main(String[] args) {\n String word = \"Computer\";\r\n System.out.println(word.length());\r\nSystem.out.println(word.charAt(0));\r\nSystem.out.println(word.charAt(1));\r\nSystem.out.println(word.charAt(2));\r\nSystem.out.println(word.charAt(3));\r\nSystem.out.println(word.charAt(4));\r\nSystem.out.println(word.charAt(5));\r\nSystem.out.println(word.charAt(6));\r\nSystem.out.println(word.charAt(7));\r\n\r\n//\r\n\r\nString word2 = \"Java\";\r\n if(word2.charAt(0) == 'J');{\r\nSystem.out.println(\"J is first character\");\r\n} \r\n \r\n String word3 = \"civic\";\r\n char first = word3.charAt(0); // index always zero\r\n char last = word.charAt(4); \r\n\r\nif (first == last) {\r\n\tSystem.out.println(\"FIrst and last match\");\r\n} else {\r\n\tSystem.out.println(\" not match\");\r\n}\r\n// always print the last character no matter the length\r\n\r\nString word4 = \"abcdefghijklmnopqrstuvwxyz\";\r\n\r\nchar lastChar = word4.charAt(word4.length()-1);\r\n\r\nSystem.out.println(\"last character of the word \" + word4 + \" is \" + lastChar);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\t}",
"private boolean expandCompositCharAtBegin(char[] dest,int start, int length,\n int lacount) {\n boolean spaceNotFound = false;\n\n if (lacount > countSpacesRight(dest, start, length)) {\n spaceNotFound = true;\n return spaceNotFound;\n }\n for (int r = start + length - lacount, w = start + length; --r >= start;) {\n char ch = dest[r];\n if (isNormalizedLamAlefChar(ch)) {\n dest[--w] = LAM_CHAR;\n dest[--w] = convertNormalizedLamAlef[ch - '\\u065C'];\n } else {\n dest[--w] = ch;\n }\n }\n return spaceNotFound;\n\n }",
"private boolean isRotation(String s1, String s2) {\n\t\treturn (s1.length() == s2.length()) && isSubstring(s1 + s1, s2);\n\t}",
"boolean isDelimited(String s) {\r\n\t\tif (s.length() < 2) return false;\r\n\t\t\r\n\t\tOptional<String> startChar = Optional.of(s.substring(0, 1));\r\n\t\tOptional<String> endChar = Optional.of(s.substring(s.length() - 1));\r\n\t\t\r\n\t\tfor (Delimiter delim: this) {\r\n\t\t\tif (startChar.equals(delim.start()) && endChar.equals(delim.end())) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}",
"public static String SimpleSymbols(String str) {\n \n for(int i = 0; i < str.length(); i++){\n \n if(Character.isLetter(str.charAt(i))){\n \n if(i == 0){\n return \"false\";\n }\n if(str.charAt(i - 1) != '+'){\n return \"false\";\n }\n if((i+ 1) < str.length()){\n if(str.charAt(i+1) != '+'){\n return \"false\";\n }\n }\n }\n }\n \n return \"true\";\n \n }",
"String checkString(String str) {\n\t\tString output = \"\";\n\t\tfor (int index = str.length() - 1; index >= 0; index--) {\n\t\t\toutput = output + str.charAt(index);\n\t\t}\n\t\treturn output;\n\t}",
"public boolean leadingSign(){\n return ! trailingSign;\n }",
"@Test\n public void shouldNotFindSubstringWithMismatchedFirstCharacterAtTheEndOfThString() {\n // Given\n String string = \"123ABc\";\n CharSequence charSequence = new StringBuilder(\"cBc\");\n\n // When\n boolean containsCharSequence = string.contains(charSequence);\n\n // Then\n assertFalse(containsCharSequence);\n }",
"private boolean startsWithSpace(String str) {\r\n\t\treturn str.length() != 0 && str.charAt(0) == ' ';\r\n\t}",
"boolean hasMid();",
"boolean hasMid();",
"private int huntRight(String in, int offset) {\n char temp = 0;\n for(int i = offset + 1; i < in.length(); i++) {\n temp = in.charAt(i);\n if(temp == '\\n' || temp == '\\r')\n return i;\n }\n return in.length(); //eof counts. Note this is the length because we increased it by one!\n }",
"public static String SimpleSymbols(String str) {\n char curr_char = '0';\n char prev_char = '0';\n char next_char = '0';\n String out_str = \"true\";\n int i = 0;\n boolean parsing_done = false;\n boolean pattern_found = false;\n boolean wrong_pattern_found = false;\n \n if( Character.isLetterOrDigit(str.charAt(0)))\n {\n wrong_pattern_found = true;\n }\n do\n {\n if( str.length() < 3 )\n {\n parsing_done = true;\n }\n else\n {\n int last_index = str.length() - 1;\n if( i + 2 == last_index )\n {\n parsing_done = true;\n //pattern_found = false;\n //System.out.print(\"Check of last index\" + i + last_index ); \n next_char = str.charAt(i+2);\n curr_char = str.charAt(i+1);\n prev_char = str.charAt(i);\n }\n else if( i+2 > last_index )\n {\n parsing_done = true;\n } //pattern_found = false;\n else\n {\n next_char = str.charAt(i+2);\n curr_char = str.charAt(i+1);\n prev_char = str.charAt(i);\n }\n \n if(Character.isLetterOrDigit(curr_char))\n {\n if(prev_char == '+' && next_char == '+')\n {\n i++;\n pattern_found = true;\n }\n else\n {\n wrong_pattern_found = true;\n parsing_done = true;\n }\n }\n else\n {\n i++;\n }\n }\n } while( !parsing_done );\n \n if(wrong_pattern_found )\n {\n out_str = \"false\";\n } \n else if( pattern_found )\n out_str = \"true\";\n else\n out_str = \"false\";\n \n return out_str;\n \n }",
"public static String mirrorZ(char start) throws IllegalArgumentException {\r\n if ((start > 'Z') || (start < 'A')) {\r\n throw new IllegalArgumentException(\"must be an uppercase letter!\");\r\n }\r\n String palindrome = \"\";\r\n // System.out.println(start);\r\n if (start == 'Z') {\r\n return \"Z\";\r\n }\r\n palindrome = start + \" \" + mirrorZ((char) (start + 1)) + \" \" + start;\r\n // System.out.println(palindrome);\r\n return palindrome;\r\n\r\n }",
"private int rangeEndLS(char startingLS) {\n if (startingLS >= 0xdbff) {\n return 0xdbff;\n }\n\n int c;\n int val = getFromU16SingleLead(startingLS);\n for (c = startingLS+1; c <= 0x0dbff; c++) {\n if (getFromU16SingleLead((char)c) != val) {\n break;\n }\n }\n return c-1;\n }",
"@Override\r\n public CharSequence filter(CharSequence source, int start, int end,\r\n Spanned dest, int dstart, int dend) {\n for (int i = start; i < end; i++) {\r\n\r\n \t String checkMe = String.valueOf(source.charAt(i));\r\n\r\n\t\t Pattern pattern = Pattern.compile(\"[1234]*\");\r\n\t\t Matcher matcher = pattern.matcher(checkMe);\r\n\t\t boolean valid = matcher.matches();\r\n\t\t if(!valid){\r\n\t\t Log.d(\"\", \"invalid\");\r\n\t\t return \"\";\r\n\t\t }\r\n }\r\n\r\n // If we've got this far, then return null to accept string\r\n return null;\r\n }",
"public String atFirst(String str) {\r\n return str.length() > 1 ? str.substring(0, 2) : (str + \"@@\").substring(0, 2);\r\n }",
"public static void main(String args[])\n {\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n StringBuilder sb = new StringBuilder(str);\n int len = sb.length();\n StringBuilder temp = new StringBuilder(\"\");\n for(int id = 0;id<=len-1;id++)\n {\n if((str.charAt(id)!='a')&&(str.charAt(id)!='e')&&(str.charAt(id)!='i')&&(str.charAt(id)!='o')&&(str.charAt(id)!='u')||(str.charAt(id)==' '))\n {\n temp.append(str.charAt(id));\n }\n }\n System.out.println(temp);\n \n\n }",
"@Override\n protected boolean isValidChar(char character) {\n return character == SQ_BRACKET.getRuleStartChar() || character == BRACES.getRuleStartChar()\n || character == PARENTHESES.getRuleStartChar();\n }",
"private boolean isIdentificatorAhead() {\r\n\t\treturn Character.isLetter(expression[currentIndex]);\r\n\t}",
"public String notString(String str) {\n // if (str.startsWith(\"not\")) {\n // return str;\n // }\n\n // Note that end in substring(start, end) is index of one char after \n // something you want. Not length! \n if (str.length() >= 3 && str.substring(0, 3).equals(\"not\")) {\n return str;\n } else {\n return \"not \" + str;\n }\n \n}",
"static String abbreviation(String a, String b) {\r\n \r\n HashSet<Character> aSet = new HashSet<>();\r\n\r\n for(int i = 0 ; i< a.length() ; i++){\r\n aSet.add(a.charAt(i));\r\n }\r\n \r\n for(int i = 0 ; i < b.length() ; i++){\r\n \r\n if(aSet.contains(b.charAt(i)) ){\r\n aSet.remove(b.charAt(i));\r\n }\r\n else if(aSet.contains(Character.toLowerCase(b.charAt(i)))){\r\n aSet.remove(Character.toLowerCase(b.charAt(i)));\r\n }\r\n else{\r\n return \"NO\";\r\n }\r\n \r\n\r\n }\r\n\r\n Iterator<Character> it = aSet.iterator();\r\n while(it.hasNext()){\r\n\r\n if(!isLowerCase(it.next())){\r\n return \"NO\";\r\n }\r\n }\r\n return \"YES\";\r\n \r\n /*\r\n String regex = \"\";\r\n for(int i = 0 ; i < b.length() ; i++){\r\n regex += \"[a-z]*\" + \"[\" + b.charAt(i) + \"|\" + Character.toLowerCase(b.charAt(i)) + \"]\";\r\n }\r\n regex += \"[a-z]*\";\r\n Pattern ptrn = Pattern.compile(regex);\r\n Matcher matcher = ptrn.matcher(a);\r\n\r\n return matcher.matches() ? \"YES\" : \"NO\";\r\n*/\r\n \r\n /*\r\n int aPtr = 0;\r\n\r\n //b e F g H\r\n // E F H\r\n for(int i = 0 ; i < b.length() ; i++){\r\n\r\n if(aPtr + 1 >= a.length())\r\n return \"NO\";\r\n //if(aPtr + 1 == a.length() && i + 1 == b.length())\r\n // return \"YES\";\r\n\r\n System.out.println(b.charAt(i) + \" \" + a.charAt(aPtr));\r\n if(b.charAt(i) == a.charAt(aPtr)){\r\n aPtr++;\r\n }else if(b.charAt(i) == Character.toUpperCase(a.charAt(aPtr)) && isLowerCase(a.charAt(aPtr))){\r\n aPtr++;\r\n\r\n } else if(b.charAt(i) != a.charAt(aPtr) && !isLowerCase(a.charAt(aPtr))){\r\n return \"NO\";\r\n }else if(b.charAt(i) != a.charAt(aPtr) && isLowerCase(a.charAt(aPtr))){\r\n aPtr++;\r\n i--;\r\n }\r\n\r\n\r\n\r\n }\r\n for(int i = aPtr ; i < a.length() ; i++){\r\n if(!isLowerCase(a.charAt(i)))\r\n return \"NO\";\r\n }\r\n\r\n return \"YES\";\r\n */\r\n\r\n }",
"public String theEnd(String str, boolean front) {\r\n return front && str.length() > 0 ? str.substring(0, 1) : str.substring(str.length() - 1,\r\n str.length());\r\n }",
"public static boolean backspaceCompare(String S, String T) {\n char[] arr1 = S.toCharArray();\n char[] arr2 = T.toCharArray();\n StringBuilder sb1 = new StringBuilder();\n StringBuilder sb2 = new StringBuilder();\n for(int i = arr1.length - 1; i >= 0; i--){\n if(arr1[i] == '#'){\n arr1[i] = ' ';\n for(int k = i - 1; k >= 0; k--){\n if(arr1[k] != '#' && arr1[k] != ' '){\n arr1[k] = ' ';\n break;\n }\n }\n }else if(arr1[i] != ' '){\n sb1.append(arr1[i]);\n }\n }\n\n for(int i = arr2.length - 1; i >= 0; i--){\n if(arr2[i] == '#'){\n arr2[i] = ' ';\n for(int k = i - 1; k >= 0; k--){\n if(arr2[k] != '#' && arr2[k] != ' '){\n arr2[k] = ' ';\n break;\n }\n }\n }else if(arr2[i] != ' '){\n sb2.append(arr2[i]);\n }\n }\n// System.out.println(\"sb1:\"+sb1.toString()+\"----sb2:\"+sb2.toString());\n return sb1.toString().equals(sb2.toString());\n }",
"private boolean startsWithAFilteredPAttern(String string)\n {\n Iterator<String> iterator = filteredFrames.iterator();\n while (iterator.hasNext())\n {\n if (string.trim().startsWith(iterator.next()))\n {\n return true;\n }\n }\n return false;\n }",
"private static boolean isTailChar(char ch) {\n if(ch == OLD_TAIL_CHAR || ch == NEW_TAIL_CHAR){\n return true;\n }else{\n return false;\n }\n }",
"public boolean skipCharacter( char c )\r\n {\r\n String literal = Pattern.quote( new Character(c).toString() );\r\n \r\n Pattern charOnce = Pattern.compile( \"\\\\G\" + literal + \"{1}\" );\r\n String str = feed.findWithinHorizon( charOnce, 0 );\r\n \r\n if( str == null )\r\n return false;\r\n else\r\n return true;\r\n }",
"private boolean secondCharIs(char expected) {\n if (reachedEnd()) {\n return false;\n }\n\n if (source.charAt(current) != expected) {\n return false;\n }\n\n current++;\n return true;\n }",
"private boolean slash() {\r\n return MARK(OPERATOR) && CHAR('/') && gap();\r\n }",
"@Test\n public void shouldReturnLastIndexOfFirstWhitespace(){\n Assert.assertThat(\"match any digits\",CharMatcher.DIGIT\n .lastIndexIn(\"123TT T4\"),is(7));\n }",
"public String deFront(String str) {\r\n if (!str.isEmpty()) {\r\n if (str.length() > 1) {\r\n if (str.charAt(0) == 'a' && str.charAt(1) != 'b') {\r\n\r\n return \"a\" + str.substring(2);\r\n } else if (str.charAt(0) != 'a' && str.charAt(1) == 'b') {\r\n\r\n return str.substring(1);\r\n } else if (str.charAt(1) != 'b') {\r\n\r\n return str.substring(2);\r\n }\r\n }\r\n if (str.length() == 1) {\r\n if (str.charAt(0) != 'a') {\r\n\r\n return \"\";\r\n }\r\n }\r\n }\r\n\r\n return str;\r\n }",
"@Override\n public String part1(List<String> input) {\n ArrayList<Integer> hit = new ArrayList<>();\n int listLen = input.size();\n\n //how long is the string\n int strLen = input.get(0).length();\n\n //Char init\n char location;\n // checking each column... ...\n for (int i = 0; i < 1; i++) {\n hit.add(0);\n // actual checking. vertical and y is horizontal\n for (int x = 0; x < listLen; x++) {\n int y = 0;\n if (x != 0) {\n y = x * 3;\n }\n\n //loop back if coordinates are out of bounds\n if (y >= strLen) {\n y = y % strLen;\n }\n\n location = input.get(x).charAt(y);\n if (location == '#') {\n hit.set(i,hit.get(i) + 1);\n }\n\n }\n }\n\n return \"\" + hit.get(0);\n }",
"public int getCharStart() {\n\t\treturn -1;\n\t}",
"protected static boolean matchPatternStart( String pattern, String str )\n {\n return matchPatternStart( pattern, str, true );\n }",
"private int getEndNodeIndex(int validStartIndexOfStr, int len) {\n\t\treturn (validStartIndexOfStr + len - 2) / 2;\n\t}",
"public static void main(String[] args) {\nString word = \"aabbaaaccbbaacc\";\n String result = \"\";\n\n for (int i = 0; i <=word.length()-1 ; i++) {\n\n if(!result.contains(\"\"+word.charAt(i))){ //if the character is not contained in the result yet\n result+=word.charAt(i); //then add the character to the result\n }\n\n }\n System.out.println(result);\n\n\n\n }",
"public static void main(String[] args) {\n\t\tString str2=\"the string sunrises\";\n\t\tString str=\"the string sunriseS\";\n\t\tString date=\"10-10-1990\";\n\t\tString h=\"hello\";\n\t\tString o=\"world\";\n\t\tint hi = 80;\n\t\tint j = 70;\n\t\tStringBuffer buff=new StringBuffer(str);\nbuff.reverse();\n//System.out.println(str.indexOf('s'));\n//System.out.println(str.indexOf('s',str.indexOf('s')+1));\n//\n//System.out.println(str.indexOf('s',str.indexOf('s',str.indexOf('s')+1)+1));\n\n\n//System.out.println(str.indexOf('s',str.indexOf('s',str.indexOf('s',str.indexOf('s')+1)+1)+1));\nSystem.out.println(str.indexOf('s',str.indexOf('s',str.indexOf('s',str.indexOf('s',str.indexOf('s',str.indexOf('s')+1)+1)+1)+1)));\n\n//System.out.println(str.charAt(1));\n//System.out.println(str.length());\n\nSystem.out.println(str.equals(str2));\nSystem.out.println(str.equalsIgnoreCase(str2));\nSystem.out.println(str.substring(0,2));\nSystem.out.println(str.trim());\nSystem.out.println(str.replace(\"s\",\"fer\"));\nSystem.out.println(date.replace(\"-\",\"/\"));\nSystem.out.println(\"$$$$\");\n String val[]= str.split(\" \");\n for(int i=0;i<val.length;i++)\n {\n\t System.out.println(val[i]); \n\t \n }\n \n System.out.println(buff);\n System.out.println(str2.concat(str));\n System.out.println(h+(hi+j));\n \n\t}",
"private static boolean ifPalindrome(char[] input, int start, int end){\r\n\t\t//the idea is to scan from 1st to the mid point to see the reverse side char same as the picked one and return\r\n\t\tfor(int i=start;i<=(start+end)/2;i++){ //notice that we use <= other than<\r\n\t\t\tif(input[i] ==input[start+end-i]){\r\n\t\t\t\tcontinue;\r\n\t\t\t}else{\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\t//if we come here that means it is a palindrome for selected start/end\r\n\t\treturn true;\r\n\t}",
"private int getStartOfBEDentry(final BEDentry entry ) {\n\t\tif( entry.getStrand().equals(\"+\") ) { \n\t\t\treturn entry.getChromStart(); \n\t\t} else {\n\t\t\treturn entry.getChromEnd(); \n\t\t}\n\t}",
"public static void main(String[] args) throws Exception {\n String s;\n// s = \"0000000000000\";\n s = \"000000-123456\";\n// s = \"000000123456\";\n if (s.matches(\"^0+$\")) {\n s = \"0\";\n }else{\n s = s.replaceFirst(\"^0+\",\"\");\n }\n System.out.println(s);\n\n\n// System.out.println(StringUtils.addRight(s,'A',mod));\n// String s = \"ECPay thong bao: Tien dien T11/2015 cua Ma KH PD13000122876, la 389.523VND. Truy cap www.ecpay.vn hoac lien he 1900561230 de biet them chi tiet.\";\n// Pattern pattern = Pattern.compile(\"^(.+)[ ](\\\\d+([.]\\\\d+)*)+VND[.](.+)$\");\n// Matcher matcher = pattern.matcher(s);\n// if(matcher.find()){\n// System.out.println(matcher.group(2));\n// }\n }",
"boolean hasHasCharacter();",
"public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n System.out.println(\"Enter your first word: \");\n String word1 = scan.next();\n System.out.println(\"Enter your second word: \");\n String word2 = scan.next();\n\n char lastLetter = word1.charAt(word1.length()-1);\n char firstLetter = word2.charAt(0);\n if (lastLetter == firstLetter) {\n System.out.println(word1+word2.substring(1));\n }else {\n System.out.println(word1 + word2);\n\n }\n\n\n }",
"public abstract boolean isSingleCharMatcher();",
"public static boolean hasLeadingChar(char c,String s) {\n \tif(s == null || s.length()==0) {\n \t\treturn false;\n \t}\n \t\n \treturn (s.charAt(0) == c);\n }",
"public static int getLetterIndex(String word, byte startFrom) {\r\n int i, j;\r\n if (startFrom == head) // start checking from beginning\r\n {\r\n for (i = 0; i < word.length(); i++) {\r\n if (word.charAt(i) >= 'a' && word.charAt(i) <= 'z')\r\n return i;\r\n }\r\n return -1; // cannot found any letter in the string\r\n } else if (startFrom == tail) // start check from the ed\r\n {\r\n for (j = word.length() - 1; j >= 0; j--) {\r\n if (word.charAt(j) >= 'a' && word.charAt(j) <= 'z')\r\n return j;\r\n }\r\n return -1; // cannot found any letter in the string\r\n }\r\n return 0;\r\n }",
"public String nextTo(String str) {\n char next;\n AppMethodBeat.m2504i(50194);\n StringBuffer stringBuffer = new StringBuffer();\n while (true) {\n next = next();\n if (str.indexOf(next) < 0 && next != 0 && next != 10 && next != 13) {\n stringBuffer.append(next);\n } else if (next != 0) {\n back();\n }\n }\n if (next != 0) {\n }\n String trim = stringBuffer.toString().trim();\n AppMethodBeat.m2505o(50194);\n return trim;\n }",
"public String frontBack(String str) {\n if (str.length() <= 1) return str;\n \n String middle = str.substring(1, str.length()-1);\n \n return (str.charAt(str.length()-1) + middle + str.charAt(0));\n}",
"private int alwaysMoreOpen(int start, int end, String s){\n int diff=0, temp=0, res=0;\n for(int i=end; i>start;i--){\n if(s.charAt(i)==')') diff++;\n else {\n if(diff>0){\n diff--;\n temp+=2;\n }\n else{\n res=Math.max(temp,res);\n temp=0;\n }\n }\n }\n return Math.max(temp,res);\n}",
"public static void main(String[] args) {\n\n\t\tString a=\"Hadi gidelim bu diyardan\";\n\t\tSystem.out.println(a.startsWith(\"H\"));//true\n\t\tSystem.out.println(a.startsWith(\"\"));//true==> hic biseyi de kabul etti\n\t\tSystem.out.println(a.startsWith(\"Hadi\"));//true\n\t\n\t\tSystem.out.println(a.startsWith(\"g\", 5));//true==> index 5 \"g\" ile mi basliyor demektir\n\t\tSystem.out.println(a.startsWith(\"i\", 7));//false==> index7 de \"i\" mi var diye bakar\n\t\tSystem.out.println(a.startsWith(\"\", 6));//true==>index6 da normalde \"i\" var ancak hicbirsey arandiginda hicbirseylere bakar\n\t\n\t\t\n\t\t//12.indexOf()==>of=in,in anlami var.indexin gibi\n\t\t//indexOf da hem String hem de char kullanilir\n\t\tSystem.out.println(a.indexOf(\"i\"));//3==>soldan saga giderken ilk gorunumun indexini verir\n\t\tSystem.out.println(a.indexOf('d'));//2\n\t\t//deli yi bulur ve ilk harfinin indexini verir.birden cok karakter varsa ilkinin indexini verir\n\t\tSystem.out.println(a.indexOf(\"deli\"));//7\n\t\t//olmayan bir character icin indexOf kullanirsaniz java -1 return eder\n\t\tSystem.out.println(a.indexOf(\"x\"));//-1\n\t\tSystem.out.println(a.indexOf(\"diyer\"));//-1 coklu characterde hepsi ayni olmasa yine d yi gormeyip -1 doner\n\t\t\n\t\tSystem.out.println(a.indexOf(\"d\", 4));//7==> 4.indexten sonraki d nin indexini buluyor\n\t\tSystem.out.println(a.indexOf(\"a\", 9));//19==> 9. indexten sonraki a nin indexini verir\n\t\tSystem.out.println(a.indexOf('e', 8));//8\n\t\t\n\t\t//13. lastIndexOf()==>son gorunumun indexini verir\n\t\t\n\t\tString b=\"Java Ah java!\";\n\t\tSystem.out.println(b.lastIndexOf(\"v\"));//10 ==>son v nin indexi demektir\n\t\tSystem.out.println(b.lastIndexOf(\"av\"));//9 ==> son av i bulup a nin indexini basar\n\t\t\n\t\t//14. subString()==> bir Stringin belli bir bolumunu kesip almaya yarar(ONEMLI COK KULLANILIR)\n\t\t\n\t\tString c=\"Karakartal\";\n\t\t//asdece kartal kelimesini ekrana yazdirmak icin soyle yapilir. begin= baslangic\n\t\tSystem.out.println(c.substring(4));//kartal==> kesmeye baslanilan yerden sonrasini ekrana basar\n\t\t//ekrana arakartal yazalim\n\t\tSystem.out.println(c.substring(1));//arakartal\n\t\t//ekrana kar yazdiralim\n\t\t//subString methodun da iki sayi kullanirsaniz ilk sayi dahil ikinci sayi haric olur asagida ki gibi\n\t\tSystem.out.println(c.substring(4, 7));//kar\n\t\t//subString le ilk harfi almak icin subString(0,1) yazariz bunu cok kullaniriz\n\t\tSystem.out.println(c.substring(0, 1));//K\n\t\t// baslangic ve bitis index lerini ayni yaparsak hicbirsey aliriz.\n\t\tSystem.out.println(c.substring(2, 2));//\"\" hicbirsey goruruz\n\t\t//subString te baslangic indexi bitis indexinden buyk olamaz.\n\t\t//buyuk yazarsak Run Time Error aliriz\n\t\t//System.out.println(c.substring(5, 3));\n\t\t\n\t\t\n\t\t//trim() methodu==>trim==tras anlamina gelir.bir Stringin bas ve son tarafindaki spaceleri siler\n\t\t//dikkat edin aradakileri degil bas ve sondakileri siler\n\t\tString d=\" Java iyidir \";\n\t\tSystem.out.println(d.length());//16\n\t\t\n\t\tSystem.out.println(d.trim().length());//11\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}",
"public static boolean isPalindrome(String a)\n { \n boolean flag = true; \n //Iterate the string forward and backward and compare one character at a time \n //till middle of the string is reached \n for(int i = 0; i < a.length()/2; i++)\n { \n if(a.charAt(i) != a.charAt(a.length()-i-1))\n { \n flag = false; \n break; \n } \n } \n return flag; \n }",
"static boolean defaultIsLTR(char[] chars, int start, int limit) {\n while (start < limit) {\n char c = chars[start++];\n byte dir = getDirectionCode(c);\n switch (dir) {\n case L: \n return true;\n case AR:\n case R: \n return false;\n case F:\n return c == LRO || c == LRE;\n default:\n break;\n }\n }\n\n return true;\n }",
"@Test\n\tpublic void testareFirstAndLastTwoCharactersTheSame_BasicNegative() \n\t{\n\t\tassertFalse(helper.areFirstAndLastTwoCharactersTheSame(\"ABCD\"));\n\t}",
"public static boolean foo4 ( String s )\r\n\t{\r\n\t\tif ( s.length() < 2 )\r\n\t\t\treturn false;\r\n\t\telse if ( s.charAt(0) == 'A' && s.charAt(1) == 'B' )\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn foo4( s.substring( 1, s.length( ) ) );\r\n\t\t\r\n\t}"
]
| [
"0.61711496",
"0.5852385",
"0.5822357",
"0.58060604",
"0.5732902",
"0.5712352",
"0.56610763",
"0.56505096",
"0.5614374",
"0.56021833",
"0.55982894",
"0.5551565",
"0.55331266",
"0.5518255",
"0.5517471",
"0.5463878",
"0.5461288",
"0.546012",
"0.5427803",
"0.5389526",
"0.53852636",
"0.5346431",
"0.533882",
"0.53229785",
"0.529654",
"0.5285017",
"0.5283272",
"0.5283083",
"0.5282407",
"0.5280415",
"0.52746516",
"0.52514505",
"0.52457064",
"0.5240108",
"0.5230516",
"0.5219977",
"0.52183825",
"0.52079743",
"0.52054745",
"0.51962453",
"0.51959896",
"0.51922446",
"0.518924",
"0.5175292",
"0.5170348",
"0.51549685",
"0.51377845",
"0.5133756",
"0.5129156",
"0.5123299",
"0.51146305",
"0.5103909",
"0.50999105",
"0.50951934",
"0.5086278",
"0.50778705",
"0.50775194",
"0.50775194",
"0.50738645",
"0.50697076",
"0.50643295",
"0.50593716",
"0.5058188",
"0.50497365",
"0.5045886",
"0.50340384",
"0.5023359",
"0.50215447",
"0.50173396",
"0.5008068",
"0.5006449",
"0.5005864",
"0.5004444",
"0.49996847",
"0.49989492",
"0.4983165",
"0.49821883",
"0.49742746",
"0.495302",
"0.49513954",
"0.49464744",
"0.49435365",
"0.49381462",
"0.49338862",
"0.49328652",
"0.4931316",
"0.49308503",
"0.49229723",
"0.49153852",
"0.49144655",
"0.49119973",
"0.49076074",
"0.48993534",
"0.48919663",
"0.48910603",
"0.48906666",
"0.488535",
"0.48850596",
"0.48847294",
"0.4873173"
]
| 0.5520232 | 13 |
printAtoZ create a method that has no parameter and print AZ in one line | public static void printAtoZ(){
for (char i = 'A'; i <= 'Z'; i++) {
System.out.print(i + " ");
}
System.out.println();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String print();",
"public void print(){\n System.out.println(\"(\"+a.getAbsis()+\"_a,\"+a.getOrdinat()+\"_a)\");\n System.out.println(\"(\"+b.getAbsis()+\"_b,\"+b.getOrdinat()+\"_b)\");\n System.out.println(\"(\"+c.getAbsis()+\"_b,\"+c.getOrdinat()+\"_c)\");\n }",
"public static void c2() {\n\t\tout(Ziffer.werteZiffernfolgeAus(\"\"));\n\t\tout(Ziffer.werteZiffernfolgeAus(\"z\"));\n\t\tout(Ziffer.werteZiffernfolgeAus(\".9\"));\n\t\tout(Ziffer.werteZiffernfolgeAus(\"9.\"));\n\t}",
"public void print() {\n toLower();\n }",
"private zza.zza()\n\t\t{\n\t\t}",
"public void print () {\n }",
"public void print()\r\n\t{\r\n\t\tSystem.out.println(\"Method name: \" + name);\r\n\t\tSystem.out.println(\"Return type: \" + returnType);\r\n\t\tSystem.out.println(\"Modifiers: \" + modifiers);\r\n\r\n\t\tif(exceptions != null)\r\n\t\t{\r\n\t\t\tSystem.out.print(\"Exceptions: \" + exceptions[0]);\r\n\t\t\tfor(int i = 1; i < exceptions.length; i++)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\", \" + exceptions[i]);\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Exceptions: none\");\r\n\t\t}\r\n\r\n\t\tif(parameters != null)\r\n\t\t{\r\n\t\t\tSystem.out.print(\"Parameters: \" + parameters[0]);\r\n\t\t\tfor(int i = 1; i < parameters.length; i++)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.print(\", \" + parameters[i]);\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Parameters: none\");\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println();\r\n\t}",
"@Override\n\tpublic void print() {\n\t\tSystem.out.println(\"print A\");\n\t}",
"public static void main(String[] args) {\n\t\tSystem.out.println(zipZap(((\"azbcpppzop\") ) ));\n\t}",
"public void print();",
"public void print();",
"public void print();",
"public void print();",
"@Then(\"I will get some zeta points\")\r\n\tpublic void i_will_get_some_zeta_points() {\n\t\tSystem.out.println(\"code for zeta points\");\r\n\t}",
"public String print(int format);",
"@ReflectiveMethod(name = \"z\", types = {})\n public String z(){\n return (String) NMSWrapper.getInstance().exec(nmsObject);\n }",
"public static String A(BaseObject obj)\n\t{\t\t\n\t\tString aStr = Format.a(obj);\n\t\treturn aStr.substring(0, 1).toUpperCase();\n\t}",
"protected abstract String getZ();",
"String print() {\n\t\treturn \"Hi\";\n\t}",
"void print() {\n\t\n\t}",
"void print();",
"void print();",
"void print();",
"void print();",
"void print();",
"public Zadatak1() {\r\n\t\tSystem.out.println(ucitajBroj(\"1. broj\") + ucitajBroj(\"2. broj\"));\r\n\t}",
"public void haha(){\n System.out.println(\"thavasi\");\n }",
"public void printYourself(){\n\t}",
"public static void main(String[] args) {\n\t\tprintletter c = new printletter(); \n\t\tc.Letter(); \n\t\n\t}",
"void mo28717a(zzc zzc);",
"@FormatMethod\n void print(String format, Object... args);",
"public abstract void zza(zzk zzk, zzk zzk2);",
"public void printAnnuaireName() {\n\t\t\n\t}",
"public final void zzaka() {\n zza(zzbwn.zzfur);\n }",
"public static void print(Pointer object) {\n\t\tString str = object.display(); // put result of display method to str\r\n\t\tif(object instanceof CapitalPrint) // if the object is instance of CapitalPrint class\r\n\t\t\tstr = str.toUpperCase(); // str change the UpperCase\r\n\t\tSystem.out.println(str); // print out str\r\n\t\t\r\n\t}",
"public static void main(String[] args) {\n\t\tZhangSan zs = new ZhangSan();\n\t\tzs.eat();\n\t\tzs.print();\n\t\tSystem.out.println(zs.address);\n\t}",
"@Override\n public void print(int n) {\n for (int i = 0; i < n; i++) {\n System.out.print(' ');\n }\n System.out.print(\" #{Built-in Procedure \");\n symbol.print(0);\n for (int i = 0; i < n; i++) {\n System.out.print(' ');\n }\n System.out.print('}');\n System.out.println();\n }",
"public void println();",
"public String toString() {\n/* 96 */ return \"Outline (Zigzag)\";\n/* */ }",
"@VisibleForTesting\n void print();",
"public static void main(String[] args) {\n\t\tLetterPrint lp = new LetterPrint(LetterPrint.Letter.O);\n\t\tlp.printLetter();\n\t}",
"public static void print(int x)\n {\n\n }",
"void methodA() {\n\t\tSystem.out.println(\"Method A\");\n\t}",
"public static void printInfo(){\n }",
"public void method(String name) {\n System.out.printf(\"Called method with parameters %s \\n\", name);\n }",
"public void print() { /* FILL IN */ }",
"private void sysout() {\nSystem.out.println(\"pandiya\");\n}",
"@Override\n\tpublic void absMethod() {\n\t\tSystem.out.println(\"This is extends from AbstactClass.\");\n\t\t\n\t}",
"public static void main(String[] args) {\n\r\n\t\tSystem.out.println(new c4().capitalize(\"aAC!00xsAAa\"));\r\n\t}",
"@Override\n public void infixDisplay() {\n System.out.print(name);\n }",
"public String print (final String tab)\n {\n return tab + toString ();\n }",
"private void printWelcome()//Method was given\n {\n System.out.println();\n System.out.println(\"Welcome to Zork!\");\n System.out.println(\"This Zork is a new adventure game. Find your way through the building and get to the exit by solving riddles and escaping each room. Good luck!\");\n System.out.println(\"Type 'help' to see a list of command words that you can use to play the game.\");\n System.out.println();\n System.out.println(currentRoom.longDescription());\n }",
"public static void main(String[] args) {\n\t\tnameAndAddress();\n\t\tSystem.out.println(\" \");\n\t\tSystem.out.println(\"This is the first method that I have ever created! Cool stuff!\");\n\t}",
"public abstract String mo9091a();",
"public static String a(BaseObject obj)\n\t{\t\t\n\t\treturn Format.a(obj.name());\n\t}",
"void vorbereiten(){\n\t\tSystem.out.println(\"vorbereiten \");\n\t}",
"void printInfo();",
"public void sendeZug(String zug);",
"public static void main(String[] args) {\n\tpublic static void vertical (String str))\n\tsystem.out.println(\"The call of vertical (\\\"\" +strt\"\\\") produce the followin output:\");\n\tfor (int i=o;i<str.length(); i++)\n\t{\n\t\t//Display the output\n\t\tSyste.out.println(str.charAt(i));\n\t}\n */\n}",
"@Override\n public void print() {\n System.out.println(\"Hello World Old Style!!\");\n }",
"private void withMethodBody(){\n\t\tSystem.out.print(\"This is without abstract \");\n\t\t}",
"@Override\n\tpublic void habla() {\n\t\tSystem.out.println(\"Miau, Miau!!\");\n\t}",
"public void printInfo(){\n\t}",
"public void printInfo(){\n\t}",
"@Override\n public String toString() {\n StringBuilder builder = new StringBuilder();\n builder.append(accessType.toString());\n if(staticMethod)\n builder.append(\" static \");\n else\n builder.append(\" \");\n builder.append(returnTypeName);\n builder.append(\" \");\n builder.append(name);\n builder.append(\"(\");\n if(arguments != null) {\n Iterator<String> it = arguments.iterator();\n if(it.hasNext()) {\n builder.append(it.next());\n }\n while(it.hasNext()) {\n builder.append(\", \");\n builder.append(it.next());\n }\n }\n builder.append(\")\");\n return builder.toString().trim();\n }",
"@Override\r\n\tpublic String toString() {\r\n\t\treturn abbrv;\r\n\t}",
"public final zzgol<zzgop<?>> zzn() {\n zzr();\n return this.zzae;\n }",
"public void show() {\n\t\t System.out.println(\"这是A型产品\"); \r\n\t}",
"public void printRecipt(){\n\n }",
"public abstract int zzh(int i, int i2, int i3);",
"static void print_the_address(int print_address){\n\t\tSystem.out.print(decimel_to_hexa(print_address)+\" : \");\n\t}",
"public static void printUpperCase()\n {\n for(char i = 'A'; i <= 'Z'; i++){\n System.out.print(i + \" \");\n }\n System.out.println();\n }",
"default void method3(String string)\n {\n System.out.println(string);\n }",
"public abstract void print();",
"abstract void print();",
"public void mo21800a() {\n }",
"static void print (){\n \t\tSystem.out.println();\r\n \t}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public static aa a() {\n }",
"public static void main(String[] args) {\n System.out.println(AIS_SART.toString());\n System.out.println(AT_ANCHOR.toString());\n }",
"public abstract void zzf(Object obj);",
"@Override\n\tpublic int af() {\n\t\tSystem.out.println(\"ddddd\");\n\t\treturn 0;\n\t}",
"public void Display_A(String string) {\n\t\t\r\n\t}",
"public static void main(String[] args) {\n\t\tSystem.out.println(\"456\");\n\t\tpailie(\"ABCD\", \"\");\n\t}",
"public static void main(String args[]) throws CloneNotSupportedException, ClassNotFoundException, IOException{\n\t\tchar xyz=Character.toUpperCase('a');\n\t\tSystem.out.println(xyz);\n\t \n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\tSystem.out.println(\"´óTÐô\");\n\t}",
"public static void print() { //This is a Java method,Which will print \"Hello World\" on the cmd prompt.\n //Note : Keywords used : -\n //public : for the public access of method anywhere in this file or Another file.\n //static : It is used for a constant variable or a method that is same for every instance of a class.\n //void : returns nothing.\n System.out.println(\"Hello World\");\n }",
"public static void main(String[] args){\n printcom(0 , 4 , 0 , 2 , \"\");\n \n}",
"@Override\n\tpublic void aaa() {\n\t\t\n\t}",
"@Override\n\tpublic void print() {\n\t\tsuper.print();\n\t\tSystem.out.println(alcohol);\n\t}",
"@Override\n\tpublic void falar() {\n\t\tSystem.out.println(\"Kuack\");\n\t}",
"void printBattle(ConsolePrinter printer);",
"public void test(){//no input no output\n System.out.println(\"test method\");\n\n }",
"@Override\r\n\tvoid ac() {\n\t\tSystem.out.println(\"normal ac\");\r\n\t}",
"public void nace() {\n System.out.println(\"Ostia, acabo de nacer tío.\");\n }",
"void printFleet(ConsolePrinter printer);",
"@Override\n\tvoid name() {\n\t\tSystem.out.println(\"name is sai krishna\");\n\t}",
"@Override\r\n\tpublic void alimentar() {\n\t\tSystem.out.print(\" como carne, yummy, yummy\");\r\n\t}",
"public static void main(String[] args) {\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\t// write a for loop, that will print letter from a to z.\n\t\t\t\n\t\t\t//i -- it's an index\n\t\t\t//if index id even, print from z to a\n\t\t\tif (i % 2 == 0) {\n\t\t\tfor (char letter = 'A'; letter <= 'Z'; letter++) {\n\t\t\t\tSystem.out.print(letter);\n\t\t\t}\n\t\t\t//of index is odd (it means 1, 3, 5) print from z to a\n\t\t\t}else {\n\t\t\t\tfor (char letter = 'Z'; letter >= 'A'; letter--) {\n\t\t\t\t\tSystem.out.print(letter);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.println(\"*********************\");\n\t\t}\n\t}",
"@Override\n\tprotected void print() {\n\t\tSystem.out.println(\"-----------\"+this.getName()+\"\");\n\t}"
]
| [
"0.59672874",
"0.59554493",
"0.5746995",
"0.5736258",
"0.5667017",
"0.5648505",
"0.5608034",
"0.55979025",
"0.55966073",
"0.5577973",
"0.5577973",
"0.5577973",
"0.5577973",
"0.5575206",
"0.556547",
"0.5564069",
"0.5549883",
"0.55432975",
"0.55323935",
"0.54847956",
"0.54800653",
"0.54800653",
"0.54800653",
"0.54800653",
"0.54800653",
"0.5474029",
"0.5433526",
"0.54214084",
"0.5405091",
"0.54028434",
"0.5383612",
"0.5381614",
"0.5348985",
"0.5342462",
"0.5290593",
"0.528869",
"0.52817494",
"0.52813315",
"0.52782947",
"0.5276207",
"0.527591",
"0.5272118",
"0.52484477",
"0.5247245",
"0.5235435",
"0.5232688",
"0.5230888",
"0.5230888",
"0.52189946",
"0.52042335",
"0.51976126",
"0.51894844",
"0.51863456",
"0.51857805",
"0.5183217",
"0.51819193",
"0.5165277",
"0.51643246",
"0.51620185",
"0.51611054",
"0.51509523",
"0.51410794",
"0.51401275",
"0.51401275",
"0.5138939",
"0.51354504",
"0.51342195",
"0.513211",
"0.5131802",
"0.51311535",
"0.5127537",
"0.51268154",
"0.5124459",
"0.51216996",
"0.51206434",
"0.5118513",
"0.5117925",
"0.5113923",
"0.51138777",
"0.51120955",
"0.51045734",
"0.51033276",
"0.5100006",
"0.5099324",
"0.50968874",
"0.5093329",
"0.50930494",
"0.5090637",
"0.5086435",
"0.5080131",
"0.5066328",
"0.5063916",
"0.50554657",
"0.504524",
"0.50431484",
"0.50402033",
"0.5037416",
"0.50372297",
"0.5036783",
"0.5033856"
]
| 0.6749977 | 0 |
Remove a bunch of mr files from a directory. Will print a line mentioning the delete for each entry. Assumes standard naming scheme for entries as usual. | public static boolean removeMRFiles( String dir, ArrayList entries_todelete ) {
for (Iterator i=entries_todelete.iterator(); i.hasNext();) {
String entry_code = (String) i.next();
String fname = dir + File.separator + entry_code + ".mr";
File f = new File(fname);
if ( ! f.delete() ) {
General.showError("in MRAnnotate.removeMRFiles found:");
General.showError("Deleting the annotated MR file ["+fname+"]");
return false;
} else {
General.showOutput("Deleted the annotated MR file for entry: ["+entry_code+"]");
}
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static boolean removeMRFilesInteractively( String dir, ArrayList entries_todelete ) {\n \n// String reply = \"bogus\";\n boolean status;\n \n General.showOutput(\"Entries to delete: [\" + entries_todelete.size() + \"]\");\n General.showOutput(\"Entries to delete: \" + entries_todelete.toString() );\n \n General.showWarning(\"answering yes to the following question will lead to\");\n General.showWarning(\"deleting work that might not be recovered!\");\n \n String prompt = \"Delete ALL the MR files for the above entries from the directory:\"+dir+\"?\";\n if ( Strings.getInputBoolean( in, prompt ) ) {\n General.showOutput(\"Deleting the annotated MR files listed above.\");\n status = removeMRFiles( dir, entries_todelete );\n if ( ! status ) {\n General.showError(\"in MRAnnotate.removeMRFilesInteractively found:\");\n General.showError(\"Deleting the annotated MR files failed.\");\n return false;\n }\n }\n return true;\n }",
"public void printRemoval() {\n System.out.println(\"\\n\" + \"=== Removed Files ===\");\n List<String> deleting = Utils.plainFilenamesIn(REMOVAL);\n for (String filesName: deleting) {\n System.out.println(filesName);\n }\n }",
"public static boolean removeMRFilesInteractivelyFromDB( ArrayList entries_todelete ) {\n \n// String reply = \"bogus\";\n boolean status;\n \n General.showOutput(\"Entries to delete: [\" + entries_todelete.size() + \"]\");\n General.showOutput(\"Entries to delete: \" + entries_todelete.toString() );\n \n General.showWarning(\"answering yes to the following question will lead to\");\n General.showWarning(\"deleting work that might not be recovered!\");\n \n String prompt = \"Delete ALL the MR files for the above entries from the DB?\";\n if ( Strings.getInputBoolean( in, prompt ) ) {\n General.showOutput(\"Deleting the annotated MR files listed above.\");\n status = removeMRFilesFromDB( entries_todelete );\n if ( ! status ) {\n General.showError(\"in MRAnnotate.removeMRFilesInteractively found:\");\n General.showError(\"Deleting the annotated MR files failed.\");\n return false;\n }\n }\n return true;\n }",
"public static boolean removeMRFilesFromDB( ArrayList entries_todelete ) {\n \n boolean status = sql_epiII.deleteMRFilesByPDBIdsByDetail(\n entries_todelete, SQL_Episode_II.FILE_DETAIL_CLASSIFIED );\n if ( ! status ) {\n General.showError(\"in MRAnnotate.removeMRFilesFromDB found:\");\n General.showError(\"Deleting the annotated MR files:\" + entries_todelete);\n return false;\n } else {\n General.showOutput(\"Deleted the annotated MR files:\" + entries_todelete);\n }\n return true;\n }",
"public void deleteMoreFile() {\n\t\tFile outfile = new File(outFileString);\n\t\tFile files[] = outfile.listFiles();\n\t\tfor (int i = 0; i < files.length; i++) {\n\t\t\tString name = files[i].getAbsolutePath();\n\t\t\tif ((!name.contains(\"SICG\")) && (!name.contains(\"AndroidManifest.xml\"))) {\n\t\t\t\tDirDelete delete = new DirDelete();\n\t\t\t\tdelete.deleteDir(files[i]);\n\t\t\t}\n\t\t}\n\t}",
"private void deleteFilesFromDirectory(ArrayList<File> files)\n {\n for(File file:files) {\n Log.i(\"file\",\"indide\"+file.getPath());\n if (file.exists()) {\n Log.i(\"file\",\"exist\"+file.getPath());\n if (file.delete()) {\n Log.i(\"file\",\"delted successfully\"+file.getPath());\n } else {\n Log.i(\"file\",\"unable to delte file\"+file.getPath());\n }\n }\n }\n }",
"private void handleRmd(String dir) {\n String filename = currDirectory;\n\n // only alphanumeric folder names are allowed\n if (dir != null && dir.matches(\"^[a-zA-Z0-9]+$\")) {\n filename = filename + fileSeparator + dir;\n\n // check if file exists, is directory\n File d = new File(filename);\n\n if (d.exists() && d.isDirectory()) {\n d.delete();\n\n sendMsgToClient(\"250 Directory was successfully removed\");\n } else {\n sendMsgToClient(\"550 Requested action not taken. File unavailable.\");\n }\n } else {\n sendMsgToClient(\"550 Invalid file name.\");\n }\n\n }",
"@Override\n\t\t\tpublic void run() {\n\t\t\t\tFile dir = new File(\"src/reports\");\n\t\t\t\tfor (File file : dir.listFiles())\n\t\t\t\tif (!file.isDirectory())\n\t\t\t\tfile.delete();\n\t\t\t\t}",
"public static void deleteAllMediaThumbIntStg() {\n File[] subDirectory = PathUtil.INTERNAL_MAIN_DIRECTORY.listFiles();\n for (File aSubDirectory : subDirectory) { //looping sub folders\n String[] files = aSubDirectory.list();\n //if (!aSubDirectory.getName().equals(PathUtil.INTERNAL_SUB_FOLDER_CHAT_IMAGE)) { //except chat image folder\n for (String file : files) {\n File f = new File(aSubDirectory, file);\n delete(f);\n //LogUtil.e(\"StorageUtil\", \"deleteAllMediaThumbIntStg\");\n }\n delete(aSubDirectory);\n //}\n }\n }",
"private void deleteDhiFiles(File f) {\n\t\tString hdfName = f.getName().substring(0, f.getName().lastIndexOf(\".\"));\n\t\tFile dirFile = new File(f.getParent());\n\t\tfor (File file : dirFile.listFiles()) {\n\t\t\tString fileName = file.getName();\n\t\t\tif (fileName.contains(hdfName)) {\n\t\t\t\tSystem.out.println(\"Delete: \" + fileName);\n\t\t\t\tfile.delete();\n\t\t\t}\n\t\t}\n\t}",
"public static void Deletefiles() throws Throwable\r\n\t{\r\n\t\tString filePath, timestamp;\r\n\t\tDate date = new Date();\r\n\t\ttimestamp = new SimpleDateFormat(\"MMMdd\").format(date);\r\n\t filePath = \"./target/screenshots/\" + timestamp;\r\n\t\tFile file = new File(filePath);\r\n\t\t\r\n\t\tString[] evdFiles;\r\n\t\tif (file.isDirectory())\r\n\t\t{\r\n\t\t\tevdFiles = file.list();\r\n\t\t\tSystem.out.println(\"number of files ::: \"+evdFiles.length);\r\n\t\t\tfor (int i = 0; i < evdFiles.length; i++)\r\n\t\t\t{\r\n\t\t\t\tFile evdFile = new File(file, evdFiles[i]);\r\n\t\t\t\tSystem.out.println(\"File to be deleted ::: \"+evdFile);\r\n\t\t\t\tif (!evdFile.isDirectory())\r\n\t\t\t\t{\r\n\t\t\t\t\tevdFile.delete();\r\n\t\t\t\t\tSystem.out.println(\"File deleted\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\ti = 0;\r\n\t}",
"void deleteChains() {\n\t\tif (!params.isDebug()) {\n\t\t\tfor (File deleteCandidate : toDelete) {\n\t\t\t\tdeleteCandidate.delete();\n\t\t\t\t\n\t\t\t\ttry (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(deleteCandidate.toPath())) {\n\t\t\t\t\tfor (Path path : directoryStream) {\n\t\t\t\t\t\tif (!path.getFileName().toString().endsWith(\"_SCWRLed.pdb\")) {\n\t\t\t\t\t\t\tpath.toFile().delete();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} catch (IOException ex) {\n\t\t\t\t\tex.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public void deleteAdbLogFiles() {\n\t\t\n\t\ttry {\n\n\n\t\t\tSystem.out.println(\"<-----------------------DELETING ADB LOG Files----------------->\");\n\n\t\t\tFile dir = new File(\"src/test/resources/adbLogs\");\n\t\t\tif(dir.isDirectory() == false) \n\t\t\t{\n\t\t\t\tSystem.out.println(\"Not a directory. Do nothing\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tFile[] listFiles = dir.listFiles();\n\t\t\tfor(File file : listFiles)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Deleting \"+file.getName());\n\t\t\t\tfile.delete();\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\n\t\t\te.printStackTrace();\n\n\t\t}\n\n\n\t}",
"private void clearClipsDirectory(){\n /* Citation : http://helpdesk.objects.com.au/java/how-to-delete-all-files-in-a-directory#:~:text=Use%20the%20listFiles()%20method,used%20to%20delete%20each%20file. */\n File directory = new File(Main.CREATED_CLIPS_DIRECTORY_PATH);\n File[] files = directory.listFiles();\n if(files != null){\n for(File file : files){\n if(!file.delete()) System.out.println(\"Failed to remove file \" + file.getName() + \" from \" + Main.CREATED_CLIPS_DIRECTORY_PATH);\n }\n }\n }",
"private void prune(java.io.File localDir, List<File> driveFiles, boolean dir) {\n java.io.File[] localArray = localDir.listFiles();\n for (java.io.File f : localArray) {\n if (!dir) {\n // only consider folders\n if (!f.isDirectory())\n continue;\n } else {\n // only consider files\n if (f.isDirectory())\n continue;\n }\n boolean found = false;\n String lname = f.getName();\n for (File gf : driveFiles) {\n String gname = gf.getTitle();\n if (lname.equals(gname))\n found = true;\n }\n if (!found) {\n Log.e(\"DELETE PRUNE\", f.getParentFile().getName() + \"/\" + f.getName());\n deleteFile(f);\n }\n }\n }",
"@Override\n public FileVisitResult postVisitDirectory(Path dir,\n IOException exc)\n throws IOException {\n Files.delete(dir);\n System.out.printf(\"Directory is deleted : %s%n\", dir);\n return FileVisitResult.CONTINUE;\n }",
"void remove(long directoryId, String userName);",
"public static native void deleteTreesBelow(String dir) throws IOException;",
"@InterfaceAudience.Private\n @VisibleForTesting\n void cleanLogs(Path dirpath, long retainMillis)\n throws IOException {\n long now = Time.now();\n RemoteIterator<FileStatus> iter = list(dirpath);\n while (iter.hasNext()) {\n FileStatus stat = iter.next();\n if (isValidClusterTimeStampDir(stat)) {\n Path clusterTimeStampPath = stat.getPath();\n MutableBoolean appLogDirPresent = new MutableBoolean(false);\n cleanAppLogDir(clusterTimeStampPath, retainMillis, appLogDirPresent);\n if (appLogDirPresent.isFalse() &&\n (now - stat.getModificationTime() > retainMillis)) {\n deleteDir(clusterTimeStampPath);\n }\n }\n }\n }",
"private void prune(java.io.File localDir, List<File> driveFiles) {\n java.io.File[] localArray = localDir.listFiles();\n for (java.io.File f : localArray) {\n boolean found = false;\n String lname = f.getName();\n for (File gf : driveFiles) {\n String gname = gf.getTitle();\n if (lname.equals(gname))\n found = true;\n }\n if (!found) {\n Log.e(\"DELETE PRUNE\", f.getParentFile().getName() + \"/\" + f.getName());\n deleteFile(f);\n }\n }\n }",
"public void removeIndex(String dir) {\n\t\tFile dirToRemove = new File(dir);\n\t\tFile[] contents = dirToRemove.listFiles();\n\t\tif (contents != null) {\n\t\t\tfor (File file : contents) {\n\t\t\t\tfile.delete();\n\t\t\t}\n\t\t}\n\t\tdirToRemove.delete();\n\t}",
"private void cleanDirectory(File dir) {\n File[] files= dir.listFiles();\n if (files!=null && files.length>0) {\n for (File file: files) {\n delete(file);\n }\n }\n }",
"void fileDeleted(String path);",
"private void recDelete(File file) {\n if (!file.exists()) {\n return;\n }\n if (file.isDirectory()) {\n File[] list = file.listFiles();\n if (list != null) {\n for (File f : list) {\n recDelete(f);\n }\n }\n }\n file.delete();\n }",
"public ArrayList<String> deletedButNotStaged(\n HashMap<String, Blob> allFiles) {\n ArrayList<String> result = new ArrayList<>();\n for (String fileName: Utils.plainFilenamesIn(Main.CWD)) {\n if (allFiles.get(fileName) != null) {\n allFiles.remove(fileName);\n }\n }\n List<String> deletingStage = Utils.plainFilenamesIn(REMOVAL);\n for (String fileName: deletingStage) {\n if (allFiles.get(fileName) != null) {\n allFiles.remove(fileName);\n }\n }\n Set<String> keySet = allFiles.keySet();\n for (String file: keySet) {\n result.add(file + \" (deleted)\");\n }\n return result;\n }",
"public void cleanDirs() {\n\t\tfor (File f : files) {\n\t\t\tFileUtils.deleteDir(f.toString());\n\t\t}\n\t}",
"private void clearFiles() {\r\n File file = new File(\"test_files/upload\");\r\n File[] files = file.listFiles();\r\n for (File delFile : files) {\r\n delFile.delete();\r\n }\r\n file = new File(\"test_files/stress.jar\");\r\n file.delete();\r\n }",
"private void deleteResidualFile()\n\t{\n\t\tFile[] trainingSetFileName = directoryHandler.getTrainingsetDir().listFiles();\n\t\ttry\n\t\t{\n\t\t\tfor (int i = 1; i < nu; i++) trainingSetFileName[i].delete();\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public void removeFromAll(String path) {\n for (String device : this.execAdbDevices())\n this.remove(device, path);\n }",
"private static void deletePublicationDir(File pubDir) {\n System.out.println(\" Deleting contents of directory: \" + pubDir);\n for (File pubFile : pubDir.listFiles()) {\n if (pubFile.isFile()) {\n System.out.println(\" Deleting file: \" + pubFile);\n pubFile.delete();\n }\n }\n System.out.println(\" Now deleting directory: \" + pubDir);\n pubDir.delete();\n }",
"void deleteAllMessages() throws IOException;",
"public synchronized void cleanupSimple() {\n\t\tfinal int maxNumFiles = 1000;\n\t\tfinal int numFilesToDelete = 50;\n\n\t\tString[] children = mStorageDirectory.list();\n\t\tif (children != null) {\n\t\t\tif (children.length > maxNumFiles) {\n\t\t\t\tfor (int i = children.length - 1, m = i - numFilesToDelete; i > m; i--) {\n\t\t\t\t\tFile child = new File(mStorageDirectory, children[i]);\n\t\t\t\t\ttry {\n\t\t\t\t\t\tchild.delete();\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public void removeFiles() throws ServiceException;",
"public static void showFiles(File[] files) {\n\t\tfor (File file : files) {\n\t\t\tif (file.isDirectory()) {\n\t\t\t\tfoldersWithoutReceipt.add(file.getAbsolutePath());\n\t\t\t\t// System.out.println(\"Directory: \" + file.getAbsolutePath());\n\t\t\t\tshowFiles(file.listFiles());\n\n\t\t\t} else {\n\t\t\t\t// System.out.println(\"File: \" + file.getParent());\n\t\t\t\tinvestigatedFolder = file.getParent();\n\t\t\t\tif (file.getName().startsWith(\"receip\")) {\n\t\t\t\t\tfoldersWithoutReceipt.remove(investigatedFolder);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public static void wipe(String directory, String keyword)\t{\n\t\tArrayList<String> filePaths = OncAnnotator.getPaths(directory);\n\t\tfor(String path:filePaths) {\n\t\t\tFile f = new File(path);\n\t\t\tif (!f.getAbsolutePath().contains(keyword)) { //Deletes a file without the keyword\n\t\t\t\tf.delete();\n\t\t\t}\n\t\t}\n\t}",
"public void deleteFile() {\n\t\tif (JOptionPane.showConfirmDialog(desktopPane,\n\t\t\t\t\"Are you sure? this action is permanent!\") != JOptionPane.YES_OPTION)\n\t\t\treturn;\n\n\t\tEllowFile file = null;\n\t\tTreePath paths[] = getSelectionModel().getSelectionPaths();\n\t\tif (paths == null)\n\t\t\treturn;\n\t\tfor (TreePath path : paths) {\n\t\t\tDefaultMutableTreeNode node = (DefaultMutableTreeNode) path\n\t\t\t\t\t.getLastPathComponent();\n\t\t\tfile = (EllowFile) node.getUserObject();\n\t\t\tEllowynProject project = file.parentProject;\n\t\t\tfile.deleteAll();\n\t\t\tif (!file.isProjectFile && project != null)\n\t\t\t\tproject.rebuild(); // don't rebuild the project if the project\n\t\t\t\t\t\t\t\t\t// itself is deleted\n\t\t\tdesktopPane.closeFrames(file);\n\t\t\tmodel.removeNodeFromParent(node);\n\t\t}\n\t}",
"public void cleanup(Appendable err) throws IOException {\n\n String[] toRemove = {\".data\", \".properties\", \".script\", \".tmp\", \".log\"};\n\n for (String aToRemove : toRemove) {\n String tmpFile = \"\" + Globals.DBname + aToRemove;\n File f = new File(tmpFile);\n if (f.exists()) {\n\n f.delete();\n err.append(\"Abacus disk clean up: removing \" + tmpFile + \"\\n\");\n\n }\n }\n err.append(\"\\n\");\n }",
"public void deleteFiles(File directory) {\n File[] contents = directory.listFiles();\n if (contents != null) {\n for (File file : contents) {\n deleteFiles(file);\n }\n }\n directory.delete();\n }",
"public void deleteMapName(String name){\n\t\tLinkedList<String> names=new LinkedList<String>();\n\t\t\n\t\tboolean present = false;\n\t\tFileReader r;\n\t\ttry {\n\t\t\tr = new FileReader (\"mapRecords.txt\");\n\t\t\tBufferedReader b = new BufferedReader (r);\n\t\t\tString s=b.readLine();\n\t\t\t\n\t\t\twhile(s!=null){\n\t\t\t\tif(s.equals(name))\n\t\t\t\t\tpresent =true; \n\t\t\t\t\n\t\t\t\tnames.add(s);\n\t\t\t\ts=b.readLine();\n\t\t\t\t\n\t\t\t}\n\n\t\t\tr.close();\n\t\t\tb.close();\n\t\t\t\n\t\t\t\n\t\t} catch (FileNotFoundException e) {\n\t\t\tSystem.out.println(\"File not found\");\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t\t\tSystem.out.println(\"Can't read file\");\n\t\t}\n\t\t\n\n\t\tif (present){\n\t\t\tnames.remove(name);\n\t\t\t\n\t\t\ttry {\n\t\t\t\tFileWriter w= new FileWriter(new File(\"mapRecords.txt\"));\n\t\t\t\tfor (String n: names){\n\t\t\t\t\tw.write(n+\"\\n\");\n\t\t\t\t\tw.write(System.lineSeparator())\t;\n\t\t\t\t}\t\n\t\t\t\tw.flush();\n\t\t\t\tw.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t//e.printStackTrace();\n\t\t\t\tSystem.out.println(\"Can't write to the file\");\n\t\t\t}\n\t\t}\n\t\telse //there is nothing to remove the file is not present \n\t\t\treturn;\n\t\t\n\t}",
"private void deletion(String pids) {\n\t\tDeletions(pids);\n\t\t\n\t}",
"private void cleanFolder(File[] files) {\n \t\t\n \t\tif (files != null) {\n \t\t\t// Iterate the files\n \t\t\tfor (int i = 0; i < files.length; i++) {\n \t\t\t\tFile f = files[i];\n \t\t\t\t// If the file is a directory, remove its contents recursively\n \t\t\t\tif (f.isDirectory()) {\n \t\t\t\t\tcleanFolder(f.listFiles());\n \t\t\t\t}\n \t\t\t\t// Remove the file if it is a class file\n \t\t\t\tif (f.getName().endsWith(\".class\"))\n \t\t\t\t\tf.delete();\n \t\t\t}\n \t\t}\n \t}",
"public void EliminarArchivos(){\n\t\ttry{\n\t\tFile Delete = new File(\"Cod.txt\");\n\t\tDelete.deleteOnExit();\n\t\tFile Borrar = new File(\"Maq.txt\");\n\t\tBorrar.deleteOnExit();\n\t\tFile eliminar = new File(\"WS.txt\");\n\t\teliminar.deleteOnExit();\n\t\tFile Bye = new File(\"RESPALDO.txt\");\n\t\tBye.deleteOnExit();\n\t\t\tBufferedReader numero= new BufferedReader(new FileReader(\"WS.txt\"));\n\t\t\tString valor = numero.readLine();\n\t\t\tint NumAreas= Integer.valueOf(valor);\n\t\t\tfor(int i=0; i< NumAreas;i++){\n\t\t\t\tvalor= numero.readLine();\n\t\t\t\tFile eliminas = new File(\"WS\"+valor+\".txt\");\n\t\t\t\teliminas.deleteOnExit();\n\t\t\t}\n\t\t\tnumero.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"File not found\");\n\t\t}\n\t}",
"@Override\n public FileVisitResult postVisitDirectory(Path dir, IOException e) throws IOException{\n if (e == null) {\n Files.deleteIfExists(dir);\n }\n return FileVisitResult.CONTINUE;\n }",
"public static void main(final String[] args) throws ParseException, IOException {\n final CommandLineParser parser = new GnuParser();\n final Options options = getCLIOptions();\n final CommandLine cmd;\n\n try {\n cmd = parser.parse(options, args);\n } catch (final ParseException e) {\n final String cmdLineSyntax =\n String.format(\"java -cp [jar_name] com.uber.marmaray.tools.HDFSMetadataCuller \"\n + \"-%s [METADATA_PATH] -%s [NUM_METADATA_FILES_RETAINED] -%s [FAKE_DELETE_BOOLEAN]\",\n HDFS_PATH_SHORT_OPTION, NUM_METADATA_FILES_RETAINED_SHORT_OPTION, FAKE_DELETE_SHORT_OPTION);\n final String header = \"This tool prunes metadata files for an HDFS path by modification time\";\n final String footer = \"For help, please contact the Hadoop Data Platform team\";\n CommandLineUtil.printHelp(options, cmdLineSyntax, header, footer);\n throw e;\n }\n\n final Path metadataPath = new Path(cmd.getOptionValue(HDFS_PATH_LONG_OPTION));\n\n final int numFilesToRetain = cmd.hasOption(NUM_METADATA_FILES_RETAINED_LONG_OPTION)\n ? Integer.parseInt(cmd.getOptionValue(NUM_METADATA_FILES_RETAINED_LONG_OPTION))\n : HDFSMetadataManager.DEFAULT_NUM_METADATA_FILES_TO_RETAIN;\n\n Preconditions.checkState(numFilesToRetain > 0, \"Number of files to retain cannot be <= 0\");\n\n final boolean fakeDelete = cmd.hasOption(FAKE_DELETE_LONG_OPTION)\n ? Boolean.parseBoolean(cmd.getOptionValue(FAKE_DELETE_LONG_OPTION))\n : false;\n\n final Configuration conf = new Configuration();\n final FileSystem fs = FSUtils.getFs(conf, Optional.absent());\n\n if (fs.isDirectory(metadataPath)) {\n final FileStatus[] fileStatuses = fs.listStatus(metadataPath);\n\n if (fileStatuses.length < numFilesToRetain) {\n log.info(\"No files were deleted. Number of files ({}) is less than number to retain ({})\",\n fileStatuses.length, numFilesToRetain);\n return;\n }\n\n FSUtils.deleteHDFSMetadataFiles(fileStatuses, fs, numFilesToRetain, fakeDelete);\n } else {\n log.warn(\"Cannot prune any files, the path {} is not a directory\", metadataPath);\n }\n }",
"protected static void deleteTrash() {\n\t\tArrays.stream(new File(\".\").listFiles())\n\t\t\t.filter(f -> f.getName().startsWith(\"_tmp.\"))\n\t\t\t.forEach(File::delete);\n\t}",
"public void deleteGeneratedFiles();",
"public static ArrayList getEntriesFromMRFiles( String dir ) {\n \n ArrayList entries = new ArrayList();\n \n File rdir = new File( dir );\n String[] mr_files = rdir.list( new FilenameFilter() {\n public boolean accept(File d, String name) { return name.endsWith( \".mr\" ); }\n });\n \n if (mr_files == null) {\n General.showWarning(\"Found NO entries on file in directory: \" + dir);\n return (entries);\n }\n \n File f;\n String fname, entry_code;\n \n // Check if the code conforms\n for (int i=0; i<mr_files.length; i++) {\n f = new File(mr_files[i]);\n fname = f.getPath();\n entry_code = fname.substring(0,4);\n // Check whether that's reasonable by matching against reg.exp.\n if ( Wattos.Utils.Strings.is_pdb_code( entry_code ) ) {\n entries.add( entry_code );\n } else {\n General.showWarning(\"Skipping this file.\");\n General.showWarning(\"String for filename [\"+fname+\n \"] doesn't look like a pdb code: \" + entry_code);\n }\n }\n Collections.sort(entries);\n return (entries);\n }",
"public String removeEntry(String n, int d, int m, int y)\r\n\t{\r\n\t\tfor (Entry ent : tr)\r\n\t\t{\r\n\t\t\tif (n.equals(ent.getName()) && d == ent.getDay() && m == ent.getMonth() && y == ent.getYear())\r\n\t\t\t{\r\n\t\t\t\ttr.remove(ent);\r\n\t\t\t\treturn \"Entry removed.\";\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn \"Entry not found\";\r\n\t}",
"public void deleteAllBookMarksOfFolder (long folderId) throws BookMarkException;",
"private void deleteCacheFiles() {\n\n\t\t// get the directory file\n\t\tFile cache = new File(Constants.CACHE_DIR_PATH);\n\n\t\t// check if we got the correct instance of that directory file.\n\t\tif (!cache.exists() || !cache.isDirectory())\n\t\t\treturn;\n\n\t\t// gets the list of files in the directory\n\t\tFile[] files = cache.listFiles();\n\t\t// deleting\n\n\t\tdeleteFiles(cache);\n\t\tfiles = null;\n\t\tcache = null;\n\n\t}",
"@RequestMapping(value=\"/remove/{filename}&{subdir}\", method = RequestMethod.GET)\r\n public String processRemoveFile(@PathVariable String filename, @PathVariable String subdir, Locale locale, Model model, HttpServletRequest request) {\r\n\t\t\r\n\t\tlogger.info(\"Delete file: \" + filename + \" in \" + QRDA_URIResolver.REPOSITORY_TESTFILES + \"/\" + subdir);\r\n\t\tfileService.deleteFile(filename, QRDA_URIResolver.REPOSITORY_TESTFILES, subdir);\r\n\t\treturn \"redirect:/testFiles\";\r\n\t}",
"public static void main(String[] args) throws FileNotFoundException {\n\t\t\r\n\t\t\r\n\t\tDList list = new DList();\r\n\t\t\r\n\t\tFile input = new File(\"file.txt\");\r\n\t\t\r\n\t\tScanner read = new Scanner(input);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\twhile(read.hasNextLine() ) {\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tString name = read.next();\r\n\t\t\t\r\n\t\t\tif(!name.contains(\"delete\") )\r\n\t\t\t\t\tlist.add(name);\r\n\t\t\t\r\n\t\t\tif(name.contains(\"delete\") ) { \r\n\t\t\t\tname = read.next();\t\t\t\t\r\n\t\t\t\tlist.delete(name);\t\t\t\t\r\n\t\t\t}\t\t\t\r\n\t}\r\n\t\t\r\n\t\tread.close();\r\n\t\t\r\n\t\tlist.traverse();\r\n\t\t\r\n\t\t//list.traverseBack();\r\n\r\n\t}",
"public static void deleteEverythingInPath(String path) {\n try {\n Path rootPath = Paths.get(path);\n Files.walk(rootPath, FileVisitOption.FOLLOW_LINKS)\n .sorted(Comparator.reverseOrder())\n .map(Path::toFile)\n .peek(System.out::println)\n .forEach(File::delete);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"public String do_rmdir(String pathOnServer) throws RemoteException {\r\n\t\tString directoryPath = pathOnServer;\r\n\t\tString message;\r\n\t\t\r\n\t\t\tFile dir = new File(directoryPath);\r\n\t\t\tif (!dir.isDirectory()) {\r\n\t\t\t\tmessage = \"Invalid directory\";\t}\t\r\n\t\t\telse {\r\n\t\t\t\t\r\n\t\t\tif(dir.list().length>0) {\r\n\r\n\t\t\tFile[] filesList = dir.listFiles();\r\n\t\t\t//Deleting Directory Content\r\n\t\t\tfor(File file : filesList){\r\n\t\t\t\tSystem.out.println(\"Deleting \"+file.getName());\r\n\t\t\t\tfile.delete();\r\n\t\t\t}}\r\n\t\t\tif (dir.delete()) message =\"Successfully deleted the Directory: \" + directoryPath ;\r\n\t\t\telse message =\"Error deleting the directory: \" + directoryPath ;\r\n\t\t\t}//else end \r\n\t\treturn message;\r\n\t}",
"public static void rmBirtRpts(String[] fileNameArr, String userName)\n\t{\n\t\trmDumbFiles(fileNameArr, userName);\n\t\t//2. Delete dumb rpt data from table BSM_REPORT\n\t\tdeleteDumbFileDataFromDb(fileNameArr, userName);\n\t}",
"void deleteTagDirectory() {\n\n try {\n\n Log.i(\"Deleting Tag Directory\", tag_directory.toString());\n FileUtils.deleteDirectory(tag_directory);\n } catch (IOException e) {\n\n }\n\n }",
"private void DeleteCMVMMVData() {\n String path = GetFilePath();\r\n File dir = new File(path);\r\n for (File file : dir.listFiles())\r\n if (!file.isDirectory())\r\n file.delete();\r\n DownloadCMVMMVFiles();//state, circle, ran, div\r\n }",
"public void clean()\r\n {\r\n // DO NOT TOUCH\r\n // System.out.println(unzipedFilePath);\r\n\r\n // only clean if there was a successful unzipping\r\n if (success)\r\n {\r\n // only clean if the file path to remove matches the zipped file.\r\n if (unzippedFilePath.equals(zippedFilePath.substring(0,\r\n zippedFilePath.length() - 4)))\r\n {\r\n // System.out.println(\"to be implmented\");\r\n for (File c : outputDir.listFiles())\r\n {\r\n // System.out.println(c.toString());\r\n if (!c.delete())\r\n {\r\n System.out.println(\"failed to delete\" + c.toString());\r\n }\r\n }\r\n outputDir.delete();\r\n outputDir = null;\r\n }\r\n }\r\n }",
"private void deleteAllBooks() {\n int booksDeleted = getContentResolver().delete(BookEntry.CONTENT_URI, null, null);\n Log.v(\"MainActivity\", booksDeleted + getString(R.string.all_deleted));\n }",
"private void deleteFile() {\r\n actionDelete(dataModelArrayList.get(position));\r\n }",
"@Override\n public void deleteFiles(Collection<String> absolutePaths) {\n gemFileDb.delete(absolutePaths);\n }",
"private static void rm(Gitlet currCommit, String[] args) {\n if (args.length != 2) {\n System.out.println(\"Please input the file to remove\");\n return;\n }\n Commit headCommit = currCommit.tree.getHeadCommit();\n if (!headCommit.containsFile(args[1])\n && !currCommit.status.isStaged(args[1])) {\n System.out.println(\"No reason to remove the file.\");\n } else {\n currCommit.status.markForRemoval(args[1]);\n }\n addSerializeFile(currCommit);\n }",
"@Override\n public void removeDirectory(File directory, boolean recursive) throws FileNotFoundException, IOException {\n }",
"public static int deleteContents(File dir) {\n File[] files = dir.listFiles();\n if (files == null) {\n return 0;\n } else {\n return Stream.of(files)\n .mapToInt(file -> {\n if (file.isDirectory()) {\n int count = deleteContents(file);\n file.delete();\n return count;\n } else {\n return file.delete() ? 1 : 0;\n }\n })\n .sum();\n }\n }",
"public void deleteAllArtisti() throws RecordCorrelatoException;",
"protected void applyPendingDeletes ()\n {\n while (!m_aDeleteStack.isEmpty ())\n removeMonitoredFile (m_aDeleteStack.pop ());\n }",
"public void rd(String[] tokens)\n {\n //verfica que el identificador exista\n //lee los identificadores que estan en el arbol\n boolean encontrado = archivo.buscarEnArbol(directorioActual, tokens[1]);\n //si existe\n if(encontrado)\n {\n //se asegura que el archivo a borrar sea un directorio\n String tipo = archivo.buscarTipo(directorioActual, tokens[1]);\n if(tipo.equals(\"dir\"))\n {\n //se asegura que el directorio esté vacío\n if(archivo.contarHijos(tokens[1]) > 0)\n {\n System.out.println(\" ERROR 012: El directorio no está vacío\");\n }\n else\n {\n //llama al método para borrar el directorio\n archivo.borrarDirectorio(directorioActual, tokens[1], \"dir\");\n\n //le suma la memoria liberada al archivo MIDOSFREE\n //se lee el archivo con la memoria disponible\n String memoriaDisponible = archivo.leerMemoria();\n //se hace un parse para obtener la memoria en un int\n int memoriaActual = Integer.parseInt(memoriaDisponible);\n //se le suman 8K a la memoria y luego esta se actualiza\n memoriaActual += 8;\n archivo.modificarMemoria(String.valueOf(memoriaActual));\n }\n }\n //si intenta borrar un archivo, lo indica.\n else\n {\n System.out.println(\" ERROR: 020: El archivo a eliminar corresponde a un archivo\");\n }\n \n }\n //si no existe\n else\n {\n System.out.println(\" ERROR 013: No existe un directorio con ese nombre\");\n }\n }",
"void deleteTranslatedFiles(InformationResourceFile irFile);",
"@Override\n\tpublic void entriesDeleted(Collection<String> arg0) {\n\n\t}",
"public void deleteDirectoryEntriesFromCollection(\n TableServiceClient tableServiceClient, String tableName) {\n if (TableServiceClientUtils.tableExists(tableServiceClient, tableName)) {\n TableClient tableClient = tableServiceClient.getTableClient(tableName);\n tableClient.deleteTable();\n } else {\n logger.warn(\n \"No storage table {} found to be removed. This should only happen when deleting a file-less dataset.\",\n tableName);\n }\n }",
"private void expungeAllWatchListsFiles()\r\n {\r\n debug(\"expungeAllWatchListsFiles() - Delete ALL WATCHLIST Files\");\r\n\r\n java.io.File fileList = new java.io.File(\"./\");\r\n String rootName = getString(\"WatchListTableModule.edit.watch_list_basic_name\");\r\n String[] list = fileList.list(new MyFilter(rootName));\r\n for (int i = 0; i < list.length; i++)\r\n {\r\n StockMarketUtils.expungeListsFile(list[i]);\r\n }\r\n\r\n debug(\"expungeAllWatchListsFiles() - Delete ALL WATCHLIST Files - Complete\");\r\n }",
"public synchronized static void cleanOldFiles(Date old){\n\t\tfor(File item:context.getCacheDir().listFiles()){\n\t\t\tDate last = new Date(item.lastModified());\n\t\t\tif(last.before(old))\n\t\t\t\titem.delete();\n\t\t}\n\t}",
"public synchronized void delete(long entry) throws IOException {\n long startOfEntry = IDX_START_OF_CONTENT + (entry * bytesPerSlot);\n \n // Remove the entry by writing a '\\n' to the first byte\n idx.seek(startOfEntry);\n idx.writeChar('\\n');\n idx.write(new byte[bytesPerSlot - 2]);\n \n // Update the file header\n entries--;\n idx.seek(IDX_HEADER_ENTRIES);\n idx.writeLong(entries);\n \n logger.debug(\"Removed uri at address '{}' from index\", entry);\n }",
"void removeAllEntries();",
"public static void deleteDir(File dir) {\n\t if (dir.isDirectory()) {\n\t String[] children = dir.list();\n\t for (int i=0; i<children.length; i++) {\n\t File file = new File(dir, children[i]);\n\t log.info(\"Deleting file:\" + file.toString());\n\t file.delete();\n\t }\n\t }\n\t }",
"public static void removeLastElementFromDirectory(Renderer renderer) {\n Directory directory = renderer.squeezeDirectoriesByOne();\n renderer.updateFilesScrollPane(directory);\n }",
"public static void cleanFolder(File outputFolder)\n {\n File[] files = outputFolder.listFiles();\n for (File file : files)\n {\n if (file.isDirectory())\n {\n cleanFolder(file);\n }\n else\n {\n if (file.delete())\n {\n Main.out(\"Deleted: \" + file);\n }\n else\n {\n Main.warn(\"Failed to delete file: \" + file);\n }\n }\n }\n }",
"public static void main(String[] args){\nFile filez = new File(\"d:/prac/sub1\");\r\ndeleteFolder(filez);\r\n}",
"protected static void deleteOldFiles(String[] deleteFiles) {\n\t\t// Deletes Old Modpack Files\n\n\t\tSystem.out.println(\"Deleting old modpack files...\");\n\n\t\tif (downloaded) {\n\t\t\tif (deleteFiles != null) {\n\t\t\t\tfor (int i = 0; i < deleteFiles.length; i++) {\n\t\t\t\t\tFile file = new File(deleteFiles[i]);\n\t\t\t\t\tif (file.exists()) {\n\t\t\t\t\t\tFileUtil.sexyDelete(deleteFiles[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tFile cfgs = new File(configtarget);\n\t\t\tif (cfgs.exists()) {\n\t\t\t\tFileUtil.sexyDelete(configtarget);\n\t\t\t}\n\n\t\t\tFile mods = new File(modstarget);\n\t\t\tif (mods.exists()) {\n\t\t\t\tFileUtil.sexyDelete(modstarget);\n\t\t\t}\n\t\t}\n\t}",
"public static void main(String[] args) {\n\t\tArrayList<Object> names= new ArrayList<Object>();\n\t\tnames.add(\"Abdul\");\n\t\tnames.add(\"Imran\");\n\t\tnames.add(\"Khan\");\n\t\tnames.add(\"Faheem\");\n\t\tnames.add(\"Shahroz\");\n\n\n\t\tSystem.out.print(names+\" \");\n\t\tSystem.out.println();\n\t\tnames.remove(\"Abdul\");\n\t\tSystem.out.println(\"post removing\");\n\t\tSystem.out.print(names+\" \");\n\t\tSystem.out.println();\n\t\tnames.add(\"Abdul\");\n\t\tIterator<Object>\n\t\t\t\tlist =names.listIterator();\n\t\twhile(list.hasNext()){\n\t\t\tSystem.out.print(list.next()+\" \");\n\t\t}\n\t\tSystem.out.println();\n\t\tfor(Iterator LN = names.iterator(); LN.hasNext();){\n\t\t\tSystem.out.print(LN.next()+\" \");\n\t\t}\n\n\t}",
"public static void delete(File d) {\n\t\tif (d.isDirectory()) {\n\t\t\tfor (File f: d.listFiles()) delete(f);\n\t\t\td.delete();\n\t\t} else d.delete();\n\t}",
"public static void main(String[] args) {\n\n File path = new File(args[0]);\n File resultFileAbsolutePath = new File(args[1]);\n File allFilesContent = new File(resultFileAbsolutePath.getParent()+\"/allFilesContent.txt\");\n FileUtils.renameFile(resultFileAbsolutePath, allFilesContent);\n\n List<File> filesList = new ArrayList<>();\n List<File> directoriesList = new ArrayList<>();\n\n File[] mainDirectoryArray = path.listFiles();\n checkAndAddFile(mainDirectoryArray, directoriesList, filesList);\n\n for (int i = 0; i < filesList.size(); i++) {\n if (filesList.get(i).length() > 50L) {\n filesList.remove(i--);\n }\n }\n\n Collections.sort(filesList, Comparator.comparing(File::getName));\n\n writeFiles(allFilesContent, filesList);\n }",
"public void delete() {\r\n Log.d(LOG_TAG, \"delete()\");\r\n for (int i = 0; i < mNumSegments; i++) {\r\n File chunk = new File(getFileNameForIndex(i));\r\n if (chunk.delete()) {\r\n Log.d(LOG_TAG, \"Deleted file \" + chunk.getAbsolutePath());\r\n }\r\n }\r\n new File(mBaseFileName + \".zip\").delete();\r\n }",
"public File[] DeleteFile(String sfileName) {\n\t \tFile dir = new File(fileStorageLocation.toString());\n\t \tFile[] matchingFiles = dir.listFiles(new FilenameFilter() {\n\t \t public boolean accept(File dir, String name) {\n\t \t return name.endsWith(\"_\" + sfileName);\n\t \t }\n\t \t});\n\t \t\n\t \tfor (int i = 0; i < matchingFiles.length; i++)\n\t \t{\n\t \t\tmatchingFiles[i].delete();\n\t \t}\n \t\n return matchingFiles;\n }",
"public final void mo118048d() {\n List<File> c = this.f120295d.mo118063c();\n int i = this.f120296e;\n if (c.size() > i) {\n int size = c.size() - i;\n C46869g.m146602a(this.f120292a, C1642a.m8035a(Locale.US, \"Found %d files in roll over directory, this is greater than %d, deleting %d oldest files\", new Object[]{Integer.valueOf(c.size()), Integer.valueOf(i), Integer.valueOf(size)}));\n TreeSet treeSet = new TreeSet(C46913h.f120301a);\n for (File file : c) {\n treeSet.add(new C46912a(file, m146732b(file.getName())));\n }\n ArrayList arrayList = new ArrayList();\n Iterator it = treeSet.iterator();\n while (it.hasNext()) {\n arrayList.add(((C46912a) it.next()).f120299a);\n if (arrayList.size() == size) {\n break;\n }\n }\n this.f120295d.mo118059a((List<File>) arrayList);\n }\n }",
"public static void main(String[] args) throws IOException {\n\n\t\tString f1Path = \"/home/sam/work/io\";\n\t\tf1 = new File(f1Path);\n\t\tdeleteAll(f1);\n\t}",
"public void deleteAllScore() {\n // Rewrite only the first 10 lines to the file.\n try(BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(scoreFile))) {\n bufferedWriter.write(\"\");\n } catch (IOException e) {\n System.err.println(\"Cannot open the score file : \" + e.getMessage());\n }\n }",
"@AfterClass\n public static void cleanup() throws IOException {\n File directory = new File(TMP_DIR_BASE);\n File dirname = directory.getParentFile();\n final String basename = directory.getName() + \"[0-9]+\";\n File[] files = dirname.listFiles(new FilenameFilter() {\n @Override\n public boolean accept(File dir, String name) {\n return name.matches(basename);\n }\n });\n for (File file : files) {\n if (file.delete() == false) {\n throw new IOException(\"Can't delete \" + file);\n }\n }\n }",
"public void removerTodos() {\n\t\t\n\t}",
"public static void testTreeDelete()\n {\n ArrayList<Tree<String>> treelist = new ArrayList<Tree<String>>();\n treelist.add(new BinaryTree<String>());\n treelist.add(new AVLTree<String>());\n treelist.add(new RBTree<String>());\n treelist.add(new SplayTree<String>());\n\n System.out.println(\"Start TreeDelete test\");\n for(Tree<String> t : treelist)\n {\n\n try\n {\n RobotRunner.loadDictionaryIntoTree(\"newDutch.dic\", t);\n// RobotRunner.loadDictionaryIntoTree(\"smallDutch.dic\", t);\n// RobotRunner.loadDictionaryIntoTree(\"Dutch.dic\", t); //Won't work with BinaryTree and SplayTree, too many items == StackOverflow\n// RobotRunner.loadDictionaryIntoTree(\"dict.txt\", t); //Won't work with BinaryTree and SplayTree, too many items == StackOverflow\n }\n catch(IOException e)\n {\n System.out.println(e);\n }\n System.out.println(\"\\nStart Testcase\");\n\n SystemAnalyser.start();\n t.delete(\"aanklotsten\");\n SystemAnalyser.stop();\n\n SystemAnalyser.printPerformance();\n\n System.out.println(\"Stop Testcase\\n\");\n }\n System.out.println(\"Values after test.\");\n SystemAnalyser.printSomeTestValues();\n }",
"private static void cleanupLogcatCache(File cacheDir) {\n FLog.d(TAG, \"Cleaning up log files from cache dir\");\n if (cacheDir == null) {\n FLog.w(TAG, \"External storage not available. Can't cleanup cache\");\n return;\n }\n\n final File[] logFiles = cacheDir.listFiles(new FilenameFilter() {\n @Override\n public boolean accept(File dir, String filename) {\n return filename.toLowerCase().endsWith(\".log\");\n }\n });\n\n if (logFiles == null) {\n FLog.d(TAG, \"No log files to prune from cache\");\n return;\n }\n\n int count = 0;\n for (File logFile : logFiles) {\n count += logFile.delete() ? 1 : 0;\n }\n\n FLog.d(TAG, \"Pruned \" + count + \" log file(s) from cache\");\n }",
"public void deleteEntry(Entry e) {\n entries.remove(e.getName());\n }",
"@TestFor(issues = \"TW-42737\")\n public void test_directory_remove() throws Exception {\n CommitPatchBuilder patchBuilder = myCommitSupport.getCommitPatchBuilder(myRoot);\n patchBuilder.createFile(\"dir/file\", new ByteArrayInputStream(\"content\".getBytes()));\n patchBuilder.createFile(\"dir2/file\", new ByteArrayInputStream(\"content\".getBytes()));\n patchBuilder.commit(new CommitSettingsImpl(\"user\", \"Create dir with file\"));\n patchBuilder.dispose();\n\n RepositoryStateData state1 = myGit.getCurrentState(myRoot);\n\n patchBuilder = myCommitSupport.getCommitPatchBuilder(myRoot);\n patchBuilder.deleteDirectory(\"dir\");\n patchBuilder.commit(new CommitSettingsImpl(\"user\", \"Delete dir\"));\n patchBuilder.dispose();\n\n RepositoryStateData state2 = myGit.getCurrentState(myRoot);\n\n List<ModificationData> changes = myGit.getCollectChangesPolicy().collectChanges(myRoot, state1, state2, CheckoutRules.DEFAULT);\n then(changes).hasSize(1);\n then(changes.get(0).getChanges()).extracting(\"fileName\", \"type\").containsOnly(Tuple.tuple(\"dir/file\", VcsChange.Type.REMOVED));\n }",
"private void removeDelRevisions(ArrayList p_tags)\n {\n boolean b_changed = true;\n\n deltags: while (b_changed)\n {\n for (int i = 0, max = p_tags.size(); i < max; i++)\n {\n Object o = p_tags.get(i);\n\n if (o instanceof HtmlObjects.Tag)\n {\n HtmlObjects.Tag tag = (HtmlObjects.Tag) o;\n String original = tag.original;\n\n if (tag.tag.equalsIgnoreCase(\"span\")\n && original.indexOf(\"class=msoDel\") >= 0)\n {\n removeTagAndContent(p_tags, tag);\n\n continue deltags;\n }\n }\n }\n\n b_changed = false;\n }\n }",
"private static void removeFromWorking(String fileName) {\n for (File file : WORKING_DIR.listFiles()) {\n if (!file.isDirectory()) {\n if (file.getName().equals(fileName)) {\n file.delete();\n break;\n }\n }\n }\n }",
"public static void main(String[] args) throws ParseException {\n\n\t\tSet<String> fileNames = new HashSet<>(12);\n\t\tfileNames.add(\".idea\");\n\t\tfileNames.add(\"target\");\n\t\tfileNames.add(\"cache\");\n\t\tfileNames.add(\"caches\");\n\t\tfileNames.add(\"logs\");\n\t\tfileNames.add(\"log\");\n\n\t\tFile file = new File(\"D:\\\\workspace\\\\keynes-workspace\");\n\t\tdelete(file, fileNames);\n\n\n\n\t}",
"public void deleteAll();",
"public void deleteAll();",
"public void deleteAll();",
"private void deleteAllBooks() {\n int rowsDeleted = getContentResolver().delete(BookEntry.CONTENT_URI, null, null);\n // Update the message for the Toast\n String message;\n if (rowsDeleted == 0) {\n message = getResources().getString(R.string.inventory_delete_books_failed).toString();\n } else {\n message = getResources().getString(R.string.inventory_delete_books_successful).toString();\n }\n // Show toast\n Toast.makeText(this, message, Toast.LENGTH_LONG).show();\n }"
]
| [
"0.6904569",
"0.6298582",
"0.61524844",
"0.6036331",
"0.58612734",
"0.58301485",
"0.55347544",
"0.5473984",
"0.54402566",
"0.5438012",
"0.5419862",
"0.54151565",
"0.5379606",
"0.53553206",
"0.53075516",
"0.5292611",
"0.52825284",
"0.52797264",
"0.52605766",
"0.52464396",
"0.52218676",
"0.52140296",
"0.51929456",
"0.51736355",
"0.51671535",
"0.5164004",
"0.5120339",
"0.5113391",
"0.51061374",
"0.5105871",
"0.5083398",
"0.50713277",
"0.5065311",
"0.5042091",
"0.5039668",
"0.5031242",
"0.5017537",
"0.50083005",
"0.5001126",
"0.499515",
"0.49926555",
"0.4978567",
"0.4954683",
"0.4953821",
"0.49424472",
"0.49419343",
"0.49353987",
"0.49326488",
"0.49319118",
"0.49310544",
"0.49099627",
"0.49002537",
"0.49000362",
"0.48920205",
"0.48891008",
"0.48888782",
"0.4882547",
"0.48814347",
"0.48747692",
"0.48693064",
"0.48633736",
"0.48622832",
"0.48610765",
"0.48596698",
"0.48560768",
"0.48546943",
"0.48531708",
"0.4846223",
"0.48433626",
"0.48392844",
"0.48386213",
"0.483315",
"0.48306328",
"0.48266256",
"0.481602",
"0.4814989",
"0.48146835",
"0.48131785",
"0.4804592",
"0.4804312",
"0.48010278",
"0.47998336",
"0.4798696",
"0.4796237",
"0.479568",
"0.47898456",
"0.4786359",
"0.47847342",
"0.47846717",
"0.47838596",
"0.47830418",
"0.47816056",
"0.47785187",
"0.4773949",
"0.47727793",
"0.47647083",
"0.4762993",
"0.4762993",
"0.4762993",
"0.4750026"
]
| 0.72239256 | 0 |
Remove a bunch of mr files from the database. Will print a line mentioning the delete for each entry. Assumes standard naming scheme for entries as usual meaning that the mrfiles should have the detail value set to: FILE_DETAIL_CLASSIFIED | public static boolean removeMRFilesFromDB( ArrayList entries_todelete ) {
boolean status = sql_epiII.deleteMRFilesByPDBIdsByDetail(
entries_todelete, SQL_Episode_II.FILE_DETAIL_CLASSIFIED );
if ( ! status ) {
General.showError("in MRAnnotate.removeMRFilesFromDB found:");
General.showError("Deleting the annotated MR files:" + entries_todelete);
return false;
} else {
General.showOutput("Deleted the annotated MR files:" + entries_todelete);
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static boolean removeMRFilesInteractivelyFromDB( ArrayList entries_todelete ) {\n \n// String reply = \"bogus\";\n boolean status;\n \n General.showOutput(\"Entries to delete: [\" + entries_todelete.size() + \"]\");\n General.showOutput(\"Entries to delete: \" + entries_todelete.toString() );\n \n General.showWarning(\"answering yes to the following question will lead to\");\n General.showWarning(\"deleting work that might not be recovered!\");\n \n String prompt = \"Delete ALL the MR files for the above entries from the DB?\";\n if ( Strings.getInputBoolean( in, prompt ) ) {\n General.showOutput(\"Deleting the annotated MR files listed above.\");\n status = removeMRFilesFromDB( entries_todelete );\n if ( ! status ) {\n General.showError(\"in MRAnnotate.removeMRFilesInteractively found:\");\n General.showError(\"Deleting the annotated MR files failed.\");\n return false;\n }\n }\n return true;\n }",
"public static boolean removeMRFiles( String dir, ArrayList entries_todelete ) {\n \n for (Iterator i=entries_todelete.iterator(); i.hasNext();) {\n String entry_code = (String) i.next();\n String fname = dir + File.separator + entry_code + \".mr\";\n File f = new File(fname);\n if ( ! f.delete() ) {\n General.showError(\"in MRAnnotate.removeMRFiles found:\");\n General.showError(\"Deleting the annotated MR file [\"+fname+\"]\");\n return false;\n } else {\n General.showOutput(\"Deleted the annotated MR file for entry: [\"+entry_code+\"]\");\n }\n }\n return true;\n }",
"public void printRemoval() {\n System.out.println(\"\\n\" + \"=== Removed Files ===\");\n List<String> deleting = Utils.plainFilenamesIn(REMOVAL);\n for (String filesName: deleting) {\n System.out.println(filesName);\n }\n }",
"public static boolean removeMRFilesInteractively( String dir, ArrayList entries_todelete ) {\n \n// String reply = \"bogus\";\n boolean status;\n \n General.showOutput(\"Entries to delete: [\" + entries_todelete.size() + \"]\");\n General.showOutput(\"Entries to delete: \" + entries_todelete.toString() );\n \n General.showWarning(\"answering yes to the following question will lead to\");\n General.showWarning(\"deleting work that might not be recovered!\");\n \n String prompt = \"Delete ALL the MR files for the above entries from the directory:\"+dir+\"?\";\n if ( Strings.getInputBoolean( in, prompt ) ) {\n General.showOutput(\"Deleting the annotated MR files listed above.\");\n status = removeMRFiles( dir, entries_todelete );\n if ( ! status ) {\n General.showError(\"in MRAnnotate.removeMRFilesInteractively found:\");\n General.showError(\"Deleting the annotated MR files failed.\");\n return false;\n }\n }\n return true;\n }",
"public void deleteMoreFile() {\n\t\tFile outfile = new File(outFileString);\n\t\tFile files[] = outfile.listFiles();\n\t\tfor (int i = 0; i < files.length; i++) {\n\t\t\tString name = files[i].getAbsolutePath();\n\t\t\tif ((!name.contains(\"SICG\")) && (!name.contains(\"AndroidManifest.xml\"))) {\n\t\t\t\tDirDelete delete = new DirDelete();\n\t\t\t\tdelete.deleteDir(files[i]);\n\t\t\t}\n\t\t}\n\t}",
"public void deleteAllArtisti() throws RecordCorrelatoException;",
"private void deleteFile() {\r\n actionDelete(dataModelArrayList.get(position));\r\n }",
"void deleteTranslatedFiles(InformationResourceFile irFile);",
"void deleteChains() {\n\t\tif (!params.isDebug()) {\n\t\t\tfor (File deleteCandidate : toDelete) {\n\t\t\t\tdeleteCandidate.delete();\n\t\t\t\t\n\t\t\t\ttry (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(deleteCandidate.toPath())) {\n\t\t\t\t\tfor (Path path : directoryStream) {\n\t\t\t\t\t\tif (!path.getFileName().toString().endsWith(\"_SCWRLed.pdb\")) {\n\t\t\t\t\t\t\tpath.toFile().delete();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} catch (IOException ex) {\n\t\t\t\t\tex.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"private void deleteFilesFromDirectory(ArrayList<File> files)\n {\n for(File file:files) {\n Log.i(\"file\",\"indide\"+file.getPath());\n if (file.exists()) {\n Log.i(\"file\",\"exist\"+file.getPath());\n if (file.delete()) {\n Log.i(\"file\",\"delted successfully\"+file.getPath());\n } else {\n Log.i(\"file\",\"unable to delte file\"+file.getPath());\n }\n }\n }\n }",
"private void deleteResidualFile()\n\t{\n\t\tFile[] trainingSetFileName = directoryHandler.getTrainingsetDir().listFiles();\n\t\ttry\n\t\t{\n\t\t\tfor (int i = 1; i < nu; i++) trainingSetFileName[i].delete();\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"private void deleteDhiFiles(File f) {\n\t\tString hdfName = f.getName().substring(0, f.getName().lastIndexOf(\".\"));\n\t\tFile dirFile = new File(f.getParent());\n\t\tfor (File file : dirFile.listFiles()) {\n\t\t\tString fileName = file.getName();\n\t\t\tif (fileName.contains(hdfName)) {\n\t\t\t\tSystem.out.println(\"Delete: \" + fileName);\n\t\t\t\tfile.delete();\n\t\t\t}\n\t\t}\n\t}",
"public void markMaxRecordsPerFileDelete() throws JNCException {\n markLeafDelete(\"maxRecordsPerFile\");\n }",
"public void remove(String filename) {\n\tremove(new BasicDBObject(\"filename\", filename));\n }",
"public void remove(DBObject query) {\n\tfor (GridFSDBFile f : find(query)) {\n\t f.remove();\n\t}\n }",
"@Override\r\n public void remove() {\n ArrayList<String>Lines=new ArrayList<>();\r\n String Path = \"/home/yara/Documents/4year/OODP/Task.txt\";\r\n \r\n String RID=id.getText();\r\n String Taskname = name.getText();\r\n String startDate = date_start.getText();\r\n String EndDate = date_finish.getText();\r\n String LocalStatus = status.getText();\r\n String MemberID = MemberId.getText();\r\n \r\n Lines.add(RID);\r\n Lines.add(Taskname);\r\n Lines.add(startDate);\r\n Lines.add(EndDate);\r\n Lines.add(LocalStatus);\r\n Lines.add(MemberID);\r\n \r\n FileFacade facade = new FileFacade();\r\n facade.remove(Path, Lines);\r\n \r\n }",
"public void deleteFile() {\n\t\tif (JOptionPane.showConfirmDialog(desktopPane,\n\t\t\t\t\"Are you sure? this action is permanent!\") != JOptionPane.YES_OPTION)\n\t\t\treturn;\n\n\t\tEllowFile file = null;\n\t\tTreePath paths[] = getSelectionModel().getSelectionPaths();\n\t\tif (paths == null)\n\t\t\treturn;\n\t\tfor (TreePath path : paths) {\n\t\t\tDefaultMutableTreeNode node = (DefaultMutableTreeNode) path\n\t\t\t\t\t.getLastPathComponent();\n\t\t\tfile = (EllowFile) node.getUserObject();\n\t\t\tEllowynProject project = file.parentProject;\n\t\t\tfile.deleteAll();\n\t\t\tif (!file.isProjectFile && project != null)\n\t\t\t\tproject.rebuild(); // don't rebuild the project if the project\n\t\t\t\t\t\t\t\t\t// itself is deleted\n\t\t\tdesktopPane.closeFrames(file);\n\t\t\tmodel.removeNodeFromParent(node);\n\t\t}\n\t}",
"public void deleteOutfiles(String filename) {\n Runtime runTime = Runtime.getRuntime();\n\n String[] commands = new String[]{MYSQL, mysqlDb, userFlag + mysqlUser, pwdFlag + mysqlPwd,\n executeFlag, sourceCommand + filename};\n\n try {\n Process proc = runTime.exec(commands);\n\n StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(), \"ERROR\");\n\n StreamGobbler outputGobbler = new StreamGobbler(proc.getInputStream(), \"OUTPUT\");\n\n errorGobbler.start();\n outputGobbler.start();\n\n try {\n if (proc.waitFor() == 1) {\n logger.error(\"Return code indicates error in deleting the load data outfiles \"\n + \"process\");\n }\n } catch (InterruptedException exception) {\n logger.error(\"Interrupted Exception while running the delete load data outfiles \"\n + \"process\", exception);\n }\n\n } catch (IOException exception) {\n logger.error(\"Attempt to spawn a DBMerge mysql process failed for file: \"\n + filename, exception);\n }\n }",
"public static void rmBirtRpts(String[] fileNameArr, String userName)\n\t{\n\t\trmDumbFiles(fileNameArr, userName);\n\t\t//2. Delete dumb rpt data from table BSM_REPORT\n\t\tdeleteDumbFileDataFromDb(fileNameArr, userName);\n\t}",
"public static void Deletefiles() throws Throwable\r\n\t{\r\n\t\tString filePath, timestamp;\r\n\t\tDate date = new Date();\r\n\t\ttimestamp = new SimpleDateFormat(\"MMMdd\").format(date);\r\n\t filePath = \"./target/screenshots/\" + timestamp;\r\n\t\tFile file = new File(filePath);\r\n\t\t\r\n\t\tString[] evdFiles;\r\n\t\tif (file.isDirectory())\r\n\t\t{\r\n\t\t\tevdFiles = file.list();\r\n\t\t\tSystem.out.println(\"number of files ::: \"+evdFiles.length);\r\n\t\t\tfor (int i = 0; i < evdFiles.length; i++)\r\n\t\t\t{\r\n\t\t\t\tFile evdFile = new File(file, evdFiles[i]);\r\n\t\t\t\tSystem.out.println(\"File to be deleted ::: \"+evdFile);\r\n\t\t\t\tif (!evdFile.isDirectory())\r\n\t\t\t\t{\r\n\t\t\t\t\tevdFile.delete();\r\n\t\t\t\t\tSystem.out.println(\"File deleted\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\ti = 0;\r\n\t}",
"public void deleteFileDescByFileGid(String fileGID) {\n\t\ttry {\n\t\t\tjava.sql.PreparedStatement ps = ((org.inria.jdbc.Connection) db).prepareStatement(TCell_QEP_IDs.QEP.EP_deleteFileDescByFileGid);\n\t\t\tps.setString(1, fileGID);\n\t\t\tps.executeUpdate();\n\t\t\t\n\t\t\tString query = \"DELETE FROM File WHERE FILEGID =\"+ fileGID+\")\";\n\t\t\tSystem.out.println(\"Executing query : \" + query);\t\t\t\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\t// Uncomment when the close function will be implemented\n\t\t\t// attemptToClose(ps);\n\t\t}\n\n\t}",
"public static boolean removeFile(double fileId) {\n\n String sql = \"DELETE FROM corpus1 WHERE fileId = ?\";\n\n try (Connection conn = DatabaseOperations.connect();\n PreparedStatement pstmt = conn.prepareStatement(sql)) {\n\n // set the corresponding param\n pstmt.setDouble(1, fileId);\n // execute the delete statement\n pstmt.executeUpdate();\n\n } catch (SQLException e) {\n System.out.println(\"removeSeg: \" + e.getMessage());\n return false;\n }\n \n sql = \"DELETE FROM files WHERE fileID = ?\";\n try (Connection conn = DatabaseOperations.connect();\n PreparedStatement pstmt = conn.prepareStatement(sql)) {\n\n // set the corresponding param\n pstmt.setDouble(1, fileId);\n // execute the delete statement\n pstmt.executeUpdate();\n return true;\n\n } catch (SQLException e) {\n System.out.println(\"removeSeg: \" + e.getMessage());\n return false;\n }\n }",
"public void cleanup(Appendable err) throws IOException {\n\n String[] toRemove = {\".data\", \".properties\", \".script\", \".tmp\", \".log\"};\n\n for (String aToRemove : toRemove) {\n String tmpFile = \"\" + Globals.DBname + aToRemove;\n File f = new File(tmpFile);\n if (f.exists()) {\n\n f.delete();\n err.append(\"Abacus disk clean up: removing \" + tmpFile + \"\\n\");\n\n }\n }\n err.append(\"\\n\");\n }",
"private void del_file() {\n\t\tFormatter f;\n\t\ttry{\n\t\t\tf = new Formatter(url2); //deleting file content\n\t\t\tf.format(\"%s\", \"\");\n\t\t\tf.close();\t\t\t\n\t\t}catch(Exception e){}\n\t}",
"public void removeOldRecords();",
"@Then(\"That specific Universal Images record should be deleted from the list\")\n\tpublic void c31() throws FileNotFoundException, IOException, InterruptedException {\n\t}",
"public void removeAllUniqueFileIdentifier() {\r\n\t\tBase.removeAll(this.model, this.getResource(), UNIQUEFILEIDENTIFIER);\r\n\t}",
"void fileDeleted(String path);",
"@Override\n\tpublic void fileDelete(int file_num) {\n\t\tworkMapper.fileDelete(file_num);\n\t}",
"public void deleteAdbLogFiles() {\n\t\t\n\t\ttry {\n\n\n\t\t\tSystem.out.println(\"<-----------------------DELETING ADB LOG Files----------------->\");\n\n\t\t\tFile dir = new File(\"src/test/resources/adbLogs\");\n\t\t\tif(dir.isDirectory() == false) \n\t\t\t{\n\t\t\t\tSystem.out.println(\"Not a directory. Do nothing\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tFile[] listFiles = dir.listFiles();\n\t\t\tfor(File file : listFiles)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Deleting \"+file.getName());\n\t\t\t\tfile.delete();\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\n\t\t\te.printStackTrace();\n\n\t\t}\n\n\n\t}",
"@Override\n public void deleteFiles(Collection<String> absolutePaths) {\n gemFileDb.delete(absolutePaths);\n }",
"public void removeFiles() throws ServiceException;",
"public void deleteAllScore() {\n // Rewrite only the first 10 lines to the file.\n try(BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(scoreFile))) {\n bufferedWriter.write(\"\");\n } catch (IOException e) {\n System.err.println(\"Cannot open the score file : \" + e.getMessage());\n }\n }",
"@Override\r\n\tpublic int fileDelete(int no) {\n\t\treturn sqlSession.delete(namespace + \"fileDelete\", no);\r\n\t}",
"private void deleteSelectedFile() {\r\n\t\tString sel = this.displayFileNames.getSelectedValue();\r\n\t\tif(sel != null) {\r\n\t\t\tFileModel model = FileData.getFileModel(sel);\r\n\t\t\tFileType type = model.getFileType();\r\n\t\t\tFileData.deleteFileModel(type);\r\n\t\t\tthis.setButtonEnabled(type);\r\n\t\t\tthis.loadFileNames();\r\n\t\t\tthis.updateColumnSelections(type);\r\n\t\t\tColumnData.clearMatchedCells(type);\r\n\t\t}\r\n\t}",
"private void deletion(String pids) {\n\t\tDeletions(pids);\n\t\t\n\t}",
"public ArrayList<String> deletedButNotStaged(\n HashMap<String, Blob> allFiles) {\n ArrayList<String> result = new ArrayList<>();\n for (String fileName: Utils.plainFilenamesIn(Main.CWD)) {\n if (allFiles.get(fileName) != null) {\n allFiles.remove(fileName);\n }\n }\n List<String> deletingStage = Utils.plainFilenamesIn(REMOVAL);\n for (String fileName: deletingStage) {\n if (allFiles.get(fileName) != null) {\n allFiles.remove(fileName);\n }\n }\n Set<String> keySet = allFiles.keySet();\n for (String file: keySet) {\n result.add(file + \" (deleted)\");\n }\n return result;\n }",
"private void removeFileReferences(String file_name) {\n\n\t\t//\n\t\t// first get file id\n\t\t//\n\t\tlong fid = getFileId(file_name);\n\n\t\t//\n\t\t// convert to string\n\t\t//\n\t\tString file_id = Long.toString(fid);\n\n\t\t//\n\t\t// first get all associated tags\n\t\t//\n\t\tCursor cursor = m_db.query(MAP_TABLE_NAME,\n\t\t\t\tnew String[] { MAP_FIELD_TAG }, MAP_FIELD_FILE + \"=?\",\n\t\t\t\tnew String[] { file_id }, null, null, null);\n\n\t\tif (cursor.moveToFirst() == false) {\n\t\t\t//\n\t\t\t// no entries\n\t\t\t//\n\t\t\tLogger.d(\"DBManager::removeFileReferences> file \" + file_name\n\t\t\t\t\t+ \" has no references\");\n\t\t\tcursor.close();\n\t\t\treturn;\n\t\t}\n\n\t\tdo {\n\t\t\t//\n\t\t\t// get current tag\n\t\t\t//\n\t\t\tString current_tag = cursor.getString(0);\n\n\t\t\t//\n\t\t\t// get current tag id and reference count\n\t\t\t//\n\t\t\tCursor tag_cursor = m_db.query(TAG_TABLE_NAME, new String[] {\n\t\t\t\t\tTAG_FIELD_NAME, TAG_FIELD_USAGE }, TAG_FIELD_ID + \"=?\",\n\t\t\t\t\tnew String[] { current_tag }, null, null, null);\n\t\t\tif (tag_cursor.moveToFirst() == false) {\n\t\t\t\t//\n\t\t\t\t// no entries\n\t\t\t\t//\n\t\t\t\tLogger.e(\"DBManager::removeFileReferences file \"\n\t\t\t\t\t\t+ \" references non existant \" + current_tag);\n\t\t\t\ttag_cursor.close();\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tdo {\n\t\t\t\t//\n\t\t\t\t// there should be actually only one result, but don't expect a\n\t\t\t\t// database to be in good state\n\t\t\t\t//\n\t\t\t\tint reference_count = tag_cursor.getInt(1) - 1;\n\t\t\t\tString tag_name = tag_cursor.getString(0);\n\n\t\t\t\tif (reference_count > 0) {\n\t\t\t\t\t//\n\t\t\t\t\t// update tag reference\n\t\t\t\t\t//\n\t\t\t\t\tsetTagReference(tag_name, reference_count);\n\t\t\t\t} else {\n\t\t\t\t\t//\n\t\t\t\t\t// delete tag\n\t\t\t\t\t//\n\t\t\t\t\tlong affected = m_db.delete(TAG_TABLE_NAME, TAG_FIELD_ID\n\t\t\t\t\t\t\t+ \"=?\", new String[] { current_tag });\n\t\t\t\t\tLogger.d(\"Deleted tag \" + tag_name + \" deleted: \"\n\t\t\t\t\t\t\t+ affected);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t} while (tag_cursor.moveToNext());\n\n\t\t\t//\n\t\t\t// close tag cursor\n\t\t\t//\n\t\t\ttag_cursor.close();\n\n\t\t} while (cursor.moveToNext());\n\n\t\t//\n\t\t// close cursor\n\t\t//\n\t\tcursor.close();\n\n\t\t//\n\t\t// now remove all entries from the mapping table\n\t\t//\n\t\tm_db.delete(MAP_TABLE_NAME, MAP_FIELD_FILE + \"=?\",\n\t\t\t\tnew String[] { Long.toString(fid) });\n\t}",
"@Override\n\tpublic void delRec() {\n\t\t\n\t}",
"public static void deleteRefRecord(int referenceeState,String selectedItem) throws FileNotFoundException{\n String filePath=\"userData\\\\\";\n if(referenceeState==1){\n filePath = \"userData\\\\departments.txt\";\n }else if(referenceeState==2){\n filePath = \"userData\\\\specializedArea.txt\";\n \n }\n File file = new File(filePath);\n try {\n BufferedReader br = new BufferedReader(new FileReader(file));\n // get lines from txt file\n Object[] tableLines = br.lines().toArray();\n String[] stringArray = Arrays.copyOf(tableLines,tableLines.length, String[].class);\n ArrayList<String> list = new ArrayList<String>(Arrays.asList(stringArray));\n // extratct data from lines and add to the object array list\n for(int i = 0; i < stringArray.length; i++){\n String line = stringArray[i].toString().trim();\n if(line.equals(selectedItem)){\n list.remove(selectedItem);\n }\n }\n //deleting a all lines in the txt\n PrintWriter writer = new PrintWriter(file);\n writer.print(\"\");\n writer.close();\n //writing existing files to txt \n for(String loopObj: list){\n if(referenceeState==1){\n writingDepartment(loopObj);\n }else if(referenceeState==2){\n writingSpecializedArea(loopObj);\n } \n br.close();\n \n }\n \n }catch (Exception ex){\n Logger.getLogger(homeAdminGUI.class.getName()).log(Level.SEVERE, null, ex);\n \n }\n}",
"public static void removeRow(String fileName) {\n tableModel.removeRow(fileName);\n }",
"@Override\n\t\t\tpublic void run() {\n\t\t\t\tFile dir = new File(\"src/reports\");\n\t\t\t\tfor (File file : dir.listFiles())\n\t\t\t\tif (!file.isDirectory())\n\t\t\t\tfile.delete();\n\t\t\t\t}",
"void clearRecords() {\n\t\ttry {\n\t\tPrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter(\"Student.txt\")));\n\t\tpw.close();\n\t\tSystem.out.println(\"\\nAll Records cleared successfully !\");\n\t\tfor (int i = 0; i < 999999999; i++);\n\t\t}catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"public void deleteGeneratedFiles();",
"private void actionRemoveFile ()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\t//---- Get currently selected file index in the combo box\r\n\t\t\tint index = mainFormLink.getComponentPanelLeft().getComponentComboboxFileName().getSelectedIndex();\r\n\r\n\t\t\t//---- Remove the file from the project by its index\r\n\t\t\tDataController.scenarioRemoveFile(index);\r\n\r\n\t\t\thelperDisplayProjectFiles();\r\n\t\t\thelperDisplaySamplesCombobox();\r\n\t\t}\r\n\t\tcatch (ExceptionMessage e)\r\n\t\t{\r\n\t\t\tExceptionHandler.processException(e);\r\n\t\t}\r\n\t}",
"public void EliminarArchivos(){\n\t\ttry{\n\t\tFile Delete = new File(\"Cod.txt\");\n\t\tDelete.deleteOnExit();\n\t\tFile Borrar = new File(\"Maq.txt\");\n\t\tBorrar.deleteOnExit();\n\t\tFile eliminar = new File(\"WS.txt\");\n\t\teliminar.deleteOnExit();\n\t\tFile Bye = new File(\"RESPALDO.txt\");\n\t\tBye.deleteOnExit();\n\t\t\tBufferedReader numero= new BufferedReader(new FileReader(\"WS.txt\"));\n\t\t\tString valor = numero.readLine();\n\t\t\tint NumAreas= Integer.valueOf(valor);\n\t\t\tfor(int i=0; i< NumAreas;i++){\n\t\t\t\tvalor= numero.readLine();\n\t\t\t\tFile eliminas = new File(\"WS\"+valor+\".txt\");\n\t\t\t\teliminas.deleteOnExit();\n\t\t\t}\n\t\t\tnumero.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"File not found\");\n\t\t}\n\t}",
"int deleteByExample(FileRecordAdminExample example);",
"private static void rm(Gitlet currCommit, String[] args) {\n if (args.length != 2) {\n System.out.println(\"Please input the file to remove\");\n return;\n }\n Commit headCommit = currCommit.tree.getHeadCommit();\n if (!headCommit.containsFile(args[1])\n && !currCommit.status.isStaged(args[1])) {\n System.out.println(\"No reason to remove the file.\");\n } else {\n currCommit.status.markForRemoval(args[1]);\n }\n addSerializeFile(currCommit);\n }",
"int deleteByExample(AvwFileprocessExample example);",
"public void deleteMapName(String name){\n\t\tLinkedList<String> names=new LinkedList<String>();\n\t\t\n\t\tboolean present = false;\n\t\tFileReader r;\n\t\ttry {\n\t\t\tr = new FileReader (\"mapRecords.txt\");\n\t\t\tBufferedReader b = new BufferedReader (r);\n\t\t\tString s=b.readLine();\n\t\t\t\n\t\t\twhile(s!=null){\n\t\t\t\tif(s.equals(name))\n\t\t\t\t\tpresent =true; \n\t\t\t\t\n\t\t\t\tnames.add(s);\n\t\t\t\ts=b.readLine();\n\t\t\t\t\n\t\t\t}\n\n\t\t\tr.close();\n\t\t\tb.close();\n\t\t\t\n\t\t\t\n\t\t} catch (FileNotFoundException e) {\n\t\t\tSystem.out.println(\"File not found\");\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t\t\tSystem.out.println(\"Can't read file\");\n\t\t}\n\t\t\n\n\t\tif (present){\n\t\t\tnames.remove(name);\n\t\t\t\n\t\t\ttry {\n\t\t\t\tFileWriter w= new FileWriter(new File(\"mapRecords.txt\"));\n\t\t\t\tfor (String n: names){\n\t\t\t\t\tw.write(n+\"\\n\");\n\t\t\t\t\tw.write(System.lineSeparator())\t;\n\t\t\t\t}\t\n\t\t\t\tw.flush();\n\t\t\t\tw.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t//e.printStackTrace();\n\t\t\t\tSystem.out.println(\"Can't write to the file\");\n\t\t\t}\n\t\t}\n\t\telse //there is nothing to remove the file is not present \n\t\t\treturn;\n\t\t\n\t}",
"public static void deleteExample() throws IOException {\n\n Neo4jUtil neo4jUtil = new Neo4jUtil(\"bolt://localhost:7687\", \"neo4j\", \"neo4jj\" );\n\n Langual.getAllLangualList().forEach(langual -> {\n String cmd = \"MATCH (n:Langual)-[r:lang_desc]-(b:Langdesc) where n.factorCode='\"\n + langual.getFactorCode().trim()\n + \"' delete r\";\n neo4jUtil.myNeo4j(cmd);\n System.out.println(cmd);\n });\n }",
"public synchronized void cleanupSimple() {\n\t\tfinal int maxNumFiles = 1000;\n\t\tfinal int numFilesToDelete = 50;\n\n\t\tString[] children = mStorageDirectory.list();\n\t\tif (children != null) {\n\t\t\tif (children.length > maxNumFiles) {\n\t\t\t\tfor (int i = children.length - 1, m = i - numFilesToDelete; i > m; i--) {\n\t\t\t\t\tFile child = new File(mStorageDirectory, children[i]);\n\t\t\t\t\ttry {\n\t\t\t\t\t\tchild.delete();\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"private void deleteFloatingReplies()\n\t{\n\t\tList<DBObject> groupList = groups.find().toArray();\n\t\t\n\t\tfor(DBObject group : groupList)\n\t\t{\n\t\t\tDBCollection c = getGroupColl((String) group.get(\"customID\"));\n\t\t\tList<DBObject> list = c.find(QueryBuilder.start(\"target.messageID\").notEquals(\"\").get()).toArray();\n\t\t\t\n\t\t\tfor(DBObject reply : list)\n\t\t\t{\n\t\t\t\tif(c.findOne(MongoUtils.queryID(((DBObject)reply.get(\"target\")).get(\"messageID\").toString())) == null) {\n\t\t\t\t\tc.remove(reply);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\t}",
"@AfterStep\n\tprivate void deleteFile(){\n\t\tif(LOGGER.isDebugEnabled()){\n\t\tLOGGER.debug(\" Entering into SalesReportByProductEmailProcessor.deleteFile() method --- >\");\n\t\t}\n\t\ttry {\n\t\t\tif(null != salesReportByProductBean){\n\t\t\tReportsUtilBO reportsUtilBO = reportBOFactory.getReportsUtilBO();\n\t\t\tList<String> fileNames = salesReportByProductBean.getFileNameList();\n\t\t\tString fileLocation = salesReportByProductBean.getFileLocation();\n\t\t\treportsUtilBO.deleteFile(fileNames, fileLocation);\n\t\t\t}\n\t\t} catch (PhotoOmniException e) {\n\t\t\tLOGGER.error(\" Error occoured at SalesReportByProductEmailProcessor.deleteFile() method ----> \" + e);\n\t\t}finally {\n\t\t\tif(LOGGER.isDebugEnabled()){\n\t\t\tLOGGER.debug(\" Exiting from SalesReportByProductEmailProcessor.deleteFile() method ---> \");\n\t\t\t}\n\t\t}\n\t}",
"private void removeContentsFromFile() {\n Log.d(\"debugMode\", \"deleting entire file contents...\");\n try {\n FileOutputStream openFileInput = openFileOutput(\"Locations.txt\", MODE_PRIVATE);\n PrintWriter printWriter = new PrintWriter(openFileInput);\n printWriter.print(\"\");\n printWriter.close();\n Log.d(\"debugMode\", \"deleting entire file contents successful\");\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }",
"public static void main(String[] args) throws FileNotFoundException {\n\t\t\r\n\t\t\r\n\t\tDList list = new DList();\r\n\t\t\r\n\t\tFile input = new File(\"file.txt\");\r\n\t\t\r\n\t\tScanner read = new Scanner(input);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\twhile(read.hasNextLine() ) {\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tString name = read.next();\r\n\t\t\t\r\n\t\t\tif(!name.contains(\"delete\") )\r\n\t\t\t\t\tlist.add(name);\r\n\t\t\t\r\n\t\t\tif(name.contains(\"delete\") ) { \r\n\t\t\t\tname = read.next();\t\t\t\t\r\n\t\t\t\tlist.delete(name);\t\t\t\t\r\n\t\t\t}\t\t\t\r\n\t}\r\n\t\t\r\n\t\tread.close();\r\n\t\t\r\n\t\tlist.traverse();\r\n\t\t\r\n\t\t//list.traverseBack();\r\n\r\n\t}",
"void deleteAllCopiedComponent(RecordSet compRs);",
"void delete(InformationResourceFile file);",
"public static void showFiles(File[] files) {\n\t\tfor (File file : files) {\n\t\t\tif (file.isDirectory()) {\n\t\t\t\tfoldersWithoutReceipt.add(file.getAbsolutePath());\n\t\t\t\t// System.out.println(\"Directory: \" + file.getAbsolutePath());\n\t\t\t\tshowFiles(file.listFiles());\n\n\t\t\t} else {\n\t\t\t\t// System.out.println(\"File: \" + file.getParent());\n\t\t\t\tinvestigatedFolder = file.getParent();\n\t\t\t\tif (file.getName().startsWith(\"receip\")) {\n\t\t\t\t\tfoldersWithoutReceipt.remove(investigatedFolder);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"void remove (String dataFile) {\n\t\tint i;\t\t\n\t\t\n\n\t\ttry {\n//\t\t\tHash set to store strings\n\t\t\t\t\t\t\n//\t\t\tScanner reads objects from file\n\t\t\tScanner fileInput = new Scanner(new File(dataFile));\n\t\t\t\n//\t\t\treads line from file\n\t\t\twhile(fileInput.hasNextLine()) {\n\t\t\t\tString row = fileInput.nextLine();\n\t\t\t\t\n//\t\t\t\tsplits words by the space\n\t\t\t\tString[] word = row.split(\" \");\n\t\t\t\t\n\t\t\t\tfor(i = 0; i < word.length; i++) {\n\t\t\t\t\t\n//\t\t\t\t\tconvert words to lower case\n\t\t\t\t\tString wordSet = word[i].toLowerCase();\n//\t\t\t\t\tadds words to set\n\t\t\t\t\tuniqueWords.add(wordSet);\n\t\t\t\t}\t\n\t\t\t}\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"private void recDelete(File file) {\n if (!file.exists()) {\n return;\n }\n if (file.isDirectory()) {\n File[] list = file.listFiles();\n if (list != null) {\n for (File f : list) {\n recDelete(f);\n }\n }\n }\n file.delete();\n }",
"public static void deleteAllMediaThumbIntStg() {\n File[] subDirectory = PathUtil.INTERNAL_MAIN_DIRECTORY.listFiles();\n for (File aSubDirectory : subDirectory) { //looping sub folders\n String[] files = aSubDirectory.list();\n //if (!aSubDirectory.getName().equals(PathUtil.INTERNAL_SUB_FOLDER_CHAT_IMAGE)) { //except chat image folder\n for (String file : files) {\n File f = new File(aSubDirectory, file);\n delete(f);\n //LogUtil.e(\"StorageUtil\", \"deleteAllMediaThumbIntStg\");\n }\n delete(aSubDirectory);\n //}\n }\n }",
"public static void main(String[] args) throws Exception, IOException, InterruptedException {\n\n\n\n\t \tString fileNameSRC = \"arffs/\"+\"filename\";\n\t \tFile arffFile1 = new File(fileNameSRC+\".arff\");\n\t \tString fileNameDEST = fileNameSRC+\"_subset.arff\";\n\t \tString authorToRemove =\"className\";\n\t \t\n\t\t\tBufferedReader br = new BufferedReader(new FileReader(arffFile1));\n \t String line;\n \t int counter=0;\n \t while ((line = br.readLine()) != null) {\n \t \tcounter++;\n \t if(!(line.endsWith(authorToRemove))){\n \t \tSystem.out.println(\"line: \"+counter);\n \t \tif(line.length()>10){\n \t \t\t//to check author order\n \t \tSystem.out.println(\"line: \"+line.substring(line.length()-10, line.length()));\n \t \t}\n \t \t//Util.writeFile(line + \"\\n\", fileNameDEST, true);\n \t \t}\t\t\t\n \t if((line.endsWith(authorToRemove))){\n \t \tSystem.out.println(\"found author at line: \"+counter);\n\t }\n\t }\n\t\n \t \n}",
"@PostMapping(\"/remover1\")\r\nString remover1(@RequestParam(\"ava_0\") String ava_0,\r\n@RequestParam(\"ava_log\") String ava_log,\r\nModel model) {\n\r\n try (Connection connection = dataSource.getConnection()) {\r\n Statement stmt = connection.createStatement();\r\n ResultSet rs = stmt.executeQuery(\"SELECT * FROM avaliacao WHERE id=\"+ava_0);\r\n\r\n ArrayList<String> output = new ArrayList<String>();\r\n //Se achou a ficha\r\n if (rs.next()) {\r\n\r\n\r\n stmt.executeUpdate(\"DELETE FROM goniometria WHERE id=\"+ava_0);\r\n stmt.executeUpdate(\"DELETE FROM preensao WHERE id=\"+ava_0);\r\n stmt.executeUpdate(\"DELETE FROM composicao WHERE id=\"+ava_0);\r\n stmt.executeUpdate(\"DELETE FROM goniometria WHERE id=\"+ava_0);\r\n stmt.executeUpdate(\"DELETE FROM avaliacaodor WHERE id=\"+ava_0);\r\n stmt.executeUpdate(\"DELETE FROM evolucaodor WHERE id=\"+ava_0);\r\n stmt.executeUpdate(\"DELETE FROM gural WHERE id=\"+ava_0);\r\n stmt.executeUpdate(\"DELETE FROM qualidade WHERE id=\"+ava_0);\r\n stmt.executeUpdate(\"DELETE FROM forca WHERE id=\"+ava_0);\r\n stmt.executeUpdate(\"DELETE FROM pressao WHERE id=\"+ava_0);\r\n stmt.executeUpdate(\"DELETE FROM avaliacao WHERE id=\"+ava_0);//chave primaria\r\n\r\n model.addAttribute(\"ava_log\", \"Ficha excluída com sucesso!\");\r\n } else\r\n model.addAttribute(\"ava_log\", \"Ficha não encontrada.\");\r\n return \"dashboard_ficha\";\r\n } catch (Exception e) {\r\n //model.put(\"message\", e.getMessage());\r\n model.addAttribute(\"ava_log\", e.getMessage());\r\n return \"dashboard_ficha\";\r\n }\r\n}",
"public void deleteRecord() {\n try {\n System.out.println(\"Please enter the name of the company you wish to delete\");\n String companyName = HelperFunctions.getInputDataString();\n RandomAccessFile rafData = new RandomAccessFile(this.databaseName + \".data\", \"rws\");\n int deleteLocation = binarySearch(rafData, companyName);\n\n if (deleteLocation != -1) {\n\n deleteLocation = binarySearchToFindClosest(companyName, 0, Integer.parseInt(getNumberOfRecords(\"normal\")));\n rafData.getChannel().position(Constants.NUM_BYTES_LINUX_RECORD * deleteLocation + Constants.NUM_BYTES_RANK);\n\n rafData.write(HelperFunctions.addWhitespacesToEnd(\"MISSING-RECORD\", Constants.NUM_BYTES_COMPANY_NAME).getBytes(), 0, Constants.NUM_BYTES_COMPANY_NAME);\n rafData.close();\n\n System.out.println(\"Deleting Record...\");\n\n // Have to remove the record entirely on a delete, otherwise it will mess up binary search by not being sorted with the rest \n removeDeletedRecord();\n updateNumRecords(\"normal\", Integer.parseInt(getNumberOfRecords(\"normal\")) - 1);\n\n // Check overflow file if not found in normal data file\n } else {\n RandomAccessFile rafOverflow = new RandomAccessFile(this.databaseName + \".overflow\", \"rws\");\n boolean recordInOverflow = false;\n int numOverflowRecords = Integer.parseInt(getNumberOfRecords(\"overflow\"));\n int recordPosition = -1;\n\n for (int i = 0; i < numOverflowRecords; i++) {\n String record = getRecord(\"overflow\", rafOverflow, i);\n String recordName = record.substring(5,45);\n recordName = recordName.trim();\n\n if (companyName.equals(recordName)) {\n recordInOverflow = true;\n recordPosition = i;\n break;\n }\n }\n\n // If found in overflow file, set that company name to MISSING-RECORD\n if (recordInOverflow == true) {\n rafOverflow.getChannel().position(Constants.NUM_BYTES_LINUX_RECORD * recordPosition + Constants.NUM_BYTES_RANK);\n rafOverflow.write(HelperFunctions.addWhitespacesToEnd(\"MISSING-RECORD\", Constants.NUM_BYTES_COMPANY_NAME).getBytes(), 0, Constants.NUM_BYTES_COMPANY_NAME);\n rafOverflow.close();\n System.out.println(\"Deleting Record...\");\n } else {\n System.out.println(\"That record does not exist in this database\");\n }\n }\n } catch (IOException ex) {\n ex.printStackTrace();\n }\n }",
"int deleteByPrimaryKey(Integer fileId);",
"public void deleteAllFromDB() {\r\n for (int i = 0; i < uploads.size(); i++) {\r\n FileUtil.deleteFile(uploads.get(i).getFilepath());\r\n }\r\n super.getBasebo().remove(uploads);\r\n }",
"private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {\n String filename=jTextField1.getText();\r\n if(filename != null && !filename.isEmpty() ){\r\n try {\r\n \r\n /*BufferedWriter out = new BufferedWriter\r\n \t(new FileWriter(\"C:\\\\Users\\\\mahendra's\\\\Desktop\\\\RAILS\\\\\"+filename+\".txt\"));\r\n \tout.write(\"aString1\\n\");\r\n \tout.close();*/\r\n boolean success = (new File(\"E:\\\\Lucene\\\\Data\\\\\"+filename+\".txt\")).delete();\r\n \t//boolean success = (new File(\"Lucene\\\\Data\\\\\"+filename+\".txt\")).delete();\r\n if (success) {\r\n \tfilename=\"E:\\\\Lucene\\\\Data\\\\\"+filename+\".txt\";\r\n \t//filename=\"Lucene\\\\Data\\\\\"+filename+\".txt\";\r\n \tJOptionPane.showMessageDialog(this, filename+\"deleted successfully\");\r\n \tSystem.out.println(\"The file has been successfully deleted\"); \t \r\n \t Class.forName(\"com.mysql.jdbc.Driver\");\r\n \tConnection con= DriverManager.getConnection(\"jdbc:mysql://localhost:3306/search\",\"root\",\"\");\r\n \tPreparedStatement ps=con.prepareStatement(\"DELETE FROM persons where filename=?\");\r\n ps.setString(1, filename);\r\n int rs=ps.executeUpdate();\r\n }\r\n else{\r\n \tSystem.out.println(\"File does not exist\");\r\n \t JOptionPane.showMessageDialog(this, \"File does not exist\");\r\n }\r\n }\r\n catch (Exception e) {\r\n \t\r\n \t System.out.println(\"exception occoured\"+ e);\r\n }}\r\n else\r\n {\r\n JOptionPane.showMessageDialog(this, \"No empty strings\");\r\n }\r\n }",
"@Test\n\tpublic void testListDeleteMiscellaneousRecord() {\n\t\tthis.authenticate(\"ranger1\");\n\n\t\t//We retrieve a list of all MiscellaneousRecords, and obtain the Id of one of them.\n\t\tCollection<MiscellaneousRecord> miscellaneousRecords = this.miscellaneousRecordService.findAll();\n\t\tfinal int id = miscellaneousRecords.iterator().next().getId();\n\n\t\t//Using findOne() to retrieve a particular entity and verifying it.\n\t\tfinal MiscellaneousRecord miscellaneousRecord = this.miscellaneousRecordService.findOne(id);\n\t\tAssert.notNull(miscellaneousRecord);\n\n\t\t//Using delete() to delete the entity we retrieved.\n\t\tthis.miscellaneousRecordService.delete(miscellaneousRecord);\n\n\t\t//Verifying the entity has been removed from the database.\n\t\tmiscellaneousRecords = this.miscellaneousRecordService.findAll();\n\t\tAssert.isTrue(!miscellaneousRecords.contains(miscellaneousRecord));\n\t}",
"public void delete_from_list(String string)\n {\n String[] current_data = read();\n try\n {\n dir = new File(contextRef.getFilesDir(), filename);\n PrintWriter writer = new PrintWriter(dir);\n\n for (int i = 0; i < current_data.length; i++)\n {\n String line = current_data[i];\n if (line != null && !line.contains(string))\n {\n writer.println(line);\n }\n }\n writer.close();\n }catch (Exception ex)\n {\n //debug2(\"write_contact_list failure\");\n }\n }",
"public static void main_delete(String args[]){\n\t//public static void main(String args[]){\n\t\tQueryResponse solr_response = null;\n\n\t\tSolrConnection tmp_conn = new SolrConnection();\n\t\ttmp_conn.setSolrURL(\"http://localhost:8983/solr/Test1\");\n\t\t\n\t\tHashMap<String,String> params = new HashMap<String,String>();\n\t\tparams.put(\"rows\", \"16\");\n\t\t//tmp_conn.resetQueryParams();\n\t\ttmp_conn.setQueryParams(params);\n\t\t//tmp_conn.setQueryParams(\"q\",\"id:\"+QueryParser.escape(\"com.xinhuanet.js.www:http/2013-10/14/c_117706867_16.htm\"));\n\t\t\n\t\ttry {\n\t\t\tsolr_response = tmp_conn.getContent();\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t\tfor (SolrDocument doc:solr_response.getResults()){\n\t\t\t//String id = doc.getFieldValue(\"id\").toString();\n\t\t\n\t\tList<String> ids = new ArrayList<String>();\n\t\t//ids.add(\"3\");\n\t\t//ids.add(\"8\");\n\t\t//ids.add(\"7\");\n\t\tids.add(doc.getFieldValue(\"id\").toString());\n\t\ttmp_conn.deleteContentById(ids);\n\t\t}\n\t}",
"public void delete(MiscellaneousRecord a){\n\t\t\t\tAssert.isTrue(LoginService.hasRole(\"HANDYWORKER\"));\n\t\t\t\tUserAccount logged = LoginService.getPrincipal();\n\t\t\t\tfor (Curricula c : curriculaService.findAll()) {\n\t\t\t\t\tif (c.getMiscellaneousRecords().contains(a)\n\t\t\t\t\t\t\t&& c.getHandyWorker().getUserAccount().equals(logged)) {\n\t\t\t\t\t\tc.getMiscellaneousRecords().remove(a);\n\t\t\t\t\t\tcurriculaService.save(c);\n\t\t\t\t\t\tmiscellaneousRecordRepository.delete(a);\n\t\t\t\t\t\t//System.out.println(\"se borra el miscellaneousRecord\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"private void deleteIcons() {\n Uri uri = DatabaseMap.PlaceEntry\n .buildPlaceByFavoriteUri(getResources().getInteger(R.integer.favorite_add));\n String[] projection = {DatabaseMap.PlaceEntry.PLACE_ICON_FILE_NAME};\n Cursor cursor = getContentResolver().query(uri, projection, null, null, null);\n ArrayList<String> favoritesIcons = new ArrayList<String>();\n\n while (cursor.moveToNext()) {\n favoritesIcons.add(cursor.getString(cursor.getColumnIndex(DatabaseMap.PlaceEntry.PLACE_ICON_FILE_NAME)));\n }\n\n String[] files = fileList();\n for (String fileName : files) {\n if (!favoritesIcons.contains(fileName))\n deleteFile(fileName);\n }\n }",
"public void printSuccessfulDeletion(String taskDetails) {\n Task.reduceNumberOfTaskInList();\n System.out.println(String.format(\"Removed the task:\\n %s\", taskDetails));\n System.out.println(String.format(\"Now you have %d tasks in the list!\",\n Task.getNumberOfTasksInList()));\n }",
"public void remFile(){\n ((MvwDefinitionDMO) core).remFile();\n }",
"public static void main(String[] args) {\n\n\t\tMongoClient client = new MongoClient();\n\t\tMongoDatabase db = client.getDatabase(\"db\");\n\t\tMongoCollection<Document> collection = db.getCollection(\"deleteTest\");\n\t\t\n\t\tcollection.drop();\n\t\t\n\t\tfor (int i = 0; i < 8; i++) {\n\t\t\tcollection.insertOne(new Document().append(\"_id\", i));\n\t\t}\n\t\t\n\t\tcollection.deleteMany(Filters.gt(\"_id\", 4));\n\t\t\n\t\tfor (Document cur : collection.find().into(new ArrayList<Document>())) {\n\t\t\t// printJson(cur);\n\t\t}\n\t}",
"private void closeDelete() throws IOException, InterruptedException {\n for (Map.Entry<String, Map<String, Set<String>>> path : this.filterColumnToValueMappingForDelete\n .entrySet()) {\n deleteExecution(path.getKey());\n createEmptyMetadataFile(path.getKey());\n }\n }",
"public boolean delete(String filename);",
"@Override\r\n\tpublic void deleteFileData(Long id) {\n\t\t\r\n\t}",
"public synchronized void delete(long entry) throws IOException {\n long startOfEntry = IDX_START_OF_CONTENT + (entry * bytesPerSlot);\n \n // Remove the entry by writing a '\\n' to the first byte\n idx.seek(startOfEntry);\n idx.writeChar('\\n');\n idx.write(new byte[bytesPerSlot - 2]);\n \n // Update the file header\n entries--;\n idx.seek(IDX_HEADER_ENTRIES);\n idx.writeLong(entries);\n \n logger.debug(\"Removed uri at address '{}' from index\", entry);\n }",
"private void deleteAllBooks() {\n int rowsDeleted = getContentResolver().delete(BookEntry.CONTENT_URI, null, null);\n // Update the message for the Toast\n String message;\n if (rowsDeleted == 0) {\n message = getResources().getString(R.string.inventory_delete_books_failed).toString();\n } else {\n message = getResources().getString(R.string.inventory_delete_books_successful).toString();\n }\n // Show toast\n Toast.makeText(this, message, Toast.LENGTH_LONG).show();\n }",
"@Override\n\tpublic void entriesDeleted(Collection<String> arg0) {\n\n\t}",
"public File delete(File f) throws FileDAOException;",
"public final void mo118048d() {\n List<File> c = this.f120295d.mo118063c();\n int i = this.f120296e;\n if (c.size() > i) {\n int size = c.size() - i;\n C46869g.m146602a(this.f120292a, C1642a.m8035a(Locale.US, \"Found %d files in roll over directory, this is greater than %d, deleting %d oldest files\", new Object[]{Integer.valueOf(c.size()), Integer.valueOf(i), Integer.valueOf(size)}));\n TreeSet treeSet = new TreeSet(C46913h.f120301a);\n for (File file : c) {\n treeSet.add(new C46912a(file, m146732b(file.getName())));\n }\n ArrayList arrayList = new ArrayList();\n Iterator it = treeSet.iterator();\n while (it.hasNext()) {\n arrayList.add(((C46912a) it.next()).f120299a);\n if (arrayList.size() == size) {\n break;\n }\n }\n this.f120295d.mo118059a((List<File>) arrayList);\n }\n }",
"public void deleteData(String filename, SaveType type);",
"public DBMaker deleteFilesAfterClose(){\n this.deleteFilesAfterCloseFlag = true;\n return this;\n }",
"@Test\n public void testRemove() {\n System.out.println(\"remove\");\n RecordFile instance = new RecordFile();\n \n String first = \"hello\";\n String second = \"hello 2\";\n String third = \"hello 3\";\n \n instance.write(first.getBytes(), 0);\n instance.write(second.getBytes(), 1);\n instance.write(third.getBytes(), 2);\n \n Assert.assertEquals(first, new String(instance.read(0)));\n Assert.assertEquals(second, new String(instance.read(1)));\n Assert.assertEquals(third, new String(instance.read(2)));\n \n instance.write(third.getBytes(), 1);\n \n Assert.assertEquals(first, new String(instance.read(0)));\n Assert.assertEquals(third, new String(instance.read(1)));\n Assert.assertEquals(third, new String(instance.read(2)));\n \n instance.remove(0);\n \n Assert.assertEquals(third, new String(instance.read(0)));\n Assert.assertEquals(third, new String(instance.read(1)));\n }",
"@Override\n public void run() {\n\n String filename = \"PurgeTable\";\n\n PreparedStatement stmt1 = null;\n try {\n stmt1 = conn.prepareStatement(\"delete from \" + filename);\n stmt1.executeUpdate();\n System.out.println(\"Deletion successful\");\n } catch (SQLException e) {\n e.printStackTrace();\n }\n\n }",
"@Override\n public void delete(File file) {\n }",
"@Override\n\tpublic void removeAll() throws SystemException {\n\t\tfor (FactNonPrintedMaterial factNonPrintedMaterial : findAll()) {\n\t\t\tremove(factNonPrintedMaterial);\n\t\t}\n\t}",
"@Override\n\tpublic void delPhotos(Iterable<Photo> photos) {\n\t\t\n\t}",
"@Override\r\n\tpublic CustomResult deleteBatch(String[] ids) throws Exception{\n\t\tint i = materialConsumeMapper.deleteBatch(ids);\r\n\t\tif(i>0){\r\n\t\t\treturn CustomResult.ok();\r\n\t\t}else{\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}",
"public void delete( int nRssFileId )\n {\n DAOUtil daoUtil = new DAOUtil( SQL_QUERY_DELETE );\n daoUtil.setInt( 1, nRssFileId );\n daoUtil.executeUpdate( );\n daoUtil.free( );\n }",
"public void showSelectedFiles() {\n\t\tCIVLTable tbl_fileTable = (CIVLTable) getComponentByName(\"tbl_fileTable\");\n\t\tDefaultTableModel fileModel = (DefaultTableModel) tbl_fileTable\n\t\t\t\t.getModel();\n\t\tif (fileModel.getRowCount() != 0) {\n\t\t\tfileModel.setRowCount(0);\n\t\t\ttbl_fileTable.clearSelection();\n\t\t}\n\n\t\tArrayList<File> files = currConfig.getSelectedFiles();\n\t\tfor (int i = 0; i < files.size(); i++) {\n\t\t\tFile f = files.get(i);\n\t\t\tfileModel\n\t\t\t\t\t.addRow(new Object[] { f.getName(), f.getPath(), \"Delete\" });\n\t\t}\n\t}",
"@Override\r\n\tpublic void k_delete(String MF_NO) {\n\t\t\r\n\t}",
"protected void removeOldRecords(IconRegistry iconRegistry, Collection<IconRecord> records)\n {\n if (!records.isEmpty())\n {\n URL url = getClass().getResource(myImageList);\n if (url != null)\n {\n String currentDirectory = getDirectory(url);\n\n TLongList removedIds = new TLongArrayList();\n for (Iterator<IconRecord> iter = records.iterator(); iter.hasNext();)\n {\n IconRecord record = iter.next();\n\n String directory = getDirectory(record.imageURLProperty().get());\n boolean isCurrent = currentDirectory.equals(directory);\n if (!isCurrent)\n {\n iter.remove();\n removedIds.add(record.idProperty().get());\n }\n }\n\n if (!removedIds.isEmpty())\n {\n iconRegistry.removeIcons(removedIds, getClass());\n }\n }\n }\n }",
"private static void removeSSRs(File input){\n try(\n FileReader fRead = new FileReader(input+\".ssr\");\n BufferedReader bRead = new BufferedReader(fRead);\n FileReader fRead2 = new FileReader(input);\n BufferedReader bRead2 = new BufferedReader(fRead2)\n ){\n ArrayList<String> noSSRFilenames = new ArrayList<>();\n while (true){\n String line = bRead.readLine();\n if (line == null){\n break;\n }\n else{\n String [] nLine = line.split(\"\\t\");\n if (!nLine[0].equals(\"Name\")){\n if (!noSSRFilenames.contains(nLine[0])){\n noSSRFilenames.add(nLine[0]);\n }\n }\n }\n }\n boolean match = false;\n Sequence raw;\n String seqName = \"\";\n while (true) {\n String seqLine = bRead2.readLine();\n if (seqLine == null) {\n break;\n }\n else {\n if (seqLine.charAt(0) == '>') {\n match = false;\n for (String name : noSSRFilenames) {\n if (seqLine.equals(name)) {\n match = true;\n break;\n }\n }\n if (!match) {\n seqName = seqLine;\n }\n }\n //** Sequence objects are created and added to Metagenome\n else if(!match && seqLine.length() > DMMController.getIgnoreShortSeq() ){\n raw = new Sequence(seqName,seqLine,seqLine.length());\n sequences.add(raw);\n }\n }\n }\n }\n catch (Exception e){\n System.out.println(e.getMessage() + \"----------Remove SSRs issue\");\n }\n }",
"protected void applyPendingDeletes ()\n {\n while (!m_aDeleteStack.isEmpty ())\n removeMonitoredFile (m_aDeleteStack.pop ());\n }",
"private void handleRmd(String dir) {\n String filename = currDirectory;\n\n // only alphanumeric folder names are allowed\n if (dir != null && dir.matches(\"^[a-zA-Z0-9]+$\")) {\n filename = filename + fileSeparator + dir;\n\n // check if file exists, is directory\n File d = new File(filename);\n\n if (d.exists() && d.isDirectory()) {\n d.delete();\n\n sendMsgToClient(\"250 Directory was successfully removed\");\n } else {\n sendMsgToClient(\"550 Requested action not taken. File unavailable.\");\n }\n } else {\n sendMsgToClient(\"550 Invalid file name.\");\n }\n\n }",
"void deleteAllMessages() throws IOException;"
]
| [
"0.6837551",
"0.6678123",
"0.6480665",
"0.63786113",
"0.59105545",
"0.588921",
"0.58596396",
"0.57717115",
"0.57018614",
"0.5667201",
"0.5655033",
"0.5568618",
"0.55619884",
"0.5533611",
"0.552242",
"0.5503438",
"0.5497736",
"0.549146",
"0.54884857",
"0.5473593",
"0.543588",
"0.5430677",
"0.54285365",
"0.54211533",
"0.5420957",
"0.54207534",
"0.541871",
"0.54164815",
"0.5410042",
"0.54052484",
"0.5363981",
"0.536096",
"0.536004",
"0.53460026",
"0.53379315",
"0.5331534",
"0.5329559",
"0.53083813",
"0.5269314",
"0.5265626",
"0.5263286",
"0.5259151",
"0.5245957",
"0.5243027",
"0.52376914",
"0.52288765",
"0.5225534",
"0.5208593",
"0.5198072",
"0.51936764",
"0.51925516",
"0.5182769",
"0.5179394",
"0.51791126",
"0.51745766",
"0.5173185",
"0.5161981",
"0.5159932",
"0.51564986",
"0.51484954",
"0.5148322",
"0.51416576",
"0.51402533",
"0.5139247",
"0.51382697",
"0.51365435",
"0.51274866",
"0.51254785",
"0.51178104",
"0.50923",
"0.508854",
"0.50846547",
"0.5082054",
"0.5082033",
"0.50689167",
"0.5067333",
"0.50614864",
"0.5058527",
"0.5054723",
"0.5052825",
"0.50521964",
"0.5050242",
"0.5045135",
"0.5045033",
"0.50421596",
"0.5040962",
"0.5035791",
"0.5034504",
"0.50299466",
"0.5026539",
"0.5024122",
"0.50230175",
"0.5016681",
"0.5013905",
"0.50115365",
"0.5009533",
"0.50091815",
"0.50018966",
"0.50010496",
"0.5000762"
]
| 0.67580724 | 1 |
Uses removeMRFiles but will first list the files to be deleted and will then ask for conformation. | public static boolean removeMRFilesInteractively( String dir, ArrayList entries_todelete ) {
// String reply = "bogus";
boolean status;
General.showOutput("Entries to delete: [" + entries_todelete.size() + "]");
General.showOutput("Entries to delete: " + entries_todelete.toString() );
General.showWarning("answering yes to the following question will lead to");
General.showWarning("deleting work that might not be recovered!");
String prompt = "Delete ALL the MR files for the above entries from the directory:"+dir+"?";
if ( Strings.getInputBoolean( in, prompt ) ) {
General.showOutput("Deleting the annotated MR files listed above.");
status = removeMRFiles( dir, entries_todelete );
if ( ! status ) {
General.showError("in MRAnnotate.removeMRFilesInteractively found:");
General.showError("Deleting the annotated MR files failed.");
return false;
}
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static boolean removeMRFilesInteractivelyFromDB( ArrayList entries_todelete ) {\n \n// String reply = \"bogus\";\n boolean status;\n \n General.showOutput(\"Entries to delete: [\" + entries_todelete.size() + \"]\");\n General.showOutput(\"Entries to delete: \" + entries_todelete.toString() );\n \n General.showWarning(\"answering yes to the following question will lead to\");\n General.showWarning(\"deleting work that might not be recovered!\");\n \n String prompt = \"Delete ALL the MR files for the above entries from the DB?\";\n if ( Strings.getInputBoolean( in, prompt ) ) {\n General.showOutput(\"Deleting the annotated MR files listed above.\");\n status = removeMRFilesFromDB( entries_todelete );\n if ( ! status ) {\n General.showError(\"in MRAnnotate.removeMRFilesInteractively found:\");\n General.showError(\"Deleting the annotated MR files failed.\");\n return false;\n }\n }\n return true;\n }",
"public static boolean removeMRFiles( String dir, ArrayList entries_todelete ) {\n \n for (Iterator i=entries_todelete.iterator(); i.hasNext();) {\n String entry_code = (String) i.next();\n String fname = dir + File.separator + entry_code + \".mr\";\n File f = new File(fname);\n if ( ! f.delete() ) {\n General.showError(\"in MRAnnotate.removeMRFiles found:\");\n General.showError(\"Deleting the annotated MR file [\"+fname+\"]\");\n return false;\n } else {\n General.showOutput(\"Deleted the annotated MR file for entry: [\"+entry_code+\"]\");\n }\n }\n return true;\n }",
"public void removeFiles() throws ServiceException;",
"private void clearFiles() {\r\n File file = new File(\"test_files/upload\");\r\n File[] files = file.listFiles();\r\n for (File delFile : files) {\r\n delFile.delete();\r\n }\r\n file = new File(\"test_files/stress.jar\");\r\n file.delete();\r\n }",
"public static boolean removeMRFilesFromDB( ArrayList entries_todelete ) {\n \n boolean status = sql_epiII.deleteMRFilesByPDBIdsByDetail(\n entries_todelete, SQL_Episode_II.FILE_DETAIL_CLASSIFIED );\n if ( ! status ) {\n General.showError(\"in MRAnnotate.removeMRFilesFromDB found:\");\n General.showError(\"Deleting the annotated MR files:\" + entries_todelete);\n return false;\n } else {\n General.showOutput(\"Deleted the annotated MR files:\" + entries_todelete);\n }\n return true;\n }",
"private void removeOldFiles() {\n Set<File> existingFiles = new HashSet<File>();\n collectFiles(existingFiles);\n for (ResourceResponse r : cacheResponseProcessor.getResources()) {\n String remotePathId = r.pathId;\n String remotePath = localClasspathProcessor.getLocalClasspath().get(remotePathId);\n String localPath = localPathTranslation.get(remotePath);\n File localFile = new File(localPath);\n File file = new File(localFile, r.name);\n existingFiles.remove(file);\n }\n }",
"private void DeleteCMVMMVData() {\n String path = GetFilePath();\r\n File dir = new File(path);\r\n for (File file : dir.listFiles())\r\n if (!file.isDirectory())\r\n file.delete();\r\n DownloadCMVMMVFiles();//state, circle, ran, div\r\n }",
"protected abstract boolean deleteCheckedFiles();",
"private void clearClipsDirectory(){\n /* Citation : http://helpdesk.objects.com.au/java/how-to-delete-all-files-in-a-directory#:~:text=Use%20the%20listFiles()%20method,used%20to%20delete%20each%20file. */\n File directory = new File(Main.CREATED_CLIPS_DIRECTORY_PATH);\n File[] files = directory.listFiles();\n if(files != null){\n for(File file : files){\n if(!file.delete()) System.out.println(\"Failed to remove file \" + file.getName() + \" from \" + Main.CREATED_CLIPS_DIRECTORY_PATH);\n }\n }\n }",
"private static void removeFromWorking(String fileName) {\n for (File file : WORKING_DIR.listFiles()) {\n if (!file.isDirectory()) {\n if (file.getName().equals(fileName)) {\n file.delete();\n break;\n }\n }\n }\n }",
"private void deleteFilesFromDirectory(ArrayList<File> files)\n {\n for(File file:files) {\n Log.i(\"file\",\"indide\"+file.getPath());\n if (file.exists()) {\n Log.i(\"file\",\"exist\"+file.getPath());\n if (file.delete()) {\n Log.i(\"file\",\"delted successfully\"+file.getPath());\n } else {\n Log.i(\"file\",\"unable to delte file\"+file.getPath());\n }\n }\n }\n }",
"private void removeNecessarySharedFiles(List<SharedFile> shared) {\n Iterator<com.cs407.noted.File> iterator = convertedSharedFiles.iterator();\n\n while (iterator.hasNext()) {\n com.cs407.noted.File file1 = iterator.next();\n boolean isIn = false;\n for (SharedFile sharedFile: shared) {\n if (sharedFile.getNoteID().equals(file1.getId())) {\n // remove the file\n isIn = true;\n break;\n }\n }\n if (!isIn) {\n iterator.remove();\n }\n }\n }",
"public void deleteMoreFile() {\n\t\tFile outfile = new File(outFileString);\n\t\tFile files[] = outfile.listFiles();\n\t\tfor (int i = 0; i < files.length; i++) {\n\t\t\tString name = files[i].getAbsolutePath();\n\t\t\tif ((!name.contains(\"SICG\")) && (!name.contains(\"AndroidManifest.xml\"))) {\n\t\t\t\tDirDelete delete = new DirDelete();\n\t\t\t\tdelete.deleteDir(files[i]);\n\t\t\t}\n\t\t}\n\t}",
"protected void applyPendingDeletes ()\n {\n while (!m_aDeleteStack.isEmpty ())\n removeMonitoredFile (m_aDeleteStack.pop ());\n }",
"public void removeExpiredFiles() {\n \t\n \tsetCurrentTimeNow();\n\n File dir = new File(fsResource.getPath());\n File[] list = dir.listFiles(this);\n for (File file : list) {\n \tlogger.info(\"Auto expire file removed: {}\", file.getName());\n \tfile.delete();\n }\n }",
"public void remFile(){\n ((MvwDefinitionDMO) core).remFile();\n }",
"@Override\n\t\t\tpublic void run() {\n\t\t\t\tFile dir = new File(\"src/reports\");\n\t\t\t\tfor (File file : dir.listFiles())\n\t\t\t\tif (!file.isDirectory())\n\t\t\t\tfile.delete();\n\t\t\t\t}",
"private void deleteFile() {\r\n actionDelete(dataModelArrayList.get(position));\r\n }",
"@Override\n\tprotected void removeAction(HashSet<String> rmvSet){ \t\n\t\t// remove the 'deploymetSet'\n\t\tHashSet<File> delSet = new HashSet<File>();\n\t\tfor (File f: deploymentSet){\n\t\t\tif (rmvSet.contains(f.getName())){\n\t\t\t\tdelSet.add(f);\n\t\t\t}\n\t\t}\n\t\tdeploymentSet.removeAll(delSet);\n\t\n\t\t// delete mainMap\n\t\tfor (String rmvStr: rmvSet){\n\t\t\txmlMainClassInfoMap.remove(rmvStr);\n\t\t}\n\t\t\n\t\t// remove the relation and repository\n\t\t((AdaptDependencyManager)MiddleWareConfig.getInstance().getDepManager()).removeDeploymentNodeBySet(rmvSet);\n\t\t\n\t}",
"private void expungeAllWatchListsFiles()\r\n {\r\n debug(\"expungeAllWatchListsFiles() - Delete ALL WATCHLIST Files\");\r\n\r\n java.io.File fileList = new java.io.File(\"./\");\r\n String rootName = getString(\"WatchListTableModule.edit.watch_list_basic_name\");\r\n String[] list = fileList.list(new MyFilter(rootName));\r\n for (int i = 0; i < list.length; i++)\r\n {\r\n StockMarketUtils.expungeListsFile(list[i]);\r\n }\r\n\r\n debug(\"expungeAllWatchListsFiles() - Delete ALL WATCHLIST Files - Complete\");\r\n }",
"private void deleteResidualFile()\n\t{\n\t\tFile[] trainingSetFileName = directoryHandler.getTrainingsetDir().listFiles();\n\t\ttry\n\t\t{\n\t\t\tfor (int i = 1; i < nu; i++) trainingSetFileName[i].delete();\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"private static void removeSSRs(File input){\n try(\n FileReader fRead = new FileReader(input+\".ssr\");\n BufferedReader bRead = new BufferedReader(fRead);\n FileReader fRead2 = new FileReader(input);\n BufferedReader bRead2 = new BufferedReader(fRead2)\n ){\n ArrayList<String> noSSRFilenames = new ArrayList<>();\n while (true){\n String line = bRead.readLine();\n if (line == null){\n break;\n }\n else{\n String [] nLine = line.split(\"\\t\");\n if (!nLine[0].equals(\"Name\")){\n if (!noSSRFilenames.contains(nLine[0])){\n noSSRFilenames.add(nLine[0]);\n }\n }\n }\n }\n boolean match = false;\n Sequence raw;\n String seqName = \"\";\n while (true) {\n String seqLine = bRead2.readLine();\n if (seqLine == null) {\n break;\n }\n else {\n if (seqLine.charAt(0) == '>') {\n match = false;\n for (String name : noSSRFilenames) {\n if (seqLine.equals(name)) {\n match = true;\n break;\n }\n }\n if (!match) {\n seqName = seqLine;\n }\n }\n //** Sequence objects are created and added to Metagenome\n else if(!match && seqLine.length() > DMMController.getIgnoreShortSeq() ){\n raw = new Sequence(seqName,seqLine,seqLine.length());\n sequences.add(raw);\n }\n }\n }\n }\n catch (Exception e){\n System.out.println(e.getMessage() + \"----------Remove SSRs issue\");\n }\n }",
"public void clean()\r\n {\r\n // DO NOT TOUCH\r\n // System.out.println(unzipedFilePath);\r\n\r\n // only clean if there was a successful unzipping\r\n if (success)\r\n {\r\n // only clean if the file path to remove matches the zipped file.\r\n if (unzippedFilePath.equals(zippedFilePath.substring(0,\r\n zippedFilePath.length() - 4)))\r\n {\r\n // System.out.println(\"to be implmented\");\r\n for (File c : outputDir.listFiles())\r\n {\r\n // System.out.println(c.toString());\r\n if (!c.delete())\r\n {\r\n System.out.println(\"failed to delete\" + c.toString());\r\n }\r\n }\r\n outputDir.delete();\r\n outputDir = null;\r\n }\r\n }\r\n }",
"@Override\n public void deleteFiles(Collection<String> absolutePaths) {\n gemFileDb.delete(absolutePaths);\n }",
"static void removeFileFromShared() {\n\t\ttry {\n\t\t\tint fileMatchNumber = 0;\n\n\t\t\t// Get the current path of the user's shared files\n\t\t\tFile sharedPath = new File(\"users/\" + username +\"/shared\");\n\n\t\t\t// Get the contents of the directory and store it in an array\n\t\t\tFile[] sharedFiles = sharedPath.listFiles();\n\n\t\t\tSystem.out.println(\"Shared Files: \");\n\t\t\t// If the user has no shared files, let them know.\n\t\t\tif (sharedFiles.length == 0) {\n\t\t\t\tSystem.out.println(\"\\t --- \" + username + \" has shared files. ---\");\n System.out.println();\n\t\t\t\t// This has been added in order to allow the user to review the results before going back to the main menu\n\t\t\t\t// Upon pressing Enter, the main menu will come back up again and ready for a new menu option to be selected\n try {\n System.out.println(\"Press any key to return\");\n input.readLine();\n } catch (Exception e) {\n System.out.println(\"Error! \" + e.getMessage());\n }\n return;\n\t\t\t}\n\t\t\t// If the directory has files in it, print them on the screen to help the user with selection\n\t\t\tfor(File file : sharedFiles) {\n\t\t\t\tSystem.out.println(\"\\t + \" + file.getName());\n\t\t\t}\n\n\t\t\t// Let the user enter which file they would like to un-share\n\t\t\tSystem.out.println(\"Enter the name of the file you wish to un-share followed by Enter\");\n\t\t\tSystem.out.print(\"Your Entry: \");\n\n\t\t\tString fileToRemoveFromShare = input.readLine();\n\n\t\t\t// If the filename the user has entered is in the directory, then set the fileMatchNumber to be 1\n\t\t\tfor (int i = 0; i < sharedFiles.length; i++) {\n\t\t\t\tif (fileToRemoveFromShare.equals(sharedFiles[i].getName())) {\n\t\t\t\t\tfileMatchNumber = 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// If the fileMatchNumber is equal to 1, then pass the request to the database via the CORBA server to de-register the file as available for sharing\n\t\t\tif (fileMatchNumber == 1) {\n\t\t\t\tSystem.out.println(server.stopFileShare(username, fileToRemoveFromShare));\n\n\t\t\t\t// Now, copy the file to the not-shared directory and remove it from the user's shared directory\n\t\t\t\tFile sharedFileToMove = new File(\"users/\" + username +\"/shared/\" + fileToRemoveFromShare);\n\t\t\t\tif(sharedFileToMove.renameTo(new File(\"users/\" + username +\"/not-shared/\" + fileToRemoveFromShare))) {\n\t\t\t\t\tsharedFileToMove.delete();\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Otherwise, the user entered an invalid filename\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"--------------------------------------------------------------------\");\n\t\t\t\tSystem.out.println(\"You have entered an invalid file name.\");\n\t\t\t}\n\t\t}\n\t\t// Catch any errors and terminate the function\n\t\tcatch (Exception e) {\n\t\t\tSystem.out.println(\"Error! : \" + e.getMessage());\n\t\t\treturn;\n\t\t}\n System.out.println();\n\t\t// This has been added in order to allow the user to review the results before going back to the main menu\n\t\t// Upon pressing Enter, the main menu will come back up again and ready for a new menu option to be selected\n try {\n System.out.println(\"Press any key to return\");\n input.readLine();\n } catch (Exception e) {\n System.out.println(\"Error! \" + e.getMessage());\n }\n\t}",
"public void removePreviouslySavedFilesFromSDCard() {\n\t\tFile file = ctxt.getExternalFilesDir(Tattle_Config_Constants.SD_FOLDER_NAME + File.separator);\n\t\tif (file.exists()) {\n\t\t\tFile[] files = file.listFiles();\n\t\t\tfor (File f : files) {\n\t\t\t\tf.delete();\n\t\t\t}\n\t\t}\n\t\tfile.delete();\n\t}",
"public void deleteGeneratedFiles();",
"public static void doRemove(String fileName) {\n Stage fromSave = Utils.readObject(STAGED_FILES,\n Stage.class);\n HashSet<String> stagedFiles = fromSave.getStagedFiles();\n Commit currHead = Utils.readObject(TREE_DIR, Tree.class).\n getCurrHead();\n if (stagedFiles.contains(fileName) && currHead.getBlobs().\n containsKey(fileName)) {\n File stagedFile = Utils.join(STAGE_DIR, fileName);\n addToStageRemoval(fileName);\n removeFromWorking(fileName);\n stagedFile.delete();\n\n stagedFiles.remove(fileName);\n Stage.save(fromSave);\n } else if (stagedFiles.contains(fileName) && !currHead.getBlobs().\n containsKey(fileName)) {\n File stagedFile = Utils.join(STAGE_DIR, fileName);\n stagedFile.delete();\n\n stagedFiles.remove(fileName);\n Stage.save(fromSave);\n } else if (!stagedFiles.contains(fileName) && currHead.getBlobs().\n containsKey(fileName)) {\n if (!Utils.filesSet(WORKING_DIR).contains(fileName)) {\n File removedFile = Utils.join(STAGE_RM_DIR, fileName);\n try {\n removedFile.createNewFile();\n } catch (IOException ignored) {\n return;\n }\n String contents = currHead.getBlobs().get(fileName).\n getContents();\n Utils.writeContents(removedFile, contents);\n } else {\n addToStageRemoval(fileName);\n removeFromWorking(fileName);\n }\n } else {\n System.out.println(\"No reason to remove the file.\");\n System.exit(0);\n }\n }",
"private static void rm(Gitlet currCommit, String[] args) {\n if (args.length != 2) {\n System.out.println(\"Please input the file to remove\");\n return;\n }\n Commit headCommit = currCommit.tree.getHeadCommit();\n if (!headCommit.containsFile(args[1])\n && !currCommit.status.isStaged(args[1])) {\n System.out.println(\"No reason to remove the file.\");\n } else {\n currCommit.status.markForRemoval(args[1]);\n }\n addSerializeFile(currCommit);\n }",
"private void prune(java.io.File localDir, List<File> driveFiles) {\n java.io.File[] localArray = localDir.listFiles();\n for (java.io.File f : localArray) {\n boolean found = false;\n String lname = f.getName();\n for (File gf : driveFiles) {\n String gname = gf.getTitle();\n if (lname.equals(gname))\n found = true;\n }\n if (!found) {\n Log.e(\"DELETE PRUNE\", f.getParentFile().getName() + \"/\" + f.getName());\n deleteFile(f);\n }\n }\n }",
"private void actionRemoveFile ()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\t//---- Get currently selected file index in the combo box\r\n\t\t\tint index = mainFormLink.getComponentPanelLeft().getComponentComboboxFileName().getSelectedIndex();\r\n\r\n\t\t\t//---- Remove the file from the project by its index\r\n\t\t\tDataController.scenarioRemoveFile(index);\r\n\r\n\t\t\thelperDisplayProjectFiles();\r\n\t\t\thelperDisplaySamplesCombobox();\r\n\t\t}\r\n\t\tcatch (ExceptionMessage e)\r\n\t\t{\r\n\t\t\tExceptionHandler.processException(e);\r\n\t\t}\r\n\t}",
"private void deleteCacheFiles() {\n\n\t\t// get the directory file\n\t\tFile cache = new File(Constants.CACHE_DIR_PATH);\n\n\t\t// check if we got the correct instance of that directory file.\n\t\tif (!cache.exists() || !cache.isDirectory())\n\t\t\treturn;\n\n\t\t// gets the list of files in the directory\n\t\tFile[] files = cache.listFiles();\n\t\t// deleting\n\n\t\tdeleteFiles(cache);\n\t\tfiles = null;\n\t\tcache = null;\n\n\t}",
"public void excludeAllFiles(){\n for(Map.Entry<String,File> entry : dataSourcesDirectories.entrySet()){\n \n //Get directory\n File dir = entry.getValue();\n \n //List files contained in this directory\n File[] listOfFiles = dir.listFiles();\n \n //Delete each file contained in this directory\n for(File file : listOfFiles)\n file.delete();\n \n //Delete directory\n dir.delete();\n \n }\n \n //For each directory created for each service\n for(Map.Entry<String,File> entry : servicesDirectories.entrySet()){\n \n //Get directory\n File dir = entry.getValue();\n \n //List files contained in this directory\n File[] listOfFiles = dir.listFiles();\n \n //Delete each file contained in this directory\n for(File file : listOfFiles)\n file.delete();\n \n //Delete directory\n dir.delete();\n \n }\n \n //Finally, delete sessionDirectory\n if(sessionDirectory != null)\n sessionDirectory.delete();\n \n }",
"private void removeArquivos(File arquivoOrdem, String arquivosCaixa[]) throws IOException\n\t{\n\t\tfor (int i=0; i < arquivosCaixa.length; i++)\n\t\t{\n\t\t\t// Remove o arquivo concatenado que foi criptografado\n\t\t\tString extArqCriptografado \t= getPropriedade(\"ordemVoucher.extensaoArquivoCriptografado\");\n//\t\t\tString dirOrigem \t\t= getPropriedade(\"ordemVoucher.dirArquivos\");\n\t\t\tString nomArqCriptografado\t= arquivosCaixa[i]+extArqCriptografado;\n\t\t\tFile arquivoCriptografado\t= new File(nomArqCriptografado);\n\t\t\tSystem.out.println(\"Removendo arquivo \"+nomArqCriptografado);\n\t\t\tif (!arquivoCriptografado.delete())\n\t\t\t\tSystem.out.println(\"Nao foi possivel remover o arquivo \"+nomArqCriptografado);\n\n\t\t\t// Remove o arquivo concatenado original\n\t\t\tString nomArqOrigem\t\t\t= arquivosCaixa[i];\n\t\t\tFile arquivoOrigem\t\t= new File(nomArqOrigem);\n\t\t\tSystem.out.println(\"Removendo arquivo \"+nomArqOrigem);\n\t\t\tif (!arquivoOrigem.delete())\n\t\t\t\tSystem.out.println(\"Nao foi possivel remover o arquivo \"+nomArqOrigem);\n\t\t}\n\t\t\n\t\t/* Remove tambem o arquivo compactado que foi enviado para o GPP */\n\t\tFile arqCompactado = new File(getNomeArquivoCompactado(arquivoOrdem));\n\t\tSystem.out.println(\"Removendo arquivo \"+arqCompactado.getName());\n\t\tif (!arqCompactado.delete())\n\t\t\tSystem.out.println(\"Nao foi possivel remover o arquivo \"+arqCompactado.getName());\n\t}",
"@PreAuthorize(\"hasRole('ROLE_ROOT')\")\n\tpublic void deleteFileUploads();",
"void deleteChains() {\n\t\tif (!params.isDebug()) {\n\t\t\tfor (File deleteCandidate : toDelete) {\n\t\t\t\tdeleteCandidate.delete();\n\t\t\t\t\n\t\t\t\ttry (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(deleteCandidate.toPath())) {\n\t\t\t\t\tfor (Path path : directoryStream) {\n\t\t\t\t\t\tif (!path.getFileName().toString().endsWith(\"_SCWRLed.pdb\")) {\n\t\t\t\t\t\t\tpath.toFile().delete();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} catch (IOException ex) {\n\t\t\t\t\tex.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"@Test\n public void testRemoveFileRemovesFile(){\n \n FileStorageService fss = DatabaseServiceTestTool.createFileStorageService();\n \n String user1 = DatabaseServiceTestTool.usernames[0];\n String user2 = DatabaseServiceTestTool.usernames[1];\n \n assertTrue(fss.getFilesFor(user1).size() == 0);\n assertTrue(fss.getFilesFor(user2).size() == 0);\n \n try {\n InputStream is1 = prepareRandomInputStream();\n fss.addFile(user1, \"hello.pgn\", is1);\n is1.close();\n \n InputStream is2 = prepareRandomInputStream();\n fss.addFile(user2, \"hello.pgn\", is2);\n is2.close();\n \n } catch (IOException e) {\n e.printStackTrace();\n fail();\n }\n \n assertTrue(fss.getFilesFor(user1).size() == 1);\n assertTrue(fss.getFilesFor(user2).size() == 1);\n \n assertEquals(fss.getFilesFor(user1).get(0), \"hello.pgn\");\n assertEquals(fss.getFilesFor(user2).get(0), \"hello.pgn\");\n \n try {\n fss.removeFile(user1, \"hello.pgn\");\n } catch (Exception e1) {\n e1.printStackTrace();\n fail();\n }\n \n assertTrue(fss.getFilesFor(user1).size() == 0);\n \n //testing for side-effects now\n assertTrue(fss.getFilesFor(user2).size() == 1);\n assertEquals(fss.getFilesFor(user2).get(0), \"hello.pgn\");\n \n DatabaseServiceTestTool.destroyFileStorageService(fss);\n }",
"public int deleteReq() {\n String fileName = \"\";\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 try {\n fileName = fileList[i];\n context.deleteFile(fileName);\n } catch (Exception e) {\n Log.e(\"Exception Thrown\", \"Exception Thrown\");\n }\n }\n return 0;\n }",
"public void deleteAnonGeneListAnalysisFiles(String userMainDir, int analysis_id, DataSource pool) throws SQLException {\r\n\r\n\t\tlog.info(\"in deleteGeneListAnalysisFiles\");\r\n\r\n\t\tGeneListAnalysis thisGLA = getAnonGeneListAnalysis(analysis_id, pool);\r\n \r\n\t\tString dirToDelete = \"\";\r\n\t\tGeneList thisGeneList = thisGLA.getAnalysisGeneList();\r\n\t\tString glaDir = userMainDir+thisGeneList.getGene_list_id()+\"/\";\r\n log.debug(\"deleteAnonGeneListAnalysis:\"+glaDir);\r\n\t\tif (thisGLA.getAnalysis_type().equals(\"oPOSSUM\")) {\r\n\t\t\tdirToDelete = thisGeneList.getOPOSSUMDir(glaDir);\t\r\n\t\t} else if (thisGLA.getAnalysis_type().equals(\"MEME\")) {\r\n\t\t\tdirToDelete = thisGeneList.getMemeDir(glaDir);\t\r\n\t\t} else if (thisGLA.getAnalysis_type().equals(\"Upstream\")) {\r\n\t\t\tdirToDelete = thisGeneList.getUpstreamDir(glaDir);\t\r\n\t\t} else if (thisGLA.getAnalysis_type().equals(\"Pathway\")) {\r\n\t\t\tdirToDelete = thisGeneList.getPathwayDir(glaDir);\t\r\n\t\t} else if (thisGLA.getAnalysis_type().equals(\"multiMiR\")){\r\n dirToDelete=thisGeneList.getMultiMiRDir(glaDir)+thisGLA.getPath();\r\n } else if (thisGLA.getAnalysis_type().equals(\"GO\")){\r\n dirToDelete=thisGeneList.getGODir(glaDir)+thisGLA.getPath();\r\n } \r\n\t\tlog.debug(\"glaDir=\"+glaDir);\r\n\t\tlog.debug(\"dirToDelete=\"+dirToDelete);\r\n File dir=new File(dirToDelete);\r\n\t\tFile[] filesInDir = dir.listFiles();\r\n boolean emptyFolder=true;\r\n\t\tfor (int i=0; i<filesInDir.length; i++) {\r\n log.debug(\"files\"+i+\"=\"+filesInDir[i].getAbsolutePath());\r\n\t\t\tif (filesInDir[i].getName().indexOf(thisGLA.getCreate_date_as_string()) > -1 ||\r\n\t\t\t\tfilesInDir[i].getName().indexOf(thisGLA.getCreate_date_for_filename()) > -1 || \r\n thisGLA.getAnalysis_type().equals(\"GO\") || thisGLA.getAnalysis_type().equals(\"multiMiR\")\r\n ) {\r\n\t\t\t\ttry{\r\n if(!filesInDir[i].delete()){\r\n emptyFolder=false;\r\n }\r\n }catch(Exception e){\r\n log.error(\"error deleteing Gene List Analysis File:\"+filesInDir[i].getAbsolutePath(),e);\r\n }\r\n \r\n\t\t\t}\r\n\t\t}\r\n if(emptyFolder){\r\n try{\r\n dir.delete();\r\n }catch(Exception e){\r\n log.error(\"error deleteing Gene List Analysis Folder\",e);\r\n }\r\n }\r\n\t}",
"private void cleanOutputFiles() throws DeviceNotAvailableException {\n CLog.d(\"Remove output file: %s\", mOutputFile);\n String extStore = mTestDevice.getMountPoint(IDevice.MNT_EXTERNAL_STORAGE);\n mTestDevice.executeShellCommand(String.format(\"rm %s/%s\", extStore, mOutputFile));\n }",
"void deleteTranslatedFiles(InformationResourceFile irFile);",
"private void deleteUploadFiles(List<File> listFiles) {\r\n\t\tif (listFiles != null && listFiles.size() > 0) {\r\n\t\t\tfor (File aFile : listFiles) {\r\n\t\t\t\taFile.delete();\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"@AfterStep\n\tprivate void deleteFile(){\n\t\tif(LOGGER.isDebugEnabled()){\n\t\tLOGGER.debug(\" Entering into SalesReportByProductEmailProcessor.deleteFile() method --- >\");\n\t\t}\n\t\ttry {\n\t\t\tif(null != salesReportByProductBean){\n\t\t\tReportsUtilBO reportsUtilBO = reportBOFactory.getReportsUtilBO();\n\t\t\tList<String> fileNames = salesReportByProductBean.getFileNameList();\n\t\t\tString fileLocation = salesReportByProductBean.getFileLocation();\n\t\t\treportsUtilBO.deleteFile(fileNames, fileLocation);\n\t\t\t}\n\t\t} catch (PhotoOmniException e) {\n\t\t\tLOGGER.error(\" Error occoured at SalesReportByProductEmailProcessor.deleteFile() method ----> \" + e);\n\t\t}finally {\n\t\t\tif(LOGGER.isDebugEnabled()){\n\t\t\tLOGGER.debug(\" Exiting from SalesReportByProductEmailProcessor.deleteFile() method ---> \");\n\t\t\t}\n\t\t}\n\t}",
"List<ChangedFile> resetChangedFiles(Map<Project, List<ChangedFile>> files);",
"private void deleteIfNecessary(HashMap<String, Blob> allFiles,\n HashMap<String, Blob> filesInCurr) {\n for (String fileName: filesInCurr.keySet()) {\n if (allFiles.get(fileName) == null) {\n File fileInCWD = new File(Main.CWD, fileName);\n if (fileInCWD.exists()) {\n fileInCWD.delete();\n }\n }\n }\n }",
"private void processFiles(List<File> mFileList, java.io.File targetFolder) {\n // check if the local file exists\n for (File file : mFileList) {\n java.io.File local = new java.io.File(targetFolder, file.getTitle());\n if (!local.exists()) {\n downloadFile(file, targetFolder);\n } else {\n if (checkTimeStamp(file)) {\n Log.e(\"DELETE TIME\", local.getParentFile().getName() + \"/\" + local.getName());\n deleteFile(local);\n downloadFile(file, targetFolder);\n } else {\n check = 1;\n Log.e(\"DL NOT NEEDED\", local.getParentFile().getName() + \"/\" + local.getName());\n numDownloading--;\n Log.e(\"STATUS NOT DL\",\"numDownloading is at \" + numDownloading);\n \n setNotification();\n if (numDownloading <= 0) {\n setFinalNotification();\n }\n }\n }\n }\n }",
"public static synchronized void removeArchiveFiles() {\n System.out.println(Thread.currentThread().getName() + \"********************************************************* TestHelper.removeArchiveFiles\");\n String firstDestinationDirName = System.getProperty(USER_DIR)\n + File.separator\n + QVCSConstants.QVCS_PROJECTS_DIRECTORY\n + File.separator\n + getTestProjectName();\n File firstDestinationDirectory = new File(firstDestinationDirName);\n\n String secondDestinationDirName = firstDestinationDirName + File.separator + \"subProjectDirectory\";\n File secondDestinationDirectory = new File(secondDestinationDirName);\n\n String thirdDestinationDirName = secondDestinationDirName + File.separator + \"subProjectDirectory2\";\n File thirdDestinationDirectory = new File(thirdDestinationDirName);\n\n String fourthDestinationDirName = firstDestinationDirName + File.separator + QVCSConstants.QVCS_CEMETERY_DIRECTORY;\n File fourthDestinationDirectory = new File(fourthDestinationDirName);\n\n String fifthDestinationDirName = firstDestinationDirName + File.separator + QVCSConstants.QVCS_DIRECTORY_METADATA_DIRECTORY;\n File fifthDestinationDirectory = new File(fifthDestinationDirName);\n\n String sixthDestinationDirName = firstDestinationDirName + File.separator + QVCSConstants.QVCS_BRANCH_ARCHIVES_DIRECTORY;\n File sixthDestinationDirectory = new File(sixthDestinationDirName);\n\n deleteDirectory(sixthDestinationDirectory);\n deleteDirectory(fifthDestinationDirectory);\n deleteDirectory(fourthDestinationDirectory);\n deleteDirectory(thirdDestinationDirectory);\n deleteDirectory(secondDestinationDirectory);\n deleteDirectory(firstDestinationDirectory);\n }",
"public void delete() {\n\t\tclose();\n\t\t// delete the files of the container\n\t\tfor (int i=0; i<BlockFileContainer.getNumberOfFiles(); i++)\n\t\t\tfso.deleteFile(prefix+EXTENSIONS[i]);\n\t}",
"@Override\r\n public void onConfirmation(String callerTag) {\r\n ComponentsGetter cg = (ComponentsGetter)getSherlockActivity();\r\n FileDataStorageManager storageManager = cg.getStorageManager();\r\n if (storageManager.getFileById(mTargetFile.getFileId()) != null) {\r\n cg.getFileOperationsHelper().removeFile(mTargetFile, false);\r\n }\r\n }",
"public void removeFiles(String mPath)\n\t{\n\t\tFile dir = new File(mPath);\n\n\t\tString[] children = dir.list();\n\t\tif (children != null) {\n\t\t\tfor (int i=0; i<children.length; i++) {\n\t\t\t\tString filename = children[i];\n\t\t\t\tFile f = new File(mPath + filename);\n\n\t\t\t\tif (f.exists()) {\n\t\t\t\t\tf.delete();\n\t\t\t\t}\n\t\t\t}//for\n\t\t}//if\n\n\t}",
"public void deleteGeneListAnalysisFiles(String userMainDir, int analysis_id, Connection conn) throws SQLException {\r\n\r\n\t\tlog.info(\"in deleteGeneListAnalysisFiles\");\r\n\r\n\t\tGeneListAnalysis thisGLA = getGeneListAnalysis(analysis_id, conn);\r\n \r\n\t\tString dirToDelete = \"\";\r\n\t\tGeneList thisGeneList = thisGLA.getAnalysisGeneList();\r\n\t\tString glaDir = thisGeneList.getGeneListAnalysisDir(userMainDir);\r\n\r\n\t\tif (thisGLA.getAnalysis_type().equals(\"oPOSSUM\")) {\r\n\t\t\tdirToDelete = thisGeneList.getOPOSSUMDir(glaDir);\t\r\n\t\t} else if (thisGLA.getAnalysis_type().equals(\"MEME\")) {\r\n\t\t\tdirToDelete = thisGeneList.getMemeDir(glaDir);\t\r\n\t\t} else if (thisGLA.getAnalysis_type().equals(\"Upstream\")) {\r\n\t\t\tdirToDelete = thisGeneList.getUpstreamDir(glaDir);\t\r\n\t\t} else if (thisGLA.getAnalysis_type().equals(\"Pathway\")) {\r\n\t\t\tdirToDelete = thisGeneList.getPathwayDir(glaDir);\t\r\n\t\t} else if (thisGLA.getAnalysis_type().equals(\"multiMiR\")){\r\n dirToDelete=thisGeneList.getMultiMiRDir(glaDir)+thisGLA.getPath();\r\n } else if (thisGLA.getAnalysis_type().equals(\"GO\")){\r\n dirToDelete=thisGeneList.getGODir(glaDir)+thisGLA.getPath();\r\n } \r\n\t\tlog.debug(\"glaDir=\"+glaDir);\r\n\t\tlog.debug(\"dirToDelete=\"+dirToDelete);\r\n File dir=new File(dirToDelete);\r\n\t\tFile[] filesInDir = dir.listFiles();\r\n boolean emptyFolder=true;\r\n\t\tfor (int i=0; i<filesInDir.length; i++) {\r\n log.debug(\"files\"+i+\"=\"+filesInDir[i].getAbsolutePath());\r\n\t\t\tif (filesInDir[i].getName().indexOf(thisGLA.getCreate_date_as_string()) > -1 ||\r\n\t\t\t\tfilesInDir[i].getName().indexOf(thisGLA.getCreate_date_for_filename()) > -1 || \r\n thisGLA.getAnalysis_type().equals(\"GO\") || thisGLA.getAnalysis_type().equals(\"multiMiR\")\r\n ) {\r\n\t\t\t\ttry{\r\n if(!filesInDir[i].delete()){\r\n emptyFolder=false;\r\n }\r\n }catch(Exception e){\r\n log.error(\"error deleteing Gene List Analysis File:\"+filesInDir[i].getAbsolutePath(),e);\r\n }\r\n \r\n\t\t\t}\r\n\t\t}\r\n if(emptyFolder){\r\n try{\r\n dir.delete();\r\n }catch(Exception e){\r\n log.error(\"error deleteing Gene List Analysis Folder\",e);\r\n }\r\n }\r\n\t}",
"public void removeAllUniqueFileIdentifier() {\r\n\t\tBase.removeAll(this.model, this.getResource(), UNIQUEFILEIDENTIFIER);\r\n\t}",
"public File[] DeleteFile(String sfileName) {\n\t \tFile dir = new File(fileStorageLocation.toString());\n\t \tFile[] matchingFiles = dir.listFiles(new FilenameFilter() {\n\t \t public boolean accept(File dir, String name) {\n\t \t return name.endsWith(\"_\" + sfileName);\n\t \t }\n\t \t});\n\t \t\n\t \tfor (int i = 0; i < matchingFiles.length; i++)\n\t \t{\n\t \t\tmatchingFiles[i].delete();\n\t \t}\n \t\n return matchingFiles;\n }",
"@RequestMapping(value=\"/remove/{filename}&{subdir}\", method = RequestMethod.GET)\r\n public String processRemoveFile(@PathVariable String filename, @PathVariable String subdir, Locale locale, Model model, HttpServletRequest request) {\r\n\t\t\r\n\t\tlogger.info(\"Delete file: \" + filename + \" in \" + QRDA_URIResolver.REPOSITORY_TESTFILES + \"/\" + subdir);\r\n\t\tfileService.deleteFile(filename, QRDA_URIResolver.REPOSITORY_TESTFILES, subdir);\r\n\t\treturn \"redirect:/testFiles\";\r\n\t}",
"public void EliminarArchivos(){\n\t\ttry{\n\t\tFile Delete = new File(\"Cod.txt\");\n\t\tDelete.deleteOnExit();\n\t\tFile Borrar = new File(\"Maq.txt\");\n\t\tBorrar.deleteOnExit();\n\t\tFile eliminar = new File(\"WS.txt\");\n\t\teliminar.deleteOnExit();\n\t\tFile Bye = new File(\"RESPALDO.txt\");\n\t\tBye.deleteOnExit();\n\t\t\tBufferedReader numero= new BufferedReader(new FileReader(\"WS.txt\"));\n\t\t\tString valor = numero.readLine();\n\t\t\tint NumAreas= Integer.valueOf(valor);\n\t\t\tfor(int i=0; i< NumAreas;i++){\n\t\t\t\tvalor= numero.readLine();\n\t\t\t\tFile eliminas = new File(\"WS\"+valor+\".txt\");\n\t\t\t\teliminas.deleteOnExit();\n\t\t\t}\n\t\t\tnumero.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"File not found\");\n\t\t}\n\t}",
"public synchronized void cleanupSimple() {\n\t\tfinal int maxNumFiles = 1000;\n\t\tfinal int numFilesToDelete = 50;\n\n\t\tString[] children = mStorageDirectory.list();\n\t\tif (children != null) {\n\t\t\tif (children.length > maxNumFiles) {\n\t\t\t\tfor (int i = children.length - 1, m = i - numFilesToDelete; i > m; i--) {\n\t\t\t\t\tFile child = new File(mStorageDirectory, children[i]);\n\t\t\t\t\ttry {\n\t\t\t\t\t\tchild.delete();\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public void removeFiles(String filter)\n {\n for (String s : fileList) {\n if (!s.contains(filter)) {\n fileList.remove(s);\n }\n }\n }",
"@Test\n public void testRemoveCorruptedPendingCleanAction() throws IOException {\n HoodieCLI.conf = hadoopConf();\n\n Configuration conf = HoodieCLI.conf;\n\n HoodieTableMetaClient metaClient = HoodieCLI.getTableMetaClient();\n\n // Create four requested files\n for (int i = 100; i < 104; i++) {\n String timestamp = String.valueOf(i);\n // Write corrupted requested Clean File\n HoodieTestCommitMetadataGenerator.createEmptyCleanRequestedFile(tablePath, timestamp, conf);\n }\n\n // reload meta client\n metaClient = HoodieTableMetaClient.reload(metaClient);\n // first, there are four instants\n assertEquals(4, metaClient.getActiveTimeline().filterInflightsAndRequested().getInstants().count());\n\n CommandResult cr = shell().executeCommand(\"repair corrupted clean files\");\n assertTrue(cr.isSuccess());\n\n // reload meta client\n metaClient = HoodieTableMetaClient.reload(metaClient);\n assertEquals(0, metaClient.getActiveTimeline().filterInflightsAndRequested().getInstants().count());\n }",
"private void cleanFolder(File[] files) {\n \t\t\n \t\tif (files != null) {\n \t\t\t// Iterate the files\n \t\t\tfor (int i = 0; i < files.length; i++) {\n \t\t\t\tFile f = files[i];\n \t\t\t\t// If the file is a directory, remove its contents recursively\n \t\t\t\tif (f.isDirectory()) {\n \t\t\t\t\tcleanFolder(f.listFiles());\n \t\t\t\t}\n \t\t\t\t// Remove the file if it is a class file\n \t\t\t\tif (f.getName().endsWith(\".class\"))\n \t\t\t\t\tf.delete();\n \t\t\t}\n \t\t}\n \t}",
"public void doDeleteconfirm ( RunData data)\n\t{\n\t\tSessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ());\n\t\tSet deleteIdSet = new TreeSet();\n\n\t\t// cancel copy if there is one in progress\n\t\tif(! Boolean.FALSE.toString().equals(state.getAttribute (STATE_COPY_FLAG)))\n\t\t{\n\t\t\tinitCopyContext(state);\n\t\t}\n\n\t\t// cancel move if there is one in progress\n\t\tif(! Boolean.FALSE.toString().equals(state.getAttribute (STATE_MOVE_FLAG)))\n\t\t{\n\t\t\tinitMoveContext(state);\n\t\t}\n\n\t\tString[] deleteIds = data.getParameters ().getStrings (\"selectedMembers\");\n\t\tif (deleteIds == null)\n\t\t{\n\t\t\t// there is no resource selected, show the alert message to the user\n\t\t\taddAlert(state, rb.getString(\"choosefile3\"));\n\t\t}\n\t\telse\n\t\t{\n\t\t\tdeleteIdSet.addAll(Arrays.asList(deleteIds));\n\t\t\tList deleteItems = new Vector();\n\t\t\tList notDeleteItems = new Vector();\n\t\t\tList nonEmptyFolders = new Vector();\n\t\t\tList roots = (List) state.getAttribute(STATE_COLLECTION_ROOTS);\n\t\t\tIterator rootIt = roots.iterator();\n\t\t\twhile(rootIt.hasNext())\n\t\t\t{\n\t\t\t\tBrowseItem root = (BrowseItem) rootIt.next();\n\n\t\t\t\tList members = root.getMembers();\n\t\t\t\tIterator memberIt = members.iterator();\n\t\t\t\twhile(memberIt.hasNext())\n\t\t\t\t{\n\t\t\t\t\tBrowseItem member = (BrowseItem) memberIt.next();\n\t\t\t\t\tif(deleteIdSet.contains(member.getId()))\n\t\t\t\t\t{\n\t\t\t\t\t\tif(member.isFolder())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif(ContentHostingService.allowRemoveCollection(member.getId()))\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdeleteItems.add(member);\n\t\t\t\t\t\t\t\tif(! member.isEmpty())\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tnonEmptyFolders.add(member);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tnotDeleteItems.add(member);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(ContentHostingService.allowRemoveResource(member.getId()))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdeleteItems.add(member);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tnotDeleteItems.add(member);\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\tif(! notDeleteItems.isEmpty())\n\t\t\t{\n\t\t\t\tString notDeleteNames = \"\";\n\t\t\t\tboolean first_item = true;\n\t\t\t\tIterator notIt = notDeleteItems.iterator();\n\t\t\t\twhile(notIt.hasNext())\n\t\t\t\t{\n\t\t\t\t\tBrowseItem item = (BrowseItem) notIt.next();\n\t\t\t\t\tif(first_item)\n\t\t\t\t\t{\n\t\t\t\t\t\tnotDeleteNames = item.getName();\n\t\t\t\t\t\tfirst_item = false;\n\t\t\t\t\t}\n\t\t\t\t\telse if(notIt.hasNext())\n\t\t\t\t\t{\n\t\t\t\t\t\tnotDeleteNames += \", \" + item.getName();\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tnotDeleteNames += \" and \" + item.getName();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\taddAlert(state, rb.getString(\"notpermis14\") + notDeleteNames);\n\t\t\t}\n\n\n\t\t\t/*\n\t\t\t\t\t//htripath-SAK-1712 - Set new collectionId as resources are not deleted under 'more' requirement.\n\t\t\t\t\tif(state.getAttribute(STATE_MESSAGE) == null){\n\t\t\t\t\t String newCollectionId=ContentHostingService.getContainingCollectionId(currentId);\n\t\t\t\t\t state.setAttribute(STATE_COLLECTION_ID, newCollectionId);\n\t\t\t\t\t}\n\t\t\t*/\n\n\t\t\t// delete item\n\t\t\tstate.setAttribute (STATE_DELETE_ITEMS, deleteItems);\n\t\t\tstate.setAttribute (STATE_DELETE_ITEMS_NOT_EMPTY, nonEmptyFolders);\n\t\t}\t// if-else\n\n\t\tif (state.getAttribute(STATE_MESSAGE) == null)\n\t\t{\n\t\t\tstate.setAttribute (STATE_MODE, MODE_DELETE_CONFIRM);\n\t\t\tstate.setAttribute(STATE_LIST_SELECTIONS, deleteIdSet);\n\t\t}\n\n\n\t}",
"void deleteAllCopiedComponent(RecordSet compRs);",
"private static void deleteDataFilesInManifestFile(DremioFileIO dremioFileIO, ManifestFile manifestFile) {\n try {\n // ManifestFiles.readPaths requires snapshotId not null, created manifestFile has null snapshot id\n // use a NonNullSnapshotIdManifestFileWrapper to provide a non-null dummy snapshotId\n ManifestFile nonNullSnapshotIdManifestFile =\n manifestFile.snapshotId()==null ? GenericManifestFile.copyOf(manifestFile).withSnapshotId(-1L).build():manifestFile;\n CloseableIterable<String> dataFiles = ManifestFiles.readPaths(nonNullSnapshotIdManifestFile, dremioFileIO);\n dataFiles.forEach(f -> dremioFileIO.deleteFile(f));\n } catch (Exception e) {\n logger.warn(String.format(\"Failed to delete up data files in manifestFile %s\" , manifestFile), e);\n }\n }",
"public static void Deletefiles() throws Throwable\r\n\t{\r\n\t\tString filePath, timestamp;\r\n\t\tDate date = new Date();\r\n\t\ttimestamp = new SimpleDateFormat(\"MMMdd\").format(date);\r\n\t filePath = \"./target/screenshots/\" + timestamp;\r\n\t\tFile file = new File(filePath);\r\n\t\t\r\n\t\tString[] evdFiles;\r\n\t\tif (file.isDirectory())\r\n\t\t{\r\n\t\t\tevdFiles = file.list();\r\n\t\t\tSystem.out.println(\"number of files ::: \"+evdFiles.length);\r\n\t\t\tfor (int i = 0; i < evdFiles.length; i++)\r\n\t\t\t{\r\n\t\t\t\tFile evdFile = new File(file, evdFiles[i]);\r\n\t\t\t\tSystem.out.println(\"File to be deleted ::: \"+evdFile);\r\n\t\t\t\tif (!evdFile.isDirectory())\r\n\t\t\t\t{\r\n\t\t\t\t\tevdFile.delete();\r\n\t\t\t\t\tSystem.out.println(\"File deleted\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\ti = 0;\r\n\t}",
"public void cleanup(Appendable err) throws IOException {\n\n String[] toRemove = {\".data\", \".properties\", \".script\", \".tmp\", \".log\"};\n\n for (String aToRemove : toRemove) {\n String tmpFile = \"\" + Globals.DBname + aToRemove;\n File f = new File(tmpFile);\n if (f.exists()) {\n\n f.delete();\n err.append(\"Abacus disk clean up: removing \" + tmpFile + \"\\n\");\n\n }\n }\n err.append(\"\\n\");\n }",
"private List<File> checkAndRemoveMatchingFiles(AbstractSchemaElement schemaElement) {\n\t\tSchemaFileMatcher fileMatcher = new SchemaFileMatcher(schemaElement);\n\t\tList<File> matchedFiles = new ArrayList<File>();\n\t\tboolean change = true;\n\t\twhile (change) {\n\t\t\tchange = false;\n\t\t\tfor (int i = 0; i < files.size(); i++) {\n\t\t\t\tFile file = files.get(i);\n\t\t\t\tString filename = file.getName();\n\t\t\t\tif (fileMatcher.matches(filename)) {\n\t\t\t\t\tfiles.remove(i);\n\t\t\t\t\tmatchedFiles.add(file);\n\t\t\t\t\tString schema = schemaElement.getSchema();\n\t\t\t\t\tif (schema != null && checkTrees) {\n\t\t\t\t\t\tLOG.trace(\"*******following: \"+schema);\n\t\t\t\t\t\tContainerCheck schemaCheck = new ContainerCheck(schema);\n\t\t\t\t\t\tschemaCheck.setCheckTrees(checkTrees);\n\t\t\t\t\t\tschemaCheck.checkProject(new SimpleContainer(file));\n//\t\t\t\t\t\tcheckUnmatchedFiles();\n\t\t\t\t\t\tLOG.trace(\"*******end: \"+schema);\n\t\t\t\t\t}\n\t\t\t\t\tchange = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn matchedFiles;\n\t}",
"@Override\r\n public void remove() {\n ArrayList<String>Lines=new ArrayList<>();\r\n String Path = \"/home/yara/Documents/4year/OODP/Task.txt\";\r\n \r\n String RID=id.getText();\r\n String Taskname = name.getText();\r\n String startDate = date_start.getText();\r\n String EndDate = date_finish.getText();\r\n String LocalStatus = status.getText();\r\n String MemberID = MemberId.getText();\r\n \r\n Lines.add(RID);\r\n Lines.add(Taskname);\r\n Lines.add(startDate);\r\n Lines.add(EndDate);\r\n Lines.add(LocalStatus);\r\n Lines.add(MemberID);\r\n \r\n FileFacade facade = new FileFacade();\r\n facade.remove(Path, Lines);\r\n \r\n }",
"public static boolean deleteLockedWorkflows(final List<? extends AbstractExplorerFileStore> toDelWFs,\n final Map<AbstractContentProvider, DeletionConfirmationResult> confirmationResults) {\n boolean success = true;\n for (AbstractExplorerFileStore wf : toDelWFs) {\n assert AbstractExplorerFileStore.isWorkflow(wf)\n || AbstractExplorerFileStore.isWorkflowTemplate(wf);\n try {\n File loc = wf.toLocalFile(EFS.NONE, null);\n if (loc == null) {\n // can't do any locking or fancy deletion\n wf.delete(confirmationResults.get(wf.getContentProvider()), null);\n continue;\n }\n assert VMFileLocker.isLockedForVM(loc);\n\n // delete the workflow file first\n File[] children = loc.listFiles();\n if (children == null) {\n throw new CoreException(\n new Status(IStatus.ERROR,\n ExplorerActivator.PLUGIN_ID,\n Messages.ExplorerFileSystemUtils_14));\n }\n\n // delete workflow file first\n File wfFile = new File(loc, WorkflowPersistor.WORKFLOW_FILE);\n if (wfFile.exists()) {\n success &= wfFile.delete();\n } else {\n File tempFile =\n new File(loc, WorkflowPersistor.TEMPLATE_FILE);\n success &= tempFile.delete();\n }\n\n children = loc.listFiles(); // get a list w/o workflow file\n for (File child : children) {\n if (VMFileLocker.LOCK_FILE.equals(child.getName())) {\n // delete the lock file last\n continue;\n }\n boolean deletedIt = FileUtil.deleteRecursively(child);\n success &= deletedIt;\n if (!deletedIt) {\n LOGGER.error(Messages.ExplorerFileSystemUtils_15 + child.toString());\n }\n }\n\n // release lock in order to delete lock file\n VMFileLocker.unlockForVM(loc);\n // lock file resource may not exist\n File lockFile = new File(loc, VMFileLocker.LOCK_FILE);\n if (lockFile.exists()) {\n success &= lockFile.delete();\n }\n // delete the workflow directory itself\n success &= FileUtil.deleteRecursively(loc);\n } catch (CoreException e) {\n success = false;\n LOGGER.error(Messages.ExplorerFileSystemUtils_16 + wf.toString()\n + \": \" + e.getMessage(), e); //$NON-NLS-1$\n // continue with next workflow...\n }\n }\n return success;\n }",
"public void deleteOutfiles(String filename) {\n Runtime runTime = Runtime.getRuntime();\n\n String[] commands = new String[]{MYSQL, mysqlDb, userFlag + mysqlUser, pwdFlag + mysqlPwd,\n executeFlag, sourceCommand + filename};\n\n try {\n Process proc = runTime.exec(commands);\n\n StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(), \"ERROR\");\n\n StreamGobbler outputGobbler = new StreamGobbler(proc.getInputStream(), \"OUTPUT\");\n\n errorGobbler.start();\n outputGobbler.start();\n\n try {\n if (proc.waitFor() == 1) {\n logger.error(\"Return code indicates error in deleting the load data outfiles \"\n + \"process\");\n }\n } catch (InterruptedException exception) {\n logger.error(\"Interrupted Exception while running the delete load data outfiles \"\n + \"process\", exception);\n }\n\n } catch (IOException exception) {\n logger.error(\"Attempt to spawn a DBMerge mysql process failed for file: \"\n + filename, exception);\n }\n }",
"private void removePolicyContextDirectory(){\n\tString directoryName = getContextDirectoryName();\n\tFile f = new File(directoryName);\n\tif(f.exists()){\n\n // WORKAROUND: due to existence of timestamp file in given directory\n // for SE/EE synchronization\n File[] files = f.listFiles();\n if (files != null && files.length > 0) {\n for (int i = 0; i < files.length; i++) {\n files[i].delete();\n }\n }\n //WORKAROUND: End \n\n\t if (!f.delete()) {\n String defMsg = \"Failure removing policy context directory: \"+directoryName;\n String msg=localStrings.getLocalString(\"pc.file_delete_error\", defMsg);\n\t\tlogger.log(Level.SEVERE,msg);\n\t\tthrow new RuntimeException(defMsg);\n\t } else if(logger.isLoggable(Level.FINE)){\n\t\tlogger.fine(\"JACC Policy Provider: Policy context directory removed: \"+directoryName);\n\t }\n\n File appDir = f.getParentFile();\n // WORKAROUND: due to existence of timestamp file in given directory\n // for SE/EE synchronization\n File[] fs = appDir.listFiles();\n if (fs != null && fs.length > 0) {\n boolean hasDir = false;\n for (int i = 0; i < fs.length; i++) {\n if (fs[i].isDirectory()) {\n hasDir = true;\n break;\n }\n }\n if (!hasDir) {\n for (int i = 0; i < fs.length; i++) {\n fs[i].delete();\n }\n }\n }\n //WORKAROUND: End \n\n File[] moduleDirs = appDir.listFiles();\n if (moduleDirs == null || moduleDirs.length == 0) {\n if (!appDir.delete()) {\n String defMsg = \"Failure removing policy context directory: \" + appDir;\n String msg = localStrings.getLocalString(\"pc.file_delete_error\", defMsg);\n\t\t logger.log(Level.SEVERE,msg);\n\t\t throw new RuntimeException(defMsg);\n }\n }\n\t}\n }",
"public abstract void stopAcceptingFiles();",
"public void deleteTemporaryFiles() {\n if (!shouldReap()) {\n return;\n }\n\n for (File file : temporaryFiles) {\n try {\n FileHandler.delete(file);\n } catch (UncheckedIOException ignore) {\n // ignore; an interrupt will already have been logged.\n }\n }\n }",
"protected void remove(String filename) throws IOException {\n\t\tthrow new IOException( \"not implemented\" ); //TODO map this to the FileSystem\n\t}",
"public void removeFilesFromUser(\r\n registry.ClientRegistryStub.RemoveFilesFromUser removeFilesFromUser6\r\n\r\n ) throws java.rmi.RemoteException\r\n \r\n \r\n {\r\n org.apache.axis2.context.MessageContext _messageContext = null;\r\n\r\n \r\n org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[4].getName());\r\n _operationClient.getOptions().setAction(\"urn:removeFilesFromUser\");\r\n _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);\r\n\r\n \r\n \r\n addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,\"&\");\r\n \r\n org.apache.axiom.soap.SOAPEnvelope env = null;\r\n _messageContext = new org.apache.axis2.context.MessageContext();\r\n\r\n \r\n //Style is Doc.\r\n \r\n \r\n env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),\r\n removeFilesFromUser6,\r\n optimizeContent(new javax.xml.namespace.QName(\"http://registry\",\r\n \"removeFilesFromUser\")),new javax.xml.namespace.QName(\"http://registry\",\r\n \"removeFilesFromUser\"));\r\n \r\n\r\n //adding SOAP soap_headers\r\n _serviceClient.addHeadersToEnvelope(env);\r\n // create message context with that soap envelope\r\n\r\n _messageContext.setEnvelope(env);\r\n\r\n // add the message contxt to the operation client\r\n _operationClient.addMessageContext(_messageContext);\r\n\r\n _operationClient.execute(true);\r\n\r\n \r\n if (_messageContext.getTransportOut() != null) {\r\n _messageContext.getTransportOut().getSender().cleanup(_messageContext);\r\n }\r\n \r\n return;\r\n }",
"private void m50956b() {\n if (!C8626b.m50749b() && !C8626b.m50748a()) {\n try {\n File file = new File(this.f36887b.getExternalFilesDir(null) + \"/.logcache\");\n if (file.exists() && file.isDirectory()) {\n for (File file2 : file.listFiles()) {\n file2.delete();\n }\n }\n } catch (NullPointerException unused) {\n }\n }\n }",
"public static void rmBirtRpts(String[] fileNameArr, String userName)\n\t{\n\t\trmDumbFiles(fileNameArr, userName);\n\t\t//2. Delete dumb rpt data from table BSM_REPORT\n\t\tdeleteDumbFileDataFromDb(fileNameArr, userName);\n\t}",
"public void removeAllOriginalFilename() {\r\n\t\tBase.removeAll(this.model, this.getResource(), ORIGINALFILENAME);\r\n\t}",
"public void cleanDirs() {\n\t\tfor (File f : files) {\n\t\t\tFileUtils.deleteDir(f.toString());\n\t\t}\n\t}",
"@Override\n\t\t\tpublic boolean accept(File dir, String filename) {\n\t\t\t\tif(filename.endsWith(\".wmm\"))\n\t\t\t\t{\n\t\t\t\t\tnew File(dir,filename).delete();\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}",
"void rejectFiles(String[] fileIds,String[] commentList,String userId)throws LMSException;",
"public void deletePendingReports() {\r\n String[] filesList = getCrashReportFilesList();\r\n if (filesList != null) {\r\n for (String fileName : filesList) {\r\n new File(mContext.getFilesDir(), fileName).delete();\r\n }\r\n }\r\n }",
"@Override\r\n\tpublic void remFile(String path) {\n\t\t\r\n\t}",
"public DBMaker deleteFilesAfterClose(){\n this.deleteFilesAfterCloseFlag = true;\n return this;\n }",
"protected static void deleteOldFiles(String[] deleteFiles) {\n\t\t// Deletes Old Modpack Files\n\n\t\tSystem.out.println(\"Deleting old modpack files...\");\n\n\t\tif (downloaded) {\n\t\t\tif (deleteFiles != null) {\n\t\t\t\tfor (int i = 0; i < deleteFiles.length; i++) {\n\t\t\t\t\tFile file = new File(deleteFiles[i]);\n\t\t\t\t\tif (file.exists()) {\n\t\t\t\t\t\tFileUtil.sexyDelete(deleteFiles[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tFile cfgs = new File(configtarget);\n\t\t\tif (cfgs.exists()) {\n\t\t\t\tFileUtil.sexyDelete(configtarget);\n\t\t\t}\n\n\t\t\tFile mods = new File(modstarget);\n\t\t\tif (mods.exists()) {\n\t\t\t\tFileUtil.sexyDelete(modstarget);\n\t\t\t}\n\t\t}\n\t}",
"public void deleteDownloadedFiles() {\n if (sDocPath.listFiles() == null || sDocPath.listFiles().length == 0) {\n return;\n }\n\n for (File file : sDocPath.listFiles()) {\n deleteFile(file);\n }\n }",
"@Override\n\tpublic void fileDelete(int file_num) {\n\t\tworkMapper.fileDelete(file_num);\n\t}",
"@Synchronized\r\n public void cleanTransferModelRecordsPeriodically() {\r\n try {\r\n ArrayList<Long> arrayList = getTransferModelsListIds();\r\n ArrayList<String> arrayListToDelete = new ArrayList<>();\r\n if (!arrayList.isEmpty() && arrayList.size() > 20) {\r\n for (int i = 19; i < arrayList.size(); i++) {\r\n arrayListToDelete.add(arrayList.get(i) + \"\");\r\n }\r\n String[] itemIds = arrayListToDelete.toArray(new String[arrayListToDelete.size()]);\r\n if (itemIds != null && itemIds.length > 0) {\r\n databaseHandler.getWritableDatabase();\r\n databaseHandler.deleteData(TableTransferModel.TABLE_NAME, TableTransferModel.id + \"=?\", itemIds);\r\n }\r\n }\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n FirebaseCrashlytics.getInstance().recordException(e);\r\n }\r\n }",
"public void deleteFiles(Path[] files)\n {\n delete_files = files;\n }",
"private void prune(java.io.File localDir, List<File> driveFiles, boolean dir) {\n java.io.File[] localArray = localDir.listFiles();\n for (java.io.File f : localArray) {\n if (!dir) {\n // only consider folders\n if (!f.isDirectory())\n continue;\n } else {\n // only consider files\n if (f.isDirectory())\n continue;\n }\n boolean found = false;\n String lname = f.getName();\n for (File gf : driveFiles) {\n String gname = gf.getTitle();\n if (lname.equals(gname))\n found = true;\n }\n if (!found) {\n Log.e(\"DELETE PRUNE\", f.getParentFile().getName() + \"/\" + f.getName());\n deleteFile(f);\n }\n }\n }",
"public void removeRlsSourceFile(IAstRlsSourceFile rlsFile);",
"@AfterClass(groups ={\"All\"})\n\tpublic void deleteFolder() {\n\t\ttry {\n\t\t\tUserAccount account = dciFunctions.getUserAccount(suiteData);\n\t\t\tUniversalApi universalApi = dciFunctions.getUniversalApi(suiteData, account);\n\t\t\tif(suiteData.getSaasApp().equalsIgnoreCase(\"Salesforce\")){\n\t\t\t\tfor(String id:uploadId){\n\t\t\t\t\tMap<String,String> fileInfo = new HashMap<String,String> ();\n\t\t\t\t\tfileInfo.put(\"fileId\", id);\n\t\t\t\t\tdciFunctions.deleteFile(universalApi, suiteData, fileInfo);\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tdciFunctions.deleteFolder(universalApi, suiteData, folderInfo);\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tLogger.info(\"Issue with Delete Folder Operation \" + ex.getLocalizedMessage());\n\t\t}\n\t}",
"private void handleRmd(String dir) {\n String filename = currDirectory;\n\n // only alphanumeric folder names are allowed\n if (dir != null && dir.matches(\"^[a-zA-Z0-9]+$\")) {\n filename = filename + fileSeparator + dir;\n\n // check if file exists, is directory\n File d = new File(filename);\n\n if (d.exists() && d.isDirectory()) {\n d.delete();\n\n sendMsgToClient(\"250 Directory was successfully removed\");\n } else {\n sendMsgToClient(\"550 Requested action not taken. File unavailable.\");\n }\n } else {\n sendMsgToClient(\"550 Invalid file name.\");\n }\n\n }",
"public void removeFileFromList(ChatFile file){\n\t\tfilelist.remove(file);\t\t\t\n\t}",
"@TestFor(issues = \"TW-42737\")\n public void test_directory_remove() throws Exception {\n CommitPatchBuilder patchBuilder = myCommitSupport.getCommitPatchBuilder(myRoot);\n patchBuilder.createFile(\"dir/file\", new ByteArrayInputStream(\"content\".getBytes()));\n patchBuilder.createFile(\"dir2/file\", new ByteArrayInputStream(\"content\".getBytes()));\n patchBuilder.commit(new CommitSettingsImpl(\"user\", \"Create dir with file\"));\n patchBuilder.dispose();\n\n RepositoryStateData state1 = myGit.getCurrentState(myRoot);\n\n patchBuilder = myCommitSupport.getCommitPatchBuilder(myRoot);\n patchBuilder.deleteDirectory(\"dir\");\n patchBuilder.commit(new CommitSettingsImpl(\"user\", \"Delete dir\"));\n patchBuilder.dispose();\n\n RepositoryStateData state2 = myGit.getCurrentState(myRoot);\n\n List<ModificationData> changes = myGit.getCollectChangesPolicy().collectChanges(myRoot, state1, state2, CheckoutRules.DEFAULT);\n then(changes).hasSize(1);\n then(changes.get(0).getChanges()).extracting(\"fileName\", \"type\").containsOnly(Tuple.tuple(\"dir/file\", VcsChange.Type.REMOVED));\n }",
"public synchronized void cleanup() {\n\t\tString[] children = mStorageDirectory.list();\n\t\tif (children != null) { // children will be null if the directory does\n\t\t\t\t\t\t\t\t// not exist.\n\t\t\tfor (int i = 0; i < children.length; i++) { // remove too small file\n\t\t\t\tFile child = new File(mStorageDirectory, children[i]);\n\t\t\t\tif (!child.equals(new File(mStorageDirectory, NOMEDIA))\n\t\t\t\t\t\t&& child.length() <= MIN_FILE_SIZE_IN_BYTES) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tchild.delete();\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public void deleteAdbLogFiles() {\n\t\t\n\t\ttry {\n\n\n\t\t\tSystem.out.println(\"<-----------------------DELETING ADB LOG Files----------------->\");\n\n\t\t\tFile dir = new File(\"src/test/resources/adbLogs\");\n\t\t\tif(dir.isDirectory() == false) \n\t\t\t{\n\t\t\t\tSystem.out.println(\"Not a directory. Do nothing\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tFile[] listFiles = dir.listFiles();\n\t\t\tfor(File file : listFiles)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Deleting \"+file.getName());\n\t\t\t\tfile.delete();\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\n\t\t\te.printStackTrace();\n\n\t\t}\n\n\n\t}",
"@Override\n public void onRemoval(final RemovalNotification<String, Optional<File>> notification) {\n if (!notification.getKey().endsWith(\"/\") && tempDirectory != null && notification.getValue().isPresent())\n FileRemovals.delete(notification.getValue().get());\n }",
"@Override\n\tpublic void deleteUploadedFiles(AuthenticationToken token, String uploadedDirectory, List<String> uploadedFiles) throws PermissionDeniedException, FileDeleteFailedException {\n\t\tFile file = new File(uploadedDirectory);\n\t\tFile[] childFiles = file.listFiles();\n\t\tfor(File child : childFiles){\n\t\t\tif(child.isFile() && uploadedFiles.contains(child.getName())){\n\t\t\t\tdeleteFile(token, child.getAbsolutePath());\n\t\t\t}\n\t\t}\t\n\t}",
"public void removeRafProcessList(List<RafProcess> rafProcessList);",
"@AfterClass\r\n\tpublic static void cleanupBoogiePrinterFiles() {\r\n\r\n\t\tfinal File root = getRootFolder(ROOT_FOLDER);\r\n\r\n\t\tCollection<File> files = TestUtil.getFiles(root, new String[] { \".bpl\" });\r\n\t\tfiles = TestUtil.filterFiles(files, TEMPORARY_BOOGIE_FILENAME_PATTERN);\r\n\r\n\t\tif (files.isEmpty()) {\r\n\t\t\tSystem.out.println(\r\n\t\t\t\t\tString.format(\"No cleanup of %s necessary, no files matching the pattern %s have been found\",\r\n\t\t\t\t\t\t\tROOT_FOLDER, TEMPORARY_BOOGIE_FILENAME_PATTERN));\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tSystem.out.println(String.format(\"Begin cleanup of %s\", ROOT_FOLDER));\r\n\t\tfor (final File f : files) {\r\n\t\t\ttry {\r\n\t\t\t\tif (f.delete()) {\r\n\t\t\t\t\tSystem.out.println(String.format(\"Sucessfully deleted %s\", f.getAbsolutePath()));\r\n\t\t\t\t} else {\r\n\t\t\t\t\tSystem.out.println(String.format(\"Deleteing %s failed\", f.getAbsolutePath()));\r\n\t\t\t\t}\r\n\t\t\t} catch (final SecurityException e) {\r\n\t\t\t\tSystem.err.println(String.format(\"Exception while deleting file %s\", f));\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"private void deleteSelectedFile() {\r\n\t\tString sel = this.displayFileNames.getSelectedValue();\r\n\t\tif(sel != null) {\r\n\t\t\tFileModel model = FileData.getFileModel(sel);\r\n\t\t\tFileType type = model.getFileType();\r\n\t\t\tFileData.deleteFileModel(type);\r\n\t\t\tthis.setButtonEnabled(type);\r\n\t\t\tthis.loadFileNames();\r\n\t\t\tthis.updateColumnSelections(type);\r\n\t\t\tColumnData.clearMatchedCells(type);\r\n\t\t}\r\n\t}"
]
| [
"0.6377288",
"0.63531566",
"0.6049497",
"0.597395",
"0.5945102",
"0.5919864",
"0.59126216",
"0.5748056",
"0.571043",
"0.57100207",
"0.56559867",
"0.56547457",
"0.56454474",
"0.5640663",
"0.5629563",
"0.56154644",
"0.5615269",
"0.561321",
"0.5607183",
"0.5605126",
"0.55934715",
"0.5558929",
"0.55408126",
"0.55305934",
"0.5506521",
"0.54878974",
"0.54757065",
"0.54513943",
"0.5450099",
"0.5448192",
"0.5447297",
"0.5361767",
"0.5360205",
"0.5357092",
"0.5356183",
"0.5340479",
"0.5337603",
"0.52936745",
"0.5290215",
"0.52871287",
"0.5285658",
"0.52852565",
"0.5279178",
"0.5270666",
"0.5244166",
"0.5240266",
"0.5233134",
"0.52198124",
"0.5207623",
"0.52068275",
"0.519421",
"0.5171506",
"0.5167743",
"0.51595664",
"0.51565176",
"0.5156134",
"0.51532644",
"0.51528347",
"0.51293457",
"0.5125389",
"0.5121974",
"0.5121483",
"0.5120593",
"0.51187366",
"0.51176256",
"0.5116809",
"0.5112825",
"0.5112552",
"0.5111699",
"0.5101746",
"0.5101591",
"0.5101003",
"0.5088209",
"0.5084757",
"0.5084025",
"0.5080942",
"0.50806326",
"0.50652504",
"0.50529605",
"0.5049807",
"0.5043002",
"0.50333583",
"0.5031263",
"0.50280446",
"0.5014354",
"0.5011773",
"0.50098",
"0.5006988",
"0.5005266",
"0.50008166",
"0.49943805",
"0.49902064",
"0.49848798",
"0.49722683",
"0.49664846",
"0.49632823",
"0.4958746",
"0.49584216",
"0.49511388",
"0.49464002"
]
| 0.6539396 | 0 |
Will look for all mrfiles in the database that have the standard details: mrfile.details = SQL_Episode_II.FILE_DETAIL_CLASSIFIED | public static ArrayList getEntriesFromClassifiedMRFilesNewerThanDays( int max_days ) {
ArrayList entries = sql_epiII.getPDBIdFromMRFileByDetailNewerThanDays(
SQL_Episode_II.FILE_DETAIL_CLASSIFIED, max_days );
if (entries == null) {
General.showError("getting entry codes from the db.");
return (entries);
}
Collections.sort(entries);
return (entries);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static ArrayList getEntriesFromClassifiedMRFiles() {\n \n ArrayList entries = sql_epiII.getPDBIdFromMRFileByDetail( SQL_Episode_II.FILE_DETAIL_CLASSIFIED );\n \n if (entries == null) {\n General.showError(\"getting entry codes from the db.\");\n return (entries);\n }\n Collections.sort(entries);\n return (entries);\n }",
"private void findRecordings(){\n File[] files = new File(\"Concatenated/\").listFiles();\n _records.clear();\n _versionNum = 1;\n for (File file : files){\n if (file.isFile()){\n String nameOnFile = file.getName().substring(file.getName().lastIndexOf('_')+1,file.getName().lastIndexOf('.')).toUpperCase();\n if (nameOnFile.equals(_name.toUpperCase())){\n _records.add(file.getName());\n _versionNum++;\n }\n }\n }\n }",
"public ArrayList<File> findRelevantFiles (int reimburseID);",
"@Override\n public Collection<AbstractFile> visit(FileSystem fs) {\n \n SleuthkitCase sc = Case.getCurrentCase().getSleuthkitCase();\n \n StringBuilder queryB = new StringBuilder();\n queryB.append(\"SELECT * FROM tsk_files WHERE (fs_obj_id = \").append(fs.getId());\n queryB.append(\") AND (size > 0)\");\n queryB.append(\" AND ( (meta_type = \").append(TskData.TSK_FS_META_TYPE_ENUM.TSK_FS_META_TYPE_REG.getMetaType());\n queryB.append(\") OR (meta_type = \").append(TskData.TSK_FS_META_TYPE_ENUM.TSK_FS_META_TYPE_DIR.getMetaType());\n queryB.append( \"AND (name != '.') AND (name != '..')\");\n queryB.append(\") )\");\n if (getUnallocatedFiles == false) {\n queryB.append( \"AND (type = \");\n queryB.append(TskData.TSK_DB_FILES_TYPE_ENUM.FS.getFileType());\n queryB.append(\")\");\n }\n \n try {\n final String query = queryB.toString();\n logger.log(Level.INFO, \"Executing query: \" + query);\n ResultSet rs = sc.runQuery(query);\n List<AbstractFile> contents = sc.resultSetToAbstractFiles(rs);\n Statement s = rs.getStatement();\n rs.close();\n if (s != null) {\n s.close();\n }\n return contents;\n } catch (SQLException ex) {\n logger.log(Level.WARNING, \"Couldn't get all files in FileSystem\", ex);\n return Collections.emptySet();\n }\n }",
"@Override\n\tpublic List<HumanFile> findHumanFileAll() {\n\t\treturn HumanFileMapper.findHumanFileAll();\n\t}",
"@Override\n\tpublic void recovery() {\n\t\tRecordTable recordTable = new RecordTable(); \n\t\tjava.util.List<FileRecordInfoModel> lst = null;\n\t\ttry {\n\t\t\tlst = recordTable.findAllRows();\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\tfor(FileRecordInfoModel model : lst)\n\t\t\t_recordSingle.addParam(model,false);\n\t\t\t// 读取配置,看是否需要扫描文件。--以后加\n\t}",
"@Test\n public void getAllRecordsTest() {\n FileMetaData fileMetaData = new FileMetaData();\n fileMetaData.setAuthorName(\"Puneet\");\n fileMetaData.setFileName(\"resum2\");\n fileMetaData.setDescription(\"Attached resume to test upload\");\n fileMetaData.setUploadTimeStamp(DateUtil.getCurrentDate());\n fileMetaDataRepository.saveAndFlush(fileMetaData);\n fileMetaData = new FileMetaData();\n fileMetaData.setAuthorName(\"Puneet1\");\n fileMetaData.setFileName(\"resume3\");\n fileMetaData.setDescription(\"Attached resume to test upload1\");\n fileMetaData.setUploadTimeStamp(DateUtil.getCurrentDate());\n fileMetaDataRepository.saveAndFlush(fileMetaData);\n List<FileMetaData> fileMetaDataList = fileMetaDataRepository.findAll();\n Assert.assertNotNull(fileMetaDataList);\n //Assert.assertEquals(2, fileMetaDataList.size());\n }",
"public ArrayList<FileDesc> getAllFiles() {\n\n\t\tArrayList<FileDesc> result = new ArrayList<FileDesc>();\n\n\t\ttry {\n\t\t\tjava.sql.PreparedStatement ps = ((org.inria.jdbc.Connection) db).prepareStatement(TCell_QEP_IDs.QEP.EP_getAllFiles);\n\t\t\tResultSet rs = ps.executeQuery();\n\t\t\t\n\t\t\tString query = \"SELECT FILEGID, TYPE, DESCRIPTION FROM FILE\";\n\t\t\tSystem.out.println(\"Executing query : \" + query);\t\t\t\n\n\t\t\t\n\t\t\twhile (rs.next() == true) {\n\t\t\t\tString fileGID = rs.getString(1);\n\t\t\t\tString type = rs.getString(2);\n\t\t\t\tString Description = rs.getString(3);\n\t\t\t\tresult.add(new FileDesc(fileGID, \"\", \"\", \"\", type, Description));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\t// Uncomment when the close function will be implemented\n\t\t\t// attemptToClose(ps);\n\t\t\t\n\t\t}\n\n\t\treturn result;\n\t}",
"public List<Medium> getAllMedia() throws ContestManagementException {\n return null;\r\n }",
"public List<Medium> getAllMedia() throws ContestManagementException {\n return null;\r\n }",
"@Override\r\n\tpublic List<FileMetaDataEntity> getAllFiles() {\n\t\treturn null;\r\n\t}",
"@Test\n public void testGetAllMedia() throws ODSKartException, FileNotFoundException {\n System.out.println(\"getAllMedia\");\n DBManager instance = new ODSDBManager(\"long.ods\");\n List<Medium> result = instance.getAllMedia();\n assertEquals(expResultAll, result);\n // TODO review the generated test code and remove the default call to fail.\n // fail(\"The test case is a prototype.\");\n }",
"public boolean nextFileInfo(FileInfo info) {\n\n\t\t// Get the next file from the search\n\n\t\ttry {\n\n\t\t\t// Return the next file details or loop until a match is found if a\n\t\t\t// complex wildcard filter\n\t\t\t// has been specified\n\t\t\twhile (m_rs.next()) {\n\t\t\t\tString name = m_rs.getString(\"name\");\n\t\t\t\t// Get the file name for the next file\n\t\t\t\tinfo.setFileId(m_rs.getInt(\"id\"));\n\t\t\t\tinfo.setFileName(name);\n\t\t\t\tinfo.setSize(m_rs.getLong(\"size\"));\n\t\t\t\tif(name.equalsIgnoreCase(DBUtil.CLOUDURL))\n\t\t\t\t{\n\t\t\t\t\ttry{\n\t\t\t\t\t//重设置大小\n\t\t\t\t\tinfo.setFileId(-99);\n//\t\t\t\t\tinfo.setFileId(-userId);\n\t\t\t\t\tinfo.setSize(DBUtil.getURLMYFILE_TXT(this.getBaseUrl(),userId).getBytes().length);\n\t\t\t\t\t}catch(Exception e)\n\t\t\t\t\t{\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlong modifyDate = m_rs.getLong(\"lastModified\");\n\t\t\t\tif (modifyDate != 0L)\n\t\t\t\t\tinfo.setModifyDateTime(modifyDate);\n\t\t\t\telse\n\t\t\t\t\tinfo.setModifyDateTime(System.currentTimeMillis());\n\t\t\t\t\n\t\t\t\tTimestamp ts = m_rs.getTimestamp(\"add_time\");\n\t\t\t\tif (ts !=null && ts.getTime()>0)\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(ts.getTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tinfo.setCreationDateTime(info.getModifyDateTime());\n\t\t\t\t\tinfo.setChangeDateTime(info.getModifyDateTime());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tint attr = 0;\n\t\t\t\tif (m_rs.getBoolean(\"isFile\") == true) {\n\t\t\t\t\tinfo.setFileType(FileType.RegularFile);\t\t\t\t\t\n\t\t\t\t\tattr += FileAttribute.ReadOnly;// 只读权限\n\t\t\t\t} else\n\t\t\t\t\tattr += FileAttribute.Directory;\n\n\t\t\t\tif (m_rs.getBoolean(\"isHidden\") == true) \n\t\t\t\t{\n\t\t\t\t\tattr += FileAttribute.Hidden;//隐藏\n\t\t\t\t}\n\t\t\t\tinfo.setFileType(FileType.Directory);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif (hasMarkAsOffline()) {\n\t\t\t\t\tif (getOfflineFileSize() == 0 || info.getSize() >= getOfflineFileSize())\n\t\t\t\t\t\tattr += FileAttribute.NTOffline;\n\t\t\t\t}\n\t\t\t\tinfo.setFileAttributes(attr);\n\t\t\t\tinfo.setUid(userId);\n\n\t\t\t\tif (m_filter == null || m_filter.matchesPattern(info.getFileName()) == true)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t// No more files\n\t\tcloseSearch();\n\t\treturn false;\n\t}",
"static Vector< DbRecord > ReadRecords( String szDbDir )\n {\n File DbDir;\n File[] files;\n Vector<DbRecord> Users = new Vector<DbRecord>( 10, 10 );\n\n // Read all records to identify\n DbDir = new File( szDbDir );\n files = DbDir.listFiles();\n\n if( (files == null) || (files.length == 0) )\n {\n return Users;\n }\n\n for( int iFiles = 0; iFiles < files.length; iFiles++)\n {\n try\n {\n if( files[iFiles].isFile() )\n {\n DbRecord User = new DbRecord( files[iFiles].getAbsolutePath() );\n Users.add( User );\n }\n }\n catch( FileNotFoundException e )\n {\n // The record has invalid data. Skip it and continue processing.\n }\n catch( NullPointerException e )\n {\n JOptionPane.showConfirmDialog(null, \"erro\"+e);\n }\n catch( AppException e )\n {\n // The record has invalid data or access denied. Skip it and continue processing.\n }\n }\n \n return Users;\n }",
"public List<GridFSDBFile> find(String filename) {\n\treturn find(filename, null);\n }",
"public void performFileSearch() {\n\n // ACTION_OPEN_DOCUMENT is the intent to choose a file via the system's file browser.\n Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);\n\n // Filter to only show results that can be \"opened\", such as a\n // file (as opposed to a list of contacts or timezones)\n intent.addCategory(Intent.CATEGORY_OPENABLE);\n\n // Filter to show only images, using the image MIME data type.\n // If one wanted to search for ogg vorbis files, the type would be \"audio/ogg\".\n // To search for all documents available via installed storage providers, it would be \"*/*\".\n intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION);\n intent.setType(\"image/*\");\n\n startActivityForResult(intent, READ_REQUEST_CODE);\n }",
"public DaoResponse<DecodedFile> find(MultivaluedMap<String, String> multivaluedMap){\n String query = createQuery(multivaluedMap, false);\n Connection conn = null;\n List<DecodedFile> decodedFiles = new ArrayList<>();\n Set<String> fields = (multivaluedMap.get(\"fields\") == null) ? null : new HashSet<>(multivaluedMap.get(\"fields\"));\n\n try {\n // create connection and prepare the query\n conn = dataSource.getConnection();\n PreparedStatement ps = conn.prepareStatement(query);\n\n // execute query and close connection\n ResultSet rs = ps.executeQuery();\n while (rs.next()) {\n if (fields != null) {\n DecodedFile decodedFile = new DecodedFile();\n if (fields.contains(\"id\")) {\n decodedFile.setId(rs.getInt(\"id\"));\n }\n if (fields.contains(\"fileName\")) {\n decodedFile.setFileName(rs.getString(\"fileName\"));\n }\n if (fields.contains(\"decodeKey\")) {\n decodedFile.setDecodeKey(rs.getString(\"decodeKey\"));\n }\n if (fields.contains(\"md5\")) {\n decodedFile.setMd5(rs.getString(\"md5\"));\n }\n if (fields.contains(\"firstWord\")) {\n decodedFile.setFirstWorld(rs.getString(\"firstWord\"));\n }\n if (fields.contains(\"secret\")) {\n decodedFile.setSecret(rs.getString(\"secret\"));\n }\n decodedFiles.add(decodedFile);\n } else {\n decodedFiles.add(new DecodedFile(\n rs.getInt(\"id\"),\n rs.getString(\"fileName\"),\n rs.getString(\"decodeKey\"),\n rs.getString(\"md5\"),\n rs.getString(\"firstWord\"),\n rs.getString(\"secret\")\n ));\n }\n }\n rs.close();\n ps.close();\n return new DaoResponse<>(decodedFiles, 0, decodedFiles.size(), decodedFiles.size(), 1000);\n } catch (SQLException e) {\n LOG.error(\"Error when try to find decodedFiles\" + e);\n } finally {\n closeConnection(conn);\n }\n\n return null;\n }",
"public static ArrayList getEntriesFromMRFiles( String dir ) {\n \n ArrayList entries = new ArrayList();\n \n File rdir = new File( dir );\n String[] mr_files = rdir.list( new FilenameFilter() {\n public boolean accept(File d, String name) { return name.endsWith( \".mr\" ); }\n });\n \n if (mr_files == null) {\n General.showWarning(\"Found NO entries on file in directory: \" + dir);\n return (entries);\n }\n \n File f;\n String fname, entry_code;\n \n // Check if the code conforms\n for (int i=0; i<mr_files.length; i++) {\n f = new File(mr_files[i]);\n fname = f.getPath();\n entry_code = fname.substring(0,4);\n // Check whether that's reasonable by matching against reg.exp.\n if ( Wattos.Utils.Strings.is_pdb_code( entry_code ) ) {\n entries.add( entry_code );\n } else {\n General.showWarning(\"Skipping this file.\");\n General.showWarning(\"String for filename [\"+fname+\n \"] doesn't look like a pdb code: \" + entry_code);\n }\n }\n Collections.sort(entries);\n return (entries);\n }",
"public void performFileSearch() {\n Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);\n\n // Filter to only show results that can be \"opened\", such as a file (as opposed to a list\n // of contacts or timezones)\n intent.addCategory(Intent.CATEGORY_OPENABLE);\n\n // Filter to show only images, using the image MIME data type.\n // If one wanted to search for ogg vorbis files, the type would be \"audio/ogg\".\n // To search for all documents available via installed storage providers, it would be\n // \"*/*\".\n intent.setType(\"image/*\");\n\n startActivityForResult(intent, READ_REQUEST_CODE);\n // END_INCLUDE (use_open_document_intent)\n }",
"public static ArrayList<Media> getMedia() {\n File titleFile = new File(\"./data/titles.csv\");\n\n Scanner titleScan;\n try {\n titleScan = new Scanner(titleFile);\n } catch (IOException e) {\n throw new Error(\"Could not open titles file\");\n }\n\n titleScan.nextLine();\n\n // Read File to build medias without directors\n ArrayList<Media> medias = new ArrayList<Media>();\n while (titleScan.hasNextLine()) {\n String line = titleScan.nextLine();\n String[] ratingParts = line.split(\"\\t\");\n int mediaIndex = indexOfMedia(medias, ratingParts[1]);\n if (mediaIndex == -1) {\n String[] genreList = ratingParts[7].split(\",\");\n if (ratingParts[6].isEmpty()) {\n continue;\n }\n int runtime = Integer.parseInt(ratingParts[6]);\n int releaseYear = ratingParts[4].isEmpty() ? Integer.parseInt(ratingParts[8])\n : Integer.parseInt(ratingParts[4]);\n Media newMedia = new Media(ratingParts[1], ratingParts[3], genreList, runtime, releaseYear);\n medias.add(newMedia);\n } else {\n updateReleaseDate(medias.get(mediaIndex), Integer.parseInt(ratingParts[4]));\n }\n }\n\n // Close Title Scanner\n titleScan.close();\n\n // Open Principals Scanner\n File principalFile = new File(\"./data/principals.csv\");\n FileReader principaFileReader;\n Scanner principalScan;\n\n try {\n principaFileReader = new FileReader(principalFile);\n } catch (IOException e) {\n throw new Error(\"Could not open principals file reader\");\n }\n principalScan = new Scanner(principaFileReader);\n principalScan.nextLine();\n\n // Get directorID for the media\n // int count = 0;\n while (principalScan.hasNextLine()) {\n String line = principalScan.nextLine();\n String[] principalParts = line.split(\"\\t\");\n int mediaIndex = indexOfMedia(medias, principalParts[1]);\n\n if (mediaIndex != -1 && isDirector(principalParts[3])) {\n medias.get(mediaIndex).directorId = principalParts[2];\n }\n }\n\n // Close Scanners\n principalScan.close();\n\n // Return Media List\n return medias;\n }",
"public boolean hasRetrieveFile() {\n return msgCase_ == 2;\n }",
"public List<Record> _queryWholePatrolCard_Records(Long fid) {\n synchronized (this) {\n if (wholePatrolCard_RecordsQuery == null) {\n QueryBuilder<Record> queryBuilder = queryBuilder();\n queryBuilder.where(Properties.Fid.eq(null));\n wholePatrolCard_RecordsQuery = queryBuilder.build();\n }\n }\n Query<Record> query = wholePatrolCard_RecordsQuery.forCurrentThread();\n query.setParameter(0, fid);\n return query.list();\n }",
"@Override\n\tpublic FileVO detailFile(int file_num) {\n\t\treturn workMapper.detailFile(file_num);\n\t}",
"public ArrayList<Record> getAllSavedRecords() {\n ArrayList<Record> resultList = new ArrayList<>();\n\n File baseFolder = getBaseFolder();\n if (baseFolder != null) {\n String[] allRecords = baseFolder.list();\n if (allRecords == null || allRecords.length == 0) {\n return resultList;\n }\n\n for (String eachRecord : allRecords) {\n Record record = loadRecordFromFolderName(eachRecord);\n if (record == null) {\n continue;\n }\n updateRecordCurrentSize(record);\n updateRecordCurrentImageCount(record);\n resultList.add(record);\n }\n }\n\n if (resultList.size() > 0) {\n sortRecordList(resultList);\n }\n return resultList;\n }",
"private void checkFileStatus() throws CustomException, IOException\n\t{\n\t\t//For all .mgf files\n\t\tfor (int i=0; i<mgfFiles.size(); i++)\n\t\t{\n\n\t\t\tString resultFileName = \n\t\t\t\t\tmgfFiles.get(i).substring(0,mgfFiles.get(i).lastIndexOf(\".\"))+\"_Results.csv\";\n\t\t\t//TODO: Cannot write files if checking for file. \n\t\t\t/*\n\t\t\tif (isFileUnlocked(resultFileName))\n\t\t\t\tthrow new CustomException(\"Please close \"+resultFileName, null);\n\t\t\t */\n\t\t}\n\n\t}",
"private ArrayList findResultList(File file){\n debug(\"findResultList:\"+file.getAbsolutePath());\n ArrayList result = new ArrayList();\n LogInformation logInfo = null;\n Iterator it = resultList.iterator();\n while(it.hasNext()){\n logInfo = (LogInformation)it.next();\n File logFile = logInfo.getFile();\n debug(\"result logFile:\"+logFile.getAbsolutePath()); \n if(logFile.getAbsolutePath().startsWith(file.getAbsolutePath())){\n debug(\"result ok\");\n result.add(logInfo);\n }\n }\n return result;\n }",
"boolean hasRetrieveFile();",
"public Spectrumfile(ResultSet aRS) throws SQLException {\r\n super(aRS);\r\n filename = aRS.getString(\"filename\");\r\n }",
"public List<RecordLabel> getFestivalDetails(MusicFestivalRO[] details) {\n\n List<RecordLabel> recordLabels = new ArrayList<>();\n List<MusicFestivalRO> musicalROs = Arrays.asList(details);\n musicalROs.forEach(musicalRO -> {\n musicalRO.getBands().forEach(bands -> {\n if (CollectionUtils.isEmpty(recordLabels)) {\n getRecordLabelList(musicalRO, bands, recordLabels);\n } else {\n boolean labelFound = false;\n for (int i = 0; i < recordLabels.size(); i++) {\n if (recordLabels.get(i).getLabelName().equals(bands.getRecordLabel())) {\n labelFound = true;\n if (labelFound) {\n boolean bandFound = false;\n for (int j = 0; j < recordLabels.get(i).getBands().size(); j++) {\n if (recordLabels.get(i).getBands().get(j).getBandName().equals(bands.getName())) {\n bandFound = true;\n recordLabels.get(i).getBands().get(j).getMusicFestivals().add(musicalRO.getName());\n }\n }\n if (!bandFound) {\n List<Band> bandList = recordLabels.get(i).getBands();\n Band band = new Band();\n band.setBandName(bands.getName());\n\n List<String> festivalList = new ArrayList<>();\n festivalList.add(musicalRO.getName());\n Collections.sort(festivalList);\n\n band.setMusicFestivals(festivalList);\n bandList.add(band);\n }\n\n }\n\n }\n }\n if (!labelFound) {\n getRecordLabelList(musicalRO, bands, recordLabels);\n labelFound = false;\n\n }\n\n }\n });\n });\n SortUtil.sortLabels(recordLabels);\n return recordLabels;\n }",
"public boolean hasRetrieveFile() {\n return msgCase_ == 2;\n }",
"private static ArrayList m5336a(File[] fileArr) {\n ArrayList arrayList = new ArrayList();\n int i = 0;\n while (i < fileArr.length) {\n if (fileArr[i].isFile() && fileArr[i].getName().length() == 10 && TextUtils.isDigitsOnly(fileArr[i].getName())) {\n arrayList.add(fileArr[i]);\n }\n i++;\n }\n return arrayList;\n }",
"public Gel_BioInf_Models.File getClinicalRelevantVariants() {\n return clinicalRelevantVariants;\n }",
"@Override\n\tpublic List<File> getAll() {\n\t\t return getSession().\n\t createQuery(\"from File f\", File.class).\n\t getResultList();\n\t}",
"public Gel_BioInf_Models.File getClinicalRelevantVariants() {\n return clinicalRelevantVariants;\n }",
"public static boolean removeMRFilesFromDB( ArrayList entries_todelete ) {\n \n boolean status = sql_epiII.deleteMRFilesByPDBIdsByDetail(\n entries_todelete, SQL_Episode_II.FILE_DETAIL_CLASSIFIED );\n if ( ! status ) {\n General.showError(\"in MRAnnotate.removeMRFilesFromDB found:\");\n General.showError(\"Deleting the annotated MR files:\" + entries_todelete);\n return false;\n } else {\n General.showOutput(\"Deleted the annotated MR files:\" + entries_todelete);\n }\n return true;\n }",
"public void mo83570c() {\n File[] listFiles;\n File file = new File(this.f60297d);\n if (file.isDirectory() && (listFiles = file.listFiles()) != null && listFiles.length >= this.f60294a) {\n Arrays.sort(listFiles, this.f60295b);\n for (int i = 0; i < listFiles.length && listFiles.length >= this.f60294a; i++) {\n File file2 = listFiles[i];\n if (!this.f60299f.contains(file2)) {\n ArgusLogger.m85574b(String.format(C6969H.m41409d(\"G4D8AC619BE22AF20E809D047FEE1C6C47DC3D008AD3FB969E71DD05BE6EAD1D26DC3D008AD3FB969EA079D41E6A5D1D26880DD1FBB70E36CF547\"), file2.getPath()));\n mo83569b(Collections.singleton(file2));\n }\n }\n }\n }",
"@Override\n public Collection<FsContent> visit(FileSystem fs) {\n\n SleuthkitCase sc = Case.getCurrentCase().getSleuthkitCase();\n\n String query = \"SELECT * FROM tsk_files WHERE fs_obj_id = \" + fs.getId()\n + \" AND (meta_type = \" + TskData.TSK_FS_META_TYPE_ENUM.TSK_FS_META_TYPE_REG.getMetaType()\n + \") AND (size > 0)\";\n try {\n ResultSet rs = sc.runQuery(query);\n List<FsContent> contents = sc.resultSetToFsContents(rs);\n Statement s = rs.getStatement();\n rs.close();\n if (s != null) {\n s.close();\n }\n return contents;\n } catch (SQLException ex) {\n logger.log(Level.WARNING, \"Couldn't get all files in FileSystem\", ex);\n return Collections.emptySet();\n }\n }",
"public AllRecords getAllRecords() {\n\t\treturn fileService.withFile(FILE_NAME, new AllRecords(), file -> {\n\t\t\tvar records = fileService.readFile(file, AllRecords.class);\n\t\t\trecords.easy = sort(records.easy);\n\t\t\trecords.medium = sort(records.medium);\n\t\t\trecords.hard = sort(records.hard);\n\t\t\treturn records;\n\t\t});\n\t}",
"public String getFileNamingDetails();",
"public static void readResultsFromFile(File resultfile) {\n FileWriter fileWriter = null;\n try {\n fileWriter = new FileWriter(\"res.csv\");\n CSVPrinter csvp = null;\n CSVFormat csvf = CSVFormat.DEFAULT.withRecordSeparator(newLineSeparator);\n csvp = new CSVPrinter(fileWriter, csvf);\n csvp.printRecord(fileHeader);\n Constituency constituency = new Constituency();\n Candidate candidate = new Candidate();\n int flag = 0, constituencyFlag = 0, detailCounter = 0;\n FileReader fr = new FileReader(resultfile);\n LineNumberReader lnr = new LineNumberReader(fr);\n LineNumberReader nextReader;\n String line, nextLines;\n String candidateline = \"(\\\\A)(\\\\d+)(\\\\s)(\\\\w*)\";\n String constituencyline = \"(\\\\A)(\\\\d+)([.])(\\\\s)(\\\\w+)\";\n String sexline = \"(\\\\A)([M F])\";\n String ageline = \"(\\\\A)^([0-9]){2}$\";\n String categoryline = \"(\\\\A)([SC GEN ST]{1,3}$)\";\n String partyline = \"(\\\\A)^(?!GEN|TURNOUT)([A-Z()]+){3,10}$\";\n String generalline = \"(\\\\A)^([0-9]){1,10}$\";\n String postalline = \"(\\\\A)^[0-9]{1,4}$\";\n String totalline = \"(\\\\A)^([0-9]{1,10}$)\";\n Pattern candidatepattern = Pattern.compile(candidateline);\n Pattern constituencypattern = Pattern.compile(constituencyline);\n Pattern sexpattern = Pattern.compile(sexline);\n Pattern agepattern = Pattern.compile(ageline);\n Pattern categorypattern = Pattern.compile(categoryline);\n Pattern partypattern = Pattern.compile(partyline);\n Pattern generalpattern = Pattern.compile(generalline);\n Pattern postalpattern = Pattern.compile(postalline);\n Pattern totalpattern = Pattern.compile(totalline);\n while((line = lnr.readLine()) != null){\n if (line.toLowerCase().contains(\"detailed results\")){\n flag++;\n }\n if (flag >= 2){\n Matcher candidatematcher = candidatepattern.matcher(line);\n Matcher constituencymatcher = constituencypattern.matcher(line);\n if (candidatematcher.find()) {\n candidate.name = line;\n candidate.constituency = constituency.name;\n detailCounter = 1;\n constituencyFlag = 1;\n nextReader = lnr;\n while(!(nextLines = nextReader.readLine()).isEmpty()){\n nextLines.trim();\n candidate.name = candidate.name.concat(\" \"+nextLines);\n }\n // System.out.println(candidate.name);\n }\n if (constituencymatcher.find()){\n if(constituencyFlag == 1){\n writeResultsIntoFile(constituency, csvp);\n constituency = new Constituency();\n }\n constituency.name = line;\n //System.out.println(constituency.name);\n constituencyFlag = 0;\n }\n if (detailCounter > 0 && detailCounter <= 7){\n if(!line.isEmpty()) {\n switch (detailCounter) {\n case 1:\n Matcher sexmatcher = sexpattern.matcher(line);\n if (sexmatcher.find()) {\n candidate.sex = line;\n detailCounter++;\n }\n break;\n case 2:\n Matcher agematcher = agepattern.matcher(line);\n if (agematcher.find()) {\n candidate.age = line;\n detailCounter++;\n }\n break;\n case 3:\n Matcher categorymatcher = categorypattern.matcher(line);\n if (categorymatcher.find()) {\n candidate.category = line;\n detailCounter++;\n }\n break;\n case 4:\n Matcher partymatcher = partypattern.matcher(line);\n if (partymatcher.find()) {\n candidate.party = line;\n detailCounter++;\n }\n break;\n case 5:\n Matcher generalmatcher = generalpattern.matcher(line);\n if (generalmatcher.find()) {\n candidate.general = line;\n detailCounter++;\n }\n break;\n case 6:\n Matcher postalmatcher = postalpattern.matcher(line);\n if (postalmatcher.find()) {\n candidate.postal = line;\n detailCounter++;\n }\n break;\n case 7:\n Matcher totalmatcher = totalpattern.matcher(line);\n if (totalmatcher.find()) {\n candidate.total = line;\n detailCounter++;\n }\n default:\n break;\n }\n }\n }\n if (detailCounter > 7){\n constituency.candidates.add(candidate);\n candidate = new Candidate();\n detailCounter = 0;\n }\n }\n }\n } catch (IOException e){\n System.out.println(e);\n }finally {\n try{\n fileWriter.flush();\n fileWriter.close();\n }catch(IOException e){\n System.out.println(\"Error while flushing/closing file\");\n }\n }\n }",
"@Test \n public void findByFileNameTest() {\n FileMetaData fileMetaData = new FileMetaData();\n fileMetaData.setAuthorName(\"Puneet\");\n fileMetaData.setFileName(\"resume1\");\n fileMetaData.setDescription(\"Attached resume to test upload\");\n fileMetaData.setUploadTimeStamp(DateUtil.getCurrentDate());\n fileMetaDataRepository.saveAndFlush(fileMetaData);\n FileMetaData fetchedRecord = fileMetaDataRepository.findByFileName(\"resume1\"); \n Assert.assertNotNull(fetchedRecord);\n Assert.assertEquals(\"Puneet\", fetchedRecord.getAuthorName());\n Assert.assertEquals(\"resume1\", fetchedRecord.getFileName());\n Assert.assertEquals(\"Attached resume to test upload\", fetchedRecord.getDescription()); \n }",
"public static void filter() throws IOException {\n\t\tHashSet<String> wikimid = new HashSet<String>();\r\n\t\t{\r\n\t\t\tDelimitedReader dr = new DelimitedReader(Main.file_midWidTypeNameAlias);\r\n\t\t\tString[] l;\r\n\t\t\twhile ((l = dr.read()) != null) {\r\n\t\t\t\twikimid.add(l[0]);\r\n\t\t\t}\r\n\t\t\tdr.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\t//DelimitedReader dr = new DelimitedReader(Main.dir+\"/temp\");\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 (l[3].equals(\"/m/06x68\")) {\r\n\t\t\t\t\tD.p(l[3]);\r\n\t\t\t\t}\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\t//\t\tSort.sort(Main.file_visible + \".filter\", Main.file_visible + \".filter.sbmid2\", Main.dir,\r\n\t\t//\t\t\t\tnew Comparator<String[]>() {\r\n\t\t//\r\n\t\t//\t\t\t\t\t@Override\r\n\t\t//\t\t\t\t\tpublic int compare(String[] arg0, String[] arg1) {\r\n\t\t//\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t//\t\t\t\t\t\treturn arg0[3].compareTo(arg1[3]);\r\n\t\t//\t\t\t\t\t}\r\n\t\t//\r\n\t\t//\t\t\t\t});\r\n\t\t//\t\tSort.sort(Main.file_visible + \".filter\", Main.file_visible + \".filter.sbrel\", Main.dir,\r\n\t\t//\t\t\t\tnew Comparator<String[]>() {\r\n\t\t//\r\n\t\t//\t\t\t\t\t@Override\r\n\t\t//\t\t\t\t\tpublic int compare(String[] arg0, String[] arg1) {\r\n\t\t//\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t//\t\t\t\t\t\treturn arg0[2].compareTo(arg1[2]);\r\n\t\t//\t\t\t\t\t}\r\n\t\t//\r\n\t\t//\t\t\t\t});\r\n\t}",
"private static void testFileSearch(TrackingServer ts) {\r\n\t\tString requestFormat = \"FIND=%s|FAILED_SERVERS=%s\";\r\n\t\tString finalRequest = null;\r\n\t\tStringBuilder failedPeer = null;\r\n\t\tts.readL.lock();\r\n\t\ttry {\r\n\t\t\tfor (Entry<String, HashSet<Machine>> entry : ts.filesServersMap.entrySet()) {\r\n\t\t\t\tfailedPeer = new StringBuilder();\r\n\t\t\t\tfor (Machine m : entry.getValue()) {\r\n\t\t\t\t\tfailedPeer.append(m.toString());\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tfinalRequest = String.format(requestFormat, entry.getKey(), failedPeer.toString());\r\n\t\t\t\tbyte[] result = ts.handleSpecificRequest(finalRequest);\r\n\t\t\t\tSystem.out.println(\"result of find=\" + Utils.byteToString(result) + \" entrySet=\" + entry.getValue());\r\n\t\t\t}\r\n\t\t} finally {\r\n\t\t\tts.readL.unlock();\r\n\t\t}\r\n\r\n\t}",
"protected ArrayList<Path> find(Path file) {\n\t\tPath name = file.getFileName();\n\t\tif (name != null && matcher.matches(name)) {\n\t\t\tresults.add(file);\n\t\t}\n\t\treturn null;\n\t}",
"@Override\n\tpublic List<SecondaryMaterials> findFuliaoDetails(String name) throws Exception {\n\t\treturn fuliaoMapper.findFuliaoDetails(name);\n\t}",
"public List<GridFSDBFile> find(String filename, DBObject sort) {\n\treturn find(new BasicDBObject(\"filename\", filename), sort);\n }",
"@Override\n\tpublic List<HumanFile> findHumanFileByIds(List list) {\n\t\treturn HumanFileMapper.findHumanFileByIds(list);\n\t}",
"public TbSysFileExample() {\r\n oredCriteria = new ArrayList<Criteria>();\r\n }",
"public List<GridFSFile> getDBFilesInfo() {\n try {\n List<GridFSFile> files = new LinkedList<>();\n GridFSFindIterable gfsi = gridFSBucket.find();\n for (GridFSFile gfsf : gfsi) {\n files.add(gfsf);\n }\n return files;\n } catch (MongoException e) {\n System.err.println(e.getCode() + \" \" + e.getMessage());\n return null;\n }\n }",
"public List<String> getFileLines() {\n\t\tspeciesByExperiment = new TIntObjectHashMap<List<String>>();\n\t\ttissuesByExperiment = new TIntObjectHashMap<List<String>>();\n\t\tcellTypesByExperiment = new TIntObjectHashMap<List<String>>();\n\t\tdiseaseByExperiment = new TIntObjectHashMap<List<String>>();\n\t\tquantificationByExperiment = new TIntObjectHashMap<List<String>>();\n\t\tinstrumentByExperiment = new TIntObjectHashMap<List<String>>();\n\t\tmodificationByExperiment = new TIntObjectHashMap<List<String>>();\n\t\texperimental_factorByExperiment = new TIntObjectHashMap<List<String>>();\n\n\t\tfinal List<String> ret = new ArrayList<String>();\n\t\tfinal Map<String, PexFileMapping> fileLocationsMapping = new THashMap<String, PexFileMapping>();\n\t\tfinal List<PexFileMapping> totalFileList = new ArrayList<PexFileMapping>();\n\t\tint fileCounter = 1;\n\t\t// organize the files by experiments\n\t\tfor (final Experiment experiment : experimentList.getExperiments()) {\n\n\t\t\tfinal File prideXmlFile = experiment.getPrideXMLFile();\n\t\t\tif (prideXmlFile != null) {\n\t\t\t\t// FILEMAPPINGS\n\t\t\t\t// PRIDE XML\n\t\t\t\tfinal int resultNum = fileCounter;\n\t\t\t\tfinal PexFileMapping prideXMLFileMapping = new PexFileMapping(\"result\", fileCounter++,\n\t\t\t\t\t\tprideXmlFile.getAbsolutePath(), null);\n\n\t\t\t\ttotalFileList.add(prideXMLFileMapping);\n\t\t\t\tfileLocationsMapping.put(prideXMLFileMapping.getPath(), prideXMLFileMapping);\n\n\t\t\t\t// Iterate over replicates\n\t\t\t\tfinal List<Replicate> replicates = experiment.getReplicates();\n\t\t\t\tfor (final Replicate replicate : replicates) {\n\t\t\t\t\t// sample metadatas\n\t\t\t\t\taddSampleMetadatas(resultNum, replicate);\n\n\t\t\t\t\t// PEak lists\n\t\t\t\t\tfinal List<PexFileMapping> peakListFileMappings = new ArrayList<PexFileMapping>();\n\t\t\t\t\t// raw files\n\t\t\t\t\tfinal List<PexFileMapping> rawFileMappings = new ArrayList<PexFileMapping>();\n\t\t\t\t\t// search engine output lists\n\t\t\t\t\tfinal List<PexFileMapping> outputSearchEngineFileMappings = new ArrayList<PexFileMapping>();\n\t\t\t\t\t// MIAPE MS and MSI reports\n\t\t\t\t\tfinal List<PexFileMapping> miapeReportFileMappings = new ArrayList<PexFileMapping>();\n\t\t\t\t\t// RAW FILES\n\t\t\t\t\tfinal List<PexFile> rawFiles = getReplicateRawFiles(replicate);\n\n\t\t\t\t\tif (rawFiles != null) {\n\t\t\t\t\t\tfor (final PexFile rawFile : rawFiles) {\n\t\t\t\t\t\t\tif (!fileLocationsMapping.containsKey(rawFile.getFileLocation())) {\n\t\t\t\t\t\t\t\tfinal PexFileMapping rawFileMapping = new PexFileMapping(\"raw\", fileCounter++,\n\t\t\t\t\t\t\t\t\t\trawFile.getFileLocation(), null);\n\t\t\t\t\t\t\t\trawFileMappings.add(rawFileMapping);\n\t\t\t\t\t\t\t\tfileLocationsMapping.put(rawFile.getFileLocation(), rawFileMapping);\n\n\t\t\t\t\t\t\t\t// PRIDE XML -> RAW file\n\t\t\t\t\t\t\t\tprideXMLFileMapping.addRelationship(rawFileMapping.getId());\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// PEAK LISTS\n\t\t\t\t\tfinal List<PexFile> peakListFiles = getPeakListFiles(replicate);\n\t\t\t\t\tfinal List<PexFileMapping> replicatePeakListFileMappings = new ArrayList<PexFileMapping>();\n\t\t\t\t\tif (peakListFiles != null) {\n\t\t\t\t\t\tfor (final PexFile peakList : peakListFiles) {\n\t\t\t\t\t\t\tif (!fileLocationsMapping.containsKey(peakList.getFileLocation())) {\n\t\t\t\t\t\t\t\tfinal PexFileMapping peakListFileMapping = new PexFileMapping(\"peak\", fileCounter++,\n\t\t\t\t\t\t\t\t\t\tpeakList.getFileLocation(), null);\n\t\t\t\t\t\t\t\tpeakListFileMappings.add(peakListFileMapping);\n\t\t\t\t\t\t\t\treplicatePeakListFileMappings.add(peakListFileMapping);\n\t\t\t\t\t\t\t\tfileLocationsMapping.put(peakList.getFileLocation(), peakListFileMapping);\n\n\t\t\t\t\t\t\t\t// PRIDE XML -> PEAK LIST file\n\t\t\t\t\t\t\t\tprideXMLFileMapping.addRelationship(peakListFileMapping.getId());\n\t\t\t\t\t\t\t\t// RAW file -> PEAK LIST file\n\t\t\t\t\t\t\t\tfor (final PexFileMapping rawFileMapping : rawFileMappings) {\n\t\t\t\t\t\t\t\t\trawFileMapping.addRelationship(peakListFileMapping.getId());\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// prideXMLFileMapping\n\t\t\t\t\t\t\t\t// .addRelationship(peakListFileMapping\n\t\t\t\t\t\t\t\t// .getId());\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// MIAPE MS REPORTS\n\t\t\t\t\tfinal List<PexFile> miapeMSReportFiles = getMiapeMSReportFiles(replicate);\n\t\t\t\t\tif (miapeMSReportFiles != null)\n\t\t\t\t\t\tfor (final PexFile miapeMSReportFile : miapeMSReportFiles) {\n\t\t\t\t\t\t\tif (!fileLocationsMapping.containsKey(miapeMSReportFile.getFileLocation())) {\n\t\t\t\t\t\t\t\tfinal PexFileMapping miapeReportFileMapping = new PexFileMapping(\"other\", fileCounter++,\n\t\t\t\t\t\t\t\t\t\tmiapeMSReportFile.getFileLocation(), null);\n\t\t\t\t\t\t\t\tmiapeReportFileMappings.add(miapeReportFileMapping);\n\t\t\t\t\t\t\t\tfileLocationsMapping.put(miapeMSReportFile.getFileLocation(), miapeReportFileMapping);\n\n\t\t\t\t\t\t\t\t// PRIDE XML -> MIAPE MS report\n\t\t\t\t\t\t\t\tprideXMLFileMapping.addRelationship(miapeReportFileMapping.getId());\n\t\t\t\t\t\t\t\t// RAW file -> MIAPE MS report\n\t\t\t\t\t\t\t\tfor (final PexFileMapping rawFileMapping : rawFileMappings) {\n\t\t\t\t\t\t\t\t\trawFileMapping.addRelationship(miapeReportFileMapping.getId());\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// PEAK LIST file -> MIAPE MS report\n\t\t\t\t\t\t\t\tfor (final PexFileMapping peakListFileMapping : replicatePeakListFileMappings) {\n\t\t\t\t\t\t\t\t\tpeakListFileMapping.addRelationship(miapeReportFileMapping.getId());\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\n\t\t\t\t\t// SEARCH ENGINE OUTPUT FILES\n\t\t\t\t\tfinal List<PexFile> searchEngineOutputFiles = getSearchEngineOutputFiles(replicate);\n\t\t\t\t\tfinal List<PexFileMapping> replicatesearchEngineOutputFilesMappings = new ArrayList<PexFileMapping>();\n\t\t\t\t\tif (searchEngineOutputFiles != null) {\n\t\t\t\t\t\tfor (final PexFile peakList : searchEngineOutputFiles) {\n\t\t\t\t\t\t\tif (!fileLocationsMapping.containsKey(peakList.getFileLocation())) {\n\t\t\t\t\t\t\t\tfinal PexFileMapping searchEngineOutputFileMapping = new PexFileMapping(\"search\",\n\t\t\t\t\t\t\t\t\t\tfileCounter++, peakList.getFileLocation(), null);\n\t\t\t\t\t\t\t\toutputSearchEngineFileMappings.add(searchEngineOutputFileMapping);\n\t\t\t\t\t\t\t\treplicatesearchEngineOutputFilesMappings.add(searchEngineOutputFileMapping);\n\t\t\t\t\t\t\t\tfileLocationsMapping.put(peakList.getFileLocation(), searchEngineOutputFileMapping);\n\t\t\t\t\t\t\t\t// PRIDE XML -> SEARCH ENGINE OUTPUT file\n\t\t\t\t\t\t\t\tprideXMLFileMapping.addRelationship(searchEngineOutputFileMapping.getId());\n\t\t\t\t\t\t\t\t// RAW file -> SEARCH ENGINE OUTPUT file\n\t\t\t\t\t\t\t\tfor (final PexFileMapping rawFileMapping : rawFileMappings) {\n\t\t\t\t\t\t\t\t\trawFileMapping.addRelationship(searchEngineOutputFileMapping.getId());\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// PEAK LIST FILE -> SEARCH ENGINE OUTPUT file\n\t\t\t\t\t\t\t\tfor (final PexFileMapping peakListFileMapping : replicatePeakListFileMappings) {\n\t\t\t\t\t\t\t\t\tpeakListFileMapping.addRelationship(searchEngineOutputFileMapping.getId());\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// MIAPE MSI REPORTS\n\t\t\t\t\tfinal List<PexFile> miapeMSIReportFiles = getMiapeMSIReportFiles(replicate);\n\t\t\t\t\tif (miapeMSIReportFiles != null)\n\t\t\t\t\t\tfor (final PexFile miapeMSIReportFile : miapeMSIReportFiles) {\n\t\t\t\t\t\t\tif (!fileLocationsMapping.containsKey(miapeMSIReportFile.getFileLocation())) {\n\t\t\t\t\t\t\t\tfinal PexFileMapping miapeReportFileMapping = new PexFileMapping(\"other\", fileCounter++,\n\t\t\t\t\t\t\t\t\t\tmiapeMSIReportFile.getFileLocation(), null);\n\t\t\t\t\t\t\t\tmiapeReportFileMappings.add(miapeReportFileMapping);\n\t\t\t\t\t\t\t\tfileLocationsMapping.put(miapeMSIReportFile.getFileLocation(), miapeReportFileMapping);\n\n\t\t\t\t\t\t\t\t// PRIDE XML -> MIAPE MSI report\n\t\t\t\t\t\t\t\tprideXMLFileMapping.addRelationship(miapeReportFileMapping.getId());\n\t\t\t\t\t\t\t\t// RAW file -> MIAPE MSI report\n\t\t\t\t\t\t\t\tfor (final PexFileMapping rawFileMapping : rawFileMappings) {\n\t\t\t\t\t\t\t\t\trawFileMapping.addRelationship(miapeReportFileMapping.getId());\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// PEAK LIST FILE -> MIAPE MSI report\n\t\t\t\t\t\t\t\tfor (final PexFileMapping peakListFileMapping : replicatePeakListFileMappings) {\n\t\t\t\t\t\t\t\t\tpeakListFileMapping.addRelationship(miapeReportFileMapping.getId());\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// SEARCH ENGINE OUTPUT file -> MIAPE MSI report\n\t\t\t\t\t\t\t\tfor (final PexFileMapping searchEngineOutputFileMapping : replicatesearchEngineOutputFilesMappings) {\n\t\t\t\t\t\t\t\t\tsearchEngineOutputFileMapping.addRelationship(miapeReportFileMapping.getId());\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t// Add all to the same list and then sort by id\n\t\t\t\t\ttotalFileList.addAll(outputSearchEngineFileMappings);\n\t\t\t\t\ttotalFileList.addAll(miapeReportFileMappings);\n\t\t\t\t\ttotalFileList.addAll(peakListFileMappings);\n\t\t\t\t\ttotalFileList.addAll(rawFileMappings);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Sort the list of files\n\t\tCollections.sort(totalFileList, new Comparator<PexFileMapping>() {\n\n\t\t\t@Override\n\t\t\tpublic int compare(PexFileMapping o1, PexFileMapping o2) {\n\n\t\t\t\treturn Integer.valueOf(o1.getId()).compareTo(Integer.valueOf(o2.getId()));\n\n\t\t\t}\n\n\t\t});\n\t\tfor (final PexFileMapping pexFileMapping : totalFileList) {\n\t\t\tret.add(pexFileMapping.toString());\n\t\t}\n\t\treturn ret;\n\t}",
"public boolean hasFileInfo() {\n return fieldSetFlags()[15];\n }",
"public IdentificationExtension(ResultSet aRS) throws SQLException {\n super(aRS);\n this.iSpectrumFileName = aRS.getString(\"filename\");\n }",
"public static ArrayList readScifinder( String filename)\n {\n \t\tArrayList bibitems=new ArrayList();\n \t\tFile f = new File(filename);\n \n \t\tif(!f.exists() && !f.canRead() && !f.isFile()){\n \t\t\tSystem.err.println(\"Error \" + filename + \" is not a valid file and|or is not readable.\");\n \t\t\treturn null;\n \t\t}\n \t\tStringBuffer sb=new StringBuffer();\n \t\ttry{\n \t\t\tBufferedReader in = new BufferedReader(new FileReader( filename));\n \n \t\t\tString str;\n \t\t\twhile ((str = in.readLine()) != null) {\n \t\t\t\tsb.append(str);\n \t\t\t}\n \t\t\tin.close();\n \n \t\t}\n \t\tcatch(IOException e){return null;}\n \t\tString [] entries=sb.toString().split(\"START_RECORD\");\n \t\tHashMap hm=new HashMap();\n \t\tfor(int i=1; i<entries.length; i++){\n \t\t\tString[] fields = entries[i].split(\"FIELD \");\n \t\t\tString Type=\"\";\n \t\t\thm.clear(); // reset\n \t\t\tfor(int j=0; j<fields.length; j++) if (fields[j].indexOf(\":\") >= 0) {\n \t\t\t\tString tmp[]= new String[2];\n tmp[0] = fields[j].substring(0, fields[j].indexOf(\":\"));\n tmp[1] = fields[j].substring(fields[j].indexOf(\":\")+1);\n \t\t\t\tif(tmp.length > 1){//==2\n \t\t\t\t\tif(tmp[0].equals(\"Author\"))\n \t\t\t\t\t\thm.put( \"author\", tmp[1].replaceAll(\";\",\" and \") );\n \t\t\t\t\telse if(tmp[0].equals(\"Title\"))\n \t\t\t\t\t\thm.put(\"title\",tmp[1]);\n \n \t\t\t\t\telse if(tmp[0].equals(\"Journal Title\"))\n \t\t\t\t\t\thm.put(\"journal\",tmp[1]);\n \n \t\t\t\t\telse if(tmp[0].equals(\"Volume\"))\n \t\t\t\t\thm.put(\"volume\",tmp[1]);\n \t\t\t\telse if(tmp[0].equals(\"Page\"))\n \t\t\t\t\thm.put(\"pages\",tmp[1]);\n \t\t\t\telse if(tmp[0].equals(\"Publication Year\"))\n \t\t\t\t\thm.put(\"year\",tmp[1]);\n \t\t\t\telse if(tmp[0].equals(\"Abstract\"))\n \t\t\t\t\thm.put(\"abstract\",tmp[1]);\n \t\t\t\telse if(tmp[0].equals(\"Supplementary Terms\"))\n \t\t\t\t\thm.put(\"keywords\",tmp[1]);\n \t\t\t\telse if(tmp[0].equals(\"Document Type\"))\n \t\t\t\t\tType=tmp[1].replaceAll(\"Journal\",\"article\");\n \t\t\t}\n \t }\n \n \t BibtexEntry b=new BibtexEntry(Globals.DEFAULT_BIBTEXENTRY_ID,\n \t\t\t\t\t\t\t\t\t Globals.getEntryType(Type)); // id assumes an existing database so don't create one here\n \t b.setField( hm);\n \t bibitems.add( b );\n \n \t}\n \treturn bibitems;\n }",
"public List<Record> _queryPerPatrolCard_Records(Long fid) {\n synchronized (this) {\n if (perPatrolCard_RecordsQuery == null) {\n QueryBuilder<Record> queryBuilder = queryBuilder();\n queryBuilder.where(Properties.Fid.eq(null));\n perPatrolCard_RecordsQuery = queryBuilder.build();\n }\n }\n Query<Record> query = perPatrolCard_RecordsQuery.forCurrentThread();\n query.setParameter(0, fid);\n return query.list();\n }",
"@Transactional\n\n\t@Override\n\tpublic Collection<FileModel> getAll() {\n\t\treturn fm.findAll();\n\t}",
"NewsFile selectByPrimaryKey(Integer fileId);",
"@Test\n public void testLegacyWildcardAndFileMetadataMixed() {\n Path filePath = new Path(\"hdfs:///w/x/y/z.csv\");\n ImplicitColumnOptions options = standardOptions(filePath);\n options.useLegacyWildcardExpansion(true);\n ImplicitColumnManager implictColManager = new ImplicitColumnManager(\n fixture.getOptionManager(),\n options);\n\n ScanLevelProjection scanProj = ScanLevelProjection.build(\n RowSetTestUtils.projectList(\n ScanTestUtils.FILE_NAME_COL,\n SchemaPath.DYNAMIC_STAR,\n ScanTestUtils.SUFFIX_COL),\n Lists.newArrayList(implictColManager.projectionParser()));\n\n List<ColumnProjection> cols = scanProj.columns();\n assertEquals(5, cols.size());\n assertTrue(scanProj.columns().get(0) instanceof FileMetadataColumn);\n assertTrue(scanProj.columns().get(1) instanceof UnresolvedWildcardColumn);\n assertTrue(scanProj.columns().get(2) instanceof FileMetadataColumn);\n assertTrue(scanProj.columns().get(3) instanceof PartitionColumn);\n assertTrue(scanProj.columns().get(4) instanceof PartitionColumn);\n }",
"boolean hasFileInfo();",
"boolean hasFileInfo();",
"boolean hasMediaFile();",
"private void processFolder(File folder) {\n \t\tFile[] subFolders = folder.listFiles(new FileFilter() {\n \t\t\t@Override\n \t\t\tpublic boolean accept(File pathname) {\n \t\t\t\treturn pathname.isDirectory();\n \t\t\t}\n \t\t});\n \t\tfor (File subFolder : subFolders){\n \t\t\tprocessFolder(subFolder); \n \t\t}\n \t\tPattern nameRegex = Pattern.compile(\"([\\\\d-]+)\\\\.(pdf|epub)\", Pattern.CANON_EQ | Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE);\n \t\tFile[] files = folder.listFiles();\n \t\tfor (File file : files) {\n \t\t\tlogger.info(\"Processing file \" + file.getName());\n \t\t\tprocessLog.addNote(\"Processing file \" + file.getName());\n \t\t\tif (file.isDirectory()) {\n \t\t\t\t//TODO: Determine how to deal with nested folders?\n \t\t\t\t//processFolder(file);\n \t\t\t} else {\n \t\t\t\t// File check to see if it is of a known type\n \t\t\t\tMatcher nameMatcher = nameRegex.matcher(file.getName());\n \t\t\t\tif (nameMatcher.matches()) {\n \t\t\t\t\tImportResult importResult = new ImportResult();\n \t\t\t\t\tString isbn = nameMatcher.group(1);\n \t\t\t\t\tString fileType = nameMatcher.group(2).toLowerCase();\n \t\t\t\t\timportResult.setBaseFilename(isbn);\n \t\t\t\t\tisbn = isbn.replaceAll(\"-\", \"\");\n \t\t\t\t\timportResult.setISBN(isbn);\n \t\t\t\t\timportResult.setCoverImported(\"\");\n \t\t\t\t\t\n \t\t\t\t\ttry {\n \t\t\t\t\t\t// Get the record for the isbn\n \t\t\t\t\t\tgetRelatedRecords.setString(1, \"%\" + isbn + \"%\");\n \t\t\t\t\t\tResultSet existingRecords = getRelatedRecords.executeQuery();\n \t\t\t\t\t\tif (!existingRecords.next()){\n \t\t\t\t\t\t\t//No record found \n \t\t\t\t\t\t\tlogger.info(\"Could not find record for ISBN \" + isbn);\n \t\t\t\t\t\t\timportResult.setStatus(fileType, \"failed\", \"Could not find record for ISBN \" + isbn);\n \t\t\t\t\t\t\tprocessLog.incErrors();\n \t\t\t\t\t\t\tprocessLog.addNote(\"Could not find record for ISBN \" + isbn);\n \t\t\t\t\t\t}else{\n \t\t\t\t\t\t\tlogger.info(\"Found at least one record for \" + isbn);\n \t\t\t\t\t\t\tif (existingRecords.last()){\n \t\t\t\t\t\t\t\tif (existingRecords.getRow() >= 2){\n \t\t\t\t\t\t\t\t\tlogger.info(\"Multiple records were found for ISBN \" + isbn);\n \t\t\t\t\t\t\t\t\timportResult.setStatus(fileType, \"failed\", \"Multiple records were found for ISBN \" + isbn);\n \t\t\t\t\t\t\t\t\tprocessLog.incErrors();\n \t\t\t\t\t\t\t\t\tprocessLog.addNote(\"Multiple records were found for ISBN \" + isbn);\n \t\t\t\t\t\t\t\t}else{\n \t\t\t\t\t\t\t\t\t//We have an existing record\n \t\t\t\t\t\t\t\t\texistingRecords.first();\n \t\t\t\t\t\t\t\t\tString recordId = existingRecords.getString(\"id\");\n \t\t\t\t\t\t\t\t\tString accessType = existingRecords.getString(\"accessType\");\n \t\t\t\t\t\t\t\t\tString source = existingRecords.getString(\"source\");\n \t\t\t\t\t\t\t\t\tlogger.info(\" Attaching file to \" + recordId + \" accessType = \" + accessType + \" source=\" + source);\n \t\t\t\t\t\t\t\t\t\t\n \t\t\t\t\t\t\t\t\t// Copy the file to the library if it does not exist already\n \t\t\t\t\t\t\t\t\tFile resultsFile = new File(libraryDirectory + source + \"_\" + file.getName());\n \t\t\t\t\t\t\t\t\tif (resultsFile.exists()) {\n \t\t\t\t\t\t\t\t\t\tlogger.info(\"Skipping file because it already exists in the library\");\n \t\t\t\t\t\t\t\t\t\timportResult.setStatus(fileType, \"skipped\" ,\"File has already been copied to library\");\n \t\t\t\t\t\t\t\t\t\tprocessLog.addNote(\"Skipping file \" + file.getName() + \" because it already exists in the library\");\n \t\t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\t\tlogger.info(\"Importing file \" + file.getName());\n \t\t\t\t\t\t\t\t\t\t//Check to see if the file has already been added to the library.\n \t\t\t\t\t\t\t\t\t\tdoesItemExist.setString(1, file.getName());\n \t\t\t\t\t\t\t\t\t\tdoesItemExist.setString(2, recordId);\n \t\t\t\t\t\t\t\t\t\tResultSet existingItems = doesItemExist.executeQuery();\n \t\t\t\t\t\t\t\t\t\tif (existingItems.next()){\n \t\t\t\t\t\t\t\t\t\t\t//The item already exists\n \t\t\t\t\t\t\t\t\t\t\tlogger.info(\" the file has already been attached to this record\");\n \t\t\t\t\t\t\t\t\t\t\timportResult.setStatus(fileType, \"skipped\" ,\"The file has already been aded as an eContent Item\");\n \t\t\t\t\t\t\t\t\t\t\tprocessLog.addNote(\"Skipping file \" + file.getName() + \" because has already been attached to this record\");\n \t\t\t\t\t\t\t\t\t\t}else{\n \t\t\t\t\t\t\t\t\t\t\t\n \t\t\t\t\t\t\t\t\t\t\ttry {\n \t\t\t\t\t\t\t\t\t\t\t\tlogger.info(\" copying the file to library source=\" + file + \" dest=\" + resultsFile);\n \t\t\t\t\t\t\t\t\t\t\t\t//Copy the pdf file to the library\n \t\t\t\t\t\t\t\t\t\t\t\tUtil.copyFile(file, resultsFile);\n \t\t\t\t\t\t\t\t\t\t\t\t\n \t\t\t\t\t\t\t\t\t\t\t\t//Add file to acs server\n \t\t\t\t\t\t\t\t\t\t\t\tboolean addedToAcs = true;\n \t\t\t\t\t\t\t\t\t\t\t\tif (accessType.equals(\"acs\")){\n \t\t\t\t\t\t\t\t\t\t\t\t\tlogger.info(\"Adding file to the ACS server\");\n \t\t\t\t\t\t\t\t\t\t\t\t\taddedToAcs = addFileToAcsServer(fileType, resultsFile, importResult);\n \t\t\t\t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t\t\t\t\t\n \t\t\t\t\t\t\t\t\t\t\t\tif (addedToAcs){\n \t\t\t\t\t\t\t\t\t\t\t\t\t//filename, acsId, recordId, item_type, addedBy, date_added, date_updated\n \t\t\t\t\t\t\t\t\t\t\t\t\tlong curTimeSec = new Date().getTime() / 1000;\n \t\t\t\t\t\t\t\t\t\t\t\t\taddEContentItem.setString(1, resultsFile.getName());\n \t\t\t\t\t\t\t\t\t\t\t\t\taddEContentItem.setString(2, importResult.getAcsId());\n \t\t\t\t\t\t\t\t\t\t\t\t\taddEContentItem.setString(3, recordId);\n \t\t\t\t\t\t\t\t\t\t\t\t\taddEContentItem.setString(4, fileType);\n \t\t\t\t\t\t\t\t\t\t\t\t\taddEContentItem.setLong(5, -1);\n \t\t\t\t\t\t\t\t\t\t\t\t\taddEContentItem.setLong(6, curTimeSec);\n \t\t\t\t\t\t\t\t\t\t\t\t\taddEContentItem.setLong(7, curTimeSec);\n \t\t\t\t\t\t\t\t\t\t\t\t\tint rowsInserted = addEContentItem.executeUpdate();\n \t\t\t\t\t\t\t\t\t\t\t\t\tif (rowsInserted == 1){\n \t\t\t\t\t\t\t\t\t\t\t\t\t\timportResult.setStatus(fileType, \"success\", \"\");\n \t\t\t\t\t\t\t\t\t\t\t\t\t\tlogger.info(\" added to the database\");\n \t\t\t\t\t\t\t\t\t\t\t\t\t\t\n \t\t\t\t\t\t\t\t\t\t\t\t\t}else{\n \t\t\t\t\t\t\t\t\t\t\t\t\t\tlogger.info(\" file could not be added to the database\");\n \t\t\t\t\t\t\t\t\t\t\t\t\t\tprocessLog.addNote(file.getName() + \" could not be added to the database\");\n \t\t\t\t\t\t\t\t\t\t\t\t\t\tprocessLog.incErrors();\n \t\t\t\t\t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t\t\t\t\t}else{\n \t\t\t\t\t\t\t\t\t\t\t\t\tlogger.info(\" the file could not be added to the acs server\");\n \t\t\t\t\t\t\t\t\t\t\t\t\tprocessLog.addNote(file.getName() + \" could not be added to the acs server\");\n \t\t\t\t\t\t\t\t\t\t\t\t\tprocessLog.incErrors();\n \t\t\t\t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t\t\t\t\t\n \t\t\t\t\t\t\t\t\t\t\t\tif (importResult.getSatus(fileType).equals(\"failed\")){\n \t\t\t\t\t\t\t\t\t\t\t\t\t//If we weren't able to add the file correctly, remove it so it will be processed next time. \n \t\t\t\t\t\t\t\t\t\t\t\t\tresultsFile.delete();\n \t\t\t\t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t\t\t\t\t\n \t\t\t\t\t\t\t\t\t\t\t} catch (IOException e) {\n \t\t\t\t\t\t\t\t\t\t\t\tlogger.error(\"Error copying file to record\", e);\n \t\t\t\t\t\t\t\t\t\t\t\timportResult.setStatus(fileType, \"failed\", \"Error copying file \" + e.toString());\n \t\t\t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t\t}\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} catch (SQLException e) {\n \t\t\t\t\t\tlogger.error(\"Error finding related records\", e);\n \t\t\t\t\t\timportResult.setStatus(\"pdf\", \"failed\", \"SQL error processing file \" + e.toString());\n \t\t\t\t\t}\n \t\t\t\t\timportResults.add(importResult);\n \t\t\t\t\t//Update that another file has been processed.\n \t\t\t\t\tprocessLog.incUpdated();\n \t\t\t\t\ttry {\n \t\t\t\t\t\tupdateRecordsProcessed.setLong(1, processLog.getNumUpdates());\n \t\t\t\t\t\tupdateRecordsProcessed.setLong(2, processLog.getNumErrors());\n \t\t\t\t\t\tupdateRecordsProcessed.setLong(3, logEntryId);\n \t\t\t\t\t\tupdateRecordsProcessed.executeUpdate();\n \t\t\t\t\t} catch (SQLException e) {\n \t\t\t\t\t\tlogger.error(\"Error updating number of records processed.\", e);\n \t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tprocessLog.addNote(\" Skipping because the name is not an ISBN\");\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\t\n \t}",
"public final void mo14831s() {\n Iterator it = ((ArrayList) mo14817d()).iterator();\n while (it.hasNext()) {\n File file = (File) it.next();\n if (file.listFiles() != null) {\n m6739b(file);\n long c = m6740c(file, false);\n if (((long) this.f6567b.mo14797a()) != c) {\n try {\n new File(new File(file, String.valueOf(c)), \"stale.tmp\").createNewFile();\n } catch (IOException unused) {\n f6563c.mo14884b(6, \"Could not write staleness marker.\", new Object[0]);\n }\n }\n for (File b : file.listFiles()) {\n m6739b(b);\n }\n }\n }\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}",
"public static ArrayList<String> getAvailableParts() {\n ArrayList<String> allParts = new ArrayList<String>();\n String pattern = \"_db.dat\";\n File dir = new File(getRapidSmithPath() + File.separator + \"devices\");\n if (!dir.exists()) {\n MessageGenerator.briefErrorAndExit(\"ERROR: No part files exist. Please run \" +\n Installer.class.getCanonicalName() + \" to create part files.\");\n }\n for (String partFamily : dir.list()) {\n File partDir = new File(dir.getAbsolutePath() + File.separator + partFamily);\n for (String part : partDir.list()) {\n if (part.endsWith(pattern)) {\n allParts.add(part.replace(pattern, \"\"));\n }\n }\n }\n return allParts;\n }",
"List<File> getSystemDescriptionFiles();",
"private AFile getFileToCheck() {\n\t\tif (fileListTblMdl != null && ((compareCount > 8 && compareCount % 4 == 0) || compareCount >= fileList.size())) {\n\t\t\tfileListTblMdl.fireTableDataChanged();\n\t\t}\n\t\tif (compareCount >= fileList.size()) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\tsynchronized (fileList) {\n\t\t\t\treturn fileList.get(compareCount++);\n\t\t\t}\n\t\t}\n\t}",
"@Override\n\tpublic ResultTO getFileInfoFromMd5(String md5String) {\n\t\tResultTO result = this.getAllFiles();\n\t\tif (result.isError()) {\n\t\t\tresult.setMessage(\"Some error occurred in getting the file for the given MD5\");\n\t\t\tresult.setFiles(new ArrayList<InfoFileTO>());\n\t\t\treturn result;\n\t\t}\n\t\tList<InfoFileTO> infoFileList = result.getFiles();\n\t\t// If it is void (when some error occurred) it is not executed\n\t\tfor (InfoFileTO infoFileTO : infoFileList) {\n\t\t\tif (infoFileTO.getHashMd5().equals(md5String)) {\n\t\t\t\tresult.setMessage(\"Monitor Operation successfully completed\");\n\t\t\t\tresult.setFiles(Arrays.asList(infoFileTO));\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tresult.setMessage(\"No file has been found with the given Hash MD5!\");\n\t\t\t\tresult.setFiles(new ArrayList<InfoFileTO>());\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}",
"@Test\n public void testGetMediaTypes() throws ODSKartException, FileNotFoundException {\n System.out.println(\"getMediaTypes\");\n DBManager instance = new ODSDBManager(\"test.ods\");\n List<String> expResult = new ArrayList<String>();\n expResult.add(\"b\");\n List<String> result = instance.getMediaTypes();\n assertEquals(expResult, result);\n instance = new ODSDBManager(\"long.ods\");\n expResult.add(\"c\");\n result = instance.getMediaTypes();\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 }",
"public List<AttachFile> getFiles(int no) {\n\t\treturn sqlSession.selectList(\"org.zerock.mapper.agentMapper.viewFiles\", no);\n\t}",
"public synchronized ResultSet getFileList() {\n try {\n return statement.executeQuery(\"select * from FileManager\");\n } catch (SQLException ex) {\n Logger.getLogger(DataManager.class.getName()).log(Level.SEVERE,\n null, ex);\n }\n\n return null;\n }",
"List<MediaMetadata> getAll();",
"public String getRecordFile();",
"public List<GridFSDBFile> find(DBObject query) {\n\treturn find(query, null);\n }",
"@Override\r\n\tpublic Map<String, Object> fileSelectStoredFileName(int no) {\n\t\treturn sqlSession.selectOne(namespace + \"fileSelectStoredFileName\", no);\r\n\t}",
"abstract public Shard<Set<File>> getFilesKnowledge();",
"public RecordSet loadAllProcessingDetail(Record inputRecord);",
"public List<MimeType> getAllMimeTypes() throws ContestManagementException {\n return null;\r\n }",
"public List<MimeType> getAllMimeTypes() throws ContestManagementException {\n return null;\r\n }",
"private File m5346f() {\n if (Process.myUid() == 1000) {\n return null;\n }\n File file;\n boolean equals;\n try {\n equals = \"mounted\".equals(Environment.getExternalStorageState());\n } catch (Exception e) {\n equals = false;\n }\n if (!C1222aj.m5343c() || equals) {\n File a = C1222aj.m5334a(this.f4232a);\n if (a != null) {\n File file2 = new File(a.getPath() + File.separator + \"carrierdata\");\n if (file2.exists() && file2.isDirectory()) {\n File[] listFiles = file2.listFiles();\n if (listFiles != null && listFiles.length > 0) {\n ArrayList a2 = C1222aj.m5336a(listFiles);\n if (a2.size() >= 2) {\n a = (File) a2.get(0);\n file = (File) a2.get(1);\n if (a.getName().compareTo(file.getName()) <= 0) {\n file = a;\n }\n return file;\n }\n }\n }\n }\n }\n file = null;\n return file;\n }",
"public String printFileConsultationDetail() {\n String consultationDetail = \"\";\n for (String symptom : symptoms) {\n consultationDetail += symptom + Constants.DETAILS_DELIMITER;\n }\n consultationDetail += Constants.SYMPTOM_DELIMITER;\n for (String diagnosis : diagnoses) {\n consultationDetail += diagnosis + Constants.DETAILS_DELIMITER;\n }\n consultationDetail += Constants.DIAGNOSIS_DELIMITER;\n for (String prescription : prescriptions) {\n consultationDetail += prescription + Constants.DETAILS_DELIMITER;\n }\n consultationDetail += Constants.PRESCRIPTION_DELIMITER;\n return consultationDetail;\n }",
"public JSONArray listBaredFiles(Connection conn, File cond) throws Exception{\n this.result = new JSONArray();\n PreparedStatement ps = null;\n ResultSet rs = null;\n boolean fileID = false;\n String sql = \"SELECT F.FILE_ID, F.LOGICAL_FILE_NAME LFN, F.IS_FILE_VALID, F.DATASET_ID, F.BLOCK_ID, F.FILE_TYPE_ID, \"\n\t\t +\" F.CHECK_SUM, F.EVENT_COUNT, F.FILE_SIZE, F.BRANCH_HASH_ID, F.ADLER32, F.MD5, F.AUTO_CROSS_SECTION,\"\n\t\t + \" F.CREATION_DATE, F.CREATE_BY, F.LAST_MODIFICATION_DATE, F.LAST_MODIFIED_BY \"\n + \" FROM \" + schemaOwner + \"FILES F \"\n + \" WHERE \";\n\tif(cond.getFileID() != 0){ \n\t sql += \"F.FILE_ID = ? \";\n\t fileID =true;\n\t}\n else if (cond.getLogicalFileName() != null || cond.getLogicalFileName() != \"\"){\n\t if ( (cond.getLogicalFileName()).indexOf('%') != -1) sql += \" F.LOGICAL_FILE_NAME like ?\";\n\t else sql += \" F.LOGICAL_FILE_NAME = ?\";\n\t}\n else throw new DBSException(\"Input Data Error\", \"File name (LFN) or ID have to be provided. \");\n\n ps = null;\n rs = null;\n try{\n ps = DBManagement.getStatement(conn, sql);\n //prepare statement index starting with 1, but JSONArray index starting with 0.\n\t if(fileID)ps.setInt(1, cond.getFileID());\n\t else ps.setString(1, cond.getLogicalFileName());\n //System.out.println(ps.toString());\n rs = ps.executeQuery();\n while(rs.next()){\n String lfn = rs.getString(\"LFN\");\n int fileId = rs.getInt(\"FILE_ID\");\n\t\tint isValid = rs.getInt(\"IS_FILE_VALID\");\n\t\tString cksum = rs.getString(\"CHECK_SUM\");\n\t\tint ecnt = rs.getInt(\"EVENT_COUNT\");\n\t\tint fsize = rs.getInt(\"FILE_SIZE\");\n\t\tdouble xcr = rs.getDouble(\"AUTO_CROSS_SECTION\");\n\t\tString adl = rs.getString(\"ADLER32\");\n\t\tString md = rs.getString(\"MD5\");\n\t\tlong cDate = rs.getLong(\"CREATION_DATE\");\n\t\tString cBy = rs.getString(\"CREATE_BY\");\n\t\tlong lDate = rs.getLong(\"LAST_MODIFICATION_DATE\");\n\t\tString lBy = rs.getString(\"LAST_MODIFIED_BY\");\n \n\t\tthis.result.put(new File(fileId, lfn, isValid, cksum, ecnt, fsize,\n adl, md, xcr, cDate, cBy, lDate, lBy));\n\t }\n }finally {\n if (rs != null) rs.close();\n if (ps != null) ps.close();\n }\n return this.result;\n }",
"@Override\r\n\tpublic Map<String, Object> select_file_info(Map<String, Object> map) throws Exception {\n\t\treturn sql.selectOne(\"cms_board.select_file_info\", map);\r\n\t}",
"private void query() {\n if (mDriveServiceHelper != null) {\n Log.d(\"error\", \"Querying for files.\");\n\n mDriveServiceHelper.queryFiles()\n .addOnSuccessListener(fileList -> {\n StringBuilder builder = new StringBuilder();\n for (File file : fileList.getFiles()) {\n builder.append(file.getName()).append(\"\\n\");\n }\n String fileNames = builder.toString();\n\n// mFileTitleEditText.setText(\"File List\");\n// mDocContentEditText.setText(fileNames);\n\n setReadOnlyMode();\n })\n .addOnFailureListener(exception -> Log.e(\"error\", \"Unable to query files.\", exception));\n }\n }",
"@Test\r\n\tpublic void findByFileInfoID() {\n\t\tSystem.out.println(123);\r\n\t\tint file_id = 1;\r\n\t\tFileInfo f= fileInfoDao.findByFileInfoID(file_id);\r\n\t\tdd(f);\r\n\t\t\r\n\t}",
"public static List<SQLquery> updateQueryList() throws IOException {\n\n List<String> querynames = new ArrayList<String>();\n List<SQLquery> queries = new ArrayList<SQLquery>();\n File curDir = new File(\".\");\n String[] fileNames = curDir.list();\n\n for (int i = 0; i <= fileNames.length - 1; i++) {\n\n /**\n * SELECT ONLY .XYZ FILES FROM FOLDER\n */\n System.out.println(fileNames[i]);\n if (fileNames[i].contains(\".xyz\")) {\n\n querynames.add(fileNames[i]);\n\n }\n\n }\n\n /**\n * create SQLquery objects with appropriate name and query string\n */\n for ( String querypath : querynames ) {\n\n String content = new String(Files.readAllBytes(Paths.get(querypath)));\n SQLquery newquery = new SQLquery(querypath.replace(\".xyz\",\"\"),content);\n queries.add(newquery);\n\n }\n\n /**\n * return query list\n */\n return queries;\n\n }",
"public List<Patient> readAllPatientsMasked() throws ClassNotFoundException, SQLException, Exception {\n\t\tList<Patient> patientList = new ArrayList<>();\n\n\t\ttry {\n\t\t\tPatientDbDaoImpl patientDbDao = new PatientDbDaoImpl();\n\t\t\tpatientList = patientDbDao.readAllWithMaskedDetails();\n\t\t} catch (SQLException e) {\n\t\t\tthrow new SQLException(e);\n\t\t}\n\t\treturn patientList;\n\t}",
"public void searchFile(String fname) {\n File file = new File(fname);\n try {\n BufferedReader br = new BufferedReader(new FileReader(file));\n String s;\n while ((s = br.readLine()) != null) { \n //Search each line for at least 1 match ogf the regex\n searchLine(s);\n }\n } catch (FileNotFoundException e) { \n System.out.println(\"File \" + fname + \" not found\");\n } catch (IOException e) { \n e.printStackTrace();\n }\n }",
"public List<String> nomsFactures() {\n File folder = new File(\"factures/\");\n File[] listOfFiles = folder.listFiles();\n List<String> noms = new ArrayList<String>();\n\n for (int i = 0; i < listOfFiles.length; i++) {\n if (listOfFiles[i].isFile()) {\n noms.add(listOfFiles[i].getName());\n }\n }\n return noms;\n }",
"private void readResultSet() throws IOException {\n\n\t\tBufferedReader reader = new BufferedReader(\n\t\t\t\t(new InputStreamReader(new FileInputStream(new File(\"./thrash/\" + fileName)), \"ISO-8859-1\")));\n\n\t\tString line = reader.readLine();\n\n\t\twhile (line != null) {\n\n\t\t\tString rate = line.split(\"rate=\")[1].trim();\n\t\t\tString label = line.split(\"[0-9]\\\\.[0-9]\")[0].trim();\n//\t\t\tString googleDescription = line.split(\"googleDescription=\")[1].split(\"score\")[0].trim();\n\t\t\tString score = line.split(\"score=\")[1].split(\"rate=\")[0].trim();\n\n\t\t\tSpatialObject obj = new SpatialObject(label, Double.parseDouble(rate), Double.parseDouble(score));\n//\t\t\tSystem.out.println(\"Label: \" + label);\n//\t\t\tSystem.out.println(\"Rate: \" + rate);\n//\t\t\tSystem.out.println(\"Score: \" + score);\n//\t\t\tSpatialObject idealObj = new SpatialObject(googleDescription, Double.parseDouble(rate), Double.parseDouble(rate));\n\t\t\tSpatialObject idealObj = new SpatialObject(label, Double.parseDouble(rate), Double.parseDouble(rate));\n\n\t\t\tresults.add(obj);\n\t\t\tidealResults.add(idealObj);\n\n\t\t\tline = reader.readLine();\n\t\t}\n\n\t\treader.close();\n\t}",
"public abstract List<LocalFile> getAllFiles();",
"ArrayList<File> findSong(File file) {\n ArrayList<File> arrayList = new ArrayList<>();\n\n File[] files = file.listFiles();\n for (File singleFile : files) {\n if (singleFile.isDirectory() && !singleFile.isHidden()) {\n arrayList.addAll(findSong(singleFile));\n } else {\n if (singleFile.getName().endsWith(\".mp3\") || singleFile.getName().endsWith(\".wva\")) {\n arrayList.add(singleFile);\n }\n }\n }\n return arrayList;\n }",
"DiaryFile selectByPrimaryKey(String maperId);",
"@Override\n public boolean hasUploadedFiles(Item item) throws SQLException\n {\n List<Bundle> bundles = getBundles(item, \"ORIGINAL\");\n for (Bundle bundle : bundles) {\n if (CollectionUtils.isNotEmpty(bundle.getBitstreams())) {\n return true;\n }\n }\n return false;\n }",
"@Override\n\tpublic List<FactNonPrintedMaterial> findAll() throws SystemException {\n\t\treturn findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);\n\t}",
"private void readMetaData() throws AreaFileException {\r\n \r\n int i;\r\n// hasReadData = false;\r\n\r\n// if (! fileok) {\r\n// throw new AreaFileException(\"Error reading AreaFile directory\");\r\n// }\r\n\r\n dir = new int[AD_DIRSIZE];\r\n\r\n for (i=0; i < AD_DIRSIZE; i++) {\r\n try { dir[i] = af.readInt();\r\n } catch (IOException e) {\r\n status = -1;\r\n throw new AreaFileException(\"Error reading AreaFile directory:\" + e);\r\n }\r\n }\r\n position += AD_DIRSIZE * 4;\r\n\r\n // see if the directory needs to be byte-flipped\r\n\r\n if (dir[AD_VERSION] != VERSION_NUMBER) {\r\n McIDASUtil.flip(dir,0,19);\r\n // check again\r\n if (dir[AD_VERSION] != VERSION_NUMBER)\r\n throw new AreaFileException(\r\n \"Invalid version number - probably not an AREA file\");\r\n // word 20 may contain characters -- if small integer, flip it...\r\n if ( (dir[20] & 0xffff) == 0) McIDASUtil.flip(dir,20,20);\r\n McIDASUtil.flip(dir,21,23);\r\n // words 24-31 contain memo field\r\n McIDASUtil.flip(dir,32,50);\r\n // words 51-2 contain cal info\r\n McIDASUtil.flip(dir,53,55);\r\n // word 56 contains original source type (ascii)\r\n McIDASUtil.flip(dir,57,63);\r\n flipwords = true;\r\n }\r\n\r\n areaDirectory = new AreaDirectory(dir);\r\n\r\n // pull together some values needed by other methods\r\n navLoc = dir[AD_NAVOFFSET];\r\n calLoc = dir[AD_CALOFFSET];\r\n auxLoc = dir[AD_AUXOFFSET];\r\n datLoc = dir[AD_DATAOFFSET];\r\n numBands = dir[AD_NUMBANDS];\r\n linePrefixLength = \r\n dir[AD_DOCLENGTH] + dir[AD_CALLENGTH] + dir[AD_LEVLENGTH];\r\n if (dir[AD_VALCODE] != 0) linePrefixLength = linePrefixLength + 4;\r\n if (linePrefixLength != dir[AD_PFXSIZE]) \r\n throw new AreaFileException(\"Invalid line prefix length in AREA file.\");\r\n lineDataLength = numBands * dir[AD_NUMELEMS] * dir[AD_DATAWIDTH];\r\n lineLength = linePrefixLength + lineDataLength;\r\n numberLines = dir[AD_NUMLINES];\r\n\r\n if (datLoc > 0 && datLoc != McIDASUtil.MCMISSING) {\r\n navbytes = datLoc - navLoc;\r\n calbytes = datLoc - calLoc;\r\n auxbytes = datLoc - auxLoc;\r\n }\r\n if (auxLoc > 0 && auxLoc != McIDASUtil.MCMISSING) {\r\n navbytes = auxLoc - navLoc;\r\n calbytes = auxLoc - calLoc;\r\n }\r\n\r\n if (calLoc > 0 && calLoc != McIDASUtil.MCMISSING ) {\r\n navbytes = calLoc - navLoc;\r\n }\r\n\r\n\r\n // Read in nav block\r\n if (navLoc > 0 && navbytes > 0) {\r\n nav = new int[navbytes/4];\r\n newPosition = (long) navLoc;\r\n skipByteCount = (int) (newPosition - position);\r\n try {\r\n af.skipBytes(skipByteCount);\r\n } catch (IOException e) {\r\n status = -1;\r\n throw new AreaFileException(\"Error skipping AreaFile bytes: \" + e);\r\n }\r\n for (i=0; i<navbytes/4; i++) {\r\n try {\r\n nav[i] = af.readInt();\r\n } catch (IOException e) {\r\n status = -1;\r\n throw new AreaFileException(\"Error reading AreaFile navigation:\"+e);\r\n }\r\n }\r\n if (flipwords){\r\n flipnav(nav);\r\n }\r\n position = navLoc + navbytes;\r\n }\r\n\r\n // Read in cal block\r\n if (calLoc > 0 && calbytes > 0) {\r\n cal = new int[calbytes/4];\r\n newPosition = (long)calLoc;\r\n skipByteCount = (int) (newPosition - position);\r\n try {\r\n af.skipBytes(skipByteCount);\r\n } catch (IOException e) {\r\n status = -1;\r\n throw new AreaFileException(\"Error skipping AreaFile bytes: \" + e);\r\n }\r\n for (i=0; i<calbytes/4; i++) {\r\n try { \r\n cal[i] = af.readInt();\r\n } catch (IOException e) {\r\n status = -1;\r\n throw new AreaFileException(\"Error reading AreaFile calibration:\"+e);\r\n }\r\n }\r\n // if (flipwords) flipcal(cal);\r\n position = calLoc + calbytes;\r\n }\r\n\r\n // Read in aux block\r\n if (auxLoc > 0 && auxbytes > 0){\r\n aux = new int[auxbytes/4];\r\n newPosition = (long) auxLoc;\r\n skipByteCount = (int) (newPosition - position);\r\n try{\r\n af.skipBytes(skipByteCount);\r\n }catch (IOException e){\r\n status = -1;\r\n throw new AreaFileException(\"Error skipping AreaFile bytes: \" + e);\r\n }\r\n for (i = 0; i < auxbytes/4; i++){\r\n try{\r\n aux[i] = af.readInt();\r\n }catch (IOException e){\r\n status = -1;\r\n throw new AreaFileException(\"Error reading AreaFile aux block:\" + e);\r\n }\r\n }\r\n position = auxLoc + auxbytes;\r\n }\r\n\r\n // now return the Dir, as requested...\r\n status = 1;\r\n return;\r\n }",
"public List<StudioFileType> getAllStudioFileTypes() throws ContestManagementException {\r\n return null;\r\n }",
"private void readFileList(String mediaType){\n Log.v(TAG,\"Context = \" + mContext);\n Uri uri = null;\n if(mediaType.equals(IMAGE)) {\n uri = android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI;\n }\n else if(mediaType.equals(VIDEO)){\n uri = android.provider.MediaStore.Video.Media.EXTERNAL_CONTENT_URI;\n }\n\n if(uri == null){\n Log.v(TAG, \"ERROR: Media type error\");\n return;\n }\n else {\n String[] projection = {MediaStore.MediaColumns._ID, MediaStore.MediaColumns.DATA\n , MediaStore.MediaColumns.DISPLAY_NAME, MediaStore.MediaColumns.SIZE};\n\n Cursor cursor = mContext.getContentResolver().query(uri, projection, null, null, null);\n while (cursor != null && cursor.moveToNext()) {\n int column_index_data = cursor.getColumnIndexOrThrow(MediaStore.MediaColumns.DATA);\n String data = cursor.getString(column_index_data);\n int column_index_id = cursor.getColumnIndexOrThrow(MediaStore.MediaColumns._ID);\n int fileId = cursor.getInt(column_index_id);\n String displayName = cursor.getString(cursor.getColumnIndexOrThrow(MediaStore.MediaColumns.DISPLAY_NAME));\n long fileSize = cursor.getLong(cursor.getColumnIndexOrThrow(MediaStore.MediaColumns.SIZE));\n\n //Get information of files in friendsCameraSample folder\n if (data.contains(\"friendsCameraSample\")) {\n HashMap<String, String> info = new HashMap<>();\n info.put(OSCParameterNameMapper.FileInfo.NAME, displayName);\n info.put(OSCParameterNameMapper.FileInfo.URL, data);\n info.put(OSCParameterNameMapper.FileInfo.SIZE, String.valueOf(fileSize));\n adapter.addItem(info, fileId);\n adapter.notifyDataSetChanged();\n }\n }\n }\n }",
"@Override\n\tpublic List<HumanFileDig> findAllHumanFileDig() {\n\t\treturn humanFileDigMapper.selectAllHumanFileDig();\n\t}",
"public void Large_Req_detail()\n {\n\t boolean largereqpresent =lareqdetails.size()>0;\n\t if(largereqpresent)\n\t {\n\t\t// System.out.println(\"Large Request details report is PRESENT\");\n\t }\n\t else\n\t {\n\t\t System.out.println(\"Large Request details report is not present\");\n\t }\n }",
"protected static boolean containsFileID(double fileID) {\n\n String sql = \"SELECT fileID FROM files\";\n\n try (Connection conn = DatabaseOperations.connect();\n Statement stmt = conn.createStatement();\n ResultSet rs = stmt.executeQuery(sql)) {\n\n // loop through the result set\n while (rs.next()) {\n if (fileID == rs.getDouble(\"fileID\")) {\n return true;\n }\n }\n } catch (SQLException e) {\n System.out.println(\"fileIDExists: \" + e.getMessage());\n }\n return false;\n\n }"
]
| [
"0.586193",
"0.5650874",
"0.5439893",
"0.52184105",
"0.51727515",
"0.50775486",
"0.50757295",
"0.5037671",
"0.49760124",
"0.49760124",
"0.49604475",
"0.48777038",
"0.4877627",
"0.48600304",
"0.48305312",
"0.48153985",
"0.47890744",
"0.47831324",
"0.4780414",
"0.4745086",
"0.47294384",
"0.47219503",
"0.47115833",
"0.47101673",
"0.47097084",
"0.4707056",
"0.46999326",
"0.4697965",
"0.46965355",
"0.46957418",
"0.4684799",
"0.4682104",
"0.46786806",
"0.46512446",
"0.4625266",
"0.46238205",
"0.4613738",
"0.4586051",
"0.45812416",
"0.457509",
"0.45743757",
"0.45457837",
"0.4543121",
"0.4534829",
"0.4529111",
"0.44829392",
"0.44764325",
"0.44754475",
"0.44740522",
"0.4473685",
"0.44723797",
"0.4468792",
"0.4465488",
"0.44622457",
"0.44621244",
"0.44540384",
"0.4438467",
"0.44339806",
"0.44339806",
"0.44314063",
"0.44278044",
"0.44218183",
"0.44140205",
"0.44125515",
"0.4396916",
"0.43955162",
"0.4393677",
"0.43904445",
"0.43885767",
"0.43854177",
"0.4380594",
"0.43755648",
"0.43616807",
"0.43613654",
"0.4359321",
"0.43578804",
"0.4355605",
"0.4355605",
"0.43479562",
"0.4347862",
"0.43412995",
"0.43347144",
"0.43329152",
"0.43219858",
"0.43144006",
"0.4306689",
"0.43037656",
"0.4302505",
"0.4301357",
"0.42949522",
"0.42902422",
"0.42892152",
"0.42866996",
"0.42843464",
"0.42840207",
"0.4282974",
"0.427482",
"0.42719287",
"0.427145",
"0.426917"
]
| 0.46474296 | 34 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.