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
Liefert das aktuelle Level zurueck
public int getLevel(){ return level; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int level();", "@Override\n\tdouble updateLevel() {\n\t\treturn 0;\n\t}", "protected int getLevel(){\r\n return this.level;\r\n }", "public void setLevel(Level level) { this.currentLevel = level; }", "public void setLevel(int newlevel)\n {\n level = newlevel; \n }", "int getOnLevel();", "public double Getlevel()\r\n {\r\n return level;\r\n }", "public int getLevel()\n {\n return level; \n }", "int getLevel();", "int getLevel();", "int getLevel();", "int getLevel();", "int getLevel();", "protected void setLevel(int level){\r\n this.level = level;\r\n }", "public int getLevel(){\n return this.level;\n }", "public int getLevel(){\n return this.level;\n }", "double getLevel();", "double getLevel();", "public int getLevel()\r\n {\r\n return level;\r\n }", "public int getLevel(){\n return level;\n }", "public int getLevel(){\n return level;\n }", "public int getLevel()\n {\n return level;\n }", "public int getLevel() {\r\n return level;\r\n }", "public void incLevel(int lvl){this.Level=this.XP/(100);}", "public void setLevel(int value) {\n this.level = value;\n }", "public int getLevel() { \r\n\t\treturn level; \r\n\t}", "private void setLevel(){\n\t\tif(getD(y) <= T)\n\t\t\tlevel = \"lower\";\n\t\telse\n\t\t\tlevel = \"higher\";\n\t}", "public static int getLevel()\n {\n return level;\n }", "public void setLevel(int level) { \r\n\t\tthis.level = level; \r\n\t}", "private int getLevel() {\n return getStat(currentLevel);\n }", "public void setLevel (String newLevel)\n {\n this.level = newLevel; \n }", "public int getLevel()\r\n {\r\n return r_level;\r\n }", "public int getLevel() {\n return level;\n }", "public int getLevel() {\n return level;\n }", "public int getLevel() {\n return level;\n }", "public int getLevel() {\n return level;\n }", "public int getLevel() {\n return level;\n }", "public int getLevel() {\n return level;\n }", "public int getLevel() {\n return level;\n }", "public int getLevel() {\n return level;\n }", "public int getLevel() {\n return level;\n }", "public int getLevel() {\n return level;\n }", "public int getLevel(){\n\t\treturn this.level;\n\t}", "void levelanzeigen(){\n if(level==levelold){\n //TODO HARDWARE this.systeminterface.tab.setcolor(255,0,0);\n //TODO HARDWARE this.systeminterface.ledFeld.zahl(0,2,level);\n }else{\n //TODO HARDWARE this.systeminterface.ledFeld.setcolor(0,0,0);\n //TODO HARDWARE this.systeminterface.ledFeld.zahl(0,2,levelold);\n //TODO HARDWARE this.systeminterface.ledFeld.setcolor(255,0,0);\n //TODO HARDWARE this.systeminterface.ledFeld.zahl(0,2,level);\n levelold=level;\n }\n //TODO HARDWARE this.systeminterface.ledFeld.show();\n //TODO HARDWARE this.systeminterface.ledFeld.setRotation(1);\n }", "public int getLevel() {\n return this.level;\n }", "public void setLevel(int level)\r\n {\r\n\tthis.level = level;\r\n }", "public static int getLevel()\r\n\t{\r\n\t\treturn level;\r\n\t}", "public int getLevel() {\n return level_;\n }", "public int getLevel() {\n return level_;\n }", "public Level getCurrentLevel(){\r\n return currentLevel;\r\n }", "public static int getLevel() {\n return level;\n }", "public void setLevel(String level);", "protected void setLevel(int level)\n {\n this.level = level;\n }", "public int getLevel()\n {\n return m_level;\n }", "public void setLevel(int level){\n\t\tthis.level = level;\n\t}", "public int getLevel() {\n \t\treturn level;\n \t}", "private void setLevel(int level) {\n setStat(level, currentLevel);\n }", "int getLevel()\n\t{\n\t\treturn this.level;\n\t}", "public void setLevel(String newLevel) {\n level = newLevel;\n }", "public int \t\t\t\t\t\t\tgetLevel()\t\t\t\t\t\t\t\t\t{ return this.currentLevel; }", "public void setLevel(int level) {\n this.level = level;\n }", "public void setLevel(int level) {\n this.level = level;\n }", "public State getLevel() {\r\n\t\treturn level;\r\n\t}", "public abstract int levelRequired();", "public int getLevel() {\n \treturn this.level;\n }", "LockLevel level();", "public void setLevel(Integer level) {\n this.level = level;\n }", "public void setLevel(Integer level) {\n this.level = level;\n }", "public void setLevel(Integer level) {\n this.level = level;\n }", "public void setLevel(Integer level) {\n this.level = level;\n }", "public void setLevel(Integer level) {\n this.level = level;\n }", "public int getLevel() {\r\n\t\treturn level;\r\n\t}", "public int getLevel() {\r\n\t\treturn level;\r\n\t}", "public void setLevel(int level) {\n \t\tthis.level = level;\n \t}", "public int getLevel() {\n\t\treturn 0;\n\t}", "public int getLevel() {\n\t\treturn 0;\n\t}", "public Integer getLevel() {\n return level;\n }", "public Integer getLevel() {\n return level;\n }", "public Integer getLevel() {\n return level;\n }", "public Integer getLevel() {\n return level;\n }", "public Integer getLevel() {\n return level;\n }", "public void setLevel(int level) {\r\n\t\t\r\n\t\tthis.level = level;\r\n\t\t\r\n\t}", "public int getLevel() {\n return level_;\n }", "public int getLevel() {\n return level_;\n }", "public void setLevel(int v)\n {\n m_level = v;\n }", "public int getCurrentLevel() {\n return currentLevel;\n }", "public boolean onLevelChange(int level) {\r\n return false;\r\n }", "public void setLevel(int level) {\n\t\tthis.level = level;\t\n\t}", "@java.lang.Override\n public double getLevel() {\n return level_;\n }", "@java.lang.Override\n public double getLevel() {\n return level_;\n }", "public void switchPowerLevel()\n {\n // If power level is 1, set this.powerLevel to 3 - 1 = 2.\n // If power level is 2, set this.powerLevel to 3 - 2 = 1.\n this.powerLevel = (3 - this.powerLevel);\n }", "public int getLevelValue() {\n return level_;\n }", "public String getCurrentLevel() \n { \n return currentLevel; \n }", "public String getLevel() {\n return this.level;\n }", "public int getLevel() {\n\t\treturn level;\r\n\t}", "@java.lang.Override\n public double getLevel() {\n return level_;\n }", "@java.lang.Override\n public double getLevel() {\n return level_;\n }", "public String getLevel ()\n {\n return level;\n }", "public int getLevel() {\n return level_;\n }", "public int getLevel() {\n return level_;\n }" ]
[ "0.77523774", "0.7724051", "0.7654023", "0.7602714", "0.7576333", "0.75512034", "0.7490934", "0.74028033", "0.7393845", "0.7393845", "0.7393845", "0.7393845", "0.7393845", "0.7373755", "0.73688686", "0.73688686", "0.7359191", "0.7359191", "0.73585236", "0.73225373", "0.73225373", "0.72955626", "0.72840023", "0.7280699", "0.7274978", "0.7254151", "0.7217169", "0.7213419", "0.7205316", "0.72038347", "0.7202782", "0.7197964", "0.7193203", "0.7193203", "0.7193203", "0.7193203", "0.7193203", "0.7193203", "0.7193203", "0.7193203", "0.7193203", "0.7193203", "0.71927565", "0.71918577", "0.7189056", "0.71797097", "0.716466", "0.715881", "0.715881", "0.71509504", "0.71474123", "0.71206397", "0.711791", "0.7111131", "0.7108653", "0.71080995", "0.7103925", "0.7103371", "0.70783335", "0.7072119", "0.7046531", "0.7046531", "0.7030992", "0.7030795", "0.7028744", "0.7027568", "0.70156157", "0.70156157", "0.70156157", "0.70156157", "0.70156157", "0.70140433", "0.70140433", "0.70131236", "0.7012346", "0.7012346", "0.7010541", "0.7010541", "0.7010541", "0.7010541", "0.7010541", "0.7008763", "0.7004866", "0.7004866", "0.7004312", "0.69865113", "0.69834024", "0.69821274", "0.69799703", "0.69799703", "0.6976076", "0.69707286", "0.69618064", "0.6941367", "0.69393677", "0.6928429", "0.6928429", "0.69244796", "0.69220483", "0.69220483" ]
0.7187509
45
Gibt die aktuelle Karte zurueck
public MapDisplay getMap(){ return map; //gibt die Karte zurück }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void recreo() {\n\n\t}", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@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 public void aktion(Hauptobjekt h) {\n System.out.println(\"Hin\");\n h.setAktuellerZustand(new ZweiterZustand());\n }", "public void klasseSave() {\n\t\tArrayList<Object> objectList = new ArrayList<Object>();\r\n\t\t\r\n\t\tif(paneKlasseName.getText().isEmpty()) {\r\n\t\t\tstatusFeldText.setText(\"Name für Objekt eintragen!\");\r\n\t\t\tstatusFeld.setStyle(\"-fx-background-color: #f67d7d\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// Prüfen, was für ein Typ das vorherige Objekt hat\r\n\t\tString switchvar = umlEditor.typeCheck(klassenTree.getSelectionModel().getSelectedItem().getValue());\r\n\t\tif(switchvar == null){switchvar = \"Package\";}\r\n\t\t\r\n\t\t//Set icon and create object\r\n\t\tImageView itemIcon = null;\r\n\t\tTreeItem<String> selectedItem = klassenTree.getSelectionModel().getSelectedItem();\r\n\t\tString name = paneKlasseName.getText();\r\n//\t\tswitch (paneKlasseTyp.getSelectionModel().getSelectedItem()) {\r\n//\t\tcase \"Package\":\r\n//\t\t\titemIcon = new ImageView(iconPackage);\r\n//\t\t\tPackage newPackage = new Package(name, name);\r\n//\t\t\tnewPackage.setName(paneKlasseName.getText());\r\n//\t\t\tnewPackage.setParent(selectedItem);\r\n//\t\t\tobjectList.add(newPackage);\r\n//\t\t\tbreak;\r\n//\t\t//switch (switchvar) {\r\n//\t\tcase \"Klasse\":\r\n//\t\t\titemIcon = new ImageView(iconClass);\r\n//\t\t\t//TODO Was soll hier als letzter Parameter mitgegeben werden?\r\n//\t\t\tKlasse newClass = new Klasse(name, name, null);\r\n//\t\t\tnewClass.setName(paneKlasseName.getText());\r\n//\t\t\tnewClass.setStereotyp(paneKlasseStereotyp.getText());\r\n//\t\t\tnewClass.setType(\"class\");\r\n//\t\t\tnewClass.setParent(selectedItem);\r\n//\t\t\tobjectList.add(newClass);\r\n//\t\t\t// Neue Klasse\r\n//\t\t\t//TODO Sehe nicht genau was du hier machen willst?\r\n//\t\t\t//paneKlasseTyp.getItems().addAll(typ[1], typ[2]);\r\n//\t\t\tbreak;\r\n//\t\tcase \"Interface\":\r\n//\t\t\titemIcon = new ImageView(iconInterface);\r\n//\t\t\tInterface newInterface = new Interface(name, name);\r\n//\t\t\tnewInterface.setName(paneKlasseName.getText());\r\n//\t\t\tnewInterface.setStereotyp(paneKlasseStereotyp.getText());\r\n//\t\t\tnewInterface.setType(\"interface\");\r\n//\t\t\tnewInterface.setParent(selectedItem);\r\n//\t\t\tobjectList.add(newInterface);\r\n//\t\t\t// Neues Interface\r\n//\t\t\t//TODO Sehe nicht genau was du hier machen willst?\r\n//\t\t\t//paneKlasseTyp.getItems().addAll(typ[2]);\r\n//\t\t\tbreak;\r\n//\t\tdefault:\r\n//\t\t\t//TODO Sehe nicht genau was du hier machen willst?\r\n//\t\t\t//paneKlasseTyp.getItems().addAll(typ);\r\n//\t\t\tbreak;\r\n//\t\t}\r\n\t\t\r\n\t\t//Add item to TreeView\r\n\t\tTreeItem<String> treeRoot = klassenTree.getTreeItem(0);\r\n\t\tTreeItem<String> newItem = new TreeItem<String>(paneKlasseName.getText(), itemIcon );\r\n\t\tselectedItem.getChildren().add(newItem);\r\n\r\n\t\t\r\n\t}", "protected T getManusia(){\r\n return Manusia;\r\n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "public void inicializar();", "public void annuler(){\r\n try {\r\n viewEtudiantInscripEcheance = new ViewEtudiantInscriptionEcheance();\r\n echeance_etudiant = new EcoEcheanceEtudiant(); \r\n \r\n } catch (Exception e) {\r\n System.err.println(\"Erreur capturée : \"+e);\r\n }\r\n }", "public Controlador() {\n\t\t// m\n\t\tdatosPrueba1 = new ListaEnlazada();\n\t\t// m\n\t\tdatosPrueba2 = new ListaEnlazada();\n\t\t// add\n\t\tdatosPrueba3 = new ListaEnlazada();\n\t\tdatosPrueba4 = new ListaEnlazada();\n\t\tprueba1 = new Estadisticas(datosPrueba1);\n\t\tprueba2 = new Estadisticas(datosPrueba2);\n\t\tprueba3 = new Estadisticas(datosPrueba3);\n\t\tprueba4 = new Estadisticas(datosPrueba4);\n\t\t// finAdd\n\t}", "public Funcionalidad() {\n Cajero cajero1 = new Cajero(\"Pepe\", 2);\n empleados.put(cajero1.getID(), cajero1);\n Reponedor reponedor1 = new Reponedor(\"Juan\", 3);\n empleados.put(reponedor1.getID(), reponedor1);\n Producto producto1 = new Producto(\"Platano\", 10, 8);\n productos.add(producto1);\n Perecedero perecedero1 = new Perecedero(LocalDateTime.now(), \"Yogurt\", 10, 8);\n }", "public KamarFrom() {\n \n initComponents();\n tabel();\n \n }", "public HandKarten(){\n this.listKartenInhand = new ArrayList<Karte>();\n }", "public MaschinenVerwaltung() {\r\n setMaschinenListe();\r\n setEinKopfMaschinenListe();\r\n setZweiBisAchtKopfMaschine();\r\n setZehnUndMehrKopfMaschine();\r\n }", "Objet getObjetAlloue();", "private DittaAutonoleggio(){\n \n }", "protected void postInstantiate() {}", "@Override\n\tpublic void adicionarNoInicio(T obj) {\n\n\t}", "@Override\n public T getObjRaiz() {\n return (super.getObjRaiz());\n }", "public PlatzVerkaufsWerkzeug()\r\n\t{\r\n\t\t_ui = new PlatzVerkaufsWerkzeugUI();\r\n\t\tregistriereUIAktionen();\r\n\t\t// Am Anfang wird keine Vorstellung angezeigt:\r\n\t\tsetVorstellung(null);\r\n//\t\t_auswahl = new Map<Platz, Boolean>; Alternative mit Map\r\n\t}", "public void verarbeite() {\n\t\t\r\n\t}", "public BuscarArtG() {\n\t\tvista = new MenuBuscarArtG(this);\n\n\t\t/* Asociamos controlador a la vista */\n\t\t((MenuBuscarArtG) vista).setControlador(this);\n\t}", "@Override\r\n\tprotected void agregarObjeto() {\r\n\t\t// opcion 1 es agregar nuevo justificativo\r\n\t\tthis.setTitle(\"PROCESOS - PERMISOS INDIVIDUALES (AGREGANDO)\");\r\n\t\tthis.opcion = 1;\r\n\t\tactivarFormulario();\r\n\t\tlimpiarTabla();\r\n\t\tthis.panelBotones.habilitar();\r\n\t}", "public void createProbleem() throws InstantiationException,\n\t\t\tIllegalAccessException {\n\n\t\tMapViewer viewer = getViewer();\n\t\tMapContext context = viewer.getConfiguration().getContext();\n\n\t\tif (getMelding().getProbleem() != null) {\n\t\t\tmodelRepository.evictObject(getMelding().getProbleem());\n\t\t}\n\t\tprobleem = null;\n\t\tif (\"bord\".equals(probleemType)) {\n\n\t\t\tif (trajectType.endsWith(\"Route\")) {\n\t\t\t\tprobleem = (Probleem) modelRepository.createObject(\n\t\t\t\t\t\t\"RouteBordProbleem\", null);\n\n\t\t\t} else if (trajectType.contains(\"Netwerk\")) {\n\t\t\t\tprobleem = (Probleem) modelRepository.createObject(\n\t\t\t\t\t\t\"NetwerkBordProbleem\", null);\n\n\t\t\t}\n\n\t\t\t// Itereren over de lagen en de correcte lagen selecteerbaar zetten\n\t\t\tfor (FeatureMapLayer layer : context.getFeatureLayers()) {\n\t\t\t\tlayer.set(\"selectable\", false);\n\n\t\t\t\tif (layer.getLayerId().equalsIgnoreCase(trajectType + \"Bord\")) {\n\t\t\t\t\tlayer.set(\"selectable\", true);\n\t\t\t\t\tlayer.set(\"selectionMode\", FeatureSelectionMode.SINGLE);\n\t\t\t\t\tlayer.setSelection(new ArrayList<String>(1));\n\n\t\t\t\t} else if (layer.getLayerId().equalsIgnoreCase(\n\t\t\t\t\t\ttrajectType.replace(\"Segment\", \"\") + \"Bord\")) {\n\t\t\t\t\tlayer.set(\"selectable\", true);\n\t\t\t\t\tlayer.set(\"selectionMode\", FeatureSelectionMode.SINGLE);\n\t\t\t\t\tlayer.setSelection(new ArrayList<String>(1));\n\n\t\t\t\t} else if (layer.getLayerId().contains(\"Knooppunt\")) {\n\t\t\t\t\tlayer.set(\"selectable\", false);\n\t\t\t\t\tlayer.setSelection(Collections.EMPTY_LIST);\n\t\t\t\t}\n\n\t\t\t\telse if (layer.getLayerId().equalsIgnoreCase(\n\t\t\t\t\t\tGEOMETRY_LAYER_NAME)) {\n\t\t\t\t\tlayer.setHidden(true);\n\t\t\t\t\t((GeometryListFeatureMapLayer) layer)\n\t\t\t\t\t\t\t.setGeometries(Collections.EMPTY_LIST);\n\t\t\t\t} else {\n\t\t\t\t\tlayer.set(\"selectable\", false);\n\t\t\t\t\tlayer.setSelection(Collections.EMPTY_LIST);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (\"ander\".equals(probleemType)) {\n\n\t\t\tif (trajectType.endsWith(\"Route\")) {\n\t\t\t\tprobleem = (Probleem) modelRepository.createObject(\n\t\t\t\t\t\t\"RouteAnderProbleem\", null);\n\n\t\t\t} else if (trajectType.contains(\"Netwerk\")) {\n\t\t\t\tprobleem = (Probleem) modelRepository.createObject(\n\t\t\t\t\t\t\"NetwerkAnderProbleem\", null);\n\t\t\t}\n\n\t\t\tfor (FeatureMapLayer layer : context.getFeatureLayers()) {\n\n\t\t\t\t// Geometrie laag\n\t\t\t\tif (layer.getLayerId().equalsIgnoreCase(GEOMETRY_LAYER_NAME)) {\n\t\t\t\t\tlayer.setHidden(false);\n\t\t\t\t\tlayer.set(\"selectable\", true);\n\t\t\t\t\tlayer.set(\"editable\", true);\n\t\t\t\t\t((GeometryListFeatureMapLayer) layer)\n\t\t\t\t\t\t\t.setGeometries(new ArrayList<Geometry>(1));\n\t\t\t\t}\n\n\t\t\t\t// Indien NetwerkSegment laag laag op selecteerbaar zetten\n\t\t\t\telse if (layer.getLayerId().equalsIgnoreCase(trajectType)) {\n\t\t\t\t\tlayer.set(\"selectable\", true);\n\t\t\t\t\tlayer.set(\"selectionMode\", FeatureSelectionMode.SINGLE);\n\t\t\t\t\tlayer.setSelection(new ArrayList<String>(1));\n\n\t\t\t\t} else {\n\t\t\t\t\tlayer.set(\"selectable\", false);\n\t\t\t\t\tlayer.setSelection(Collections.EMPTY_LIST);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tgetMelding().setProbleem(probleem);\n\t\tviewer.updateContext(null);\n\t}", "public void buscarGestor(){\r\n\t\t\r\n\t}", "Klassenstufe createKlassenstufe();", "void usada() {\n mazo.habilitarCartaEspecial(this);\n }", "public static void main(String[]args){\n Carataker carataker=new Carataker();\n //el originator es el creador de los mementos\n Originator originator=new Originator();\n\n ConcreteObject concreteObject;\n\n concreteObject=new ConcreteObject(\"Doc\",\"Titulo\",\"Estado1\");\n originator.setState(concreteObject);\n\n concreteObject=new ConcreteObject(\"Doc\",\"Descripcion\",\"Estado2\");\n originator.setState(concreteObject);\n carataker.addMemento(originator.createMemento()); // [0] Primer estado\n\n concreteObject=new ConcreteObject(\"Doc\",\"Resumen\",\"Estado3\");\n originator.setState(concreteObject);\n\n concreteObject=new ConcreteObject(\"Doc\",\"Conclusion\",\"Estado4\");\n originator.setState(concreteObject);\n carataker.addMemento(originator.createMemento()); //[1] Segundo estado\n\n concreteObject=new ConcreteObject(\"Doc\",\"Bibliografia\",\"Estado5\");\n originator.setState(concreteObject);\n\n //recuperando o restaurando un estado\n\n originator.restoreFromMemento(carataker.getMemento(0));\n\n }", "public void inizializza() {\n\n /* invoca il metodo sovrascritto della superclasse */\n super.inizializza();\n\n }", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void registrarLlegada() {\n\t\t\n\t}", "public GrupoCrearEditarBackingMB() {\n\t\tsuper();\n\t\tthis.dto = new GrupoDTO();\n\t}", "public ListaPracownikow() {\n generujPracownikow();\n //dodajPracownika();\n }", "private ControleurAcceuil(){ }", "@Override\n public boolean create(Revue objet) {\n return false;\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "@Override\r\n\tpublic void crearVehiculo() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "Compuesta createCompuesta();", "@Override\n\tpublic void registrarLlegada() {\n\t}", "Schueler createSchueler();", "@Override\r\n\t\t\tpublic void serializar() {\n\r\n\t\t\t}", "@Override\n public void Create() {\n initView();\n initData();\n }", "public Aktie() {\n }", "@Override\r\n\tpublic void serializar() {\n\r\n\t}", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\r\n\tpublic void loeschen() {\r\n//\t\tsuper.leuchterAbmelden(this);\r\n\t\tsuper.loeschen();\r\n\t}", "@Override\r\n\tpublic void creerTVA(TVA t) {\n\t\t\r\n\t}", "private CoeurAStockageImpl()\n\t{\n\t\tmonnayeur = new Monnayeur();\n\t\timprimante = new Imprimante(this);\n\t\tcomposantEnMarche = new HashMap<Composant,Boolean>();\n\t\tfor(Composant composant : Composant.values())\n\t\t{\n\t\t\tcomposantEnMarche.put(composant, true);\n\t\t}\n\t}", "public void trenneVerbindung();", "public Ficha_Ingreso_Egreso() {\n initComponents();\n limpiar();\n bloquear();\n \n }", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "public EntryReeferMuatBean() {\n registration = new Registration();\n registration.setMasterCustomer(new MasterCustomer());\n registration.setPlanningVessel(new PlanningVessel());\n registration.getPlanningVessel().setPreserviceVessel(new PreserviceVessel());\n registration.getPlanningVessel().getPreserviceVessel().setMasterVessel(new MasterVessel());\n }", "@Override\n\tpublic void alterar() {\n\t\t\n\t}", "private void crearVista() {\n\t\tVista vista = Vista.getInstancia();\n\t\tvista.addObservador(this);\n\n\t}", "private void remplirMaterielData() {\n\t}", "@Override\n\tpublic void insertar() {\n\t\t\n\t}", "public Artefato() {\r\n\t\tthis.membros = new ArrayList<Membro>();\r\n\t\tthis.servicos = new ArrayList<IServico>();\r\n\t}", "@Override\n\tpublic void nuevo() {\n\n\t}", "public VistaGraficaQytetet() {\n ArrayList <String> nombres = obtenerNombreJugadores();\n modelo = Qytetet.getInstance();\n controlador = ControladorQytetet.getInstance(nombres);\n initComponents();\n creaMenuOperacion();\n creaMenuCasilla();\n update();\n }", "public Kreditkarte(){\n\t\n\t}", "public void revolver() {\n this.lista = Lista.escojerAleatorio(this, this.size()).lista;\n }", "public T prepareCreate(ActionEvent event) {\n T newItem;\n try {\n newItem = itemClass.newInstance();\n this.selected = newItem;\n initializeEmbeddableKey();\n return newItem;\n } catch (InstantiationException ex) {\n Logger.getLogger(AbstractController.class.getName()).log(Level.SEVERE, null, ex);\n } catch (IllegalAccessException ex) {\n Logger.getLogger(AbstractController.class.getName()).log(Level.SEVERE, null, ex);\n }\n return null;\n }", "public void inizializza() {\n Navigatore nav;\n Portale portale;\n\n super.inizializza();\n\n try { // prova ad eseguire il codice\n\n Modulo modulo = getModuloRisultati();\n modulo.inizializza();\n// Campo campo = modulo.getCampoChiave();\n// campo.setVisibileVistaDefault(false);\n// campo.setPresenteScheda(false);\n// Vista vista = modulo.getVistaDefault();\n// vista.getElement\n// Campo campo = vista.getCampo(modulo.getCampoChiave());\n\n\n\n /* aggiunge il Portale Navigatore al pannello placeholder */\n nav = this.getNavigatore();\n portale = nav.getPortaleNavigatore();\n this.getPanNavigatore().add(portale);\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n }", "public TelaCidadaoDescarte() {\n initComponents();\n }", "protected void setManusia(T Manusia){\r\n this.Manusia = Manusia;\r\n }", "private void inizia() throws Exception {\n this.setClasse((new ArrayList<Boolean>()).getClass());\n this.setValoreVuoto(null);\n }", "public PresentacionPartido(Object partido) {\n initComponents(partido);\n }", "Kerucut(){\r\n Tabung tab = new Tabung();\r\n tinggi=tab.getTinggi();\r\n }", "private void remplirFabricantData() {\n\t}", "public Nodo1Controlador() {\n this.reinit();\n\n }", "ObjectRealization createObjectRealization();", "private void setupSpalteAnzMitarbeiter() {\r\n\t\t// legt fest, welches Attribut von Arbeitspaket in dieser Spalte angezeigt wird\r\n\t\tspalteAnzMitarbeiter.setCellValueFactory(new PropertyValueFactory<>(\"mitarbeiteranzahl\"));\r\n\r\n\t\t// lässt die Zelle mit Hilfe der Klasse EditCell bei Tastatureingabe bearbeitbar\r\n\t\t// machen\r\n\t\tspalteAnzMitarbeiter.setCellFactory(\r\n\t\t\t\tEditCell.<ArbeitspaketTableData, Integer>forTableColumn(new MyIntegerStringConverter()));\r\n\r\n\t\t// überschreibt den alten Attributwert mit der User-Eingabe\r\n\t\tspalteAnzMitarbeiter.setOnEditCommit(event -> {\r\n\t\t\tfinal Integer value = event.getNewValue() != null ? event.getNewValue() : event.getOldValue();\r\n\t\t\tevent.getTableView().getItems().get(event.getTablePosition().getRow()).setMitarbeiteranzahl(value);\r\n\t\t\ttabelle.refresh();\r\n\t\t});\r\n\t}", "protected Asignatura()\r\n\t{}", "private void nuevoJuego() { \n\n objJuegoTresEnRaya = new JuegoTresEnRaya();\n objJuegoTresEnRaya.addObserver(this);\n objJuegoTresEnRaya.setQuienComienza(JuegoTresEnRaya.JUGADOR);\n objJuegoTresEnRaya.setQuienJuega(JuegoTresEnRaya.JUGADOR);\n \n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "Reserva Obtener();", "@Override\n public void load() {\n }", "@Override\n public boolean add(T1 o) //Modify to take in Authenication ID for future logging function\n {\n if(super.add(o)) {\n comboBoxModelSelectedItem = o;\n modelListenersNotify();\n ViewerController.saveModel();\n return true;\n }\n return false;\n }", "private FournisseurArboTraficService() {\r\n\t\tsuper();\r\n\t}", "@Override\n public TransformableObject applyTo(TransformableObject object){\n return object;\n }", "public Karte ladeKarte(ArrayList<D> daten){\n\t\tif (frontend.getKarte()==null){\n\t\t\tfrontend.newKarteArrayList(); //verändert\n\t\t}\n\t\t\n\t\tkarte = new Karte(this,daten); // Karte wird gesetzt\n\t\t\n\t\t\n\t\tfrontend.addKarte(karte);\n\t\tzeichneFelder(daten);\n\t\tscrollerKarte=new JScrollPane(karte,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);\n\t\tpanel.add(scrollerKarte,BorderLayout.CENTER);\n\t\tpanel.revalidate();\n\t\tpanel.repaint();\n\t\t\n\t\treturn karte; //verändert\n\t}", "public creacionempresa() {\n initComponents();\n mostrardatos();\n }", "private void remplirPrestaraireData() {\n\t}", "public void nouveau(){\r\n try {\r\n viewEtudiantInscripEcheance = new ViewEtudiantInscriptionEcheance();\r\n echeance_etudiant = new EcoEcheanceEtudiant(); \r\n \r\n } catch (Exception e) {\r\n System.err.println(\"Erreur capturée : \"+e);\r\n }\r\n }", "protected AusschreibungMapper() {\r\n\t}", "public void initForAddNew() {\r\n\r\n\t}", "ParqueaderoEntidad agregar(ParqueaderoEntidad parqueadero);", "public Kullanici() {}", "public TelaProduto() {\n initComponents();\n \n carregaProdutos();\n }", "Obligacion createObligacion();", "@Override\n \t\t\t\tpublic void doNew() {\n \n \t\t\t\t}", "@Override\n protected Serializable getContentObject() {\n return result;\n }", "public void inicia() { \r\n\t\tventana=new VentanaMuestraServicios(this);\r\n\t\tventana.abre();\r\n\t}", "public void testSetObj() {\n System.out.println(\"setObj\");\n Object obj = null;\n int modo= 0;\n ObjectTempSwapWizard instance = new ObjectTempSwapWizard(modo);\n instance.setObj(obj);\n }", "public TrazAqui(){\n this.utilizadores = new TreeMap<>();\n this.encomendas = new TreeMap<>();\n this.utilizador = null;\n }", "protected void agregarUbicacion(){\n\n\n\n }", "@Override\n\tpublic boolean create(Eleve o) {\n\t\tmap.put(o.getId(),o);\n\t\treturn true;\n\t}", "public void recupera() {\n Cliente clienteActual;\n clienteActual=clienteDAO.buscaId(c.getId());\n if (clienteActual!=null) {\n c=clienteActual;\n } else {\n c=new Cliente();\n }\n }", "public GestionarRegistro() {\n initComponents();\n this.setLocationRelativeTo(null);\n d = new Donante();\n v = new Validacion();\n a=new Archivos();\n \n // r=new RegistroDonanteApto();\n\n }" ]
[ "0.6090002", "0.60071063", "0.59937936", "0.5989082", "0.59870523", "0.5871796", "0.5763809", "0.5718594", "0.5683764", "0.5670764", "0.5667304", "0.56426936", "0.5639131", "0.56367654", "0.5633479", "0.5607375", "0.5601829", "0.55969197", "0.55959207", "0.55942637", "0.55905896", "0.55904734", "0.5588275", "0.55862015", "0.5585092", "0.5580673", "0.5580214", "0.5567088", "0.5566081", "0.5562629", "0.5561647", "0.5555607", "0.55508894", "0.55298537", "0.551661", "0.5508901", "0.55055326", "0.55019414", "0.5501851", "0.5494664", "0.5485354", "0.5482673", "0.5480112", "0.54777724", "0.5476639", "0.54712176", "0.5462497", "0.5454265", "0.54511774", "0.5443734", "0.54370403", "0.5431349", "0.5431288", "0.5419596", "0.54192674", "0.5412911", "0.5410686", "0.53971386", "0.53932625", "0.53884274", "0.5375282", "0.53725845", "0.53673583", "0.53667784", "0.5360866", "0.5360071", "0.53584754", "0.5358475", "0.5357548", "0.5353143", "0.53503865", "0.5345959", "0.5343367", "0.5341485", "0.5339119", "0.5337716", "0.5337533", "0.5337026", "0.5334828", "0.533481", "0.53315973", "0.53284717", "0.53247684", "0.5324171", "0.5322906", "0.5318742", "0.53161293", "0.53156704", "0.5312176", "0.53116024", "0.5311516", "0.5310142", "0.5307683", "0.5306187", "0.5298286", "0.52981466", "0.5298043", "0.5293503", "0.5293328", "0.5285592", "0.52828044" ]
0.0
-1
Gibt die aktuelle Raumnummre zurueck
public int getRoom(){ return room; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void remplirPrestaraireData() {\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "private void remplirMaterielData() {\n\t}", "public void verarbeite() {\n\t\t\r\n\t}", "@Override\n\tpublic void recreo() {\n\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "public KTableModelScheduleChange(ResultSet rs) {\n ResultSets=new ArrayList<String[]>(); \n try{\n while(rs.next()){\n String[] row={\n rs.getString(\"short_name\"),rs.getString(\"name\"),rs.getString(\"surname\"), rs.getString(\"hours_today\"), rs.getString(\"hours_count_s\"), rs.getString(\"hours_count_t\"), rs.getString(\"hours_t\"), rs.getString(\"debt\")\n };\n String[] row1={\n rs.getString(\"short_name\"),rs.getString(\"name\"),rs.getString(\"surname\"), rs.getString(\"hours_today\"), rs.getString(\"hours_count_s\"), rs.getString(\"hours_count_d\"), rs.getString(\"hours_d\"), rs.getString(\"debt\")\n };\n if (MainForm_v2.week==1){\n ResultSets.add(row);}\n else {\n ResultSets.add(row1);}\n }}\n catch(Exception e){\n e.printStackTrace(MainForm_v2.er);\n System.out.println(\"Ошибка в получение информации из базы данных для таблицы Расписание Замен\");\n }\n }", "@Override\r\n\tpublic void getRegimeAlimentaire() {\n\t\t\r\n\t}", "public void rodar(){\n\t\tmeuConjuntoDePneus.rodar();\r\n\t}", "@Override\n public void crearReloj() {\n Manecilla seg;\n seg = new Manecilla(40,60,0,1,null);\n cronometro = new Reloj(seg);\n }", "protected void aktualisieren() {\r\n\r\n\t}", "public ComprasRealizadas() {\n initComponents();\n tablaCompraDefault = (DefaultTableModel) tablaCompra.getModel();//conveirto la tabla\n tablaComprasDefault = (DefaultTableModel) tablaCompras.getModel();\n }", "public void trenneVerbindung();", "private void reloadPlanTable() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void loeschen() {\r\n//\t\tsuper.leuchterAbmelden(this);\r\n\t\tsuper.loeschen();\r\n\t}", "@Override\n\tpublic void rotiereNachRechts() {\n\n\t}", "private void setupSpalteAnzMitarbeiter() {\r\n\t\t// legt fest, welches Attribut von Arbeitspaket in dieser Spalte angezeigt wird\r\n\t\tspalteAnzMitarbeiter.setCellValueFactory(new PropertyValueFactory<>(\"mitarbeiteranzahl\"));\r\n\r\n\t\t// lässt die Zelle mit Hilfe der Klasse EditCell bei Tastatureingabe bearbeitbar\r\n\t\t// machen\r\n\t\tspalteAnzMitarbeiter.setCellFactory(\r\n\t\t\t\tEditCell.<ArbeitspaketTableData, Integer>forTableColumn(new MyIntegerStringConverter()));\r\n\r\n\t\t// überschreibt den alten Attributwert mit der User-Eingabe\r\n\t\tspalteAnzMitarbeiter.setOnEditCommit(event -> {\r\n\t\t\tfinal Integer value = event.getNewValue() != null ? event.getNewValue() : event.getOldValue();\r\n\t\t\tevent.getTableView().getItems().get(event.getTablePosition().getRow()).setMitarbeiteranzahl(value);\r\n\t\t\ttabelle.refresh();\r\n\t\t});\r\n\t}", "private void remplirFabricantData() {\n\t}", "public void limpiar() {\n\t//txtBuscar.setText(\"\");\n\n\t// codTemporal.setText(\"\");\n\thabilita(true, false, false, false, false, true, false, true, true);\n }", "Persoana(Tools t, int cr) { ob = null; ti = t; currentrowi = cr; }", "public void setRow(int r) {\n\t\tthis.row = r;\n\t}", "public rent() {\n initComponents();\n viewRentTable();\n sError.setVisible(false);\n }", "private void srediTabelu() {\n\n mtu = (ModelTabeleUlica) jtblUlica.getModel();\n ArrayList<Ulica> ulice = kontrolor.Kontroler.getInstanca().vratiUlice();\n mtu.setLista(ulice);\n\n }", "public TelaMaterialReparo() {\n initComponents();\n readJTable();\n }", "@Override\n\tpublic void r() {\n\n\t}", "private void wechsleRaum(Befehl befehl)\n {\n if(!befehl.hatZweitesWort()) {\n \t// Gibt es kein zweites Wort, wissen wir nicht, wohin...\n System.out.println(\"Wohin m�chten Sie gehen?\");\n return;\n }else if(spieler.getAktuellerZustand().toString().equals(\"Bewegungsunf�hig\")) {\n \tSystem.out.println(\"Sie sind bewegungsunf�hig und m�ssen sich heilen bevor sie weiter k�nnen\");\n \treturn;\n }\n\n String richtung = befehl.gibZweitesWort();\n\n // Wir versuchen den Raum zu verlassen.\n Raum naechsterRaum = spieler.getAktuellerRaum().getAusgang(richtung);\n\n if (naechsterRaum == null) {\n System.out.println(\"Dort ist keine T�r!\");\n }\n else {\n \tif(naechsterRaum.getClass().getName().equals(\"Level.Teleporter\")) {\n \t\tspieler.setAktuellerRaum(landkarte.getZufaelligenRaum());\n \t\tSystem.out.println(\"Du wurdest Teleportiert\");\n \t}else {\n \t\t spieler.setAktuellerRaum(naechsterRaum);\n \t}\n\n \trauminfoAusgeben();\n }\n }", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "private RowData() {\n initFields();\n }", "public abstract String getCurrentRow();", "public RekapKamar() {\n Koneksi DB = new Koneksi();\n DB.koneksi();\n con = DB.conn;\n stat = DB.stmn;\n initComponents();\n loadTabel();\n }", "private void remplirUtiliseData() {\n\t}", "private void updateResorce() {\n }", "public void setId_trimestre(int id_trimestre) {this.id_trimestre = id_trimestre;}", "public int getR_id() { return r_id; }", "protected void aktualisierenFirst() {\r\n\t\taktualisieren();\r\n\t\tfarbeSetzen(\"Weiss\");\r\n\t}", "public static void resetTableRam(){\r\n singleton.dtm = new DefaultTableModel();\r\n singleton.dtm.setColumnIdentifiers(ram);\r\n home_RegisterUser.table.setModel(singleton.dtm);\r\n \r\n }", "private void reinit() {\n \tthis.showRowCount = false;\n this.tableCount = 0;\n this.nullString = \"\";\n\t}", "public AbstrJoueurModel retourneAbstrJoueurModel(){ return ajm;}", "public hesapekrani() {\n initComponents();\n getedits();\n \n \n }", "public Raportet(String roli) {\n this.roli = roli;\n\n initComponents();\n validorolin();\n\n//mbushi kombot me shenime nga DB \n try {\n lidhja = new LidhjaMeDb();\n mbushekombon(lidhja.aktivitetet(), \"aktiviteti\", kmbaktiviteti);\n mbushekombon(lidhja.komunat(), \"komuna\", kmbkomunat);\n mbushekombon(lidhja.pergjigjjet(), \"pergjigjja\", kmbpergjigjja);\n \n LidhjaMeDb.mbyllelidhjen();\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n }", "public void reiniciar() {\n // TODO implement here\n }", "public void setRows () {\n\t\t\n\t}", "Rey(){\r\n \r\n color_rey=Color.BLANCO;\r\n posicion_rey.fila=1;\r\n posicion_rey.columna='e';\r\n \r\n }", "protected void InitValuables() {\n\t\tsuper.InitValuables();\n\t\t\n\t\tCursurIndex = 1;\n\t\t\n\t}", "public IspisRadionica(Radionica r) {\r\n\t\tnaziv = r.getNaziv();\r\n\t\tdatum = java.sql.Date.valueOf(r.getDatum());\r\n\t\tid = r.getId();\r\n\t}", "protected final void reduireTempsRestant() {\n arme.reduireTempsRestant();\n }", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tprotected void init() {\n\t\tupdateValues();\r\n\t}", "public void reemplazarRutina(RutinaG rutina, String id) {\n\n ContentValues registro = prepararRegistroRutina(rutina);\n bdHelperRutinas.updateTabla(DataBaseManagerRutinas.TABLE_NAME, registro, DataBaseManagerRutinas.CN_ID + \" ='\" + id + \"'\");\n\n }", "@Override\n public void alRechazarOperacion() {\n }", "public void loescheEintrag() {\n\t\tzahl = 0;\n\t\tistEbenenStart = false;\n\t}", "private void updateRegisterTableTomasulo() {\n\t\tint temp_it_index = 0; // tempory index tracker\n\n\t\t// Get the Integer Registers\n\t\tMap<String, String> temp_int_reg = registersTomasulo.getIntegerRegisters();\n\t\t// Get the FP Registers\n\t\tMap<String, String> temp_fp_reg = registersTomasulo.getFPRegisters();\n\n\t\t// add rows if needed\n\t\twhile ((temp_int_reg.size() > RegisterModelTomasulo.getRowCount())\n\t\t\t\t|| (temp_fp_reg.size() > RegisterModelTomasulo.getRowCount())) {\n\t\t\tRegisterModelTomasulo.addRow(new Object[] { \" \", \" \", \" \", \" \" });\n\t\t}\n\n\t\t// Update Integer Table Values\n\t\tfor (Map.Entry<String, String> int_entry : temp_int_reg.entrySet()) {\n\t\t\tRegisterModelTomasulo.setValueAt(int_entry.getKey(), temp_it_index, 2);\n\t\t\tRegisterModelTomasulo.setValueAt(int_entry.getValue(), temp_it_index, 3);\n\n\t\t\ttemp_it_index++;\n\t\t}\n\n\t\ttemp_it_index = 0;\n\t\t// Update Integer Table Values\n\t\tfor (Map.Entry<String, String> fp_entry : temp_fp_reg.entrySet()) {\n\t\t\tRegisterModelTomasulo.setValueAt(fp_entry.getKey(), temp_it_index, 0);\n\t\t\tRegisterModelTomasulo.setValueAt(fp_entry.getValue(), temp_it_index, 1);\n\n\t\t\ttemp_it_index++;\n\t\t}\n\t}", "private void reinit() {\n this.nodo1Sel = new Nodo1();\n this.objNodo1 = new Nodo1();\n this.objNodo1Buscar = new Nodo1();\n this.lstNodo1 = new ArrayList<Nodo1>();\n this.lstNodoB = new ArrayList<Nodo1>();\n this.lstNodoBuscar = new ArrayList<Nodo1>();\n this.estadoSel = -1;\n this.estadoSel1 = -1;\n this.comando1 = \"rman\";\n this.comando2 = \"rmaf\";\n this.comando5 = \"uuyy\";\n //this.cargarNodo1();\n this.obtenerNodo1DadoFecha();\n this.graficar();\n\n //fecha1 = sdf.format(date1);\n }", "public void setRes(){\r\n \r\n }", "@Override\n public void reiniciarRodada(int lugar, int quantidadePalitosRestantes) {\n LugarModelo lugarModelo = listaLugares.get(lugar - 1);\n lugarModelo.getNumeroPalpite().setVisible(false);\n Platform.runLater(() -> lugarModelo.getMao().setText(\"\"));\n lugarModelo.getMao().getGraphic().getStyleClass().remove(\"mao-fechada\");\n lugarModelo.getMao().getGraphic().getStyleClass().add(\"mao-aberta\");\n lugarModelo.getQuantidadePalitosRestantes().setText(\"Palitos Restante: \" + quantidadePalitosRestantes);\n }", "private void getLactanciasMaternas() {\n mLactanciasMaternas = estudioAdapter.getListaLactanciaMaternasSinEnviar();\n //ca.close();\n }", "public void reset() {\n\t\t\twhile (requisitionItemGrid.getColumnCount() > 0)\n\t\t\t\trequisitionItemGrid.removeColumn(0);\n\n\t\t\tbmoRequisitionType = (BmoRequisitionType)requisitionTypeListBox.getSelectedBmObject();\n\t\t\tif (bmoRequisitionType == null)\n\t\t\t\tbmoRequisitionType = bmoRequisition.getBmoRequisitionType();\n\n\t\t\t// Crea las columnas\n\t\t\tsetColumns();\n\n\t\t\tupdateAmount(id);\n\t\t\tdata.list();\n\t\t\trequisitionItemGrid.redraw();\n\t\t}", "public void changerJoueur() {\r\n\t\t\r\n\t}", "private void reloadShoppingCarTable() {\n\t\t\r\n\t}", "public Trimestre(){\n id_trimestre=0;\n numero=0;\n debut_trimestre= new Date(2012,8,12);\n fin_trimestre=new Date(2013,1,13);\n id_anneeScolaire=0;\n }", "public void loadRutinas() {\n\t\trutinas = rutBuss.getRutinas();\n\t}", "public Drakkar(){\r\n\t\tanguilas=m;\r\n\t}", "public void doButtonRauf() {\n\t\tint sel = this.anzeige.getSelectedRow();\n\t\tif (sel > 0) {\n\t\t\tObject o = this.tabellenspalten.get(sel);\n\t\t\tthis.tabellenspalten.remove(sel);\n\t\t\tthis.tabellenspalten.add(sel - 1, o);\n\t\t\tthis.doRepaint();\n\t\t\tthis.anzeige.setRowSelectionInterval(sel - 1, sel - 1);\n\t\t}\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n public void initialiseUiRows() {\n }", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "public void reloadTable() {\n\n this.removeAllData();// borramos toda la data \n for (int i = 0; i < (list.size()); i++) { // este for va de la primera casilla hast ael largo del arreglo \n Balanza object = list.get(i);\n this.AddtoTable(object);\n }\n\n }", "private EstabelecimentoTable() {\n\t\t\t}", "public void revolver() {\n this.lista = Lista.escojerAleatorio(this, this.size()).lista;\n }", "public boolean setRacun(Racun racun){ // info da li je racun postavljen uspesno\n if(this.racun!=null){\n System.out.println(\"za osobu \"+this.ime+ \" je vec registrovan racun.\");\n return false;\n }\n this.racun=racun; //this->return\n return true;\n }", "public void steuern() {\n\t\teinlesenUndInitialisieren();\n\t\tausgabe();\n\t}", "@Override\n\tprotected void interr() {\n\t}", "private void dataBinding(Registre maListe) {\n jtListerStatus.removeAll();\n jtListerStatus.setModel(new ResultSetTableModel(maListe.getMembres()));\n }", "@Override\n\tpublic void refresh() {\n\t\t\n\t}", "@Override\n\tpublic void refresh() {\n\t\t\n\t}", "protected RespostaFormularioPreenchido() {\n // for ORM\n }", "public Regras()\n { \n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\n super(1100, 457, 1); \n prepare();\n if(MenuPrincipal.mundo == 1) //se o mundo anterior tiver sido MenuPrincipal\n som1 = MenuPrincipal.som2; //a música ficar com a mesma opção do mundo Menu Principal (a tocar ou sem som)}\n else if(MenuPrincipal.mundo == 3) //se o mundo anterior tiver sido MundoJogo\n som1 = MundoJogo.som3; //a música ficar com a mesma opção do mundo MundoJogo (a tocar ou sem som)\n imgsom2 = MenuPrincipal.imgsom1; //atualiza a imagem da coluna para ser igual à do mundo MenuPrincipal (mute/unmute)\n MenuPrincipal.mundo = 2; //atualizar 'mundo' para indicar que o mundo atual é o mundo Regras\n }", "public void verificarRastro() {\n verificarRastroFormulaProceso();\n index = -1;\n }", "public Saida() {\n initComponents();\n defaults();\n preencherTabela();\n \n }", "@Override\n public T_ROW_ELEMENT_PM getCurrentRowPm() {\n return null;\n }", "@Override\n protected void getExras() {\n }", "protected void pretragaGledalac() {\n\t\tString Gledalac=tfPretraga.getText();\r\n\r\n\t\tObject[]redovi=new Object[9];\r\n\t\tdtm.setRowCount(0);\r\n\t\t\r\n\t\tfor(Rezervacije r:Kontroler.getInstanca().vratiRezervacije()) {\r\n\t\t\tif(r.getImePrezime().toLowerCase().contains(Gledalac.toLowerCase())) {\r\n\t\t\t\r\n\t\t\t\tredovi[0]=r.getID_Rez();\r\n\t\t\t\tredovi[1]=r.getImePrezime();\r\n\t\t\t\tredovi[2]=r.getImePozorista();\r\n\t\t\t\tredovi[3]=r.getNazivPredstave();\r\n\t\t\t\tredovi[4]=r.getDatumIzvodjenja();\r\n\t\t\t\tredovi[5]=r.getVremeIzvodjenja();\r\n\t\t\t\tredovi[6]=r.getScenaIzvodjenja();\r\n\t\t\t\tredovi[7]=r.getBrRezUl();\r\n\t\t\t\tredovi[8]=r.getCenaUlaznica();\r\n\t\t\t\tdtm.addRow(redovi);\r\n\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}", "@Override\n\tpublic void refresh() {\n\n\t}", "public void newRow();", "public void reset() {\r\n this.setTurnoRojo(true);\r\n for (int i = 0; i < tablero.length - 1; i++) {\r\n for (int j = 0; j < tablero[0].length - 1; j++) {\r\n tablero[i][j] = fichaVacia;\r\n }\r\n }\r\n\r\n for (int i = 0; i < tablero[0].length; i++) {\r\n tablero[0][i] = fichaBorde;\r\n tablero[9][i] = fichaBorde;\r\n }\r\n for (int i = 0; i < tablero.length; i++) {\r\n tablero[i][0] = fichaBorde;\r\n tablero[i][10] = fichaBorde;\r\n }\r\n\r\n for (int i = 1; i < 9; i++) {\r\n tablero[1][i + 1] = new Ficha(\"Azul\", i);\r\n tablero[8][9 - i] = new Ficha(\"Rojo\", i);\r\n\r\n }\r\n }", "public void verwerkRijVoorKassa() {\r\n while(kassarij.erIsEenRij()) {\r\n Persoon staatBijKassa = kassarij.eerstePersoonInRij();\r\n kassa.rekenAf(staatBijKassa);\r\n }\r\n }", "public void initialDatabaseAutomatikFunctionInformation () {\n Calendar calendar = Calendar.getInstance();\n Integer currentYear = calendar.get(Calendar.YEAR);\n Integer month = calendar.get(Calendar.MONTH); //Januar wird als \"0\" übergeben.\n Integer currentMonth = month + 1;\n\n String initialDateName = \"AutoDBFunction\" + currentYear.toString() + currentMonth.toString();\n\n //erstelle Speicherdatei und anlegen von Eintrag\n SharedPreferences sharedPreferences = getSharedPreferences(\"SP_DBFunction\", 0);\n SharedPreferences.Editor editor = sharedPreferences.edit(); //Editorklasse initialisieren (um zu schreiben)\n editor.putBoolean(initialDateName, true); //Inhalt übergeben (Key, Value)\n editor.commit();\n }", "public void cambiarRonda() {\n\t\ttry {\r\n\t\t\tjuego.cambiarRonda();\r\n\t\t} catch (RemoteException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "long lastAutomaticRefresh();", "public T getRaiz(){\n\t\treturn datoRaiz;\n\t}", "@Override\n\tpublic void trabajar() {\n\n\t}", "public ExibeTarefas() {\n initComponents();\n DefaultTableModel modelo = (DefaultTableModel) jTable1.getModel();\n jTable1.setRowSorter(new TableRowSorter(modelo));\n readJTable();\n readItemBox();\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "private static void FirstUmpieRevire() {\n\t\tSystem.out.println(\" Umpier Reviews the Score Board\");\n\t\t \n\t\t\n\t}", "public void updateTable() {\n tabelModel.setRowCount(0);\n Link current = result.first;\n for (int i = 0; current != null; i++) {\n Object[] row = {current.getMasjid(), current.getAlamat()};\n tabelModel.addRow(row);\n current = current.next;\n }\n }", "private void limpiar2() {\n txtValorRel.setText(null);\n txtImptoRel.setText(null);\n txtNotariaRel.setText(null);\n txtReperRel.setText(null);\n jcFechaConstitucion.setCalendar(null);\n txtRutRelac.setText(null);\n// txtFolioRelac.setText(null);\n txtApellMatRelac.setText(null);\n txtApellPatRel.setText(null);\n txtNombreRelac.setText(null);\n txtDescripcionRelac.setText(null);\n txtOtroComentarioRelac.setText(null);\n btnGuardarRelac.setVisible(false);\n }", "public MaschinenVerwaltung() {\r\n setMaschinenListe();\r\n setEinKopfMaschinenListe();\r\n setZweiBisAchtKopfMaschine();\r\n setZehnUndMehrKopfMaschine();\r\n }", "public void reiniciar() {\r\n\t\tauxiliar = primeira;//auxiliar recebe a primeira\r\n\t}", "public RendezVous() {\r\n this.no_rdv = 0;\r\n this.date_arr = \"\";\r\n this.date_dep = \"\";\r\n this.motif = \"\";\r\n\r\n }", "@Override\n\t\t\t\tpublic void allRowsChanged() {\n\n\t\t\t\t}", "private void populateMatrixCursorRow(int row, Cursor cursor) {\n cursor.moveToFirst();\n String name = cursor.getString(QUERY_DISPLAY_NAME_INDEX);\n int type = cursor.getInt(QUERY_LABEL_INDEX);\n String label = \"\";\n if (type == 0) {\n label = cursor.getString(QUERY_CUSTOM_LABEL_INDEX);\n } else {\n label = (String) CommonDataKinds.Phone.getTypeLabel(getResources(), type, null);\n }\n String number = cursor.getString(QUERY_NUMBER_INDEX);\n long photoId = cursor.getLong(QUERY_PHOTO_ID_INDEX);\n int simId = -1;\n if (!cursor.isNull(QUERY_INDICATE_PHONE_SIM_INDEX)) {\n simId = cursor.getInt(QUERY_INDICATE_PHONE_SIM_INDEX);\n }\n Log.i(TAG, \"populateMatrixCursorRow(), name = \" + name + \", label = \" + label\n + \", number = \" + number + \" photoId:\" + photoId + \"simId: \" + simId);\n\t\t\n if(simId > 0){\n photoId = getSimType(simId);\n }\n\t\t\n if (TextUtils.isEmpty(number)) {\n populateMatrixCursorEmpty(this, mMatrixCursor, row, row + 1);\n mPrefNumState[row] = mPref.getString(String.valueOf(row), \"\");\n mPrefMarkState[row] = mPref.getInt(String.valueOf(offset(row)), -1);\n return;\n }\n mMatrixCursor.addRow(new String[] {\n String.valueOf(row + 1), name, label, \n //PhoneNumberUtils.formatNumber(number),\n number,\n String.valueOf(photoId), String.valueOf(simId)\n });\n }" ]
[ "0.6395082", "0.630426", "0.6281887", "0.61840427", "0.6182822", "0.5930717", "0.58458453", "0.5840765", "0.581775", "0.5763571", "0.57482165", "0.57457876", "0.5743309", "0.57257175", "0.57200366", "0.5704247", "0.5697638", "0.56918055", "0.5680945", "0.56718993", "0.56266767", "0.5619039", "0.5613138", "0.5610697", "0.5605217", "0.5600715", "0.5597303", "0.5579024", "0.5570235", "0.556623", "0.5561028", "0.55444217", "0.55443996", "0.5533028", "0.5530832", "0.5523895", "0.5514102", "0.5490195", "0.5480082", "0.54730636", "0.5449059", "0.544629", "0.54424745", "0.54416525", "0.54367363", "0.54355276", "0.5431978", "0.54289854", "0.5424181", "0.5419765", "0.54038626", "0.53993905", "0.5394395", "0.5391662", "0.5385846", "0.53783315", "0.53771234", "0.53759456", "0.5374722", "0.53546554", "0.5348431", "0.5345236", "0.5340851", "0.5339503", "0.53357524", "0.5329476", "0.53248376", "0.5324388", "0.53224283", "0.5314211", "0.5311388", "0.53081775", "0.5306315", "0.5305111", "0.5305111", "0.53049344", "0.5301981", "0.5301027", "0.52992195", "0.5298451", "0.52825516", "0.5282016", "0.52775353", "0.52742743", "0.5272002", "0.5269296", "0.5268875", "0.5265797", "0.5264739", "0.52636826", "0.526299", "0.52626157", "0.52611834", "0.52591664", "0.5259123", "0.525873", "0.52564883", "0.52517325", "0.52515393", "0.5251162", "0.5246963" ]
0.0
-1
TODO Autogenerated method stub
@Override public Object getItem(int position) { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public long getItemId(int position) { return 0; }
{ "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
Build the ProcInfo data structure for each processor.
protected boolean init() { this.mProcInfo = new ProcInfo(); this.mProcInfo.ml = this.mMediaLocator; try { System.err.println("- Create processor for: " + this.mMediaLocator); this.mProcInfo.p = Manager.createProcessor(this.mMediaLocator); } catch (Exception e) { System.err.println("Yikes! Cannot create a processor from the given url: " + e); return false; } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public IngestInfo(StreamInput in) throws IOException {\n processors = new TreeSet<>();\n final int size = in.readVInt();\n for (int i = 0; i < size; i++) {\n processors.add(new ProcessorInfo(in));\n }\n }", "public Map<Integer, AwareProcessBaseInfo> getAllProcessBaseInfo() {\n ArrayMap<Integer, AwareProcessBaseInfo> list = new ArrayMap();\n synchronized (this.mPidsSelfLocked) {\n int i = SMART_TRIM_ADJ_LIMIT;\n while (true) {\n if (i < this.mPidsSelfLocked.size()) {\n ProcessRecord p = (ProcessRecord) this.mPidsSelfLocked.valueAt(i);\n AwareProcessBaseInfo baseInfo = new AwareProcessBaseInfo();\n baseInfo.mCurAdj = p.curAdj;\n baseInfo.mForegroundActivities = p.foregroundActivities;\n baseInfo.mAdjType = p.adjType;\n baseInfo.mHasShownUi = p.hasShownUi;\n baseInfo.mUid = p.uid;\n list.put(Integer.valueOf(p.pid), baseInfo);\n i += ROG_CHANGE_EVENT_SWITCH;\n }\n }\n }\n return list;\n }", "protected abstract SharedMemory make_infos();", "private void collectHostInformation() {\n java.lang.management.RuntimeMXBean rtMXB =\n java.lang.management.ManagementFactory.getRuntimeMXBean();\n final String jvmName = rtMXB.getName();\n try {\n metadata_.pid = Integer.parseInt(jvmName.split(\"@\")[0]);\n } catch (NumberFormatException e) {\n metadata_.pid = null;\n }\n\n metadata_.currentDir = System.getProperty(\"user.dir\");\n }", "private static Builder resultToProcessBuilderMapper(ResultSet resultSet) throws SQLException {\n\t\tPlatformProcess.Builder processList = PlatformProcess.newBuilder();\n\t\twhile (resultSet.next()) {\n\t\t\tPlatformProcessDetails processDetails = PlatformProcessDetails.newBuilder()\n\t\t\t\t\t.setProcessId(resultSet.getString(Constants.COLUMN_PROCESS_ID))\n\t\t\t\t\t.setTitle(resultSet.getString(\"title\")).setIsActive(resultSet.getBoolean(\"is_active\"))\n\t\t\t\t\t.setModified(resultSet.getInt(\"is_modified\")).setUpdatedOn(resultSet.getString(\"updated_on\"))\n\t\t\t\t\t.build();\n\t\t\tprocessList.addPlatformProcessDetails(processDetails);\n\t\t}\n\t\treturn processList;\n\t}", "public Properties getProcessorInfo()\n {\n Properties p = TraxWrapperUtils.getTraxInfo();\n p.put(\"traxwrapper.method\", \"systemId3\");\n p.put(\"traxwrapper.desc\", getDescription());\n return p;\n }", "public Object doProcess() {\n List<Result> retv = new ArrayList<Result>();\n try {\n current_time = NTPDate.currentTimeMillis();\n current_time_nano = Utils.nanoNow();\n\n try {\n currentProcs = ProcFSUtil.getCurrentProcsHash();\n } catch (Throwable t) {\n if (logger.isLoggable(Level.FINER)) {\n logger.log(Level.FINER, \" [ myMon ] ProcFSUtil.getCurrentProcsHash exc\", t);\n }\n }\n final Result result = getResult();\n if(result != null) {\n result.addSet(\"Max Memory\", Runtime.getRuntime().maxMemory() / MEGABYTE_FACTOR);\n result.addSet(\"Memory\", Runtime.getRuntime().totalMemory() / MEGABYTE_FACTOR);\n result.addSet(\"Free Memory\", Runtime.getRuntime().freeMemory() / MEGABYTE_FACTOR);\n retv.add(result);\n }\n\n Result r = fillMLCPUTimeStats();\n if (r != null)\n retv.add(r);\n\n r = fillParamStats();\n if (r != null)\n retv.add(r);\n\n r = fillProcsStats();\n if (r != null)\n retv.add(r);\n\n if (currentProcs != null && currentProcs.size() > 0) {\n prevProcs = currentProcs;\n }\n\n r = fillPMSStats();\n if (r != null)\n retv.add(r);\n\n r = fillMLLUSHelperStats();\n if (r != null)\n retv.add(r);\n\n r = fillPWStats();\n if (r != null)\n retv.add(r);\n\n r = fillTCWStats();\n if (r != null)\n retv.add(r);\n\n if (IS_MAC) {\n r = fillFromMAC();\n if (r != null)\n retv.add(r);\n }\n } catch (Throwable t) {\n if (logger.isLoggable(Level.FINER)) {\n logger.log(Level.FINER, \"[ myMon ] [ HANDLED ] got ex main loop ... \", t);\n }\n return null;\n } finally {\n last_time_nano = current_time_nano;\n }\n\n currentProcs = null;\n if (logger.isLoggable(Level.FINEST)) {\n logger.log(Level.FINEST, \" [ myMon ] Returning ... \\n\" + retv);\n }\n return retv;\n }", "public void getJobMixAndMakeProcesses(){\n if(jobType == 1){\n //type 1: there is only one process, with A=1 and B=C=0\n //since there is only one process, no the currentWord is 111%processSize\n processes.add(new process(1, 1, 0, 0, 111 % processSize));\n\n }else if(jobType ==2){\n //type 2: there are four processes, each with A=1, B=C=0\n for(int i=1; i<5; i++){\n processes.add(new process(i, 1, 0, 0, (111*i) % processSize));\n }\n\n\n }else if(jobType ==3){\n //type 3: there are four processes, each with A=B=C=0\n for(int i=1; i<5; i++){\n processes.add(new process(i,0, 0, 0, (111*i) % processSize));\n }\n\n }else{\n System.out.println(\"job type 4!!\");\n //process 1 with A=0.75, B=0.25, C=0\n processes.add(new process(1, 0.75, 0.25, 0, (111) % processSize));\n //process 2 with A=0.75, B= 0, C=0.25\n processes.add(new process(2, 0.75, 0, 0.25, (111*2) % processSize));\n //process 3 with A=0.75, B=0.125, C=0.125\n processes.add(new process(3, 0.75, 0.125, 0.125, (111*3) % processSize));\n //process 4 with A=0.5, B=0.125, C=0.125\n processes.add(new process(4, 0.5, 0.125, 0.125, (111*4) % processSize));\n\n }\n\n }", "private static CellProcessor[] getProcessors() {\r\n\t \t final CellProcessor[] processors = new CellProcessor[] {\r\n\t new NotNull(new ParseInt()), // Id\r\n\t new NotNull(), // Catageory\r\n\t new NotNull(), // firstname\r\n\t new NotNull(), //lastname\r\n\t new NotNull(), //gender\r\n\t new NotNull(), //doj\r\n\t new Optional(),\t new Optional(),\r\n\t new Optional(),\t new Optional(),\r\n\t new Optional(),\t new Optional(),\r\n\t new Optional(),\t new Optional(),\r\n\t new Optional(),\t new Optional(),\r\n\t new Optional(),\t new Optional(),\r\n\t new Optional(), new Optional(), new Optional(),\t new Optional()\r\n\t \r\n\t };\r\n\t return processors;\r\n\t }", "private static void JVMInfo() {\n System.out.println(\"Available processors (cores): \" +\n Runtime.getRuntime().availableProcessors());\n\n /* Total amount of free memory available to the JVM */\n System.out.println(\"Free memory (bytes): \" +\n Runtime.getRuntime().freeMemory());\n\n /* This will return Long.MAX_VALUE if there is no preset limit */\n long maxMemory = Runtime.getRuntime().maxMemory();\n /* Maximum amount of memory the JVM will attempt to use */\n System.out.println(\"Maximum memory (bytes): \" +\n (maxMemory == Long.MAX_VALUE ? \"no limit\" : maxMemory));\n\n /* Total memory currently in use by the JVM */\n System.out.println(\"Total memory (bytes): \" +\n Runtime.getRuntime().totalMemory());\n\n }", "private void setupStuff() {\n\t\tm_seenNumbers = new double[featureArray.length][];\n\t\tm_Weights = new double[featureArray.length][];\n\t\tm_NumValues = new int[featureArray.length];\n\t\tm_SumOfWeights = new double[featureArray.length];\n\t\tfeatureTotals = new int[featureArray.length];\n\n\t\tfor (int i = 0; i < featureArray.length; i++) {\n\t\t\tm_NumValues[i] = 0;\n\t\t\tm_seenNumbers[i] = new double[100];\n\t\t\tm_Weights[i] = new double[100];\n\t\t}\n\n\t\t/*\n\t\t * initialize structures for probabilities of each class and of each\n\t\t * feature\n\t\t */\n\t\tclassCounts = new double[MLearner.NUMBER_CLASSES];\n\t\tprobs = new HashMap[MLearner.NUMBER_CLASSES][featureArray.length];\n\t\tRealprobs = new HashMap[MLearner.NUMBER_CLASSES][featureArray.length];\n\t\tfor (int i = 0; i < MLearner.NUMBER_CLASSES; i++) {\n\t\t\tfor (int j = 0; j < featureArray.length; j++) {\n\t\t\t\tif (featureArray[j]) {//only create if we are using that\n\t\t\t\t\t// feature\n\t\t\t\t\tprobs[i][j] = new HashMap();\n\t\t\t\t\tif (EmailInternalConfigurationWindow.isFeatureDiscrete(j)) {\n\t\t\t\t\t\tprobs[i][j].put(\"_default\", new Double(0));\n\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tclassCounts[i] = 0;\n\t\t}\n\n\t}", "public Proc() {\n\t\tpriority = Integer.MIN_VALUE; /*\n\t\t\t\t\t\t\t\t\t * This way new Proc objects will always\n\t\t\t\t\t\t\t\t\t * have a default lowest priority which can\n\t\t\t\t\t\t\t\t\t * be changed later\n\t\t\t\t\t\t\t\t\t */\n\t\tprocID = 0; // Default ID value that will likely be occupied\n\t\theapIndex = -1; // Invalid value for a new Proc, to keep the process from overwriting any used locations\n\t}", "public void initInfoSystem(){\r\n infoSys = new FedInfoSystem();\r\n subscriberList = new ConcurrentHashMap<String, List>();\r\n //singleCptNodes = new ArrayList<String>();\r\n //infoServiceRequest(\"CPT-UPDATE\", null);\r\n //infoServiceRequest(\"REQ-UPDATE\", null);\r\n }", "public void constructHierarchy(){\n\t\t// populate parents for the globally defined param specs\n\t\tfor (ListIterator<ParamSpec> iterator = m_paramSpecs.listIterator(m_paramSpecs.size()); iterator.hasPrevious();) {\n\t\t\tParamSpec ps = iterator.previous();\n\t\t\tpopulateParent(ps);\n\t\t}\n\t\t// populate values for the globally defined param specs\n\t\tfor (ListIterator<ParamSpec> iterator = m_paramSpecs.listIterator(m_paramSpecs.size()); iterator.hasPrevious();) {\n\t\t\tParamSpec ps = iterator.previous();\n\t\t\tps.lookupValues();\n\t\t}\n\t\t\n\t\t// populate parents for the command specs and their contained param specs\n\t\tfor (CommandSpec cs : m_commandSpecs){\n\t\t\tpopulateParent(cs);\n\t\t\tif (cs.getParamSpecs() != null){\n\t\t\t\tfor (ParamSpec ps : cs.getParamSpecs()){\n\t\t\t\t\tpopulateParent(ps);\n\t\t\t\t}\n\t\t\t\tfor (ParamSpec ps : cs.getParamSpecs()){\n\t\t\t\t\tps.lookupValues();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public void getSystemInfo(){\n //get system info\n System.out.println(\"System Information\");\n System.out.println(\"------------------\");\n System.out.println(\"Available Processors: \"+Runtime.getRuntime().availableProcessors());\n System.out.println(\"Max Memory to JVM: \"+String.valueOf(Runtime.getRuntime().maxMemory()/1000000)+\" MB\");\n System.out.println(\"------------------\");\n System.out.println();\n }", "static HashSet startDataManagers(Properties config)\n {\n log.info(\"Begin startDataManagers(config)\");\n HashSet processorHash = new HashSet();\n\n String instancesProp = config.getProperty(\"instances\");\n try\n {\n RE r = new RE(\",\\\\s*\");\n String [] instances = r.split(instancesProp);\n if (0 < instances.length)\n {\n for (int i = 0; i < instances.length; i++)\n {\n String instance = instances[i];\n log.info(\"Starting instance: \" + instance);\n\n // String inputUrl = config.getProperty(\"input.\" + instance + \".url\");\n // SsmDataManager processor;\n // if (inputUrl.startsWith(\"dir:\"))\n // processor = new SsmMsgQueueDirProcessor(instance, config);\n // else\n // processor = new SsmMsgQueueDbProcessor(instance, config);\n\n SsmDataManager processor = new SsmDataManager(instance, config);\n\n ProcessorThread pt = new ProcessorThread(processor,\n config.getProperty(\"min.duration.in.millis\"));\n pt.start();\n processorHash.add(pt);\n }\n }\n else\n {\n log.fatal(\"No processor instances found in configuration file\");\n System.exit(BAD_RUN);\n }\n } \n catch (RESyntaxException e)\n {\n log.fatal(\"Bad regexp syntax: \" + e.getMessage());\n System.exit(BAD_RUN);\n }\n \n log.info(\"End startDataManagers(config)\");\n return processorHash;\n }", "public CasProcessor[] getCasProcessors() {\n if (casprocessorList != null) {\n return casprocessorList;\n }\n // If CasProcessors have not yet been classified into AEs and CCs use the\n // initial_cp_list. This list is populated early, right after the CPE\n // descriptor is parsed. It is a list of lists, containing as many\n // instances of each Cas Processor as defined in the CPE descriptor.\n // The number of instances is determined based on number of processing\n // threads and CP property setting that determines if the CP is able\n // to run in parallel.\n if (casProcessorsDeployed == false) {\n CasProcessor[] casprocessorList = new CasProcessor[initial_cp_list.size()];\n ArrayList list;\n for (int i = 0; i < initial_cp_list.size(); i++) {\n list = (ArrayList) initial_cp_list.get(i);\n for (int j = 0; j < list.size(); j++) {\n casprocessorList[i] = (CasProcessor) list.get(j);\n }\n }\n return casprocessorList;\n }\n // CasProcessors have been classified into AEs and CCs, so merge the two lists\n ArrayList aList = new ArrayList();\n Iterator keyIt = analysisEngines.keySet().iterator();\n while (keyIt.hasNext()) {\n String keyName = (String) keyIt.next();\n List kList = (List) analysisEngines.get(keyName);\n if (kList != null) {\n for (int i = 0; i < kList.size(); i++) {\n aList.add(kList.get(i));\n }\n }\n }\n keyIt = consumers.keySet().iterator();\n while (keyIt.hasNext()) {\n String keyName = (String) keyIt.next();\n List kList = (List) consumers.get(keyName);\n if (kList != null) {\n for (int i = 0; i < kList.size(); i++) {\n aList.add(kList.get(i));\n }\n }\n }\n\n if (aList.size() == 0) {\n return null;\n }\n casprocessorList = new CasProcessor[aList.size()];\n for (int j = 0; j < aList.size(); j++) {\n casprocessorList[j] = (CasProcessor) aList.get(j);\n }\n return casprocessorList;\n }", "public ModelInfo generateInfo() { \n ModelInfo info = new ModelInfo();\n \n // Store basic info\n info.author = Author;\n info.citation = Citation;\n info.description = Description;\n info.property = Property;\n info.training = Model.TrainingStats.NumberTested + \" entries: \" + TrainingSet;\n info.notes = Notes;\n info.trainTime = new SimpleDateFormat(\"dMMMyy HH:mm z\").format(Model.getTrainTime());\n \n // Store units or class names\n if (Model instanceof AbstractClassifier) {\n info.classifier = true;\n info.units = \"\";\n AbstractClassifier clfr = (AbstractClassifier) Model;\n boolean started = false;\n for (String name : clfr.getClassNames()) {\n if (started) {\n info.units += \";\";\n }\n info.units += name;\n started = true;\n }\n } else {\n info.classifier = false;\n info.units = Units;\n }\n \n // Store names of models\n info.dataType = Dataset.printDescription(true);\n info.modelType = Model.printDescription(true);\n \n // Store validation performance data\n info.valMethod = Model.getValidationMethod();\n if (Model.isValidated()) {\n info.valScore = Model.ValidationStats.getStatistics();\n }\n \n return info;\n }", "private void setupProcessingPipeline() throws Exception {\n // activeProcessingUnits = 1;\n\n nonThreadedProcessingUnit = new NonThreadedProcessingUnit(this);\n // Assign initial status to all Cas Processors in the processing pipeline\n for (int i = 0; i < annotatorList.size(); i++) {\n ((ProcessingContainer) annotatorList.get(i)).setStatus(Constants.CAS_PROCESSOR_RUNNING);\n }\n\n nonThreadedProcessingUnit.setContainers(annotatorList);\n nonThreadedProcessingUnit.setCasPool(casPool);\n for (int j = 0; j < statusCbL.size(); j++) {\n BaseStatusCallbackListener statCL = (BaseStatusCallbackListener) statusCbL.get(j);\n if (statCL != null) {\n nonThreadedProcessingUnit.addStatusCallbackListener(statCL);\n }\n }\n }", "private ArrayList<String> getProcessorValues() {\n\t\t//System.out.println(\"Reading CPU data\");\n\t\tArrayList<String> values;\n\t\tBufferedReader reader;\n\t\tString line = \"\";\n\t\ttry {\n\t\t\treader = new BufferedReader(new FileReader(\"/proc/stat\"));\n\t\t\tvalues = new ArrayList<String>();\n\t\t\tline = reader.readLine(); // read in the header since we don't need it\n\t\t\t\n\t\t\twhile(!line.contains(\"intr\")) { // until the line after cpu data\n\t\t\t\tline = reader.readLine(); // read in the line\n\t\t\t\tif(line.contains(\"cpu\")) { // if it contains cpu info\n\t\t\t\t\tString[] lineValues = line.split(\" \"); // split on space\n\t\t\t\t\tString temp = \"\";\n\t\t\t\t\tfor(int i = 1; i < lineValues.length; i++) {\n\t\t\t\t\t\ttemp += lineValues[i] + \" \"; // get the key cpu stats\n\t\t\t\t\t}\n\t\t\t\t\tvalues.add(temp); // add the values string to the array of cpu statistics\n\t\t\t\t}\n\t\t\t}\n\t\t\treader.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\n\t\treturn values;\n\t}", "private void statInit() {\n\t\t//\t\n\t\tif (getAD_Process_ID() > 0) {\n\t\t\t//\tFR [ 245 ]\n\t\t\tinitProcessInfo();\n\t\t\tprocessParameterPanel = new ProcessPanel(getWindowNo(), getBrowseProcessInfo());\n\t\t\tprocessParameterPanel.setColumns(ProcessController.COLUMNS_2);\n\t\t\tprocessParameterPanel.setShowButtons(false);\n\t\t\tprocessParameterPanel.setShowDescription(false);\n\t\t\tprocessParameterPanel.createFieldsAndEditors();\n\t\t\t//\tIf don't have parameters then don'show collapsible panel\n\t\t\tif(processParameterPanel.hasParameters()) {\n\t\t\t\t//\tAdd collapsible panel for process pane;\n\t\t\t\tCollapsiblePanel collapsibleProcess = new CollapsiblePanel(Msg.getMsg(Env.getCtx(),(\"Parameter\")));\n\t\t\t\tcollapsibleProcess.add(processParameterPanel.getPanel());\n\t\t\t\tcollapsibleProcess.validate();\n\t\t\t\tprocessPanel.add(collapsibleProcess);\n\t\t\t}\n\t\t}\n\t}", "private static CellProcessor[] getProcessors() {\n \t \n \t\n DecimalFormat decimalFormat = new DecimalFormat(\"#0.0000\");\n DecimalFormatSymbols simbolos = new DecimalFormatSymbols();\n \tsimbolos.setDecimalSeparator('.');\n \tdecimalFormat.setDecimalFormatSymbols(simbolos);\n \tdecimalFormat.setDecimalSeparatorAlwaysShown(true);\n\n final CellProcessor[] processors = new CellProcessor[] {\n new NotNull(), //1 C_ANDENES andenes_en_las_vias\n new Optional(), //2 C_CALIDBANIO calidad_acabados_banos\n new Optional(), //3 C_CALIDCMADER calidad_acabados_madera\n new Optional(), //4 C_CALIDCMETAL calidad_acabados_metal\n new Optional(), //5 C_CALIDCOCINA calidad_acabados_cocina\n new Optional(), //6 C_CALIDMURO calidad_acabados_muros\n new Optional(), //7 C_CALIDPISO calidad_acabados_pisos\n new Optional(), //8 C_CALIDTECHO calidad_acabados_techos\n new NotNull(), //9 C_CIUDADESCRITURA ciudad_notaria\n new Optional(), //10 C_CLASEINMUEBLE clase_inmueble\n new Optional(), //11 C_CONJAGRUPCERR conjunto_cerrado\n new Optional(), //12 C_CUBIERTA cubierta\n new NotNull(), //13 C_DEPTOESCRITURA departamento_notaria\n new Optional(), //14 C_DESCRIPLIQ1 DESCRIPCION 1\n new Optional(), //15 C_DESCRIPLIQ10 DESCRIPCION 10\n new Optional(), //16 C_DESCRIPLIQ2 DESCRIPCION 2\n new Optional(), //17 C_DESCRIPLIQ3 DESCRIPCION 3\n new Optional(), //18 C_DESCRIPLIQ4 DESCRIPCION 4\n new Optional(), //19 C_DESCRIPLIQ5 DESCRIPCION 5\n new Optional(), //20 C_DESCRIPLIQ6 DESCRIPCION 6\n new Optional(), //21 C_DESCRIPLIQ7 DESCRIPCION 7\n new Optional(), //22 C_DESCRIPLIQ8 DESCRIPCION 8\n new Optional(), //23 C_DESCRIPLIQ9 DESCRIPCION 9\n new Optional(), //24 C_ESTBANIOS estado_acabados_banos\n new Optional(), //25 C_ESTCOCINA estado_acabados_cocina\n new Optional(), //26 C_ESTCONSERVACION estado_de_conservacion\n new Optional(), //27 C_ESTMADERA estado_acabados_madera\n new Optional(), //28 C_ESTMETAL estado_acabados_metal\n new Optional(), //29 C_ESTMUROS estado_acabados_muros\n new Optional(), //30 C_ESTPISOS estado_acabados_pisos\n new NotNull(), //31 C_ESTRATO estrato\n new Optional(), //32 C_ESTRUCTURA estructura\n new Optional(), //33 C_ESTTECHOS estado_acabados_techos\n new Optional(), //34 C_ESTVIAACCESO estado_de_las_vias\n new Optional(), //35 C_FACHADA fachada\n new NotNull(), //36 C_IDCIUDAD ciudad\n new NotNull(), //37 C_IDDEPARTAMENTO departamento\n new NotNull(), //38 C_IDMETODOLOGIA metodo_de_valuacion\n new NotNull(), //39 C_IDOBJETOAVALUO objeto_del_avaluo\n new NotNull(), //40 C_IDTIPOIDENTIFICACION cliente_tipo_documento\n new Optional(), //41 C_ILUMINACION iluminacion\n new NotNull(), //42 C_LEGALIDAD barrio_legal\n new NotNull(), //43 C_PAVIMENTADA vias_pavimentadas\n new Optional(), //44 C_PISOSBODEGA pisos_bodega\n new NotNull(), //45 C_PROPHORZ sometido_a_propiedad_horizontal\n new Optional(), //46 C_SALUBRIDAD condiciones_de_salubridad\n new NotNull(), //47 C_SARDENELES sardineles_en_las_vias\n new Optional(), //48 C_TIPOFACHADA tipo_fachada\n new Optional(new Truncate(30)), //49 C_TIPOVIVIENDA tipo_de_vivienda\n new NotNull(), //50 C_TOPOGRAFIA topografia_sector\n new NotNull(), //51 C_TRANSPORTE transporte\n new Optional(), //52 C_UBICACIONINM ubicacion_del_inmueble\n new Optional(), //53 C_UBICACION2 Ubicación\n new NotNull(), //54 C_USOINMUEBLE uso_predominante_inmueble\n new Optional(), //55 C_VENTILACION ventilacion\n new FmtDate(\"dd-MM-yyyy HH:mm:ss\"), //56 F_FECHAAVALUO Fecha Avalúo\n new FmtDate(\"dd-MM-yyyy HH:mm:ss\"), //57 F_FECHAESCRITURA fecha_de_escritura\n new Optional(), //58 K_AACOND aire_acondicionado_central\n new Optional(), //59 K_ACUEDUCTOPREDIO acueducto_en_el_predio\n new Optional(), //60 K_ACUEDUCTOSECTOR acueducto_en_el_sector\n new Optional(), //61 K_AGUASHERV impacto_ambiental_aguas_servidas\n new Optional(), //62 K_ALAMEDAS alamedas\n new Optional(), //63 K_ALCANTAPREDIO alcantarillado_en_el_predio\n new Optional(), //64 K_ALCANTASECTOR alcantarillado_en_el_sector\n new Optional(), //65 K_ALUMBRADO alumbrado\n new Optional(), //66 K_AMBARBORIZA Arborización\n new Optional(), //67 K_AMBPARQUES Parques\n new Optional(), //68 K_AMBZVERDE Z. Verdes\n new Optional(), //69 K_ARBORIZACION arborizacion\n new Optional(), //70 K_ASCENSOR ascensor\n new Optional(), //71 K_BASURA impacto_ambiental_basura\n new Optional(), //72 K_BICICLETERO bicicletero\n new Optional(), //73 K_BOMBA bomba_eyectora\n new Optional(), //74 K_CANCHAMULT cancha_multiple\n new Optional(), //75 K_CICLORUTAS ciclo_rutas\n new Optional(), //76 K_CITOFONO citofono\n new Optional(), //77 K_CLUBHOUSE club_house\n new Optional(), //78 K_COMERCIO Comercio\n new Optional(), //79 K_ELECTRICAPREDIO energia_en_el_predio\n new Optional(), //80 K_ELECTRICASECTOR energia_en_el_sector\n new Optional(), //81 K_ENOBRA estado_de_obra\n new Optional(), //82 K_ESTREMODELA remodelado\n new Optional(), //83 K_ESTTERMINADA Terminada\n new Optional(), //84 K_ESTTERMINADO Terminado\n new Optional(), //85 K_GASPREDIO gas_en_el_predio\n new Optional(), //86 K_GASSECTOR gas_en_el_sector\n new Optional(), //87 K_GIMNASIO gimnasio\n new Optional(), //88 K_GJVISITA garaje_visitantes\n new Optional(), //89 K_GOLFITO golfito\n new Optional(), //90 K_INDUSTRIA Industria\n new Optional(), //91 K_INSERGURIDAD impacto_ambiental_inseguridad\n new Optional(), //92 K_JUEGONINOS juegos_ninos\n new Optional(), //93 K_OTROSUSOS Otros Usos\n new Optional(), //94 K_PARADERO paradero\n new Optional(), //95 K_PARQUES parques\n new Optional(), //96 K_PISCINA piscina\n new Optional(), //97 K_PLANTA planta_electrica\n new Optional(), //98 K_PORAIRE impacto_ambiental_aire\n new Optional(), //99 K_PORTERIA porteria\n new Optional(), //100 K_PRESION equipo_de_presion_constante\n new Optional(), //101 K_RUIDO impacto_ambiental_ruido\n new Optional(), //102 K_SALONCOMN salon_comunal\n new Optional(), //103 K_SHUT shut_basuras\n new Optional(), //104 K_SINTERMINAR Sin Terminar\n new Optional(), //105 K_SQUASH cancha_squash\n new Optional(), //106 K_TANQUEAGUA tanque_de_agua\n new Optional(), //107 K_TELPREDIO telefono_en_el_predio\n new Optional(), //108 K_TELSECTOR telefono_en_el_sector\n new Optional(), //109 K_VIVIENDA Vivienda\n new Optional(), //110 K_ZONASVERDES zonas_verdes_publicas\n new Optional(), //111 K_ZVERDES zonas_verdes_comunales\n new Optional(new FmtNumber(decimalFormat)), //112 N_AREALIQ1 Area(m2) 1\n new Optional(new FmtNumber(decimalFormat)), //113 N_AREALIQ10 Area(m2) 10\n new Optional(new FmtNumber(decimalFormat)), //114 N_AREALIQ2 Area(m2) 2\n new Optional(new FmtNumber(decimalFormat)), //115 N_AREALIQ3 Area(m2) 3\n new Optional(new FmtNumber(decimalFormat)), //116 N_AREALIQ4 Area(m2) 4\n new Optional(new FmtNumber(decimalFormat)), //117 N_AREALIQ5 Area(m2) 5\n new Optional(new FmtNumber(decimalFormat)), //118 N_AREALIQ6 Area(m2) 6\n new Optional(new FmtNumber(decimalFormat)), //119 N_AREALIQ7 Area(m2) 7\n new Optional(new FmtNumber(decimalFormat)), //120 N_AREALIQ8 Area(m2) 8\n new Optional(new FmtNumber(decimalFormat)), //121 N_AREALIQ9 Area(m2) 9\n new NotNull(new FmtNumber(decimalFormat)), //122 N_AVALUOUVR valor_avaluo_en_uvr\n new Optional(), //123 N_BAHIACOMUNAL bahia_comunal\n new Optional(), //124 N_BALCON balcon\n new Optional(), //125 N_BANIOPRIVADO bano_privado\n new Optional(), //126 N_BANIOSERVICIO bano_servicio\n new Optional(), //127 N_BANIOSOCIAL bano_social\n new Optional(), //128 N_BODEGA bodega\n new Optional(), //129 N_COCINA cocina\n new Optional(), //130 N_COMEDOR comedor\n new NotNull(), //131 AVALUO_ID avaluoId\n new Optional(), //132 N_CUARTOSERV cuarto_servicio\n new Optional(), //133 N_CUBIERTO Cubierto\n new Optional(), //134 N_DEPOSITO Depósito\n new Optional(), //135 N_DESCUBIERTO Descubierto\n new Optional(), //136 N_DOBLE Doble\n new Optional(), //137 N_ESTARHAB Estar Hab.\n new Optional(), //138 N_ESTUDIO estudio\n new Optional(), //139 N_HABITACIONES habitaciones\n new NotNull(), //140 N_IDENTIFICACION cliente_numero_documento\n new Optional(), //141 N_JARDIN jardin\n new Optional(), //142 N_LOCAL local\n new Optional(), //143 N_NUMASCENSORES numero_de_ascensores\n new NotNull(new Truncate(2)), //144 N_NUMEDIF numero_de_edificios\n new Optional(), //145 N_OFICINA oficina\n new Optional(), //146 N_PATIOINT patio_interior\n new Optional(), //147 N_PISOS numero_de_pisos\n new Optional(), //148 N_PRIVADO Privado\n new Optional(), //149 N_SALA sala\n new Optional(), //150 N_SENCILLO Sencillo\n new Optional(), //151 N_SERVIDUMBRE Servidumbre\n new Optional(), //152 N_SOTANOS numero_sotanos\n new Optional(), //153 N_TERRAZA terraza\n new NotNull(), //154 N_TIPOCOMERCIALIZA tiempo_esperado_de_comercializacion\n new NotNull(new FmtNumber(decimalFormat)), //155 N_TOTALAVALUO valor_total_avaluo\n new Optional(), //156 N_TOTALGARAJES numero_total_de_garajes\n new Optional(), //157 N_TOTALUND total_unidades\n new Optional(), //158 N_UNDPISO unidades_por_piso\n new Optional(), //159 N_USOEXCLUSIVO Uso Exclusivo\n new Optional(new FmtNumber(decimalFormat)), //160 N_VALORASEGURABLE valor_asegurable\n new Optional(new FmtNumber(decimalFormat)), //161 N_VALTOT1 Valor Total 1\n new Optional(new FmtNumber(decimalFormat)), //162 N_VALTOT10 Valor Total 10\n new Optional(new FmtNumber(decimalFormat)), //163 N_VALTOT2 Valor Total 2\n new Optional(new FmtNumber(decimalFormat)), //164 N_VALTOT3 Valor Total 3\n new Optional(new FmtNumber(decimalFormat)), //165 N_VALTOT4 Valor Total 4\n new Optional(new FmtNumber(decimalFormat)), //166 N_VALTOT5 Valor Total 5\n new Optional(new FmtNumber(decimalFormat)), //167 N_VALTOT6 Valor Total 6\n new Optional(new FmtNumber(decimalFormat)), //168 N_VALTOT7 Valor Total 7\n new Optional(new FmtNumber(decimalFormat)), //169 N_VALTOT8 Valor Total 8\n new Optional(new FmtNumber(decimalFormat)), //170 N_VALTOT9 Valor Total 9\n new NotNull(new FmtNumber(decimalFormat)), //171 N_VALUVRDIA valor_uvr\n new Optional(new FmtNumber(decimalFormat)), //172 N_VAL1 Valor unitario 1\n new Optional(new FmtNumber(decimalFormat)), //173 N_VAL10 Valor unitario 10\n new Optional(new FmtNumber(decimalFormat)), //174 N_VAL2 Valor unitario 2\n new Optional(new FmtNumber(decimalFormat)), //175 N_VAL3 Valor unitario 3\n new Optional(new FmtNumber(decimalFormat)), //176 N_VAL4 Valor unitario 4\n new Optional(new FmtNumber(decimalFormat)), //177 N_VAL5 Valor unitario 5\n new Optional(new FmtNumber(decimalFormat)), //178 N_VAL6 Valor unitario 6\n new Optional(new FmtNumber(decimalFormat)), //179 N_VAL7 Valor unitario 7\n new Optional(new FmtNumber(decimalFormat)), //180 N_VAL8 Valor unitario 8\n new Optional(new FmtNumber(decimalFormat)), //181 N_VAL9 Valor unitario 9\n new Optional(new FmtNumber(decimalFormat)), //182 N_VETUSTEZ vetustez\n new Optional(), //183 N_ZVERDEPRIV zona_verde_privada\n new NotNull(), //184 R_CALIFICACION calificacion_garantia\n new Optional(), //185 R_ESTCONS estado_de_construccion\n new NotNull(new Truncate(500)), //186 T_ACTEDIFICADORA actualidad_edificadora\n new Optional(new Truncate(100)), //187 T_AMBNEGOTRO impacto_ambiental_otro\n new Optional(new Truncate(100)), //188 T_AMBOTRO Otro\n new Optional(), //189 T_AVANCEOBRA porcentaje_avance\n new NotNull(new Truncate(30)), //190 T_BARRIO barrio\n new Optional(new Truncate(20)), //191 T_CHIP chip\n new NotNull(new Truncate(500)), //192 T_COMPORTAOD comportamiento_oferta_demanda\n new Optional(new Truncate(30)), //193 T_CUBIERTA Cubierta\n new Optional(new Truncate(100)), //194 T_DIRANEXOS direccion_anexos\n new Optional(new Truncate(100)), //195 T_DIRINMUEBLE direccion_inmueble\n new Optional(new Truncate(30)), //196 T_ESTRUCTURA Estructura\n new Optional(), //197 T_FACHADA Fachada\n new NotNull(new Truncate(500)), //198 T_JUSTIFICACION justificacion_de_metodologia\n new NotNull(new Truncate(20)), //199 T_MINMBPPAL1 matricula_inmobiliaria_principal_1\n new Optional(new Truncate(20)), //200 T_MINMBPPAL2 matricula_inmobiliaria_principal_2\n new Optional(new Truncate(20)), //201 T_MINMOBDP1 matricula_inmobiliaria_deposito_1\n new Optional(new Truncate(20)), //202 T_MINMOBDP2 matricula_inmobiliaria_deposito_2\n new Optional(new Truncate(20)), //203 T_MINMOBGJ1 matricula_inmobiliaria_garaje_1\n new Optional(new Truncate(20)), //204 T_MINMOBGJ2 matricula_inmobiliaria_garaje_2\n new Optional(new Truncate(20)), //205 T_MINMOBGJ3 matricula_inmobiliaria_garaje_3\n new Optional(new Truncate(20)), //206 T_MINMOBGJ4 matricula_inmobiliaria_garaje_4\n new Optional(new Truncate(20)), //207 T_MINMOBGJ5 matricula_inmobiliaria_garaje_5\n new Optional(new Truncate(30)), //208 T_NOMBCONJEDIF nombre_del_conjunto\n new Optional(), //209 T_NOMBRESOLICITANTE entidad_id\n new NotNull(new Truncate(5)), //210 T_NOTARIA numero_notaria_de_escritura\n new NotNull(new Truncate(5)), //211 T_NUMESCRITURA numero_de_escritura\n new NotNull(new Truncate(2000)), //212 T_OBSERVAVALUO observaciones\n new Optional(new Truncate(100)), //213 T_OTRASDIR otras_direcciones\n new Optional(new Truncate(30)), //214 T_DESCRIPCION_CLASE_INMUEBLE\n new Optional(new Truncate(30)), //215 T_OTROSDOTACION Otros Dotacion\n new Optional(new Truncate(30)), //216 T_OTROSDOTACION2 Otros Dotacion 2\n new Optional(), //217 T_OTROSUSOS Otros Usos\n new Optional(new Truncate(30)), //218 T_DESCRIPCIONOTROUSOINM descripcion_otros_uso_inmueble\n new NotNull(new Truncate(500)), //219 T_PERSPECTIVAS perspectivas_de_valorizacion\n new Optional(), //220 C_ALTURA Altura\n new Optional(), //221 C_UBICACION3 Ubicación Local\n new Optional(new Truncate(20)), //222 T_SISTEMA Otro Sistema de Coordenadas\n new Optional(), //223 C_REPARADOS Reparados\n new Optional(), //224 C_IRRALTURA Irregularidad Altura\n new Optional(), //225 C_IRRPLANTA Irregularidad Planta\n new Optional(), //226 C_ESTRUCTURAREFORZADA estructura_reforzada\n new Equals(3), //227 C_SISTEMA Sistema de Coordenadas\n new Optional(), //228 C_DANOPREVIO Daños Previos\n new Optional(), //229 T_LATITUD latitud\n new Optional(), //230 N_ANOCONSTRUCCION ano_de_construccion\n new Optional(), //231 C_MATERIAL Material de Construcción\n new Optional(), //232 T_LONGITUD longitud\n new Optional(), //233 C_DETALLEMATERIAL ESTRUCTURA\n new NotNull(new Truncate(30)), //234 IDCATEGORIA CATEGORIA (Tipo de inmueble)\n new Equals(\"830006973\") //235 T_USUARIO Usuario Avalúo\n };\n return processors;\n }", "void describeProducersInfo(JsonArrayBuilder objs) throws Exception;", "private void populateRenderableProcessors()\n {\n myProcessorsLock.readLock().lock();\n try\n {\n mySpecializedProcessorsLock.writeLock().lock();\n try\n {\n myRenderableGeometryProcessors.clear();\n myProjectionSensitiveProcessors.clear();\n for (final Entry<ProcessorDistributionKey, GeometryProcessor<? extends Geometry>> processorEntry : myGeometryProcessorsMap\n .entrySet())\n {\n if (processorEntry.getValue() instanceof RenderableGeometryProcessor)\n {\n myRenderableGeometryProcessors.put(processorEntry.getKey(),\n (RenderableGeometryProcessor<? extends Geometry>)processorEntry.getValue());\n }\n\n if (processorEntry.getValue().sensitiveToProjectionChanges())\n {\n myProjectionSensitiveProcessors.put(processorEntry.getKey(), processorEntry.getValue());\n }\n }\n myProjectionSyncManager.setProcessors(myProjectionSensitiveProcessors.values());\n }\n finally\n {\n mySpecializedProcessorsLock.writeLock().unlock();\n }\n }\n finally\n {\n myProcessorsLock.readLock().unlock();\n }\n }", "public void initPC() {\r\n\t\tthis.memoryTaken = 0;\r\n\t\tthis.cpuTaken = 0;\r\n\t\t\r\n\t\tObject[] args = getArguments();\r\n\r\n\t\tObject[] quirks = (Object[])args[1];\r\n\t\t\r\n\t\tthis.memory = (Integer)quirks[0];\r\n\t\tthis.cpu = (Integer)quirks[1];\r\n\t\tthis.pricePerMemoryUnit = (Double)quirks[2];\r\n\t\tthis.pricePerCpuUnit = (Double)quirks[3];\r\n\t\tthis.pricePerSecond = (Double)quirks[4];\r\n\t\tthis.discountPerWaitingSecond = (Double)quirks[5];\r\n\t\t\r\n\t\tSystem.out.println(this);\r\n\t}", "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 SharedMemory infos();", "public ProveedorInfo() {\n\t\tnombre = EMPTY_STRING;\n\t\tdescripcion = EMPTY_STRING;\n\t\tcaHash = new Hashtable<String, String>();\n\t\tservidores = new Vector<ServidorOcsp>();\n\n\t}", "public void collectDeviceInfo(Context context) {\n try {\n PackageInfo packageInfo = context.getPackageManager().getPackageInfo(context.getPackageName(), 1);\n if (packageInfo != null) {\n String string2 = packageInfo.versionName == null ? \"null\" : packageInfo.versionName;\n String string3 = String.valueOf((int)packageInfo.versionCode);\n this.infos.put((Object)\"versionName\", (Object)string2);\n this.infos.put((Object)\"versionCode\", (Object)string3);\n }\n }\n catch (PackageManager.NameNotFoundException var2_5) {\n Log.e((String)\"CrashHandler\", (String)\"an error occured when collect package info\", (Throwable)var2_5);\n }\n Field[] arrfield = Build.class.getDeclaredFields();\n int n = arrfield.length;\n int n2 = 0;\n while (n2 < n) {\n Field field = arrfield[n2];\n try {\n field.setAccessible(true);\n this.infos.put((Object)field.getName(), (Object)field.get((Object)null).toString());\n Log.d((String)\"CrashHandler\", (String)(String.valueOf((Object)field.getName()) + \" : \" + field.get((Object)null)));\n }\n catch (Exception var8_10) {\n Log.e((String)\"CrashHandler\", (String)\"an error occured when collect crash info\", (Throwable)var8_10);\n }\n ++n2;\n }\n return;\n }", "private synchronized void loadProcessors() {\n if (loaded)\n return;\n\n // Get the processor service declarations\n Set<ServiceDeclaration> processorDeclarations; \n try {\n processorDeclarations = ServiceDiscovery.getInstance().getServiceDeclarations(URLArtifactProcessor.class);\n } catch (IOException e) {\n \tIllegalStateException ie = new IllegalStateException(e);\n \terror(\"IllegalStateException\", staxProcessor, ie);\n throw ie;\n }\n \n for (ServiceDeclaration processorDeclaration: processorDeclarations) {\n Map<String, String> attributes = processorDeclaration.getAttributes();\n // Load a URL artifact processor\n String artifactType = attributes.get(\"type\");\n String modelTypeName = attributes.get(\"model\");\n \n // Create a processor wrapper and register it\n URLArtifactProcessor processor = new LazyURLArtifactProcessor(artifactType, modelTypeName, \n \t\tprocessorDeclaration, extensionPoints, staxProcessor, monitor);\n addArtifactProcessor(processor);\n }\n \n loaded = true;\n }", "public void buildPriors() {\n\t\t// grab the list of all class labels for this fold\n\t\tList<List<String>> classListHolder = dc.getClassificationFold();\n\t\tint totalClasses = 0; // track ALL class occurrences for this fold\n\t\tint[] totalClassOccurrence = new int[classes.size()]; // track respective class occurrence\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tif (i == testingFold) {\n\t\t\t\tcontinue; // skip testing fold\n\t\t\t} else {\n\t\t\t\tcurrentFold = i;\n\t\t\t} // end if\n\n\t\t\t// grab the list of all classes for this current fold\n\t\t\tList<String> classList = classListHolder.get(currentFold);\n\t\t\t// track the total number of classes in this fold and their occurrences\n\t\t\ttotalClasses += classList.size();\n\t\t\t// for each class occurrence, match it to a class and track its occurrence\n\t\t\tfor (String className : classList) {\n\t\t\t\tfor (int j = 0; j < classes.size(); j++) {\n\t\t\t\t\tif (className.equals(classes.get(j))) {\n\t\t\t\t\t\ttotalClassOccurrence[j]++;\n\t\t\t\t\t} // end if\n\t\t\t\t} // end for\n\t\t\t} // end for\n\t\t} // end for\n\n\t\t// divide a particular class occurrence by total number of classes across training set\n\t\tfor (int i = 0; i < classPriors.length; i++) {\n\t\t\tclassPriors[i] = totalClassOccurrence[i] / totalClasses;\n\t\t} // end for\n\t}", "public void createProbsMap() {\n\t\tif(this.counts == null) {\n\t\t\tcreateCountMap();\n\t\t}\n\t\t\n\t\tMap<String, Double> result = new HashMap<String, Double>();\n\t\t\n\t\t// Make the counts and get the highest probability found \n\t\tdouble highestProb = 0.00;\n\t\tdouble size = (double) this.getData().size();\n\t\tfor(Entry<String, Integer> entry : counts.entrySet()) {\n\t\t\tdouble value = (double) entry.getValue();\n\t\t\tresult.put(entry.getKey(), value / size);\n\t\t\t\n\t\t\tif(value/size > highestProb) {\n\t\t\t\thighestProb = value/size;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// Fill the highest probilities \n\t\tList<String> highestProbs = new ArrayList<String>();\n\t\tfor(Entry<String, Integer> entry : counts.entrySet()) {\n\t\t\tdouble value = (double) entry.getValue();\n\t\t\t\n\t\t\tif(value/size == highestProb) {\n\t\t\t\thighestProbs.add(entry.getKey());\n\t\t\t}\n\t\t}\n\t\t\n\t\tthis.highestProbs = highestProbs;\n\t\tthis.highestProb = highestProb;\n\t\tthis.probs \t\t = result;\n\t}", "private static void preprocess() {\n \tLOG.info(\"Begin preprocessing of data.\");\n \t\n \tLOG.debug(\"Create a IterativeDirectoryReader.\");\n \t// Create a reader for directories\n \tIterativeDirectoryReader iterativeDirectoryReader = (IterativeDirectoryReader) ReaderFactory.instance().getIterativeDirectoryReader();\n \titerativeDirectoryReader.setDirectoryName(clArgs.preprocessInDir);\n \titerativeDirectoryReader.setPathInChildDirectory(clArgs.preprocessPathInChildDir);\n \t\n \tLOG.debug(\"Create a IterativeFileReader.\");\n \t// Create a reader for text files and set an appropriate file filter\n \tIterativeFileReader iterativeFileReader = (IterativeFileReader) ReaderFactory.instance().getIterativeFileReader();\n \titerativeFileReader.setFileFilter(FileUtil.acceptVisibleFilesFilter(false, true));\n \t\n \tLOG.debug(\"Create a TextFileLineReader.\");\n \t// Create a reader for text files, the first six lines are not relevant in this data set\n \tTextFileLineReader textFileLineReader = (TextFileLineReader) ReaderFactory.instance().getTextFileLineReader();\n \ttextFileLineReader.setOffset(clArgs.preprocessLineOffset);\n \t\n \tLOG.debug(\"Create a GpsLogLineProcessor.\");\n \t// Create a processor for user points\n \tGpsLogLineProcessor processor = new GpsLogLineProcessor(clArgs.preprocessOutFile);\n \t\n \t// Build reader chain\n \titerativeDirectoryReader.setReader(iterativeFileReader);\n \titerativeFileReader.setReader(textFileLineReader);\n \ttextFileLineReader.setProcessor(processor);\n \t\n \titerativeDirectoryReader.attach(processor, \n \t\t\t\tnew Interests[] {\n \t\t\t\t\tInterests.NewChildDirectory,\n \t\t\t\t\tInterests.HasFinished\n \t\t\t\t});\n \t\n \tLOG.debug(\"Read GPS logs. Save the data in a new file {}.\", clArgs.preprocessOutFile);\n \t// Read and save the data\n \titerativeDirectoryReader.read();\n\n \tLOG.info(\"Finished preprocessing of data.\");\n }", "public ProcessInstrumenter(){\n\t\tparser = new DOMParser();\n\t\tnoActivity.add(\"variables\");\n\t\tnoActivity.add(\"correlationSets\");\n\t\tnoActivity.add(\"partnerLinks\");\n\t\tnoActivity.add(\"eventHandlers\");\n\t\tnoActivity.add(\"faultHandlers\");\n\t\tnoActivity.add(\"compensationHandlers\");\n\t}", "private synchronized void buildConcreteProcessor(Environment env) throws Exception {\n if (this.concreteProcessor != null && this.source.getLastModified() == this.lastModified) {\n // Nothing changed\n return;\n }\n\n long startTime = System.currentTimeMillis();\n\n // Dispose the old processor, if any\n if (this.concreteProcessor != null) {\n this.concreteProcessor.markForDisposal();\n }\n\n // Get a builder\n TreeBuilder builder = (TreeBuilder)this.builderSelector.select(\"sitemap\");\n ConcreteTreeProcessor newProcessor = new ConcreteTreeProcessor(this);\n long newLastModified;\n this.setupLogger(newProcessor);\n //FIXME (SW): why do we need to enterProcessor here?\n CocoonComponentManager.enterEnvironment(env, this.manager, this);\n try {\n if (builder instanceof Recomposable) {\n ((Recomposable)builder).recompose(this.manager);\n }\n builder.setProcessor(newProcessor);\n\n newLastModified = this.source.getLastModified();\n\n ProcessingNode root = builder.build(this.source);\n\n newProcessor.setProcessorData(builder.getSitemapComponentManager(), root, builder.getDisposableNodes());\n } finally {\n CocoonComponentManager.leaveEnvironment();\n this.builderSelector.release(builder);\n }\n\n if (this.getLogger().isDebugEnabled()) {\n double time = (this.lastModified - startTime) / 1000.0;\n this.getLogger().debug(\"TreeProcessor built in \" + time + \" secs from \" + this.source.getURI());\n }\n\n // Switch to the new processor (ensure it's never temporarily null)\n this.concreteProcessor = newProcessor;\n this.lastModified = newLastModified;\n }", "private void startup() {\n LOGGER.info(\"Warming up extraction pipeline....\");\n\n for (Extractor extractor : this.context.extractors()) {\n try {\n extractor.init(this.context.persistencyWriter(), this.context.batchSize());\n this.extractors.add(extractor);\n } catch (Throwable t) {\n LOGGER.warn(\"Failed to initialize extractor {} due to an exception: {}\", extractor.getClass().getSimpleName(), t.getMessage());\n }\n }\n\n for (Extractor exporter : this.context.exporters()) {\n try {\n exporter.init(this.context.persistencyWriter(), this.context.batchSize());\n this.extractors.add(exporter);\n } catch (Throwable t) {\n LOGGER.warn(\"Failed to exporter extractor {} due to an exception: {}\", exporter.getClass().getSimpleName(), t.getMessage());\n }\n }\n \n LOGGER.info(\"Extraction pipeline is ready with {} extractors.\", this.extractors.size());\n }", "public ImmutableMap<String, Integer> getProcessorParametres() {\n return processorParametres;\n }", "private void init() {\n LOGGER.info(\"Init piper ProcessBuilder\");\n String generalArgs = constructGeneralArgs();\n String specificArgs = getLaunchCommand();\n if (specificArgs == null) {\n ErrorManager.error(ERROR_GC);\n return;\n }\n ProcessBuilder pb = new ProcessBuilder(piperScript, generalArgs, specificArgs);\n try {\n // Set NW environment\n Map<String, String> env = getEnvironment(nw);\n\n addEnvironment(env, nw);\n\n pb.directory(new File(getPBWorkingDir()));\n pb.environment().putAll(env);\n pb.environment().remove(NIOTracer.LD_PRELOAD);\n pb.environment().remove(NIOTracer.EXTRAE_CONFIG_FILE);\n\n if (NIOTracer.isActivated()) {\n NIOTracer.emitEvent(Long.parseLong(NIOTracer.getHostID()), NIOTracer.getSyncType());\n }\n\n piper = pb.start();\n\n LOGGER.debug(\"Starting stdout/stderr gobblers ...\");\n try {\n piper.getOutputStream().close();\n } catch (IOException e) {\n // Stream closed\n }\n PrintStream out = ((ThreadPrintStream) System.out).getStream();\n PrintStream err = ((ThreadPrintStream) System.err).getStream();\n outputGobbler = new StreamGobbler(piper.getInputStream(), out, LOGGER);\n errorGobbler = new StreamGobbler(piper.getErrorStream(), err, LOGGER);\n outputGobbler.start();\n errorGobbler.start();\n } catch (IOException e) {\n ErrorManager.error(ERROR_PB, e);\n }\n\n // The ProcessBuilder is non-blocking but we block the thread for a short period of time to allow the\n // bash script to create the needed environment (pipes)\n try {\n Thread.sleep(PIPE_CREATION_TIME * size);\n } catch (InterruptedException e) {\n // No need to catch such exceptions\n }\n }", "private void createPartitions() {\n \tfor (int attrOrd : splitAttrs) {\n \t\tFeatureField featFld = schema.findFieldByOrdinal(attrOrd);\n \t\tif (featFld.isInteger()) {\n \t\t\t//numerical\n \t\t\tList<Integer[]> splitList = new ArrayList<Integer[]>();\n \t\t\tInteger[] splits = null;\n \t\t\tcreateNumPartitions(splits, featFld, splitList);\n \t\t\t\n \t\t\t//collect all splits\n \t\t\tfor (Integer[] thisSplit : splitList) {\n \t\t\t\tsplitHandler.addIntSplits(attrOrd, thisSplit);\n \t\t\t}\n \t\t} else if (featFld.isCategorical()) {\n \t\t\t//categorical\n \t\t\tint numGroups = featFld.getMaxSplit();\n \t\t\tif (numGroups > maxCatAttrSplitGroups) {\n \t\t\t\tthrow new IllegalArgumentException(\n \t\t\t\t\t\"more than \" + maxCatAttrSplitGroups + \" split groups not allwed for categorical attr\");\n \t\t\t}\n \t\t\t\n \t\t\t//try all group count from 2 to max\n \t\t\tList<List<List<String>>> finalSplitList = new ArrayList<List<List<String>>>();\n \t\t\tfor (int gr = 2; gr <= numGroups; ++gr) {\n \t\t\t\tLOG.debug(\"num of split sets:\" + gr);\n \t\t\t\tList<List<List<String>>> splitList = new ArrayList<List<List<String>>>();\n \t\t\t\tcreateCatPartitions(splitList, featFld.getCardinality(), 0, gr);\n \t\t\t\tfinalSplitList.addAll(splitList);\n \t\t\t}\n \t\t\t\n \t\t\t//collect all splits\n \t\t\tfor (List<List<String>> splitSets : finalSplitList) {\n \t\t\t\tsplitHandler.addCategoricalSplits(attrOrd, splitSets);\n \t\t\t}\n \t\t\t\n \t\t}\n \t}\n }", "public SortedMap<Integer, SortedMap<Long, PolyMLStatistics>> getProcessData()\n {\n return Collections.unmodifiableSortedMap(processData);\n }", "public Schedule(int numProcessors) {\n scheduledTasks = new HashMap<>();\n processors = new ArrayList<>();\n length = 0;\n\n for (int i = 1; i <= numProcessors; i++) {\n processors.add(new Processor(\"\" + i));\n }\n }", "public ModuleInfo() {\r\n this.types = new ArrayList<>();\r\n this.typeByName = new HashMap<>();\r\n }", "protected Object[] get_ComponentInfo()\n {\n return new Object[]\n {\n \"ReporterMBean contains settings and statistics for the Coherence JMX Reporter.\",\n \"com.bea.owner=Context,com.bea.VisibleToPartitions=ALWAYS\",\n };\n }", "private CpuInfoProvider() {\r\n\t\t\r\n\t}", "private void prepareData() {\n devices.clear();\n\n Set<String> s = Blue.getInstance().devices.keySet();\n Iterator<String> it = s.iterator();\n String address;\n while (it.hasNext()) {\n address = it.next();\n devices.add(new Device(address, Blue.getInstance().devices.get(address)));\n }\n }", "private void buildProcessGraph() {\n\n BpmnProcessDefinitionBuilder builder = BpmnProcessDefinitionBuilder.newBuilder();\n\n // Building the IntermediateTimer\n eventBasedXorGatewayNode = BpmnNodeFactory.createBpmnEventBasedXorGatewayNode(builder);\n\n intermediateEvent1Node = BpmnNodeFactory.createBpmnIntermediateTimerEventNode(builder, NEW_WAITING_TIME_1);\n\n intermediateEvent2Node = BpmnNodeFactory.createBpmnIntermediateTimerEventNode(builder, NEW_WAITING_TIME_2);\n\n endNode1 = BpmnCustomNodeFactory.createBpmnNullNode(builder);\n endNode2 = BpmnCustomNodeFactory.createBpmnNullNode(builder);\n\n ControlFlowFactory.createControlFlowFromTo(builder, eventBasedXorGatewayNode, intermediateEvent1Node);\n ControlFlowFactory.createControlFlowFromTo(builder, intermediateEvent1Node, endNode1);\n\n ControlFlowFactory.createControlFlowFromTo(builder, eventBasedXorGatewayNode, intermediateEvent2Node);\n ControlFlowFactory.createControlFlowFromTo(builder, intermediateEvent2Node, endNode2);\n\n }", "@Override\n\tprotected void prepare() {\n\t\tfor(ProcessInfoParameter parameter :getParameter()){\n\t\t\tString name = parameter.getParameterName();\n\t\t\tif(parameter.getParameter() == null){\n\t\t\t\t;\n\t\t\t}else if(name.equals(\"XX_TipoRetencion\")){\n\t\t\t\tp_TypeRetention = (String) parameter.getParameter();\n\t\t\t}\n\t\t\telse if(name.equals(\"C_Invoice_From_ID\"))\n\t\t\t\tp_Invoice_From = parameter.getParameterAsInt();\t\n\t\t\telse if(name.equals(\"C_Invoice_To_ID\"))\n\t\t\t\tp_Invoice_To = parameter.getParameterAsInt();\t\n\t\t\telse if(name.equals(\"DateDoc\"))\n\t\t\t\tp_DateDoc = (Timestamp) parameter.getParameter();\t\t\n\t\t}\n\t}", "static void generate(Proc proc, PrintWriter outData)\r\n {\r\n for (int i=0; i < proc.lines.size(); i++)\r\n {\r\n //String l = (String) proc.lines.elementAt(i);\r\n Line line = \tproc.lines.elementAt(i);\r\n outData.println(line.line);\r\n }\r\n outData.println();\r\n }", "public UserProcess() {\n\t fileDescriptors = new OpenFile[16];\n\n\t boolean interrupt = Machine.interrupt().disable();\n\n\t processId = processIdCounter++;\n\t if(parentProcess == null){\n\t\t\tstdin = UserKernel.console.openForReading();\n\t\t\tstdout = UserKernel.console.openForWriting();\n\t\t}else{\n\t\t\tstdin = parentProcess.stdin;\n\t\t\tstdout= parentProcess.stdout;\n\t\t}\n\n\t Machine.interrupt().restore(interrupt);\n\n\t fileDescriptors[0] = stdin;\n\t fileDescriptors[1] = stdout;\n\n\t childProcesses = new HashMap<Integer, UserProcess>();\n\t //exitStats = new HashMap<>();\n\n\t parentProcess = null;\n\t lock = new Lock();\n\n\t\tint numPhysPages = Machine.processor().getNumPhysPages();\n\t\tpageTable = new TranslationEntry[numPhysPages];\n\t\tfor (int i=0; i<numPhysPages; i++)\n\t\t\tpageTable[i] = new TranslationEntry(i,i, true,false,false,false);\n\n }", "private static java.util.Hashtable init() {\n Hashtable members = new Hashtable();\n members.put(\"fork\", FORK);\n members.put(\"lsf\", LSF);\n members.put(\"pbs\", PBS);\n members.put(\"condor\", CONDOR);\n members.put(\"sge\", SGE);\n members.put(\"ccs\", CCS);\n\n return members;\n }", "public SystemInfo() {\r\n\t}", "public void cleanup() {\n try {\n if (processingUnits != null) {\n for (int i = 0; i < processingUnits.length; i++) {\n processingUnits[i].cleanup();\n }\n }\n\n if (dbgCtrlThread != null) {\n dbgCtrlThread.stop();\n }\n\n if (casConsumerPU != null) {\n casConsumerPU.cleanup();\n }\n casConsumerPU = null;\n\n if (collectionReader != null) {\n collectionReader.close();\n }\n collectionReader = null;\n\n if (producer != null) {\n producer.cleanup();\n }\n producer = null;\n producerResult = null;\n\n if (consumerDeployList != null) {\n consumerDeployList.clear();\n }\n consumerDeployList = null;\n\n if (analysisEngines != null) {\n analysisEngines.clear();\n }\n analysisEngines = null;\n\n if (annotatorDeployList != null) {\n annotatorDeployList.clear();\n }\n annotatorDeployList = null;\n\n if (annotatorList != null) {\n annotatorList.clear();\n }\n annotatorList = null;\n\n if (consumerList != null) {\n consumerList.clear();\n }\n consumerList = null;\n\n if (consumers != null) {\n consumers.clear();\n }\n consumers = null;\n\n processingUnits = null;\n processingUnitResults = null;\n casprocessorList = null;\n // this.enProcSt = null;\n stats = null;\n statusCbL = null;\n // this.tcas = null;\n casPool = null;\n // this.restoredProcTr = null;\n checkpointData = null;\n procTr = null;\n cpeFactory = null;\n } catch (Exception e) {\n UIMAFramework.getLogger(this.getClass()).logrb(Level.FINER, this.getClass().getName(),\n \"process\", CPMUtils.CPM_LOG_RESOURCE_BUNDLE, \"UIMA_CPM_exception__FINER\",\n new Object[] { Thread.currentThread().getName(), e.getMessage() });\n\n }\n }", "@SuppressWarnings(\"unused\")\n private void generateInfo()\n {\n }", "private void constructSourceMetadata() throws Exception {\n final String masterTag = \"ifg\";\n final String slaveTag = \"dummy\";\n\n // get sourceMaster & sourceSlave MetadataElement\n final MetadataElement masterMeta = AbstractMetadata.getAbstractedMetadata(sourceProduct);\n final String slaveMetadataRoot = AbstractMetadata.SLAVE_METADATA_ROOT;\n\n /* organize metadata */\n\n // put sourceMaster metadata into the masterMap\n metaMapPut(masterTag, masterMeta, sourceProduct, masterMap);\n\n // pug sourceSlave metadata into slaveMap\n MetadataElement[] slaveRoot = sourceProduct.getMetadataRoot().getElement(slaveMetadataRoot).getElements();\n for (MetadataElement meta : slaveRoot) {\n metaMapPut(slaveTag, meta, sourceProduct, slaveMap);\n }\n\n }", "public interface Process extends Serializable\n{\n\tpublic static final String NAME = \"Process Name\";\n\tpublic static final String TYPE = \"Process Type\";\n\t\n\tpublic static final String previousProcess = \"previousProcess\";\n\t\n\n\t/* initialization */\n\tpublic void init(Process process,Network network);\n\tpublic void init(Process process,List inputPorts,List outputPorts,Network network);\n\tpublic Network getNetwork();\n\tpublic Map getProperties();\n\tpublic void updateProperties(Map properties);\n\tpublic String getID();\n\t\n\t\n\n\t/* activity */\n\tpublic void preFire();\n\tpublic boolean isFireable(Map data);\n\tpublic void fire(Map data);\n\tpublic Map getData();\n\tpublic void updateData(Map change);\n\n\n\t/* communication management */\n\tpublic InputPort getInputPort(int index);\n\tpublic InputPort inputPortObject(int index);\n\tpublic int getInputPortCount();\n\tpublic List getInputPortList();\n\tpublic OutputPort getOutputPort(int index);\n\tpublic OutputPort outputPortObject(int index);\n\tpublic int getOutputPortCount();\n\tpublic List getOutputPortList();\n\n\tpublic void setPreviousProcess(Process pro1);\n\tpublic void setPrevProcessObj(Process prevProcessObj);\n}", "public void init(){\n\t\tcoreNumber = this.readIntValueFromFile(MAX_CORE_ID) + 1;\n\t\tparseAvailableFrequencies();\n\t\t\n\t\tmBaseCpuSpeedTimes = new long[cpuFrequencies.length];\n\t\tmRelCpuSpeedTimes = new long[cpuFrequencies.length];\t\t\t\t\n\t\tcores = new Core[coreNumber];\n\t\tfor(int i = 0; i < coreNumber; i++){\n\t\t\tcores[i] = new Core(i);\n\t\t\tcores[i].init();\n\t\t}\n\t}", "public ProcessState(ProcessStats processStats, String pkg, int uid, long vers, String name) {\n mStats = processStats;\n mName = name;\n mCommonProcess = this;\n mPackage = pkg;\n mUid = uid;\n mVersion = vers;\n mDurations = new DurationsTable(processStats.mTableData);\n mPssTable = new PssTable(processStats.mTableData);\n }", "private void initialiseAll() {\n // now that all the BeanDescriptors are in their map\n // we can initialise them which sorts out circular\n // dependencies for OneToMany and ManyToOne etc\n BeanDescriptorInitContext initContext = new BeanDescriptorInitContext(asOfTableMap, draftTableMap, asOfViewSuffix);\n\n // PASS 1:\n // initialise the ID properties of all the beans\n // first (as they are needed to initialise the\n // associated properties in the second pass).\n for (BeanDescriptor<?> d : descMap.values()) {\n d.initialiseId(initContext);\n }\n\n // PASS 2:\n // now initialise all the inherit info\n for (BeanDescriptor<?> d : descMap.values()) {\n d.initInheritInfo();\n }\n\n // PASS 3:\n // now initialise all the associated properties\n for (BeanDescriptor<?> d : descMap.values()) {\n // also look for intersection tables with\n // associated history support and register them\n // into the asOfTableMap\n d.initialiseOther(initContext);\n }\n\n // PASS 4:\n // now initialise document mapping which needs target descriptors\n for (BeanDescriptor<?> d : descMap.values()) {\n d.initialiseDocMapping();\n }\n\n // create BeanManager for each non-embedded entity bean\n for (BeanDescriptor<?> d : descMap.values()) {\n d.initLast();\n if (!d.isEmbedded()) {\n beanManagerMap.put(d.fullName(), beanManagerFactory.create(d));\n checkForValidEmbeddedId(d);\n }\n }\n }", "public void performAnalysis (Launcher launcher) {\n //Iterates through each class and method the program was supplied with\n for (CtClass<?> classObject : Query.getElements(launcher.getFactory(), new TypeFilter<CtClass<?>>(CtClass.class))) {\n for (CtMethod<?> methodObject : Query.getElements(classObject, new TypeFilter<CtMethod<?>>(CtMethod.class))) {\n //Counts the number of various types of decision points that calculate cyclomatic complexity\n int ifCount = 0, conditionCount = 0, forCount = 0, whileCount = 0, caseCount = 0;\n ifCount = countIfs(methodObject);\n conditionCount = countConditions(methodObject);\n forCount = countFors(methodObject);\n whileCount = countWhiles(methodObject);\n caseCount = countCases(methodObject);\n localresults.put(\"IF\", ifCount);\n localresults.put(\"CONDITIONS\", conditionCount);\n localresults.put(\"FOR\", forCount);\n localresults.put(\"WHILE\", whileCount);\n localresults.put(\"CASE\", caseCount);\n //Totals the values per method and adds them to the hashmap\n int total = ifCount + conditionCount + forCount + whileCount + caseCount;\n total += 1;\n totalCMCValue += total;\n classCMCScores.put(classObject.getQualifiedName()+\".\"+methodObject.getSimpleName(), total);\n }\n }\n }", "private void deployAnalysisEngines() throws AbortCPMException {\n // When restoring the CPM from a checkpoint, its processing pipeline must be restored\n // to a previous state. So all CasProcessors that were disabled during the previous run\n // will remain disabled. All stats will be recovered as well.\n // if (restoredProcTr != null)\n if (checkpointData != null) {\n // Restore CPM related stats from the checkppoint\n restoreFromCheckpoint(\"CPM\", \"CPM PROCESSING TIME\");\n }\n\n CasProcessorDeployer deployer = null;\n // Deploy each CASProcessor in a seperate container\n for (int i = 0; i < annotatorDeployList.size(); i++) {\n try {\n // Deployer deploys as many instances of CASProcessors as there are threads\n List cpList = (ArrayList) annotatorDeployList.get(i);\n String name = ((CasProcessor) cpList.get(0)).getProcessingResourceMetaData().getName();\n if (UIMAFramework.getLogger().isLoggable(Level.CONFIG)) {\n UIMAFramework.getLogger(this.getClass()).logrb(Level.CONFIG, this.getClass().getName(),\n \"initialize\", CPMUtils.CPM_LOG_RESOURCE_BUNDLE,\n \"UIMA_CPM_deploying_new_cp__CONFIG\",\n new Object[] { Thread.currentThread().getName(), name });\n }\n if (cpList.size() > 0) {\n\n //\n // Get a deployer for this type of CasProcessor. The type of deployer is determined from\n // the\n // CPE Configuration. Specifically from the deployment model for this CasProcessor. The\n // first\n //\n if (UIMAFramework.getLogger().isLoggable(Level.FINEST)) {\n UIMAFramework.getLogger(this.getClass()).logrb(Level.FINEST, this.getClass().getName(),\n \"initialize\", CPMUtils.CPM_LOG_RESOURCE_BUNDLE, \"UIMA_CPM_lookup_cp__FINEST\",\n new Object[] { Thread.currentThread().getName(), name });\n }\n if (!cpeFactory.casProcessorConfigMap.containsKey(name)) {\n if (UIMAFramework.getLogger().isLoggable(Level.SEVERE)) {\n UIMAFramework.getLogger(this.getClass()).logrb(Level.SEVERE,\n this.getClass().getName(), \"initialize\", CPMUtils.CPM_LOG_RESOURCE_BUNDLE,\n \"UIMA_CPM_invalid_processor_configuration__SEVERE\",\n new Object[] { Thread.currentThread().getName(), name });\n }\n throw new Exception(CpmLocalizedMessage.getLocalizedMessage(\n CPMUtils.CPM_LOG_RESOURCE_BUNDLE, \"UIMA_CPM_EXP_missing_cp__WARNING\",\n new Object[] { Thread.currentThread().getName(), name }));\n }\n CpeCasProcessor casProcessorCPEConfig = (CpeCasProcessor) cpeFactory.casProcessorConfigMap\n .get(name);\n if (casProcessorCPEConfig == null) {\n if (UIMAFramework.getLogger().isLoggable(Level.SEVERE)) {\n\n UIMAFramework.getLogger(this.getClass()).logrb(Level.SEVERE,\n this.getClass().getName(), \"initialize\", CPMUtils.CPM_LOG_RESOURCE_BUNDLE,\n \"UIMA_CPM_cp_configuration_not_defined__SEVERE\",\n new Object[] { Thread.currentThread().getName(), name });\n }\n throw new Exception(CpmLocalizedMessage.getLocalizedMessage(\n CPMUtils.CPM_LOG_RESOURCE_BUNDLE, \"UIMA_CPM_EXP_missing_cp__WARNING\",\n new Object[] { Thread.currentThread().getName(), name }));\n } else if (casProcessorCPEConfig.getDeployment() == null\n || casProcessorCPEConfig.getDeployment().trim().length() == 0) {\n if (UIMAFramework.getLogger().isLoggable(Level.SEVERE)) {\n UIMAFramework.getLogger(this.getClass()).logrb(Level.SEVERE,\n this.getClass().getName(), \"initialize\", CPMUtils.CPM_LOG_RESOURCE_BUNDLE,\n \"UIMA_CPM_cp_deployment_mode_not_defined__SEVERE\",\n new Object[] { Thread.currentThread().getName(), name });\n }\n throw new Exception(\n CpmLocalizedMessage.getLocalizedMessage(CPMUtils.CPM_LOG_RESOURCE_BUNDLE,\n \"UIMA_CPM_Exception_invalid_deployment__WARNING\",\n new Object[] { Thread.currentThread().getName(), name,\n casProcessorCPEConfig.getDeployment() }));\n }\n\n deployer = DeployFactory.getDeployer(cpeFactory, casProcessorCPEConfig, pca);\n // Deploy CasConsumer.\n ProcessingContainer container = deployer.deployCasProcessor(cpList, false);\n annotatorList.add(container);\n }\n } catch (Exception e) {\n UIMAFramework.getLogger(this.getClass()).logrb(Level.SEVERE, this.getClass().getName(),\n \"initialize\", CPMUtils.CPM_LOG_RESOURCE_BUNDLE,\n \"UIMA_CPM_cp_failed_to_start__SEVERE\",\n new Object[] { Thread.currentThread().getName(), e.getMessage() });\n\n throw new AbortCPMException(e.getMessage());\n }\n }\n\n }", "public void setup(){\r\n\r\n\t\t\tlogger.info(\"begin setting up the patches\");\r\n\r\n\t\t\t//Initialize the patches in the world.\r\n\t\t\tpatches = new Patch[numOfPathes][numOfPathes];\r\n\t\t\tfor(int i = 0; i < patches.length; i ++){\r\n\t\t\t\tfor(int j = 0; j < patches[i].length; j ++){\r\n\t\t\t\t\tpatches[i][j] = new Patch(i,j);\r\n\t\t\t\t\t//logger.info(\"generated x = \" + i + \"y = \" + j);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tlogger.info(\"begin setting up the agents\");\r\n\r\n\t\t\t//Generate agents and cops.\r\n\t\t\tagents = new Agent[numOfAgents];\r\n\t\t\tfor(int k = 0; k < numOfAgents; k ++){\r\n\t\t\t\tagents[k] = generateAgent();\r\n\t\t\t}\r\n\r\n\t\t\tlogger.info(\"finished setting up the agents\");\r\n\r\n\t\t\tlogger.info(\"begin setting up the cops\");\r\n\t\t\tcops = new Cop[numOfCops];\r\n\t\t\tfor(int k = 0; k < numOfCops; k ++){\r\n\t\t\t\tcops[k] = generateCop();\r\n\t\t\t}\r\n\r\n\t\t\tlogger.info(\"finished setting up the cops\");\r\n\r\n\t\t}", "public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}", "public LinkedList getAllProcessingContainers() {\n LinkedList all = new LinkedList();\n all.addAll(annotatorList);\n all.addAll(consumerList);\n return all;\n }", "public void buildMap(){\n this.map = new HashMap<String, String>();\n map.put(\"user\", \"user\");\n map.put(\"pw\", \"pass\");\n map.put(\"quit\", \"quit\");\n map.put(\"features\", \"feat\");\n map.put(\"cd\", \"cwd\");\n map.put(\"dir\", \"list\");\n map.put(\"get\", \"retr\");\n }", "public void extractBatchSetupInfo(ChartInfo oInfo) throws ModelException {\n super.extractBatchSetupInfo(oInfo);\n \n int iNumSizeClasses = 0;\n float fSizeClassSize = 0;\n try { \n JTextField jField = (JTextField)DataGrapher.findNamedComponent(\n oInfo.m_jExtraOptions, NUMBER_SIZE_CLASS_NAME);\n Integer oNumSizeClasses = Integer.valueOf(jField.getText());\n jField = (JTextField)DataGrapher.findNamedComponent(oInfo.m_jExtraOptions, \n SIZE_CLASS_SIZE_NAME);\n Float oSizeClassSize = Float.valueOf(jField.getText());\n iNumSizeClasses = oNumSizeClasses.intValue();\n fSizeClassSize = oSizeClassSize.floatValue();\n }\n catch (java.lang.NumberFormatException oErr) {\n throw (new ModelException(ErrorGUI.BAD_DATA, \"Stand Table Request\", \n \"The value for number \" +\n \"of size classes or size class size is not a recognized number.\")); \n }\n\n if (iNumSizeClasses <= 0 || fSizeClassSize <= 0) {\n throw (new ModelException(ErrorGUI.BAD_DATA, \"Stand Table Request\", \n \"The values for number\" +\n \" of size classes or size class size must be greater than zero.\")); \n }\n\n m_iNumSizeClasses = iNumSizeClasses;\n m_fSizeClassSize = fSizeClassSize;\n \n JCheckBox jCheckBox = (JCheckBox)DataGrapher.findNamedComponent(\n oInfo.m_jExtraOptions, INCLUDE_LIVE_NAME);\n m_bIncludeLive = jCheckBox.isSelected();\n jCheckBox = (JCheckBox)DataGrapher.findNamedComponent(\n oInfo.m_jExtraOptions, INCLUDE_SNAGS_NAME);\n m_bIncludeSnags = jCheckBox.isSelected();\n\n //Make the size classes array\n mp_fSizeClasses = null;\n mp_fSizeClasses = new double [m_iNumSizeClasses];\n for (int i = 0; i < m_iNumSizeClasses; i++) {\n mp_fSizeClasses[i] = m_fSizeClassSize * (i + 1);\n } \n \n declareArrays();\n }", "public void printInfo(){\n\t\tSystem.out.println(\"id : \" + id + \" label : \" + label);\n\t\tSystem.out.println(\"vms : \" );\n\t\tfor(VirtualMachine v : vms){\n\t\t\tv.printInfo();\n\t\t}\n\t}", "private void buildSymbolTables() {\n new SymbolsTableBuilder(data).read(this);//.dump();\n }", "public ProcessDataMapper() {\t}", "public void buildSubClassInfo() {\n\t\twriter.writeSubClassInfo();\n\t}", "private void classifyCasProcessors() throws Exception {\n boolean allowReorder = true;\n // Walk the list of Cas Processor backwards. The list of Cas Processors is actually a list of\n // lists.\n // Each sub-list contains instances of the same type of Cas Processor.\n for (int i = initial_cp_list.size(); i > 0; i--) {\n // Get the sub-list containing instances of Cas Processor\n ArrayList cp_instance_list = (ArrayList) initial_cp_list.get(i - 1);\n\n String previous = \"\"; // hold the previous name of the Cas Processor\n\n // Check the list of CP instances to check if its parallelizable\n for (int j = 0; j < cp_instance_list.size(); j++) {\n CasProcessor cp = (CasProcessor) cp_instance_list.get(j);\n String name = cp.getProcessingResourceMetaData().getName();\n // Check if the CP is parallelizable\n boolean parallizable = isParallizable(cp, name);\n\n // If Cas Processor is not parallizable and we have not yet hit a parallizable component\n // place the Cas Processor in a pipeline that supports single instance components\n if (!parallizable && allowReorder) {\n // There should only be one instance. The current implementation supports placing\n // non-parallizable Analysis Engines in the Cas Consumer Pipeline.\n if (!previous.equals(name)) {\n addCasConsumer(cp, name);\n }\n } else {\n // Hit the parallizable Cas Processor. From this point of all Cas Processors will be added\n // to the main processing pipeline ( as opposed to Cas Consumer Pipeline)\n allowReorder = false;\n // If the Cas Processor is non-parallizable ad just one instance of it to the Pipeline.\n if (parallizable || !previous.equals(name)) {\n addParallizableCasProcessor(cp, name);\n }\n }\n if (!parallizable) {\n cp_instance_list.remove(0);\n }\n previous = name;\n }\n }\n }", "java.util.List<java.lang.String>\n getProcessorList();", "private void buildProbTree() {\n\t\tif (probArray_ == null)\n\t\t\tprobArray_ = new double[elementArray_.length];\n\t\t// Iterate through the items\n\t\tdouble sumProb = 0;\n\t\tfor (int i = 0; i < elementArray_.length; i++) {\n\t\t\tif (sumProb >= 1)\n\t\t\t\tbreak;\n\n\t\t\tsumProb += itemProbs_.get(elementArray_[i]);\n\t\t\tprobArray_[i] = sumProb;\n\t\t}\n\t\trebuildProbs_ = false;\n\t}", "public Process() {\t// constructor with empty parameter\r\n\t\tthis.priority = -1;\t// int value will be -1\r\n \tthis.type = null;\t// String object initialized to null\r\n\t}", "private void createSchemaInfo() {\n\t\tfor (String tableName : tableSchemas.keySet()) {\n\t\t\tERWinSchemaInfo schemaInfo = new ERWinSchemaInfo();\n\t\t\tschemaInfo.setType(\"user\");\n\t\t\tschemaInfo.setUniqueName(tableName);\n\t\t\tschemaInfos.put(tableName, schemaInfo);\n\t\t}\n\n\t\tinitCache();\n\t\tparseKeyGroupGroups();\n\n\t\tparseEntityProps();\n\t\tparseRelationGroups();\n\t\tparseAttributes();\n\n\t\tcreateSchemaDDL();\n\t}", "public MessageProcessorMetaData[] getMessageProcessorDataList() throws AxisFault {\n final Lock lock = getLock();\n try {\n lock.lock();\n SynapseConfiguration configuration = getSynapseConfiguration();\n Collection<String> names = configuration.getMessageProcessors().keySet();\n\n List<MessageProcessorMetaData> messageProcessorDataList = new ArrayList<MessageProcessorMetaData>();\n if (names != null && !names.isEmpty()) {\n for (String name : names) {\n MessageProcessor messageProcessor = configuration.getMessageProcessors().get(name);\n MessageProcessorMetaData data = new MessageProcessorMetaData();\n data.setName(name);\n if (messageProcessor.getArtifactContainerName() != null) {\n data.setArtifactContainerName(messageProcessor.getArtifactContainerName());\n }\n if (messageProcessor.isEdited()) {\n data.setIsEdited(true);\n }\n messageProcessorDataList.add(data);\n }\n }\n return messageProcessorDataList.toArray(new MessageProcessorMetaData[messageProcessorDataList.size()]);\n\n } finally {\n lock.unlock();\n }\n }", "private Map<String, String> extractConfiguredPropertyValues(ProcessorNode processor, ProcessorDTO processorDTO) {\n Map<String, String> values = new HashMap<>();\n\n if (processorDTO.getName() != null) {\n values.put(NAME, processor.getName());\n }\n if (processorDTO.getBundle() != null) {\n final BundleCoordinate bundle = processor.getBundleCoordinate();\n values.put(EXTENSION_VERSION, formatExtensionVersion(processor.getComponentType(), bundle));\n }\n if (processorDTO.getConfig() != null) {\n ProcessorConfigDTO newConfig = processorDTO.getConfig();\n if (newConfig.getConcurrentlySchedulableTaskCount() != null) {\n values.put(CONCURRENTLY_SCHEDULABLE_TASKS, String.valueOf(processor.getMaxConcurrentTasks()));\n }\n if (newConfig.getPenaltyDuration() != null) {\n values.put(PENALTY_DURATION, processor.getPenalizationPeriod());\n }\n if (newConfig.getYieldDuration() != null) {\n values.put(YIELD_DURATION, processor.getYieldPeriod());\n }\n if (newConfig.getBulletinLevel() != null) {\n values.put(BULLETIN_LEVEL, processor.getBulletinLevel().name());\n }\n if (newConfig.getAnnotationData() != null) {\n values.put(ANNOTATION_DATA, processor.getAnnotationData());\n }\n if (newConfig.getSchedulingPeriod() != null) {\n values.put(SCHEDULING_PERIOD, String.valueOf(processor.getSchedulingPeriod()));\n }\n if (newConfig.getAutoTerminatedRelationships() != null) {\n // get each of the auto terminated relationship names\n final Set<Relationship> autoTerminatedRelationships = processor.getAutoTerminatedRelationships();\n final List<String> autoTerminatedRelationshipNames = new ArrayList<>(autoTerminatedRelationships.size());\n for (final Relationship relationship : autoTerminatedRelationships) {\n autoTerminatedRelationshipNames.add(relationship.getName());\n }\n\n // sort them and include in the configuration\n Collections.sort(autoTerminatedRelationshipNames, Collator.getInstance(Locale.US));\n values.put(AUTO_TERMINATED_RELATIONSHIPS, StringUtils.join(autoTerminatedRelationshipNames, \", \"));\n }\n if (newConfig.getProperties() != null) {\n // for each property specified, extract its configured value\n Map<String, String> properties = newConfig.getProperties();\n Map<PropertyDescriptor, String> configuredProperties = processor.getRawPropertyValues();\n for (String propertyName : properties.keySet()) {\n // build a descriptor for getting the configured value\n PropertyDescriptor propertyDescriptor = new PropertyDescriptor.Builder().name(propertyName).build();\n String configuredPropertyValue = configuredProperties.get(propertyDescriptor);\n\n // if the configured value couldn't be found, use the default value from the actual descriptor\n if (configuredPropertyValue == null) {\n propertyDescriptor = locatePropertyDescriptor(configuredProperties.keySet(), propertyDescriptor);\n configuredPropertyValue = propertyDescriptor.getDefaultValue();\n }\n values.put(propertyName, configuredPropertyValue);\n }\n }\n if (newConfig.getComments() != null) {\n values.put(COMMENTS, processor.getComments());\n }\n if (newConfig.getSchedulingStrategy() != null) {\n values.put(SCHEDULING_STRATEGY, processor.getSchedulingStrategy().name());\n }\n if (newConfig.getExecutionNode() != null) {\n values.put(EXECUTION_NODE, processor.getExecutionNode().name());\n }\n\n if (newConfig.getRetryCount() != null) {\n values.put(RETRY_COUNT, String.valueOf(processor.getRetryCount()));\n }\n\n if (newConfig.getRetriedRelationships() != null) {\n final List<String> retriedRelationships = new ArrayList<>(processor.getRetriedRelationships());\n Collections.sort(retriedRelationships, Collator.getInstance(Locale.US));\n values.put(RETRIED_RELATIONSHIPS, StringUtils.join(retriedRelationships, \", \"));\n }\n\n if (newConfig.getBackoffMechanism() != null) {\n values.put(BACKOFF_MECHANISM, processor.getBackoffMechanism().name());\n }\n\n if (newConfig.getMaxBackoffPeriod() != null) {\n values.put(MAX_BACKOFF_PERIOD, processor.getMaxBackoffPeriod());\n }\n }\n\n return values;\n }", "public MemoryInfo(com.google.appinventor.components.runtime.ComponentContainer r7) {\n /*\n r6 = this;\n r1 = r6\n r2 = r7\n r3 = r1\n r4 = r2\n com.google.appinventor.components.runtime.Form r4 = r4.$form()\n r3.<init>(r4)\n r3 = r1\n r4 = 1048576(0x100000, double:5.180654E-318)\n r3.hxYOFxFjLpN1maJuWNxUV40nExCGxsxkDPOTgtzMu4zlZCQb3bPlKsXo1SYJg6ME = r4\n r3 = r1\n r4 = r2\n android.app.Activity r4 = r4.$context()\n r3.context = r4\n r3 = r1\n r4 = r2\n r3.container = r4\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.appinventor.components.runtime.MemoryInfo.<init>(com.google.appinventor.components.runtime.ComponentContainer):void\");\n }", "public void startPopulateWorkers(){\r\n\t\tArrayList<Thread> threads = new ArrayList<Thread>();\r\n\t\t\r\n\t\t//Create threads\r\n\t\tfor(int i = 0; i < pts.length; i++){\r\n\t\t\tthreads.add(new Thread(pts[i]));\r\n\t\t\tthreads.get(i).start();\r\n\t\t}\r\n\t\t\r\n\t\t//Wait for threads to finish\r\n\t\tfor(int i = 0; i < pts.length; i++){\r\n\t\t\ttry {\r\n\t\t\t\tthreads.get(i).join();\r\n\t\t\t} catch (InterruptedException e) {\r\n\t\t\t\tthrow new RuntimeException(e.getMessage());\r\n\t\t\t}\r\n\t\t}\r\n\t}", "@Override\r\n\tpublic String toString() {\n\t\treturn \"Process priority=\" + priority + \", type=\" + type;\r\n\t}", "public void showProcesses() {\n\t\tList<RunningAppProcessInfo> infos=am.getRunningAppProcesses();\n\t\tadapter.clear();\n\t\t\n\t\t\n\t\tProcessesListCellData data;\n\t\t\n\t\tfor (RunningAppProcessInfo info : infos) {\n\t\t\t\n\t\t\tdata=new ProcessesListCellData(this,info);\n\t\t\tif (data.appName!=null&&!data.appName.equals(\"\")) {\n\t\t\t\tadapter.addCellData(data);\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tMemoryInfo memInfo=new MemoryInfo();\n\t\tam.getMemoryInfo(memInfo);\n\t\tsetTitle(\"进程管理器,可用内存:\"+memInfo.availMem/1024/1024+\"M\");\n\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\t\tmCpuinfo = ShellHelper.getProc(CPU_INFO_PROC);\n\t\t\t\tupdateCpuStats();\n\t\t\t\tfor (LogicalCpu c : mLogicalCpus) {\n\t\t\t\t\tc.updateFrequency();\n\t\t\t\t\tc.updateGovernor();\n\t\t\t\t\tc.updateTimeInFrequency();\n\t\t\t\t\tc.updateTotalTransitions();\n\t\t\t\t}\n\t\t\t}", "protected void parseProcessDefinitions() {\n\n List<XmlElement> processes = rootElement.getElements(\"process\");\n\n if (processes.size() == 0) {\n String errorMessage = \"No process have been defined in the BPMN serialized XMl file.\";\n throw new JodaEngineRuntimeException(errorMessage);\n }\n if (processes.size() > 1) {\n String errorMessage = \"Joda Engine cannot read more than one process in a BPMN serialized XMl file.\";\n throw new JodaEngineRuntimeException(errorMessage);\n }\n\n parseProcess(processes.get(0));\n }", "private ManufactureProcess createNewManufactureProcess() {\n\t\tManufactureProcess result = null;\n\n\t\tif (workshop.getTotalProcessNumber() < workshop.getSupportingProcesses()) {\n\n\t\t\tint skillLevel = getEffectiveSkillLevel();\n\t\t\tint techLevel = workshop.getTechLevel();\n\n\t\t\t// Determine all manufacturing processes that are possible and profitable.\n\t\t\tMap<ManufactureProcessInfo, Double> processProbMap = new HashMap<ManufactureProcessInfo, Double>();\n\t\t\tIterator<ManufactureProcessInfo> i = ManufactureUtil\n\t\t\t\t\t.getManufactureProcessesForTechSkillLevel(techLevel, skillLevel).iterator();\n\t\t\twhile (i.hasNext()) {\n\t\t\t\tManufactureProcessInfo processInfo = i.next();\n\t\t\t\tif (ManufactureUtil.canProcessBeStarted(processInfo, workshop)) {\n\t\t\t\t\tdouble processValue = 0;\n\t\t\t\t\tif (person != null)\n\t\t\t\t\t\tprocessValue = ManufactureUtil.getManufactureProcessValue(processInfo, person.getSettlement());\n\t\t\t\t\telse if (robot != null)\n\t\t\t\t\t\tprocessValue = ManufactureUtil.getManufactureProcessValue(processInfo, robot.getSettlement());\n\n\t\t\t\t\tif (processValue > 0D) {\n\t\t\t\t\t\tprocessProbMap.put(processInfo, processValue);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Randomly choose among possible manufacturing processes based on their\n\t\t\t// relative profitability.\n\t\t\tManufactureProcessInfo chosenProcess = null;\n\t\t\tif (!processProbMap.isEmpty()) {\n\t\t\t\tchosenProcess = RandomUtil.getWeightedRandomObject(processProbMap);\n\t\t\t}\n\n\t\t\t// Create chosen manufacturing process.\n\t\t\tif (chosenProcess != null) {\n\t\t\t\tresult = new ManufactureProcess(chosenProcess, workshop);\n\t\t\t\tworkshop.addProcess(result);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t}", "public void buildExecutable(T processIntObject) {\n this.executableMap.put(counter++, new FutureVo(processIntObject));\n }", "public Map<String, String> findProcessTypeName() {\n\t\tList<WorkflowVersionDTO> versions = workflowVersionService.findActiveWorkflowVersion();\n\t\tMap<String, String> map = new HashMap<>(versions.size());\n\t\tfor (WorkflowVersionDTO version : versions) {\n\t\t\tmap.put(version.getProcessType(), version.getProcessName());\n\t\t}\n\n\t\treturn sortByValue(map);\n\t}", "@PostConstruct\n public void init() {\n for (final Entry<String, Set<String>> aggregateEntry : processor.getTaskIndex().entrySet()) {\n final AggregateStopwatch stopwatchEntry = new AggregateStopwatch();\n\n aggregatedTasks.put(aggregateEntry.getKey(), stopwatchEntry);\n\n for (final String nameEntry : aggregateEntry.getValue()) {\n logger.info(\"adding stopwatchEntry - aggregate: \" + aggregateEntry.getKey() + \" task: \" + nameEntry);\n stopwatchEntry.getTimedTasks().put(nameEntry, new TaskStopwatch());\n }\n }\n }", "public ArrayList<Process> generateProcesses() {\n int letterCounter = 65;\n int firstNumber = 1;\n float arrivalTime;\n float expectedTime;\n int priority;\n \n\n generator = new Random(RandomSeed); //paramater is seed used for random number generator\n\n for (int i = 0; i < numProcesses; i++) {\n String name = \"\";\n //create random number for arrival time\n arrivalTime = (float) (generator.nextDouble() * 99.0);\n //create random number for expected run time\n expectedTime = (float) (generator.nextDouble() * 9.9 + 0.1);\n //create random number for priority\n priority = generator.nextInt(4) + 1;\n //create new Process object and pass in these four\n\n if (letterCounter < 91) {\n name += firstNumber + \"-\" + (char) (letterCounter);\n letterCounter++;\n } else {\n letterCounter = 65;\n firstNumber++;\n name += firstNumber + \"-\" + (char) (letterCounter);\n letterCounter++;\n }\n \n\n newProcess = new Process(arrivalTime, expectedTime, priority, name);\n //put the Process object in array processArray using i as index\n processArrayList.add(newProcess);\n\n //System.out.print(newProcess.toString());\n /*System.out.println(processArrayList.get(i).getArrivalTime()\n + \" \" + processArrayList.get(i).getExpectedTime()\n + \" \" + processArrayList.get(i).getPriority());\n */\n }\n //System.out.println(\"\\n \");\n\n unsortedArrayList = new ArrayList<>();\n unsortedArrayList = (ArrayList<Process>)processArrayList.clone();\n \n Collections.sort(processArrayList, new Comparator<Process>() {\n @Override\n public int compare(Process process1, Process process2) {\n if (process1.getArrivalTime() < process2.getArrivalTime()) {\n return -1;\n }\n if (process1.getArrivalTime() > process2.getArrivalTime()) {\n return +1;\n }\n return 0;\n }\n });\n\n /* for(int i = 0; i < numProcesses; i++){\n \n System.out.println(\"arrival time: \" + processArrayList.get(i).getArrivalTime()\n + \" \" + processArrayList.get(i).getExpectedTime()\n + \" \" + processArrayList.get(i).getPriority());\n }*/\n return processArrayList;\n }", "protected List<Info> getInfo() {\n\n return (List<Info>) getExtraData().get(ProcessListener.EXTRA_DATA_INFO);\n }", "public PassengerInfos(){\r\n\t\tthis.serial = 0;\r\n\t\tthis.phone = VAL_DEFAULT_STRING;\r\n\t\tthis.name = VAL_DEFAULT_STRING;\r\n\t\tthis.recordDesc = this.name;\r\n\t\tthis.addressInfos = new AddressInfos();\r\n\t\tthis.selected = false;\r\n\t\tthis.bigpackages = 0;\r\n\t}", "private void addParallizableCasProcessor(CasProcessor aProcessor, String aCpName)\n throws Exception {\n UIMAFramework.getLogger(this.getClass()).log(Level.CONFIG, \"Adding new annotator:\" + aCpName);\n if (analysisEngines.containsKey(aCpName)) {\n if (UIMAFramework.getLogger().isLoggable(Level.CONFIG)) {\n UIMAFramework.getLogger(this.getClass()).logrb(Level.CONFIG, this.getClass().getName(),\n \"initialize\", CPMUtils.CPM_LOG_RESOURCE_BUNDLE,\n \"UIMA_CPM_add_pcp_to_existing_list__CONFIG\",\n new Object[] { Thread.currentThread().getName(), aCpName });\n }\n int listIndex = getIndexInList(annotatorDeployList, aCpName);\n ((List) annotatorDeployList.get(listIndex)).add(aProcessor);\n } else {\n ArrayList newList = new ArrayList();\n newList.add(0, aProcessor);\n analysisEngines.put(aCpName, newList);\n annotatorDeployList.add(0, newList);\n if (UIMAFramework.getLogger().isLoggable(Level.CONFIG)) {\n\n UIMAFramework.getLogger(this.getClass()).logrb(Level.CONFIG, this.getClass().getName(),\n \"initialize\", CPMUtils.CPM_LOG_RESOURCE_BUNDLE,\n \"UIMA_CPM_add_pcp_to_new_list__CONFIG\",\n new Object[] { Thread.currentThread().getName(), aCpName });\n }\n if (cpeFactory.isDefault()) {\n cpeFactory.addCasProcessor(aProcessor);\n }\n }\n\n }", "public interface IProcessInformation {\n /**\n * Gets the processId.\n */\n long processId();\n\n /**\n * Gets the user of the process.\n */\n Optional<String> user();\n\n /**\n * Gets the arguments of the process.\n */\n Optional<String[]> arguments();\n\n /**\n * Gets the executable pathname of the process.\n */\n Optional<String> command();\n\n /**\n * Gets the command line of the process.\n */\n Optional<String> commandLine();\n\n /**\n * Gets the start time of the process.\n */\n Optional<Instant> startTime();\n\n /**\n * Gets the total cpu time of the process.\n */\n Optional<Duration> totalCpuTime();\n}", "private void createVTables() {\n this.vTable = new HashMap<String, Map>();\n\n Map classes = this.declaredTypes.getClasses();\n Iterator cls_it = classes.entrySet().iterator();\n while(cls_it.hasNext()) {\n Map.Entry clsMapEntry = (Map.Entry)cls_it.next();\n\n String clsName = (String)clsMapEntry.getKey();\n ClassNode clsNode = (ClassNode)clsMapEntry.getValue();\n\n Map methods = collectVtableMethods(clsName, clsNode, classes);\n\n List<ClassNode> clsRel = createClsRelList(clsNode, classes);\n HashMap<String, Integer> clsVTable = constructTableEntry(clsName,\n methods,\n clsRel,\n clsNode);\n this.vTable.put(clsName, clsVTable);\n }\n }", "public MemoryEntryInfo createMemoryEntryInfo() {\n\t\tMemoryEntryInfo info = new MemoryEntryInfo(new HashMap<String, Object>(this.info.getProperties()));\n\t\tinfo.getProperties().put(MemoryEntryInfo.FILE_MD5, md5);\n\t\tinfo.getProperties().put(MemoryEntryInfo.FILENAME, fileName);\n\t\tinfo.getProperties().put(MemoryEntryInfo.OFFSET, fileoffs);\n\t\treturn info;\n\t}", "protected void prepare()\n\t{\n\t\tProcessInfoParameter[] para = getParameter();\n\t\tfor (int i = 0; i < para.length; i++)\n\t\t{\n\t\t\tString name = para[i].getParameterName();\n\t\t\t\n\t\t\tif (name.equals(\"Action\"))\n\t\t\t\tp_Action = para[i].getParameterAsString();\n\t\t\telse\n\t\t\t\tlog.log(Level.SEVERE, \"Unknown Parameter: \" + name);\n\t\t}\n\t\tp_Hospitalization_ID=getRecord_ID();\n\t}", "private void generalFeatureExtraction () {\n Logger.log(\"Counting how many calls each method does\");\n Chain<SootClass> classes = Scene.v().getApplicationClasses();\n try {\n for (SootClass sclass : classes) {\n if (!isLibraryClass(sclass)) {\n System.out.println(ConsoleColors.RED_UNDERLINED + \"\\n\\n 🔍🔍 Checking invocations in \" +\n sclass.getName() + \" 🔍🔍 \" + ConsoleColors.RESET);\n List<SootMethod> methods = sclass.getMethods();\n for (SootMethod method : methods) {\n featuresMap.put(method, new Features(method));\n }\n }\n }\n } catch (Exception e) { \n }\n System.out.println(\"\\n\");\n }", "protected void parseProcess(XmlElement processElement) {\n\n // Reset all mappings that are related to one process definition\n // sequenceFlows = new HashMap<String, TransitionImpl>();\n\n // The name of the ProcessDefinition is the value of 'name' attribute, in case that it is defined.\n String processName;\n if (processElement.getAttribute(\"name\") == null || processElement.getAttribute(\"name\").isEmpty()) {\n\n processName = processElement.getAttribute(\"id\");\n } else {\n\n processName = processElement.getAttribute(\"name\");\n }\n processBuilder.setName(processName);\n\n processBuilder.setDescription(parseDocumentation(processElement));\n processBuilder.setAttribute(\"targetNamespace\", rootElement.getAttribute(\"targetNamespace\"));\n\n parseElements(processElement);\n\n //\n // preserve original attributes\n //\n parseGeneralInformation(processElement, processBuilder);\n\n try {\n\n BpmnProcessDefinitionModifier.decorateWithDefaultBpmnInstantiationPattern(processBuilder);\n this.finishedProcessDefinition = processBuilder.buildDefinition();\n } catch (IllegalStarteventException buildingDefinitionException) {\n\n String errorMessage = \"The processDefintion could be built.\";\n logger.error(errorMessage, buildingDefinitionException);\n }\n\n // Doing the afterwork\n for (BpmnXmlParseListener parseListener : parseListeners) {\n parseListener.parseProcess(processElement, finishedProcessDefinition);\n }\n }", "public Map createBuffer() {\n // Get the available processors, processors==threads is probably best?\n Runtime runtime = Runtime.getRuntime();\n int nProcessors = runtime.availableProcessors();\n int nThreads = 1; // nProcessors/2;\n compute();\n return serviceArea;\n }", "public List<Processor> getProcessors() {\n return processors;\n }", "public ProcessData buildGrpc(ProcessDataDTO dto) throws JsonProcessingException {\n\t\tBuilder builder = ProcessData.newBuilder();\n\t\tbuilder.setId(dto.getId() == null ? \"\" : dto.getId());\n\t\tbuilder.setDataTypeId(dto.getDataTypeId());\n\t\tbuilder.setThingGroupId(dto.getThingGroupId());\n\t\tbuilder.setCreatedAt(Timestamp.newBuilder().setSeconds(\n\t\t\t\t\tdto.getCreatedAt().getTime()));\n\t\tbuilder.setPayload(dto.getPayload());\n\t\t\n\t\treturn builder.build();\n\t}", "private void populateFieldArray() \r\n\t{\r\n\t\tInteger fieldId;\r\n\t\t/** get input column names which is populated based on the input file\r\n\t\t * format specified in the command file */\r\n\t\tString [] inputColNames = getInputColNames();\r\n\t\tint arrLength; /** Number of columns in the input file*/\r\n\t\tif (null == inputColNames)\r\n\t\t{\r\n\t\t\t/** set array length 2 for two default columns (probeset and chip description)*/\r\n\t\t\tarrLength = 2; \r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\t/** Basic Probeset ID and description fields are present for all files \r\n\t\t\t * but the other supplementary information like accession number, unigene and\r\n\t\t\t * entrezgene ids may be present one or many based on the file format */\r\n\t\t\tarrLength = 2 + inputColNames.length; /** add other columns*/\r\n\t\t}\r\n\t\t/** Field array base elements are Probeset and Chip_Desc plus any of acc_no, ugid, & locusid/organism */\r\n\t\tfieldIndexArray = new int [arrLength];\r\n\t\t\r\n\t\t/** Now 0th field in input file is probeset*/\r\n\t\tfieldIndexArray[0] = ((Integer) fieldIdTable.get(\"CIN_PROBESET\")).intValue();\r\n\t\t\r\n\t\tif (inputColNames != null) \r\n\t\t{\r\n\t\t\t/** get the field ids for all column names*/\r\n\t\t\tfor (int i=0; i< inputColNames.length; i++)\r\n\t\t\t{\r\n\t\t\t\t/** Pick up the column from the list of inout columns as obtained based on\r\n\t\t\t\t * the input file format. Then fetch its ID from the FieldIdTable */\r\n\t\t\t\tfieldId = (Integer) fieldIdTable.get(inputColNames[i].toUpperCase());\r\n\t\t\t\tif (null == fieldId)\r\n\t\t\t\t{\r\n\t\t\t\t\t/** no such column name allowed*/\r\n\t\t\t\t\tLogger.log(\"Column name \" + inputColNames[i] + \" is not a valid name\",Logger.WARNING);\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\t/** add the field id to the index array. Thus fieldIndexArray will have all the \r\n\t\t\t\t\t * column names depending on the file format*/\r\n\t\t\t\t\tfieldIndexArray[1+i] = fieldId.intValue();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t/** ChipDesc field is the last column in the input file. First we have added the default first field\r\n\t\t * as probeset id , then all the middle fields based on the file format and now the last default\r\n\t\t * field which is chipdescription */\r\n\t\tfieldIndexArray[fieldIndexArray.length-1] = ((Integer) fieldIdTable.get(\"CIN_CHIP_DESCRIPTION\")).intValue();\r\n\t\tLogger.log(\"populateFieldArray complete \",Logger.DEBUG);\r\n\t}" ]
[ "0.5466452", "0.5191561", "0.5172078", "0.51384646", "0.50308037", "0.5028454", "0.5012853", "0.49505657", "0.49159732", "0.48950619", "0.4871593", "0.48617834", "0.48583788", "0.4856609", "0.48190904", "0.47481847", "0.474199", "0.46849418", "0.46782872", "0.4661068", "0.46361232", "0.46195635", "0.4619141", "0.46039245", "0.46005365", "0.46004912", "0.4596864", "0.4577075", "0.45708266", "0.45631504", "0.45580122", "0.4550201", "0.45467916", "0.4516411", "0.45022324", "0.44997793", "0.4494811", "0.44839796", "0.44710648", "0.4468103", "0.44594783", "0.4453834", "0.44368708", "0.4436449", "0.4434312", "0.44261685", "0.44220307", "0.44156134", "0.4415284", "0.4413111", "0.44086665", "0.44063476", "0.43959874", "0.43895626", "0.43859076", "0.4385387", "0.43750802", "0.4358365", "0.43432543", "0.4343159", "0.4337814", "0.43373778", "0.43334603", "0.43258247", "0.43191832", "0.43129593", "0.42969877", "0.42954913", "0.4294843", "0.42926612", "0.42913452", "0.42912313", "0.42874357", "0.42864174", "0.42862144", "0.42808187", "0.4279269", "0.42790154", "0.4277112", "0.42740285", "0.4273387", "0.42713517", "0.42583224", "0.4255412", "0.42467433", "0.42459214", "0.4233427", "0.4224835", "0.4223978", "0.42166647", "0.42113793", "0.42096817", "0.420275", "0.42015788", "0.41948432", "0.41941822", "0.4186672", "0.41828507", "0.4177264", "0.41702724" ]
0.49291393
8
Find the currently focused view, so we can grab the correct window token from it.
public static void hideKeyboard(Activity activity) { View view = activity.getCurrentFocus(); //If no view currently has focus, create a new one, just so we can grab a window token from it if(view != null) { InputMethodManager inputMethodManager = (InputMethodManager) activity.getSystemService(Activity.INPUT_METHOD_SERVICE); inputMethodManager.hideSoftInputFromWindow(view.getWindowToken(), 0); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public WindowState findFocusedWindow() {\n this.mTmpWindow = null;\n forAllWindows(this.mFindFocusedWindow, true);\n WindowState windowState = this.mTmpWindow;\n if (windowState != null) {\n return windowState;\n }\n if (WindowManagerDebugConfig.DEBUG_FOCUS_LIGHT) {\n Slog.v(TAG, \"findFocusedWindow: No focusable windows.\");\n }\n return null;\n }", "public WindowState findFocusedWindowIfNeeded(int topFocusedDisplayId) {\n if (this.mWmService.mPerDisplayFocusEnabled || topFocusedDisplayId == -1) {\n return findFocusedWindow();\n }\n return null;\n }", "public abstract @Nullable View getKeyboardFocusView();", "private int getCurrentWindow() {\n // Subscribe to window information\n AccessibilityServiceInfo info = mUiAutomation.getServiceInfo();\n info.flags |= AccessibilityServiceInfo.FLAG_RETRIEVE_INTERACTIVE_WINDOWS;\n mUiAutomation.setServiceInfo(info);\n\n AccessibilityNodeInfo activeWindowRoot = mUiAutomation.getRootInActiveWindow();\n\n for (AccessibilityWindowInfo window : mUiAutomation.getWindows()) {\n if (window.getRoot().equals(activeWindowRoot)) {\n return window.getId();\n }\n }\n throw new RuntimeException(\"Could not find active window\");\n }", "public int getFocusedIndex()\n {\n return focusedIndex;\n }", "public static Focus getCurrent()\n {\n /* #ifdef JAVA2 */\n Object obj = current.get();\n if (obj == null)\n {\n\tobj = new Focus();\n\tcurrent.set(obj);\n }\n return (Focus) obj;\n /* #endif */\n /* #ifndef JAVA2 */\n // return current;\n /* #endif */\n }", "View getActiveView();", "public GComponent getFocusedComponent()\n {\n return this.focusedComponent;\n }", "ChatTarget getFocus();", "@Nullable\n public JComponent getPreferredFocusedComponent() {\n return myEditor;\n }", "public int getCurrentFocusedPosition() {\n return mCurrentFocusedPopItemPosition;\n }", "public Component getFocusOwner() {\n return (isFocused()) ? \n KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusOwner()\n : null;\n }", "public synchronized IWorkbenchWindow getCurrentWindow() {\n return currentWindow;\n }", "public AppWindowToken getAppWindowToken(IBinder binder) {\n WindowToken token = getWindowToken(binder);\n if (token == null) {\n return null;\n }\n return token.asAppWindowToken();\n }", "public Component getGlobalFocusOwner()\n {\n return ocapKFM.getFocusOwner();\n }", "@DISPID(1610743812) //= 0x60020004. The runtime will prefer the VTID if present\r\n @VTID(11)\r\n uic.prominent.ScreenLogging.wsh.FolderItem focusedItem();", "public WindowToken getWindowToken(IBinder binder) {\n return this.mTokenMap.get(binder);\n }", "public static IWorkbenchWindow getActiveWorkbenchWindow() {\n if (getDefault() == null) {\n return null;\n }\n IWorkbench workBench = getDefault().getWorkbench();\n if (workBench == null) {\n return null;\n }\n return workBench.getActiveWorkbenchWindow();\n }", "public Window getWindow() {\n\t\treturn selectionList.getScene().getWindow();\n\t}", "public String getCurrentHandle()\n\t{\n\t\treturn driver.getWindowHandle();\n\t}", "public Control getFocus()\r\n\t{\r\n\treturn _focus;\r\n\t}", "public void getNativePreviewWindowId();", "public View getTopView() {\n\t\tint topViewIndex = getChildCount() - 1;\n\t\treturn getChildAt(topViewIndex);\n\t}", "public static SuiContainer getFocusOwner() {\r\n \t//focus owner becomes null if the last wasn't focusable/visible\r\n \treturn (focusOwner!=null&& \r\n \t\t\t\t(!focusOwner.isFocusable()||!focusOwner.isVisible())\r\n \t\t\t\t\t) ? (focusOwner=null) : focusOwner;\r\n }", "public String getLegalWindow() {\n\t\tif(driver.getWindowHandles().isEmpty())\n\t\t\treturn null;\n\t\t\n\t\treturn driver.getWindowHandles().iterator().next();\n\t}", "public boolean getFocused() {\n return getPolymerElement().getFocused();\n }", "public SAPTopLevelTestObject getActiveWindow(){\n\t\treturn new SAPTopLevelTestObject(mainWnd);\n\t}", "public AccessibilityNodeInfo findFocus(int focus) {\n/* 118 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "@Ignore(\"b/72154153\")\n @Test\n public void testFocusedViewInNormalCase() {\n controller.menuHelper.showMenu();\n controller.menuHelper.assertNavigateToPlayControlsRow();\n assertButtonHasFocus(BUTTON_ID_PLAY_PAUSE);\n controller.pressBack();\n }", "private Window getWindow() {\r\n return root.getScene().getWindow();\r\n }", "public JRootPane findRootPaneFor(View view) {\n JRootPane pane = super.findRootPaneFor(view);\n\n if (pane != null) {\n return pane;\n }\n\n if (((SwingView) view).getDisplayMode() != SwingView.PRIMARY_WINDOW) {\n return pane;\n }\n\n return frame.getRootPane();\n }", "private int findIdxBasedOnAppTokens(WindowState win) {\r\n //use a local variable to cache mWindows\r\n ArrayList<WindowState> localmWindows = mWindows;\r\n int jmax = localmWindows.size();\r\n if(jmax == 0) {\r\n return -1;\r\n }\r\n for(int j = (jmax-1); j >= 0; j--) {\r\n WindowState wentry = localmWindows.get(j);\r\n if(wentry.mAppToken == win.mAppToken) {\r\n return j;\r\n }\r\n }\r\n return -1;\r\n }", "public abstract int getRootView();", "public synchronized IEditorPart getActiveEditor() {\n return activeEditorMap.get(currentWindow);\n }", "@VisibleForTesting\n public SurfaceControl computeImeParent() {\n WindowState windowState = this.mInputMethodTarget;\n if (windowState == null || windowState.mAppToken == null || this.mInputMethodTarget.getWindowingMode() != 1 || !this.mInputMethodTarget.mAppToken.matchParentBounds()) {\n return this.mWindowingLayer;\n }\n return this.mInputMethodTarget.mAppToken.getSurfaceControl();\n }", "static final JTextComponent getLastFocusedTextComponent() {\n return focusedComponent;\n }", "@Override\n public WebView getCurrentTopWebView() {\n return mTabControl.getCurrentTopWebView();\n }", "public static Frame getViewerFrame(IMimeViewer viewr)\n {\n Component comp = viewr.getViewComponent(); \n if (comp instanceof JComponent) \n {\n Container topComp=((JComponent)comp).getTopLevelAncestor(); \n if (topComp instanceof Frame)\n {\n return ((Frame)topComp); \n }\n }\n \n return null;\n }", "public int processIdOfActiveWindow()\r\n\t{\n\t\treturn 0;\r\n\t}", "public PageObject getFocus() throws FileSystemException {\n\t\tlogger.info(\"Obtaining focus for \" + this.getClass().getSimpleName());\n\t\tWebDriver wd = Connection.getDriver();\n\t\twd.switchTo().window(windowHandle);\n\t\treturn this;\n\t}", "public synchronized IEditorPart getActiveEditor(IWorkbenchWindow window) {\n return activeEditorMap.get(window);\n }", "NativeWindow getWindowFromPoint(Point p);", "public final TWindow getWindow() {\n return window;\n }", "public static Window getWindow() {\r\n\t\treturn window;\r\n\t}", "public void selectRootWindow() {\n\t\tList<String> listOfWindows = new ArrayList<>(SharedSD.getDriver().getWindowHandles());\n\t\tSharedSD.getDriver().switchTo().window(listOfWindows.get(0));\n\t}", "public Pane<T> currentPane() {\n return currentPane(System.currentTimeMillis());\n }", "NativeWindow getWindowById(long id);", "public IPrivateTestCompView.IContextElement currentContextElement() {\r\n return (IPrivateTestCompView.IContextElement) getCurrentElement();\r\n }", "public Window getWindow() {\n Window w = null;\n if(this instanceof Container) {\n Node root = ((Container)this).getRoot();\n Scene scene = root==null ? null : root.getScene();\n javafx.stage.Window stage = scene==null ? null : scene.getWindow();\n w = stage==null ? null : (Window)stage.getProperties().get(\"window\");\n }\n if(this instanceof Widget) {\n Node root = ((Widget)this).getGraphics();\n Scene scene = root==null ? null : root.getScene();\n javafx.stage.Window stage = scene==null ? null : scene.getWindow();\n w = stage==null ? null : (Window)stage.getProperties().get(\"window\");\n }\n return w==null ? Window.getActive() : w;\n }", "public static HystrixCommandKey getCurrentThreadExecutingCommand() {\n if (currentCommand == null) {\n // statics do \"interesting\" things across classloaders apparently so this can somehow be null ... \n return null;\n }\n return currentCommand.get().peek();\n }", "public int getCurrent(){\r\n\t\treturn dialogToDisplay;\r\n\t}", "Window getParent();", "boolean getStartupFocusPref();", "public JPanel getWindow(String key)\r\n\t{\r\n\t\treturn aniWin.getWindow(key);\r\n\t}", "String getFocusPref(boolean is_video);", "public abstract Positionable findPositionForWindow(int y, int x);", "public Window getWindow() { return window; }", "public int getSelectedTab() {\n return tabbedPane.getSelectedIndex();\n }", "@Override\n public APosition getFocusPoint() {\n\n // === Handle UMT ==========================================\n \n if (AGame.isUmtMode()) {\n AUnit firstUnit = Select.ourRealUnits().first();\n if (firstUnit != null) {\n return getUmtFocusPoint(firstUnit.getPosition());\n }\n else {\n return null;\n }\n }\n \n // =========================================================\n\n // Try going near enemy base\n// Position enemyBase = AtlantisEnemyInformationManager.getEnemyBase();\n APosition enemyBase = AEnemyUnits.getEnemyBase();\n if (enemyBase != null) {\n// \tSystem.out.println(\"focus on enemy base \" + enemyBase);\t//TODO debug\n return enemyBase;\n }\n\n // Try going near any enemy building\n AFoggedUnit enemyBuilding = AEnemyUnits.getNearestEnemyBuilding();\n if (enemyBuilding != null) {\n// \tSystem.out.println(\"focus on enemy bldg \" + enemyBuilding.getPosition());\t//TODO debug\n return enemyBuilding.getPosition();\n }\n\n // Try going to any known enemy unit\n AUnit anyEnemyUnit = Select.enemy().first();\n if (anyEnemyUnit != null) {\n \t//System.out.println(\"focus on enemy unit\");\t//TODO debug\n return anyEnemyUnit.getPosition();\n }\n \n // Try to go to some starting location, hoping to find enemy there.\n BaseLocation startLocation = AMap.getNearestUnexploredStartingLocation(Select.mainBase().getPosition());\n if (startLocation != null) {\n \t//System.out.println(\"focus on start location\");\t//TODO debug\n return APosition.create(startLocation.getPosition());\n }\n\n // Absolutely no enemy unit can be found\n return null;\n }", "private static boolean m36208d(View view) {\n return view != null && view.hasWindowFocus();\n }", "Optional<TXContext> findCurrent();", "public static IWorkbenchPage getActivePage() {\n\t\tIWorkbench wb = PlatformUI.getWorkbench();\t\t\n\t\tif(wb != null) {\n\t\t\tIWorkbenchWindow win = wb.getActiveWorkbenchWindow();\t\t\t\n\t\t\tif(win != null) {\n\t\t\t\tIWorkbenchPage page = win.getActivePage();\t\t\t\t\n\t\t\t\tif(page != null) {\n\t\t\t\t\treturn page;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public View invoke() {\n return this.f64323a.findViewById(R.id.bt0);\n }", "public Window getWindow() {\r\n return window;\r\n }", "Class<? extends Activity> getOpenInOtherWindowActivity();", "protected Screen getCurrentScreen() {\n return this.currentScreen;\n }", "public native final Node frameCurrentTarget() /*-{\n\t\treturn this.frameCurrentTarget;\n\t}-*/;", "public AddressSetView getCurrentView();", "public static JFrame getWindow()\r\n {\r\n\treturn window;\r\n }", "public int getCurIdx() {\n\t\treturn dDisplay.getCurIdx();\n\t}", "private ChatBox getCurrentChat() {\n if (!paneChatBox.getChildren().isEmpty()) {\n Node first = paneChatBox.getChildren().get(0);\n if (first instanceof ChatBox) {\n return (ChatBox) first;\n }\n }\n\n return null;\n }", "public abstract TnScreen getCurrentScreen();", "public boolean isFocused() {\n/* 807 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public int viewTop(){\r\n\t\treturn queue[0];\r\n\t}", "private void findView() {\n\t\tibtn_trigger = (ImageButton) findViewById(R.id.ibtn_right_menu);\n\t}", "public View initTopView() {\n return null;\n }", "com.google.wireless.android.sdk.stats.FilterMetadata.View getActiveView();", "public static PopupWindow findPopupWindow(Activity activity) {\n\t\ttry {\n\t\t\tViewExtractor viewExractor = new ViewExtractor();\n\t\t\tView[] views = viewExractor.getWindowDecorViews();\n\t\t\tif (views != null) {\n\t\t\t\tint numDecorViews = views.length;\n\t\t\t\t\n\t\t\t\t// iterate through the set of decor windows. The dialog may already have been presented.\n\t\t\t\tfor (int iView = 0; iView < numDecorViews; iView++) {\n\t\t\t\t\tView v = views[iView];\n\t\t\t\t\tif (ViewExtractor.isDialogOrPopup(activity, v)) {\t\n\t\t\t\t\t\tString className = v.getClass().getCanonicalName();\n\t\t\t\t\t\tif (className.equals(Constants.Classes.POPUP_VIEW_CONTAINER)) {\n\t\t\t\t\t\t\tClass popupViewContainerClass = Class.forName(Constants.Classes.POPUP_VIEW_CONTAINER_CREATECLASS);\n\t\t\t\t\t\t\tPopupWindow popupWindow = (PopupWindow) ReflectionUtils.getFieldValue(v, popupViewContainerClass, Constants.Classes.THIS);\n\t\t\t\t\t\t\treturn popupWindow;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\treturn null;\t\t\n\t}", "@Override\n\tpublic Point calculatePositionForPreview(Keyboard.Key key, View keyboardView, PreviewPopupTheme theme, int[] windowOffset) {\n\t\treturn new Point(keyboardView.getLeft() + keyboardView.getWidth()/2, keyboardView.getTop());\n\t}", "public Window getWindow() {\n return window;\n }", "private Window getDialogOwner(final Node node)\n {\n if (node != null) {\n final Scene scene = node.getScene();\n if (scene != null) {\n final Window window = scene.getWindow();\n if (window != null) return window;\n }\n }\n return task.getPrimaryStage();\n }", "Component getDelegateFocusOwner() {\n return getDelegate();\n }", "public JFrame getWindow() {\n\t\treturn window;\n\t}", "public boolean getPollFocusedProgram() {\n String pollEnabled = settings.get(\"pollFocused\");\n \n return pollEnabled == null || pollEnabled.equals(\"true\");\n }", "public abstract TargetWindowT getSideInputWindow(BoundedWindow mainWindow);", "public static View[] getWindowDecorViews() {\n\n\t\tField viewsField;\n\t\tField instanceField;\n\t\ttry {\n\t\t\tviewsField = sWindowManager.getDeclaredField(Constants.Fields.VIEWS);\n\t\t\tinstanceField = sWindowManager.getDeclaredField(getWindowManagerString());\n\t\t\tviewsField.setAccessible(true);\n\t\t\tinstanceField.setAccessible(true);\n\t\t\tObject instance = instanceField.get(null);\n\t\t\treturn (View[]) viewsField.get(instance);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} \n\t\treturn null;\n\t}", "Intent getOpenInOtherWindowIntent();", "public void setFocus() {\r\n System.out.println(\"TN5250JPart: calling SetSessionFocus.run(): \" + tn5250jPart.getClass().getSimpleName());\r\n SetSessionFocus.run(tabFolderSessions.getSelectionIndex(), -1, tn5250jPart);\r\n }", "public Object getOnfocus() {\r\n\t\treturn getOnFocus();\r\n\t}", "public Session getSessionInFocus()\r\n\t{\r\n\t\treturn sessionInFocus;\r\n\t}", "private void findFocusableContainer(Container cont){\n \n // LOG ONLY -/\n if(debugLog) System.err.println(LOG_CAPTION+\" - <findFocusableContainer(Container)> -TTTTTT CONT = \" + cont);\n \n FocusTraversalPolicy fp;\n \n if(cont.isFocusTraversalPolicySet()) {\n fp = cont.getFocusTraversalPolicy();\n \n // LOG ONLY -/\n if(debugLog) System.err.println(LOG_CAPTION+\" - <findFocusableContainer(Container)> - GET FocusTraversalPolicy from CONT\");\n \n }else{\n \n // LOG ONLY -/\n if(debugLog) System.err.println(LOG_CAPTION+\" - <findFocusableContainer(Container)> - GET FocusTraversalPolicy from KeyboardFocusManager.getCurrentKeyboardFocusManager();\");\n \n KeyboardFocusManager kfm = KeyboardFocusManager.getCurrentKeyboardFocusManager();\n fp = kfm.getDefaultFocusTraversalPolicy();\n }\n \n Component next = fp.getFirstComponent(cont);\n \n // LOG ONLY -/\n if(debugLog) System.err.println(LOG_CAPTION+\" - <findFocusableContainer(Container)> - next=\"+next);\n \n if(next == cont || focused.contains(next)){\n \n //- LOG ONLY\n if(debugLog)System.err.println(LOG_CAPTION+\" - <findFocusableContainer(Container)> - next==cont / \"+ (next==cont) + \" >< focused.contains() / \"+focused.contains(next));\n \n return;\n }else{\n \n // LOG ONLY -/\n if(debugLog) System.err.println(LOG_CAPTION+\" - <findFocusableContainer(Container)> - ADDED\");\n \n focused.add(next);\n }\n \n if(next != null)\n findFocusableComponent(next, cont, fp);\n return;\n \n }", "public native int getSelectedTab(GInfoWindow self)/*-{\r\n\t\treturn self.getSelectedTab();\r\n\t}-*/;", "protected IDescriptor getActiveDescriptor() {\n if (editor != null) {\n return editor.getActiveDisplayPane().getDescriptor();\n }\n return null;\n }", "public int getCurrentPosition() {\n\t\treturn mCurrentViewIndex - getChildCount();\n\t}", "public Object getWindowTag() {\n if (null != mChatMap) {\n Object tag = mChatMap.getTag();\n return tag;\n } else {\n Logger.w(TAG, \"getWindowTag() mChatMap is null\");\n return null;\n }\n }", "public int getSelectedTabIndex() {\n return getRootNode().getSelectionModel().getSelectedIndex();\n }", "@Override\n public MPlaceholder getCurSharedRef()\n {\n return null;\n }", "public ViewIdentificator getView() {\r\n return view;\r\n }", "public boolean chatFocused(){\n\t\tTextField tf = nifty.getScreen(\"hud\").findNiftyControl(\"chatText\",TextField.class);\n\t\treturn tf.hasFocus();\n\t}", "public static IWorkbenchPage getActivePage() {\n IWorkbenchWindow window = getActiveWorkbenchWindow();\n if (window != null) {\n return window.getActivePage();\n }\n return null;\n }", "@Override\r\n\tpublic boolean isFocused() {\n\t\treturn false;\r\n\t}" ]
[ "0.7066463", "0.67699844", "0.6748136", "0.64797264", "0.631731", "0.622552", "0.6117491", "0.61073565", "0.5949267", "0.58931005", "0.58265775", "0.5805743", "0.57466483", "0.57177", "0.56153166", "0.55268365", "0.5525313", "0.5509909", "0.5488023", "0.54734576", "0.54725176", "0.5456322", "0.54390377", "0.54382426", "0.5419351", "0.5396324", "0.5393084", "0.5391339", "0.53900546", "0.53826433", "0.53774565", "0.5376942", "0.53583705", "0.5355328", "0.53273064", "0.5325276", "0.5317018", "0.528789", "0.5268365", "0.52428806", "0.52029175", "0.5180661", "0.5172522", "0.5142135", "0.51401806", "0.5137387", "0.5122256", "0.5112331", "0.51106143", "0.5096867", "0.5078612", "0.5075715", "0.5070731", "0.5045247", "0.5042258", "0.50421417", "0.50036275", "0.5000686", "0.49999112", "0.49972063", "0.4993302", "0.49820048", "0.49738252", "0.49538097", "0.49490723", "0.4948049", "0.49435136", "0.49322316", "0.49270874", "0.49262494", "0.4925737", "0.4921117", "0.49205118", "0.49181977", "0.49157947", "0.4900975", "0.4891434", "0.4887928", "0.4883403", "0.4880992", "0.48760912", "0.48675227", "0.48637593", "0.486083", "0.48437926", "0.4833489", "0.4833301", "0.48321787", "0.48321772", "0.48320982", "0.48308533", "0.48307517", "0.48294038", "0.4829219", "0.48283735", "0.48237005", "0.48225248", "0.4820302", "0.4817388", "0.48107308", "0.4806204" ]
0.0
-1
System.out.println("requesting layerRemaining : " + this.layerRemaining);
public int getLayerRemaining(){ return this.layerRemaining; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void incrementLayer () {\n layer++;\n }", "@Override\n public int getTotalLayers() {\n return this.layers.size();\n }", "public int getLayer()\n\t{\n\t\treturn layer;\n\t}", "public int getLayerCount() {\n\t\treturn layers.length;\n\t}", "public int getLayer() {\r\n\t\treturn layer;\r\n\t}", "public Layer getLayer() {\n return _layer;\n }", "int getLayer();", "@Override\n \tpublic int getSize() {\n \t\treturn layers.size();\n \t}", "public Layer getLayer() {\n return layer;\n }", "public Layer getLayer() {\n\t\treturn layer;\n\t}", "int available() {\n return numAvailable;\n }", "public boolean hasLayers() {\n\t\treturn false;\n\t}", "@Override\n\tpublic int getGameLayer() {\n\t\treturn 0;\n\t}", "public int getCountRequests() {\n/* 415 */ return this.countRequests;\n/* */ }", "public int getLivesRemaining();", "@Override\n\tpublic int getMaximumLayer() {\n\t\treturn MAX_LAYER;\n\t}", "public int getRemaining(){\n\t\treturn count+1;\n\t}", "public String getLayerId()\r\n {\r\n return myLayerId;\r\n }", "public int getRemainingUses() {\n return remainingUses;\n }", "LayerType getLayerType() {\n return layerType;\n }", "public int getWorkCredGain();", "public byte getTriesRemaining(){\n return triesLeft[0];\n }", "public void setLayer(int l)\n\t{\n\t\tlayer = l;\n\t}", "String getLayer1Info();", "int getLoses() {return _loses;}", "public java.lang.Integer getGroundcnt() throws java.rmi.RemoteException;", "public int our_packetsLost(){ //For a group call, should take an input ID, should be UPDATED\n return this.our_packs_lost;\n }", "public int getPointsGainedLastRound(){return pointsGainedLastRound;}", "long countPostings() {\n \tlong result = 0;\n \tfor (Layer layer : layers.values())\n \t\tresult += layer.size();\n \treturn result;\n }", "int numOfRemainingBlocks() {\n return blocks.size();\n }", "public int GetResends() { return resends; }", "public long getRemainingEstimate() {\n return addedFrontWork.size() + addedBackWork.size();\n }", "int remaining();", "private void getStatus() {\n\t\t\n\t}", "public int getPlanesLanded() {\r\n return planesLanded;\r\n }", "public int getTransmissionCount(){\n return networkTransmitCount + 1;\n }", "public int getOutputLayer() {\n int outputSize = 0;\n if(this.size() > 0) {\n return this.get(this.size()-1);\n }\n return outputSize;\n }", "public int getRemainPoints() {\n return remainPoints_;\n }", "public int getNetworkPFOutputTraffic() { return networkPFOutputTraffic; }", "String getLayer2Info();", "public Double getTotalAvailable(){\n return totalAvailable;\n }", "public int getHitsLeft(){\n return hitsLeft;\n }", "public long getRemaining() {\n\t\treturn disk_mgr.getRemaining();\n\t}", "int getNeedPoints();", "public int getRemainingData() {\n return remainingData;\n }", "public int countTransmission(){\n\t\treturn this.curPackets.size();\n\t}", "int getRemainPoints();", "@Override\n\tpublic String GetLayerName() {\n\t\treturn pLayerName;\n\t}", "public double drawLength() { return drawLength; }", "public int getHopCount()\r\n/* */ {\r\n/* 168 */ return this.nHops;\r\n/* */ }", "public Layer.Layers getLayer();", "public int getNeedPoints() {\n return needPoints_;\n }", "public static int GetTotalBlocks()\n {\n return totalBlocks;\n }", "public static int count(){\n return getVideoRequestCount;\n }", "public int getNetworkPFInputTraffic() { return networkPFInputTraffic; }", "public int getLosses() {\n return losses;\n }", "public final int bytesConsumed() {\n/* 218 */ return this.bytesConsumed;\n/* */ }", "public interface Layer {\n /**\n * @return The number of neurons, excluding bias neurons and context neurons. This is the number of neurons that\n * are directly fed from elsewhere.\n */\n int getCount();\n\n /**\n * @return The number of neurons, including bias neurons and context neurons.\n */\n int getTotalCount();\n\n /**\n * @return The activation/transfer function for this neuron.\n */\n ActivationFunction getActivation();\n\n /**\n * Finalize the structure of this layer.\n * @param theOwner The neural network that owns this layer.\n * @param theLayerIndex The zero-based index of this layer.\n * @param counts The counts structure to track the weight and neuron counts.\n */\n void finalizeStructure(BasicNetwork theOwner, int theLayerIndex,\n TempStructureCounts counts);\n\n /**\n * Compute this layer.\n */\n void computeLayer();\n\n /**\n * Compute the gradients for this layer.\n * @param calc The gradient calculation utility.\n */\n void computeGradient(GradientCalc calc);\n\n /**\n * @return The start of this layer's weights in the weight vector.\n */\n int getWeightIndex();\n\n /**\n * @return The start of this layer's neurons in the neuron vector.\n */\n int getNeuronIndex();\n\n /**\n * Notification that a training batch is beginning.\n * @param rnd A random number generator, from the trainer.\n */\n void trainingBatch(GenerateRandom rnd);\n\n /**\n * @return The owner of the neural network.\n */\n BasicNetwork getOwner();\n\n /**\n * @return True if this neuron has bias.\n */\n boolean hasBias();\n}", "public Long remaining() {\n return this.remaining;\n }", "@Nonnegative\n @CheckReturnValue\n public abstract int getRemainingRequests();", "public Range getLayerRange() {\r\n\t\treturn layerRange;\r\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn String.format(\"Input Layer %d\", size);\n\t}", "public Long getLostPackets() {\n return lostPackets;\n }", "public int getTotalCollisions(){\r\n return totalCollisions;\r\n }", "private void viewPendingRequests() {\n\n\t}", "public int getRemainPoints() {\n return remainPoints_;\n }", "public ArrayList<Layer> getLayers() {\r\n return this.layers;\r\n }", "public int getNumIdle();", "int getFrame() {\n return currFrame;\n }", "public int getLen(){\n return this.lenInventory;\n }", "int getHopCount() {\n return hopCount;\n }", "public int getCardsRemaining() {\n\n\treturn cardsLeft;\n\n }", "int getBattlesLost();", "public int available() {\n return numAvailable;\n }", "public int getLosses() {\n return losses;\n }", "private static int getFlightTakeOffCount()\r\n\t{\r\n\t\treturn flightTakeOffCounter;\r\n\t}", "public int getAvailableCount();", "public int getCollected() {\n return macguffinsCollected;\n }", "public int get_numLostBags(){\r\n return num_lost_bags;\r\n }", "public int getNetworkApplicationInputTraffic() { return networkApplicationInputTraffic; }", "public int getSamples(){ \n return this.samples; \n }", "public int loadedPlayers(){\n return playerMap.size();\n }", "public int getWaveOrdersTaken() {\n return waveOrdersTaken;\n }", "public int getHopSize()\n {\n return hopSize;\n }", "@Override\r\n\tpublic void onTrafficStatusUpdate() {\n\r\n\t}", "public int getNeedPoints() {\n return needPoints_;\n }", "int getRequestsCount();", "int getRequestsCount();", "@Override\n\tpublic void operation(int extrinsicState) {\n\t\tSystem.out.println(\"具体flyWeight:\" + extrinsicState);\n\t}", "public int getRemaining() {\n\t\treturn activeQuest.getRequirement_left();\n\t}", "public int getLifePoints(){\n return this.lifePoints;\n }", "public double getNewickLength()\n {\n return newicklength; \n }", "public int getLoadTurn(){\n return m_LoadTime;\n }", "public int getTakeSpace() {\n return 0;\n }", "int getWayCount();", "public int getPlayPoints() {\n return localPlayPoints;\n }", "public boolean isLayerBlocked() {\r\n return this.viterNodeList.isEmpty();\r\n }", "public String getCartogramLayerName ()\n\t{\n\t\treturn mCartogramLayerName;\n\t}", "public int getLevelReached() {\n\t\treturn levelReached;\n\t}", "public int getPlayerCount() {\n return 0;\n }" ]
[ "0.650719", "0.6506197", "0.64159036", "0.6292624", "0.6268512", "0.6248313", "0.622912", "0.6188339", "0.6170027", "0.5986563", "0.582934", "0.5776219", "0.5760042", "0.5734881", "0.5726249", "0.5724915", "0.56945825", "0.5658701", "0.56463295", "0.56355417", "0.5606008", "0.5594068", "0.55893624", "0.55710745", "0.55693734", "0.5544541", "0.55265266", "0.55245364", "0.552207", "0.5518455", "0.5507702", "0.5504837", "0.54820085", "0.54777074", "0.54697526", "0.54689413", "0.54652995", "0.54535675", "0.5449796", "0.54444194", "0.5435306", "0.5431435", "0.5426331", "0.5415741", "0.5404938", "0.5380347", "0.537166", "0.5359115", "0.5358486", "0.53571", "0.53556556", "0.5344144", "0.5339526", "0.5334897", "0.53313637", "0.5325834", "0.53118557", "0.53107184", "0.53098804", "0.53076285", "0.5302713", "0.52977514", "0.52912074", "0.52864647", "0.52779585", "0.52747536", "0.5254589", "0.5253512", "0.5252517", "0.52501744", "0.5249687", "0.5245011", "0.52351093", "0.52349126", "0.5230827", "0.52230537", "0.5222081", "0.52199036", "0.52115417", "0.521042", "0.51976746", "0.5194503", "0.51928616", "0.5192841", "0.51906884", "0.5182027", "0.5174766", "0.5174766", "0.51721895", "0.51678836", "0.51664615", "0.51654005", "0.5162263", "0.5161346", "0.51607907", "0.5159496", "0.5151619", "0.5150031", "0.51464605", "0.514631" ]
0.82140106
0
TODO: Warning this method won't work in the case the id fields are not set
@Override public boolean equals(Object object) { if (!(object instanceof Bill)) { return false; } Bill other = (Bill) object; if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) { return false; } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setId(Integer id) { this.id = id; }", "private Integer getId() { return this.id; }", "public void setId(int id){ this.id = id; }", "public void setId(Long id) {this.id = id;}", "public void setId(Long id) {this.id = id;}", "public void setID(String idIn) {this.id = idIn;}", "public void setId(int id) { this.id = id; }", "public void setId(int id) { this.id = id; }", "public int getId() { return id; }", "public int getId() { return id; }", "public int getId() { return id; }", "public int getId() { return id; }", "public int getId() { return id; }", "public int getId() { return id; }", "public void setId(long id) { this.id = id; }", "public void setId(long id) { this.id = id; }", "public int getId(){ return id; }", "public int getId() {return id;}", "public int getId() {return Id;}", "public int getId(){return id;}", "public void setId(long id) {\n id_ = id;\n }", "private int getId() {\r\n\t\treturn id;\r\n\t}", "public Integer getId(){return id;}", "public int id() {return id;}", "public long getId(){return this.id;}", "public int getId(){\r\n return this.id;\r\n }", "@Override public String getID() { return id;}", "public Long id() { return this.id; }", "public Integer getId() { return id; }", "@Override\n\tpublic Integer getId() {\n return id;\n }", "@Override\n public Long getId () {\n return id;\n }", "@Override\n public long getId() {\n return id;\n }", "public Long getId() {return id;}", "public Long getId() {return id;}", "public String getId(){return id;}", "@Override\r\n\tpublic Long getId() {\n\t\treturn null;\r\n\t}", "public Integer getId() { return this.id; }", "@Override\r\n public int getId() {\n return id;\r\n }", "@Override\n\t\tpublic long getId() {\n\t\t\treturn 0;\n\t\t}", "public int getId() {\n return id;\n }", "public long getId() { return _id; }", "public int getId() {\n/* 35 */ return this.id;\n/* */ }", "public long getId() { return id; }", "public long getId() { return id; }", "public void setId(Long id) \n {\n this.id = id;\n }", "@Override\n\tpublic Long getId() {\n\t\treturn null;\n\t}", "@Override\n\tpublic Long getId() {\n\t\treturn null;\n\t}", "public void setId(String id) {\n this.id = id;\n }", "@Override\n\tpublic void setId(Long id) {\n\t}", "public Long getId() {\n return id;\n }", "public long getId() { return this.id; }", "public int getId()\n {\n return id;\n }", "public void setId(int id){\r\n this.id = id;\r\n }", "protected abstract String getId();", "@Test\r\n\tpublic void testSetId() {\r\n\t\tbreaku1.setId(5);\r\n\t\texternu1.setId(6);\r\n\t\tmeetingu1.setId(7);\r\n\t\tteachu1.setId(8);\r\n\r\n\t\tassertEquals(5, breaku1.getId());\r\n\t\tassertEquals(6, externu1.getId());\r\n\t\tassertEquals(7, meetingu1.getId());\r\n\t\tassertEquals(8, teachu1.getId());\r\n\t}", "@Override\n\tpublic int getId(){\n\t\treturn id;\n\t}", "public String getId() { return id; }", "public String getId() { return id; }", "public String getId() { return id; }", "public int getID() {return id;}", "public int getID() {return id;}", "@Override\n public int getField(int id) {\n return 0;\n }", "public int getId ()\r\n {\r\n return id;\r\n }", "public void setId(Long id)\n/* */ {\n/* 66 */ this.id = id;\n/* */ }", "public int getId(){\r\n return localId;\r\n }", "void setId(int id) {\n this.id = id;\n }", "@Override\n public Integer getId() {\n return id;\n }", "@Override\n\tpublic Object selectById(Object id) {\n\t\treturn null;\n\t}", "private void clearId() {\n \n id_ = 0;\n }", "private void clearId() {\n \n id_ = 0;\n }", "private void clearId() {\n \n id_ = 0;\n }", "private void clearId() {\n \n id_ = 0;\n }", "private void clearId() {\n \n id_ = 0;\n }", "private void clearId() {\n \n id_ = 0;\n }", "private void clearId() {\n \n id_ = 0;\n }", "@Override\n public int getId() {\n return id;\n }", "@Override\n public int getId() {\n return id;\n }", "public void setId(int id)\n {\n this.id=id;\n }", "@Override\r\n public int getID()\r\n {\r\n\treturn id;\r\n }", "@Override\n\tpublic Integer getId() {\n\t\treturn null;\n\t}", "public int getId()\r\n {\r\n return id;\r\n }", "public void setId(Long id){\n this.id = id;\n }", "@java.lang.Override\n public int getId() {\n return id_;\n }", "@java.lang.Override\n public int getId() {\n return id_;\n }", "private void clearId() {\n \n id_ = 0;\n }", "final protected int getId() {\n\t\treturn id;\n\t}", "public abstract Long getId();", "public void setId(Long id) \r\n {\r\n this.id = id;\r\n }", "@Override\n public long getId() {\n return this.id;\n }", "public String getId(){ return id.get(); }", "public void setId(long id){\n this.id = id;\n }", "public void setId(long id){\n this.id = id;\n }", "@SuppressWarnings ( \"unused\" )\n private void setId ( final Long id ) {\n this.id = id;\n }", "public void setId(Integer id)\r\n/* */ {\r\n/* 122 */ this.id = id;\r\n/* */ }", "public Long getId() \n {\n return id;\n }", "@Override\n\tpublic void setId(int id) {\n\n\t}", "public void test_getId() {\n assertEquals(\"'id' value should be properly retrieved.\", id, instance.getId());\n }", "public int getID(){\n return id;\n }", "@Override\r\n\tpublic Object getId() {\n\t\treturn null;\r\n\t}", "public int getId()\n {\n return id;\n }", "public String getID(){\n return Id;\n }" ]
[ "0.6895054", "0.68374", "0.6704317", "0.6640388", "0.6640388", "0.6591309", "0.65775865", "0.65775865", "0.6573139", "0.6573139", "0.6573139", "0.6573139", "0.6573139", "0.6573139", "0.65607315", "0.65607315", "0.6543184", "0.65233654", "0.6514126", "0.6486639", "0.6476104", "0.6425083", "0.6417945", "0.64155436", "0.6401117", "0.6365784", "0.6353813", "0.6350901", "0.6346276", "0.63230515", "0.63178957", "0.6300151", "0.62925845", "0.62925845", "0.62828994", "0.62691253", "0.626534", "0.626377", "0.626042", "0.6258256", "0.625457", "0.62494874", "0.6246241", "0.6246241", "0.6243762", "0.6237063", "0.6237063", "0.62315995", "0.62230533", "0.62196", "0.6218788", "0.62108403", "0.6208459", "0.6199806", "0.6198686", "0.61913145", "0.6188708", "0.6188708", "0.6188708", "0.618836", "0.618836", "0.6185492", "0.618302", "0.6173222", "0.6172136", "0.61670196", "0.6164574", "0.6161836", "0.61555654", "0.61555654", "0.61555654", "0.61555654", "0.61555654", "0.61555654", "0.61555654", "0.61543274", "0.61543274", "0.61417395", "0.6132315", "0.6126532", "0.61263895", "0.61050344", "0.61024666", "0.61024666", "0.6101565", "0.6101017", "0.6100358", "0.60995364", "0.6098027", "0.60939413", "0.60920423", "0.60920423", "0.60916567", "0.608893", "0.608861", "0.607555", "0.607143", "0.6069373", "0.60690147", "0.6068866", "0.6068518" ]
0.0
-1
Returns the cellids which lie inside the given S2LatLngRect
public static S2CellUnion findCellIds(S2LatLngRect latLngRect) { ConcurrentLinkedQueue<S2CellId> queue = new ConcurrentLinkedQueue<S2CellId>(); ArrayList<S2CellId> cellIds = new ArrayList<S2CellId>(); for (S2CellId c = S2CellId.begin(0); !c.equals(S2CellId.end(0)); c = c.next()) { if (containsGeodataToFind(c, latLngRect)) { queue.add(c); } } processQueue(queue, cellIds, latLngRect); assert queue.size() == 0; queue = null; if (cellIds.size() > 0) { S2CellUnion cellUnion = new S2CellUnion(); cellUnion.initFromCellIds(cellIds); // This normalize the cells. // cellUnion.initRawCellIds(cellIds); // This does not normalize the cells. cellIds = null; return cellUnion; } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<GridCoordinate> getCoordinates(int cellWidth, int cellHeight);", "public Iterable<Point2D> range(RectHV rect) {\n\n if (rect == null)\n throw new IllegalArgumentException(\"Got null object in range()\");\n \n Queue<Point2D> pointsInside = new Queue<>();\n \n for (Point2D p : point2DSET) {\n \n double x = p.x();\n double y = p.y();\n if (x >= rect.xmin() && x <= rect.xmax() &&\n y >= rect.ymin() && y <= rect.ymax())\n pointsInside.enqueue(p);\n \n }\n \n return pointsInside;\n }", "public List<PointDetails> getIntersectingPoints(Rectangle2D rect) {\n\t\tboolean useParallelStreaming = numPoints() > 10000;\n\t\treturn Utils.parallelize(getPointDetails().stream(), useParallelStreaming)\n\t\t\t\t.filter(p->rect.contains(p.location))\n\t\t\t\t.collect(Collectors.toList());\n\t}", "public Iterable<Point2D> range(RectHV rect) {\n if (rect == null) throw new IllegalArgumentException(\n \"Null pointer provided instead of a query rectangle\");\n ptsInside = new SET<Point2D>();\n searchForPoints(root, rect);\n return ptsInside;\n }", "Multimap<String, String> intersects(RectangleLatLng bounds);", "List<Coord> allActiveCells();", "public Iterable<Point2D> range(RectHV rect) {\n //rect\n Queue<Point2D> range = new Queue<Point2D>();\n \n for (Point2D p: bst.keys()) {\n if (rect.contains(p)) {\n range.enqueue(p);\n }\n }\n return range; \n }", "public Iterable<Point2D> range(RectHV rect) {\n if (rect == null) throw new NullPointerException();\n TreeSet<Point2D> inRangeSet = new TreeSet<>();\n for (Point2D point : pointSet) {\n if (rect.contains(point)) {\n inRangeSet.add(point);\n }\n }\n return inRangeSet;\n }", "Map<Coord, ICell> getAllCells();", "public Iterable<Point2D> range(RectHV rect) {\n if (rect == null) {\n throw new IllegalArgumentException();\n }\n SET<Point2D> result = new SET<Point2D>();\n for (Point2D point : points) {\n if (rect.contains(point))\n result.add(point);\n }\n return result;\n }", "public Iterable<Point2D> range(RectHV rect) {\n ArrayList<Point2D> returnArray = new ArrayList<Point2D>();\n if (rect == null) {\n throw new IllegalArgumentException(\"rect input is null\");\n }\n for (Point2D i : pointsSet) {\n if (rect.contains(i))\n returnArray.add(i);\n }\n return returnArray;\n }", "public abstract Cell getOverlappedCell(Rectangle rect);", "public Iterable<Point2D> range(RectHV rect) {\n if (isEmpty())\n return null;\n IntersectingPoints ip = new IntersectingPoints(rect);\n return new KdTreeIterable(ip.intersecting, ip.lenIntersecting);\n }", "Map<BoardCellCoordinates, Set<Integer>> getWinningCoordinates();", "public Iterable<Point2D> range(RectHV rect) {\n TreeSet<Point2D> ret = new TreeSet<Point2D>();\n for (Point2D p: mPoints) {\n if (rect.contains(p)) {\n ret.add(p);\n }\n }\n return ret;\n }", "public Iterable<Point2D> range(RectHV rect) {\n SET<Point2D> point_list = new SET<Point2D>();\n rangesearch(root, rect, point_list);\n return point_list;\n }", "RectangleLatLng getBounds();", "public Iterable<Point2D> range(RectHV rect) {\n Queue<Point2D> pointsInRect = new Queue<Point2D>();\n range(root, rect, pointsInRect);\n return pointsInRect;\n }", "public Iterable<Point2D> range(RectHV rect) \n\t {\n\t\t if(rect==null)\n\t\t\t throw new java.lang.NullPointerException();\n\t\t LinkedQueue<Point2D> insidePoints = new LinkedQueue<Point2D>();\n\t\t range(root,rect.xmin(),rect.ymin(),rect.xmax(),rect.ymax(),insidePoints,true);\n\t\t return insidePoints;\n\t }", "public Iterable<Point2D> range(RectHV rect)\n {\n Stack<Point2D> pointsInRect = new Stack<Point2D>();\n range(root, rect, pointsInRect);\n return pointsInRect;\n }", "public List<Point> rangeSearch(Rectangle rect) {\n\t\tif (rect == null) {\n System.out.println(\"Rectangle can't be null\");\n\t\t\tSystem.exit(0);\n }\n List<Point> rangePoints = new List<>();\n if (!isEmpty()) {\n range(head, rect, rangePoints);\n }\n return rangePoints;\n\t}", "public ArrayList<int[]> surroundingCoordinates(int row, int col){\n\t\t\t\n\t\tArrayList<int[]> coordinates = new ArrayList<int[]>();\n\t\tfor(int x = -1; x <= 1; x++) {\n\t\t\tfor(int y = -1; y <= 1; y++) {\n\t\t\t\tif(\t\t\n\t\t\t\t\t\t(row+x >= 0) && \n\t\t\t\t\t\t(col+y >= 0) &&\n\t\t\t\t\t\t(row+x < bm.getBoardSize()) &&\n\t\t\t\t\t\t(col+y < bm.getBoardSize()) &&\n\t\t\t\t\t\t(x != 0 || y != 0)\n\t\t\t\t){\n\t\t\t\t\tcoordinates.add(new int[]{row+x, col+y});\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn coordinates;\n\t}", "@Override\n public HashSet<int[]> coordinatesOfTilesInRange(int x, int y, Tile[][] board){\n HashSet<int[]> hashy = new HashSet<>();\n int[] c = {x,y};\n hashy.add(c);\n return findTiles(x, y, board, hashy);\n }", "public Iterable<Point2D> range(RectHV rect) {\n if (rect == null) throw new IllegalArgumentException(\"Rectangle is null or invalid\");\n points = new ArrayList<>();\n if (root == null) return points;\n searchRange(root, rect);\n return points;\n }", "public Set<Coordinate> getAllSurroundingCellsAsCoordinates() {\n Set<MapCoordinate> mapCoordinates = getAllSurroundingCellsAsMapCoordinatesStartingFromTopLeft(1);\n return mapCoordinates\n .stream()\n .map(mapCoordinate -> mapCoordinate.toCoordinate())\n .collect(\n Collectors.toSet()\n );\n }", "private static Array<int[]> findAllOpenAreas(int[][] board, int width, int height) {\n Array<int[]> positions = new Array<int[]>();\n boolean[][] good = new boolean[board.length][board[0].length];\n\n // go across horizontally, finding areas where the rectangle may fit\n // width wise\n for (int y = 1; y < board[0].length-1; ++y) {\n int horizontal_count = 0;\n for (int x = 1; x < board.length-1; ++x) {\n // count up in areas where there is no room\n if (board[x][y] == NULL)\n horizontal_count++;\n // if we encounter a room, the rectangle can not fit there\n else\n horizontal_count = 0;\n\n // when we've reached the edge of our rectangle's width\n // we can mark that this is a safe place to measure from\n if (horizontal_count == width) {\n good[x - width + 1][y] = true;\n // increment back one in case the next space is also\n // acceptable for being a rectangle\n horizontal_count--;\n }\n }\n }\n\n // now that count verticals we have established good lines of where a\n // rectangle may start\n // we need to count vertically down where it can fit\n\n for (int x = 0; x < board.length; ++x) {\n int vertical_count = 0;\n for (int y = 0; y < board[0].length; ++y) {\n // check against only the points that we flagged as potentially\n // okay\n if (good[x][y])\n vertical_count++;\n // if we didn't flag that point, then we can't fit a rectangle\n // there vertically\n else\n vertical_count = 0;\n\n // when our rectangle is fully formed, we can add it as a\n // plausible location\n if (vertical_count == height) {\n positions.add(new int[] { x, y - height + 1 });\n vertical_count--;\n }\n }\n }\n\n return positions;\n }", "public static ArrayList<int[]> getDissatisfiedCellCoords(int[][] grid) {\n ArrayList<int[]> dissatisfiedCells = new ArrayList<int[]>();\n for (int i = 0; i < grid.length; i++) {\n for (int j = 0; j < grid[0].length; j++) {\n\n if (grid[i][j] != 0) {\n\n int totalCells = 0, totalSatisfactory = 0;\n\n for (int k = i - 1; k <= i + 1; k++) {\n for (int l = j - 1; l <= j + 1; l++) {\n if (k > -1 && l > -1 && k < grid.length && l < grid.length) {\n if (k != i || l != j) {\n totalCells++;\n if (grid[k][l] == grid[i][j]) {\n totalSatisfactory++;\n }\n }\n }\n }\n }\n\n double percentSatisfied = (double)totalSatisfactory / (double)totalCells;\n\n if (percentSatisfied < PERCENT_SATISFIED) {\n int[] arr = {i, j};\n dissatisfiedCells.add((int)(Math.random() * dissatisfiedCells.size()), arr);\n }\n }\n\n }\n \n }\n\n return dissatisfiedCells;\n }", "public FBitSet queryByRect(Rectangle2D r) {\r\n\t\tFBitSet newSel = new FBitSet();\r\n for (int numReg = 0; numReg < graphics.size(); numReg++) {\r\n\r\n FGraphic theGraphic = (FGraphic) graphics.get(numReg);\r\n Geometry geom = theGraphic.getGeom();\r\n if (geom.intersects(r))\r\n {\r\n \tnewSel.set(numReg);\r\n }\r\n }\r\n return newSel;\r\n\t}", "public Iterable<Point2D> range(RectHV rect) {\n if (rect == null) throw new IllegalArgumentException(\"range: RectHV is null\");\n Queue<Point2D> q = new Queue<>();\n rangeSearch(root, rect, q);\n return q;\n }", "public List<Float> getBoundingsOfCell() {\n\n\t\tfloat minXPoint = Float.POSITIVE_INFINITY;\n\t\tfloat maxXPoint = Float.NEGATIVE_INFINITY;\n\t\tfloat minYPoint = Float.POSITIVE_INFINITY;\n\t\tfloat maxYPoint = Float.NEGATIVE_INFINITY;\n\n\t\tfor (int i = 0; i < face.edges().size(); i++) {\n\n\t\t\tDCEL_Edge e = (DCEL_Edge) face.edges().get(i);\n\n\t\t\tArc2_Sweep arc = (Arc2_Sweep) e.reference;\n\n\t\t\t// Looking for most left located point of cell\n\t\t\tif (minXPoint > arc.minX().x) {\n\t\t\t\tminXPoint = arc.minX().x;\n\t\t\t}\n\t\t\t// Looking for most right located point of cell\n\t\t\tif (maxXPoint < arc.maxX().x) {\n\t\t\t\tmaxXPoint = arc.maxX().x;\n\t\t\t}\n\t\t\t// Looking for highest located point of cell\n\t\t\tif (minYPoint > arc.minY().y) {\n\t\t\t\tminYPoint = arc.minY().y;\n\t\t\t}\n\t\t\t// Looking for lowest located point of cell\n\t\t\tif (maxYPoint < arc.maxY().y) {\n\t\t\t\tmaxYPoint = arc.maxY().y;\n\t\t\t}\n\n\t\t}\n\n\t\tList<Float> boundings = new ArrayList<Float>();\n\t\tboundings.add(minXPoint);\n\t\tboundings.add(maxXPoint);\n\t\tboundings.add(minYPoint);\n\t\tboundings.add(maxYPoint);\n\t\treturn boundings;\n\n\t}", "public Iterable<Point2D> range(RectHV rect) {\n SET<Point2D> result = new SET<Point2D>();\n if (root == null) {\n return result;\n }\n\n range(root, rect, result);\n return result;\n }", "private HashSet<Position> getInRange(int p_r, Distance p_d)\n {\n HashSet<Position> s = new HashSet<Position>();\n\n for (int x = 0; x <= p_r; x++)\n {\n int y = 0;\n Position p = new Position(this.x + x, this.y + y);\n\n while (p_d.inside(this, p, p_r))\n {\n s.add(p);\n s.add(new Position(this.x - x, this.y + y));\n s.add(new Position(this.x + x, this.y - y));\n s.add(new Position(this.x - x, this.y - y));\n p = new Position(this.x + x, this.y + ++y);\n }\n }\n return s;\n }", "public abstract Regionlike getGridBounds();", "public Iterable<Point2D> range(RectHV rect) {\n checkNull(rect);\n LinkedList<Point2D> pointList = new LinkedList<Point2D>();\n\n range(rect, root, pointList);\n\n return pointList;\n }", "public Iterable<Point2D> range(RectHV rect) {\n if (rect == null) throw new IllegalArgumentException(\"rects cannot be null\");\n Queue<Point2D> pts = new Queue<Point2D>();\n range(pts, rect, root, inftyBbox);\n return pts;\n }", "public Iterable<Point2D> range(RectHV rect) {\n if (rect == null) throw new IllegalArgumentException();\n if (root == null) return new ArrayList<>();\n\n return rangeSubMethod(rect, root);\n }", "public Iterable<Point2D> range(RectHV rect) {\n\t\tif (rect == null) {\n\t\t\tthrow new NullPointerException();\n\t\t}\n\t\tQueue<Point2D> queue = new Queue<Point2D>();\n\t\tStack<Node> stack = new Stack<>();\n\t\tstack.push(root);\n\t\twhile (!stack.isEmpty()) {\n\t\t\tNode nCur = stack.pop();\n\t\t\tPoint2D pCur = nCur.point;\n\t\t\tif (rect.contains(pCur)) {\n\t\t\t\tqueue.enqueue(pCur);\n\t\t\t\tif (nCur.right != null) {\n\t\t\t\t\tstack.push(nCur.right);\n\t\t\t\t}\n\t\t\t\tif (nCur.left != null) {\n\t\t\t\t\tstack.push(nCur.left);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (nCur.bDirection == USING_X) {\n\t\t\t\t\tif (nCur.x < rect.xmin() && nCur.right != null) {\n\t\t\t\t\t\tstack.push(nCur.right);\n\t\t\t\t\t} else if (nCur.x > rect.xmax() && nCur.left != null) {\n\t\t\t\t\t\tstack.push(nCur.left);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (nCur.right != null) {\n\t\t\t\t\t\t\tstack.push(nCur.right);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (nCur.left != null) {\n\t\t\t\t\t\t\tstack.push(nCur.left);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (nCur.y < rect.ymin() && nCur.right != null) {\n\t\t\t\t\t\tstack.push(nCur.right);\n\t\t\t\t\t} else if (nCur.y > rect.ymax() && nCur.left != null) {\n\t\t\t\t\t\tstack.push(nCur.left);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (nCur.right != null) {\n\t\t\t\t\t\t\tstack.push(nCur.right);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (nCur.left != null) {\n\t\t\t\t\t\t\tstack.push(nCur.left);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn queue;\n\t}", "public Iterable<Point2D> range(RectHV rect) \r\n\t{\r\n\t\tStack<Point2D> insiders = new Stack<Point2D>();\r\n\t\trange(insiders, root, rect, new RectHV(0,0,1,1));\r\n\t\treturn insiders;\r\n\t}", "@java.lang.Override\n public java.util.List<java.lang.Long>\n getCellIdList() {\n return cellId_;\n }", "List<GeoPoint> findGeoIntersections(Ray ray);", "public Set<MapCoordinate> getAllSurroundingCellsAsMapCoordinatesStartingFromTopLeft(MapCoordinate topLeftMapCoordinate, int distance, Set<MapCoordinate> alreadyFound) {\n int currentX = topLeftMapCoordinate.getXAsInt();\n int currentY = topLeftMapCoordinate.getYAsInt();\n\n // first row\n int topLeftYMinusDistance = currentY - distance;\n int topLeftXMinusDistance = currentX - distance;\n\n int totalWidth = (distance + entityData.getWidthInCells() + distance) - 1;\n int totalHeight = (distance + entityData.getHeightInCells() + distance) - 1;\n\n Set<MapCoordinate> result = new HashSet<>(alreadyFound);\n\n // -1, because it is 0 based\n for (int x = 0; x <= totalWidth; x++) {\n result.add(MapCoordinate.create(topLeftXMinusDistance + x, topLeftYMinusDistance));\n }\n\n // then all 'sides' of the structure (left and right)\n // also start one row 'lower' since we do not want to calculate the top left/right twice (as we did it\n // in the above loop already)\n // totalHeight - 2 for same reason, -1 == zero based, -2 to reduce one row\n for (int y = 1; y <= (totalHeight - 1); y++) {\n int calculatedY = topLeftYMinusDistance + y;\n\n // left side\n result.add(MapCoordinate.create(topLeftXMinusDistance, calculatedY));\n\n // right side\n int rightX = topLeftXMinusDistance + totalWidth;\n result.add(MapCoordinate.create(rightX, calculatedY));\n }\n\n // bottom row\n int bottomRowY = topLeftYMinusDistance + totalHeight;\n for (int x = 0; x <= totalWidth; x++) {\n result.add(MapCoordinate.create(topLeftXMinusDistance + x, bottomRowY));\n }\n\n if (distance > 1) {\n return getAllSurroundingCellsAsMapCoordinatesStartingFromTopLeft(topLeftMapCoordinate, (distance-1), result);\n }\n return result;\n }", "Multimap<String, String> intersects(Circle bounds);", "public CellPosition isInside(Vector2i coord){\n\t\tCellPosition pos;\n\t\tpos = display.gridDisplay.isInside(coord);\n\t\tif(pos.isFound)\n\t\t\treturn pos;\n\t\t\n\t\tpos = canva.isInside(coord);\n\t\treturn pos;\n\t}", "public Vector<Integer> getAllCells() { \t \n \t Cursor c = db.query(DATABASE_TABLE_CELL, new String[] {KEY_CELL_CELLID}, null, null, null, null, null);\n \t Cells = new Vector<Integer>();\n \t if (c.moveToFirst())\n {\n do {\n Cells.add(c.getInt(0));\n } while (c.moveToNext());\n }\n \t return Cells;\n }", "public Map<LeafNode, int[]> getMapOfSelectedCells()\n\t{\n\t\tMap<LeafNode, int[]> toReturn = new HashMap<LeafNode, int[]>(selectionNode.size());\n\t\tfor (LeafNode leaf : selectionNode)\n\t\t{\n\t\t\tif (leaf.hasCellSelection())\n\t\t\t{\n\t\t\t\tint [] cells = leaf.getCellSelection();\n\t\t\t\tint [] copy = new int[cells.length];\n\t\t\t\tSystem.arraycopy(cells, 0, copy, 0, cells.length);\n\t\t\t\ttoReturn.put(leaf, copy);\n\t\t\t}\n\t\t}\n\t\treturn toReturn;\n\t}", "private List<Cell> getSurroundingCells(int x, int y) {\n ArrayList<Cell> cells = new ArrayList<>();\n for (int i = x - 1; i <= x + 1; i++) {\n for (int j = y - 1; j <= y + 1; j++) {\n // Don't include the current position i != x && j != y &&\n if ( isValidCoordinate(i, j)) {\n if (i == x && j == y) {\n continue;\n } else {\n cells.add(gameState.map[j][i]);\n }\n }\n }\n }\n return cells;\n }", "java.util.List<Report.LocationOuterClass.MobileCell> \n getCellsList();", "public Iterable<Point2D> range(RectHV rect) {\n if (rect == null) {\n throw new IllegalArgumentException();\n }\n List<Point2D> list = new LinkedList<>();\n range(rect, new RectHV(0.0, 0.0, 1.0, 1.0), list, this.root);\n return list;\n }", "public Set<? extends Position> getCellsInRange(int cellType, Position position, int radius) {\n\t\treturn getCellList(cellType).getAllInRange(position.x, position.y, radius);\n\t}", "public List<Marker> getMarkersInRect(RectF rectF) {\n return this.markers.obtainAllIn(rectF);\n }", "public static ArrayList<XYCoord> findVisibleLocations(GameMap map, XYCoord origin, int range)\n {\n return findVisibleLocations(map, origin, range, false);\n }", "int getCellStatus(int x, int y);", "public java.util.List<java.lang.Long>\n getCellIdList() {\n return ((bitField0_ & 0x00000001) != 0) ?\n java.util.Collections.unmodifiableList(cellId_) : cellId_;\n }", "public static ArrayList<XYCoord> findLocationsInRange(GameMap map, XYCoord origin, int maxRange)\n {\n return findLocationsInRange(map, origin, 1, maxRange);\n }", "public Square[] adjacentCells() {\n\t\tArrayList<Square> cells = new ArrayList <Square>();\n\t\tSquare aux;\n\t\tfor (int i = -1;i <= 1; i++) {\n\t\t\tfor (int j = -1; j <= 1 ; j++) {\n\t\t\t\taux = new Square(tractor.getRow()+i, tractor.getColumn()+j); \n\t\t\t\tif (isInside(aux) && abs(i+j) == 1) { \n\t\t\t\t\tcells.add(getSquare(aux));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn cells.toArray(new Square[cells.size()]);\n\t}", "List<PathRectangle> getCollisionRectangles();", "public static ArrayList<XYCoord> findLocationsInRange(GameMap map, XYCoord origin, int minRange, int maxRange)\n {\n ArrayList<XYCoord> locations = new ArrayList<XYCoord>();\n\n // Loop through all the valid x and y offsets, as dictated by the max range, and add valid spaces to our collection.\n for( int yOff = -maxRange; yOff <= maxRange; ++yOff )\n {\n for( int xOff = -maxRange; xOff <= maxRange; ++xOff )\n {\n int currentRange = Math.abs(xOff) + Math.abs(yOff);\n XYCoord coord = new XYCoord(origin.xCoord + xOff, origin.yCoord + yOff);\n if( currentRange >= minRange && currentRange <= maxRange && map.isLocationValid(coord) )\n {\n // Add this location to the set.\n locations.add(coord);\n }\n }\n }\n\n return locations;\n }", "public List<Point> query(Rectangle rectangle) {\n if (!boundary.intersects(rectangle)) {\n return Collections.emptyList();\n }\n\n List<Point> found = new ArrayList<>();\n points.stream()\n .filter(rectangle::contains)\n .forEach(found::add);\n\n if (isSubdivided) {\n found.addAll(nw.query(rectangle));\n found.addAll(ne.query(rectangle));\n found.addAll(se.query(rectangle));\n found.addAll(sw.query(rectangle));\n }\n\n return found;\n }", "@Override\n public boolean isInBounds(int row, int col) {\n return row >= 0 && row < grid.length && col >= 0 && col < grid[0].length;\n }", "public Rectangle getVisibleAreaInTiles(int screenCellsX, int screenCellsY, Coordinate center) {\n\t\tCoordinate upperLeft = getUpperLeftScreenTile(screenCellsX, screenCellsY, center);\n\t\tint w;\n\t\tint h;\n\n\t\tw = Math.min(this.width - upperLeft.x, screenCellsX);\n\t\th = Math.min(this.height - upperLeft.y, screenCellsY);\n\n\t\treturn new Rectangle(upperLeft.x, upperLeft.y, w, h);\n\t}", "public native String[] getSelectedCellIds() /*-{\r\n var self = [email protected]::getOrCreateJsObj()();\r\n var cells = self.getSelectedCellIds();\r\n if (cells == null) return null;\r\n return @com.smartgwt.client.util.JSOHelper::convertToArray(Lcom/google/gwt/core/client/JavaScriptObject;)(cells);\r\n }-*/;", "public Iterable<Point2D> range(RectHV rect) {\n\n\t\tif (rect == null)\n\t\t\tthrow new NullPointerException(\"Rectangle can not be null\");\n\n\t\tQueue<Point2D> rangeQueue = new Queue<Point2D>();\n\t\trange(rect, rangeQueue, root);\n\t\treturn rangeQueue;\n\n\t}", "Rectangle getBoundingBox(Rectangle rect);", "private int searchNeighbours(int[][] neighbourCords, int cellX, int cellY) {\n int neighbours = 0;\n for (int[] offset : neighbourCords) {\n if (getCell(cellX + offset[0], cellY + offset[1]).isAlive()) {\n neighbours++;\n }\n }\n\n return neighbours;\n }", "private ArrayList<Location> getLocationsWithin(Location loc, int n)\n {\n ArrayList<Location> locs = new ArrayList<>();\n if (loc==null||!loc.isValid()||n<=0)\n return locs;\n int thisRow = loc.getRow();\n int thisCol = loc.getCol();\n for (int row=thisRow-n;row<=thisRow+n;row++)\n {\n for (int col=thisCol-n;col<=thisCol+n;col++)\n {\n Location temp = new Location(row,col);\n if (temp.isValid())\n locs.add(temp);\n }\n }\n return locs;\n }", "public int[] getCellCoordinates(CellRecord cellRecord) {\r\n com.google.gwt.core.client.JsArrayInteger cellCoodJS = doGetCellCoordinates(cellRecord.getJsObj());\r\n return new int[]{cellCoodJS.get(0), cellCoodJS.get(1)};\r\n }", "public static ArrayList<int[]> getEmptyCellCoords(int[][] grid) {\n\n ArrayList<int[]> emptyCells = new ArrayList<int[]>();\n for (int i = 0; i < grid.length; i++) {\n for (int j = 0; j < grid[0].length; j++) {\n if (grid[i][j] == 0) {\n int[] arr = {i, j};\n emptyCells.add(0, arr);\n }\n }\n }\n\n return emptyCells;\n }", "public boolean isInGroup(Object cell) {\r\n \t\tObject[] celgru = null;\r\n \t\tObject[] celless = null;\r\n \r\n \t\tcells = graph.getDescendants(graph.getRoots());\r\n \t\tif (cells.length > 0) {\r\n \t\t\tfor (Object cell2 : cells) {\r\n \t\t\t\tif (cell2 instanceof BlockingRegion) {\r\n \t\t\t\t\tcelgru = new Object[1];\r\n \t\t\t\t\tcelgru[0] = cell2;\r\n \t\t\t\t\t// celle presenti nel blocking region incluse port e regione\r\n \r\n \t\t\t\t\tcelless = graph.getDescendants(celgru);\r\n \t\t\t\t\tfor (Object celles : celless) {\r\n \t\t\t\t\t\tif (celles.equals(cell)) {\r\n \t\t\t\t\t\t\treturn true;\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\treturn false;\r\n \t}", "public boolean inBounds(Rectangle bounds)\n\t{\n\t\treturn bounds.contains(mX, mY);\n\t}", "Multimap<String, String> intersects(Polygon bounds);", "private List<Cell> getNeighbours(int row,int col){\n List<Cell> neighbours = new ArrayList<Cell>();\n for(int i = row -1 ; i <= row+1 ; i++ )\n for(int j = col -1 ; j <= col+1 ; j++)\n if(i>=0 && i<cells.length && j>=0 && j<cells[0].length)\n neighbours.add(cells[i][j]);\n return neighbours;\n }", "public RMRect getBoundsInside() { return new RMRect(0, 0, getWidth(), getHeight()); }", "public static boolean isRect(int[][] myArr2D)\n {\n boolean rect = false;\n int max = Integer.MIN_VALUE;\n int min = Integer.MAX_VALUE;\n for( int i =0; i<myArr2D.length; i++)\n {\n if(myArr2D[i].length >= max)\n max = myArr2D[i].length;\n if(myArr2D[i].length <= min)\n min = myArr2D[i].length;\n }\n if(min==max)\n rect = true;\n return rect;\n }", "@Override\n\tpublic List<Cell> selectRoom(List<List<Cell>> selectable) {\n JSONObject message = new JSONObject();\n message.put(\"function\", \"select\");\n message.put(\"type\", \"room\");\n JSONArray jArray = new JSONArray();\n selectable.forEach(r -> {\n\t\t\tJSONArray room = createJSONCoordinateList(r);\n\t\t\tjArray.add(room);\n });\n message.put(\"list\", jArray);\n this.sendInstruction(message);\n\n JSONObject selected = (JSONObject) JSONValue.parse(this.getResponse());\n\n if (selected.get(\"room\").toString().equals(\"none\")) return new ArrayList<>();\n\n JSONArray room = (JSONArray) selected.get(\"room\");\n for(List<Cell> r : selectable){\n for(Cell c : r){\n if(c.getCoordX() == Integer.parseInt((((JSONObject) room.get(0)).get(\"x\").toString())) &&\n\t\t\t\t\t\tc.getCoordY() == Integer.parseInt((((JSONObject) room.get(0)).get(\"y\").toString())))\n \treturn r;\n }\n }\n return new ArrayList<>();\n }", "public int[] getPositionInGrid( int tile )\n\t{\n\t\tint[] position = new int[2];\n\t\t\n\t\tfor ( int y = 0; y < height; y++ )\n\t\t{\n\t\t\tfor ( int x = 0; x < width; x++ )\n\t\t\t{\n\t\t\t\tif ( grid[x][y] == tile ) \n\t\t\t\t{\n\t\t\t\t\tposition[0] = x;\n\t\t\t\t\tposition[1] = y;\n\t\t\t\t\t\n\t\t\t\t\t// Should break but meh\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn position;\n\t}", "Coordinates getCoordinates(int rowIndex);", "public float[] is_In_Ranges(int r, int g, int b){\n float cur_smallest_center_diff = -1;\n float cur_center_diff;\n float[] cur_centers = {-1.0f,-1.0f,-1.0f}; // 0 = red, 1 = green, 2 = blue\n for(Range cur_range: this.range_vector){\n if(cur_range.is_in_range(r, g, b)){\n cur_center_diff = ((r - cur_range.r_center)*(r - cur_range.r_center) + (g - cur_range.g_center)*(g - cur_range.g_center) + (b - cur_range.b_center)*(b - cur_range.b_center));\n if(cur_smallest_center_diff == -1) {\n cur_smallest_center_diff = cur_center_diff;\n cur_centers[0] = cur_range.r_center;\n cur_centers[1] = cur_range.g_center;\n cur_centers[2] = cur_range.b_center;\n }\n else if (cur_center_diff <= cur_smallest_center_diff) {\n cur_smallest_center_diff = cur_center_diff;\n cur_centers[0] = cur_range.r_center;\n cur_centers[1] = cur_range.g_center;\n cur_centers[2] = cur_range.b_center;\n }\n }\n }\n return cur_centers;\n }", "public boolean isInside(Square cell) {\n\t\treturn (cell.getRow()>=0 && cell.getRow()<getRows() && cell.getColumn()>=0 && cell.getColumn()<getColumns());\n\t}", "public visibleObject[][] getVisibility() {\n\n\t\tvisibleObject visiblility[][] = new GridCell.visibleObject[2 * visionRange + 1][2 * visionRange + 1];\n\t\tGridCell[][] cellArray = MazeGame.worldGraph.cellArray;\n\n\t\tfor (int i = (-visionRange); i < visionRange + 1; i++) {\n\t\t\tfor (int j = (-visionRange); j < visionRange + 1; j++) {\n\n\t\t\t\tGridCell cell = MazeGame.worldGraph.cellArray[currentCell.rowIndex + i][currentCell.columnIndex + j];\n\n\t\t\t\tfor (int k = currentCell.rowIndex - visionRange; k < currentCell.rowIndex + visionRange + 1; k++) {\n\t\t\t\t\tfor (int l = (currentCell.columnIndex - visionRange); l < currentCell.columnIndex + visionRange\n\t\t\t\t\t\t\t+ 1; l++) {\n\n\t\t\t\t\t\tif (!cellArray[k][l].hasEastEdge) {\n\n\t\t\t\t\t\t\tBoolean isIntersected = isIntersected(\n\t\t\t\t\t\t\t\t\tcurrentCell.columnIndex + j + 0.5,\n\t\t\t\t\t\t\t\t\tcurrentCell.rowIndex + i + 0.5,\n\t\t\t\t\t\t\t\t\tcurrentCell.columnIndex + 0.5, \n\t\t\t\t\t\t\t\t\tcurrentCell.rowIndex + 0.5, \n\t\t\t\t\t\t\t\t\tcellArray[k][l].columnIndex + 1,\n\t\t\t\t\t\t\t\t\tcellArray[k][l].rowIndex, \n\t\t\t\t\t\t\t\t\tcellArray[k][l].columnIndex + 1,\n\t\t\t\t\t\t\t\t\tcellArray[k][l].rowIndex + 1);\n\n\t\t\t\t\t\t\tif (isIntersected != null) {\n\t\t\t\t\t\t\t\tif (isIntersected.booleanValue()) {\n\t\t\t\t\t\t\t\t\tvisiblility[i + visionRange][j + visionRange] = visibleObject.NULL;\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\t\n\t\t\t\t\t\tif (!cellArray[k][l].hasSouthEdge) {\n\n\t\t\t\t\t\t\tBoolean isIntersected = isIntersected(currentCell.columnIndex + j + 0.5, currentCell.rowIndex + i + 0.5,\n\t\t\t\t\t\t\t\t\tcurrentCell.columnIndex + 0.5, currentCell.rowIndex + 0.5, cellArray[k][l].columnIndex,\n\t\t\t\t\t\t\t\t\tcellArray[k][l].rowIndex +1 , cellArray[k][l].columnIndex + 1,\n\t\t\t\t\t\t\t\t\tcellArray[k][l].rowIndex + 1);\n\n\t\t\t\t\t\t\tif (isIntersected != null) {\n\t\t\t\t\t\t\t\tif (isIntersected.booleanValue()) {\n\t\t\t\t\t\t\t\t\tvisiblility[i + visionRange][j + visionRange] = visibleObject.NULL;\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\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n//\t\t\t\tif(visiblility[i + visionRange][j + visionRange] != visibleObject.NULL){\n//\n//\t\t\t\t\tif (cell.cheese != null) {\n//\t\t\t\t\t\tif (cell.jerry != null) {\n//\t\t\t\t\t\t\tvisiblility[i + visionRange][j + visionRange] = visibleObject.JERRY_AND_CHEESE;\n//\t\t\t\t\t\t} else if (cell.tom != null) {\n//\t\t\t\t\t\t\tvisiblility[i + visionRange][j + visionRange] = visibleObject.TOM_AND_CHEESE;\n//\t\t\t\t\t\t} else {\n//\t\t\t\t\t\t\tvisiblility[i + visionRange][j + visionRange] = visibleObject.CHEESE;\n//\t\t\t\t\t\t}\n//\t\t\t\t\t} else if (cell.jerry != null) {\n//\t\t\t\t\t\tvisiblility[i + visionRange][j + visionRange] = visibleObject.JERRY;\n//\t\t\t\t\t} else if (cell.tom != null) {\n//\t\t\t\t\t\tvisiblility[i + visionRange][j + visionRange] = visibleObject.TOM;\n//\t\t\t\t\t} else {\n//\t\t\t\t\t\tvisiblility[i + visionRange][j + visionRange] = visibleObject.EMPTY_SPACE;\n//\t\t\t\t\t}\n//\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tthis.visiblility = visiblility;\n\t\treturn visiblility;\n\t}", "Rectangle getBounds();", "public MapCell[] getNeighbors(){\n\t\tMapCell[] neighbors = new MapCell[4];\n\t\tneighbors[0] = getNeighbor(\"east\");\n\t\tneighbors[1] = getNeighbor(\"north\");;\n\t\tneighbors[2] = getNeighbor(\"west\");\n\t\tneighbors[3] = getNeighbor(\"south\");\n\t\treturn neighbors;\n\t}", "boolean UsedInBox(int grid[][], int boxStartRow, int boxStartCol, int num)\n{\n for (int row = 0; row < 3; row++)\n for (int col = 0; col < 3; col++)\n if (grid[row+boxStartRow][col+boxStartCol] == num)\n return true;\n return false;\n}", "public Cell containingCell() {\n return new Cell(x() / SUBCELL_COUNT, y() / SUBCELL_COUNT);\n }", "public ArrayList<Entity> checkGrid(int x, int y) {\n \tArrayList<Entity> entitiesOnGrid = new ArrayList<Entity>();\n \tfor (Entity e: entities) {\n \t\tif (e != null) {\n \t\tif (e.getX() == x && e.getY() == y) {\n \t\t\tentitiesOnGrid.add(e);\n \t\t} \t\t\t\n \t\t}\n \t}\n \treturn entitiesOnGrid;\n }", "public ArrayList<Cell> getNeighbours(int radius) {\r\n return locateCell.getAdjacentCells(radius);\r\n }", "public int getHit(Rectangle[] bound, int mx, int my) {\n\t\t for (int i=0; i < bound.length; i++) {\n\t\t \tif (bound[i].contains(mx,my)) {\n\t\t \t\treturn i;\n\t\t \t}\n\t\t }\n\t\t return -1;\n\t}", "private List<Integer> getCells(Edge e) {\r\n\t\treturn getCells(e.getMBR());\r\n\t}", "private static boolean checkAndMapPointToExistingRegion(int row, int col, HashMap<Integer, ArrayList<String>> boundedRegions) {\n\t\t\n\t\tboolean found = false;\n \n\t\t// Iterate over the existing bounded regions and check if current point falls under adjacent point of any region\n for(Integer key : boundedRegions.keySet()) {\n ArrayList<String> boundedPointsPerRegionList = boundedRegions.get(key);\n \n if(boundedPointsPerRegionList != null) {\n \tlogDebug(\"checkAndMapPointToExistingRegion() | Is list contains -> \"+row + \":\" + col+\", \"+(row-1) + \":\" + col+\" OR \"+row + \":\" + (col-1));\n \t\n \t// If adjacent point, add into the list of same region otherwise create new region later. \t\n if(boundedPointsPerRegionList.contains(row + \":\" + (col-1)) || boundedPointsPerRegionList.contains((row-1) + \":\" + col)) {\n boundedPointsPerRegionList.add(row + \":\" + col);\n boundedRegions.put(key, boundedPointsPerRegionList);\n found = true;\n }\n } \n }\n \n return found;\n\t}", "public HashSet<Position> getInRangeL2(int p_r)\n {\n return this.getInRange(p_r, Distance.EUCLIDEAN);\n }", "boolean hasRect();", "private int checkCellClick(int xPos, int yPos) {\r\n\r\n\t\tfor (int i = 0; i < MAX_CELL_COUNT; ++i) {\r\n\r\n\t\t\tint x1 = ((width - SIZE_X) / 2) + 16;\r\n\t\t\tint y1 = ((height - SIZE_Y) / 2) + 16 + (i * CELL_SIZE_Y);\r\n\t\t\tint x2 = x1 + (SIZE_X - 42);\r\n\t\t\tint y2 = y1 + CELL_SIZE_Y;\r\n\r\n\t\t\tif (xPos >= x1 && xPos <= x2) {\r\n\t\t\t\tif (yPos >= y1 && yPos <= y2) {\r\n\t\t\t\t\treturn i;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn -1;\r\n\t}", "public Rectangle getCellRect(int row, int column, boolean includeSpacing)\n {\n if (map == null) return super.getCellRect(row, column, includeSpacing);\n // add widths of all spanned logical cells\n int sk = map.visibleCell(row, column);\n Rectangle r1 = super.getCellRect(row, sk, includeSpacing);\n if (map.span(row, sk) != 1)\n for (int i = 1; i < map.span(row, sk); i++)\n {\n r1.width += getColumnModel().getColumn(sk + i).getWidth();\n }\n return r1;\n }", "public abstract boolean getCell(int x, int y);", "public List<Square> getSquareGrid();", "private void findGrid(int x, int y) {\n\tgx = (int) Math.floor(x / gs);\n\tgy = (int) Math.floor(y / gs);\n\n\tif (debug){\n\tSystem.out.print(\"Actual: (\" + x + \",\" + y + \")\");\n\tSystem.out.println(\" Grid square: (\" + gx + \",\" + gy + \")\");\n\t}\n }", "public List<Tile> getTilesAtAbsoluteRect(AbsoluteRectangle rect) {\n List<Tile> tiles = new ArrayList<>();\n int tileWidth = tileMap.getTileWidth();\n int tileHeight = tileMap.getTileHeight();\n int startX = rect.x / tileWidth;\n int startY = rect.y / tileHeight;\n int endX = (int) Math.ceil((rect.x + rect.width) / (float) tileWidth);\n int endY = (int) Math.ceil((rect.y + rect.height) / (float) tileHeight);\n for (int x = startX; x < endX; x++)\n for (int y = startY; y < endY; y++) {\n Tile tile = tileMap.getTile(x, y);\n if (tile != null)\n tiles.add(tile);\n }\n return tiles;\n }", "private void getCoordinates(Roi roi, ArrayList<Point> lstPt) {\n ImageProcessor mask = roi.getMask();\n Rectangle r = roi.getBounds();\n int pos_x = 0;\n int pos_y = 0;\n\n for(int y = 0; y < r.height; y++) {\n for(int x = 0; x < r.width; x++) {\n if(mask == null || mask.getPixel(x, y) != 0) {\n pos_x = r.x + x;\n pos_y = r.y + y;\n lstPt.add(new Point(pos_x, pos_y));\n }\n }\n }\n }", "private boolean cell_in_bounds(int row, int col) {\n return row >= 0\n && row < rowsCount\n && col >= 0\n && col < colsCount;\n }", "java.util.List<? extends Report.LocationOuterClass.MobileCellOrBuilder> \n getCellsOrBuilderList();", "private boolean isBetweenBounds(int x, int y, int[] bounds) {\n return x >= bounds[0] && x <= bounds[2] && y >= bounds[1] && y <= bounds[3];\n }" ]
[ "0.6908989", "0.6443821", "0.6441202", "0.64182574", "0.63120466", "0.61784214", "0.6101339", "0.6089345", "0.6080908", "0.6054189", "0.60491943", "0.60304886", "0.60296005", "0.60047", "0.59779614", "0.5967237", "0.5933698", "0.59160435", "0.5850416", "0.58494836", "0.5847186", "0.58341175", "0.5822185", "0.572337", "0.5704741", "0.56537724", "0.5647661", "0.5609496", "0.5592776", "0.5589833", "0.55763453", "0.5542613", "0.5456605", "0.54523504", "0.5451282", "0.5450243", "0.54403913", "0.5427704", "0.54274434", "0.54266787", "0.54208297", "0.54170996", "0.5401649", "0.53971", "0.53970265", "0.5389643", "0.5377468", "0.53689504", "0.5366346", "0.5355151", "0.5344717", "0.53360695", "0.53276056", "0.5322179", "0.5321639", "0.5317471", "0.53069955", "0.5302681", "0.5292244", "0.52867764", "0.5270762", "0.5249721", "0.52454036", "0.5241764", "0.51970106", "0.5193344", "0.51922697", "0.5190247", "0.5189798", "0.51794684", "0.5171428", "0.51644707", "0.51514655", "0.5145666", "0.51263076", "0.51184297", "0.51015013", "0.50986606", "0.5091892", "0.50886405", "0.5085979", "0.5085412", "0.50731725", "0.5046368", "0.50445193", "0.5026141", "0.5026126", "0.50254875", "0.5022783", "0.5022631", "0.50156176", "0.50015646", "0.4988002", "0.49653918", "0.49600193", "0.49535155", "0.4950913", "0.49469352", "0.49452773", "0.4939649" ]
0.7407997
0
/ access modifiers changed from: 0000 / renamed from: a
public C7059Ec mo22953a(C7231ya yaVar) { return ((C7071Hc) yaVar).mo22762n(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void func_104112_b() {\n \n }", "public void m23075a() {\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public final void mo51373a() {\n }", "public void mo38117a() {\n }", "public abstract void mo53562a(C18796a c18796a);", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "void m1864a() {\r\n }", "public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }", "public void mo12930a() {\n }", "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C3660a {\n /* renamed from: a */\n void mo9777a();\n }", "public void mo1531a() {\n }", "public int a()\r\n/* 64: */ {\r\n/* 65:70 */ return this.a;\r\n/* 66: */ }", "public abstract void m15813a();", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public void mo9848a() {\n }", "public void mo2740a() {\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public abstract void mo27464a();", "public abstract Object mo1771a();", "public void mo115188a() {\n }", "public void mo44053a() {\n }", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "public abstract void mo70702a(C30989b c30989b);", "public void mo115190b() {\n }", "public abstract String mo118046b();", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public abstract void mo70713b();", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface AbstractC33066a {\n /* renamed from: a */\n long mo133613a();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public abstract C14408a mo11607a();", "public abstract Member mo23408O();", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "public void mo4359a() {\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "@Override\n\tpublic void aaa() {\n\t\t\n\t}", "public void mo21800a() {\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C0069a {\n void a();\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public void mo21825b() {\n }", "public abstract void mo3994a();", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public void mo6944a() {\n }", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public void mo23813b() {\n }", "public abstract Object mo26777y();", "public abstract void mo30696a();", "public abstract void mo102899a();", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\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 }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "public void mo97908d() {\n }", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C0025k {\n /* renamed from: a */\n long mo49a();\n}", "private void m50366E() {\n }", "public final void mo91715d() {\n }", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "public interface AbstractC5208b {\n\n /* renamed from: com.iflytek.voiceads.a.b$a */\n public static final class C5209a implements AbstractC5208b {\n\n /* renamed from: a */\n private final byte[] f22887a;\n\n /* renamed from: b */\n private int f22888b;\n\n C5209a(byte[] bArr) {\n this.f22887a = bArr;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public void mo38565a(int i) {\n this.f22888b = i;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public byte[] mo38566a() {\n return this.f22887a;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: b */\n public int mo38567b() {\n return this.f22888b;\n }\n }\n\n /* renamed from: a */\n void mo38565a(int i);\n\n /* renamed from: a */\n byte[] mo38566a();\n\n /* renamed from: b */\n int mo38567b();\n}", "public void mo55254a() {\n }", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public void mo5248a() {\n }", "public abstract Object mo1185b();", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C0777a {\n }", "public abstract void mo27385c();", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "@Override // g.i.a.a\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void a(android.view.View r18, android.content.Context r19, android.database.Cursor r20) {\n /*\n // Method dump skipped, instructions count: 441\n */\n throw new UnsupportedOperationException(\"Method not decompiled: g.b.g.t0.a(android.view.View, android.content.Context, android.database.Cursor):void\");\n }", "void mo41083a();", "public abstract C13619e mo34787a();", "public interface C0938b {\n }", "public String i() {\n/* 44 */ return this.a.toString();\n/* */ }", "public interface C0020b {\n void a(String str);\n }", "public abstract C mo29734a();", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }" ]
[ "0.67132944", "0.65655446", "0.65399784", "0.65144646", "0.6469384", "0.6468396", "0.6461784", "0.6458328", "0.6449518", "0.644272", "0.64330333", "0.64257383", "0.6421159", "0.63868374", "0.6376262", "0.63560826", "0.63305223", "0.6318987", "0.6315042", "0.63145274", "0.63077116", "0.63067263", "0.6304548", "0.6299418", "0.6280767", "0.6274021", "0.6243324", "0.62429124", "0.62419426", "0.62346107", "0.62341267", "0.6226493", "0.6225325", "0.6223883", "0.62185305", "0.6216954", "0.62127966", "0.62125254", "0.6212185", "0.6210115", "0.62100035", "0.6207968", "0.62067795", "0.6200102", "0.61823887", "0.6180715", "0.61694044", "0.6153568", "0.6146887", "0.6145536", "0.6144862", "0.61429864", "0.6140886", "0.61342835", "0.61341095", "0.6126859", "0.6125086", "0.6121262", "0.6107715", "0.6107343", "0.61044693", "0.6101102", "0.60982627", "0.6095957", "0.6075254", "0.6075057", "0.60680056", "0.6064952", "0.6058694", "0.6058694", "0.6058694", "0.6058694", "0.6058694", "0.6058694", "0.6058694", "0.6053097", "0.6046362", "0.6044621", "0.6041315", "0.60353297", "0.6032702", "0.60325325", "0.6031965", "0.6021524", "0.6019112", "0.60104847", "0.600948", "0.6004752", "0.6002943", "0.5995255", "0.59944403", "0.59937435", "0.59895104", "0.59808123", "0.5979005", "0.5973948", "0.5971074", "0.5970807", "0.59673184", "0.59604394", "0.5960251" ]
0.0
-1
/ access modifiers changed from: 0000 / renamed from: a
public C7184mb mo22954a(C7059Ec ec) { C7090Mb mb = new C7090Mb(ec, this, this.f13541a); mb.mo22903a(true); return mb; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void func_104112_b() {\n \n }", "public void m23075a() {\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public final void mo51373a() {\n }", "public void mo38117a() {\n }", "public abstract void mo53562a(C18796a c18796a);", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "void m1864a() {\r\n }", "public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }", "public void mo12930a() {\n }", "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C3660a {\n /* renamed from: a */\n void mo9777a();\n }", "public void mo1531a() {\n }", "public int a()\r\n/* 64: */ {\r\n/* 65:70 */ return this.a;\r\n/* 66: */ }", "public abstract void m15813a();", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public void mo9848a() {\n }", "public void mo2740a() {\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public abstract void mo27464a();", "public abstract Object mo1771a();", "public void mo115188a() {\n }", "public void mo44053a() {\n }", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "public abstract void mo70702a(C30989b c30989b);", "public void mo115190b() {\n }", "public abstract String mo118046b();", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public abstract void mo70713b();", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface AbstractC33066a {\n /* renamed from: a */\n long mo133613a();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public abstract C14408a mo11607a();", "public abstract Member mo23408O();", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "public void mo4359a() {\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "@Override\n\tpublic void aaa() {\n\t\t\n\t}", "public void mo21800a() {\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C0069a {\n void a();\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public void mo21825b() {\n }", "public abstract void mo3994a();", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public void mo6944a() {\n }", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public void mo23813b() {\n }", "public abstract Object mo26777y();", "public abstract void mo30696a();", "public abstract void mo102899a();", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\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 }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "public void mo97908d() {\n }", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C0025k {\n /* renamed from: a */\n long mo49a();\n}", "private void m50366E() {\n }", "public final void mo91715d() {\n }", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "public interface AbstractC5208b {\n\n /* renamed from: com.iflytek.voiceads.a.b$a */\n public static final class C5209a implements AbstractC5208b {\n\n /* renamed from: a */\n private final byte[] f22887a;\n\n /* renamed from: b */\n private int f22888b;\n\n C5209a(byte[] bArr) {\n this.f22887a = bArr;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public void mo38565a(int i) {\n this.f22888b = i;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public byte[] mo38566a() {\n return this.f22887a;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: b */\n public int mo38567b() {\n return this.f22888b;\n }\n }\n\n /* renamed from: a */\n void mo38565a(int i);\n\n /* renamed from: a */\n byte[] mo38566a();\n\n /* renamed from: b */\n int mo38567b();\n}", "public void mo55254a() {\n }", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public void mo5248a() {\n }", "public abstract Object mo1185b();", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C0777a {\n }", "public abstract void mo27385c();", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "@Override // g.i.a.a\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void a(android.view.View r18, android.content.Context r19, android.database.Cursor r20) {\n /*\n // Method dump skipped, instructions count: 441\n */\n throw new UnsupportedOperationException(\"Method not decompiled: g.b.g.t0.a(android.view.View, android.content.Context, android.database.Cursor):void\");\n }", "void mo41083a();", "public abstract C13619e mo34787a();", "public interface C0938b {\n }", "public String i() {\n/* 44 */ return this.a.toString();\n/* */ }", "public interface C0020b {\n void a(String str);\n }", "public abstract C mo29734a();", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }" ]
[ "0.67132944", "0.65655446", "0.65399784", "0.65144646", "0.6469384", "0.6468396", "0.6461784", "0.6458328", "0.6449518", "0.644272", "0.64330333", "0.64257383", "0.6421159", "0.63868374", "0.6376262", "0.63560826", "0.63305223", "0.6318987", "0.6315042", "0.63145274", "0.63077116", "0.63067263", "0.6304548", "0.6299418", "0.6280767", "0.6274021", "0.6243324", "0.62429124", "0.62419426", "0.62346107", "0.62341267", "0.6226493", "0.6225325", "0.6223883", "0.62185305", "0.6216954", "0.62127966", "0.62125254", "0.6212185", "0.6210115", "0.62100035", "0.6207968", "0.62067795", "0.6200102", "0.61823887", "0.6180715", "0.61694044", "0.6153568", "0.6146887", "0.6145536", "0.6144862", "0.61429864", "0.6140886", "0.61342835", "0.61341095", "0.6126859", "0.6125086", "0.6121262", "0.6107715", "0.6107343", "0.61044693", "0.6101102", "0.60982627", "0.6095957", "0.6075254", "0.6075057", "0.60680056", "0.6064952", "0.6058694", "0.6058694", "0.6058694", "0.6058694", "0.6058694", "0.6058694", "0.6058694", "0.6053097", "0.6046362", "0.6044621", "0.6041315", "0.60353297", "0.6032702", "0.60325325", "0.6031965", "0.6021524", "0.6019112", "0.60104847", "0.600948", "0.6004752", "0.6002943", "0.5995255", "0.59944403", "0.59937435", "0.59895104", "0.59808123", "0.5979005", "0.5973948", "0.5971074", "0.5970807", "0.59673184", "0.59604394", "0.5960251" ]
0.0
-1
/ access modifiers changed from: 0000 / renamed from: a
public void mo22955a() { for (C7059Ec ec : C7059Ec.m14677b(this.f13541a)) { if (!ec.mo22804e()) { mo22964h(ec); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void func_104112_b() {\n \n }", "public void m23075a() {\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "public final void mo51373a() {\n }", "public void mo38117a() {\n }", "public abstract void mo53562a(C18796a c18796a);", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "void m1864a() {\r\n }", "public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }", "public void mo12930a() {\n }", "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C3660a {\n /* renamed from: a */\n void mo9777a();\n }", "public void mo1531a() {\n }", "public int a()\r\n/* 64: */ {\r\n/* 65:70 */ return this.a;\r\n/* 66: */ }", "public abstract void m15813a();", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public void mo9848a() {\n }", "public void mo2740a() {\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void mo115188a() {\n }", "public void mo44053a() {\n }", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "public abstract void mo70702a(C30989b c30989b);", "public void mo115190b() {\n }", "public abstract String mo118046b();", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "public abstract void mo70713b();", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface AbstractC33066a {\n /* renamed from: a */\n long mo133613a();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public abstract C14408a mo11607a();", "public abstract Member mo23408O();", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public void mo4359a() {\n }", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "@Override\n\tpublic void aaa() {\n\t\t\n\t}", "public void mo21800a() {\n }", "public interface C0069a {\n void a();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public void mo21825b() {\n }", "public abstract void mo3994a();", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public void mo6944a() {\n }", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public void mo23813b() {\n }", "public abstract Object mo26777y();", "public abstract void mo30696a();", "public abstract void mo102899a();", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\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 }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "public void mo97908d() {\n }", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "private void m50366E() {\n }", "public interface C0025k {\n /* renamed from: a */\n long mo49a();\n}", "public final void mo91715d() {\n }", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "public interface AbstractC5208b {\n\n /* renamed from: com.iflytek.voiceads.a.b$a */\n public static final class C5209a implements AbstractC5208b {\n\n /* renamed from: a */\n private final byte[] f22887a;\n\n /* renamed from: b */\n private int f22888b;\n\n C5209a(byte[] bArr) {\n this.f22887a = bArr;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public void mo38565a(int i) {\n this.f22888b = i;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public byte[] mo38566a() {\n return this.f22887a;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: b */\n public int mo38567b() {\n return this.f22888b;\n }\n }\n\n /* renamed from: a */\n void mo38565a(int i);\n\n /* renamed from: a */\n byte[] mo38566a();\n\n /* renamed from: b */\n int mo38567b();\n}", "public void mo55254a() {\n }", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public void mo5248a() {\n }", "public abstract Object mo1185b();", "public interface C0777a {\n }", "public abstract void mo27385c();", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "void mo41083a();", "@Override // g.i.a.a\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void a(android.view.View r18, android.content.Context r19, android.database.Cursor r20) {\n /*\n // Method dump skipped, instructions count: 441\n */\n throw new UnsupportedOperationException(\"Method not decompiled: g.b.g.t0.a(android.view.View, android.content.Context, android.database.Cursor):void\");\n }", "public abstract C13619e mo34787a();", "public String i() {\n/* 44 */ return this.a.toString();\n/* */ }", "public interface C0938b {\n }", "public interface C0020b {\n void a(String str);\n }", "public abstract C mo29734a();", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }" ]
[ "0.6714286", "0.65658224", "0.65416825", "0.6513276", "0.6468388", "0.6468152", "0.64618325", "0.6459187", "0.64499724", "0.6441312", "0.6433308", "0.6425642", "0.6421592", "0.63852054", "0.63751984", "0.63556576", "0.63321835", "0.6319933", "0.6313815", "0.6313002", "0.6308493", "0.6306455", "0.6303664", "0.62978435", "0.62825334", "0.62751985", "0.6244193", "0.6243503", "0.6240298", "0.6235606", "0.6235587", "0.62273985", "0.62260926", "0.6222339", "0.62186456", "0.6217281", "0.6214253", "0.6211625", "0.6211198", "0.6211139", "0.62108463", "0.62081206", "0.6207834", "0.6199443", "0.6183986", "0.61816597", "0.6169678", "0.61514693", "0.61462563", "0.61458576", "0.6144327", "0.61421365", "0.61400664", "0.61360246", "0.61351156", "0.6126212", "0.6126003", "0.6119434", "0.610845", "0.6108444", "0.6103581", "0.6102206", "0.6097209", "0.6096251", "0.6076945", "0.607603", "0.60693467", "0.6063535", "0.6059362", "0.6059362", "0.6059362", "0.6059362", "0.6059362", "0.6059362", "0.6059362", "0.6051907", "0.6046083", "0.6045836", "0.6040054", "0.60339534", "0.60331196", "0.6031278", "0.60312057", "0.6020413", "0.60194945", "0.601135", "0.60080457", "0.6005846", "0.60042244", "0.59952796", "0.59949064", "0.59943825", "0.5988284", "0.59802014", "0.59799516", "0.59749985", "0.59736526", "0.5971758", "0.5967794", "0.59620297", "0.59590495" ]
0.0
-1
/ renamed from: a
public void mo22816a(C7059Ec ec, int i) { mo23144c(ec, i); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ access modifiers changed from: 0000 / renamed from: a
public void mo22956a(Object obj, C7059Ec ec, int i) { if (obj instanceof C7060F) { ((C7060F) obj).mo22816a(ec, i); } if (obj instanceof C7254d) { ((C7254d) obj).failedToReceiveAd(i); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void func_104112_b() {\n \n }", "public void m23075a() {\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public final void mo51373a() {\n }", "public void mo38117a() {\n }", "public abstract void mo53562a(C18796a c18796a);", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "void m1864a() {\r\n }", "public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }", "public void mo12930a() {\n }", "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C3660a {\n /* renamed from: a */\n void mo9777a();\n }", "public void mo1531a() {\n }", "public int a()\r\n/* 64: */ {\r\n/* 65:70 */ return this.a;\r\n/* 66: */ }", "public abstract void m15813a();", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public void mo9848a() {\n }", "public void mo2740a() {\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public abstract void mo27464a();", "public abstract Object mo1771a();", "public void mo115188a() {\n }", "public void mo44053a() {\n }", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "public abstract void mo70702a(C30989b c30989b);", "public void mo115190b() {\n }", "public abstract String mo118046b();", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public abstract void mo70713b();", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface AbstractC33066a {\n /* renamed from: a */\n long mo133613a();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public abstract C14408a mo11607a();", "public abstract Member mo23408O();", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "public void mo4359a() {\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "@Override\n\tpublic void aaa() {\n\t\t\n\t}", "public void mo21800a() {\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C0069a {\n void a();\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public void mo21825b() {\n }", "public abstract void mo3994a();", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public void mo6944a() {\n }", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public void mo23813b() {\n }", "public abstract Object mo26777y();", "public abstract void mo30696a();", "public abstract void mo102899a();", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\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 }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "public void mo97908d() {\n }", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C0025k {\n /* renamed from: a */\n long mo49a();\n}", "private void m50366E() {\n }", "public final void mo91715d() {\n }", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "public interface AbstractC5208b {\n\n /* renamed from: com.iflytek.voiceads.a.b$a */\n public static final class C5209a implements AbstractC5208b {\n\n /* renamed from: a */\n private final byte[] f22887a;\n\n /* renamed from: b */\n private int f22888b;\n\n C5209a(byte[] bArr) {\n this.f22887a = bArr;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public void mo38565a(int i) {\n this.f22888b = i;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public byte[] mo38566a() {\n return this.f22887a;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: b */\n public int mo38567b() {\n return this.f22888b;\n }\n }\n\n /* renamed from: a */\n void mo38565a(int i);\n\n /* renamed from: a */\n byte[] mo38566a();\n\n /* renamed from: b */\n int mo38567b();\n}", "public void mo55254a() {\n }", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public void mo5248a() {\n }", "public abstract Object mo1185b();", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C0777a {\n }", "public abstract void mo27385c();", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "@Override // g.i.a.a\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void a(android.view.View r18, android.content.Context r19, android.database.Cursor r20) {\n /*\n // Method dump skipped, instructions count: 441\n */\n throw new UnsupportedOperationException(\"Method not decompiled: g.b.g.t0.a(android.view.View, android.content.Context, android.database.Cursor):void\");\n }", "void mo41083a();", "public abstract C13619e mo34787a();", "public interface C0938b {\n }", "public String i() {\n/* 44 */ return this.a.toString();\n/* */ }", "public interface C0020b {\n void a(String str);\n }", "public abstract C mo29734a();", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }" ]
[ "0.67132944", "0.65655446", "0.65399784", "0.65144646", "0.6469384", "0.6468396", "0.6461784", "0.6458328", "0.6449518", "0.644272", "0.64330333", "0.64257383", "0.6421159", "0.63868374", "0.6376262", "0.63560826", "0.63305223", "0.6318987", "0.6315042", "0.63145274", "0.63077116", "0.63067263", "0.6304548", "0.6299418", "0.6280767", "0.6274021", "0.6243324", "0.62429124", "0.62419426", "0.62346107", "0.62341267", "0.6226493", "0.6225325", "0.6223883", "0.62185305", "0.6216954", "0.62127966", "0.62125254", "0.6212185", "0.6210115", "0.62100035", "0.6207968", "0.62067795", "0.6200102", "0.61823887", "0.6180715", "0.61694044", "0.6153568", "0.6146887", "0.6145536", "0.6144862", "0.61429864", "0.6140886", "0.61342835", "0.61341095", "0.6126859", "0.6125086", "0.6121262", "0.6107715", "0.6107343", "0.61044693", "0.6101102", "0.60982627", "0.6095957", "0.6075254", "0.6075057", "0.60680056", "0.6064952", "0.6058694", "0.6058694", "0.6058694", "0.6058694", "0.6058694", "0.6058694", "0.6058694", "0.6053097", "0.6046362", "0.6044621", "0.6041315", "0.60353297", "0.6032702", "0.60325325", "0.6031965", "0.6021524", "0.6019112", "0.60104847", "0.600948", "0.6004752", "0.6002943", "0.5995255", "0.59944403", "0.59937435", "0.59895104", "0.59808123", "0.5979005", "0.5973948", "0.5971074", "0.5970807", "0.59673184", "0.59604394", "0.5960251" ]
0.0
-1
/ access modifiers changed from: 0000 / renamed from: a
public void mo22957a(Object obj, C7231ya yaVar) { ((C7254d) obj).adReceived((C7251a) yaVar); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void func_104112_b() {\n \n }", "public void m23075a() {\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public final void mo51373a() {\n }", "public void mo38117a() {\n }", "public abstract void mo53562a(C18796a c18796a);", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "void m1864a() {\r\n }", "public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }", "public void mo12930a() {\n }", "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C3660a {\n /* renamed from: a */\n void mo9777a();\n }", "public void mo1531a() {\n }", "public int a()\r\n/* 64: */ {\r\n/* 65:70 */ return this.a;\r\n/* 66: */ }", "public abstract void m15813a();", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public void mo9848a() {\n }", "public void mo2740a() {\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public abstract void mo27464a();", "public abstract Object mo1771a();", "public void mo115188a() {\n }", "public void mo44053a() {\n }", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "public abstract void mo70702a(C30989b c30989b);", "public void mo115190b() {\n }", "public abstract String mo118046b();", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public abstract void mo70713b();", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface AbstractC33066a {\n /* renamed from: a */\n long mo133613a();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public abstract C14408a mo11607a();", "public abstract Member mo23408O();", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "public void mo4359a() {\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "@Override\n\tpublic void aaa() {\n\t\t\n\t}", "public void mo21800a() {\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C0069a {\n void a();\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public void mo21825b() {\n }", "public abstract void mo3994a();", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public void mo6944a() {\n }", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public void mo23813b() {\n }", "public abstract Object mo26777y();", "public abstract void mo30696a();", "public abstract void mo102899a();", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\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 }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "public void mo97908d() {\n }", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C0025k {\n /* renamed from: a */\n long mo49a();\n}", "private void m50366E() {\n }", "public final void mo91715d() {\n }", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "public interface AbstractC5208b {\n\n /* renamed from: com.iflytek.voiceads.a.b$a */\n public static final class C5209a implements AbstractC5208b {\n\n /* renamed from: a */\n private final byte[] f22887a;\n\n /* renamed from: b */\n private int f22888b;\n\n C5209a(byte[] bArr) {\n this.f22887a = bArr;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public void mo38565a(int i) {\n this.f22888b = i;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public byte[] mo38566a() {\n return this.f22887a;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: b */\n public int mo38567b() {\n return this.f22888b;\n }\n }\n\n /* renamed from: a */\n void mo38565a(int i);\n\n /* renamed from: a */\n byte[] mo38566a();\n\n /* renamed from: b */\n int mo38567b();\n}", "public void mo55254a() {\n }", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public void mo5248a() {\n }", "public abstract Object mo1185b();", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C0777a {\n }", "public abstract void mo27385c();", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "@Override // g.i.a.a\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void a(android.view.View r18, android.content.Context r19, android.database.Cursor r20) {\n /*\n // Method dump skipped, instructions count: 441\n */\n throw new UnsupportedOperationException(\"Method not decompiled: g.b.g.t0.a(android.view.View, android.content.Context, android.database.Cursor):void\");\n }", "void mo41083a();", "public abstract C13619e mo34787a();", "public interface C0938b {\n }", "public String i() {\n/* 44 */ return this.a.toString();\n/* */ }", "public interface C0020b {\n void a(String str);\n }", "public abstract C mo29734a();", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }" ]
[ "0.67132944", "0.65655446", "0.65399784", "0.65144646", "0.6469384", "0.6468396", "0.6461784", "0.6458328", "0.6449518", "0.644272", "0.64330333", "0.64257383", "0.6421159", "0.63868374", "0.6376262", "0.63560826", "0.63305223", "0.6318987", "0.6315042", "0.63145274", "0.63077116", "0.63067263", "0.6304548", "0.6299418", "0.6280767", "0.6274021", "0.6243324", "0.62429124", "0.62419426", "0.62346107", "0.62341267", "0.6226493", "0.6225325", "0.6223883", "0.62185305", "0.6216954", "0.62127966", "0.62125254", "0.6212185", "0.6210115", "0.62100035", "0.6207968", "0.62067795", "0.6200102", "0.61823887", "0.6180715", "0.61694044", "0.6153568", "0.6146887", "0.6145536", "0.6144862", "0.61429864", "0.6140886", "0.61342835", "0.61341095", "0.6126859", "0.6125086", "0.6121262", "0.6107715", "0.6107343", "0.61044693", "0.6101102", "0.60982627", "0.6095957", "0.6075254", "0.6075057", "0.60680056", "0.6064952", "0.6058694", "0.6058694", "0.6058694", "0.6058694", "0.6058694", "0.6058694", "0.6058694", "0.6053097", "0.6046362", "0.6044621", "0.6041315", "0.60353297", "0.6032702", "0.60325325", "0.6031965", "0.6021524", "0.6019112", "0.60104847", "0.600948", "0.6004752", "0.6002943", "0.5995255", "0.59944403", "0.59937435", "0.59895104", "0.59808123", "0.5979005", "0.5973948", "0.5971074", "0.5970807", "0.59673184", "0.59604394", "0.5960251" ]
0.0
-1
/ renamed from: a
public /* bridge */ /* synthetic */ void mo22958a(LinkedHashSet linkedHashSet) { super.mo22958a(linkedHashSet); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: a
public /* bridge */ /* synthetic */ boolean mo23140a(C7059Ec ec, Object obj) { return super.mo23140a(ec, obj); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: b
public /* bridge */ /* synthetic */ void mo22959b(C7059Ec ec, int i) { super.mo22959b(ec, i); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "@Override\n\tpublic void b() {\n\n\t}", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public bb b() {\n return a(this.a);\n }", "@Override\n\tpublic void b1() {\n\t\t\n\t}", "public void b() {\r\n }", "@Override\n\tpublic void bbb() {\n\t\t\n\t}", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public abstract void b(StringBuilder sb);", "public void b() {\n }", "public void b() {\n }", "protected b(int mb) {\n/* 87 */ this.b = mb;\n/* */ }", "public u(b paramb)\r\n/* 7: */ {\r\n/* 8: 9 */ this.a = paramb;\r\n/* 9: */ }", "public interface b {\n void H_();\n\n void I_();\n\n void J_();\n\n void a(C0063d dVar);\n\n void a(byte[] bArr);\n\n void b(boolean z);\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public void b() {\n ((a) this.a).b();\n }", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "b(a aVar) {\n super(0);\n this.this$0 = aVar;\n }", "public t b() {\n return a(this.a);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "public static String a(int c) {\n/* 89 */ return b.a(c);\n/* */ }", "private void m678b(byte b) {\n byte[] bArr = this.f523r;\n bArr[0] = b;\n this.f552g.mo502b(bArr);\n }", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "public abstract T zzm(B b);", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public void b(World paramaqu, BlockPosition paramdt, Block parambec)\r\n/* 27: */ {\r\n/* 28: 47 */ bcm localbcm = paramaqu.s(paramdt);\r\n/* 29: 48 */ if ((localbcm instanceof bdv)) {\r\n/* 30: 49 */ ((bdv)localbcm).h();\r\n/* 31: */ } else {\r\n/* 32: 51 */ super.b(paramaqu, paramdt, parambec);\r\n/* 33: */ }\r\n/* 34: */ }", "public abstract void zzc(B b, int i, int i2);", "public interface b {\n}", "public interface b {\n}", "private void m10263b(byte b) throws cf {\r\n this.f6483r[0] = b;\r\n this.g.m10347b(this.f6483r);\r\n }", "BSubstitution createBSubstitution();", "public void b(ahd paramahd) {}", "void b();", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "B database(S database);", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public abstract C0631bt mo9227aB();", "public an b() {\n return a(this.a);\n }", "protected abstract void a(bru parambru);", "static void go(Base b) {\n\t\tb.add(8);\n\t}", "void mo46242a(bmc bmc);", "public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }", "public interface bca extends bbn {\n bca a();\n\n bca a(String str);\n\n bca b(String str);\n\n bca c(String str);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public abstract BoundType b();", "public void b(amj paramamj)\r\n/* 538: */ {\r\n/* 539:579 */ this.f = paramamj;\r\n/* 540: */ }", "b(a aVar, com.bytedance.jedi.model.h.a aVar2) {\n super(aVar2);\n this.f21531a = aVar;\n this.f21532b = new com.bytedance.jedi.model.h.f(aVar);\n }", "private void b(int paramInt)\r\n/* 193: */ {\r\n/* 194:203 */ this.h.a(a(paramInt));\r\n/* 195: */ }", "public void b(ahb paramahb)\r\n/* 583: */ {\r\n/* 584:625 */ for (int i = 0; i < this.a.length; i++) {\r\n/* 585:626 */ this.a[i] = amj.b(paramahb.a[i]);\r\n/* 586: */ }\r\n/* 587:628 */ for (i = 0; i < this.b.length; i++) {\r\n/* 588:629 */ this.b[i] = amj.b(paramahb.b[i]);\r\n/* 589: */ }\r\n/* 590:631 */ this.c = paramahb.c;\r\n/* 591: */ }", "interface b {\n\n /* compiled from: CreditAccountContract */\n public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }\n\n /* compiled from: CreditAccountContract */\n public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }\n}", "@Override\n\tpublic void visit(PartB partB) {\n\n\t}", "public abstract void zzb(B b, int i, long j);", "public abstract void zza(B b, int i, zzeh zzeh);", "int metodo2(int a, int b) {\r\n\r\n\t\tthis.a += 5; // se modifica el campo del objeto, el uso de la palabra reservada this se utiliza para referenciar al campo.\r\n\t\tb += 7;\r\n\t\treturn a; // modifica en la asignaci\\u00f3n\r\n\t}", "private void internalCopy(Board b) {\n for (int i = 0; i < SIDE * SIDE; i += 1) {\n set(i, b.get(i));\n }\n\n _directions = b._directions;\n _whoseMove = b._whoseMove;\n _history = b._history;\n }", "public int b()\r\n/* 69: */ {\r\n/* 70:74 */ return this.b;\r\n/* 71: */ }", "public void b(StringBuilder sb) {\n sb.append(this.a);\n sb.append(')');\n }", "public void b() {\n e$a e$a;\n try {\n e$a = this.b;\n }\n catch (IOException iOException) {\n return;\n }\n Object object = this.c;\n e$a.b(object);\n }", "public abstract void a(StringBuilder sb);", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public abstract void zzf(Object obj, B b);", "public interface bdp {\n\n /* renamed from: a */\n public static final bdp f3422a = new bdo();\n\n /* renamed from: a */\n bdm mo1784a(akh akh);\n}", "@Override\n\tpublic void parse(Buffer b) {\n\t\t\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public abstract void a(b paramb, int paramInt1, int paramInt2);", "public void mo1945a(byte b) throws cf {\r\n m10263b(b);\r\n }", "void mo83703a(C32456b<T> bVar);", "public void a(String str) {\n ((b.b) this.b).d(str);\n }", "public void selectB() { }", "BOperation createBOperation();", "void metodo1(int a, int b) {\r\n\t\ta += 5;//par\\u00e1metro con el mismo nombre que el campo.\r\n\t\tb += 7;\r\n\t}", "private static void m2196a(StringBuffer stringBuffer, byte b) {\n stringBuffer.append(\"0123456789ABCDEF\".charAt((b >> 4) & 15)).append(\"0123456789ABCDEF\".charAt(b & 15));\n }", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public void b(fv paramfv)\r\n/* 408: */ {\r\n/* 409:423 */ this.a = new amj[36];\r\n/* 410:424 */ this.b = new amj[4];\r\n/* 411:425 */ for (int i = 0; i < paramfv.c(); i++)\r\n/* 412: */ {\r\n/* 413:426 */ fn localfn = paramfv.b(i);\r\n/* 414:427 */ int j = localfn.d(\"Slot\") & 0xFF;\r\n/* 415:428 */ amj localamj = amj.a(localfn);\r\n/* 416:429 */ if (localamj != null)\r\n/* 417: */ {\r\n/* 418:430 */ if ((j >= 0) && (j < this.a.length)) {\r\n/* 419:431 */ this.a[j] = localamj;\r\n/* 420: */ }\r\n/* 421:433 */ if ((j >= 100) && (j < this.b.length + 100)) {\r\n/* 422:434 */ this.b[(j - 100)] = localamj;\r\n/* 423: */ }\r\n/* 424: */ }\r\n/* 425: */ }\r\n/* 426: */ }", "public void b(String str) {\n ((b.b) this.b).e(str);\n }", "public String b()\r\n/* 35: */ {\r\n/* 36:179 */ return a();\r\n/* 37: */ }", "public abstract void zza(B b, int i, T t);", "public Item b(World paramaqu, BlockPosition paramdt)\r\n/* 189: */ {\r\n/* 190:220 */ return null;\r\n/* 191: */ }", "public abstract void zza(B b, int i, long j);", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public abstract void mo9798a(byte b);", "public void mo9798a(byte b) {\n if (this.f9108f == this.f9107e) {\n mo9827i();\n }\n byte[] bArr = this.f9106d;\n int i = this.f9108f;\n this.f9108f = i + 1;\n bArr[i] = b;\n this.f9109g++;\n }", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "private void m676a(TField bkVar, byte b) {\n if (b == -1) {\n b = m687e(bkVar.f538b);\n }\n short s = bkVar.f539c;\n short s2 = this.f519n;\n if (s <= s2 || s - s2 > 15) {\n m678b(b);\n mo446a(bkVar.f539c);\n } else {\n m686d(b | ((s - s2) << 4));\n }\n this.f519n = bkVar.f539c;\n }", "private static void m831a(C0741g<?> gVar, C0747b bVar) {\n gVar.mo9477a(C0743i.f718b, (C0739e<? super Object>) bVar);\n gVar.mo9476a(C0743i.f718b, (C0738d) bVar);\n gVar.mo9474a(C0743i.f718b, (C0736b) bVar);\n }", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "private void j()\n/* */ {\n/* 223 */ c localc = this.b;\n/* 224 */ this.b = this.c;\n/* 225 */ this.c = localc;\n/* 226 */ this.c.b();\n/* */ }", "public lj ar(byte b) {\n throw new Runtime(\"d2j fail translate: java.lang.RuntimeException: can not merge I and Z\\r\\n\\tat com.googlecode.dex2jar.ir.TypeClass.merge(TypeClass.java:100)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeRef.updateTypeClass(TypeTransformer.java:174)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.provideAs(TypeTransformer.java:780)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.e1expr(TypeTransformer.java:496)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:713)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.enexpr(TypeTransformer.java:698)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:719)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.s1stmt(TypeTransformer.java:810)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.sxStmt(TypeTransformer.java:840)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.analyze(TypeTransformer.java:206)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer.transform(TypeTransformer.java:44)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.optimize(Dex2jar.java:162)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertCode(Dex2Asm.java:414)\\r\\n\\tat com.googlecode.d2j.dex.ExDex2Asm.convertCode(ExDex2Asm.java:42)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.convertCode(Dex2jar.java:128)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertMethod(Dex2Asm.java:509)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertClass(Dex2Asm.java:406)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertDex(Dex2Asm.java:422)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.doTranslate(Dex2jar.java:172)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.to(Dex2jar.java:272)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:108)\\r\\n\\tat com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:32)\\r\\n\");\n }", "public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.5886636", "0.58828026", "0.5855491", "0.584618", "0.5842517", "0.5824137", "0.5824071", "0.58097327", "0.5802052", "0.58012927", "0.579443", "0.5792392", "0.57902914", "0.5785124", "0.57718205", "0.57589084", "0.5735892", "0.5735892", "0.5734873", "0.5727929", "0.5720821", "0.5712531", "0.5706813", "0.56896514", "0.56543154", "0.5651059", "0.5649904", "0.56496733", "0.5647035", "0.5640965", "0.5640109", "0.563993", "0.5631903", "0.5597427", "0.55843794", "0.5583287", "0.557783", "0.55734867", "0.55733293", "0.5572254", "0.55683887", "0.55624336", "0.55540246", "0.5553985", "0.55480546", "0.554261", "0.5535739", "0.5529958", "0.5519634", "0.5517503", "0.55160624", "0.5511545", "0.5505353", "0.5500533", "0.5491741", "0.5486198", "0.5481978", "0.547701", "0.54725856", "0.5471632", "0.5463497", "0.5460805", "0.5454913", "0.5454885", "0.54519916", "0.5441594", "0.5436747", "0.5432453", "0.5425923", "0.5424724", "0.54189867", "0.54162544", "0.54051477", "0.53998184", "0.53945845", "0.53887725", "0.5388146", "0.5387678", "0.53858143", "0.53850687", "0.5384439" ]
0.0
-1
/ renamed from: b
public /* bridge */ /* synthetic */ void mo22960b(C7059Ec ec, Object obj) { super.mo22960b(ec, obj); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "@Override\n\tpublic void b() {\n\n\t}", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public bb b() {\n return a(this.a);\n }", "@Override\n\tpublic void b1() {\n\t\t\n\t}", "public void b() {\r\n }", "@Override\n\tpublic void bbb() {\n\t\t\n\t}", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public abstract void b(StringBuilder sb);", "public void b() {\n }", "public void b() {\n }", "protected b(int mb) {\n/* 87 */ this.b = mb;\n/* */ }", "public u(b paramb)\r\n/* 7: */ {\r\n/* 8: 9 */ this.a = paramb;\r\n/* 9: */ }", "public interface b {\n void H_();\n\n void I_();\n\n void J_();\n\n void a(C0063d dVar);\n\n void a(byte[] bArr);\n\n void b(boolean z);\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public void b() {\n ((a) this.a).b();\n }", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "b(a aVar) {\n super(0);\n this.this$0 = aVar;\n }", "public t b() {\n return a(this.a);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "public static String a(int c) {\n/* 89 */ return b.a(c);\n/* */ }", "private void m678b(byte b) {\n byte[] bArr = this.f523r;\n bArr[0] = b;\n this.f552g.mo502b(bArr);\n }", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "public abstract T zzm(B b);", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public void b(World paramaqu, BlockPosition paramdt, Block parambec)\r\n/* 27: */ {\r\n/* 28: 47 */ bcm localbcm = paramaqu.s(paramdt);\r\n/* 29: 48 */ if ((localbcm instanceof bdv)) {\r\n/* 30: 49 */ ((bdv)localbcm).h();\r\n/* 31: */ } else {\r\n/* 32: 51 */ super.b(paramaqu, paramdt, parambec);\r\n/* 33: */ }\r\n/* 34: */ }", "public abstract void zzc(B b, int i, int i2);", "public interface b {\n}", "public interface b {\n}", "private void m10263b(byte b) throws cf {\r\n this.f6483r[0] = b;\r\n this.g.m10347b(this.f6483r);\r\n }", "BSubstitution createBSubstitution();", "public void b(ahd paramahd) {}", "void b();", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "B database(S database);", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public abstract C0631bt mo9227aB();", "public an b() {\n return a(this.a);\n }", "protected abstract void a(bru parambru);", "static void go(Base b) {\n\t\tb.add(8);\n\t}", "void mo46242a(bmc bmc);", "public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }", "public interface bca extends bbn {\n bca a();\n\n bca a(String str);\n\n bca b(String str);\n\n bca c(String str);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public abstract BoundType b();", "public void b(amj paramamj)\r\n/* 538: */ {\r\n/* 539:579 */ this.f = paramamj;\r\n/* 540: */ }", "b(a aVar, com.bytedance.jedi.model.h.a aVar2) {\n super(aVar2);\n this.f21531a = aVar;\n this.f21532b = new com.bytedance.jedi.model.h.f(aVar);\n }", "private void b(int paramInt)\r\n/* 193: */ {\r\n/* 194:203 */ this.h.a(a(paramInt));\r\n/* 195: */ }", "public void b(ahb paramahb)\r\n/* 583: */ {\r\n/* 584:625 */ for (int i = 0; i < this.a.length; i++) {\r\n/* 585:626 */ this.a[i] = amj.b(paramahb.a[i]);\r\n/* 586: */ }\r\n/* 587:628 */ for (i = 0; i < this.b.length; i++) {\r\n/* 588:629 */ this.b[i] = amj.b(paramahb.b[i]);\r\n/* 589: */ }\r\n/* 590:631 */ this.c = paramahb.c;\r\n/* 591: */ }", "interface b {\n\n /* compiled from: CreditAccountContract */\n public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }\n\n /* compiled from: CreditAccountContract */\n public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }\n}", "@Override\n\tpublic void visit(PartB partB) {\n\n\t}", "public abstract void zzb(B b, int i, long j);", "public abstract void zza(B b, int i, zzeh zzeh);", "int metodo2(int a, int b) {\r\n\r\n\t\tthis.a += 5; // se modifica el campo del objeto, el uso de la palabra reservada this se utiliza para referenciar al campo.\r\n\t\tb += 7;\r\n\t\treturn a; // modifica en la asignaci\\u00f3n\r\n\t}", "private void internalCopy(Board b) {\n for (int i = 0; i < SIDE * SIDE; i += 1) {\n set(i, b.get(i));\n }\n\n _directions = b._directions;\n _whoseMove = b._whoseMove;\n _history = b._history;\n }", "public int b()\r\n/* 69: */ {\r\n/* 70:74 */ return this.b;\r\n/* 71: */ }", "public void b(StringBuilder sb) {\n sb.append(this.a);\n sb.append(')');\n }", "public void b() {\n e$a e$a;\n try {\n e$a = this.b;\n }\n catch (IOException iOException) {\n return;\n }\n Object object = this.c;\n e$a.b(object);\n }", "public abstract void a(StringBuilder sb);", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public abstract void zzf(Object obj, B b);", "public interface bdp {\n\n /* renamed from: a */\n public static final bdp f3422a = new bdo();\n\n /* renamed from: a */\n bdm mo1784a(akh akh);\n}", "@Override\n\tpublic void parse(Buffer b) {\n\t\t\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public abstract void a(b paramb, int paramInt1, int paramInt2);", "public void mo1945a(byte b) throws cf {\r\n m10263b(b);\r\n }", "void mo83703a(C32456b<T> bVar);", "public void a(String str) {\n ((b.b) this.b).d(str);\n }", "public void selectB() { }", "BOperation createBOperation();", "void metodo1(int a, int b) {\r\n\t\ta += 5;//par\\u00e1metro con el mismo nombre que el campo.\r\n\t\tb += 7;\r\n\t}", "private static void m2196a(StringBuffer stringBuffer, byte b) {\n stringBuffer.append(\"0123456789ABCDEF\".charAt((b >> 4) & 15)).append(\"0123456789ABCDEF\".charAt(b & 15));\n }", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public void b(fv paramfv)\r\n/* 408: */ {\r\n/* 409:423 */ this.a = new amj[36];\r\n/* 410:424 */ this.b = new amj[4];\r\n/* 411:425 */ for (int i = 0; i < paramfv.c(); i++)\r\n/* 412: */ {\r\n/* 413:426 */ fn localfn = paramfv.b(i);\r\n/* 414:427 */ int j = localfn.d(\"Slot\") & 0xFF;\r\n/* 415:428 */ amj localamj = amj.a(localfn);\r\n/* 416:429 */ if (localamj != null)\r\n/* 417: */ {\r\n/* 418:430 */ if ((j >= 0) && (j < this.a.length)) {\r\n/* 419:431 */ this.a[j] = localamj;\r\n/* 420: */ }\r\n/* 421:433 */ if ((j >= 100) && (j < this.b.length + 100)) {\r\n/* 422:434 */ this.b[(j - 100)] = localamj;\r\n/* 423: */ }\r\n/* 424: */ }\r\n/* 425: */ }\r\n/* 426: */ }", "public void b(String str) {\n ((b.b) this.b).e(str);\n }", "public String b()\r\n/* 35: */ {\r\n/* 36:179 */ return a();\r\n/* 37: */ }", "public abstract void zza(B b, int i, T t);", "public Item b(World paramaqu, BlockPosition paramdt)\r\n/* 189: */ {\r\n/* 190:220 */ return null;\r\n/* 191: */ }", "public abstract void zza(B b, int i, long j);", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public abstract void mo9798a(byte b);", "public void mo9798a(byte b) {\n if (this.f9108f == this.f9107e) {\n mo9827i();\n }\n byte[] bArr = this.f9106d;\n int i = this.f9108f;\n this.f9108f = i + 1;\n bArr[i] = b;\n this.f9109g++;\n }", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "private void m676a(TField bkVar, byte b) {\n if (b == -1) {\n b = m687e(bkVar.f538b);\n }\n short s = bkVar.f539c;\n short s2 = this.f519n;\n if (s <= s2 || s - s2 > 15) {\n m678b(b);\n mo446a(bkVar.f539c);\n } else {\n m686d(b | ((s - s2) << 4));\n }\n this.f519n = bkVar.f539c;\n }", "private static void m831a(C0741g<?> gVar, C0747b bVar) {\n gVar.mo9477a(C0743i.f718b, (C0739e<? super Object>) bVar);\n gVar.mo9476a(C0743i.f718b, (C0738d) bVar);\n gVar.mo9474a(C0743i.f718b, (C0736b) bVar);\n }", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "private void j()\n/* */ {\n/* 223 */ c localc = this.b;\n/* 224 */ this.b = this.c;\n/* 225 */ this.c = localc;\n/* 226 */ this.c.b();\n/* */ }", "public lj ar(byte b) {\n throw new Runtime(\"d2j fail translate: java.lang.RuntimeException: can not merge I and Z\\r\\n\\tat com.googlecode.dex2jar.ir.TypeClass.merge(TypeClass.java:100)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeRef.updateTypeClass(TypeTransformer.java:174)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.provideAs(TypeTransformer.java:780)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.e1expr(TypeTransformer.java:496)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:713)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.enexpr(TypeTransformer.java:698)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:719)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.s1stmt(TypeTransformer.java:810)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.sxStmt(TypeTransformer.java:840)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.analyze(TypeTransformer.java:206)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer.transform(TypeTransformer.java:44)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.optimize(Dex2jar.java:162)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertCode(Dex2Asm.java:414)\\r\\n\\tat com.googlecode.d2j.dex.ExDex2Asm.convertCode(ExDex2Asm.java:42)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.convertCode(Dex2jar.java:128)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertMethod(Dex2Asm.java:509)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertClass(Dex2Asm.java:406)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertDex(Dex2Asm.java:422)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.doTranslate(Dex2jar.java:172)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.to(Dex2jar.java:272)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:108)\\r\\n\\tat com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:32)\\r\\n\");\n }", "public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.5886636", "0.58828026", "0.5855491", "0.584618", "0.5842517", "0.5824137", "0.5824071", "0.58097327", "0.5802052", "0.58012927", "0.579443", "0.5792392", "0.57902914", "0.5785124", "0.57718205", "0.57589084", "0.5735892", "0.5735892", "0.5734873", "0.5727929", "0.5720821", "0.5712531", "0.5706813", "0.56896514", "0.56543154", "0.5651059", "0.5649904", "0.56496733", "0.5647035", "0.5640965", "0.5640109", "0.563993", "0.5631903", "0.5597427", "0.55843794", "0.5583287", "0.557783", "0.55734867", "0.55733293", "0.5572254", "0.55683887", "0.55624336", "0.55540246", "0.5553985", "0.55480546", "0.554261", "0.5535739", "0.5529958", "0.5519634", "0.5517503", "0.55160624", "0.5511545", "0.5505353", "0.5500533", "0.5491741", "0.5486198", "0.5481978", "0.547701", "0.54725856", "0.5471632", "0.5463497", "0.5460805", "0.5454913", "0.5454885", "0.54519916", "0.5441594", "0.5436747", "0.5432453", "0.5425923", "0.5424724", "0.54189867", "0.54162544", "0.54051477", "0.53998184", "0.53945845", "0.53887725", "0.5388146", "0.5387678", "0.53858143", "0.53850687", "0.5384439" ]
0.0
-1
/ renamed from: b
public /* bridge */ /* synthetic */ boolean mo23142b(C7059Ec ec) { return super.mo23142b(ec); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "@Override\n\tpublic void b() {\n\n\t}", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public bb b() {\n return a(this.a);\n }", "@Override\n\tpublic void b1() {\n\t\t\n\t}", "public void b() {\r\n }", "@Override\n\tpublic void bbb() {\n\t\t\n\t}", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public abstract void b(StringBuilder sb);", "public void b() {\n }", "public void b() {\n }", "protected b(int mb) {\n/* 87 */ this.b = mb;\n/* */ }", "public u(b paramb)\r\n/* 7: */ {\r\n/* 8: 9 */ this.a = paramb;\r\n/* 9: */ }", "public interface b {\n void H_();\n\n void I_();\n\n void J_();\n\n void a(C0063d dVar);\n\n void a(byte[] bArr);\n\n void b(boolean z);\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public void b() {\n ((a) this.a).b();\n }", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "b(a aVar) {\n super(0);\n this.this$0 = aVar;\n }", "public t b() {\n return a(this.a);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "public static String a(int c) {\n/* 89 */ return b.a(c);\n/* */ }", "private void m678b(byte b) {\n byte[] bArr = this.f523r;\n bArr[0] = b;\n this.f552g.mo502b(bArr);\n }", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "public abstract T zzm(B b);", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public void b(World paramaqu, BlockPosition paramdt, Block parambec)\r\n/* 27: */ {\r\n/* 28: 47 */ bcm localbcm = paramaqu.s(paramdt);\r\n/* 29: 48 */ if ((localbcm instanceof bdv)) {\r\n/* 30: 49 */ ((bdv)localbcm).h();\r\n/* 31: */ } else {\r\n/* 32: 51 */ super.b(paramaqu, paramdt, parambec);\r\n/* 33: */ }\r\n/* 34: */ }", "public abstract void zzc(B b, int i, int i2);", "public interface b {\n}", "public interface b {\n}", "private void m10263b(byte b) throws cf {\r\n this.f6483r[0] = b;\r\n this.g.m10347b(this.f6483r);\r\n }", "BSubstitution createBSubstitution();", "public void b(ahd paramahd) {}", "void b();", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "B database(S database);", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public abstract C0631bt mo9227aB();", "public an b() {\n return a(this.a);\n }", "protected abstract void a(bru parambru);", "static void go(Base b) {\n\t\tb.add(8);\n\t}", "void mo46242a(bmc bmc);", "public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }", "public interface bca extends bbn {\n bca a();\n\n bca a(String str);\n\n bca b(String str);\n\n bca c(String str);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public abstract BoundType b();", "public void b(amj paramamj)\r\n/* 538: */ {\r\n/* 539:579 */ this.f = paramamj;\r\n/* 540: */ }", "b(a aVar, com.bytedance.jedi.model.h.a aVar2) {\n super(aVar2);\n this.f21531a = aVar;\n this.f21532b = new com.bytedance.jedi.model.h.f(aVar);\n }", "private void b(int paramInt)\r\n/* 193: */ {\r\n/* 194:203 */ this.h.a(a(paramInt));\r\n/* 195: */ }", "public void b(ahb paramahb)\r\n/* 583: */ {\r\n/* 584:625 */ for (int i = 0; i < this.a.length; i++) {\r\n/* 585:626 */ this.a[i] = amj.b(paramahb.a[i]);\r\n/* 586: */ }\r\n/* 587:628 */ for (i = 0; i < this.b.length; i++) {\r\n/* 588:629 */ this.b[i] = amj.b(paramahb.b[i]);\r\n/* 589: */ }\r\n/* 590:631 */ this.c = paramahb.c;\r\n/* 591: */ }", "interface b {\n\n /* compiled from: CreditAccountContract */\n public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }\n\n /* compiled from: CreditAccountContract */\n public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }\n}", "@Override\n\tpublic void visit(PartB partB) {\n\n\t}", "public abstract void zzb(B b, int i, long j);", "public abstract void zza(B b, int i, zzeh zzeh);", "int metodo2(int a, int b) {\r\n\r\n\t\tthis.a += 5; // se modifica el campo del objeto, el uso de la palabra reservada this se utiliza para referenciar al campo.\r\n\t\tb += 7;\r\n\t\treturn a; // modifica en la asignaci\\u00f3n\r\n\t}", "private void internalCopy(Board b) {\n for (int i = 0; i < SIDE * SIDE; i += 1) {\n set(i, b.get(i));\n }\n\n _directions = b._directions;\n _whoseMove = b._whoseMove;\n _history = b._history;\n }", "public int b()\r\n/* 69: */ {\r\n/* 70:74 */ return this.b;\r\n/* 71: */ }", "public void b(StringBuilder sb) {\n sb.append(this.a);\n sb.append(')');\n }", "public void b() {\n e$a e$a;\n try {\n e$a = this.b;\n }\n catch (IOException iOException) {\n return;\n }\n Object object = this.c;\n e$a.b(object);\n }", "public abstract void a(StringBuilder sb);", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public abstract void zzf(Object obj, B b);", "public interface bdp {\n\n /* renamed from: a */\n public static final bdp f3422a = new bdo();\n\n /* renamed from: a */\n bdm mo1784a(akh akh);\n}", "@Override\n\tpublic void parse(Buffer b) {\n\t\t\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public abstract void a(b paramb, int paramInt1, int paramInt2);", "public void mo1945a(byte b) throws cf {\r\n m10263b(b);\r\n }", "void mo83703a(C32456b<T> bVar);", "public void a(String str) {\n ((b.b) this.b).d(str);\n }", "public void selectB() { }", "BOperation createBOperation();", "void metodo1(int a, int b) {\r\n\t\ta += 5;//par\\u00e1metro con el mismo nombre que el campo.\r\n\t\tb += 7;\r\n\t}", "private static void m2196a(StringBuffer stringBuffer, byte b) {\n stringBuffer.append(\"0123456789ABCDEF\".charAt((b >> 4) & 15)).append(\"0123456789ABCDEF\".charAt(b & 15));\n }", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public void b(fv paramfv)\r\n/* 408: */ {\r\n/* 409:423 */ this.a = new amj[36];\r\n/* 410:424 */ this.b = new amj[4];\r\n/* 411:425 */ for (int i = 0; i < paramfv.c(); i++)\r\n/* 412: */ {\r\n/* 413:426 */ fn localfn = paramfv.b(i);\r\n/* 414:427 */ int j = localfn.d(\"Slot\") & 0xFF;\r\n/* 415:428 */ amj localamj = amj.a(localfn);\r\n/* 416:429 */ if (localamj != null)\r\n/* 417: */ {\r\n/* 418:430 */ if ((j >= 0) && (j < this.a.length)) {\r\n/* 419:431 */ this.a[j] = localamj;\r\n/* 420: */ }\r\n/* 421:433 */ if ((j >= 100) && (j < this.b.length + 100)) {\r\n/* 422:434 */ this.b[(j - 100)] = localamj;\r\n/* 423: */ }\r\n/* 424: */ }\r\n/* 425: */ }\r\n/* 426: */ }", "public void b(String str) {\n ((b.b) this.b).e(str);\n }", "public String b()\r\n/* 35: */ {\r\n/* 36:179 */ return a();\r\n/* 37: */ }", "public abstract void zza(B b, int i, T t);", "public Item b(World paramaqu, BlockPosition paramdt)\r\n/* 189: */ {\r\n/* 190:220 */ return null;\r\n/* 191: */ }", "public abstract void zza(B b, int i, long j);", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public abstract void mo9798a(byte b);", "public void mo9798a(byte b) {\n if (this.f9108f == this.f9107e) {\n mo9827i();\n }\n byte[] bArr = this.f9106d;\n int i = this.f9108f;\n this.f9108f = i + 1;\n bArr[i] = b;\n this.f9109g++;\n }", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "private void m676a(TField bkVar, byte b) {\n if (b == -1) {\n b = m687e(bkVar.f538b);\n }\n short s = bkVar.f539c;\n short s2 = this.f519n;\n if (s <= s2 || s - s2 > 15) {\n m678b(b);\n mo446a(bkVar.f539c);\n } else {\n m686d(b | ((s - s2) << 4));\n }\n this.f519n = bkVar.f539c;\n }", "private static void m831a(C0741g<?> gVar, C0747b bVar) {\n gVar.mo9477a(C0743i.f718b, (C0739e<? super Object>) bVar);\n gVar.mo9476a(C0743i.f718b, (C0738d) bVar);\n gVar.mo9474a(C0743i.f718b, (C0736b) bVar);\n }", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "private void j()\n/* */ {\n/* 223 */ c localc = this.b;\n/* 224 */ this.b = this.c;\n/* 225 */ this.c = localc;\n/* 226 */ this.c.b();\n/* */ }", "public lj ar(byte b) {\n throw new Runtime(\"d2j fail translate: java.lang.RuntimeException: can not merge I and Z\\r\\n\\tat com.googlecode.dex2jar.ir.TypeClass.merge(TypeClass.java:100)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeRef.updateTypeClass(TypeTransformer.java:174)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.provideAs(TypeTransformer.java:780)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.e1expr(TypeTransformer.java:496)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:713)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.enexpr(TypeTransformer.java:698)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:719)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.s1stmt(TypeTransformer.java:810)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.sxStmt(TypeTransformer.java:840)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.analyze(TypeTransformer.java:206)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer.transform(TypeTransformer.java:44)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.optimize(Dex2jar.java:162)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertCode(Dex2Asm.java:414)\\r\\n\\tat com.googlecode.d2j.dex.ExDex2Asm.convertCode(ExDex2Asm.java:42)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.convertCode(Dex2jar.java:128)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertMethod(Dex2Asm.java:509)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertClass(Dex2Asm.java:406)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertDex(Dex2Asm.java:422)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.doTranslate(Dex2jar.java:172)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.to(Dex2jar.java:272)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:108)\\r\\n\\tat com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:32)\\r\\n\");\n }", "public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.5886636", "0.58828026", "0.5855491", "0.584618", "0.5842517", "0.5824137", "0.5824071", "0.58097327", "0.5802052", "0.58012927", "0.579443", "0.5792392", "0.57902914", "0.5785124", "0.57718205", "0.57589084", "0.5735892", "0.5735892", "0.5734873", "0.5727929", "0.5720821", "0.5712531", "0.5706813", "0.56896514", "0.56543154", "0.5651059", "0.5649904", "0.56496733", "0.5647035", "0.5640965", "0.5640109", "0.563993", "0.5631903", "0.5597427", "0.55843794", "0.5583287", "0.557783", "0.55734867", "0.55733293", "0.5572254", "0.55683887", "0.55624336", "0.55540246", "0.5553985", "0.55480546", "0.554261", "0.5535739", "0.5529958", "0.5519634", "0.5517503", "0.55160624", "0.5511545", "0.5505353", "0.5500533", "0.5491741", "0.5486198", "0.5481978", "0.547701", "0.54725856", "0.5471632", "0.5463497", "0.5460805", "0.5454913", "0.5454885", "0.54519916", "0.5441594", "0.5436747", "0.5432453", "0.5425923", "0.5424724", "0.54189867", "0.54162544", "0.54051477", "0.53998184", "0.53945845", "0.53887725", "0.5388146", "0.5387678", "0.53858143", "0.53850687", "0.5384439" ]
0.0
-1
/ renamed from: c
public /* bridge */ /* synthetic */ C7231ya mo23143c(C7059Ec ec) { return super.mo23143c(ec); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo5289a(C5102c c5102c);", "public static void c0() {\n\t}", "void mo57278c();", "private static void cajas() {\n\t\t\n\t}", "void mo5290b(C5102c c5102c);", "void mo80457c();", "void mo12638c();", "void mo28717a(zzc zzc);", "void mo21072c();", "@Override\n\tpublic void ccc() {\n\t\t\n\t}", "public void c() {\n }", "void mo17012c();", "C2451d mo3408a(C2457e c2457e);", "void mo88524c();", "void mo86a(C0163d c0163d);", "void mo17021c();", "public abstract void mo53562a(C18796a c18796a);", "void mo4874b(C4718l c4718l);", "void mo4873a(C4718l c4718l);", "C12017a mo41088c();", "public abstract void mo70702a(C30989b c30989b);", "void mo72114c();", "public void mo12628c() {\n }", "C2841w mo7234g();", "public interface C0335c {\n }", "public void mo1403c() {\n }", "public static void c3() {\n\t}", "public static void c1() {\n\t}", "void mo8712a(C9714a c9714a);", "void mo67924c();", "public void mo97906c() {\n }", "public abstract void mo27385c();", "String mo20731c();", "public int c()\r\n/* 74: */ {\r\n/* 75:78 */ return this.c;\r\n/* 76: */ }", "public interface C0939c {\n }", "void mo1582a(String str, C1329do c1329do);", "void mo304a(C0366h c0366h);", "void mo1493c();", "private String getString(byte c) {\n\t\treturn c==1? \"$ \": \" \";\n\t}", "java.lang.String getC3();", "C45321i mo90380a();", "public interface C11910c {\n}", "void mo57277b();", "String mo38972c();", "static int type_of_cnc(String passed){\n\t\treturn 1;\n\t}", "public static void CC2_1() {\n\t}", "static int type_of_cc(String passed){\n\t\treturn 1;\n\t}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public void mo56167c() {\n }", "public interface C0136c {\n }", "private void kk12() {\n\n\t}", "abstract String mo1748c();", "public abstract void mo70710a(String str, C24343db c24343db);", "public interface C0303q extends C0291e {\n /* renamed from: a */\n void mo1747a(int i);\n\n /* renamed from: a */\n void mo1749a(C0288c cVar);\n\n /* renamed from: a */\n void mo1751a(byte[] bArr);\n\n /* renamed from: b */\n void mo1753b(int i);\n\n /* renamed from: c */\n void mo1754c(int i);\n\n /* renamed from: d */\n void mo1755d(int i);\n\n /* renamed from: e */\n int mo1756e(int i);\n\n /* renamed from: g */\n int mo1760g();\n\n /* renamed from: g */\n void mo1761g(int i);\n\n /* renamed from: h */\n void mo1763h(int i);\n}", "C3577c mo19678C();", "public abstract int c();", "public abstract int c();", "public final void mo11687c() {\n }", "byte mo30283c();", "private java.lang.String c(java.lang.String r7) {\n /*\n r6 = this;\n r2 = \"\";\n r0 = r6.e;\t Catch:{ FileNotFoundException -> 0x0052 }\n if (r0 == 0) goto L_0x0050;\n L_0x0006:\n r0 = new java.lang.StringBuilder;\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = java.lang.String.valueOf(r7);\t Catch:{ FileNotFoundException -> 0x0052 }\n r0.<init>(r1);\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = \".\";\n r0 = r0.append(r1);\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = r6.e;\t Catch:{ FileNotFoundException -> 0x0052 }\n r0 = r0.append(r1);\t Catch:{ FileNotFoundException -> 0x0052 }\n r0 = r0.toString();\t Catch:{ FileNotFoundException -> 0x0052 }\n L_0x001f:\n r1 = r6.d;\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = r1.openFileInput(r0);\t Catch:{ FileNotFoundException -> 0x0052 }\n L_0x0025:\n r3 = new java.io.BufferedReader;\n r4 = new java.io.InputStreamReader;\n r0 = r1;\n r0 = (java.io.InputStream) r0;\n r5 = \"UTF-8\";\n r5 = java.nio.charset.Charset.forName(r5);\n r4.<init>(r0, r5);\n r3.<init>(r4);\n r0 = new java.lang.StringBuffer;\n r0.<init>();\n L_0x003d:\n r4 = r3.readLine();\t Catch:{ IOException -> 0x0065, all -> 0x0073 }\n if (r4 != 0) goto L_0x0061;\n L_0x0043:\n r0 = r0.toString();\t Catch:{ IOException -> 0x0065, all -> 0x0073 }\n r1 = (java.io.InputStream) r1;\t Catch:{ IOException -> 0x007d }\n r1.close();\t Catch:{ IOException -> 0x007d }\n r3.close();\t Catch:{ IOException -> 0x007d }\n L_0x004f:\n return r0;\n L_0x0050:\n r0 = r7;\n goto L_0x001f;\n L_0x0052:\n r0 = move-exception;\n r0 = r6.d;\t Catch:{ IOException -> 0x005e }\n r0 = r0.getAssets();\t Catch:{ IOException -> 0x005e }\n r1 = r0.open(r7);\t Catch:{ IOException -> 0x005e }\n goto L_0x0025;\n L_0x005e:\n r0 = move-exception;\n r0 = r2;\n goto L_0x004f;\n L_0x0061:\n r0.append(r4);\t Catch:{ IOException -> 0x0065, all -> 0x0073 }\n goto L_0x003d;\n L_0x0065:\n r0 = move-exception;\n r1 = (java.io.InputStream) r1;\t Catch:{ IOException -> 0x0070 }\n r1.close();\t Catch:{ IOException -> 0x0070 }\n r3.close();\t Catch:{ IOException -> 0x0070 }\n r0 = r2;\n goto L_0x004f;\n L_0x0070:\n r0 = move-exception;\n r0 = r2;\n goto L_0x004f;\n L_0x0073:\n r0 = move-exception;\n r1 = (java.io.InputStream) r1;\t Catch:{ IOException -> 0x007f }\n r1.close();\t Catch:{ IOException -> 0x007f }\n r3.close();\t Catch:{ IOException -> 0x007f }\n L_0x007c:\n throw r0;\n L_0x007d:\n r1 = move-exception;\n goto L_0x004f;\n L_0x007f:\n r1 = move-exception;\n goto L_0x007c;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.a.b.b.c(java.lang.String):java.lang.String\");\n }", "@Override\n\tpublic void compile(CodeBlock c, CompilerEnvironment environment) {\n\n\t}", "public interface C3196it extends C3208jc {\n /* renamed from: a */\n void mo30275a(long j);\n\n /* renamed from: b */\n C3197iu mo30281b(long j);\n\n /* renamed from: b */\n boolean mo30282b();\n\n /* renamed from: c */\n byte mo30283c();\n\n /* renamed from: c */\n String mo30285c(long j);\n\n /* renamed from: d */\n void mo30290d(long j);\n\n /* renamed from: e */\n int mo30291e();\n\n /* renamed from: f */\n long mo30295f();\n}", "public static void mmcc() {\n\t}", "java.lang.String getCit();", "public abstract C mo29734a();", "C15430g mo56154a();", "void mo41086b();", "@Override\n public void func_104112_b() {\n \n }", "public interface C9223b {\n }", "public abstract String mo11611b();", "void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);", "String getCmt();", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "interface C2578d {\n}", "public interface C1803l extends C1813t {\n /* renamed from: b */\n C1803l mo7382b(C2778au auVar);\n\n /* renamed from: f */\n List<C1700ar> mo7233f();\n\n /* renamed from: g */\n C2841w mo7234g();\n\n /* renamed from: q */\n C1800i mo7384q();\n}", "double fFromC(double c) {\n return (c * 9 / 5) + 32;\n }", "void mo72113b();", "void mo1749a(C0288c cVar);", "public interface C0764b {\n}", "void mo41083a();", "String[] mo1153c();", "C1458cs mo7613iS();", "public interface C0333a {\n }", "public abstract int mo41077c();", "public interface C8843g {\n}", "public abstract void mo70709a(String str, C41018cm c41018cm);", "void mo28307a(zzgd zzgd);", "public static void mcdc() {\n\t}", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "C1435c mo1754a(C1433a c1433a, C1434b c1434b);", "public interface C0389gj extends C0388gi {\n}", "C5727e mo33224a();", "C12000e mo41087c(String str);", "public abstract String mo118046b();", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C0938b {\n }", "void mo80455b();", "public interface C0385a {\n }", "public interface C5527c {\n /* renamed from: a */\n int mo4095a(int i);\n\n /* renamed from: b */\n C5537g mo4096b(int i);\n}", "public interface C32231g {\n /* renamed from: a */\n void mo8280a(int i, int i2, C1207m c1207m);\n}", "public interface C11994b {\n /* renamed from: a */\n C11996a mo41079a(String str);\n\n /* renamed from: a */\n C11996a mo41080a(String str, C11997b bVar, String... strArr);\n\n /* renamed from: a */\n C11998c mo41081a(String str, C11999d dVar, String... strArr);\n\n /* renamed from: a */\n C12000e mo41082a(String str, C12001f fVar, String... strArr);\n\n /* renamed from: a */\n void mo41083a();\n\n /* renamed from: a */\n void mo41084a(C12018b bVar, ConnectionState... connectionStateArr);\n\n /* renamed from: b */\n C11996a mo41085b(String str);\n\n /* renamed from: b */\n void mo41086b();\n\n /* renamed from: c */\n C12000e mo41087c(String str);\n\n /* renamed from: c */\n C12017a mo41088c();\n\n /* renamed from: d */\n void mo41089d(String str);\n\n /* renamed from: e */\n C11998c mo41090e(String str);\n\n /* renamed from: f */\n C12000e mo41091f(String str);\n\n /* renamed from: g */\n C11998c mo41092g(String str);\n}" ]
[ "0.64592767", "0.644052", "0.6431582", "0.6418656", "0.64118475", "0.6397491", "0.6250796", "0.62470585", "0.6244832", "0.6232792", "0.618864", "0.61662376", "0.6152657", "0.61496663", "0.6138441", "0.6137171", "0.6131197", "0.6103783", "0.60983956", "0.6077118", "0.6061723", "0.60513836", "0.6049069", "0.6030368", "0.60263443", "0.60089093", "0.59970635", "0.59756917", "0.5956231", "0.5949343", "0.5937446", "0.5911776", "0.59034705", "0.5901311", "0.5883238", "0.5871533", "0.5865361", "0.5851141", "0.581793", "0.5815705", "0.58012", "0.578891", "0.57870495", "0.5775621", "0.57608724", "0.5734331", "0.5731584", "0.5728505", "0.57239383", "0.57130504", "0.57094604", "0.570793", "0.5697671", "0.56975955", "0.56911296", "0.5684489", "0.5684489", "0.56768984", "0.56749034", "0.5659463", "0.56589085", "0.56573", "0.56537443", "0.5651912", "0.5648272", "0.5641736", "0.5639226", "0.5638583", "0.56299245", "0.56297386", "0.56186295", "0.5615729", "0.56117755", "0.5596015", "0.55905765", "0.55816257", "0.55813104", "0.55723965", "0.5572061", "0.55696625", "0.5566985", "0.55633485", "0.555888", "0.5555646", "0.55525774", "0.5549722", "0.5548184", "0.55460495", "0.5539394", "0.5535825", "0.55300397", "0.5527975", "0.55183905", "0.5517322", "0.5517183", "0.55152744", "0.5514932", "0.55128884", "0.5509501", "0.55044043", "0.54984957" ]
0.0
-1
/ renamed from: d
public /* bridge */ /* synthetic */ C7231ya mo23146d(C7059Ec ec) { return super.mo23146d(ec); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void d() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public int d()\r\n/* 79: */ {\r\n/* 80:82 */ return this.d;\r\n/* 81: */ }", "public String d_()\r\n/* 445: */ {\r\n/* 446:459 */ return \"container.inventory\";\r\n/* 447: */ }", "public abstract int d();", "private void m2248a(double d, String str) {\n this.f2954c = d;\n this.f2955d = (long) d;\n this.f2953b = str;\n this.f2952a = ValueType.doubleValue;\n }", "public int d()\n {\n return 1;\n }", "public interface C19512d {\n /* renamed from: dd */\n void mo34676dd(int i, int i2);\n }", "void mo21073d();", "@Override\n public boolean d() {\n return false;\n }", "int getD();", "public void dor(){\n }", "public int getD() {\n\t\treturn d;\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}", "public String getD() {\n return d;\n }", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "public final void mo91715d() {\n }", "public D() {}", "void mo17013d();", "public int getD() {\n return d_;\n }", "void mo83705a(C32458d<T> dVar);", "public void d() {\n\t\tSystem.out.println(\"d method\");\n\t}", "double d();", "public float d()\r\n/* 15: */ {\r\n/* 16:163 */ return this.b;\r\n/* 17: */ }", "protected DNA(Population pop, DNA d) {\n\t\t// TODO: implement this\n\t}", "public ahb(ahd paramahd)\r\n/* 12: */ {\r\n/* 13: 36 */ this.d = paramahd;\r\n/* 14: */ }", "public abstract C17954dh<E> mo45842a();", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\n\tpublic void visitTdetree(Tdetree p) {\n\n\t}", "public abstract void mo56925d();", "void mo54435d();", "public void mo21779D() {\n }", "public void d() {\n this.f20599d.a(this.f20598c);\n this.f20598c.a(this);\n this.f20601f = new a(new d());\n d.a(this.f20596a, this.f20597b, this.f20601f);\n this.f20596a.setLayoutManager(new NPALinearLayoutManager(getContext()));\n ((s) this.f20596a.getItemAnimator()).setSupportsChangeAnimations(false);\n this.f20596a.setAdapter(this.f20601f);\n this.f20598c.a(this.f20602g);\n }", "@Override\r\n public String getStringRepresentation()\r\n {\r\n return \"D\";\r\n }", "void mo28307a(zzgd zzgd);", "List<String> d();", "d(l lVar, m mVar, b bVar) {\n super(mVar);\n this.f11484d = lVar;\n this.f11483c = bVar;\n }", "public int getD() {\n return d_;\n }", "public void addDField(String d){\n\t\tdfield.add(d);\n\t}", "public void mo3749d() {\n }", "public a dD() {\n return new a(this.HG);\n }", "public String amd_to_dma(java.sql.Date d)\n {\n String resp = \"\";\n if (d!=null)\n {\n String sdat = d.toString();\n String sano = sdat.substring(0,4);\n String smes = sdat.substring(5,7);\n String sdia = sdat.substring(8,10);\n resp = sdia+\"/\"+smes+\"/\"+sano;\n }\n return resp;\n }", "public void mo130970a(double d) {\n SinkDefaults.m149818a(this, d);\n }", "public abstract int getDx();", "public void mo97908d() {\n }", "public com.c.a.d.d d() {\n return this.k;\n }", "private static String toPsString(double d) {\n return \"(\" + d + \")\";\n }", "public boolean d() {\n return false;\n }", "void mo17023d();", "String dibujar();", "@Override\n\tpublic void setDurchmesser(int d) {\n\n\t}", "public void mo2470d() {\n }", "public abstract VH mo102583a(ViewGroup viewGroup, D d);", "public abstract String mo41079d();", "public void setD ( boolean d ) {\n\n\tthis.d = d;\n }", "public Dx getDx() {\n/* 32 */ return this.dx;\n/* */ }", "DoubleNode(int d) {\n\t data = d; }", "DD createDD();", "@java.lang.Override\n public float getD() {\n return d_;\n }", "public void setD(String d) {\n this.d = d == null ? null : d.trim();\n }", "public int d()\r\n {\r\n return 20;\r\n }", "float getD();", "public static int m22546b(double d) {\n return 8;\n }", "void mo12650d();", "String mo20732d();", "static void feladat4() {\n\t}", "void mo130799a(double d);", "public void mo2198g(C0317d dVar) {\n }", "@Override\n public void d(String TAG, String msg) {\n }", "private double convert(double d){\n\t\tDecimalFormatSymbols symbols = DecimalFormatSymbols.getInstance();\n\t\tsymbols.setDecimalSeparator('.');\n\t\tDecimalFormat df = new DecimalFormat(\"#.##\",symbols); \n\t\treturn Double.valueOf(df.format(d));\n\t}", "public void d(String str) {\n ((b.b) this.b).g(str);\n }", "public abstract void mo42329d();", "public abstract long mo9229aD();", "public abstract String getDnForPerson(String inum);", "public interface ddd {\n public String dan();\n\n}", "@Override\n public void func_104112_b() {\n \n }", "public Nodo (String d){\n\t\tthis.dato = d;\n\t\tthis.siguiente = null; //para que apunte el nodo creado a nulo\n\t}", "public void mo5117a(C0371d c0371d, double d) {\n new C0369b(this, c0371d, d).start();\n }", "public interface C27442s {\n /* renamed from: d */\n List<EffectPointModel> mo70331d();\n}", "public final void m22595a(double d) {\n mo4383c(Double.doubleToRawLongBits(d));\n }", "public void d() {\n this.f23522d.a(this.f23521c);\n this.f23521c.a(this);\n this.i = new a();\n this.i.a(new ae(this.f23519a));\n this.f23519a.setAdapter(this.i);\n this.f23519a.setOnItemClickListener(this);\n this.f23521c.e();\n this.h.a(hashCode(), this.f23520b);\n }", "public Vector2d(double d) {\n\t\tthis.x = d;\n\t\tthis.y = d;\n\t}", "DomainHelper dh();", "private Pares(PLoc p, PLoc s, int d){\n\t\t\tprimero=p;\n\t\t\tsegundo=s;\n\t\t\tdistancia=d;\n\t\t}", "static double DEG_to_RAD(double d) {\n return d * Math.PI / 180.0;\n }", "@java.lang.Override\n public float getD() {\n return d_;\n }", "private final VH m112826b(ViewGroup viewGroup, D d) {\n return mo102583a(viewGroup, d);\n }", "public Double getDx();", "public void m25658a(double d) {\n if (d <= 0.0d) {\n d = 1.0d;\n }\n this.f19276f = (float) (50.0d / d);\n this.f19277g = new C4658a(this, this.f19273c);\n }", "boolean hasD();", "public abstract void mo27386d();", "MergedMDD() {\n }", "@ReflectiveMethod(name = \"d\", types = {})\n public void d(){\n NMSWrapper.getInstance().exec(nmsObject);\n }", "@Override\n public Chunk d(int i0, int i1) {\n return null;\n }", "public void d(World paramaqu, BlockPosition paramdt, Block parambec)\r\n/* 47: */ {\r\n/* 48: 68 */ BlockPosition localdt = paramdt.offset(((EnumDirection)parambec.getData(a)).opposite());\r\n/* 49: 69 */ Block localbec = paramaqu.getBlock(localdt);\r\n/* 50: 70 */ if (((localbec.getType() instanceof bdq)) && (((Boolean)localbec.getData(bdq.b)).booleanValue())) {\r\n/* 51: 71 */ paramaqu.g(localdt);\r\n/* 52: */ }\r\n/* 53: */ }", "double defendre();", "public static int setDimension( int d ) {\n int temp = DPoint.d;\n DPoint.d = d;\n return temp;\n }", "public Datum(Datum d) {\n this.dan = d.dan;\n this.mesec = d.mesec;\n this.godina = d.godina;\n }", "public Nodo (String d, Nodo n){\n\t\tdato = d;\n\t\tsiguiente=n;\n\t}" ]
[ "0.63810617", "0.616207", "0.6071929", "0.59959275", "0.5877492", "0.58719957", "0.5825175", "0.57585526", "0.5701679", "0.5661244", "0.5651699", "0.56362265", "0.562437", "0.5615328", "0.56114155", "0.56114155", "0.5605659", "0.56001145", "0.5589302", "0.5571578", "0.5559222", "0.5541367", "0.5534182", "0.55326", "0.550431", "0.55041796", "0.5500838", "0.54946786", "0.5475938", "0.5466879", "0.5449981", "0.5449007", "0.54464436", "0.5439673", "0.543565", "0.5430978", "0.5428843", "0.5423923", "0.542273", "0.541701", "0.5416963", "0.54093426", "0.53927654", "0.53906536", "0.53793144", "0.53732955", "0.53695524", "0.5366731", "0.53530186", "0.535299", "0.53408253", "0.5333639", "0.5326304", "0.53250664", "0.53214055", "0.53208005", "0.5316437", "0.53121597", "0.52979535", "0.52763224", "0.5270543", "0.526045", "0.5247397", "0.5244388", "0.5243049", "0.5241726", "0.5241194", "0.523402", "0.5232349", "0.5231111", "0.5230985", "0.5219358", "0.52145815", "0.5214168", "0.5209237", "0.52059376", "0.51952434", "0.5193699", "0.51873696", "0.5179743", "0.5178796", "0.51700175", "0.5164517", "0.51595956", "0.5158281", "0.51572365", "0.5156627", "0.5155795", "0.51548296", "0.51545656", "0.5154071", "0.51532024", "0.5151545", "0.5143571", "0.5142079", "0.5140048", "0.51377696", "0.5133826", "0.5128858", "0.5125679", "0.5121545" ]
0.0
-1
/ renamed from: e
public /* bridge */ /* synthetic */ C7231ya mo22961e(C7059Ec ec) { return super.mo22961e(ec); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void e() {\n\n\t}", "public void e() {\n }", "@Override\n\tpublic void processEvent(Event e) {\n\n\t}", "@Override\n public void e(String TAG, String msg) {\n }", "public String toString()\r\n {\r\n return e.toString();\r\n }", "@Override\n\t\t\t\t\t\t\tpublic void error(Exception e) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}", "public Object element() { return e; }", "@Override\n public void e(int i0, int i1) {\n\n }", "@Override\r\n\t\t\tpublic void execute(LiftEvent e) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void execute(LiftEvent e) {\n\t\t\t\t\r\n\t\t\t}", "private static Throwable handle(final Throwable e) {\r\n\t\te.printStackTrace();\r\n\r\n\t\tif (e.getCause() != null) {\r\n\t\t\te.getCause().printStackTrace();\r\n\t\t}\r\n\t\tif (e instanceof SAXException) {\r\n\t\t\t((SAXException) e).getException().printStackTrace();\r\n\t\t}\r\n\t\treturn e;\r\n\t}", "void event(Event e) throws Exception;", "Event getE();", "public int getE() {\n return e_;\n }", "@Override\n\tpublic void onException(Exception e) {\n\n\t}", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tevent(e, et.get(2));\r\n\t\t\t}", "public byte e()\r\n/* 84: */ {\r\n/* 85:86 */ return this.e;\r\n/* 86: */ }", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tevent(e, et.get(1));\r\n\t\t\t}", "public void toss(Exception e);", "private void log(IndexObjectException e) {\n\t\t\r\n\t}", "public int getE() {\n return e_;\n }", "@Override\n\tpublic void einkaufen() {\n\t}", "private String getStacktraceFromException(Exception e) {\n\t\tByteArrayOutputStream baos = new ByteArrayOutputStream();\n\t\tPrintStream ps = new PrintStream(baos);\n\t\te.printStackTrace(ps);\n\t\tps.close();\n\t\treturn baos.toString();\n\t}", "protected void processEdge(Edge e) {\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn \"E \" + super.toString();\n\t}", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tevent(e, et.get(0));\r\n\t\t\t}", "public Element getElement() {\n/* 78 */ return this.e;\n/* */ }", "@Override\r\n public void actionPerformed( ActionEvent e )\r\n {\n }", "void mo57276a(Exception exc);", "@Override\r\n\tpublic void onEvent(Object e) {\n\t}", "public Throwable getOriginalException()\n/* 28: */ {\n/* 29:56 */ return this.originalE;\n/* 30: */ }", "@Override\r\n\t\t\tpublic void onError(Throwable e) {\n\r\n\t\t\t}", "private void sendOldError(Exception e) {\n }", "private V e() throws com.amap.api.col.n3.gh {\n /*\n r6 = this;\n r0 = 0\n r1 = 0\n L_0x0002:\n int r2 = r6.b\n if (r1 >= r2) goto L_0x00cd\n com.amap.api.col.n3.ki r2 = com.amap.api.col.n3.ki.c() // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n android.content.Context r3 = r6.d // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n java.net.Proxy r3 = com.amap.api.col.n3.ik.a(r3) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n r6.a((java.net.Proxy) r3) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n byte[] r2 = r2.a((com.amap.api.col.n3.kj) r6) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n java.lang.Object r2 = r6.a((byte[]) r2) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n int r0 = r6.b // Catch:{ ic -> 0x0025, gh -> 0x0020, Throwable -> 0x002a }\n r1 = r0\n r0 = r2\n goto L_0x0002\n L_0x0020:\n r0 = move-exception\n r5 = r2\n r2 = r0\n r0 = r5\n goto L_0x0033\n L_0x0025:\n r0 = move-exception\n r5 = r2\n r2 = r0\n r0 = r5\n goto L_0x0044\n L_0x002a:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = \"未知错误\"\n r0.<init>(r1)\n throw r0\n L_0x0032:\n r2 = move-exception\n L_0x0033:\n int r1 = r1 + 1\n int r3 = r6.b\n if (r1 < r3) goto L_0x0002\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = r2.a()\n r0.<init>(r1)\n throw r0\n L_0x0043:\n r2 = move-exception\n L_0x0044:\n int r1 = r1 + 1\n int r3 = r6.b\n if (r1 >= r3) goto L_0x008a\n int r3 = r6.e // Catch:{ InterruptedException -> 0x0053 }\n int r3 = r3 * 1000\n long r3 = (long) r3 // Catch:{ InterruptedException -> 0x0053 }\n java.lang.Thread.sleep(r3) // Catch:{ InterruptedException -> 0x0053 }\n goto L_0x0002\n L_0x0053:\n java.lang.String r0 = \"http连接失败 - ConnectionException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x0082\n java.lang.String r0 = \"socket 连接异常 - SocketException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x0082\n java.lang.String r0 = \"服务器连接失败 - UnknownServiceException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 == 0) goto L_0x0078\n goto L_0x0082\n L_0x0078:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = r2.a()\n r0.<init>(r1)\n throw r0\n L_0x0082:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = \"http或socket连接失败 - ConnectionException\"\n r0.<init>(r1)\n throw r0\n L_0x008a:\n java.lang.String r0 = \"http连接失败 - ConnectionException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x00c5\n java.lang.String r0 = \"socket 连接异常 - SocketException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x00c5\n java.lang.String r0 = \"未知的错误\"\n java.lang.String r1 = r2.a()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x00c5\n java.lang.String r0 = \"服务器连接失败 - UnknownServiceException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 == 0) goto L_0x00bb\n goto L_0x00c5\n L_0x00bb:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = r2.a()\n r0.<init>(r1)\n throw r0\n L_0x00c5:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = \"http或socket连接失败 - ConnectionException\"\n r0.<init>(r1)\n throw r0\n L_0x00cd:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.amap.api.col.n3.gi.e():java.lang.Object\");\n }", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\r\n\t\t\t}", "@Override\n protected void processMouseEvent(MouseEvent e) {\n super.processMouseEvent(e);\n }", "private void printInfo(SAXParseException e) {\n\t}", "@Override\n\t\tpublic void onError(Throwable e) {\n\t\t\tSystem.out.println(\"onError\");\n\t\t}", "String exceptionToStackTrace( Exception e ) {\n StringWriter stringWriter = new StringWriter();\n PrintWriter printWriter = new PrintWriter(stringWriter);\n e.printStackTrace( printWriter );\n return stringWriter.toString();\n }", "public <E> E getE(E e){\n return e;\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}", "@PortedFrom(file = \"tSignatureUpdater.h\", name = \"vE\")\n private void vE(NamedEntity e) {\n sig.add(e);\n }", "@Override\n\t\tpublic void onException(Exception arg0) {\n\t\t\t\n\t\t}", "@Override\n\t\t\tpublic void actionPerformed(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}", "protected E eval()\n\t\t{\n\t\tE e=this.e;\n\t\tthis.e=null;\n\t\treturn e;\n\t\t}", "void showResultMoError(String e);", "public int E() {\n \treturn E;\n }", "@Override\r\n public void processEvent(IAEvent e) {\n\r\n }", "@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}", "static public String getStackTrace(Exception e) {\n java.io.StringWriter s = new java.io.StringWriter(); \n e.printStackTrace(new java.io.PrintWriter(s));\n String trace = s.toString();\n \n if(trace==null || trace.length()==0 || trace.equals(\"null\"))\n return e.toString();\n else\n return trace;\n }", "@Override\n public String toString() {\n return \"[E]\" + super.toString() + \"(at: \" + details + \")\";\n }", "public static void error(boolean e) {\n E = e;\n }", "public void out_ep(Edge e) {\r\n\r\n\t\tif (triangulate == 0 & plot == 1) {\r\n\t\t\tclip_line(e);\r\n\t\t}\r\n\r\n\t\tif (triangulate == 0 & plot == 0) {\r\n\t\t\tSystem.err.printf(\"e %d\", e.edgenbr);\r\n\t\t\tSystem.err.printf(\" %d \", e.ep[le] != null ? e.ep[le].sitenbr : -1);\r\n\t\t\tSystem.err.printf(\"%d\\n\", e.ep[re] != null ? e.ep[re].sitenbr : -1);\r\n\t\t}\r\n\r\n\t}", "public void m58944a(E e) {\n this.f48622a = e;\n }", "void mo43357a(C16726e eVar) throws RemoteException;", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t}", "@Override\n\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\n\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t\t}", "static String getElementText(Element e) {\n if (e.getChildNodes().getLength() == 1) {\n Text elementText = (Text) e.getFirstChild();\n return elementText.getNodeValue();\n }\n else\n return \"\";\n }", "public RuntimeException processException(RuntimeException e)\n\n {\n\treturn new RuntimeException(e);\n }", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\n\t\t\t}", "@java.lang.Override\n public java.lang.String getE() {\n java.lang.Object ref = e_;\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 e_ = s;\n return s;\n }\n }", "protected void onEvent(DivRepEvent e) {\n\t\t}", "protected void onEvent(DivRepEvent e) {\n\t\t}", "protected void logException(Exception e) {\r\n if (log.isErrorEnabled()) {\r\n log.logError(LogCodes.WPH2004E, e, e.getClass().getName() + \" processing field \");\r\n }\r\n }", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tevent(e, vt.get(2));\r\n\t\t\t}", "@Override\n\t\t\t\t\t\t\t\t\t\t\tpublic void keyPressed(KeyEvent e) {\n\n\t\t\t\t\t\t\t\t\t\t\t}", "com.walgreens.rxit.ch.cda.EIVLEvent getEvent();", "@Override\n protected void getExras() {\n }", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tevent(e, vt.get(4));\r\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\t\r\n\t\t\t}", "public e o() {\r\n return k();\r\n }", "@Override\n\t\t\tpublic void focusGained(FocusEvent e) {\n\t\t\t\t\n\t\t\t}" ]
[ "0.72328156", "0.66032064", "0.6412127", "0.6362734", "0.633999", "0.62543726", "0.6232265", "0.6159535", "0.61226326", "0.61226326", "0.60798717", "0.6049423", "0.60396963", "0.60011584", "0.5998842", "0.59709895", "0.59551716", "0.5937381", "0.58854383", "0.5870234", "0.5863486", "0.58606255", "0.58570576", "0.5832809", "0.57954526", "0.5784194", "0.57723534", "0.576802", "0.57466", "0.57258075", "0.5722709", "0.5722404", "0.57134414", "0.56987166", "0.5683048", "0.5671214", "0.5650087", "0.56173986", "0.56142104", "0.56100404", "0.5604611", "0.55978096", "0.5597681", "0.55941516", "0.55941516", "0.55941516", "0.5578516", "0.55689955", "0.5568649", "0.5564652", "0.5561944", "0.5561737", "0.5560318", "0.555748", "0.5550611", "0.5550611", "0.5550611", "0.5550611", "0.5547971", "0.55252135", "0.5523029", "0.55208814", "0.5516037", "0.5512", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118227", "0.5509796", "0.5509671", "0.5503605", "0.55015326", "0.5499632", "0.54921895", "0.54892236", "0.5483562", "0.5483562", "0.5482999", "0.54812574", "0.5479943", "0.54787004", "0.54778624", "0.5472073", "0.54695076", "0.54695076", "0.54695076", "0.54695076", "0.54695076", "0.54695076", "0.54695076", "0.54695076", "0.5468417", "0.54673034", "0.54645115" ]
0.0
-1
/ renamed from: f
public /* bridge */ /* synthetic */ boolean mo22962f(C7059Ec ec) { return super.mo22962f(ec); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void func_70305_f() {}", "public static Forca get_f(){\n\t\treturn f;\n\t}", "void mo84656a(float f);", "public final void mo8765a(float f) {\n }", "@Override\n public int f() {\n return 0;\n }", "public void f() {\n }", "void mo9704b(float f, float f2, int i);", "void mo56155a(float f);", "public void f() {\n }", "void mo9696a(float f, float f2, int i);", "@Override\n\tpublic void f2() {\n\t\t\n\t}", "public void f() {\n Message q_ = q_();\n e.c().a(new f(255, a(q_.toByteArray())), getClass().getSimpleName(), i().a(), q_);\n }", "void mo72112a(float f);", "void mo9694a(float f, float f2);", "void f1() {\r\n\t}", "public amj p()\r\n/* 543: */ {\r\n/* 544:583 */ return this.f;\r\n/* 545: */ }", "double cFromF(double f) {\n return (f-32) * 5 / 9;\n }", "void mo34547J(float f, float f2);", "@Override\n\tpublic void f1() {\n\n\t}", "public void f() {\n this.f25459e.J();\n }", "public abstract void mo70718c(String str, float f);", "public byte f()\r\n/* 89: */ {\r\n/* 90:90 */ return this.f;\r\n/* 91: */ }", "C3579d mo19694a(C3581f fVar) throws IOException;", "public abstract void mo70714b(String str, float f);", "void mo9705c(float f, float f2);", "FunctionCall getFc();", "@Override\n\tpublic void af(String t) {\n\n\t}", "void mo9695a(float f, float f2, float f3, float f4, float f5);", "public abstract void mo70705a(String str, float f);", "void mo21075f();", "static double transform(int f) {\n return (5.0 / 9.0 * (f - 32));\n\n }", "private int m216e(float f) {\n int i = (int) (f + 0.5f);\n return i % 2 == 1 ? i - 1 : i;\n }", "void mo9703b(float f, float f2);", "public abstract int mo123247f();", "void mo6072a(float f) {\n this.f2347q = this.f2342e.mo6054a(f);\n }", "public float mo12718a(float f) {\n return f;\n }", "public abstract void mo70706a(String str, float f, float f2);", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "protected float l()\r\n/* 72: */ {\r\n/* 73: 84 */ return 0.0F;\r\n/* 74: */ }", "public int getF() {\n\t\treturn f;\n\t}", "public void f()\r\n {\r\n float var1 = 0.5F;\r\n float var2 = 0.125F;\r\n float var3 = 0.5F;\r\n this.a(0.5F - var1, 0.5F - var2, 0.5F - var3, 0.5F + var1, 0.5F + var2, 0.5F + var3);\r\n }", "void mo9698a(String str, float f);", "private static float m82748a(float f) {\n if (f == 0.0f) {\n return 1.0f;\n }\n return 0.0f;\n }", "static void feladat4() {\n\t}", "public int getf(){\r\n return f;\r\n}", "private static double FToC(double f) {\n\t\treturn (f-32)*5/9;\n\t}", "public void a(Float f) {\n ((b.b) this.b).a(f);\n }", "public Flt(float f) {this.f = new Float(f);}", "static double f(double x){\n \treturn Math.sin(x);\r\n }", "private float m23258a(float f, float f2, float f3) {\n return f + ((f2 - f) * f3);\n }", "public double getF();", "protected float m()\r\n/* 234: */ {\r\n/* 235:247 */ return 0.03F;\r\n/* 236: */ }", "final void mo6072a(float f) {\n this.f2349i = this.f2348h.mo6057b(f);\n }", "private float m87322b(float f) {\n return (float) Math.sin((double) ((float) (((double) (f - 0.5f)) * 0.4712389167638204d)));\n }", "public void colores(int f) {\n this.f = f;\n }", "static float m51586b(float f, float f2, float f3) {\n return ((f2 - f) * f3) + f;\n }", "void mo3193f();", "public void mo3777a(float f) {\n this.f1443S = f;\n }", "@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}", "static void feladat9() {\n\t}", "private double f2c(double f)\n {\n return (f-32)*5/9;\n }", "public void e(Float f) {\n ((b.b) this.b).e(f);\n }", "int mo9691a(String str, String str2, float f);", "void mo196b(float f) throws RemoteException;", "public void d(Float f) {\n ((b.b) this.b).d(f);\n }", "static void feladat7() {\n\t}", "public void b(Float f) {\n ((b.b) this.b).b(f);\n }", "long mo54439f(int i);", "public void c(Float f) {\n ((b.b) this.b).c(f);\n }", "@java.lang.Override\n public java.lang.String getF() {\n java.lang.Object ref = f_;\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 f_ = s;\n return s;\n }\n }", "public static void detectComponents(String f) {\n\t\t\n\t}", "public void b(amj paramamj)\r\n/* 538: */ {\r\n/* 539:579 */ this.f = paramamj;\r\n/* 540: */ }", "public void f() {\n if (this instanceof b) {\n b bVar = (b) this;\n Message q_ = bVar.q_();\n e.c().a(new f(bVar.b(), q_.toByteArray()), getClass().getSimpleName(), i().a(), q_);\n return;\n }\n f a2 = a();\n if (a2 != null) {\n e.c().a(a2, getClass().getSimpleName(), i().a(), (Message) null);\n }\n }", "void mo54440f();", "public int F()\r\n/* 24: */ {\r\n/* 25: 39 */ return aqt.a(0.5D, 1.0D);\r\n/* 26: */ }", "@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}", "public abstract int mo9741f();", "void testMethod() {\n f();\n }", "public static int m22547b(float f) {\n return 4;\n }", "public float mo12728b(float f) {\n return f;\n }", "public void mo1963f() throws cf {\r\n }", "public abstract File mo41087j();", "@Override\n\tpublic void visit(Function arg0) {\n\t\t\n\t}", "public abstract int f(int i2);", "static void feladat6() {\n\t}", "public void furyo ()\t{\n }", "long mo30295f();", "public void a(zf zfVar, Canvas canvas, float f, float f2) {\n }", "public T fjern();", "public static void feec() {\n\t}", "@Override\n\tdouble f(double x) {\n\t\treturn x;\n\t}", "static void feladat3() {\n\t}", "static void feladat8() {\n\t}", "public void mo3797c(float f) {\n this.f1455ad[0] = f;\n }", "public abstract double fct(double x);", "public interface b {\n boolean f(@NonNull File file);\n }", "public void setF(){\n\t\tf=calculateF();\n\t}", "public FI_() {\n }", "static void feladat5() {\n\t}", "private final void m57544f(int i) {\n this.f47568d.m63092a(new C15335a(i, true));\n }", "public abstract long f();" ]
[ "0.7323683", "0.65213245", "0.649907", "0.64541733", "0.6415534", "0.63602704", "0.6325114", "0.63194084", "0.630473", "0.62578535", "0.62211406", "0.6209556", "0.6173324", "0.61725706", "0.61682224", "0.6135272", "0.6130462", "0.6092916", "0.6089471", "0.6073019", "0.6069227", "0.6045645", "0.60285485", "0.6017334", "0.60073197", "0.59810024", "0.59757596", "0.5967885", "0.5942414", "0.59418225", "0.5939683", "0.59241796", "0.58987755", "0.5894165", "0.58801377", "0.5879881", "0.5830818", "0.57981277", "0.5790314", "0.578613", "0.5775656", "0.5772591", "0.57630384", "0.5752546", "0.5752283", "0.5735288", "0.5733957", "0.57191586", "0.57179475", "0.57131994", "0.57131445", "0.5706053", "0.5689441", "0.56773764", "0.5667179", "0.56332076", "0.5623908", "0.56229013", "0.5620846", "0.5620233", "0.5616687", "0.5610022", "0.5601161", "0.55959773", "0.5594083", "0.55762523", "0.5570697", "0.5569185", "0.5552703", "0.55498457", "0.5549487", "0.5540512", "0.55403346", "0.5538902", "0.5538738", "0.55373883", "0.55234814", "0.55215186", "0.551298", "0.5508332", "0.5507449", "0.55046654", "0.550407", "0.55029416", "0.5494386", "0.5493873", "0.54900146", "0.5487203", "0.54866016", "0.54843825", "0.5478175", "0.547722", "0.54764897", "0.5472811", "0.54662675", "0.5460087", "0.5458977", "0.54567033", "0.54565614", "0.5454854", "0.5442333" ]
0.0
-1
/ renamed from: g
public /* bridge */ /* synthetic */ void mo22963g(C7059Ec ec) { super.mo22963g(ec); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void g() {\n }", "public void gored() {\n\t\t\n\t}", "public boolean g()\r\n/* 94: */ {\r\n/* 95:94 */ return this.g;\r\n/* 96: */ }", "public int g()\r\n/* 173: */ {\r\n/* 174:198 */ return 0;\r\n/* 175: */ }", "public void stg() {\n\n\t}", "public xm n()\r\n/* 274: */ {\r\n/* 275:287 */ if ((this.g == null) && (this.h != null) && (this.h.length() > 0)) {\r\n/* 276:288 */ this.g = this.o.a(this.h);\r\n/* 277: */ }\r\n/* 278:290 */ return this.g;\r\n/* 279: */ }", "int getG();", "private final zzgy zzgb() {\n }", "public int g()\r\n/* 601: */ {\r\n/* 602:645 */ return 0;\r\n/* 603: */ }", "private static void g() {\n h h10 = q;\n synchronized (h10) {\n h10.f();\n Object object = h10.e();\n object = object.iterator();\n boolean bl2;\n while (bl2 = object.hasNext()) {\n Object object2 = object.next();\n object2 = (g)object2;\n Object object3 = ((g)object2).getName();\n object3 = i.h.d.j((String)object3);\n ((g)object2).h((i.h.c)object3);\n }\n return;\n }\n }", "public int g()\r\n {\r\n return 1;\r\n }", "void mo28307a(zzgd zzgd);", "void mo21076g();", "void mo56163g();", "void mo98971a(C29296g gVar, int i);", "public int getG();", "void mo98970a(C29296g gVar);", "public abstract long g();", "public com.amap.api.col.n3.al g(java.lang.String r6) {\n /*\n r5 = this;\n r0 = 0\n if (r6 == 0) goto L_0x003a\n int r1 = r6.length()\n if (r1 > 0) goto L_0x000a\n goto L_0x003a\n L_0x000a:\n java.util.List<com.amap.api.col.n3.al> r1 = r5.c\n monitor-enter(r1)\n java.util.List<com.amap.api.col.n3.al> r2 = r5.c // Catch:{ all -> 0x0037 }\n java.util.Iterator r2 = r2.iterator() // Catch:{ all -> 0x0037 }\n L_0x0013:\n boolean r3 = r2.hasNext() // Catch:{ all -> 0x0037 }\n if (r3 == 0) goto L_0x0035\n java.lang.Object r3 = r2.next() // Catch:{ all -> 0x0037 }\n com.amap.api.col.n3.al r3 = (com.amap.api.col.n3.al) r3 // Catch:{ all -> 0x0037 }\n java.lang.String r4 = r3.getCity() // Catch:{ all -> 0x0037 }\n boolean r4 = r6.equals(r4) // Catch:{ all -> 0x0037 }\n if (r4 != 0) goto L_0x0033\n java.lang.String r4 = r3.getPinyin() // Catch:{ all -> 0x0037 }\n boolean r4 = r6.equals(r4) // Catch:{ all -> 0x0037 }\n if (r4 == 0) goto L_0x0013\n L_0x0033:\n monitor-exit(r1) // Catch:{ all -> 0x0037 }\n return r3\n L_0x0035:\n monitor-exit(r1)\n return r0\n L_0x0037:\n r6 = move-exception\n monitor-exit(r1)\n throw r6\n L_0x003a:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.amap.api.col.n3.am.g(java.lang.String):com.amap.api.col.n3.al\");\n }", "public int getG() {\r\n\t\treturn g;\r\n\t}", "private Gng() {\n }", "void mo57277b();", "int mo98967b(C29296g gVar);", "public void mo21782G() {\n }", "public final void mo74763d(C29296g gVar) {\n }", "private final java.lang.String m14284g() {\n /*\n r3 = this;\n b.h.b.a.b.b.ah r0 = r3.f8347b\n b.h.b.a.b.b.m r0 = r0.mo7065b()\n b.h.b.a.b.b.ah r1 = r3.f8347b\n b.h.b.a.b.b.az r1 = r1.mo7077p()\n b.h.b.a.b.b.az r2 = p073b.p085h.p087b.p088a.p090b.p094b.C1710ay.f5339d\n boolean r1 = p073b.p079e.p081b.C1489j.m6971a(r1, r2)\n if (r1 == 0) goto L_0x0056\n boolean r1 = r0 instanceof p073b.p085h.p087b.p088a.p090b.p127j.p128a.p129a.C2608e\n if (r1 == 0) goto L_0x0056\n b.h.b.a.b.j.a.a.e r0 = (p073b.p085h.p087b.p088a.p090b.p127j.p128a.p129a.C2608e) r0\n b.h.b.a.b.e.a$c r0 = r0.mo9643H()\n b.h.b.a.b.g.i$c r0 = (p073b.p085h.p087b.p088a.p090b.p117g.C2383i.C2387c) r0\n b.h.b.a.b.g.i$f<b.h.b.a.b.e.a$c, java.lang.Integer> r1 = p073b.p085h.p087b.p088a.p090b.p112e.p114b.C2330b.f7137i\n java.lang.String r2 = \"JvmProtoBuf.classModuleName\"\n p073b.p079e.p081b.C1489j.m6969a(r1, r2)\n java.lang.Object r0 = p073b.p085h.p087b.p088a.p090b.p112e.p113a.C2288f.m11197a(r0, r1)\n java.lang.Integer r0 = (java.lang.Integer) r0\n if (r0 == 0) goto L_0x003e\n b.h.b.a.b.e.a.c r1 = r3.f8350e\n java.lang.Number r0 = (java.lang.Number) r0\n int r0 = r0.intValue()\n java.lang.String r0 = r1.mo8811a(r0)\n if (r0 == 0) goto L_0x003e\n goto L_0x0040\n L_0x003e:\n java.lang.String r0 = \"main\"\n L_0x0040:\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n r1.<init>()\n java.lang.String r2 = \"$\"\n r1.append(r2)\n java.lang.String r0 = p073b.p085h.p087b.p088a.p090b.p116f.C2361g.m11709a(r0)\n r1.append(r0)\n java.lang.String r0 = r1.toString()\n return r0\n L_0x0056:\n b.h.b.a.b.b.ah r1 = r3.f8347b\n b.h.b.a.b.b.az r1 = r1.mo7077p()\n b.h.b.a.b.b.az r2 = p073b.p085h.p087b.p088a.p090b.p094b.C1710ay.f5336a\n boolean r1 = p073b.p079e.p081b.C1489j.m6971a(r1, r2)\n if (r1 == 0) goto L_0x00a0\n boolean r0 = r0 instanceof p073b.p085h.p087b.p088a.p090b.p094b.C1680ab\n if (r0 == 0) goto L_0x00a0\n b.h.b.a.b.b.ah r0 = r3.f8347b\n if (r0 == 0) goto L_0x0098\n b.h.b.a.b.j.a.a.j r0 = (p073b.p085h.p087b.p088a.p090b.p127j.p128a.p129a.C2638j) r0\n b.h.b.a.b.j.a.a.f r0 = r0.mo9635N()\n boolean r1 = r0 instanceof p073b.p085h.p087b.p088a.p090b.p100d.p110b.C2129i\n if (r1 == 0) goto L_0x00a0\n b.h.b.a.b.d.b.i r0 = (p073b.p085h.p087b.p088a.p090b.p100d.p110b.C2129i) r0\n b.h.b.a.b.i.d.b r1 = r0.mo8045e()\n if (r1 == 0) goto L_0x00a0\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n r1.<init>()\n java.lang.String r2 = \"$\"\n r1.append(r2)\n b.h.b.a.b.f.f r0 = r0.mo8042b()\n java.lang.String r0 = r0.mo9039a()\n r1.append(r0)\n java.lang.String r0 = r1.toString()\n return r0\n L_0x0098:\n b.u r0 = new b.u\n java.lang.String r1 = \"null cannot be cast to non-null type org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedPropertyDescriptor\"\n r0.<init>(r1)\n throw r0\n L_0x00a0:\n java.lang.String r0 = \"\"\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p073b.p085h.p087b.p088a.C3008g.C3011c.m14284g():java.lang.String\");\n }", "void mo16687a(T t, C4621gg ggVar) throws IOException;", "public final void mo74759a(C29296g gVar) {\n }", "int mo98966a(C29296g gVar);", "void mo57278c();", "public double getG();", "public boolean h()\r\n/* 189: */ {\r\n/* 190:187 */ return this.g;\r\n/* 191: */ }", "private void kk12() {\n\n\t}", "gp(go goVar, String str) {\n super(str);\n this.f82115a = goVar;\n }", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n\tpublic void draw(Graphics g) {\n\t\t\n\t}", "@Override\n\tpublic void draw(Graphics g) {\n\t\t\n\t}", "C2841w mo7234g();", "public abstract long g(int i2);", "public final h.c.b<java.lang.Object> g() {\n /*\n r2 = this;\n h.c.b<java.lang.Object> r0 = r2.f15786a\n if (r0 == 0) goto L_0x0005\n goto L_0x001d\n L_0x0005:\n h.c.e r0 = r2.b()\n h.c.c$b r1 = h.c.c.f14536c\n h.c.e$b r0 = r0.get(r1)\n h.c.c r0 = (h.c.c) r0\n if (r0 == 0) goto L_0x001a\n h.c.b r0 = r0.c(r2)\n if (r0 == 0) goto L_0x001a\n goto L_0x001b\n L_0x001a:\n r0 = r2\n L_0x001b:\n r2.f15786a = r0\n L_0x001d:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: kotlin.coroutines.jvm.internal.ContinuationImpl.g():h.c.b\");\n }", "void mo41086b();", "public abstract int mo123248g();", "public void getK_Gelisir(){\n K_Gelistir();\r\n }", "int mo54441g(int i);", "private static String m11g() {\n StringBuilder stringBuilder = new StringBuilder();\n stringBuilder.append(\"sh\");\n stringBuilder.append(\"el\");\n stringBuilder.append(\"la\");\n stringBuilder.append(\"_ve\");\n stringBuilder.append(\"rs\");\n stringBuilder.append(\"i\");\n stringBuilder.append(\"on\");\n return stringBuilder.toString();\n }", "@Override\n\tpublic void jugar() {\n\t\t\n\t}", "Groepen maakGroepsindeling(Groepen aanwezigheidsGroepen);", "public String getGg() {\n return gg;\n }", "public void g() {\n this.f25459e.Q();\n }", "void mo1761g(int i);", "public abstract void bepaalGrootte();", "public void referToGP(){\r\n\t\t//here is some code that we do not have access to\r\n\t}", "public final i g() {\n return new i();\n }", "public abstract void mo42331g();", "@Override\n public void func_104112_b() {\n \n }", "public int g2dsg(int v) { return g2dsg[v]; }", "void NhapGT(int thang, int nam) {\n }", "Gruppo getGruppo();", "public void method_4270() {}", "public abstract String mo41079d();", "public abstract String mo118046b();", "public void setGg(String gg) {\n this.gg = gg;\n }", "public abstract CharSequence mo2161g();", "void mo119582b();", "private void strin() {\n\n\t}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public String BFS(int g) {\n\t\t//TODO\n\t}", "void mo21073d();", "private stendhal() {\n\t}", "public void golpearJugador(Jugador j) {\n\t\t\n\t}", "public void ganar() {\n // TODO implement here\n }", "public static Object gvRender(Object... arg) {\r\nUNSUPPORTED(\"e2g1sf67k7u629a0lf4qtd4w8\"); // int gvRender(GVC_t *gvc, graph_t *g, const char *format, FILE *out)\r\nUNSUPPORTED(\"erg9i1970wdri39osu8hx2a6e\"); // {\r\nUNSUPPORTED(\"1bh3yj957he6yv2dkeg4pzwdk\"); // int rc;\r\nUNSUPPORTED(\"1ag9dz4apxn0w3cz8w2bfm6se\"); // GVJ_t *job;\r\nUNSUPPORTED(\"8msotrfl0cngiua3j57ylm26b\"); // g = g->root;\r\nUNSUPPORTED(\"exts51afuertju5ed5v7pdpg7\"); // /* create a job for the required format */\r\nUNSUPPORTED(\"dn6z1r1bbrtmr58m8dnfgfnm0\"); // rc = gvjobs_output_langname(gvc, format);\r\nUNSUPPORTED(\"5apijrijm2r8b1g2l4x7iee7s\"); // job = gvc->job;\r\nUNSUPPORTED(\"5wvj0ph8uqfgg8jl3g39jsf51\"); // if (rc == 999) {\r\nUNSUPPORTED(\"4lkoedjryn54aff3fyrsewwu5\"); // agerr (AGERR, \"Format: \\\"%s\\\" not recognized. Use one of:%s\\n\",\r\nUNSUPPORTED(\"2pjgp86rkudo6mihbako5yps2\"); // format, gvplugin_list(gvc, API_device, format));\r\nUNSUPPORTED(\"f3a98gxettwtewduvje9y3524\"); // return -1;\r\nUNSUPPORTED(\"dvgyxsnyeqqnyzq696k3vskib\"); // }\r\nUNSUPPORTED(\"ect62lxc3zm51lhzifift55m\"); // job->output_lang = gvrender_select(job, job->output_langname);\r\nUNSUPPORTED(\"ewlceg1k4gs2e6syq4ear5kzo\"); // if (!(agbindrec(g, \"Agraphinfo_t\", 0, NOT(0)) && GD_drawing(g)) && !(job->flags & (1<<26))) {\r\nUNSUPPORTED(\"3yo4xyapbp7osp8uyz4kff98s\"); // \tagerrorf( \"Layout was not done\\n\");\r\nUNSUPPORTED(\"8d9xfgejx5vgd6shva5wk5k06\"); // \treturn -1;\r\nUNSUPPORTED(\"dvgyxsnyeqqnyzq696k3vskib\"); // }\r\nUNSUPPORTED(\"2ai20uylya195fbdqwjy9bz0n\"); // job->output_file = out;\r\nUNSUPPORTED(\"10kpqi6pvibjsxjyg0g76lix3\"); // if (out == NULL)\r\nUNSUPPORTED(\"d47ukby9krmz2k8ycmzzynnfr\"); // \tjob->flags |= (1<<27);\r\nUNSUPPORTED(\"9szsye4q9jykqvtk0bc1r91d0\"); // rc = gvRenderJobs(gvc, g);\r\nUNSUPPORTED(\"7l8ugws8ptgtlxc1ymmh3cf18\"); // gvrender_end_job(job);\r\nUNSUPPORTED(\"a9p7yonln7g91ge7xab3xf9dr\"); // gvjobs_delete(gvc);\r\nUNSUPPORTED(\"5bc9k4vsl6g7wejc5xefc5964\"); // return rc;\r\nUNSUPPORTED(\"c24nfmv9i7o5eoqaymbibp7m7\"); // }\r\n\r\nthrow new UnsupportedOperationException();\r\n}", "void mo41083a();", "@VisibleForTesting\n public final long g(long j) {\n long j2 = j - this.f10062b;\n this.f10062b = j;\n return j2;\n }", "void mo72113b();", "@Override\n\tpublic void render(Graphics g) {\n\t\t\n\t}", "@Override\n\tpublic void render(Graphics g) {\n\t\t\n\t}", "public void b(gy ☃) {}\r\n/* */ \r\n/* */ \r\n/* */ \r\n/* */ public void a(gy ☃) {}", "Gtr createGtr();", "TGG createTGG();", "public abstract String mo9239aw();", "public void setG(boolean g) {\n\tthis.g = g;\n }", "private static C8504ba m25889b(C2272g gVar) throws Exception {\n return m25888a(gVar);\n }", "void mo21074e();", "private String pcString(String g, String d) {\n return g+\"^part_of(\"+d+\")\";\n }", "public abstract String mo13682d();", "public void mo38117a() {\n }", "public abstract void mo70713b();", "public Gitlet(int a) {\n\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n\tpublic void draw(Graphics2D g) {\n\t\t\n\t}", "public abstract T zzg(T t, T t2);", "public int mo9232aG() {\n return 0;\n }", "public void mo3286a(C0813g gVar) {\n this.f2574g = gVar;\n }", "public void mo21787L() {\n }", "@Override\n public String toString(){\n return \"G(\"+this.getVidas()+\")\";\n }", "public String DFS(int g) {\n\t\t//TODO\n\t}", "public static Object gvRenderContext(Object... arg) {\r\nUNSUPPORTED(\"6bxfu9f9cshxn0i97berfl9bw\"); // int gvRenderContext(GVC_t *gvc, graph_t *g, const char *format, void *context)\r\nUNSUPPORTED(\"erg9i1970wdri39osu8hx2a6e\"); // {\r\nUNSUPPORTED(\"1bh3yj957he6yv2dkeg4pzwdk\"); // int rc;\r\nUNSUPPORTED(\"1ag9dz4apxn0w3cz8w2bfm6se\"); // GVJ_t *job;\r\nUNSUPPORTED(\"8msotrfl0cngiua3j57ylm26b\"); // g = g->root;\r\nUNSUPPORTED(\"exts51afuertju5ed5v7pdpg7\"); // /* create a job for the required format */\r\nUNSUPPORTED(\"dn6z1r1bbrtmr58m8dnfgfnm0\"); // rc = gvjobs_output_langname(gvc, format);\r\nUNSUPPORTED(\"5apijrijm2r8b1g2l4x7iee7s\"); // job = gvc->job;\r\nUNSUPPORTED(\"5wvj0ph8uqfgg8jl3g39jsf51\"); // if (rc == 999) {\r\nUNSUPPORTED(\"8r1a6szpsnku0jhatqkh0qo75\"); // \t\tagerr(AGERR, \"Format: \\\"%s\\\" not recognized. Use one of:%s\\n\",\r\nUNSUPPORTED(\"2pj79j8toe6bactkaedt54xcv\"); // \t\t\t format, gvplugin_list(gvc, API_device, format));\r\nUNSUPPORTED(\"b0epxudfxjm8kichhaautm2qi\"); // \t\treturn -1;\r\nUNSUPPORTED(\"dvgyxsnyeqqnyzq696k3vskib\"); // }\r\nUNSUPPORTED(\"ect62lxc3zm51lhzifift55m\"); // job->output_lang = gvrender_select(job, job->output_langname);\r\nUNSUPPORTED(\"ewlceg1k4gs2e6syq4ear5kzo\"); // if (!(agbindrec(g, \"Agraphinfo_t\", 0, NOT(0)) && GD_drawing(g)) && !(job->flags & (1<<26))) {\r\nUNSUPPORTED(\"3yo4xyapbp7osp8uyz4kff98s\"); // \tagerrorf( \"Layout was not done\\n\");\r\nUNSUPPORTED(\"b0epxudfxjm8kichhaautm2qi\"); // \t\treturn -1;\r\nUNSUPPORTED(\"dvgyxsnyeqqnyzq696k3vskib\"); // }\r\nUNSUPPORTED(\"ex1rhur9nlj950oe8r621uxxk\"); // job->context = context;\r\nUNSUPPORTED(\"3hvm1mza6yapsb3hi7bkw03cs\"); // job->external_context = NOT(0);\r\nUNSUPPORTED(\"9szsye4q9jykqvtk0bc1r91d0\"); // rc = gvRenderJobs(gvc, g);\r\nUNSUPPORTED(\"7l8ugws8ptgtlxc1ymmh3cf18\"); // gvrender_end_job(job);\r\nUNSUPPORTED(\"dql0bth0nzsrpiu9vnffonrhf\"); // gvdevice_finalize(job);\r\nUNSUPPORTED(\"a9p7yonln7g91ge7xab3xf9dr\"); // gvjobs_delete(gvc);\r\nUNSUPPORTED(\"5bc9k4vsl6g7wejc5xefc5964\"); // return rc;\r\nUNSUPPORTED(\"c24nfmv9i7o5eoqaymbibp7m7\"); // }\r\n\r\nthrow new UnsupportedOperationException();\r\n}", "private static void cajas() {\n\t\t\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "void mo54435d();" ]
[ "0.678414", "0.67709124", "0.6522526", "0.64709187", "0.6450875", "0.62853396", "0.6246107", "0.6244691", "0.6212993", "0.61974055", "0.61380696", "0.6138033", "0.6105423", "0.6057178", "0.60355175", "0.60195917", "0.59741", "0.596904", "0.59063077", "0.58127505", "0.58101356", "0.57886875", "0.5771653", "0.57483286", "0.57415104", "0.5739937", "0.5737405", "0.5734033", "0.5716611", "0.5702987", "0.5702633", "0.568752", "0.5673585", "0.5656889", "0.5654594", "0.56383264", "0.56383264", "0.5633443", "0.5619376", "0.56107736", "0.55950445", "0.55687404", "0.5560633", "0.5544451", "0.553233", "0.55284953", "0.5526995", "0.5523609", "0.5522537", "0.5520261", "0.5508765", "0.54931", "0.5475987", "0.5471256", "0.5469798", "0.54696023", "0.5466119", "0.5450189", "0.5445573", "0.54424983", "0.54304206", "0.5423924", "0.54234356", "0.5420949", "0.54093313", "0.53971386", "0.53892636", "0.53887594", "0.5388692", "0.53799766", "0.5377014", "0.5375743", "0.53676707", "0.53666615", "0.53654546", "0.536411", "0.536411", "0.5361922", "0.53584075", "0.5357915", "0.53526837", "0.53503513", "0.534265", "0.5342214", "0.53399533", "0.533597", "0.5332819", "0.5331027", "0.5329743", "0.5329616", "0.5325393", "0.53252953", "0.5323291", "0.53207254", "0.5314264", "0.53122807", "0.53109974", "0.5310432", "0.53044266", "0.5304416", "0.5302328" ]
0.0
-1
/ renamed from: h
public /* bridge */ /* synthetic */ void mo22964h(C7059Ec ec) { super.mo22964h(ec); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void h() {}", "public void h() {\n }", "public abstract long h();", "float getH() {\n return _h;\n }", "H1 createH1();", "@Override\n public String toString() {\n return \"H\";\n }", "public void add2Hash( Hashtable h, String source ) {\n \n AstCursor c = new AstCursor();\n \n for ( c.FirstElement( this ); c.MoreElement(); c.NextElement() ) {\n Es es = ( Es ) c.node;\n es.add2Hash( h, source );\n }\n }", "public Husdjurshotell(){}", "public abstract int mo123249h();", "public int getH() {\n\t\treturn h;\n\t}", "public ho e_()\r\n/* 455: */ {\r\n/* 456:469 */ if (k_()) {\r\n/* 457:470 */ return new hy(d_());\r\n/* 458: */ }\r\n/* 459:472 */ return new hz(d_(), new Object[0]);\r\n/* 460: */ }", "public H(String a, String b, String c, String d, String e, String f, String g, String h, X x) {\n super(a, b, c, d, e, f, g, x);\n this.h = h;\n }", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n\tpublic int getH() {\n\t\treturn 100;\n\t}", "public double getH();", "static int hash(int h) {\n\t\t // This function ensures that hashCodes that differ only by constant \n\t\t // multiples at each bit position have a bounded number of collisions \n\t\t // (approximately 8 at default load factor).\n\t\th ^= (h >>> 20) ^ (h >>> 12);\n\t\treturn h ^ (h >>> 7) ^ (h >>> 4);\n\t}", "public boolean h()\r\n/* 189: */ {\r\n/* 190:187 */ return this.g;\r\n/* 191: */ }", "public void setH(int h) {\n\t\tthis.H = h;\n\t}", "private int hash(String str, int h){\n int v=0;\n\n /* FILL IN HERE */\n v = Math.floorMod(MurmurHash.hash32(str, seeds[h]) >>> h, 1 << logNbOfBuckets);\n\n return v;\n }", "public double utilisation(int h)\n {\n \tDouble result;\n \tDouble n1=(Math.pow(2,h))-1;\n \tresult=size()/n1;\n \treturn result;\n \t \t\n }", "public void setH(int h) {\n this.H = h;\n\n }", "public void setH(double h) {\n this.h = h;\n }", "public void mo21783H() {\n }", "public int hash2(int h, int m) {\r\n//\t\tint m = this.capability>>1 + 1;\r\n\t\treturn 1+(h%(m-1));\r\n\t}", "public double getH_() {\n\t\treturn h_;\n\t}", "H4 createH4();", "public abstract long mo9743h();", "private int h1(int p){\n\t\t return p % table.length;\n\t}", "public void applyHorn() {\n\t\t\r\n\t}", "public double getH() {\n return h;\n }", "public double getH() {\n return h;\n }", "public amj h()\r\n/* 17: */ {\r\n/* 18: 41 */ if ((this.c < 9) && (this.c >= 0)) {\r\n/* 19: 42 */ return this.a[this.c];\r\n/* 20: */ }\r\n/* 21: 44 */ return null;\r\n/* 22: */ }", "public int indexFor(int h) {\n\t\treturn (int) (h & (allLength - 1));\n\t}", "@Override\n\tpublic void visit(Have h) {\n\t\t// Reception de l'entier indiquant\n\t\t// l'index de la piŹce possédée par\n\t\t// le pair.\n\t\tSystem.out.println(\"visit have\");\n\t\tif (pieces == null) {\n\t\t\tpieces = new ArrayList<Integer>();\n\t\t}\n\t\tpieces.add(byteArrayToInt(h.getIndex()));\n\t}", "public abstract C17954dh<E> mo45842a();", "void mo1501h();", "static int indexFor(int h, int length) {\n return h & (length-1);\r\n }", "public int getH() {\n\t\treturn this.H;\n\t}", "public void setH_(double h_) {\n\t\tthis.h_ = h_;\n\t}", "public void setH(boolean h) {\n\tthis.h = h;\n }", "protected abstract void calculateH(Node node);", "private void attachHeader(SIPHeader h) {\n if (h == null) throw new IllegalArgumentException(\"null header!\");\n try {\n if (h instanceof SIPHeaderList) {\n SIPHeaderList hl = (SIPHeaderList) h;\n if (hl.isEmpty()) {\n return;\n }\n }\n attachHeader(h,false,false);\n } catch ( SIPDuplicateHeaderException ex) {\n // InternalErrorHandler.handleException(ex);\n }\n }", "void mo304a(C0366h c0366h);", "static int indexFor(int h, int length) {\n return h & (length - 1);\n }", "public final j h() {\n return new d(this);\n }", "C32446a mo21077h() throws Exception;", "private HSBC() {\n\t\t\n\t\t\n\t}", "@Hide\n private final zzs zzahx() {\n }", "public void mo9233aH() {\n }", "public abstract String header();", "abstract public void header();", "public static void hehe(){\n \n }", "H3 createH3();", "public void setH(Double h);", "private HeaderUtil() {}", "public void visit(Have h);", "private stendhal() {\n\t}", "private void add0(int h, int i, final String name, final String value) {\n HeaderEntry e = entries[i];\n HeaderEntry newEntry;\n entries[i] = newEntry = new HeaderEntry(h, name, value);\n newEntry.next = e;\n\n // Update the linked list.\n newEntry.addBefore(head);\n }", "int numberofhc()\n{\n\treturn hc.size();}", "static void dad_with_hl_internal(int h,int l){\n\t\tl+=hexa_to_deci(registers.get('L'));\n\t\tint carry = l>255?1:0;\n\t\tregisters.put('L',decimel_to_hexa_8bit(l));\n\t\th+=hexa_to_deci(registers.get('H'));\n\t\th+=carry;\n\t\tCS = h>255?true:false;\n\t\tregisters.put('H',decimel_to_hexa_8bit(h));\n\t}", "public Void mo7069h() {\n return null;\n }", "public Lechuga(Hamburguesa h){\n this.hamburguesa = h;\n }", "double normalizeHeading(double h) {\n double nh = h;\n if( h>-180 && h<180 ) {\n } else if( h <= -180 ) {\n nh = h+360;\n } else if( h > 180 ) {\n nh = h-360;\n }\n return nh;\n }", "@java.lang.Override\n public java.lang.String getH() {\n java.lang.Object ref = h_;\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 h_ = s;\n return s;\n }\n }", "private static String printH(Tuple[] h){\n\t\tString answer = \"ISOMORPHISM:\\t{\";\n\t\tfor(int i = 0; i < h.length; i++){\n\t\t\tanswer = answer + h[i] + (i < h.length-1? \",\": \"\");\n\t\t}\n\t\t\n\t\tanswer = answer + \"}\";\n\t\treturn answer;\n\t}", "double getStartH();", "private void rehash()\n {\n int hTmp = 37;\n\n if ( isHR != null )\n {\n hTmp = hTmp * 17 + isHR.hashCode();\n }\n\n if ( id != null )\n {\n hTmp = hTmp * 17 + id.hashCode();\n }\n\n if ( attributeType != null )\n {\n hTmp = hTmp * 17 + attributeType.hashCode();\n }\n \n h = hTmp;\n }", "public String createH() {\n\t\t// Create H per the algorithm\n\t\t// Create vertices of X --- The number of vertices in X is taken from the paper\n\t\t// k = (2 + epsilon)log n\n\t\tthis.createXVertices();\n\t\t// Create edges within X (both successive and random)\n\t\tthis.createXEdges();\n\n\t\treturn \"H Created (X Vertices)\";\n\n\t}", "public ahb(ahd paramahd)\r\n/* 12: */ {\r\n/* 13: 36 */ this.d = paramahd;\r\n/* 14: */ }", "protected void b(dh paramdh) {}", "public interface HTableWrapper {\n\n /**\n * To get the table name.\n * \n * @return\n */\n public byte[] getName();\n\n /**\n * To get a row.\n * \n * @param get\n * @return\n * @throws IOException\n */\n public Result get(Get get) throws IOException;\n\n /**\n * To get a row using lockId.\n * \n * @param get\n * @param lockId\n * @return\n * @throws IOException\n */\n public Result get(Get get, Integer lockId) throws IOException;\n\n /**\n * To rollback a row.\n * \n * @param row\n * @param startId\n * @param lockId\n * @throws IOException\n */\n public void rollbackRow(byte[] row, long startId, Integer lockId)\n throws IOException;\n\n /**\n * To commit a row.\n * \n * @param row\n * @param startId\n * @param commitId\n * @param isDelete\n * @param lockId\n * @throws IOException\n */\n public void commitRow(byte[] row, long startId, long commitId,\n boolean isDelete, Integer lockId) throws IOException;\n\n}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getHBytes() {\n java.lang.Object ref = h_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n h_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "HEAD createHEAD();", "private void insertItem(Hashtable<String, List<Integer>> h, Element e) {\n\t\tString key = e.attribute(\"sourcefilepath\").getValue().replace('/', '\\\\') + e.attribute(\"sourcefile\").getValue();\r\n\t\tint line = Integer.parseInt(e.attribute(\"line\").getValue().trim());\r\n\t\tList<Integer> l = h.get(key);\r\n\t\tif(l==null){\r\n\t\t\tl = new ArrayList<Integer>();\r\n\t\t\th.put(key, l);\r\n\t\t}\r\n\t\tl.add(line);\r\n\t}", "private Parser(FScript h,HashMap l,HashMap g, HashMap f) {\n vars=l;\n gVars=g;\n funcs=f;\n host=h;\n }", "String getHashControl();", "public static void printHHSV(FqImage imh){\n\t\tint\ti,j;\r\n\t\tfor( i = 0 ; i < imh.width ; i++ ){\r\n\t\t\tfor( j = 0 ; j < imh.height ; j++ ){\r\n\t\t\t\tSystem.out.print(\"h\"+imh.points[i][j].getHHSV() );\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\t\t\r\n\t}", "String mo7388hl() throws RemoteException;", "static String d(NetLoginHandler var0)\n {\n return var0.h;\n }", "private static char toHexDigit(int h) {\n char out;\n if (h <= 9) out = (char) (h + 0x30);\n else out = (char) (h + 0x37);\n //System.err.println(h + \": \" + out);\n return out;\n }", "void mo7372a(C0802fh fhVar) throws RemoteException;", "double getEndH();", "public String getParameterFromH();", "public interface C22383h {\n}", "public void setH(double value) {\n this.h = value;\n }", "public void b(ahd paramahd) {}", "void mo35722a(C14235h hVar);", "public abstract void mo102585a(VH vh, int i);", "SmilHead getHead();", "@Override\n public void computeHash(Hasher hasher) {\n }", "HSet entrySet();", "public HELPFit getHF(){\n return HF;\n }", "protected MetadataUGWD() {/* intentionally empty block */}", "void reconstruct(HashMap<Integer, Vertex> h, Vertex next) {\n while (h.containsKey(next.toIdentifier())) {\n next.path = true;\n next = h.get(next.toIdentifier());\n }\n }", "void reconstruct(HashMap<Integer, Vertex> h, Vertex next) {\n while (h.containsKey(next.toIdentifier())) {\n next.path = true;\n next = h.get(next.toIdentifier());\n }\n }", "H getProfile();", "@Override\n\tpublic String getHead(Handler h) {\n\t\tStringBuffer buf = new StringBuffer(10000);\n\t\tbuf.append(\"<!DOCTYPE html>\\n\");\n\t\t\n\t\tbuf.append(\"\\t<head>\\n\");\n\t\tbuf.append(\"\\t\\t<style>\\n\");\n\t\tbuf.append(\"\\t\\ttable { width: 100% }\\n\");\n\t\tbuf.append(\"\\t\\tth { font: bold 10pt Tahoma; }\\n\");\n\t\tbuf.append(\"\\t\\ttd { font: normal 10pt Tahoma; }\\n\");\n\t\tbuf.append(\"\\t\\th1 { font: normal 11pt Tahoma; }\\n\");\n\t\tbuf.append(\"\\t\\t</style>\\n\");\n\t\tbuf.append(\"\\t</head>\\n\");\n\t\t\n\t\tbuf.append(\"\\t<body>\\n\");\n\t\tbuf.append(\"\\t\\t<h1>\" + (new Date()) + \"\\n\");\n\t\tbuf.append(\"\\t\\t<table border=\\\"0\\\" cellpadding=\\\"5\\\" cellspacing=\\\"3\\\">\\n\");\n\t\tbuf.append(\"\\t\\t\\t<tr align=\\\"left\\\">\\n\");\n\t\tbuf.append(\"\\t\\t\\t\\t<th style=\\\"width:10%\\\">LogLevel</th>\\n\");\n\t\tbuf.append(\"\\t\\t\\t\\t<th style=\\\"width:15%\\\">Time</th>\\n\");\n\t\tbuf.append(\"\\t\\t\\t\\t<th style=\\\"width:75%\\\">LogMessage</th>\\n\");\n\t\tbuf.append(\"\\t\\t\\t</tr>\\n\");\n\t\t\n\t\treturn buf.toString();\n\t}", "protected void a(dh paramdh) {}", "public com.google.protobuf.ByteString\n getHBytes() {\n java.lang.Object ref = h_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n h_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@Override\n\tprotected void interr() {\n\t}", "public int func_176881_a() {\n/* */ return this.field_176893_h;\n/* */ }" ]
[ "0.7006457", "0.6376803", "0.6152193", "0.6099337", "0.599903", "0.5976422", "0.5881053", "0.5878019", "0.5851139", "0.5840173", "0.58104765", "0.57935345", "0.5784397", "0.577195", "0.5760394", "0.5758641", "0.57195157", "0.5717094", "0.5712681", "0.57083744", "0.5691357", "0.5675319", "0.5654622", "0.5647394", "0.5633566", "0.5630044", "0.5611922", "0.5607437", "0.55959165", "0.55954385", "0.55954385", "0.5585786", "0.55847657", "0.5573256", "0.5557641", "0.55522007", "0.55487716", "0.55462223", "0.55379975", "0.55343676", "0.55202854", "0.55091685", "0.5500832", "0.54957825", "0.5495365", "0.548653", "0.5483489", "0.54801226", "0.5476092", "0.54691756", "0.5457996", "0.5454038", "0.54173815", "0.54168785", "0.5415112", "0.54006886", "0.53944254", "0.53781533", "0.5358132", "0.5352097", "0.5350295", "0.53456247", "0.53152686", "0.5314088", "0.5306762", "0.53060544", "0.5305655", "0.5299146", "0.52944684", "0.52934664", "0.5282273", "0.52762216", "0.52678543", "0.52643436", "0.5263177", "0.52619565", "0.52585053", "0.5258431", "0.5251732", "0.5248985", "0.524418", "0.52275395", "0.5224416", "0.5206976", "0.5205791", "0.5202667", "0.5201214", "0.5192617", "0.5188043", "0.5187125", "0.51868486", "0.5182988", "0.51596665", "0.5158084", "0.5158084", "0.51560694", "0.5155596", "0.51440835", "0.5138143", "0.51342785", "0.51331306" ]
0.0
-1
/ renamed from: i
public /* bridge */ /* synthetic */ void mo22965i(C7059Ec ec) { super.mo22965i(ec); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo17022c(int i);", "public final void mo5394iy(int i) {\n }", "void mo88773a(int i);", "void mo32046rn(int i);", "void mo54447l(int i);", "public final void mo91727g(int i) {\n }", "void mo1761g(int i);", "void mo54406a(int i);", "void mo23327tY(int i);", "void mo1753b(int i);", "@Override\n\tpublic void aumenta(int i) {\n\t\t\n\t}", "private void info3(int i) {\n\t\t\n\t}", "void mo54436d(int i);", "void mo6247nm(int i);", "void mo1933b(int i);", "void mo1494c(int i);", "void m15858a(int i);", "void mo54437e(int i);", "void mo1754c(int i);", "public int i() {\n \treturn i; \n }", "public final int getPos() { return i; }", "void mo1755d(int i);", "void mo54452q(int i);", "void mo1747a(int i);", "static int fixIndex(int i)\r\n {\r\n return i >= 0 ? i : -(i + 1);\r\n }", "void mo21050ml(int i);", "void mo37668e(int i);", "public final void mo91947k(int i) {\n }", "public abstract void mo4376b(int i);", "public void mo5332a(int i) {\n }", "void mo38565a(int i);", "public String select(int i)\r\n\t {\t\t \r\n\t\t String[] arr = this.infoToArray();\r\n\t\t if(i > arr.length)\r\n\t\t {\r\n\t\t\t return \"-1\";\r\n\t\t }\r\n\t\t return arr[i-1];\r\n\t }", "void mo22044oA(int i);", "void mo3796b(int i);", "void mo54446k(int i);", "void mo66998a(int i);", "private Index(int i) {\r\n _value = i;\r\n }", "void mo1485a(int i);", "void mo54448m(int i);", "private int elementNC(int i) {\n return first + i * stride;\n }", "public void setIndex(int i) {\n\t\t\n\t}", "public abstract void mo4385d(int i);", "void mo26876a(int i);", "void mo122221a(int i);", "private final void i() {\n }", "public abstract void mo9814c(int i);", "protected void dataTablePlan2(int i) {\n\t\t\r\n\t}", "void mo27576a(int i);", "public void mo44231a(int i) {\n }", "void mo85a(int i);", "void mo63039b(int i, int i2);", "void mo17020b(int i);", "void mo62991a(int i);", "public void mo3350a(int i) {\n }", "public int index(int i){\n \t\tif (i < 0 || i >= length()) throw new IllegalArgumentException();\n \t\treturn csa[i];\n \t}", "public abstract int mo12581RU(int i);", "public abstract void mo2156b(int i);", "private final int m28109e(int i) {\n return i + i;\n }", "public abstract void mo9809b(int i);", "@Override\n public String apply(Integer i) {\n //kombinowałem długo ale nie udało mi sie wykminić jak zrobić to zadanie przy użuciu tego interfejsu funkcyjnego\n //i zrobiłem to iteracyjnie\n return null;\n }", "public abstract int mo12574RN(int i);", "public abstract int mo12579RS(int i);", "void mo1763h(int i);", "public void mo23980a(int i, String str) {\n }", "void mo13163e(int i);", "private int advance(int[] n, int i) {\n i += n[i];\n i%=len;\n while (i<0) i+=len;\n return i;\n }", "public final void mo91724f(int i) {\n }", "private int parentIndex(int i) {\n return i / 2;\n }", "public void worked(int i) {\n\t\t\n\t}", "public int nextIndex(int i) {\n\t\treturn (i + 1) % data.length;\n\t}", "void mo17016a(int i);", "public abstract void mo4361a(int i);", "void mo1491b(int i);", "void mo7304b(int i, int i2);", "public int index(int i) {\n\t\tif (i < 0 || i >= text.length) throw new IndexOutOfBoundsException();\n\t\treturn r2p[i];\n\t}", "public abstract int start(int i);", "private int rightIndex(int i) {\n return i * 2 + 1;\n }", "public abstract void mo9734b(int i);", "void mo3767a(int i);", "protected void dataTableleibie(int i) {\n\t\r\n}", "void mo34684de(int i, int i2);", "public void mo29749op(int i) {\n if (i == 0) {\n C6638d.this.daT.mo29698og(0);\n }\n }", "private int leftIndex(int i) {\n return i * 2;\n }", "public abstract AbstractC5666g mo39572a(int i);", "C3579d mo19710g(int i) throws IOException;", "void mo7306c(int i, int i2);", "public abstract C14407a mo11609c(int i);", "void mo54424b(int i);", "public abstract int mo12582RV(int i);", "void mo63037a(int i, int i2);", "public abstract void mo4377b(int i, int i2);", "public void processed(int i);", "private int convertX(int i) {\n return i % width;\n }", "public abstract void mo4379b(int i, zzwt zzwt);", "public item getI() {\n return i;\n }", "public void getResult (int i){\n\t\tString result = items.get(i).toString();\n\t\tformatText(result);\n\t System.out.println(result);\n\t}", "public int index(int i) {\n if (i < 0 || i >= lng) {\n throw new IllegalArgumentException(\"index out of range.\");\n }\n\n return arr[i];\n }", "void setIdx(int i);", "public int withdraw(int i) {\n\t\treturn i;\n\t}", "public abstract C14407a mo11604a(int i);", "void mo54408a(int i, int i2, int i3, int i4);" ]
[ "0.6814251", "0.6791054", "0.67141014", "0.67082477", "0.6697361", "0.6696495", "0.66768324", "0.66522545", "0.66506225", "0.66473114", "0.6642119", "0.66363925", "0.6592755", "0.65895766", "0.65869564", "0.65632737", "0.6560748", "0.65470266", "0.6536829", "0.65297914", "0.65127593", "0.64910436", "0.6475078", "0.6474579", "0.6453788", "0.6449947", "0.64423084", "0.643925", "0.64370835", "0.6435097", "0.6393611", "0.6377644", "0.63709825", "0.6361261", "0.63309604", "0.6324192", "0.63111883", "0.6308764", "0.6303613", "0.62915045", "0.6283118", "0.6279513", "0.6277226", "0.6260732", "0.6252936", "0.6244241", "0.62374526", "0.62289596", "0.6224372", "0.62223464", "0.6217344", "0.62157923", "0.6201605", "0.6201401", "0.6192293", "0.6187045", "0.61829", "0.6181645", "0.61738485", "0.6170852", "0.617046", "0.61667144", "0.6165859", "0.61595744", "0.6159086", "0.6144851", "0.61408836", "0.6139398", "0.61274415", "0.6116618", "0.6108977", "0.6104106", "0.60988563", "0.60880226", "0.6079969", "0.60698235", "0.60688525", "0.606842", "0.60552436", "0.60544693", "0.60476667", "0.6044652", "0.60406977", "0.603512", "0.6025365", "0.6022614", "0.60220104", "0.6019621", "0.5996024", "0.5991862", "0.5989539", "0.598887", "0.5987865", "0.5970536", "0.5967256", "0.5967037", "0.59660614", "0.5965706", "0.59619015", "0.595908", "0.5954689" ]
0.0
-1
This controller is used to create a new payment or add new payment and redirects it to the service layer
@PostMapping("/payment") public ResponseEntity<Payment> addPayment(@Valid @RequestBody Payment payment) { logger.info("Adding new Payment"); payService.addPayment(payment); return ResponseEntity.ok(payment); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@PostMapping(\"/payments\")\n public ResponseEntity<Payment> createPayment(@Valid @RequestBody Payment payment) throws URISyntaxException {\n log.debug(\"REST request to save Payment : {}\", payment);\n if (payment.getId() != null) {\n throw new BadRequestAlertException(\"A new payment cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n Payment result = paymentRepository.save(payment);\n return ResponseEntity.created(new URI(\"/api/payments/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString())).body(result);\n }", "@PostMapping(\"/payments\")\n\tpublic Payment addPayment(@RequestBody Payment thePayment) {\n\t\t\n\t\tthePayment.setId(0);\n\t\t\n\t\tpaymentService.save(thePayment);\n\t\t\n\t\treturn thePayment;\n\t}", "@PreAuthorize(\"hasRole('ROLE_USER')\")\n\t@PostMapping(\"/payments\")\n public Payments createPayments(@Valid @RequestBody Payments payments) \n\t{\t\n\t\treturn paymentsRepository.save(payments);\n }", "@RequestMapping(\"/formPayment\")\n public String formPayment(){\n return \"formPayment\";\n }", "@RequestMapping(value = \"paymentGateway\", method = RequestMethod.GET)\r\n\t@ResponseBody\r\n\tpublic ModelAndView makePayment(@RequestParam(\"bookingId\") String bookingId,@RequestParam(\"finalFare\") String finalFare) {\r\n\t\tModelAndView modelAndView = new ModelAndView(\"happy_payment\");\r\n\t\tmodelAndView.addObject(\"bookingId\", bookingId);\r\n\t\tmodelAndView.addObject(\"finalFare\", finalFare);\r\n\t\treturn modelAndView;\r\n\r\n\t}", "@PostMapping(\"createAccount\")\n public String createAccount(@RequestParam int depositAmount, String accountName){\n CheckingAccount account = new CheckingAccount(depositAmount, accountName);\n accounts.add(account);\n currentAccount = account;\n //model.addAttribute(\"accountNumber\", account.getAccountNumber());\n return \"AccountOptions\";\n }", "@PostMapping(\"/payment-infos\")\n @Timed\n public ResponseEntity<PaymentInfoDTO> createPaymentInfo(@RequestBody PaymentInfoDTO paymentInfoDTO) throws URISyntaxException {\n log.debug(\"REST request to save PaymentInfo : {}\", paymentInfoDTO);\n if (paymentInfoDTO.getId() != null) {\n throw new BadRequestAlertException(\"A new paymentInfo cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n PaymentInfoDTO result = paymentInfoService.save(paymentInfoDTO);\n return ResponseEntity.created(new URI(\"/api/payment-infos/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "@RequestMapping(value = { \"/newcontract\" }, method = RequestMethod.POST)\n public String saveContract(@RequestParam(value = \"tNumber\", required = false) String phone, @RequestParam(value = \"customer\", required = false) String sso,\n @RequestParam(value = \"tarif\", required = false) String tarif,\n ModelMap model) {\n\n\n Customer customer = userService.findBySSO(sso);\n Tarif tarif1 = tarifService.findById(Integer.parseInt(tarif));\n Contract contract = new Contract(phone, customer, tarif1);\n// if (result.hasErrors()) {\n// return \"contractRegistration\";\n// }\n customer.setTelNumber(phone);\n userService.updateUser(customer);\n contractService.persist(contract);\n List<Contract> tarifContracts = contractService.findContractByTarif(tarif1);\n tarifContracts.add(contract);\n model.addAttribute(\"tarif\", tarif1);\n model.addAttribute(\"customer\", customer);\n model.addAttribute(\"phone\", customer.getTelNumber());\n model.addAttribute(\"contract\", contract);\n model.addAttribute(\"success\", \"Contract \" + contract.getContractId() + \" \" + \" added successfully\");\n model.addAttribute(\"loggedinuser\", getPrincipal());\n return \"registrationsuccess\";\n }", "@PostMapping(\"/invoices/{invoice_number}/paytransactions\")\r\n public PayTransaction createPayTransaction(@PathVariable long invoice_number, @Valid @RequestBody PayTransaction payTransaction) {\r\n return invoiceRepository.findById(invoice_number).map(invoice -> {\r\n payTransaction.setInvoice(invoice);\r\n // Manually invoice number needs to be set. Otherwise it will be empty.\r\n payTransaction.setInvoice_number(invoice.getInvoice_number());\r\n return payTransactionRepository.save(payTransaction);\r\n }).orElseThrow(() -> new ResourceNotFoundException(\"Invoice ID \" + invoice_number + \" not found\"));\r\n }", "@PreAuthorize(\"hasRole('ROLE_ADMIN')\")\n @GetMapping(\"/payments/{id}\")\n public Payments getPaymentById(@PathVariable(value = \"id\") Integer paymentId) \n {\n return paymentsRepository.findById(paymentId)\n .orElseThrow(() -> new ResourceNotFoundException(\"Technologies\", \"id\", paymentId));\n }", "@RequestMapping(value = \"/newUserRegistration\", method = RequestMethod.POST)\r\npublic ModelAndView newUserRegistration(ModelAndView model,\r\n\t\t@RequestParam(\"userid\") String userid,\r\n\t\t@RequestParam(\"password\") String password,\r\n\t\t@RequestParam(\"repassword\") String repassword,\r\n\t\t@RequestParam(\"firstname\") String firstname,\r\n\t\t@RequestParam(\"lastname\") String lastname,\r\n\t\t@RequestParam(\"address\") String address,\r\n\t\t@RequestParam(\"city\") String city,\r\n\t\t@RequestParam(\"state\") String state,\r\n\t\t@RequestParam(\"pin\") String pin,\r\n\t\t@RequestParam(\"phone\") String phone,\r\n\t\t@RequestParam(\"email\") String email,\r\n\t\t@RequestParam(\"paypalaccount\") String paypalaccount) {\t\t\r\n\t//the values get inserted into the user table if the password and repassword matches\r\n\t if(password.equals(repassword)) {\r\n\t\t User user = new User();\r\n\t\t user.setUserId(userid);\r\n\t\t user.setFirstName(firstname);\r\n\t\t user.setLastName(lastname);\r\n\t\t user.setPassword(password);\r\n\t\t user.setAddress(address);\r\n\t\t user.setCity(city);\r\n\t\t user.setState(state);\r\n\t\t user.setPin(pin);\r\n\t\t user.setPhone(phone);\r\n\t\t user.setEmail(email);\r\n\t\t user.setPaypalAccount(paypalaccount);\r\n\t userService.newUserRegistration(user);\r\n\t model.setViewName(\"registrationSuccess\");\r\n return model;\r\n\t }\r\n\t else\r\n\t {\r\n\t \t //if password and repassword are not matched then it will redirect to registrationFailure page \r\n\t \t model.setViewName(\"registrationFailure\");\r\n\t return model;\r\n\t }\r\n}", "public void addindbpayment(){\n \n \n double tot = calculateTotal();\n Payment pms = new Payment(0,getLoggedcustid(),tot);\n \n System.out.println(\"NI Payment \"+getLoggedcustid()+\" \"+pms.getPaymentid()+\" \"+pms.getTotalprice());\n session = NewHibernateUtil.getSessionFactory().openSession();\n session.beginTransaction();\n session.save(pms);\n try \n {\n session.getTransaction().commit();\n session.close();\n } catch(HibernateException e) {\n session.getTransaction().rollback();\n session.close();\n }\n clear();\n setBookcart(null);\n test.clear();\n itemdb.clear();\n \n \n try{\n FacesContext.getCurrentInstance().getExternalContext().redirect(\"/BookStorePelikSangat/faces/index.xhtml\");\n } \n catch (IOException e) {}\n \n\t}", "@RequestMapping(\"/createService1\")\n\tpublic String addService1(Service1 service1) {\n\t\tservice1Service.insertService1(service1);\n\t\treturn \"redirect:/list-service1\";\n\t}", "@RequestMapping(path=\"/createOrder\", method = RequestMethod.POST, produces = \"application/json\", consumes = \"application/json\")\n\tpublic ResponseEntity<PaymentResponseDTO> createOrder(@RequestBody PaymentRequestDTO btcDTO) { \n\t\tlogger.info(\"Init payment\");\n\t\t\n\t\tSellerBitcoinInfo sbi = bitcoinRepo.findByidMagazine(btcDTO.getSellerId());\n\t\t\n\t\tSystem.out.println(\"ADDRESS \" + sbi.getBitcoinAddress());\n\t\t\n\t\tString token = sbi.getBitcoinAddress();\n\t\t\n\t\tString authToken = \"Bearer \" + token;\n\t\t//trebali bismo da kreiramo transakciju koja ce biti u stanju \"pending\" sve dok korisnik ne plati ili mu ne istekne odredjeno vreme\n\t\t\n\t\t//txRepo.save(tx);\n\t\t//RestTemplate restTemplate = new RestTemplate();\n\t\t\n\t\t//restTemplate.getForEntity(\"https://google.rs\", String.class);\n\t\t//restTemplate.getForEntity(\"https://api.coingate.com/v2/ping\", String.class);\n\t\t\n\t\tHttpHeaders headers = new HttpHeaders();\n\t\theaders.add(\"Authorization\", authToken);\t \n\t\t\n\t\tSystem.out.println(\"Amount: \" + btcDTO.getAmount());\n\t\t\n\t\tCreateOrderRequestDTO order = new CreateOrderRequestDTO(\"1111\", btcDTO.getAmount(), \"BTC\", \"DO_NOT_CONVERT\", \"Title\", \"Description\", \"https://localhost:4200/success\", \"https://localhost:4200/failed\", \"https://localhost:4200/success\", \"token\");\n\t\t\n\t\tResponseEntity<Object> responseEntity = new RestTemplate().exchange(\"https://api-sandbox.coingate.com/v2/orders\", HttpMethod.POST,\n\t\t\t\tnew HttpEntity<Object>(order, headers), Object.class);\n\t\t\n\t\tlogger.info(responseEntity.getBody().toString());\n\t\t\n\t\tObjectMapper mapper = new ObjectMapper();\n\t\tmapper.configure(Feature.ALLOW_UNQUOTED_FIELD_NAMES, true);\n\t\tBitCoinResponseDTO btcResponse = new BitCoinResponseDTO();\n\n\t\tbtcResponse = mapper.convertValue(responseEntity.getBody(), BitCoinResponseDTO.class);\n\t\t\n\t\tString paymentUrl = btcResponse.getPayment_url();\n\t\t\n\t\tlogger.info(paymentUrl);\n\t\t\n\t\tTx tx = createTransaction(btcResponse,sbi);\n\t\ttxRepo.save(tx);\n\t\t\n\t\tTxInfoDto txInfo = new TxInfoDto();\n\t\ttxInfo.setOrderId(btcDTO.getOrderId());\n\t\ttxInfo.setServiceWhoHandlePayment(\"https://localhost:8764/bitCoin\");\n\t\ttxInfo.setPaymentId(tx.getorder_id()); //ovde se nalazi orderId koji je i na coingate-u\n\t\t\n\t\tRestTemplate restTemplate = new RestTemplate();\n\t\tResponseEntity<TxInfoDto> r = restTemplate.postForEntity(\"https://localhost:8111/request/updateTxAfterPaymentInit\", txInfo, TxInfoDto.class);\n\t\t\n\t\t//BitCoinResponseDTO response = parser.parseList(responseEntity.getBody().toString());\n\t\t\n\t\t//BitCoinResponseDTO responseDTO = responseEntity.;\n\t\t\n\t\t//String pageToRedirec = responseDTO.getPayment_url();\n\t\t\n\t\t//restTemplate.exchange\n\t\t//ResponseEntity<String> response = restTemplate.postForEntity(\"https://api-sandbox.coingate.com/v2/orders\", btcDTO, String.class);\n\t\t\n\t\tPaymentResponseDTO responseDTO = new PaymentResponseDTO();\n\t\tresponseDTO.setPaymentUrl(paymentUrl);\n\t\tresponseDTO.setPaymentId(1l);\n\n\t\tSTATIC_ID = btcResponse.getId();\n\t\tSTATIC_TOKEN = authToken;\n\t\tIS_CREATE = true;\n\t\t\n\t\t//scheduleFixedDelayTask();\n\t\t//scheduleFixedDelayTask(btcResponse.getId(), authToken);\n\t\t\n\t\treturn new ResponseEntity<PaymentResponseDTO>(responseDTO,HttpStatus.OK);\n\t}", "private PageAction getNewPaymentAction() {\n return new PageAction() {\n @Override\n public void run() { \n Parameters params = new Parameters();\n BasicMember member = data.getTransfer().getBasicMember();\n // Set if there is a member payment or system payment\n if(member != null) { \n params.set(ParameterKey.ID, member.getId()); \n } else {\n params.set(ParameterKey.IS_SYSTEM_ACCOUNT, true);\n }\n Navigation.get().go(PageAnchor.MAKE_PAYMENT, params);\n }\n @Override\n public String getLabel() { \n return messages.newPayment();\n } \n };\n }", "@GetMapping(\"/payment/{id}\")\n\tpublic ResponseEntity<Payment> viewPayment(@PathVariable(\"id\") int paymentId) {\n\t\tlogger.info(\"Viewing Payment\");\n\t\tif (payService.viewPayment(paymentId) == null) {\n\t\t\tthrow new PaymentNotFoundException(\"Payment not found with given id: \" + paymentId);\n\t\t}\n\t\tPayment payment = payService.viewPayment(paymentId);\n\t\treturn ResponseEntity.ok().body(payment);\n\t}", "@RequestMapping(value = \"/order\", method = RequestMethod.POST)\n @ResponseStatus(value = HttpStatus.CREATED)\n public OrderViewModel addOrder(@RequestBody @Valid OrderViewModel orderViewModel) {\n return serviceLayer.addOrder(orderViewModel);\n }", "@RequestMapping(value = \"/AgregarPersona\", method = RequestMethod.POST)\n\tpublic ModelAndView guardarPersona(@ModelAttribute Persona persona) {\n\t\t//@ModelAttribute indica que se van a trabajar con los atributos del modelo\n\t\tpersonaService.crearPersona(persona);\n\t\treturn new ModelAndView(\"redirect:/\");\n\t}", "@PostMapping(\"/add\")\n public ModelAndView addSocio(Persona persona) {\n personaService.addPersona(persona);\n return new ModelAndView(\"redirect:/admin/socios\");\n }", "@RequestMapping(\"/\")\n public String order(){\n return \"redirect:/order/list\";\n }", "@GetMapping(\"/payments/{id}\")\n public ResponseEntity<Payment> getPayment(@PathVariable Long id) {\n log.debug(\"REST request to get Payment : {}\", id);\n Optional<Payment> payment = paymentRepository.findById(id);\n return ResponseUtil.wrapOrNotFound(payment);\n }", "@PostMapping(\"/addcustomer\")\n\tpublic String save(@ModelAttribute(\"customer\") Customer theCustomer) {\n\t\tcustomerServices.save(theCustomer);\n\t\treturn \"redirect:/dairymilk/customers\";\n\t}", "@RequestMapping(value = \"add\", method = RequestMethod.GET)\r\n\tpublic ModelAndView add()\r\n\t{\r\n\t\treturn new ModelAndView(\"add\", \"person\", new Person());\r\n\t}", "@RequestMapping(path=\"/initPaymentGet\", method = RequestMethod.GET)//, produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE)\n\tpublic ResponseEntity<Object> test() {\n\t\tlogger.info(\"Init payment\");\n\t\t//System.out.println(\"DTO: \" + btcDTO.getPrice_currency());\n\t\tString pom = \"\";\n\t\tRestTemplate restTemplate = new RestTemplate();\n\t\t\n\t\tHttpHeaders headers = new HttpHeaders();\n\t\theaders.add(\"Authorization\", \"ab7fzPdN49-xBVoY_LdSifCZiVrqCbdcfjWdweJS\");\n\t\tResponseEntity<String> responseEntity = new RestTemplate().exchange(CREATE_ORDER_API, HttpMethod.GET,\n\t\t\t\tnew HttpEntity<String>(pom, headers), String.class);\n\n\t\t//restTemplate.getForEntity(\"https://google.rs\", String.class);\n\t\t//ResponseEntity<String> response = restTemplate.getForEntity(\"https://api-sandbox.coingate.com/v2/orders\", String.class);\n\t\t//ResponseEntity<String> response = restTemplate.postForEntity(\"https://api.coingate.com/v2/orders\", btcDTO, String.class);\n\t\t\n\t\treturn new ResponseEntity<Object>(responseEntity,HttpStatus.OK);\n\t}", "@PostMapping(\"/payment_info/{userId}\")\n\t public payment_info createPaymentInfo(@PathVariable(value = \"userId\") String userId, \n\t \t\t@Valid @RequestBody payment_info paymentInfo) {\n\t \t\n\t \tpaymentInfo.setUserId(userId);\n\t \t//paymentInfo.setCardNumber(convert(paymentInfo.getCardNumber()));\n\t return paymentInfoRepository.save(paymentInfo);\n\t }", "@PostMapping(\"/createAccount\")\n public ModelAndView createNewAccount(AccountCreateDTO createDTO){\n ModelAndView modelAndView = new ModelAndView();\n\n accountService.createAccount(createDTO);\n modelAndView.addObject(\"successMessage\", \"Account has been created\");\n modelAndView.setViewName(\"accountPage\");\n\n return modelAndView;\n }", "@RequestMapping(\"/createOrder\")\n public Order createOrder(@RequestParam(\"user_id\") int user_id){\n System.out.println(\"createOrder\");\n Order order = orderService.createOrder(user_id);\n\n return order;\n }", "@RequestMapping(\"\")\n\tpublic String redirectController()\n\t{\n\t\treturn \"redirect:financial/supplier/register\";\n\t}", "@RequestMapping(value = \"/\", method = RequestMethod.POST)\n public ResponseEntity create(@RequestBody Order order)\n {\n throw new NotImplementedException();\n }", "public Payment saveNewPayment(PaymentFormInDTO dto){\n User user = userService.findDummyTestUser();\n Payment payment = new Payment();\n payment.setUser(user);\n PaymentForm mappedForm = beanMapper.map(dto, PaymentForm.class);\n PaymentForm savedForm = paymentFormRepository.save(mappedForm);\n payment.setForm(savedForm);\n payment.setCreationDate(LocalDateTime.now());\n if (dto.isAddToBasket()){\n payment.setStatus(PaymentStatus.CREATED);\n } else {\n payment.setStatus(PaymentStatus.COMPLETED);\n payment.setCompletedDate(LocalDateTime.now());\n }\n return paymentRepository.save(payment);\n }", "@PostMapping(value=\"/loans\")\n public ResponseEntity<?> addLoan(@RequestBody LoanApplicationDTO loanApplicationDTO, Authentication authentication) {\n Optional<Client> clientOptional = clientService.getClientEmail(authentication.getName());\n if(!clientOptional.isPresent()) {\n return new ResponseEntity<>(\"El cliente no esta registrado\", HttpStatus.UNAUTHORIZED);\n }\n Client client = clientOptional.get();\n\n Loan loan = loanService.getLoan(loanApplicationDTO.getId());\n Account account = accountService.getAccByNumber(loanApplicationDTO.getAccountDestiny());\n\n if(loanApplicationDTO.getAmount() == 0 || loanApplicationDTO.getPayments() == 0){\n return new ResponseEntity<>(\"Ingreso un valor incorrecto\", HttpStatus.FORBIDDEN);\n }\n if(loan == null){\n return new ResponseEntity<>(\"Ese prestamo no existe\", HttpStatus.FORBIDDEN);\n }\n if(loan.getMaxAmount() < loanApplicationDTO.getAmount()){\n return new ResponseEntity<>(\"El monto excede el máximo\", HttpStatus.FORBIDDEN);\n }\n if(loan.getPayments().contains(loanApplicationDTO.getPayments()) == false){\n return new ResponseEntity<>(\"La cantidad de cuotas no es válida\", HttpStatus.FORBIDDEN);\n }\n if(client.getAccounts().contains(loanApplicationDTO.getAccountDestiny())){\n return new ResponseEntity<>(\"La cuenta es incorrecta\", HttpStatus.FORBIDDEN);\n }\n\n ClientLoan clientLoan = new ClientLoan(loanApplicationDTO.getAmount() + (loanApplicationDTO.getAmount() * loan.getFee()), loanApplicationDTO.getPayments(), client, loan);\n clientLoanRepository.save(clientLoan);\n transactionService.saveTransaction(new Transaction(loanApplicationDTO.getAmount(),loan.getName() + \" \" + \"loan approved\", LocalDateTime.now(), TransactionType.CREDIT, account, account.getBalance() + loanApplicationDTO.getAmount()));\n account.setBalance(account.getBalance() + loanApplicationDTO.getAmount());\n accountService.saveAcc(account);\n return new ResponseEntity<>(\"Created\", HttpStatus.CREATED);\n }", "@GetMapping(\"/payment\")\n\tpublic ResponseEntity<List<Payment>> viewAllPayments() {\n\t\tlogger.info(\"View all Payments\");\n\t\treturn ResponseEntity.ok().body(payService.viewAllPayments());\n\t}", "@PostMapping(\"/add\")\n public EmptyResponse create(@Valid @RequestBody DiscountAddRequest request){\n discountAddService.createNewDiscount(request);\n\n return new EmptyResponse();\n }", "@Override\n\tpublic String addPayment(PaymentRequest paymentRequest) {\n\t\treturn \"Courier Booked successfully\";\n\t}", "@RequestMapping(\"/order/{cartId}\")\r\n public String createOrder(@PathVariable(\"cartId\") int cartId) {\r\n \tSystem.out.println(\"in order\");\r\n \tUserOrder userOrder = new UserOrder();\r\n Cart cart=cartService.getCartById(cartId);\r\n userOrder.setCart(cart);\r\n\r\n UsersDetail usersDetail = cart.getUsersDetail();\r\n userOrder.setUsersDetail(usersDetail);\r\n userOrder.setBillingAddress(usersDetail.getBillingAddress());\r\n //userOrder.setShippingAddress(usersDetail.getShippingAddress());\r\n\r\n orderService.addOrder(userOrder);\r\n\r\n return \"redirect:/checkout?cartId=\"+cartId;\r\n }", "@RequestMapping(value = \"/addProduct\", method = RequestMethod.POST)\r\npublic ModelAndView addProduct(ModelAndView model,\r\n\t\t@RequestParam(\"productid\") String productid,\r\n\t\t@RequestParam(\"sellerid\") String sellerid,\r\n\t\t@RequestParam(\"categoryid\") String categoryid,\r\n\t\t@RequestParam(\"productname\") String productname,\r\n\t\t@RequestParam(\"shortdescription\") String shortdescription,\r\n\t\t@RequestParam(\"detailedescription\") String detailedescription,\r\n\t\t@RequestParam(\"startingprice\") String startingprice,\r\n\t\t@RequestParam(\"bidstartdate\") String bidstartdate,\r\n\t\t@RequestParam(\"bidenddate\") String bidenddate) {\r\n\t Product product = new Product();\r\n\t product.setProductId(productid);\r\n\t product.setSellerId(sellerid);\r\n\t product.setCategoryId(categoryid);\r\n\t product.setProductName(productname);\r\n\t product.setShortDescription(shortdescription);\r\n\t product.setDetailedDescription(detailedescription);\r\n\t product.setStartingPrice(startingprice);\r\n\t product.setBidStartDate(bidstartdate);\r\n\t product.setBidEndDate(bidenddate);\r\n\t userService.addProduct(product);\r\n\t model.setViewName(\"productSuccess\");\r\n return model;\r\n\t \r\n}", "public boolean addPayment(Payment a) {\n\t\tSession session=sessionFactory.getCurrentSession();\r\n\t\tsession.save(a);\r\n\t\treturn true;\r\n\t}", "@PostMapping(\"/saveCustomer\")\r\n\tpublic String saveCustomer(@ModelAttribute(\"customer\") Customer theCustomer){\n\t\tcustomerService.saveCustomer(theCustomer);\r\n\t\t\r\n\t\treturn \"redirect:/customer/list\";\r\n\t}", "@RequestMapping(value=\"/addEmployeeSubmit\", method=RequestMethod.POST)\n /* Add submitted new employee details to database, and then redirect to listEmployees */\n public String addEmployeeSubmit(Employee employee) {\n employeeservice.saveEmployee(employee);\n\n return \"redirect:/employee/listEmployees\";\n }", "@Override\n public ResponseEntity<PaymentInfo> purchase(@RequestBody PaymentInfo request) {\n return new ResponseEntity<PaymentInfo>(request, HttpStatus.OK);\n }", "@Override\r\n\tpublic void makePayment(Payment p, int amount) {\n\t\t\r\n\t}", "@RequestMapping(value = \"/save\", method = RequestMethod.POST)\n public String saveNewInvoice(@Valid @ModelAttribute Invoice invoice) {\n invoice.setCreatedUser(annonsePersonController.getLoggedInUser());\n invoice.setLastEditedUser(annonsePersonController.getLoggedInUser());\n invoice.setCreatedDate(Calendar.getInstance());\n invoice.setLastEditedDate(Calendar.getInstance());\n invoiceService.saveAndFlush(invoice);\n for(Sale sale: invoice.getSales()){\n salesService.saveAndFlush(sale);\n }\n return \"redirect:/annonseweb/invoice/\" + invoice.getId();\n }", "@PostMapping(\"/addNewEmployee/save\")\n public String saveEmployee(@ModelAttribute(\"employee\") Employee employee){\n employeeService.saveEmployee(employee);\n return \"redirect:/\";\n }", "@RequestMapping(value = \"/buy/create.do\", method = RequestMethod.POST)\r\n public ModelAndView create(HttpServletRequest request, BuyVO buyVO) {\n ModelAndView mav = new ModelAndView();\r\n mav.setViewName(\"/review/message\"); // webapp/buy/message.jsp\r\n \r\n ArrayList<String> msgs = new ArrayList<String>();\r\n ArrayList<String> links = new ArrayList<String>();\r\n \r\n String root = request.getContextPath();\r\n if (buyProc.create(buyVO) == 1) {\r\n\r\n // 수정된 부분\r\n msgs.add(\"<i class='fa fa-normal fa-check-circle' style='font-size:5em;'></i>\");\r\n msgs.add(\"게시물을 등록했습니다.\");\r\n links.add(\"<a class='button' href='./create.do?'>계속 등록</a>\");\r\n\r\n } else {\r\n // 수정된 부분\r\n msgs.add(\"<i class='fa fa-normal fa-exclamation-circle' style='font-size:5em;'></i>\");\r\n msgs.add(\"게시물 등록에 실패했습니다.\");\r\n msgs.add(\"다시한번 시도해주세요.\");\r\n links.add(\"<a class='button' href='history.back()'>다시 시도</a>\");\r\n\r\n }\r\n // 수정된 부분\r\n links.add(\"<a class='button' href='./list.do?'>목록</a>\");\r\n links.add(\"<a class='button' href='\" + root + \"/home.do'>홈페이지</a>\");\r\n\r\n mav.addObject(\"msgs\", msgs);\r\n mav.addObject(\"links\", links);\r\n \r\n return mav;\r\n }", "@Override\n\tpublic void pay() {\n\t\tcreditCard.makePayment();\n\n\t}", "@RequestMapping(method = RequestMethod.POST)\n @ResponseStatus(HttpStatus.CREATED)\n public void create(@RequestBody Penalty penalty, HttpServletResponse response) throws Exception {\n Penalty p = rep.save(penalty);\n\n URI location = ServletUriComponentsBuilder\n .fromCurrentRequest().path(\"/{id}\")\n .buildAndExpand(p.getId()).toUri();\n\n response.setHeader(\"location\", location.toString());\n throw new TechnicalException(\"test\");\n }", "public Optional<Payment> savePayment(Payment payment);", "@RequestMapping(\"/addnewproduct\")//, method=RequestMethod.POST)\n\tpublic String addProduct()\n\t{\n\t\treturn \"addproduct\";\n\t}", "void pay(Payment payment) {\n\n\t}", "@PostMapping(\"/{id}/checkout\")\n public Sale checkoutCustomer(@PathVariable long id){\n Customer b = customerRepository.findById(id);\n ShoppingCart sc = b.getShoppingCart();\n Sale s = sc.checkout();\n b.addSale(s);\n customerRepository.save(b);\n return s;\n }", "@RequestMapping(method = RequestMethod.POST)\n\tpublic ResponseEntity<PaymentInformation> createPaymentInformation(\n\t\t\t@RequestBody PaymentInformation paymentInformation) {\n\n\t\tif (paymentInformationService\n\t\t\t\t.isPaymentInformationExist(paymentInformation.getId())) {\n\t\t\treturn new ResponseEntity<PaymentInformation>(HttpStatus.CONFLICT);\n\t\t}\n\n\t\tPaymentInformation createdPaymentInformation = paymentInformationService\n\t\t\t\t.createPaymentInformation(paymentInformation);\n\n\t\treturn new ResponseEntity<PaymentInformation>(\n\t\t\t\tcreatedPaymentInformation, HttpStatus.CREATED);\n\t}", "@RequestMapping(method=RequestMethod.POST)\n\tpublic ResponseEntity<Void> insert(@Valid @RequestBody ClienteNewDTO objDTO){\n\t\t\n\t\tCliente obj = service.fromDTO(objDTO);\n\t\tobj = service.insert(obj);\n\t\t\n\t\t//abaixo uma boa pratica para retornar a url do novo objeto quandro cria-lo\n\t\tURI uri = ServletUriComponentsBuilder.fromCurrentRequest()\n\t\t\t\t\t.path(\"/{id}\").buildAndExpand(obj.getId()).toUri(); //o from currente request vai pegar a requisicao atual, e logo depois a gente add o /id\n\t\t\n\t\treturn ResponseEntity.created(uri).build();\n\t}", "public Payment createPayment(PaymentEvent paymentEvt, String idempKey) {\n\n\t\tLOGGER.info(\"Procesando pago para el usuario -> {}, currency -> {}, amount -> {}, idempkey -> {} \", paymentEvt.getUser_id(), paymentEvt.getCurrency(), paymentEvt.getAmount(), idempKey);\n\n\t\t//check paramas + unicidad del pago\n\t\tcheckPaymentEvt(paymentEvt, idempKey);\n\n\t\t//convierte a la moneda default el monto recibido \n\t\tDouble originalAmount = paymentEvt.getAmount();\n\t\tDouble amountInCurrencyDefault = currencyService.convertToCurrencyDefault(paymentEvt.getCurrency(), originalAmount);\n\n\t\t//se obtiene los cargos con deuda\n\t\tList<ChargeTO> pendingCharges = chargeService.getPendingCharges(paymentEvt.getUser_id());\n\t\tDouble totalDebt = pendingCharges.stream().map(c -> c.getAmountPending()).reduce(0d, (v1,v2) -> v1+v2 ).doubleValue();\n\t\t\n\t\t//monto del pago <= deuda total\n\t\tcheckDebtTotal(totalDebt, amountInCurrencyDefault);\n\t\n\t\t//se agregan los cargos pagados a la lista de cargos del pago\n\t\tPayment payment = new Payment(paymentEvt, amountInCurrencyDefault, idempKey);\n\t\tDouble pagoAmount = payment.getAmount();\n\t\tfor(ChargeTO chargeTO : pendingCharges) {\n\t\t\tif(pagoAmount > 0) {\n\t\t\t\tDouble amountToUSe = Math.min(pagoAmount, chargeTO.getAmountPending());\n\t\t\t\tpagoAmount = pagoAmount - amountToUSe;\n\t\t\t\tpayment.getCharges().add(new Charge(chargeTO, amountToUSe));\n\t\t\t}\n\t\t}\n\n\t\t//se graba el pago\n\t\tPayment paymentInserted = paymentRepo.insert(payment);\n\n\t\t//se encola el pago en la cola de cargos\n\t\tqueueChargeService.enqueuePayment(paymentInserted);\n\n\t\treturn paymentInserted;\n\t}", "@Override\n\tpublic boolean addPayment(Payment payment) throws Exception {\n\t\ttry {\n\t\t\t\n\t\t\tint ret = registerMapper.addPayment(payment) ;\n\t\t\tif(ret >0){\n\t\t\t\tStudent student = new Student() ;\n\t\t\t\tstudent.setApp_info_code(payment.getApp_info_code()) ;\n\t\t\t\tstudent.setCode(payment.getStudent_code()) ;\n\t\t\t\tstudent.setPaid_amount(payment.getAmount()) ;\n\t\t\t\tret = registerMapper.updateRegInfo(student) ;\n\t\t\t\tif(ret<1){\n\t\t\t\t\tthrow new Exception(\"更新总金额失败\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\treturn true ;\n\t\t\t}else{\n\t\t\t\tthrow new Exception(\"付费写入失败\") ;\n\t\t\t}\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\t\n\t\t\tthrow new RunTimeException(e.getMessage()) ;\n\t\t}\n\t\t\n\t}", "public IBankTransfert payment();", "@ResponseBody\n @RequestMapping(value = \"/pay_notify.html\")\n public Object payCallback(AliPayBackModel model,HttpServletRequest request){\n if(this.validateSign(request)){\n this.payRecordService.pay(model);\n return \"success\";\n }\n return \"fail\";\n }", "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n// response.setContentType(\"application/json\");\n //method level variable\n PrintWriter pw=response.getWriter();\n Connection con = null;\n PreparedStatement pst = null;\n ResultSet rs = null;\n String orderId=request.getParameter(\"orderId\");\n double paidAmount=0.0;\n String transactionStatus=\"success\";\n int a=0;\n \n\n\n//receive OrderId from the angular controller\n\n //fetching oder details throug orderId\n try {\n con=new connection().dbConnection();\n \n if (con != null&&orderId!=null) {\n pst = con.prepareStatement(\"select total_amt from book_order where order_id=? \");\n pst.setString(1, orderId);//order id entered\n rs = pst.executeQuery();\n if (rs.next()) {\n paidAmount=rs.getDouble(\"total_amt\");\n\n\n \n } else {\n\n }\n\n }\n } catch (SQLException e) {\n e.printStackTrace();\n try{con.close();\n pst.close();\n rs.close();}\n catch (SQLException ep) {\n ep.printStackTrace();\n }\n \n }\n finally{\n \n try{con.close();\n pst.close();\n rs.close();}\n catch (SQLException ep) {\n ep.printStackTrace();\n }\n \n }\n \n\n \n \n \n \n \n //creating transaction\n \n try {\n con=new connection().dbConnection();\n \n if (con != null) {\n pst = con.prepareStatement(\"insert into payment values(transaction_id.nextval,?,?,(select sysdate from dual),?) \");\n pst.setString(1, orderId);//order id entered\n pst.setString(2,transactionStatus);\n pst.setDouble(3,paidAmount);\n a = pst.executeUpdate();\n if (a!=0) {\n System.out.println(\"transaction done\");\n\n\n \n } else {\n\n }\n\n }\n } catch (SQLException e) {\n e.printStackTrace();\n try{con.close();\n pst.close();\n rs.close();}\n catch (SQLException ep) {\n ep.printStackTrace();\n }\n \n }\n finally{\n \n try{con.close();\n pst.close();\n rs.close();}\n catch (SQLException ep) {\n ep.printStackTrace();\n }\n \n }\n \n \n \n \n \n }", "@GetMapping(\"/customers/register\")\n @ResponseStatus(HttpStatus.CREATED)\n public String Add(@ModelAttribute Customer customer, Model model) {\n model.addAttribute(\"customer\", customer);\n\n return \"bank/register\";\n }", "@GetMapping(Mappings.ADD_PRODUCT)\n public ModelAndView add_product(){\n Product product = new Product();\n ModelAndView mv = new ModelAndView(ViewNames.ADD_PRODUCT);\n mv.addObject(\"product\", product);\n return mv;\n }", "@PostMapping(value = \"add\")\n public String add(FinanceDetail detail, HttpServletRequest request) {\n detail.setTotalMoney(NormalTools.numberPoint(detail.getPrice()*detail.getAmount(), 2));\n\n String targetDay = detail.getTargetDay();\n detail.setTargetYear(buildYear(targetDay));\n detail.setTargetMonth(buildMonth(targetDay));\n\n detail.setCreateDay(NormalTools.curDate(\"yyyy-MM-dd\"));\n detail.setCreateLong(System.currentTimeMillis());\n detail.setCreateTime(NormalTools.curDate(\"yyyy-MM-dd HH:mm:ss\"));\n detail.setStepFlag(\"0\"); //刚刚添加,需要提交到上传附件的页面\n financeDetailDao.save(detail);\n verifyRecordTools.save(FinanceVerifyRecord.TYPE_NOTHING, \"报账申请\", \"报账申请\", detail, financePersonalDao.findByOpenid(detail.getUserOpenid()));\n\n return \"redirect:/wx/finance/show?id=\"+detail.getId();\n }", "@Override\n\tpublic ResponseEntity<?> post(@RequestBody Deposit data) {\n\t\tdata.setCategory(service.category.get(data.getCategory_id()).orElse(null));\n\t\tdata.setBankAccount(service.bank.get(data.getBank_account_id()).orElse(null));\n\t\treturn ResponseEntity.ok(service.deposit.post(data));\n\t}", "@GetMapping(\"/payments/{id}\")\n @Timed\n public ResponseEntity<PaymentDTO> getPayment(@PathVariable Long id) {\n log.debug(\"REST request to get Payment : {}\", id);\n Optional<PaymentDTO> paymentDTO = paymentQueryService.findOne(id);\n return ResponseUtil.wrapOrNotFound(paymentDTO);\n }", "@PostMapping(\"/create\")\n public String createProduct(@Validated @ModelAttribute Product product, BindingResult bindingResult, Model model) {\n if (bindingResult.hasErrors()) {\n return \"create\";\n } else {\n Date date = new Date();\n product.setDateTime(date);\n\n productService.save(product);\n return \"redirect:/list\";\n\n }\n\n }", "@RequestMapping(method = RequestMethod.GET)\n public PaymentDTO getPayment(@PathVariable(value = \"paymentId\") String paymentId){\n Payment payment = this.readPaymentService.execute(paymentId);\n PaymentDTO paymentDTO = modelMapper.map(payment, PaymentDTO.class);\n BeanUtils.copyProperties(paymentDTO, payment);\n return paymentDTO;\n }", "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n String err = \" \";\n\n String applicationNumOrStudentID = request.getParameter(\"paymentApplicationNumOrStudentID\");\n String paymentAmmount = request.getParameter(\"paymentAmount\");\n String paymentType = request.getParameter(\"paymentType\");\n String paymentBank = request.getParameter(\"paymentBank\");\n String examID = request.getParameter(\"examID\");\n Date paymentDate = Date.valueOf(request.getParameter(\"paymentDate\"));\n\n HttpSession httpSession = request.getSession(true);\n String auther = (String) httpSession.getAttribute(\"id\");\n\n Payment payment = new Payment();\n payment.setApplicationNumOrStudentID(applicationNumOrStudentID);\n payment.setPaymentAmmount(paymentAmmount);\n payment.setPaymentType(paymentType);\n payment.setPaymentBank(paymentBank);\n payment.setExamID(examID);\n payment.setPaymentDate(paymentDate);\n payment.setAuthor(auther);\n\n SessionFactory sessionFactry = new Configuration().configure().buildSessionFactory();\n Session session = sessionFactry.openSession();\n Transaction tx = null;\n\n try {\n tx = session.beginTransaction();\n session.save(payment);\n if (paymentType.equalsIgnoreCase(\"Application_Payment\")) {\n Applicant applicant = new Applicant();\n applicant = (Applicant) session.get(Applicant.class, applicationNumOrStudentID);\n applicant.setDoPayment(1);\n session.update(applicant);\n \n\n }\n session.getTransaction().commit();\n response.sendRedirect(\"user/coordinator/coordinate.jsp\");\n } catch (HibernateException hex) {\n System.out.println(\"--->\" + hex);\n tx.rollback();\n response.sendRedirect(\"user/coordinator/coordinate.jsp?msg=error\");\n } catch (Exception e) {\n System.out.println(\"--->\" + e);\n tx.rollback();\n response.sendRedirect(\"user/coordinator/coordinate.jsp?msg=error\");\n } finally {\n session.close();\n }\n\n }", "@Test\n public void shouldCreateAPaymentViaPost() throws Exception {\n ResponseEntity<String> response = postTestPaymentAndGetResponse();\n\n //then: the status should be 'created'\n assertEquals(HttpStatus.CREATED, response.getStatusCode());\n\n //and: the location header should contain a link to the newly created resource that includes its id:\n String locationHeader = getLocationHeader(response);\n assertTrue(locationHeader.contains(\"/payments/\"));\n }", "@RequestMapping(path=\"/insertarProducto\",method=RequestMethod.POST)\r\n\tpublic String actualizaProduct(@ModelAttribute(\"producto\") Producto product,Model model) {\n\t\tproductoDAO.updateProducto(product);\r\n\t\t//retornamos lista de productos\r\n\t return \"redirect:/producto\";\r\n\t}", "@RequestMapping(value = \"/createReservation.htm\", method = RequestMethod.POST)\n\tpublic ModelAndView createReservation(HttpServletRequest request) {\n\t\tModelAndView modelAndView = new ModelAndView();\t\n\t\t\n\t\tif(request.getSession().getAttribute(\"userId\") != null){\n\t\t\n\t\t\t\n\t\t\tBank bank = bankDao.retrieveBank(Integer.parseInt(request.getParameter(\"bankId\")));\t\t\n\t\t\tUser user = userDao.retrieveUser(Integer.parseInt(request.getParameter(\"id\")));\n\t\t\t\n\t\t\t\n\t\t\tNotes notes5 = noteskDao.retrieveNotes(500);\n\t\t\tNotes notes10 = noteskDao.retrieveNotes(1000);\n\t\t\t\n\t\t\tint quantity5 = Integer.parseInt(request.getParameter(\"five\"));\n\t\t\tint quantity10 = Integer.parseInt(request.getParameter(\"thousand\"));\n\t\t\t\n\t\t\t\n\t\t\tReservationDetailsId reservationDetailsId5 = new ReservationDetailsId();\n\t\t\treservationDetailsId5.setNotesId(notes5.getId());\n\t\t\treservationDetailsId5.setQuantity(quantity5);\n\t\t\t\n\t\t\tReservationDetailsId reservationDetailsId10 = new ReservationDetailsId();\n\t\t\treservationDetailsId10.setNotesId(notes10.getId());\n\t\t\treservationDetailsId10.setQuantity(quantity10);\n\t\t\t\n\t\t\t\n\t\t\tReservationDetails reservationDetails5= new ReservationDetails();\n\t\t\treservationDetails5.setId(reservationDetailsId5);\n\t\t\t\n\t\t\t\n\t\t\tReservationDetails reservationDetails10= new ReservationDetails();\n\t\t\treservationDetails10.setId(reservationDetailsId10);\n\t\t\t\n\t\t\t\n\t\t\tReservation reservation = new Reservation();\t\n\t\t\treservation.setBank(bank);\n\t\t\treservation.setDate(request.getParameter(\"date\"));\n\t\t\treservation.setTimeslot(request.getParameter(\"timeslot\"));\n\t\t\treservation.setUser(user);\n\t\t\treservation.setStatus(\"incomplete\");\n\t\t\treservation.getReservationDetailses().add(reservationDetails5);\n\t\t\treservation.getReservationDetailses().add(reservationDetails10);\n\t\t\t\n\t\t\tuser.getResevations().add(reservation);\n\t\t\tuserDao.createUser(user);\n\t\t\t\n\t\t\t\n\t\t\treservationDAO.createReservation(reservation);\n\t\t\treservationDetails5.setResevation(reservation);\n\t\t\treservationDetails10.setResevation(reservation);\n\t\t\t\n\t\t\treservationDetailsId10.setResevationId(reservation.getId());\n\t\t\treservationDetailsId5.setResevationId(reservation.getId());\n\t\t\t\n\t\t\treservationDetailsDAO.createReservationDetails(reservationDetails5);\n\t\t\treservationDetailsDAO.createReservationDetails(reservationDetails10);\n\t\t\t\n\t\t\tmodelAndView.setViewName(\"result_reservation\");\n\t\t\t\n\t\t}\n\t\telse{\n\t\t\tmodelAndView.setViewName(\"login\");\n\t\t\t\n\t\t\t\n\t\t}\t\n\t\t\n\t\treturn modelAndView;\n\t}", "@RequestMapping(value = \"/customer-addres\",\n method = RequestMethod.POST,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<CustomerAddres> createCustomerAddres(@Valid @RequestBody CustomerAddres customerAddres) throws URISyntaxException {\n log.debug(\"REST request to save CustomerAddres : {}\", customerAddres);\n if (customerAddres.getId() != null) {\n return ResponseEntity.badRequest().headers(HeaderUtil.createFailureAlert(\"customerAddres\", \"idexists\", \"A new customerAddres cannot already have an ID\")).body(null);\n }\n CustomerAddres result = customerAddresRepository.save(customerAddres);\n return ResponseEntity.created(new URI(\"/api/customer-addres/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(\"customerAddres\", result.getId().toString()))\n .body(result);\n }", "@RequestMapping(value = \"/apply\", method = RequestMethod.POST)\n @Transactional\n public Applicant postLoan(@RequestBody CreateLoanRequest request){\n\n\n Applicant applicant= new Applicant();\n\n applicant.setSSNNumber(request.getApplicantSSN());\n applicant.setFirstName(request.getApplicantfirstName());\n applicant.setMiddleName(request.getApplicantmiddleName());\n applicant.setLastName(request.getApplicantlastName());\n applicant.setDateofBirth(Date.valueOf(request.getApplicantdob()));\n applicant.setDateSubmitted(Date.valueOf(LocalDate.now()));\n applicant.setMaritalStatus(request.getApplicantmaritalStatus());\n applicant.setAddressLine1(request.getApplicantaddrLine1());\n applicant.setAddressLine2(request.getApplicantaddrLine2());\n applicant.setCity(request.getApplicantcity());\n applicant.setState(request.getApplicantstate());\n applicant.setPostalCode(request.getApplicantpostalCode());\n applicant.setDescription(request.getApplicantdescription());\n applicant.setLoanAmount(request.getApplicantloanAmount());\n applicant.setLoanPurpose(request.getApplicantloanPurpose());\n applicant.setAnnualSalary(request.getApplicantAnnualSalary());\n applicant.setEmployername(request.getApplicantEmployerName());\n applicant.setEmployerAddress1(request.getApplicantEmployerAddr1());\n applicant.setEmployerAddress2(request.getApplicantEmployerAddr2());\n applicant.setEmployerCity(request.getApplicantEmployerCity());\n applicant.setEmployerState(request.getApplicantEmployerState());\n applicant.setEmployerPostalCode(request.getApplicantEmployerPostalCode());\n applicant.setDesignation(request.getApplicantdesignation());\n applicant.setHomePhone(request.getApplicanthomePhone());\n applicant.setOfficePhone(request.getApplicantofficePhone());\n applicant.setMobile(request.getApplicantmobile());\n applicant.setEmailAddress(request.getApplicantemail());\n applicant.setWorkExperienceMonth(request.getApplicantWorkExperienceMonth());\n applicant.setWorkExperienceYears(request.getApplicantWorkExperienceYears());\n\n applicant.setApplicationStatus(\"In Progress\");\n applicant.setScore(\"-\");\n applicant.setDeclineReason(\"In Progress\");\n\n Applicant applicant1=applicantService.createApplicant(applicant);\n\n boolean valid=TRUE;\n\n LocalDate l = applicant.getDateofBirth().toLocalDate(); //specify year, month, date directly\n LocalDate now = LocalDate.now(); //gets localDate Period\n Period diff = Period.between(l, now); //difference between the dates is calculated\n\n if(applicant.getAnnualSalary()<10000){\n valid=FALSE;\n applicant.setDeclineReason(\"Declined at FrontEnd - Salary is less than $10000\");\n }\n else if(diff.getYears()<18||diff.getYears()>65) {\n valid=FALSE;\n applicant.setDeclineReason(\"Declined at FrontEnd - Age not Age Group in 18-65\");\n }\n else if(applicant.getWorkExperienceYears()<1&&applicant.getWorkExperienceMonth()<6){\n valid=FALSE;\n applicant.setDeclineReason(\"Declined at FrontEnd - Work Experience is less than 6 months\");\n }\n\n int score=0;\n\n if(valid){\n score=applicantService.calculateScore(applicant);\n applicant.setScore(String.valueOf(score));\n if(score>10){ //threshold is 10 randomly, to be calculated by prasanna\n applicant.setApplicationStatus(\"Approved\");\n applicant.setDeclineReason(\"-\");\n }\n else{\n applicant.setApplicationStatus(\"Declined\");\n\n applicant.setDeclineReason(\" \"); //prassanna take\n }\n }\n else{\n applicant.setScore(\"0\");\n applicant.setApplicationStatus(\"Declined\");\n applicant.setDeclineReason(\"Validations Failed\");\n }\n\n applicantService.updateApplicant(applicant1);\n\n return null;\n }", "@RequestMapping(value = \"/AgregarPersona\", method = RequestMethod.GET)\n\tpublic ModelAndView AgregarPersona() {\n\t\t//prepara para generar nuevo registro de persona\n\t\tmav.addObject(new Persona());\n\t\tmav.setViewName(\"agregarPersona\");\n\t\treturn mav;\n\t}", "@RequestMapping(value = \"/saveCompany\", method = RequestMethod.POST)\r\n\t\tpublic ModelAndView saveCompany( HttpServletRequest request,@ModelAttribute(\"companyBean\") CompanyBean companyBean, \r\n\t\t\t\tBindingResult result,final RedirectAttributes redirectAttributes) {\r\n\t\t \r\n\t\t try{\r\n\t\t companyValidator.validate(companyBean, result);\r\n\t\t\tif (result.hasErrors()) {\r\n\t\t//System.out.println(\"Error in form\");\r\n logger.error(\"Error in form\");\r\n \r\n return new ModelAndView(\"addCompany\");\r\n }\r\n\t\t\tCompany company = prepareCompanyModel(companyBean);\r\n\t\t\tHttpSession session=request.getSession();\r\n\t\t\tString user=(String)session.getAttribute(\"userName\");\r\n\t\t\tSystem.out.println(user);\r\n\t\t\t\r\n\t\t\t//this was giving problem so commented @melwyn95\r\n\t\t\tcompanyService.addCompany(user,company);\r\n\r\n//\t\t\treturn new ModelAndView(\"companysuccess\");\r\n\r\n\t\t\t\r\n\t\t\tredirectAttributes.addFlashAttribute(\"msg\", \"Data added successfully\");\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tModelAndView model1=new ModelAndView(\"redirect:/addCompany\");\r\n\t\t\t//model1.addObject(\"message\", \"Data added successfully \");\r\n\t\t\treturn model1;\r\n\t\t\t\r\n\t\t\r\n\t }\r\n\t catch(Exception e){\r\n\t\t\t//System.out.println(e);\r\n logger.error(e);\r\n\t\t\tModelAndView model1=new ModelAndView(\"500\");\r\n\t\t\tmodel1.addObject(\"message\", \"Your session has timed out. Please login again\");\r\n\t \t\tmodel1.addObject(\"url\", \"form\");\r\n\r\n\t\t\treturn model1;\r\n\t\t}\r\n\r\n\r\n}", "@Override\n\tpublic int makepayment(Payment payment) {\n\t\treturn paydao.doPayment(payment);\n\t}", "@RequestMapping(value = \"updateBooking\", method = RequestMethod.GET)\r\n\t@ResponseBody\r\n\tpublic String updateBooking(@ModelAttribute Payments payment) {\r\n\t\tString jsonResponse = \"\";\r\n\t\tjsonResponse=bookingService.updateBooking(payment);\r\n\t\treturn jsonResponse;\r\n\r\n\t}", "@GetMapping(\"/consumer/payment/get/{id}\")\n //@HystrixCommand\n public CommonResult<Payment> getPayment(@PathVariable(\"id\") Long id) {\n return paymentService.getPaymentById(id);\n }", "@RequestMapping(value = \"/toGoodsDetailSearch.act\")\n\tpublic ModelAndView toSave(HttpServletRequest request, HttpServletResponse response) throws Exception {\n\t\tModelAndView mv = new ModelAndView();\n\t\t// mv.addObject(\"seqId\", seqId);\n\t\tmv.setViewName(\"/kqdsFront/ck/search/goods_detail_search.jsp\");\n\t\treturn mv;\n\t}", "@PostMapping\n public ResponseEntity<Wallet> createWallet(@Valid @RequestBody Wallet wallet) {\n return ResponseEntity\n .status(CREATED)\n .body(walletService.createWallet(wallet));\n }", "@RequestMapping(path = \"/carta/add\", method = RequestMethod.POST)\n public ModelAndView addCarta(@ModelAttribute(\"carta\") CartaViewModel model) {\n\n Restaurant restaurant = restaurantServicio.get(model.getRestaurantId());\n TipoProducto tipoProducto = tipoProductoServicio.get(model.getTipoProductoId());\n\n cartaServicio.create(model.toCarta(new Carta(), tipoProducto, restaurant));\n\n return new ModelAndView(\"redirect:/carta/\" + model.getRestaurantId());\n }", "@GetMapping(\"\")\n private String requestPayrollForm(\n @RequestParam(value=\"tanggalIsu\") @DateTimeFormat(pattern=\"yyyy-MM-dd\") Date tanggalIsu,\n HttpServletRequest request,\n Model model) {\n //Initiate Page\n YearMonth reset = payrollService.datetoYM(tanggalIsu);\n Date tanggal_isu = payrollService.YMtoDate(reset);\n try{\n payrollService.getDokumenByTanggal_Isu(tanggal_isu);\n }catch(NoSuchElementException exception){\n DokumenTotalModel dokumenBaru = new DokumenTotalModel();\n payrollService.makeDokumenTotal(dokumenBaru, tanggal_isu);\n }\n DokumenTotalModel dokumen = payrollService.getDokumenByTanggal_Isu(tanggal_isu);\n payrollService.updateDokumenTotal(dokumen);\n\n //Authorization Control\n String role = payrollService.findUser().getId_role().getRole();\n\n if((role.equals(\"Wakil Pengurus Harian\"))&&\n (dokumen.getId_status().getStatus().equals(\"Menunggu Pengajuan\"))){\n String message=\"Mohon maaf, Anda belum memiliki akses ke halaman ini \" +\n \"karena Manajer SDI belum mengajukan dokumen total anggaran\";\n model.addAttribute(\"message\", message);\n return \"payroll-access\";\n } else{\n //List Attribute\n List<DokumenTotalModel> dokumenList = dokumenTotalDb.findAll();\n int lastIndex = dokumenList.size()-1;\n List<List<Integer>> total = payrollService.totalPerDokPerUnit();\n List<String> dateList = payrollService.displayYearMonth();\n model.addAttribute(\"role\", role);\n model.addAttribute(\"dateList\", dateList);\n model.addAttribute(\"dateDisplay\", dateList.get(lastIndex));\n model.addAttribute(\"dokumenDisplay\", dokumenList.get(lastIndex));\n model.addAttribute(\"dokumenList\", dokumenList);\n model.addAttribute(\"unitDisplay\", total.get(lastIndex));\n model.addAttribute(\"total\", total);\n return \"mengajukan-payroll\";\n }\n }", "@RequestMapping(value = \"paymentList\", method = RequestMethod.GET)\n\tpublic ModelAndView paymentList(@RequestParam(value = \"msg\", required = false)String msg,HttpServletRequest request, HttpServletResponse response) {\n\t\tHttpSession session = request.getSession(true);\n\t\tlong company_id=(long)session.getAttribute(\"company_id\");\n\t\tUser user = new User();\n\t\tuser = (User) session.getAttribute(\"user\");\n\t\tSystem.out.println(\"paymentList\");\n\t\tCompany company=null;\n\t\ttry {\n\t\t\tcompany = companyService.getById(user.getCompany().getCompany_id());\n\t\t} catch (MyWebException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tModelAndView model = new ModelAndView();\n\t\tflag = true;\n\t\tboolean importfail=false;\t\n\t\tboolean importflag = false;\n\t\tList<YearEnding> yearEndlist = yearService.findAllYearEnding(company.getCompany_id());\n\t\tif((String) session.getAttribute(\"msg\")!=null)\n\t\t{\n\t\tmodel.addObject(\"successMsg\", (String) session.getAttribute(\"msg\"));\n\t\tsession.removeAttribute(\"msg\");\n\t\t}\t\t\n\t\tif((String) session.getAttribute(\"filemsg\")!=null)\n\t\t{\n\t\tmodel.addObject(\"filemsg\", ((String) session.getAttribute(\"filemsg\")));\n\t\tmodel.addObject(\"filemsg1\", ((String) session.getAttribute(\"filemsg1\")));\n\t\tmodel.addObject(\"successMsg\", \"NA\");\n\t\tmodel.addObject(\"successVocharList\", successVocharList);\n\t\tmodel.addObject(\"failureVocharList\", failureVocharList);\n\t\t\n\t\tsession.removeAttribute(\"filemsg\");\n\t\tsession.removeAttribute(\"filemsg1\");\n\t\t}\t\n\t\t\n\t\t//code for year\n\t\tList<AccountingYear> yearList = accountingYearService.findAccountRange(user.getUser_id(), user.getCompany().getYearRange(),company_id);\n\n\t\tString currentyear = new Year().toString();//CURRENT YEAR LIKE 2018\n\t\tLocalDate date= new LocalDate();\n\t\tString april1stDate=null;\n\t\tapril1stDate= currentyear+\"-\"+\"04\"+\"-\"+\"01\";\n\t\tLocalDate april1stLocaldate = new LocalDate(april1stDate);\n\t\t\n\t\tif(date.isBefore(april1stLocaldate)) \n\t\t{\n\t\t\tInteger year = Integer.parseInt(currentyear);\n\t\t\tyear=year-1;\n\t\t\tString lastYear =year.toString();\n\t\t\tcurrentyear=lastYear+\"-\"+currentyear;\n\t\t}\n\t\telse if(date.isAfter(april1stLocaldate) || date.equals(april1stLocaldate))\n\t\t{\n\t\t\tInteger year = Integer.parseInt(currentyear);\n\t\t\tyear=year+1;\n\t\t\tString nextYear =year.toString();\n\t\t\tcurrentyear=currentyear+\"-\"+nextYear;\n\t\t\t\n\t\t}\n\t\tLong yearId= null;\n\t\tfor(AccountingYear year:yearList)\n\t\t{\n\t\t\tif(year.getYear_range().equalsIgnoreCase(currentyear))\n\t\t\t{\n\t\t\t\tyearId=year.getYear_id();\n\t\t\t}\n\t\t}\n\n\t\tif(paymentService.findAllPaymentOfCompany(company_id, false).size()!=0)\n\t\t{\n\t\t\timportfail=true;\n\t\t}\n\t\tif(company.getTrial_balance()!=null)\n\t\t{\n\t\t\t\tif (company.getTrial_balance() == true)\t\t\n\t\t\t\t\tmodel.addObject(\"opening_flag\", \"1\");\n\t\t\t\telse\n\t\t\t\tmodel.addObject(\"opening_flag\", \"0\");\n\t\t}\n\t\telse\n\t\t\tmodel.addObject(\"opening_flag\", \"0\");\n\t\tLong quote_id = subscribeservice.getquoteofcompany(company_id);\n\t\tString email = user.getCompany().getEmail_id();\n\t\tif (quote_id != 0) {\n\t\t\timportflag = quoteservice.findAllTransactionimportDetailsUser(email, quote_id); // for subscribed client if he registered his company with quotation and quotation contains master imports facility.\n\t\t}\n\t\tmodel.addObject(\"importflag\", importflag);\n\t\tmodel.addObject(\"paymentList\", paymentService.findAllPaymentOfCompany(company_id, true));\n\t\tmodel.addObject(\"importfail\",importfail);\n\t\tmodel.addObject(\"flagFailureList\", true);\n\t\tmodel.addObject(\"yearEndlist\", yearEndlist);\n\t\tmodel.addObject(\"company\", company);\n\t\tmodel.setViewName(\"/transactions/paymentList\");\n\t\treturn model;\n\t}", "@RequestMapping(value=\"/add\", method = RequestMethod.POST)\r\n public void addAction(@RequestBody Reservation reservation){\n reservationService.create(reservation);\r\n }", "@PostMapping\r\n\tpublic ResponseEntity<Object> addOrder(@RequestBody Order Order) \r\n\t{logger.info(\"Inside addOrder method\");\r\n\t\t//System.out.println(\"Enterd in post method\");\r\n\t\tOrder orderList = orderservice.addOrder(Order);\r\n\t\tlogger.info(\"New Order\" + Order);\r\n\t\tif (orderList == null)\r\n\r\n\t\t\treturn ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).body(\"Inernal server error\");\r\n\t\t// response is set to inserted message id in response header section.\r\n\t\r\n\t\tURI location = ServletUriComponentsBuilder.fromCurrentRequest().path(\"/{id}\")\r\n\t\t\t\t.buildAndExpand((orderList).getBookingOrderId()).toUri();\r\n\t\treturn ResponseEntity.created(location).build();\r\n\t}", "@RequestMapping(\"/create\")\r\n\t@Produces({ MediaType.TEXT_PLAIN })\r\n\tpublic String createOrder() {\n\t\tString response = \"\";\r\n\t\ttry {\r\n\t\t\tSystem.out.println(\"in EO calling Validate REST API : \"+System.currentTimeMillis()); \r\n\t\t\tStopWatch watch = new StopWatch();\r\n\t\t\tHttpUriRequest request = new HttpGet(\"http://localhost:\" + \"\" + \"9091\" + \"/eo/validate\");\r\n\t\t\tHttpResponse httpResponse;\r\n\t\t\twatch.start();\r\n\t\t\thttpResponse = HttpClientBuilder.create().build().execute(request);\r\n\t\t\twatch.stop();\r\n\t\t\tresponse = EntityUtils.toString(httpResponse.getEntity());\r\n\t\t\tSystem.out.println(\">>>>>>>Response:\" + response + \" Response time(hh:mm:SS:mS): \" + watch.toString());\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tif (response.contains(\"Order Validated\"))\r\n\t\t\treturn \"Order Created!!\";\r\n\t\telse\r\n\t\t\tthrow new InternalServerErrorException();\r\n\t}", "@GetMapping(\"/payments\")\n public List<Payment> getAllPayments() {\n log.debug(\"REST request to get all Payments\");\n return paymentRepository.findAll();\n }", "@RequestMapping(value = \"/addtransaction\", method = RequestMethod.POST)\n\tpublic Transaction addTransaction(@ModelAttribute(\"payerName\") String payerName,\n\t\t\t@ModelAttribute(\"transactionPoints\") int points) {\n\t\tAddTransaction addNewtransaction = new AddTransaction();\n\t\tTransaction transaction = null;\n\t\ttry {\n\t\t\ttransaction = addNewtransaction.addTransaction(payerName, points, LocalDateTime.now().format(formatter),\n\t\t\t\t\tlist);\n\t\t\tif (transaction == null)\n\t\t\t\tLOGGER.info(\"Check if the payer exist and/or if the balance is lower than the points removed\");\n\t\t} catch (Exception e) {\n\t\t\tLOGGER.info(e.getMessage());\n\t\t}\n\t\treturn transaction;\n\t}", "@RequestMapping(value = \"bankRemittanceList\", method = RequestMethod.POST)\n\tpublic String createBankRemittance(@Valid @ModelAttribute BankRemittanceForm bankRemittanceForm, RedirectAttributes ra) {\n\n\t\tbankRemittanceService.createBankRemittance(DateUtils.format(bankRemittanceForm.getDateCharge(), DateUtils.FORMAT_DATE),\n\t\t\t\tDateUtils.format(bankRemittanceForm.getMonthCharge(), DateUtils.FORMAT_MONTH_YEAR));\n\t\tMessageHelper.addSuccessAttribute(ra, \"bankRemittance.successCreate\", bankRemittanceForm.getDateCharge());\n\t\treturn REDIRECT_BANKREMITTANCE;\n\t}", "@PostMapping(\"/createAccount\")\r\n\tpublic String valNewAccount(@ModelAttribute(value=\"account\") @Valid Accounts account, BindingResult bindingResultAccount, @ModelAttribute(value=\"client\") @Valid Client client, BindingResult bindingResultClient, @ModelAttribute(value=\"user\") @Valid Users user, BindingResult bindingResultUser, Accounts acc, Transactions welcomeBalance, Model model) {\n\t\tif(bindingResultUser.hasErrors() || bindingResultClient.hasErrors() || (userDB.getUserEmailByEmail(user.getEmail()) != null && user.getEmail().equals(userDB.getUserEmailByEmail(user.getEmail()))) || (clientDB.getClientSINBySIN(client.getSin()) != null && client.getSin().intValue() == clientDB.getClientSINBySIN(client.getSin()).intValue()) ) {\r\n\t\t\tif((userDB.getUserEmailByEmail(user.getEmail()) != null) && (user.getEmail().equals(userDB.getUserEmailByEmail(user.getEmail())))) {\r\n\t\t\t\tmodel.addAttribute(\"user_message\",\"You already have an account. Login with \" + user.getEmail() + \" to view your account.\");\r\n\t\t\t}\r\n\t\t\tif((clientDB.getClientSINBySIN(client.getSin()) != null && client.getSin() != null) && (client.getSin().intValue() == clientDB.getClientSINBySIN(client.getSin()).intValue())) {\r\n\t\t\t\tmodel.addAttribute(\"user_message_two\",\"The SIN number you entered is already registered with another account.\");\r\n\t\t\t}\r\n\t\t\treturn \"/user/open.html\";\r\n\t\t}else {\r\n\t\t\t/*Process New Account*/\r\n\t\t\tDate today = new Date();\r\n\t\t\tclientDB.save(client);\r\n\t\t\tSystem.out.println(\"Processed Client - Saved\");\r\n\t\t\t\r\n\t\t\tuser.setClientID(clientDB.getClient(client.getId()).getId());\r\n\t\t\tuser.setJoinDate(\"2019-12-08\");\r\n\t\t\tuserDB.save(user);\r\n\t\t\tSystem.out.println(\"Processed Users - Saved\");\r\n\t\t\t\r\n\t\t\tacc.setClientID(clientDB.getClient(client.getId()).getId());\r\n\t\t\tacc.setBalance(500.00);\r\n\t\t\tacc.setOpenDate(today.toString());\r\n\t\t\taccountDB.save(acc);\r\n\t\t\tSystem.out.println(\"Processed Accounts - Saved\");\r\n\t\t\t\r\n\t\t\twelcomeBalance.setClient(clientDB.getClient(client.getId()).getId());\r\n\t\t\twelcomeBalance.setAccount(accountDB.getAccount(acc.getAccNum(), client.getId()).getAccNum());\r\n\t\t\twelcomeBalance.setType(\"Debit\");\r\n\t\t\twelcomeBalance.setMemo(\"Welcome to Pocket\");\r\n\t\t\twelcomeBalance.setPostDate(today.toString());\r\n\t\t\twelcomeBalance.setProcessDate(today.toString());\r\n\t\t\twelcomeBalance.setAmount(500.00);\r\n\t\t\ttransactionDB.save(welcomeBalance);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"Processed Transactions\");\r\n\t\t\treturn \"/user/accountCreated.html\";\r\n\t\t}\r\n\t}", "@RequestMapping(value = \"/cancelar\", method = RequestMethod.GET)\n\tpublic String Regresar() {\n\t\treturn \"redirect:/\";\n\t}", "public void makePayment() {\r\n System.out.println(\"pay\");\r\n setPayed(true);\r\n }", "@PostMapping(value = \"/create\",consumes = MediaType.APPLICATION_JSON_VALUE)\n public InternationalTournaments create(@RequestBody InternationalTournaments create){\n return service.create(create);\n }", "@RequestMapping(value = \"/card/\", method = RequestMethod.POST)\n public ResponseEntity<Void> createCard(@RequestBody Card card, UriComponentsBuilder ucBuilder) {\n \tcard.setNbDispo(card.getNbItem());\n card.setDate(new Date(System.currentTimeMillis()));\n if (cardService.isCardExist(card)) {\n \tlogger.warn( \"A Card with name \" + card.getNameFr() + \" already exist\" );\n return new ResponseEntity<Void>(HttpStatus.CONFLICT);\n }\n cardService.saveCard(card);\n HttpHeaders headers = new HttpHeaders();\n headers.setLocation(ucBuilder.path(\"/card/{id}\").buildAndExpand(card.getId()).toUri());\n return new ResponseEntity<Void>(headers, HttpStatus.CREATED);\n }", "@PostMapping(\"/payment-groups\")\n @Timed\n public ResponseEntity<PaymentGroup> createPaymentGroup(@RequestBody PaymentGroup paymentGroup) throws URISyntaxException {\n log.debug(\"REST request to save PaymentGroup : {}\", paymentGroup);\n if (paymentGroup.getId() != null) {\n return ResponseEntity.badRequest().headers(HeaderUtil.createFailureAlert(ENTITY_NAME, \"idexists\", \"A new paymentGroup cannot already have an ID\")).body(null);\n }\n PaymentGroup result = paymentGroupService.save(paymentGroup);\n return ResponseEntity.created(new URI(\"/api/payment-groups/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "@Controller\n@RequestMapping(\"/order\")\npublic interface OrderController {\n\n /**\n * 订单搜索,用于商城后台搜索\n *\n * @param customerId 商户ID,必填\n * @param pageSize 每页尺寸 默认10\n * @param pageNo 当前页 默认0第一页\n * @param exportSize 导出页数\n * @param orderId 订单号,精准匹配\n * @param unionOrderId 联合订单号,精准匹配\n * @param userLoginName 用户名,精准匹配\n * @param shipName 收货人姓名,模糊匹配\n * @param shipMobile 收货人电话,精准匹配\n * @param createBeginTime 下单起始时间,支持yyyy-MM-dd,yyyy-MM-dd HH:mm , yyyy-MM-dd HH:mm:ss格式\n * @param createEndTime 下单结束时间,支持yyyy-MM-dd,yyyy-MM-dd HH:mm , yyyy-MM-dd HH:mm:ss格式\n * @param payBeginTime 支付起始时间,支持yyyy-MM-dd,yyyy-MM-dd HH:mm , yyyy-MM-dd HH:mm:ss格式\n * @param payEndTime 支持结束时间,支持yyyy-MM-dd,yyyy-MM-dd HH:mm , yyyy-MM-dd HH:mm:ss格式\n * @param payStatus 支付状态\n * @param shipStatus 发货状态\n * @param supplierId 供应商主键\n * @param sourceType 订单类型\n * @param goodsName 商品名称。分词搜索\n * @param goodsId 商品主键\n * @param payType 支付类型\n * @param shipDisabled 是否成团,1表示否;0表示成团\n * @param orderStatus 订单状态\n * @param sortType 排序字段:0:按下单时间;1:按支付时间;2:按订单金额\n * @param sortDir 排序类型 0:升序 1:降序(默认)\n * @return\n */\n @RequestMapping(value = \"/search\", method = RequestMethod.POST, produces = \"application/json\")\n @ResponseBody\n ViewList search(@RequestParam(value = \"customerId\") Long customerId\n , @RequestParam(value = \"supplierId\", required = false) Long supplierId\n , @RequestParam(value = \"pageSize\", defaultValue = \"10\") Integer pageSize\n , @RequestParam(value = \"pageNo\", defaultValue = \"0\") Integer pageNo\n , @RequestParam(value = \"exportSize\", required = false) Integer exportSize\n , @RequestParam(value = \"orderId\", required = false) String orderId\n , @RequestParam(value = \"unionOrderId\", required = false) String unionOrderId\n , @RequestParam(value = \"goodsName\", required = false) String goodsName\n , @RequestParam(value = \"goodsId\", required = false) Integer goodsId\n , @RequestParam(value = \"userLoginName\", required = false) String userLoginName\n , @RequestParam(value = \"shipName\", required = false) String shipName\n , @RequestParam(value = \"shipMobile\", required = false) String shipMobile\n , @RequestParam(value = \"beginTime\", required = false) String createBeginTime\n , @RequestParam(value = \"endTime\", required = false) String createEndTime\n , @RequestParam(value = \"payBeginTime\", required = false) String payBeginTime\n , @RequestParam(value = \"payEndTime\", required = false) String payEndTime\n , @RequestParam(value = \"payStatus\", required = false) Integer payStatus\n , @RequestParam(value = \"shipStatus\", required = false) Integer shipStatus\n , @RequestParam(value = \"orderStatus\", required = false) Integer orderStatus\n , @RequestParam(value = \"sourceType\", required = false) Integer sourceType\n , @RequestParam(value = \"payType\", required = false) Integer payType\n , @RequestParam(value = \"shipDisabled\", required = false) Boolean shipDisabled\n , @RequestParam(value = \"sortType\", defaultValue = \"0\") Integer sortType\n , @RequestParam(value = \"sortDir\", defaultValue = \"1\") Integer sortDir\n );\n\n /**\n * 手动同步用户数据,如果 userId 为空则同步商户的所有数据;否则同步指定用户数据\n *\n * @param customerId 商户ID\n * @param orderId 商品ID\n * @return\n */\n @RequestMapping(value = \"/updateByMerchant\", method = RequestMethod.POST)\n @ResponseBody\n String updateByMerchantIdAndOrderId(@RequestParam(value = \"customerId\") Long customerId,\n @RequestParam(value = \"orderId\", required = false) String orderId) throws IOException;\n}", "@PostMapping(\"/cars/{id}\")\n// public String saveCar(@PathVariable int id, @ModelAttribute(\"updateDto\") CarUpdateDto dto, Model model) {\n public ModelAndView saveCar(@PathVariable int id, @ModelAttribute(\"updateDto\") CarUpdateDto dto, Model model) {\n\n var car = repo.getCar(id);\n\n if(car == null && id != 0) {\n throw new IllegalArgumentException(\"Item with such id not found\");\n }\n\n if(id == 0) {\n car = new Car();\n car.setId(0);\n }\n\n // make field validation\n\n car.setNumber(dto.getNumber());\n car.setVinNumber(dto.getVinNumber());\n\n var owner = repo.getOwner(dto.getOwnerId());\n car.setOwner(owner);\n\n if(id != 0) {\n repo.save(car);\n } else {\n repo.addCar(car);\n }\n\n// model.addAttribute(\"title\", car != null ? car.getNumber() : \"\");\n// model.addAttribute(\"car\", car);\n// model.addAttribute(\"id\", id);\n//\n// return \"cars_edit\";\n\n return new ModelAndView(\"redirect:/cars\");\n }", "@RequestMapping(value = { \"/new\" }, method = RequestMethod.POST)\n\tpublic String saveEntity(@Valid ENTITY tipoConsumo, BindingResult result, ModelMap model,\n\t\t\t@RequestParam(required = false) Integer idEstadia) {\n\t\ttry{\n\t\n\t\t\tif (result.hasErrors()) {\n\t\t\t\treturn viewBaseLocation + \"/form\";\n\t\t\t}\n\t\n\t\t\tabm.guardar(tipoConsumo);\n\t\n\t\t\tif(idEstadia != null){\n\t\t\t\tmodel.addAttribute(\"idEstadia\", idEstadia);\n\t\t\t}\n\t\n\t\t\tmodel.addAttribute(\"success\", \"La creaci&oacuten se realiz&oacute correctamente.\");\n\t\t\t\n\t\t} catch(Exception e) {\n\t\t\tmodel.addAttribute(\"success\", \"La creaci&oacuten no pudo realizarse.\");\n\t\t}\n\t\tmodel.addAttribute(\"loggedinuser\", getPrincipal());\n\t\treturn \"redirect:list\";\n\t}", "@RequestMapping(value = {\"/add_product\"}, method = RequestMethod.GET)\n public String viewProductAdd() {\n return \"product_detail_new\";\n }", "public ModelPayment(double payment) {\n this.payment = payment;\n }", "@ResponseBody\n\t@PostMapping(value=\"/create\",produces=MediaType.APPLICATION_JSON_VALUE,consumes=MediaType.APPLICATION_JSON_VALUE)\n\t\t\t\n\tpublic ResponseEntity<String> saveaccount(@RequestBody Account acc){\n\t\taccountServiceJpa.save(acc);\n\t\treturn new ResponseEntity<String>(HttpStatus.OK);\n\t}", "@PostMapping(\"/creargrupo\")\n public String create(@ModelAttribute (\"grupo\") Grupo grupo) throws Exception {\n try {\n grupoService.create(grupo);\n return \"redirect:/pertenezco\";\n }catch (Exception e){\n LOG.log(Level.WARNING,\"grupos/creargrupo\" + e.getMessage());\n return \"redirect:/error\";\n }\n }", "@ResponseBody\n @PostMapping(\"/createAccount\")\n public ModelAndView postCreateAccount(@RequestParam(\"passwordProfessor2\") String password2, @ModelAttribute(\"Account\") Account newAccount, Model model)\n {\n // List of possible errors to return to user\n List<String> errors = new ArrayList<>();\n ModelAndView modelAndView = new ModelAndView();\n try\n {\n if (! password2.equals(newAccount.getPassword()))\n {\n throw new IllegalStateException(\"Passwörter stimmen nicht überein\");\n }\n Optional<Account> account = accountService.createAccount(newAccount);\n account.ifPresent(accountService::saveAccount);\n \n modelAndView.setViewName(getLogin(model.addAttribute(\"registeredEmail\", newAccount.getEmail())));\n return modelAndView;\n } catch (IllegalStateException e)\n {\n errors.add(e.getMessage());\n errors.add(\"Anmeldung Fehlgeschlagen\");\n \n modelAndView.setViewName(getRegistration(model.addAttribute(\"errorList\", errors)));\n return modelAndView;\n }\n }" ]
[ "0.7013316", "0.6945476", "0.6855047", "0.6153608", "0.6099737", "0.60763794", "0.6008605", "0.59343946", "0.58917904", "0.5843519", "0.5842606", "0.58401", "0.5839382", "0.5822001", "0.58080953", "0.5770616", "0.5766972", "0.57497734", "0.574661", "0.57431287", "0.57345814", "0.57220757", "0.5697408", "0.56969315", "0.5686693", "0.5680478", "0.5674131", "0.5653525", "0.5644527", "0.5623614", "0.56226295", "0.5613786", "0.561111", "0.5609047", "0.5570741", "0.5564343", "0.55500656", "0.5545374", "0.55327934", "0.55184954", "0.5500887", "0.5498412", "0.5496522", "0.54950887", "0.5493702", "0.5484046", "0.5470001", "0.54666823", "0.5461291", "0.5449253", "0.5448894", "0.5446931", "0.5444909", "0.5440197", "0.54401636", "0.5432591", "0.54308623", "0.5428398", "0.54207176", "0.5409268", "0.54023767", "0.5401045", "0.5397753", "0.5387271", "0.53719217", "0.5367711", "0.5367592", "0.5357568", "0.5354888", "0.5353609", "0.5350862", "0.53455365", "0.5340275", "0.5339778", "0.5336177", "0.53311604", "0.5329757", "0.5325117", "0.5321164", "0.5312832", "0.531236", "0.5308697", "0.5308625", "0.52995396", "0.5289618", "0.5280113", "0.52787656", "0.5276941", "0.5275332", "0.5274887", "0.5274716", "0.5271412", "0.5266185", "0.5254274", "0.52488685", "0.5244058", "0.52386117", "0.52329713", "0.5230258", "0.5225437" ]
0.68656003
2
This controller is used to get a specific payment on basis of ID
@GetMapping("/payment/{id}") public ResponseEntity<Payment> viewPayment(@PathVariable("id") int paymentId) { logger.info("Viewing Payment"); if (payService.viewPayment(paymentId) == null) { throw new PaymentNotFoundException("Payment not found with given id: " + paymentId); } Payment payment = payService.viewPayment(paymentId); return ResponseEntity.ok().body(payment); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GetMapping(\"/payments/{id}\")\n public ResponseEntity<Payment> getPayment(@PathVariable Long id) {\n log.debug(\"REST request to get Payment : {}\", id);\n Optional<Payment> payment = paymentRepository.findById(id);\n return ResponseUtil.wrapOrNotFound(payment);\n }", "@PreAuthorize(\"hasRole('ROLE_ADMIN')\")\n @GetMapping(\"/payments/{id}\")\n public Payments getPaymentById(@PathVariable(value = \"id\") Integer paymentId) \n {\n return paymentsRepository.findById(paymentId)\n .orElseThrow(() -> new ResourceNotFoundException(\"Technologies\", \"id\", paymentId));\n }", "@GetMapping(\"/payments/{id}\")\n @Timed\n public ResponseEntity<PaymentDTO> getPayment(@PathVariable Long id) {\n log.debug(\"REST request to get Payment : {}\", id);\n Optional<PaymentDTO> paymentDTO = paymentQueryService.findOne(id);\n return ResponseUtil.wrapOrNotFound(paymentDTO);\n }", "@GetMapping(\"/consumer/payment/get/{id}\")\n //@HystrixCommand\n public CommonResult<Payment> getPayment(@PathVariable(\"id\") Long id) {\n return paymentService.getPaymentById(id);\n }", "public Payment viewPayment(int id) {\n\t\treturn payments.get(id);\n\t}", "@GetMapping(\"/paymentGateway/payments/{payment_id}\")\n\tpublic PaymentDetails getPayment(@PathVariable String payment_id) {\n\t\treturn paymentQueryService.getPayment(payment_id);\n\t}", "@GetMapping(\"/payments-byuser/{id}\")\n public List<Payment> getPaymentByUser(@PathVariable Long id) {\n log.debug(\"REST request to get Payment : {}\", id);\n return paymentRepository.findByUserIsCurrentUser();\n }", "Payment find(int paymentID);", "@Path(\"/{id_payment}\")\n\t@GET\n\tpublic Response getPayment(@PathParam(\"id_payment\") String idPayment) {\n\t\tPayment currentPayment = Database.getPayment(idPayment);\n\t\t// Proceed payment\n\t\tJSONObject result = new JSONObject();\n\t\tresult.append(\"id_payment\", currentPayment.getId());\n\t\tresult.append(\"id_command\", currentPayment.getCommandId());\n\t\tresult.append(\"numCb\", currentPayment.getNumCb());\n\t\tresult.append(\"crypto\", currentPayment.getCrypto());\n\t\tresult.append(\"dateEnd\", currentPayment.getDateEnd());\n\t\treturn Response.ok().entity(result.toString(2)).build();\n\t}", "@RequestMapping(method = RequestMethod.GET)\n public PaymentDTO getPayment(@PathVariable(value = \"paymentId\") String paymentId){\n Payment payment = this.readPaymentService.execute(paymentId);\n PaymentDTO paymentDTO = modelMapper.map(payment, PaymentDTO.class);\n BeanUtils.copyProperties(paymentDTO, payment);\n return paymentDTO;\n }", "@GetMapping(\"/payment-infos/{id}\")\n @Timed\n public ResponseEntity<PaymentInfoDTO> getPaymentInfo(@PathVariable Long id) {\n log.debug(\"REST request to get PaymentInfo : {}\", id);\n PaymentInfoDTO paymentInfoDTO = paymentInfoService.findOne(id);\n return ResponseUtil.wrapOrNotFound(Optional.ofNullable(paymentInfoDTO));\n }", "@Override\n\tpublic RotatePayment getPayment(String id) {\n\t\tRotatePayment payment = paymentDao.getPayment(id);\n\t\tHashMap<String, Object> map = new HashMap<>();\n\t\tmap.put(\"paymentId\", id);\n\t\tList<RotatePaymentDetail> details=paymentDao.listPaymentDetail(map);\n\t\tpayment.setDetailList(details);\n\t\treturn payment;\n\t}", "@RequestMapping(method = RequestMethod.GET, value = \"/{id}\")\n\tpublic ResponseEntity<PaymentInformation> getPaymentInformation(\n\t\t\t@PathVariable(\"id\") Integer id) {\n\n\t\tPaymentInformation paymentInformation = paymentInformationService\n\t\t\t\t.findPaymentInformationById(id);\n\n\t\tif (paymentInformation == null) {\n\t\t\treturn new ResponseEntity<PaymentInformation>(HttpStatus.NOT_FOUND);\n\t\t}\n\n\t\treturn new ResponseEntity<PaymentInformation>(paymentInformation,\n\t\t\t\tHttpStatus.OK);\n\n\t}", "@Override\r\n\tpublic XftPayment get(Integer id) {\n\t\treturn xftPaymentMapper.selectByPrimaryKey(id);\r\n\t}", "public Payment findOne(Long paymentid) {\n\t\treturn paymentRepository.findOne(paymentid);\n\t}", "Payment selectByPrimaryKey(Long id);", "private Optional<Payments> findPaymentById(Integer id) {\n return paymentsList.stream()\n .filter(payment -> payment.getId().equals(id))\n .findAny();\n }", "@GetMapping(\"/getPaymentById2\")\n public CommonResult ResponseEntity(Long id) {\n ResponseEntity<CommonResult> entity = restTemplate.getForEntity(PAYMENT_URL + \"/getPaymentById?id=\" + id, CommonResult.class);\n if (entity.getStatusCode().is2xxSuccessful()) {\n return entity.getBody();\n }\n return new CommonResult(444, \"操作失败\");\n }", "public Payment getPayment(long id) {\n SQLiteDatabase db = this.getReadableDatabase();\n\n Cursor cursor = db.query(tableName,\n new String[]{Payment.COLUMN_ID, Payment.COLUMN_NAME, Payment.COLUMN_PRICE, Payment.COLUMN_DETAILS, Payment.COLUMN_TIMESTAMP},\n Payment.COLUMN_ID + \"=?\", new String[]{String.valueOf(id)}, null, null, null, null);\n\n if (cursor != null)\n cursor.moveToFirst();\n\n // prepare payment object\n Payment payment = new Payment(\n cursor.getInt(cursor.getColumnIndex(Payment.COLUMN_ID)),\n cursor.getString(cursor.getColumnIndex(Payment.COLUMN_NAME)),\n cursor.getString(cursor.getColumnIndex(Payment.COLUMN_PRICE)),\n cursor.getString(cursor.getColumnIndex(Payment.COLUMN_DETAILS)),\n cursor.getString(cursor.getColumnIndex(Payment.COLUMN_TIMESTAMP)));\n\n // close the db connection\n cursor.close();\n\n return payment;\n }", "public void setPaymentId( Integer paymentId ) {\n this.paymentId = paymentId ;\n }", "PurchasePayment selectByPrimaryKey(Long id);", "@GetMapping(\"/payment\")\n public List<Payment> getPayments(@RequestParam int userID) { return paymentDataTierConnection.getPayments(userID); }", "BusinessRepayment selectByPrimaryKey(String id);", "List<PaymentsIdResponse> getAllPaymentsId();", "@GetMapping(\"/payment_info/{userId}\")\n\t public ResponseEntity<payment_info> getPaymentInfoById(@PathVariable(value = \"userId\") String userId)\n\t throws ResourceNotFoundException {\n\t payment_info paymentInfo = paymentInfoRepository.findById(userId)\n\t .orElseThrow(() -> new ResourceNotFoundException(\"Payment Info not found for this id :: \" + userId));\n\t return ResponseEntity.ok().body(paymentInfo);\n\t }", "Optional<OrdPaymentRefDTO> findOne(Long id);", "@RequestMapping(value = \"/{id}\", method = RequestMethod.GET)\n public Invoice getInvoiceById(@PathVariable int id) {\n return DatabaseInvoicePostgre.getInvoiceById(id);\n }", "@RequestMapping(\"/{orderId}/payment\")\n public Mono<Payment> getPaymentOfOrder(@PathVariable(\"orderId\") int orderId) {\n Order order = orderRepository.getOrderById(orderId);\n\n // Get every payment in order\n return HystrixCommands.from(paymentInfo.getPaymentOfOrderCall(order))\n .fallback(paymentInfo.getPaymentOfOrderFallback())\n .commandName(\"getPaymentOfOrderCall\")\n .toMono();\n }", "public Payment getPayment(int index) {\n Payment aPayment = payments.get(index);\n return aPayment;\n }", "public PaymentEntity getPaymentByUUID(String paymentId) {\n try {\n return entityManager.createNamedQuery(\"getPaymentByUUID\", PaymentEntity.class).setParameter(\"uuid\", paymentId).getSingleResult();\n } catch (NoResultException nre) {\n return null;\n }\n }", "public int getC_Payment_ID();", "@GetMapping(\"/invoices/{invoice_number}/paytransactions/{transaction_id}\")\r\n public PayTransaction findById(@PathVariable long invoice_number, @PathVariable long transaction_id) {\n invoiceRepository.findById(invoice_number)\r\n .orElseThrow(() -> new ResourceNotFoundException(\"Invoice not found with ID: \" + invoice_number));\r\n\r\n // After validated, retrieve Pay Transaction by ID\r\n return payTransactionRepository.findById(transaction_id)\r\n .orElseThrow(() -> new ResourceNotFoundException(\"Pay transaction not found with ID: \" + transaction_id));\r\n }", "@DeleteMapping(\"/payment/{id}\")\n\tpublic ResponseEntity<Payment> cancelPayment(@PathVariable(\"id\") int paymentId) {\n\t\tlogger.info(\"Cancel Payment\");\n\t\tif (payService.cancelPayment(paymentId) == null) {\n\t\t\tthrow new PaymentNotFoundException(\"Payment not found with id: \" + paymentId);\n\t\t}\n\t\treturn ResponseEntity.ok().body(payService.cancelPayment(paymentId));\n\t}", "@GetMapping(\"/payments\")\n public List<Payment> getAllPayments() {\n log.debug(\"REST request to get all Payments\");\n return paymentRepository.findAll();\n }", "@GetMapping(\"/payment\")\n\tpublic ResponseEntity<List<Payment>> viewAllPayments() {\n\t\tlogger.info(\"View all Payments\");\n\t\treturn ResponseEntity.ok().body(payService.viewAllPayments());\n\t}", "@Override\r\n\tpublic Member getPayment(int no) {\n\t\treturn session.selectOne(\"payments.selectOneMember\", no);\r\n\t}", "@HystrixCommand\n @RequestMapping(value = \"/consumer/payment/hystrix/ok/{id}\", method = RequestMethod.GET)\n public String paymentInfo_OK(@PathVariable(value = \"id\") Integer id){\n String result = paymentHystrixService.paymentInfo_OK(id);\n\n return result;\n }", "public void searchPayment(Number nPaymentId) {\n //Verifica nulidad\n if (nPaymentId == null)\n return;\n try {\n //Declara los recursos\n ViewCriteria vcPayment = null;\n ViewCriteriaRow rowVCPayment = null;\n\n //Crea el criterio de busqueda\n vcPayment = createViewCriteria();\n rowVCPayment = vcPayment.createViewCriteriaRow();\n rowVCPayment.setAttribute(\"Id\", nPaymentId);\n\n //Aplica el criterio\n vcPayment.addElement(rowVCPayment);\n applyViewCriteria(vcPayment);\n executeQuery();\n //Inicializa el current row\n if (getEstimatedRowCount() > 0) {\n setCurrentRow(first());\n }\n clearViewCriterias();\n } catch (Exception exception) {\n clearViewCriterias();\n }\n }", "@GetMapping(\"/payment-groups/{id}\")\n @Timed\n public ResponseEntity<PaymentGroup> getPaymentGroup(@PathVariable Long id) {\n log.debug(\"REST request to get PaymentGroup : {}\", id);\n PaymentGroup paymentGroup = paymentGroupService.findOne(id);\n return ResponseUtil.wrapOrNotFound(Optional.ofNullable(paymentGroup));\n }", "@Override\r\n\tpublic PaymentPO findByID(String id) {\n\t\treturn null;\r\n\t}", "public BookingInfoEntity getBookingById(int id, Transaction transaction) {\n BookingInfoEntity bookingInfoEntity = null;\n\n if (transaction.getPaymentMode().equalsIgnoreCase(\"UPI\") ||\n transaction.getPaymentMode().equalsIgnoreCase(\"CARD\") ) {\n Optional<BookingInfoEntity> optionalBookingInfoEntity = bookingRepository.findById(id);\n if (!optionalBookingInfoEntity.isPresent()) {\n throw new BookingIDNotFoundException(\"Invalid Booking Id\");\n } else {\n bookingInfoEntity = optionalBookingInfoEntity.get();\n transaction.setBookingId(bookingInfoEntity.getBookingId());\n\n //Call PaymentService Api\n transaction = callPaymentServiceApi(transaction);\n bookingInfoEntity.setTransactionId(transaction.getTransactionId());\n bookingInfoEntity = bookingRepository.save(bookingInfoEntity);\n try {\n \t\t\trunProducer(1, bookingInfoEntity.toString());\n \t\t} catch (InterruptedException e) {\n \t\t\te.printStackTrace(); //Internally throw 500 error\n \t\t}\n }\n } else {\n throw new InvalidPaymentModeException(\"Invalid mode of payment\");\n }\n return bookingInfoEntity;\n }", "public PaymentDocVO getPaymentDoc(String id) {\n\t\treturn null;\n\t}", "CancelPaymentResponse getCancelPaymentById(Integer paymentId) throws ResourceNotFoundException;", "@DeleteMapping(\"/payments/{id}\")\n public ResponseEntity<Void> deletePayment(@PathVariable Long id) {\n log.debug(\"REST request to delete Payment : {}\", id);\n paymentRepository.deleteById(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "public Payment getPayment(){\n return payment;\n }", "public Account getAccountByID(int id)//This function is for getting account for transfering amount\r\n {\r\n return this.ac.stream().filter(ac1 -> ac1.getAccId()==id).findFirst().orElse(null);\r\n }", "PaymentTrade selectByPrimaryKey(String id);", "com.dogecoin.protocols.payments.Protos.Payment getPayment();", "@GetMapping(\"/rest/{id}\")\n\t\tpublic @ResponseBody Optional<Transaction> findTranscationRest(@PathVariable(\"id\") Long transactionId) {\n\t\t\tUserDetails user = (UserDetails) SecurityContextHolder.getContext()\n\t\t\t\t\t.getAuthentication().getPrincipal();\n\t\t\tString username = user.getUsername();\n\t\t\tUser currentUser = userRepo.findByUsername(username);\n\t\t\tList<Transaction> transactions = traRepo.findByUser(currentUser);\n\t\t\tfor(int i = 0; i < transactions.size(); i++) {\n\t\t\t\tif(transactions.get(i).getId() == transactionId) {\n\t\t\t\t\ttransactionId = transactions.get(i).getId();\n\t\t\t\t\treturn traRepo.findById(transactionId);\n\t\t\t\t\t\n\t\t\t\t} \n\t\t\t}\n\t\t\treturn Optional.empty();\n\t\t}", "@GetMapping(\"/{id}\")\n\tpublic String getById(@PathVariable int id) {\n\t\tSystem.out.println(\"recuperer la commande avec l'id= \" +id);\n\t\tOptional<Commande> optional = commandeRepository.findById(id);\n\t\tif (optional.isPresent()) {\n\t\t\tSystem.out.println(\"Commande= \" +optional.get());\n\t\t} else {\n\t\t\tSystem.out.println(\"La commande avec l'id \" +id+ \" n'existe pas.\");\n\t\t}\n\t\treturn \"details_commande\";\n\t}", "public PurchaseReturnVO PRFindByID(String id) {\n\t\treturn purchaseReturn.find(id);\r\n\t}", "@JsonGetter(\"payment_id\")\r\n @JsonInclude(JsonInclude.Include.NON_NULL)\r\n public String getPaymentId() {\r\n return paymentId;\r\n }", "@RequestMapping(method = RequestMethod.DELETE)\n public void delete(@PathVariable(value = \"paymentId\") String paymentId) {\n deletePaymentService.execute(paymentId);\n }", "@ApiModelProperty(required = true, value = \"internal domestic payment order identifier\")\n public String getId() {\n return id;\n }", "@GetMapping(\"/{id}\")\n public Account account(@PathVariable(\"id\") Long id){\n return accountRepository.findOne(id);\n }", "@Override\n\tpublic ResponseEntity<?> get(Long id) {\n\t\treturn ResponseEntity.ok(service.deposit.get(id));\n\t}", "public String getPaymentIdByEncryptedString() {\n return commonPaymentServiceBaseUrl + \"/pis/payment/{payment-id}\";\n }", "public Invoice findById(long id);", "void paymentOrder(long orderId);", "public Long getPayId() {\r\n return payId;\r\n }", "public PaymentTypeObject getPaymentType(int payment_type_id) throws AppException;", "@GET\n @Path(\"{id}\")\n @Produces(\"application/hal+json\")\n public Response get(@PathParam(\"regNo\") String regNo, @PathParam(\"accountNo\") String accountNo, @PathParam(\"id\") String id) {\n Optional<Transaction> transaction = admin.findTransaction(regNo, accountNo, id);\n if (transaction.isPresent()) {\n CacheControl cc = new CacheControl();\n cc.setMaxAge(24 * 60 * 60);\n return Response.ok(entityBuilder.buildTransactionJson(transaction.get(), uriInfo)).cacheControl(cc).build();\n } else {\n return Response.status(Response.Status.NOT_FOUND).build();\n }\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<Invoice> findOne(Long id) {\n log.debug(\"Request to get Invoice : {}\", id);\n if (SecurityUtils.isCurrentUserInRole(AuthoritiesConstants.ADMIN)) {\n return invoiceRepository.findById(id);\n } else {\n return invoiceRepository.findOneByIdAndOrderCustomerUserLogin(id, SecurityUtils.getCurrentUserLogin().get() );\n }\n }", "@GetMapping(value = \"/{id}\", produces = MediaType.APPLICATION_JSON_VALUE)\n @PreAuthorize(value = \"isAuthenticated()\")\n public Rate getRateById(@PathVariable(name = \"id\", required = true) long id, HttpServletRequest request) throws Exception {\n return rateService.getRate(id);\n }", "Invoice getById(int invoiceId);", "public Single<Payment> rxRetrievePaymentRecord(String payId) { \n return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> {\n retrievePaymentRecord(payId, fut);\n }));\n }", "@GetMapping(\"/invoices/{id}\")\n\tpublic ResponseEntity<Invoice> getInvoice(@PathVariable Long id) {\n\t\tlog.debug(\"REST request to get Invoice : {}\", id);\n\t\tOptional<Invoice> invoice = invoiceService.findOne(id);\n\t\treturn ResponseEntity.of(invoice);\n\t}", "io.opencannabis.schema.commerce.CommercialOrder.OrderPayment getPayment();", "InvoiceDTO fetchByID(int id);", "@GetMapping(\"/payment-infos\")\n @Timed\n public List<PaymentInfoDTO> getAllPaymentInfos() {\n log.debug(\"REST request to get all PaymentInfos\");\n return paymentInfoService.findAll();\n }", "public ContestPayment getContestPayment(long contestPaymentId) throws ContestManagementException {\n return null;\r\n }", "public ContestPayment getContestPayment(long contestPaymentId) throws ContestManagementException {\n return null;\r\n }", "public PosPay findPosPayById(Long id)throws DataAccessException;", "public String getPisCommonPaymentById() {\n return commonPaymentServiceBaseUrl + \"/pis/common-payments/{paymentId}\";\n }", "public void retrievePaymentRecord(String payId, Handler<AsyncResult<Payment>> resultHandler) { \n delegate.retrievePaymentRecord(payId, resultHandler);\n }", "@GetMapping(\"{id}\")\n public Optional<Donut> retDonutbyID(@PathVariable Long id){\n\n return this.donutRepository.findById(id);\n\n }", "@Override\n\tpublic JavaBean1 findA(String id) {\n\t\tpo=new PaymentOrderPO();\n\t\tArrayList<PaymentOrderPO> pos=new ArrayList<>();\n\t\tjb1=new JavaBean1();\n\t\tString sql=\"select * from paymentlist where ID=?\";\n\t\tjb1.setResultMessage(ResultMessage.NotExist);\n\t\ttry {\n\t\t\tstmt=con.prepareStatement(sql);\n\t\t\tstmt.setString(1, id);\n\t\t\tResultSet rs=stmt.executeQuery();\n\t\t\tif(rs.next()){\n\t\t\t\tpo.setID(id);\n\t\t\t\tpo.setDate(rs.getString(2));\n\t\t\t\tpo.setAmount(rs.getDouble(3));\n\t\t\t\tpo.setPayer(rs.getString(4));\n\t\t\t\tpo.setBankAccount(rs.getString(5));\n\t\t\t\tpo.setEntry(rs.getString(6));\n\t\t\t\tpo.setNote(rs.getString(7));\n\t\t\t\tpo.setApproState(ApproState.valueOf(rs.getString(\"approState\")));\n\t\t\t\tpos.add(po);\n\t\t\t\t\n\t\t\t\tjb1.setResultMessage(ResultMessage.Success);\n\t\t\t}\n\t\t\tjb1.setObject(pos);\n\t\t\t return jb1;\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\treturn jb1;\n\t\t}\n\t}", "public IBankTransfert payment();", "public static Payment getPaymentByOrderId(int id) {\r\n\t\tEntityManager em = DBUtil.getEntityManagerFactory()\r\n\t\t\t\t.createEntityManager();\r\n\r\n\t\tString query = \"SELECT p FROM Payment p WHERE p.customerOrder.id = :id\";\r\n\t\tTypedQuery<Payment> q = em.createQuery(query, Payment.class);\r\n\t\tq.setParameter(\"id\", id);\r\n\t\tPayment payment = null;\r\n\r\n\t\ttry {\r\n\t\t\tpayment = q.getSingleResult();\r\n\t\t} catch (NoResultException e) {\r\n\t\t\treturn null;\r\n\t\t} finally {\r\n\t\t\tem.close();\r\n\t\t}\r\n\r\n\t\treturn payment;\r\n\t}", "@GetMapping(\"/act-kodus/{id}\")\n @Timed\n public ResponseEntity<ActKodu> getActKodu(@PathVariable Long id) {\n log.debug(\"REST request to get ActKodu : {}\", id);\n ActKodu actKodu = actKoduRepository.findOne(id);\n return ResponseUtil.wrapOrNotFound(Optional.ofNullable(actKodu));\n }", "@Transactional(readOnly = true)\n public Optional<Currency> findOne(Long id) {\n log.debug(\"Request to get Currency : {}\", id);\n return currencyRepository.findById(id);\n }", "SsPaymentBillPerson selectByPrimaryKey(Long id);", "@PatchMapping(\"/payment/{id}\")\n\tpublic ResponseEntity<Payment> updatePaymentStatus(@PathVariable(\"id\") int paymentId, @RequestBody Payment payment) {\n\t\tlogger.info(\"Update Payment Status\");\n\t\tif (payService.updatePaymentStatus(paymentId, payment) == null) {\n\t\t\tthrow new PaymentNotFoundException(\"Payment not found with this id: \" + paymentId);\n\t\t}\n\t\treturn ResponseEntity.ok().body(payService.updatePaymentStatus(paymentId, payment));\n\t}", "public ResponseEntity<customer.controller.Customer> getCustomerById(Long id);", "public com.jspgou.cms.entity.Payment getPayment () {\r\n\t\treturn payment;\r\n\t}", "DangerMerchant selectByPrimaryKey(Integer id);", "@GetMapping(\"/asignacion/{id}\")\n public ResponseEntity<Asignacion> getAsignacion(@PathVariable Long id) {\n log.debug(\"REST request to get Asignacion : {}\", id);\n Optional<Asignacion> asignacion = asignacionService.findOne(id);\n return ResponseUtil.wrapOrNotFound(asignacion);\n }", "@RequestMapping(value=\"/searchorder\",method=RequestMethod.GET)\r\n\tpublic OrderBean searchByOrderId(String id)throws SearchException {\r\n\t\treturn service.searchOrderById(id);\t\r\n\t\t\r\n}", "@GetMapping(\"/id/{id}\")\n public ResponseEntity<ServiceResult> findById(@PathVariable String id) {\n ServiceResult serviceResult = new ServiceResult();\n AdCampaign adCampaign = new AdCampaign();\n logger.info(\"Start controller call get data from ID - \"+id);\n try {\n adCampaign = adCampaignService.findByIdCustom(id);\n serviceResult.setMessage(\"Get Data from ID\"+id+\" Success\");\n serviceResult.setData(adCampaignService.findByIdCustom(id));\n serviceResult.setStatus(ServiceResult.Status.SUCCESS);\n }catch (Exception ex){\n logger.info(\"Error call get data from ID - \"+id);\n serviceResult.setMessage(ex.getMessage());\n }\n logger.info(\"End call get data from ID - \"+id);\n return new ResponseEntity<ServiceResult>(serviceResult, HttpStatus.OK);\n }", "@Repository\npublic interface PaymentRepository extends CrudRepository<Payment, Long> {\n\n public List<Payment> findByOrganizationId(Long orgId);\n}", "@RequestMapping(path=\"/initPaymentGet\", method = RequestMethod.GET)//, produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE)\n\tpublic ResponseEntity<Object> test() {\n\t\tlogger.info(\"Init payment\");\n\t\t//System.out.println(\"DTO: \" + btcDTO.getPrice_currency());\n\t\tString pom = \"\";\n\t\tRestTemplate restTemplate = new RestTemplate();\n\t\t\n\t\tHttpHeaders headers = new HttpHeaders();\n\t\theaders.add(\"Authorization\", \"ab7fzPdN49-xBVoY_LdSifCZiVrqCbdcfjWdweJS\");\n\t\tResponseEntity<String> responseEntity = new RestTemplate().exchange(CREATE_ORDER_API, HttpMethod.GET,\n\t\t\t\tnew HttpEntity<String>(pom, headers), String.class);\n\n\t\t//restTemplate.getForEntity(\"https://google.rs\", String.class);\n\t\t//ResponseEntity<String> response = restTemplate.getForEntity(\"https://api-sandbox.coingate.com/v2/orders\", String.class);\n\t\t//ResponseEntity<String> response = restTemplate.postForEntity(\"https://api.coingate.com/v2/orders\", btcDTO, String.class);\n\t\t\n\t\treturn new ResponseEntity<Object>(responseEntity,HttpStatus.OK);\n\t}", "@RequestMapping(value = \"/getId:{id}\", method = RequestMethod.GET, produces = \"application/json\")\r\n\tpublic @ResponseBody MouvementFiniValue getMouvementFini(@PathVariable Long id) {\r\n\r\n\t\t\r\n\t\treturn mouvementFiniService.findMouvementFiniParId(id);\r\n\t}", "@POST\n\t@Path(\"\")// http://localhost:8080/myretail-services/products/id/\n\t@Consumes(MediaType.TEXT_PLAIN)\n\t@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })\n\tpublic String updatePaymentForID(String id) {\n\t\tSystem.out.println(\"b4>>\" + productPrice.getProductPrice(id));\n\t\tproductPrice.updateProductPrice(id); // Example of updating price in MongoDB\n\t\tSystem.out.println(\"after>>\" + productPrice.getProductPrice(id));\n\t\treturn productPrice.getProductPrice(id);\n\t}", "@RequestMapping(value=\"/returnpurchasedproduct\", method=RequestMethod.POST)\r\n\tpublic OrderBean returnProduct(String id) throws ProductNotFoundException {\r\n\t\t\r\n\t\t\r\n\t\t\t//try {\r\n\t\t\t\treturn service.returnProduct(id);\r\n\t\t\t/*} catch (ProductNotFoundException e) {\r\n\t\t\t\tthrow e;\r\n\t\t\t}*/\r\n\t\t\r\n\t}", "@RequestMapping(value = \"/customer/{id}\",method=RequestMethod.GET)\n @ResponseStatus(HttpStatus.OK)\n public CustomerViewModel findCustomerById(@PathVariable(\"id\") int id){\n //create a customer View Model using the find method from the service layer\n CustomerViewModel customerViewModel = service.findCustomer(id);\n\n //if it does not exist, through an illegal argument exception\n if(customerViewModel == null){\n //throw new\n }\n\n //return the requested customer View Model\n return customerViewModel;\n }", "@Override\n @Transactional(readOnly = true)\n public Fund findOne(Long id) {\n log.debug(\"Request to get Fund : {}\", id);\n Fund fund = fundRepository.findOneWithEagerRelationships(id);\n return fund;\n }", "List<CheckoutProduct> getAllByCheckout(int id);", "public Task<DocumentSnapshot> retieveSinglePayment(String paymentId){\n return firebaseFirestore.collection(\"Payment\")\n .document(paymentId)\n .get();\n }", "@ApiModelProperty(value = \"A Square-issued ID associated with the refund. For single-tender refunds, payment_id is the ID of the original payment ID. For split-tender refunds, payment_id is the ID of the original tender. For exchange-based refunds (is_exchange == true), payment_id is the ID of the original payment ID even if the payment includes other tenders.\")\n public String getPaymentId() {\n return paymentId;\n }", "@GetMapping(\"/view-order/{id}\")\n\tpublic ResponseEntity<Object> getOrderById(@PathVariable Long id) throws OrderNotFoundException {\n\t\tLOGGER.info(\"view-Order URL is opened\");\n\t\tLOGGER.info(\"viewOrder() is initiated\");\n\t\tOrderDTO orderDTO = orderService.getOrderById(id);\n\t\tLOGGER.info(\"viewOrder() has executed\");\n\t\treturn new ResponseEntity<>(orderDTO, HttpStatus.OK);\n\t}" ]
[ "0.8133686", "0.78822136", "0.78557783", "0.7814854", "0.76286167", "0.7506299", "0.7488141", "0.7480975", "0.74796987", "0.72583157", "0.7147596", "0.71254617", "0.70290726", "0.702147", "0.7001465", "0.68043685", "0.6683266", "0.66795295", "0.66737974", "0.66562253", "0.65272486", "0.65155673", "0.63858676", "0.6378938", "0.63750476", "0.6367096", "0.6321802", "0.63206685", "0.6237284", "0.6226083", "0.622427", "0.6216689", "0.621078", "0.6193946", "0.61832535", "0.6149127", "0.61472833", "0.61163634", "0.609092", "0.6076351", "0.6004741", "0.60023046", "0.5983846", "0.595977", "0.59503746", "0.5947044", "0.5945168", "0.592917", "0.5920528", "0.5917814", "0.5902908", "0.5892821", "0.5890761", "0.58899724", "0.58704185", "0.58676016", "0.586506", "0.584741", "0.5840431", "0.5822692", "0.5793269", "0.5790584", "0.5788511", "0.5788331", "0.57838565", "0.5779662", "0.5769175", "0.5765922", "0.57568645", "0.57468325", "0.57386976", "0.57386976", "0.57287204", "0.5724338", "0.5699114", "0.5679512", "0.56650406", "0.5659023", "0.5655045", "0.56522846", "0.56474626", "0.5622319", "0.56186724", "0.5606973", "0.5605851", "0.5602515", "0.55949545", "0.55937815", "0.5586189", "0.55768347", "0.55766666", "0.55759585", "0.5574777", "0.5571784", "0.5570034", "0.55571115", "0.55551237", "0.5544564", "0.5538673", "0.55279446" ]
0.7717844
4
this controller function perform cancelation of a specific given payment and request the service to perform the action and returns the message as canceled else throw exception
@DeleteMapping("/payment/{id}") public ResponseEntity<Payment> cancelPayment(@PathVariable("id") int paymentId) { logger.info("Cancel Payment"); if (payService.cancelPayment(paymentId) == null) { throw new PaymentNotFoundException("Payment not found with id: " + paymentId); } return ResponseEntity.ok().body(payService.cancelPayment(paymentId)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "CancelPaymentResponse cancelPayment(Integer paymentId) throws ResourceNotFoundException, BadInputException;", "CancelOrderResponse cancelOrder(CancelOrderRequest cancelOrderRequest);", "TransactionResponseDTO cancelTransaction(TransactionRequestDTO transactionRequestDTO);", "CancelPaymentResponse getCancelPaymentById(Integer paymentId) throws ResourceNotFoundException;", "@objid (\"26d79ec6-186f-11e2-bc4e-002564c97630\")\n @Override\n public void performCancel() {\n }", "protected abstract void sendCancel(Status reason);", "public void cancel( String reason );", "@Override\n\t\t\t\t public void onCancel() {\n\t\t\t\t\t errorMessage = \"You cancelled Operation\";\n\t\t\t\t\t getResponse();\n\t\t\t\t }", "protected MessageBody cancel() {\n\t\tPlatformMessage msg = cancelRequest(incidentAddress).getMessage();\n\t\talarm.cancel(context, msg);\n\t\treturn msg.getValue();\n\t}", "@RequestMapping(value = \"/punchout/cxml/cancel\", method = RequestMethod.GET)\r\n\tpublic String cancelRequisition(final Model model, final HttpServletRequest request) throws InvalidCartException,\r\n\t\t\tCMSItemNotFoundException\r\n\t{\r\n\t\tfinal CXML cXML = punchOutService.processCancelPunchOutOrderMessage();\r\n\t\tprocessRequisitionMessage(cXML, model, request);\r\n\r\n\t\treturn ADDON_PREFIX + BASE_ADDON_PAGE_PATH + \"/punchout/punchoutSendOrderPage\";\r\n\t}", "public void cancelCard() {}", "@PostMapping(\"/cancelOrder\")\n\tpublic ResponseEntity<?> cancelOrder(@RequestParam int orderId) {\n\t\torderService.cancelOrder(orderId);\n\t\treturn new ResponseEntity<>(HttpStatus.NO_CONTENT);\n\t}", "public void cancel(OrderInternal order_, String cancellationCommentLanguageKey_, OrderManagementContext orderManagementContext_);", "private ProcessResponse validateCancelRequest(ServiceOrder so,\r\n\t\t\tSecurityContext securityContext, SOCancelRequest soCancelRequest) {\r\n\t\tProcessResponse response = new ProcessResponse();\r\n\t\t// Set response code as 1 for success (default)\r\n\t\tresponse.setCode(PublicAPIConstant.ONE);\r\n\t\tList<String> message = new ArrayList<String>();\t\t\r\n\t\tboolean validReasonCode = Boolean.FALSE;\r\n\t\t// wf state ID of the SO\r\n\t\tint stateId = so.getWfStateId().intValue();\r\n\t\tswitch (stateId) {\r\n\t\t\t/* For invalid states */\t\r\n\t\t\tcase OrderConstants.CANCELLED_STATUS:\r\n\t\t\tcase OrderConstants.COMPLETED_STATUS:\r\n\t\t\tcase OrderConstants.PENDING_CANCEL_STATUS:\r\n\t\t\tcase OrderConstants.CLOSED_STATUS:\r\n\t\t\tcase OrderConstants.VOIDED_STATUS:\r\n\t\t\tcase OrderConstants.DELETED_STATUS:\r\n\t\t\t\tmessage.add(CommonUtility\r\n\t\t\t\t\t\t.getMessage(PublicAPIConstant.INVALID_STATE_ERROR_CODE));\r\n\t\t\t\tresponse.setCode(ServiceConstants.USER_ERROR_RC);\r\n\t\t\t\tbreak;\r\n\t\t\tcase OrderConstants.DRAFT_STATUS:\r\n\t\t\tcase OrderConstants.ROUTED_STATUS:\r\n\t\t\tcase OrderConstants.EXPIRED_STATUS:\r\n\t\t\t\t// Validate cancel reason code\r\n\t\t\t\tvalidReasonCode = validateReasonCodes(soCancelRequest.getCancelReasonCode(), securityContext.getCompanyId());\r\n\t\t\t\tif (!validReasonCode) {\r\n\t\t\t\t\tmessage.add(CommonUtility.getMessage(PublicAPIConstant.cancelSO.INVALID_CANCEL_REASONCODE_ERROR_CODE));\r\n\t\t\t\t\tresponse.setCode(ServiceConstants.USER_ERROR_RC);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// Handle the possible scenario where request xml contains\r\n\t\t\t\t\t// amount for these state SOs.\r\n\t\t\t\t\tsoCancelRequest.setCancelAmount(Double.valueOf(0));\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\tcase OrderConstants.ACCEPTED_STATUS:\r\n\t\t\tcase OrderConstants.ACTIVE_STATUS:\r\n\t\t\tcase OrderConstants.PROBLEM_STATUS:\r\n\t\t\t\tboolean isAmountValidationNeeded = Boolean.TRUE;\r\n\t\t\t\t// Validate cancel reason code\r\n\t\t\t\tvalidReasonCode = validateReasonCodes(soCancelRequest.getCancelReasonCode(), securityContext.getCompanyId());\r\n\t\t\t\tif (!validReasonCode) {\r\n\t\t\t\t\tmessage.add(CommonUtility.getMessage(PublicAPIConstant.cancelSO.INVALID_CANCEL_REASONCODE_ERROR_CODE));\r\n\t\t\t\t\tresponse.setCode(ServiceConstants.USER_ERROR_RC);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t /* If Compensation is not required, task_level check is not\r\n\t\t\t\t\t * needed. SO is to be cancelled for 0.0$.\r\n\t\t\t\t\t */\r\n\t\t\t\t\tif (PublicAPIConstant.cancelSO.NO.equalsIgnoreCase(soCancelRequest.getProviderPaymentReqd())) {\r\n\t\t\t\t\t\tsoCancelRequest.setCancelSkus(new CancelSKU());\r\n\t\t\t\t\t\tsoCancelRequest.setCancelAmount(Double.valueOf(0));\r\n\t\t\t\t\t\tisAmountValidationNeeded = Boolean.FALSE;\r\n\t\t\t\t\t} else if (OrderConstants.TASK_LEVEL_PRICING.equalsIgnoreCase(so.getPriceType())) {\r\n\t\t\t\t\t\t/* For TASK_LEVEL SO consider work order SKU for validation\r\n\t\t\t\t\t\t * and for calculating the cancellation amount.\r\n\t\t\t\t\t\t */\r\n\t\t\t\t\t\tList<String> invalidSKUs = handleTaskLevelPricing(soCancelRequest, securityContext);\r\n\t\t\t\t\t\tif (null != invalidSKUs && !invalidSKUs.isEmpty()) {\r\n\t\t\t\t\t\t\tStringBuilder warning = new StringBuilder(CommonUtility.getMessage(PublicAPIConstant.cancelSO.INVALID_WORK_ORDER_SKU_ERROR_CODE));\r\n\t\t\t\t\t\t\twarning.append(\"Invalid SKU(s): \");\r\n\t\t\t\t\t\t\twarning.append(invalidSKUs);\r\n\t\t\t\t\t\t\tmessage.add(warning.toString());\r\n\t\t\t\t\t\t\tresponse.setCode(ServiceConstants.USER_ERROR_RC);\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\t\t\t\t\r\n\t\t\t\t/* If SO Status, reason code and SKUs (if applicable) are valid then\r\n\t\t\t\t * validate the cancellation amount.\r\n\t\t\t\t */\r\n\t\t\t\tif (isAmountValidationNeeded && PublicAPIConstant.ONE.equals(response.getCode())) {\r\n\t\t\t\t\tString warningMsg = validateCancelAmount(soCancelRequest,\r\n\t\t\t\t\t\t\tsecurityContext, so);\r\n\t\t\t\t\tif (!StringUtils.isEmpty(warningMsg)) {\r\n\t\t\t\t\t\tmessage.add(warningMsg);\r\n\t\t\t\t\t\tresponse.setCode(ServiceConstants.USER_ERROR_RC);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\t/*Error message on invalid SO State*/\r\n\t\t\t\tmessage.add(CommonUtility\r\n\t\t\t\t\t\t.getMessage(PublicAPIConstant.INVALID_STATE_ERROR_CODE));\r\n\t\t\t\tresponse.setCode(ServiceConstants.USER_ERROR_RC);\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t\t\r\n\t\tif (message.isEmpty()) {\r\n\t\t\tresponse.setCode(PublicAPIConstant.ONE);\r\n\t\t}\r\n\t\tresponse.setMessages(message);\r\n\t\treturn response;\r\n\t}", "@RequestMapping(value = \"/cancel\", method = RequestMethod.GET)\n public String cancel()\n {\n return \"cancel\";\n }", "public void cancelInvitionUser() {\n\n }", "@Override\n\tpublic void CancelOrder(Order order) {\n\t\t\n\t}", "public void onClick(DialogInterface dialog, int id) {\n dialog.cancel();\n Toast.makeText(getApplicationContext(), \"payment not cancelled\",\n Toast.LENGTH_SHORT).show();\n }", "public boolean cancel(String requestId);", "public CustDashboardPage cancelPayment(ExtentTest extentedReport) throws Exception {\n\t\tCustDashboardPage objCustDashboardPage = null;\n\t\ttry {\n\t\t\tbtnCancelPayment.click();\n\t\t\tLog.message(\"Clicked on 'Cancel' payment button\", extentedReport);\n\t\t\tWaitUtils.waitForSpinner(driver);\n\t\t\tWaitUtils.waitForElementPresent(driver, btnCancelPaymentYes,\n\t\t\t\t\t\"Timed out to wait for 'Yes' button in cancel warning pop-up\");\n\t\t\tbtnCancelPaymentYes.click();\n\t\t\tLog.message(\"Clicked on 'Yes' button in cancel warning pop-up\", extentedReport);\n\t\t\tWaitUtils.waitForSpinner(driver);\n\t\t\tobjCustDashboardPage = new CustDashboardPage(driver, extentedReport).get();\n\t\t} catch (Exception e) {\n\t\t\tthrow new Exception(\"Unable to cancel the payment. \" + e);\n\t\t}\n\t\treturn objCustDashboardPage;\n\t}", "private void cancel() {\n recoTransaction.cancel();\n }", "void cancelOrder(String orderKey);", "public String doCancel(Integer id, User user)\r\n/* 130: */ {\r\n/* 131:130 */ String result = \"\";String returnStat = \"0\";\r\n/* 132: */ \r\n/* 133:132 */ Expence expence = (Expence)this.expenceDao.get(Integer.valueOf(id.intValue()));\r\n/* 134:133 */ if ((\"0\".equals(expence.getStat())) || (expence.getStat() == \"0\") || (\"1\".equals(expence.getStat())) || (expence.getStat() == \"1\")) {\r\n/* 135:134 */ return result = \"[id=\" + expence.getId() + \"]该项数据已经回退!\";\r\n/* 136: */ }\r\n/* 137:138 */ ExpenceFlow expenceFlow = new ExpenceFlow();\r\n/* 138:139 */ expenceFlow.setGxsj(new Date());\r\n/* 139:140 */ expenceFlow.setExpence(expence);\r\n/* 140:141 */ expenceFlow.setUser(user);\r\n/* 141:142 */ expenceFlow.setOptContent(\"回退\");\r\n/* 142:143 */ expenceFlow.setYwlc(Integer.valueOf(0));\r\n/* 143:144 */ this.expenceFlowDao.save(expenceFlow);\r\n/* 144:146 */ if ((expence.getStat() == \"3\") || (\"3\".equals(expence.getStat())))\r\n/* 145: */ {\r\n/* 146:147 */ if (expence.getBankRunningId() == null) {\r\n/* 147:148 */ return result = \"[flow_id=\" + id + \"]bankRunningId为空!\";\r\n/* 148: */ }\r\n/* 149:151 */ BankRunning bankRunning = (BankRunning)this.bankRunningService.get(Integer.valueOf(expence.getBankRunningId().intValue()));\r\n/* 150:152 */ if (bankRunning == null) {\r\n/* 151:153 */ return \"银行流水id:\" + expence.getBankRunningId();\r\n/* 152: */ }\r\n/* 153:157 */ if ((bankRunning.getBank() != null) && (!\"\".equals(bankRunning.getBank().getId())))\r\n/* 154: */ {\r\n/* 155:158 */ Bank b = (Bank)this.bankService.get(bankRunning.getBank().getId());\r\n/* 156:159 */ double cush = new Double(b.getCush() - bankRunning.getLrje()).doubleValue();\r\n/* 157:160 */ this.bankService.updateBankCush(cush, Integer.valueOf(bankRunning.getBank().getId().intValue()));\r\n/* 158:161 */ this.bankRunningService.delete(expence.getBankRunningId());\r\n/* 159: */ }\r\n/* 160: */ }\r\n/* 161:166 */ expence.setGxsj(new Date());\r\n/* 162:167 */ expence.setStat(returnStat);\r\n/* 163:168 */ this.expenceDao.update(expence);\r\n/* 164: */ \r\n/* 165:170 */ return result;\r\n/* 166: */ }", "public void cancelCard(String cardNumber) {}", "public void cancelCurrentPurchase() throws VerificationFailedException {\n\t}", "public void cancelCurrentPurchase() throws VerificationFailedException {\n\t}", "public void cancel(Object content){\n\t\t\n\t\tif (isInitiator() && (getState() != RequestProtocolState.DONE) && (getState() != RequestProtocolState.CANCELED)\n\t\t\t\t&& (getState() != RequestProtocolState.NOT_STARTED)) \n\t\t{\n\t\t\tsendMessage(content, Performative.CANCEL, getParticipants().get(0));\n\t\t\tsetState(RequestProtocolState.CANCELING);\n\t\t}\n\t\telse if (isParticipant()) {\n\t\t\taddError(Locale.getString(\"FipaRequestProtocol.21\")); //$NON-NLS-1$\n\t\t}\n\t\telse{\n\t\t\taddError(Locale.getString(\"FipaRequestProtocol.22\")); //$NON-NLS-1$\n\t\t}\n\t}", "public abstract boolean cancel();", "@Override\n public void cancel(Order order) {\n Optional<OrderEntity> orderEntity = orderRepository.findById(order.getId());\n\n if(orderEntity.isPresent()){\n orderEntity.get().setOrder_state(\"CANCELLED\");\n orderRepository.save(orderEntity.get());\n }\n }", "@Override\n\t\tpublic void cancel() {\n\t\t\t\n\t\t}", "public void cancel() throws Exception {\n\t\tgetControl(\"cancelButton\").click();\n\t}", "@Override\n\t\t\t\t\t\t\t\t\tpublic void cancel() {\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t}", "protected abstract void handleCancel();", "abstract protected ActionForward processCancel( UserRequest request )\n throws IOException, ServletException;", "public boolean cancel(String experimentID, String taskID, String gatewayID, String tokenId)throws GFacException;", "protected abstract void handleCancel() throws Exception;", "public void cancel();", "public void cancel();", "public void cancel();", "public void cancel();", "public void cancel();", "public void cancel();", "CancelAction getCancelAction();", "@Action\n public void acCancel() {\n setChangeObj(false);\n }", "@Action\n public void acCancel() {\n setChangeObj(false);\n }", "@Override\n public String getDescription() {\n return \"Ask order cancellation\";\n }", "public void cancel();", "public void cancel()\n\t{\n\t}", "public void onClick(DialogInterface dialog, int id) {\n dialog.cancel();\n Toast.makeText(getApplicationContext(), \"payment not confirmed\",\n Toast.LENGTH_SHORT).show();\n }", "public String cancel() {\n endConversation();\n return CANCEL_OUTCOME_ID;\n }", "protected abstract void onCancel();", "@Override\n protected void onCancel(@CancelReason int cancelReason, @Nullable Throwable throwable) {\n }", "@Override\n protected void onCancel(@CancelReason int cancelReason, @Nullable Throwable throwable) {\n }", "@Override\r\n public void cancelMsg() {\n System.out.println(\"Transaction has been cancelled for gas pump #1..\");\r\n }", "@Override\n public final void cancel(Status reason) {\n checkArgument(!reason.isOk(), \"Should not cancel with OK status\");\n cancelled = true;\n sendCancel(reason);\n dispose();\n }", "@PostMapping(value = \"/cancel\",produces = MediaType.APPLICATION_JSON_VALUE,consumes = MediaType.APPLICATION_JSON_VALUE)\n public ResponseEntity<String> cancel(JSONObject reqJson) throws Exception{\n return new ResponseEntity<String>(RailCancelProcessor.process(reqJson), HttpStatus.OK);\n }", "void sendCancelMessage();", "@Override\r\n\tpublic void cancel() {\n\t\t\r\n\t}", "@Override\n\tpublic void cancel() {\n\n\t}", "@Override\n\tpublic void cancel() {\n\n\t}", "@Override\n\tpublic void cancel() {\n\n\t}", "@Override\n public void cancel() {\n\n }", "@Override\n public void cancel() {\n\n }", "@Override\n public void cancel() {\n\n }", "protected void cancel() {\n abort();\n if(cancelAction != null) {\n cancelAction.accept(getObject());\n }\n }", "public abstract void cancel(float timeoutInSeconds)\n throws NotImplementedException, IncorrectStateException,\n TimeoutException, NoSuccessException;", "@Override\n public void actionPerformed(ActionEvent e) {\n if(e.getSource()==autopay){\n model.getCustomer().getOrder().orderStatus=OrderStatus.paid;\n dispose();\n }\n\n if(e.getSource()==Paywithanothercard){\n if(model.getCustomer().getOrder().orderStatus.name().equals(\"unpaid\")){\n //String orNUm=model.getCustomer().or.orderNumber;\n new Payment(model.getCustomer().getOrder(),model.getCustomer().getOrder().orderType);\n // System.out.println(model.getCustomer().or.orderNumber+\" \"+model.getCustomer().or.orderStatus);\n }else{\n JOptionPane.showMessageDialog(this,\n \"Your order has paied\", \"Error Message\",\n JOptionPane.ERROR_MESSAGE);\n }\n dispose();\n }\n\n\n if(e.getSource()==cancel){\n dispose();\n }\n\n }", "@Override\r\n\t\t\t\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\t\t\t\tcallWebService.cancel(true);\r\n\t\t\t\t\t}", "public boolean cancel();", "@Override\n public void onClick(View v) {\n aManager.cancel(pIntent);\n Toast.makeText(getApplicationContext(), \"Cancel\", Toast.LENGTH_SHORT).show();\n }", "@Override\n public void cancel() {\n\n }", "public synchronized void cancel() {\n }", "User canceledUserRegistration(User user) throws LogicException;", "@Override\n public void cancel() {\n\n }", "@Override\n\t\t\t\t\t\tpublic void cancel() {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}", "@RequestMapping(value = \"/cancelTreatment/{id}\",\r\n method = RequestMethod.DELETE)\r\n public ResponseEntity<Treatment> cancelTreatment(@PathVariable(\"id\") String id)\r\n {\r\n Treatment treatment = treatmentService.findById(id);\r\n if(treatment == null)\r\n {\r\n return new ResponseEntity<Treatment>(HttpStatus.INTERNAL_SERVER_ERROR);\r\n }\r\n treatmentService.delete(treatment);\r\n return new ResponseEntity<Treatment>(HttpStatus.NO_CONTENT);\r\n }", "String confirmPayment(String userName, String teamName, Payment payment) throws RemoteException,\n InterruptedException;", "public void cancelarPresupuesto(Long idPresupuesto) {\n // DAR AVISO POR PANTALLA QUE SI SE CANCELA, SE BORRAN LOS MOVIMIENTOS\n Presupuesto presupuesto = buscarPresupuesto(idPresupuesto);\n // primero me fijo si el presupuesto esta aceptado\n // si no lo esta, devuelvo el estado en el que se encuentra\n EstadoPresupuesto estadoAceptado = estadoPresupuestoRepository\n .findByNombreEstado(globales.NOMBRE_ESTADO_PRESUPUESTO_ACEPTADO);\n\n if (presupuesto.getEstadoPresupuesto().equals(estadoAceptado)) {\n // presupuesto aceptado, comienzo el CU\n\n } else {\n\n // aviso que el presupuesto no se encuentra aceptado\n // no se puede cancelar y paso el nombre del estado\n }\n\n }", "@Override\n public void onClick(View v) {\n\n Message msg = new Message();\n msg.what = DeliveryActivity.SHOW_ERROR_MESSAGE_CANCEL;\n Map<String, Object> map = new HashMap<String, Object>();\n map.put(\"errorMsg\", \"请在取消订单之前,与用户进行沟通,避免不必要的纠纷\");\n map.put(\"odi\", odi);\n map.put(\"refund_status\", 2);\n msg.obj = map;\n handler.sendMessage(msg);\n\n }", "public void cancel() {\n\t}", "@Override\n public String getDescription() {\n return \"Bid order cancellation\";\n }", "public void cancelMethod1(){\n return;\n\n }", "void rejectOrder(int id, String reason) throws ServiceException;", "public String transaction_cancel(int reservationId) {\r\n // only implement this if you are interested in earning extra credit for the HW!\r\n\t\ttry {\r\n\t\t\tif (username == null){\r\n\t\t\t\treturn \"Cannot pay, not logged in\\n\";\r\n\t\t\t}\r\n\t\t\tbeginTransaction();\r\n\r\n\t\t\tsearchFirstFidStatement.clearParameters();\r\n\t\t\tsearchFirstFidStatement.setString(1, username);\r\n\t\t\tsearchFirstFidStatement.setInt(2, reservationId);\r\n\t\t\tResultSet cancel = searchFirstFidStatement.executeQuery();\r\n\t\t\t\r\n\t\t\tsearchSecondFidStatement.clearParameters();\r\n\t\t\tsearchSecondFidStatement.setString(1, username);\r\n\t\t\tsearchSecondFidStatement.setInt(2, reservationId);\r\n\t\t\tResultSet cancel2 = searchSecondFidStatement.executeQuery();\r\n\t\t\t\r\n\t\t\tif (cancel.isBeforeFirst()){\r\n\t\t\t\tcancel.next();\r\n\t\t\t\tcancelReservationStatement.setString(1, username);\r\n\t\t\t\tcancelReservationStatement.setInt(2, reservationId);\r\n\t\t\t\tcancelReservationStatement.executeUpdate();\r\n\t\t\t\t\r\n\t\t\t\tint firstFID = cancel.getInt(\"fid1\");\r\n\t\t\t\tcheckBookingStatement.clearParameters();\r\n\t\t\t\tcheckBookingStatement.setInt(1, firstFID);\r\n\t\t\t\tResultSet f1 = checkBookingStatement.executeQuery();\r\n\t\t\t\tint current1 = f1.getInt(\"count\");\r\n\t\t\t\tupdateBookingStatement.clearParameters();\r\n\t\t\t\tupdateBookingStatement.setInt(1, current1-1);\r\n\t\t\t\tupdateBookingStatement.setInt(2, firstFID);\r\n\t\t\t\tupdateBookingStatement.executeQuery();\r\n\t\t\t} else {\r\n\t\t\t\trollbackTransaction();\r\n\t\t\t}\r\n\t\t\tif (cancel2.next()){\r\n\t\t\t\tint secondFID = cancel2.getInt(\"fid2\");\r\n\t\t\t\tcheckBookingStatement.clearParameters();\r\n\t\t\t\tcheckBookingStatement.setInt(1, secondFID);\r\n\t\t\t\tResultSet f2 = checkBookingStatement.executeQuery();\r\n\t\t\t\tint current2 = f2.getInt(\"count\");\r\n\t\t\t\tupdateBookingStatement.clearParameters();\r\n\t\t\t\tupdateBookingStatement.setInt(1, current2-1);\r\n\t\t\t\tupdateBookingStatement.setInt(2, secondFID);\r\n\t\t\t\tupdateBookingStatement.executeQuery();\r\n\t\t\t}\r\n\t\t\tcommitTransaction();\r\n\t\t\treturn \"Canceled reservation \" + reservationId + \"\\n\";\r\n\r\n\t\t} catch (SQLException e){\r\n\t\t\t//rollbackTransaction();\r\n\t\t\treturn \"Failed to cancel reservation \" + reservationId;\r\n\t\t}\r\n }", "@Override\n\t\t\tpublic boolean isCanceled() {\n\t\t\t\treturn false;\n\t\t\t}", "@Override\n\tpublic void cancel() {\n\t\t\n\t}", "public void cancelFlight(){\n \n Flight flightObject = FlightRepository.getFlight(this.number);\n if (flightObject == null){\n System.out.println(\"Please select a valid flight number\");\n }\n flightObject.removePassengerSeat(this.PassengerID);\n }", "pb4server.CancelCureSoliderAskReq getCancelCureSoliderAskReq();", "@Override\n public void cancel() {\n }", "@Override\n public void onCancel() {\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tcancel();\n\t\t\t}", "@GetMapping(\"/cancel/{custId}\")\n\tpublic String customerDelete(@PathVariable Integer custId) {\n\t\tCustomer cust = customerService.getCustomer(custId);\n\t\tSimpleMailMessage mailMessage = new SimpleMailMessage();\n\t\tmailMessage.setTo(cust.getCustomerEmail());\n\t\tmailMessage.setSubject(\"Account Denied\");\n\t\tmailMessage.setFrom(\"balumathi333.com\");\n\t\tmailMessage.setText(\"Document that have submitted is not valid!!!Please try to register with valid Document\");\n\t\temailSenderService.sendEmail(mailMessage);\n\t\tCustomer customer = customerService.deleteCustomer(custId);\n\t\treturn \"redirect:/verifycustomer\";\n\t}", "@Override\n\t\tpublic void onCancel() {\n \n \t}", "public void onCancel();", "public void cancel(Configuration conf\n ) throws IOException, InterruptedException {\n getRenewer().cancel(this, conf);\n }", "public void cancel()\n {\n this.controller.cancelDownloads();\n\n // Synchronised to avoid a race condition\n synchronized(this.cancelledMonitor)\n {\n // Set the cancelled field to true\n this.cancelled = true;\n }\n theLogger.info(\"Cancel request recieved from UI\");\n }", "public String cancelar()\r\n/* 519: */ {\r\n/* 520:545 */ String url = \"\";\r\n/* 521:546 */ if (this.facturaProveedorSRI.getFacturaProveedor() != null) {\r\n/* 522:547 */ url = \"/paginas/compras/procesos/facturaProveedor?faces-redirect=true\";\r\n/* 523: */ } else {\r\n/* 524:549 */ url = \"/paginas/financiero/contabilidad/procesos/compraCajaChica?faces-redirect=true\";\r\n/* 525: */ }\r\n/* 526:551 */ return url;\r\n/* 527: */ }", "public void cancel() {\n request.disconnect();\n }", "@Override\n\t\t\tpublic void onCancel() {\n\t\t\t\t\n\t\t\t}", "void cancel();" ]
[ "0.7490617", "0.70925456", "0.6991994", "0.6874421", "0.6412214", "0.6403321", "0.6397076", "0.63839763", "0.6317437", "0.6313888", "0.6312509", "0.6294619", "0.6218631", "0.6201026", "0.6198591", "0.61851555", "0.6151486", "0.6127579", "0.6118467", "0.6107373", "0.6101707", "0.6075237", "0.6063633", "0.6054681", "0.60255826", "0.60255826", "0.5994573", "0.5988398", "0.59439087", "0.59356284", "0.59246635", "0.59214884", "0.5920144", "0.5907408", "0.5893337", "0.58528614", "0.58471936", "0.58471936", "0.58471936", "0.58471936", "0.58471936", "0.58471936", "0.58360547", "0.58224237", "0.58224237", "0.58175856", "0.5812272", "0.5797224", "0.5783215", "0.57774776", "0.5777041", "0.5773456", "0.5773456", "0.5770027", "0.57646817", "0.57568216", "0.57544583", "0.5751756", "0.5741249", "0.5741249", "0.5741249", "0.57372814", "0.57372814", "0.57372814", "0.5732189", "0.5728752", "0.5721978", "0.57077575", "0.5704117", "0.5702573", "0.56979287", "0.5697318", "0.569641", "0.56896126", "0.56845593", "0.5683045", "0.5682764", "0.56756747", "0.5673584", "0.5672575", "0.56707245", "0.56628406", "0.5660657", "0.5660613", "0.564607", "0.56374896", "0.5637111", "0.5631336", "0.5630792", "0.56304824", "0.5618108", "0.5613992", "0.5613346", "0.5612374", "0.56046027", "0.5603043", "0.5601262", "0.55997455", "0.55976266", "0.55965227" ]
0.6716057
4
This controller is used to return and list all the payments by vehicle found in the database and request to the service to perform the action
@GetMapping("/vehicle1") public ResponseEntity<List<Payment>> viewAllPayments(Vehicle vehicle) { logger.info("View all Payments by Vehicle"); return ResponseEntity.ok().body(payService.viewAllPayments(vehicle)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GetMapping(\"/payments\")\n public List<Payment> getAllPayments() {\n log.debug(\"REST request to get all Payments\");\n return paymentRepository.findAll();\n }", "@GetMapping(\"/payment\")\n\tpublic ResponseEntity<List<Payment>> viewAllPayments() {\n\t\tlogger.info(\"View all Payments\");\n\t\treturn ResponseEntity.ok().body(payService.viewAllPayments());\n\t}", "@GetMapping(\"/payment-infos\")\n @Timed\n public List<PaymentInfoDTO> getAllPaymentInfos() {\n log.debug(\"REST request to get all PaymentInfos\");\n return paymentInfoService.findAll();\n }", "@GetMapping(\"/payment\")\n public List<Payment> getPayments(@RequestParam int userID) { return paymentDataTierConnection.getPayments(userID); }", "@GetMapping(\"/getVehicleInformation\")\n public Iterable<Vehicle> getAllVehicle() {\n\n return vehicleService.list();\n }", "List<SimpleTransferVO> paymentVOs(Account account, Period period) throws DaoException;", "public List<Payment> findAll(){\n\t\treturn paymentRepository.findAll();\n\t}", "@GetMapping(\"/payments\")\n @Timed\n public ResponseEntity<List<PaymentDTO>> getAllPayments(Pageable pageable) {\n log.debug(\"REST request to get a page of Payments\");\n Page<PaymentDTO> page = paymentQueryService.findAll(pageable);\n HttpHeaders headers = PaginationUtil.generatePaginationHttpHeaders(page, \"/api/payments\");\n return new ResponseEntity<>(page.getContent(), headers, HttpStatus.OK);\n }", "@GetMapping(\"/payments-byuser/{id}\")\n public List<Payment> getPaymentByUser(@PathVariable Long id) {\n log.debug(\"REST request to get Payment : {}\", id);\n return paymentRepository.findByUserIsCurrentUser();\n }", "@PreAuthorize(\"hasRole('ROLE_ADMIN')\")\n @GetMapping(\"/payments/{id}\")\n public Payments getPaymentById(@PathVariable(value = \"id\") Integer paymentId) \n {\n return paymentsRepository.findById(paymentId)\n .orElseThrow(() -> new ResourceNotFoundException(\"Technologies\", \"id\", paymentId));\n }", "List<PaymentsIdResponse> getAllPaymentsId();", "@GetMapping(\"/paymentGateway/payments\")\n\tpublic PaymentHistory getAllPaymentsFromGateway() {\n\t\treturn paymentQueryService.getAllPayments();\n\t}", "@GetMapping(\"/payments/{id}\")\n public ResponseEntity<Payment> getPayment(@PathVariable Long id) {\n log.debug(\"REST request to get Payment : {}\", id);\n Optional<Payment> payment = paymentRepository.findById(id);\n return ResponseUtil.wrapOrNotFound(payment);\n }", "@GetMapping(\"/payments/{id}\")\n @Timed\n public ResponseEntity<PaymentDTO> getPayment(@PathVariable Long id) {\n log.debug(\"REST request to get Payment : {}\", id);\n Optional<PaymentDTO> paymentDTO = paymentQueryService.findOne(id);\n return ResponseUtil.wrapOrNotFound(paymentDTO);\n }", "public List<Payment> getAllPayments() {\n\t\treturn null;\r\n\t}", "@RequestMapping(value = \"/invoice\", method = RequestMethod.GET)\n @ResponseStatus(value = HttpStatus.OK)\n public List<InvoiceViewModel> getInvoice(){\n\n return invoiceService.getAllIvm();\n\n }", "@GetMapping(\"/consumer/payment/get/{id}\")\n //@HystrixCommand\n public CommonResult<Payment> getPayment(@PathVariable(\"id\") Long id) {\n return paymentService.getPaymentById(id);\n }", "@RequestMapping(path=\"/initPaymentGet\", method = RequestMethod.GET)//, produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE)\n\tpublic ResponseEntity<Object> test() {\n\t\tlogger.info(\"Init payment\");\n\t\t//System.out.println(\"DTO: \" + btcDTO.getPrice_currency());\n\t\tString pom = \"\";\n\t\tRestTemplate restTemplate = new RestTemplate();\n\t\t\n\t\tHttpHeaders headers = new HttpHeaders();\n\t\theaders.add(\"Authorization\", \"ab7fzPdN49-xBVoY_LdSifCZiVrqCbdcfjWdweJS\");\n\t\tResponseEntity<String> responseEntity = new RestTemplate().exchange(CREATE_ORDER_API, HttpMethod.GET,\n\t\t\t\tnew HttpEntity<String>(pom, headers), String.class);\n\n\t\t//restTemplate.getForEntity(\"https://google.rs\", String.class);\n\t\t//ResponseEntity<String> response = restTemplate.getForEntity(\"https://api-sandbox.coingate.com/v2/orders\", String.class);\n\t\t//ResponseEntity<String> response = restTemplate.postForEntity(\"https://api.coingate.com/v2/orders\", btcDTO, String.class);\n\t\t\n\t\treturn new ResponseEntity<Object>(responseEntity,HttpStatus.OK);\n\t}", "@RequestMapping(method = RequestMethod.GET)\n public PaymentDTO getPayment(@PathVariable(value = \"paymentId\") String paymentId){\n Payment payment = this.readPaymentService.execute(paymentId);\n PaymentDTO paymentDTO = modelMapper.map(payment, PaymentDTO.class);\n BeanUtils.copyProperties(paymentDTO, payment);\n return paymentDTO;\n }", "private void getVehicleList() {\n mApiCall.getVehicleList();\n }", "public Collection<Payment> getPayments(CustomerItem customerItem);", "List<OrdPaymentRefDTO> findAll();", "@GetMapping(\"/_search/payments\")\n @Timed\n public ResponseEntity<List<PaymentDTO>> searchPayments(@RequestParam String query, Pageable pageable) {\n log.debug(\"REST request to search for a page of Payments for query {}\", query);\n Page<PaymentDTO> page = paymentQueryService.search(query, pageable);\n HttpHeaders headers = PaginationUtil.generateSearchPaginationHttpHeaders(query, page, \"/api/_search/payments\");\n return new ResponseEntity<>(page.getContent(), headers, HttpStatus.OK);\n }", "@Override\n public List<Vehicle> getVehicles(AuthContext context) throws DSException {\n\n isContextValidFor(context, roleId -> { if(roleId == -1) throw new DSAuthException(\"Invalid Context\"); }, 1,3);\n\n //get the vehicles - > for each vehicle, with the vehicle model field (String model = vehicle.getForeignKey(\"model\"))\n List<Vehicle> vehicles = new ArrayList<>();\n try {\n List<Map<String,Object>> data = get(\"SELECT * FROM TblVehicles\");\n for(Map<String,Object> map: data) {\n //create a vehicle\n Vehicle vehicle = new Vehicle(map);\n\n //get the model number\n String model = vehicle.getForeignKey(\"model\");\n\n //get the model from Tbl\n if (model != null) {\n VehicleModel vehicleModel = new VehicleModel(get(\"SELECT * FROM TblVehicleModel WHERE modelNum = ?\", model).get(0));\n vehicle.setModel(vehicleModel);\n }\n //adding\n vehicles.add(vehicle);\n }\n return vehicles;\n }catch (SQLException e) {\n throw new DSFormatException(e.getMessage());\n }\n }", "public JSONResponse pay(HashMap<String, String> parameters) {\n\t\tString pos = parameters.get(\"pos\"); \t\t\t\t\t\t// the point of sale code.\n\t\tString reservationid = parameters.get(\"reservationid\");\t\t// the ID of the reservation.\n\t\tString date = parameters.get(\"date\"); \t\t\t\t\t\t// the date of the payment.\n\t\tString emailaddress = parameters.get(\"emailaddress\"); \t\t// the email address of the payer.\n\t\tString cardholder = parameters.get(\"cardholder\");\t\t\t// the card holder name.\n\t\tString cardnumber = parameters.get(\"cardnumber\");\t\t\t// the card number.\n\t\tString cardmonth = parameters.get(\"cardmonth\");\t\t\t\t// the card expiry month.\n\t\tString cardyear = parameters.get(\"cardyear\");\t\t\t\t// the card expiry year.\n\t\tString cardcode = parameters.get(\"cardcode\");\t\t\t\t// the card CCV code.\n\t\tString amount = parameters.get(\"amount\");\t\t\t\t\t// the amount to be charged to the card.\n\t\tString remote_host = parameters.get(\"remote_host\");\t\t\t// the remote host URL.\n\n\t\tDouble value = Double.valueOf(amount);\n\t\tif (pos == null || pos.isEmpty() || Model.decrypt(pos).length() > 10) {throw new ServiceException(Error.pos_invalid, pos);}\n\t\tif (reservationid == null || reservationid.isEmpty() || reservationid.length() > 10) {throw new ServiceException(Error.reservation_id, reservationid);}\n\t\tif (emailaddress == null || emailaddress.isEmpty() || !Party.isEmailAddress(emailaddress)) {throw new ServiceException(Error.party_emailaddress, emailaddress);}\n\t\tif (cardholder == null || cardholder.isEmpty() || cardholder.length() > 100) {throw new ServiceException(Error.card_holder, cardholder);}\n\t\tif (cardnumber == null || cardnumber.isEmpty() || cardnumber.length() > 20) {throw new ServiceException(Error.card_number, cardnumber);}\n\t\tif (cardmonth == null || cardmonth.isEmpty() || cardmonth.length() != 2) {throw new ServiceException(Error.card_month, cardmonth);}\n\t\tif (cardyear == null || cardyear.isEmpty() || cardyear.length() != 4) {throw new ServiceException(Error.card_year, cardyear);}\n\t\tif (cardcode == null || cardcode.isEmpty() || cardcode.length() < 3) {throw new ServiceException(Error.card_code, cardcode);}\n\t\tif (value == null || value <= 0.0) {throw new ServiceException(Error.card_amount, amount);}\n\n\t\tSqlSession sqlSession = RazorServer.openSession();\n\t\tPayWidgetItem result = new PayWidgetItem();\n\t\ttry {\n\t\t\tJSONService.getParty(sqlSession, pos);\n\t\t\tReservation reservation = sqlSession.getMapper(ReservationMapper.class).read(reservationid);\n//\t\t\tParty customer = JSONService.getCustomer (sqlSession, emailaddress, familyname, firstname, reservation.getOrganizationid(), agent.getId());\n//\t\t\treservation.setCustomerid(customer.getId());\n//\t\t\tFinance finance = JSONService.getFinance(sqlSession, customer.getId(), cardholder, cardnumber, cardmonth, cardyear,\tcardcode);\n//\t\t\treservation.setFinanceid(finance.getId());\n//\t\t\treservation.setNotes(notes);\n//\t\t\tsqlSession.getMapper(ReservationMapper.class).update(reservation);\n\n\t\t\tElement element = PaygateHandler.getXML(reservation.getName(), cardholder, cardnumber, cardmonth + cardyear, value, reservation.getCurrency(), cardcode, emailaddress, remote_host);\n\n\t\t\tEvent<Journal> event = JSONService.cardReceipt(sqlSession, reservation, element, cardholder, value);\n\t\t\tresult.setId(reservation.getOrganizationid());\n\t\t\tresult.setName(event.getName());\n\t\t\tresult.setState(RazorWidget.State.SUCCESS.name());\n\t\t\tresult.setAmount(value);\n\t\t\tresult.setCurrency(reservation.getCurrency());\n\t\t\tresult.setMessage(JSONService.getNotes(element));\n\t\t\tsqlSession.commit();\n\t\t}\n\t\tcatch (Throwable x) {\n\t\t\tsqlSession.rollback();\n\t\t\tresult.setId(null);\n\t\t\tresult.setName(null);\n\t\t\tresult.setState(RazorWidget.State.FAILURE.name());\n\t\t\tresult.setAmount(value == null ? 0.0 : value);\n\t\t\tresult.setCurrency(Currency.Code.USD.name());\n\t\t\tresult.setMessage(x.getMessage());\n\t\t}\n\t\tfinally {sqlSession.close();}\n\t\treturn result;\n\t}", "@GetMapping(\"/paymentGateway/payments/{payment_id}\")\n\tpublic PaymentDetails getPayment(@PathVariable String payment_id) {\n\t\treturn paymentQueryService.getPayment(payment_id);\n\t}", "@SuppressWarnings(\"unchecked\")\n\tpublic List<Payment> retrievePaymentDetails() throws ApplicationException {\n \tSession session = null;\n try {\n session = getSession();\n\t return session.createQuery(\"FROM PurchaseOrder\").list(); \n\t } catch (HibernateException e) {\n\t throw new ApplicationException(\"Some error occured while listing the details of all cart\",e); \n\t } finally {\n\t \t session.flush();\n\t }\n }", "@GetMapping(\n value = \"/driver-vehicle-history\",\n produces = \"application/json\")\n List<Vehicle> getDriversVehicleHistory(@RequestParam(value = \"driverId\", required = true) int driverId);", "@Override\n\tpublic List<Payment> selectPayments(Payment payment) throws Exception {\n\t\treturn registerMapper.selectPayments(payment);\n\t}", "@GetMapping(\"/payment/{id}\")\n\tpublic ResponseEntity<Payment> viewPayment(@PathVariable(\"id\") int paymentId) {\n\t\tlogger.info(\"Viewing Payment\");\n\t\tif (payService.viewPayment(paymentId) == null) {\n\t\t\tthrow new PaymentNotFoundException(\"Payment not found with given id: \" + paymentId);\n\t\t}\n\t\tPayment payment = payService.viewPayment(paymentId);\n\t\treturn ResponseEntity.ok().body(payment);\n\t}", "@GetMapping(\"/list\")\n public List<Traveller> listTraveller() {\n List<Traveller> theTraveller = travelService.findAll();\n return theTraveller;\n }", "public List<CurriculumVO> getAllCurriculum();", "public List<VehicleMaintenance> getVehicleMaintenances(){\n\n return vehicleMaintenanceRepository.findAll();\n }", "public ArrayList<Payment> getPaymentList(){\n\t\tSession session = HibernateUtils.getSessionFactory().openSession();\n\t\tArrayList<Payment> list = new ArrayList<Payment>();\n\t\ttry{\n\t\t\tCriteria cr = session.createCriteria(TblPayment.class);\n\t\t\tList<TblPayment> payments = cr.list();\n\t\t\tif (payments.size() > 0){\n\t\t\t\tfor (Iterator<TblPayment> iterator = payments.iterator(); iterator.hasNext();){\n\t\t\t\t\tTblPayment tblpayment = iterator.next();\n\t\t\t\t\tPayment payment = new Payment();\n\t\t\t\t\tpayment.convertFromTable(tblpayment);\n\t\t\t\t\tlist.add(payment);\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(HibernateException e){\n\t\t\tSystem.err.println(\"ERROR IN LIST!!!!!!\");\n\t\t\te.printStackTrace();\n\t\t\tthrow new ExceptionInInitializerError(e);\n\t\t}finally{\n\t\t\tsession.close();\n\t\t}\n\t\treturn list;\n\t}", "@GetMapping(\"/procesadors\")\n @Timed\n public List<Procesador> getAllProcesadors() {\n log.debug(\"REST request to get all Procesadors\");\n List<Procesador> procesadors = procesadorRepository.findAll();\n return procesadors;\n }", "public Payment viewPayment(int id) {\n\t\treturn payments.get(id);\n\t}", "@RequestMapping(\"/{orderId}/payment\")\n public Mono<Payment> getPaymentOfOrder(@PathVariable(\"orderId\") int orderId) {\n Order order = orderRepository.getOrderById(orderId);\n\n // Get every payment in order\n return HystrixCommands.from(paymentInfo.getPaymentOfOrderCall(order))\n .fallback(paymentInfo.getPaymentOfOrderFallback())\n .commandName(\"getPaymentOfOrderCall\")\n .toMono();\n }", "public List<Vehicle> getVehicles() {\n\t\tList<Vehicle> vehicleList = new ArrayList<Vehicle>();\n\t\tif ((vehicles == null)||(vehicles.isEmpty())) { // call DAO method getCustomers to retrieve list of customer objects from database\n\t\t\ttry {\n\t\t\t\tvehicleList = vehicleService.getAllVehicles();\n\t\t\t} catch (Exception e) {\n\t\t\t\tcurrentInstance = FacesContext.getCurrentInstance();\n\t\t\t\tFacesMessage message = null;\n\t\t\t\tmessage = new FacesMessage(FacesMessage.SEVERITY_ERROR,\"Failed\",\"Failed to retrieve vehicles from the database\" + e.getMessage());\n\t\t\t\tcurrentInstance.addMessage(null, message);\n\t\t\t}\n\t\t} else {\n\t\t\tvehicleList = vehicles;\n\t\t}\n\t\treturn vehicleList;\n\t}", "public interface VehicleService {\n\n void saveOrUpdate(Vehicle detainedObject);\n\n void delete(Vehicle detainedObject);\n List<Vehicle> getByplate(String plate);\n List<Vehicle> getBycarteJone(String carteJone );\n\n}", "Payment find(int paymentID);", "@Transactional(readOnly = true)\n public Result getVehicle(int vehicleId)\n {\n TypedQuery<VehicleDetail> query = db.em().\n createQuery(\"SELECT NEW VehicleDetail(v.vehicleId, v.VIN, v.vehicleYear, v.nickname, m.makeId, m.makeName, mo.modelId, mo.modelName, s.submodelId, s.submodelName, v.tradedForVehicleId, v2.nickname, s2.submodelName, v2.vehicleYear, mo2.modelName) \" +\n \"FROM Vehicle v JOIN Model mo ON v.modelId = mo.modelId \" +\n \"LEFT JOIN Submodel s ON v.submodelId = s.submodelId \" +\n \"JOIN Make m ON m.makeId = mo.makeId \" +\n \"LEFT JOIN Vehicle v2 ON v.tradedForVehicleId = v2.vehicleId \" +\n \"LEFT JOIN Model mo2 ON v2.modelId = mo2.modelId \" +\n \"LEFT JOIN Submodel s2 ON v2.submodelId = s2.submodelId \" +\n \"LEFT JOIN Make m2 ON m2.makeId = mo2.makeId \" +\n \"WHERE v.vehicleId = :vehicleId\", VehicleDetail.class);\n query.setParameter(\"vehicleId\", vehicleId);\n VehicleDetail vehicle = query.getSingleResult();\n\n return ok(views.html.vehicle.render(vehicle));\n }", "CarPaymentMethod processHotDollars();", "@RequestMapping(method = RequestMethod.GET)\n public ModelAndView start(\n @RequestParam final Map<String, String> queryParameters,\n\t\tfinal HttpServletRequest request\n ) {\n \n final Optional<ActiveUserEntity> activeUserEntity = this.getCurrentUser(request);\n if(!activeUserEntity.isPresent()){\n return this.buildInvalidSessionResponse();\n }\n \n\n final ModelAndView modelAndView =\n this.setErrorMessageFromQueryString(\n new ModelAndView(ViewNames.TRANSACTION_DETAIL.getViewName()),\n queryParameters);\n modelAndView.addObject( //TODO: Do we need the user to be elevated?\n ViewModelNames.IS_ELEVATED_USER.getValue(),\n this.isElevatedUser(activeUserEntity.get()));\n \n try {\n modelAndView.addObject(\n ViewModelNames.PRODUCTS.getValue(),\n this.productsQuery.execute());\n } catch (final Exception e) {\n modelAndView.addObject(\n ViewModelNames.ERROR_MESSAGE.getValue(),\n e.getMessage());\n modelAndView.addObject(\n ViewModelNames.PRODUCTS.getValue(),\n (new Product[0]));\n }\n final List<TransactionEntry> transactionEntries;\n long totalPrice = 0L;\n double totalQuantity = 0.0;\n try {\n transactionEntries = this.transactionEntriesQuery.execute();\n final List<TransactionEntry> actualTransactionEntries = new LinkedList<>();\n //all transactionentris with all 0 transactionIds are current transaction, this removes all others\n for (int i = 0; i < transactionEntries.size(); i++)\n {\n UUID defaultUUID = UUID.fromString(\"00000000-0000-0000-0000-000000000000\");\n //System.out.println(\"in the \" + i + \" loop\");\n if(defaultUUID.equals(transactionEntries.get(i).getTransactionId()))\n {\n //System.out.println(\"the \" + i + \" has the \" + transactionEntries.get(i).getTransactionId().toString() + \"yeet\");\n //System.out.println(\"removing \" + i + \" from the list\");\n actualTransactionEntries.add(transactionEntries.get(i));\n totalPrice += (transactionEntries.get(i).getPrice() * transactionEntries.get(i).getQuantity());\n totalQuantity += transactionEntries.get(i).getQuantity();\n }\n\n }\n modelAndView.addObject(\"totalPrice\", totalPrice);\n modelAndView.addObject(\"totalQuantity\", totalQuantity);\n modelAndView.addObject(\n ViewModelNames.TRANSACTION_ENTRIES.getValue(),\n actualTransactionEntries);\n } catch (final Exception e) {\n modelAndView.addObject(\n ViewModelNames.ERROR_MESSAGE.getValue(),\n e.getMessage());\n modelAndView.addObject(\n ViewModelNames.TRANSACTION_ENTRIES.getValue(),\n (new TransactionEntry[0]));\n }\n\n\n\n modelAndView.addObject(\n ViewModelNames.TRANSACTION.getValue(),\n (new Transaction()));\n \n return modelAndView;\n }", "public interface FundRecordService {\n\n Page<FundRecordDTO> pageList(HashMap<String, Object> params);\n\n FundRecordDTO save(FundRecordDTO hppVideoDTO);\n\n FundRecordDTO createFundRecordDTO(FundRecordDTO hppVideoDTO);\n\n HashMap<String, Object> checkCreateFundRecordDTO(FundRecordDTO hppVideoDTO);\n\n FundRecordDTO findOne(String id);\n\n List<FundRecordDTO> findAll();\n\n /*\n for app 基金入伙记录\n */\n HashMap<String, Object> findListByFundSignalId(String fundSignalId);\n\n /*\n 我的入伙记录\n */\n List<FundRecordDTO> findMyFund(String userId);\n \n void delete(String id);\n\n /*\n 计算总入伙金额\n */\n Double sumFundByFundSignalId(String id);\n}", "public Payment getPayment(){\n return payment;\n }", "public void calculatePayment() {}", "@Test\n\tpublic void findPricingPrice() throws Exception{\n\t\tmvc.perform(get(new URI(\"/services/price?vehicleId=2\"))\n\t\t\t\t.accept(MediaType.APPLICATION_JSON_UTF8))\n\t\t\t\t.andExpect(status().isOk())\n\t\t\t\t.andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8))\n\t\t\t\t.andExpect(jsonPath(\"vehicleId\",is(2)));\n\t}", "public List<Payment> getAllPayments(String cartid) {\n\t\treturn sessionFactory.getCurrentSession().createQuery(\"from Payment a where a.cartid='\"+cartid+\"' \").list()\t;\t\r\n \r\n\t}", "@PostMapping(\"/payments\")\n\tpublic Payment addPayment(@RequestBody Payment thePayment) {\n\t\t\n\t\tthePayment.setId(0);\n\t\t\n\t\tpaymentService.save(thePayment);\n\t\t\n\t\treturn thePayment;\n\t}", "@GetMapping(\"/_search/payment-infos\")\n @Timed\n public List<PaymentInfoDTO> searchPaymentInfos(@RequestParam String query) {\n log.debug(\"REST request to search PaymentInfos for query {}\", query);\n return paymentInfoService.search(query);\n }", "public List<Vehicle> getAllVehicle() {\n // array of columns to fetch\n String[] columns = {\n COLUMN_VEHICLE_ID,\n COLUMN_VEHICLE_NAME,\n COLUMN_VEHICLE_NUMBER,\n COLUMN_VEHICLE_CC,\n COLUMN_VEHICLE_YEAR,\n COLUMN_VEHICLE_TYPE,\n COLUMN_VEHICLE_FUEL,\n COLUMN_VEHICLE_CATEGORY,\n COLUMN_VEHICLE_DATE\n };\n // sorting orders\n String sortOrder =\n COLUMN_VEHICLE_NAME + \" ASC\";\n List<Vehicle> vehicleList = new ArrayList<Vehicle>();\n\n SQLiteDatabase db = this.getReadableDatabase();\n\n // query the vehicle table\n /**\n * Here query function is used to fetch records from vehicle table this function works like we use sql query.\n */\n Cursor cursor = db.query(TABLE_VEHICLE, //Table to query\n columns, //columns to return\n null, //columns for the WHERE clause\n null, //The values for the WHERE clause\n null, //group the rows\n null, //filter by row groups\n sortOrder); //The sort order\n\n\n // Traversing through all rows and adding to list\n if (cursor.moveToFirst()) {\n do {\n Vehicle vehicle = new Vehicle();\n vehicle.setId(Integer.parseInt(cursor.getString(cursor.getColumnIndex(COLUMN_VEHICLE_ID))));\n vehicle.setName(cursor.getString(cursor.getColumnIndex(COLUMN_VEHICLE_NAME)));\n vehicle.setNumber(cursor.getString(cursor.getColumnIndex(COLUMN_VEHICLE_NUMBER)));\n vehicle.setCc(cursor.getString(cursor.getColumnIndex(COLUMN_VEHICLE_CC)));\n vehicle.setYear(cursor.getString(cursor.getColumnIndex(COLUMN_VEHICLE_YEAR)));\n vehicle.setType(cursor.getString(cursor.getColumnIndex(COLUMN_VEHICLE_TYPE)));\n vehicle.setFuel(cursor.getString(cursor.getColumnIndex(COLUMN_VEHICLE_FUEL)));\n vehicle.setCategory(cursor.getString(cursor.getColumnIndex(COLUMN_VEHICLE_CATEGORY)));\n vehicle.setDate(cursor.getString(cursor.getColumnIndex(COLUMN_VEHICLE_DATE)));\n // Adding vehicle record to list\n vehicleList.add(vehicle);\n } while (cursor.moveToNext());\n }\n cursor.close();\n db.close();\n\n // return vehicle list\n return vehicleList;\n }", "public List<PaymentEntity> getPaymentMethods() {\n return entityManager.createNamedQuery(\"getAllPaymentMethods\", PaymentEntity.class).getResultList();\n\n }", "@RequestMapping(value = \"paymentGateway\", method = RequestMethod.GET)\r\n\t@ResponseBody\r\n\tpublic ModelAndView makePayment(@RequestParam(\"bookingId\") String bookingId,@RequestParam(\"finalFare\") String finalFare) {\r\n\t\tModelAndView modelAndView = new ModelAndView(\"happy_payment\");\r\n\t\tmodelAndView.addObject(\"bookingId\", bookingId);\r\n\t\tmodelAndView.addObject(\"finalFare\", finalFare);\r\n\t\treturn modelAndView;\r\n\r\n\t}", "public void anualTasks(){\n List<Unit> units = unitService.getUnits();\n for(Unit unit: units){\n double amount = 10000; //@TODO calculate amount based on unit type\n Payment payment = new Payment();\n payment.setPaymentMethod(PaymentMethod.Cash);\n Calendar calendar = Calendar.getInstance();\n calendar.set(Calendar.MONTH, 1);\n calendar.set(Calendar.DATE, 30);\n payment.setDate(LocalDate.now());\n TimeZone tz = calendar.getTimeZone();\n ZoneId zid = tz == null ? ZoneId.systemDefault() : tz.toZoneId();\n payment.setAmount(amount);\n payment.setDueDate(LocalDateTime.ofInstant(calendar.toInstant(), zid).toLocalDate());\n payment.setClient(unit.getOwner());\n payment.setUnit(unit);\n payment.setRecurringInterval(365L);\n payment.setStatus(PaymentStatus.Pending);\n paymentService.savePayment(payment);\n }\n }", "public UpdateVehicleCharges() {\n initComponents();\n view();\n \n \n }", "@GetMapping(\"\")\n private String requestPayrollForm(\n @RequestParam(value=\"tanggalIsu\") @DateTimeFormat(pattern=\"yyyy-MM-dd\") Date tanggalIsu,\n HttpServletRequest request,\n Model model) {\n //Initiate Page\n YearMonth reset = payrollService.datetoYM(tanggalIsu);\n Date tanggal_isu = payrollService.YMtoDate(reset);\n try{\n payrollService.getDokumenByTanggal_Isu(tanggal_isu);\n }catch(NoSuchElementException exception){\n DokumenTotalModel dokumenBaru = new DokumenTotalModel();\n payrollService.makeDokumenTotal(dokumenBaru, tanggal_isu);\n }\n DokumenTotalModel dokumen = payrollService.getDokumenByTanggal_Isu(tanggal_isu);\n payrollService.updateDokumenTotal(dokumen);\n\n //Authorization Control\n String role = payrollService.findUser().getId_role().getRole();\n\n if((role.equals(\"Wakil Pengurus Harian\"))&&\n (dokumen.getId_status().getStatus().equals(\"Menunggu Pengajuan\"))){\n String message=\"Mohon maaf, Anda belum memiliki akses ke halaman ini \" +\n \"karena Manajer SDI belum mengajukan dokumen total anggaran\";\n model.addAttribute(\"message\", message);\n return \"payroll-access\";\n } else{\n //List Attribute\n List<DokumenTotalModel> dokumenList = dokumenTotalDb.findAll();\n int lastIndex = dokumenList.size()-1;\n List<List<Integer>> total = payrollService.totalPerDokPerUnit();\n List<String> dateList = payrollService.displayYearMonth();\n model.addAttribute(\"role\", role);\n model.addAttribute(\"dateList\", dateList);\n model.addAttribute(\"dateDisplay\", dateList.get(lastIndex));\n model.addAttribute(\"dokumenDisplay\", dokumenList.get(lastIndex));\n model.addAttribute(\"dokumenList\", dokumenList);\n model.addAttribute(\"unitDisplay\", total.get(lastIndex));\n model.addAttribute(\"total\", total);\n return \"mengajukan-payroll\";\n }\n }", "private Transaction callPaymentServiceApi(Transaction paymentDetails) {\n HttpHeaders headers = new HttpHeaders();\n headers.setAccept(Arrays.asList(MediaType.APPLICATION_JSON));\n HttpEntity<Transaction> entity = new HttpEntity<Transaction>(paymentDetails,headers);\n\n return restTemplate.exchange(\n \"http://localhost:8083/transaction\", HttpMethod.POST, entity, Transaction.class).getBody();\n }", "@GetMapping(path = \"\")\n public ResponseEntity<?> getContractors(){\n logger.debug(\"Request to get all Contractors\");\n List<ContractorDTO> contractors = contractorService.getContractors().stream().map(this::convertToDTO).collect(Collectors.toList());\n if(contractors == null || contractors.size() < 1) throw new ResourceNotFoundException(\"Unable to find any Contractors\");\n return new ResponseEntity(contractors, HttpStatus.ACCEPTED);\n }", "@RequestMapping(value = \"/mypage/selectPaymentList.json\")\n\t@ResponseBody\n\tpublic Map<String, Object> selectPaymentList(@RequestParam Map<String, Object> requestMap, HttpServletRequest request, ModelMap model) throws Exception {\n\t \n\t\tCustomer customer = authenticationService.getCustomer();\n\t\tString esntlId = customer.getEsntlId();\n\t\t\n\t\trequestMap.put(\"esntlId\", esntlId);\n\t\t\t\t\n\t\tMap<String, Object> list = mypageService.selectPaymentList(requestMap);\n\t\treturn list;\n\t}", "public List<Payment> listPayments() throws IOException,\n\t\t\tClassNotFoundException {\n\t\treturn list(Payment.class);\n\t}", "public com.google.common.util.concurrent.ListenableFuture<lnrpc.Rpc.ListPaymentsResponse> listPayments(\n lnrpc.Rpc.ListPaymentsRequest request) {\n return futureUnaryCall(\n getChannel().newCall(getListPaymentsMethod(), getCallOptions()), request);\n }", "public ModelPayment(double payment) {\n this.payment = payment;\n }", "@RequestMapping(value = \"/companies/{companyId}/fleets/{fleetId}/vehicles/{vehicleId\" +\n \"}/contracts\", method = RequestMethod.GET)\n @PreAuthorize(\"hasPermission(#vehicleId, 'vehicle', 'READ') && hasPermission(#companyId, 'company', 'READ') && hasPermission(#fleetId, 'fleet', 'READ')\")\n public ResponseEntity<?> getByCompanyFleetVehicleId(@PathVariable int companyId,@PathVariable int fleetId,@PathVariable int vehicleId,Pageable pagination, ContractFilter filter, BindingResult result) {\n filter.setClientCompany(companyId);\n filter.setFleet(fleetId);\n filter.setVehicle(vehicleId);\n return super.listAll(pagination,filter,result);\n }", "@Override\n\tpublic void returnVehicleForService(Integer vehicle_number) {\n\n\t}", "@GetMapping(\"/act-kodus\")\n @Timed\n public List<ActKodu> getAllActKodus() {\n log.debug(\"REST request to get all ActKodus\");\n return actKoduRepository.findAll();\n }", "public interface Pledge_Service {\n\n PledgeEnt getPledge(String id);\n List<PledgeEnt> getPledgeList(String line_no,String CUSTCOD);\n\n}", "public IBankTransfert payment();", "@RequestMapping(method = RequestMethod.GET)\n\tpublic ResponseEntity<SearchPageResponse<PaymentInformation>> search(\n\t\t\t@RequestParam Map<String, String> requestParams) {\n\n\t\tLOGGER.info(\"Inside paymentinfo search.\");\n\t\tSearchDetails searchDetails = new SearchDetails(requestParams);\n\n\t\tSearchPageResponse<PaymentInformation> pageResponse = paymentInformationService\n\t\t\t\t.search(searchDetails);\n\t\t// If no content found\n\t\tif (pageResponse.getData().isEmpty()) {\n\t\t\treturn new ResponseEntity<SearchPageResponse<PaymentInformation>>(\n\t\t\t\t\tHttpStatus.NO_CONTENT);\n\t\t}\n\t\t// Return with success\n\t\treturn new ResponseEntity<SearchPageResponse<PaymentInformation>>(\n\t\t\t\tpageResponse, HttpStatus.OK);\n\t}", "public interface VehicleService {\n\n Vehicle findById(Long id);\n\n List<Vehicle> findByUserId(String userId);\n\n Vehicle findByNumber(String number);\n\n void saveVehicle(Vehicle user);\n\n void updateVehicle(Vehicle user);\n\n void deleteVehicleById(Long id);\n\n void deleteAllVehicles();\n\n List<Vehicle> findAllVehicles();\n\n boolean isVehicleExists(Vehicle vehicle);\n}", "public interface MerchantSettlementCycleService extends BaseService<MerchantSettlementCycle> {\n\n\n public MerchantSettlementCycle findByMscId(Long mscId) throws InspireNetzException;\n public List<MerchantSettlementCycle> findByMscMerchantNoAndMscRedemptionMerchantAndMscMerchantLocationAndMscStartDateAfterAndMscEndDateBefore(Long mscMerchantNo, Long mscRedemptionMerchant, Long mscMerchantLocation, java.sql.Date mscStartDate, java.sql.Date mscEndDate);\n\n List<MerchantSettlementCycle> findByMscMerchantNoAndMscRedemptionMerchantAndMscStartDateAfterAndMscEndDateBefore(Long mscMerchantNo, Long mscRedemptionMerchant, java.sql.Date mscStartDate, java.sql.Date mscEndDate);\n\n public List<MerchantSettlementCycle> findByMscRedemptionMerchantAndMscMerchantLocationAndMscStartDateAfterAndMscEndDateBefore(Long mscRedemptionMerchant, Long mscMerchantLocation, java.sql.Date mscStartDate, java.sql.Date mscEndDate);\n\n List<MerchantSettlementCycle> findByMscRedemptionMerchantAndMscStartDateAfterAndMscEndDateBefore(Long mscRedemptionMerchant, java.sql.Date mscStartDate, java.sql.Date mscEndDate);\n\n public List<MerchantSettlementCycle> findByMscMerchantNoAndMscMerchantLocationAndMscStartDateAfterAndMscEndDateBefore(Long mscMerchantNo, Long mscMerchantLocation, java.sql.Date mscStartDate, java.sql.Date mscEndDate);\n\n\n List<MerchantSettlementCycle> findByMscMerchantNoAndMscStartDateAfterAndMscEndDateBefore(Long mscMerchantNo, java.sql.Date mscStartDate, java.sql.Date mscEndDate);\n\n public MerchantSettlementCycle validateAndSaveMerchantSettlementCycle(MerchantSettlementCycle merchantSettlementCycle) throws InspireNetzException;\n public MerchantSettlementCycle saveMerchantSettlementCycle(MerchantSettlementCycle merchantSettlementCycle);\n public boolean deleteMerchantSettlementCycle(Long rvrId);\n\n public Date getLastCycleGeneratedDate(Long mscMerchantNo, Long mscRedemptionMerchant, Long mscMerchantLocation);\n\n public boolean generateMerchantSettlementCycle(RedemptionMerchant redemptionMerchant, Long merchantNo);\n\n public boolean generateMerchantSettlementCycleFromMerchant(Long merchantNo,Long redemptionMerchantNo) throws InspireNetzException;\n\n public List<MerchantSettlementCycle> searchMerchantSettlementCycle(Long mscMerchantNo, Long mscRedemptionMerchant, Long mscMerchantLocation, java.sql.Date mscStartDate, java.sql.Date mscEndDate);\n\n boolean markCycleAsSettled(Long mscId) throws InspireNetzException;\n}", "@Override\n\tpublic List<Vehicle> getAll() {\n\t\tList<Vehicle> list = new LinkedList<Vehicle>();\n\t\ttry {\n\t\t\tStatement st = Database.getInstance().getDBConn().createStatement();\n\t\t\tResultSet rs = st.executeQuery(\"SELECT v.vehicle_ID, v.plate_number, v.mv_number, v.engine_number, v.chassis_number, m.description as model_name, c.description as category, v.encumbered_to, v.amount, v.maturity_date, v.status, v.image FROM models m INNER JOIN vehicles v ON m.model_ID=v.model_ID INNER JOIN vehicle_categories c ON c.category_ID=v.category_ID\");\n\t\t\t\n\t\t\twhile(rs.next()) {\n\t\t\t\tBlob blob = rs.getBlob(\"image\");\n\t\t\t\tInputStream is = blob.getBinaryStream(1, (int)blob.length());\n\t\t\t\tBufferedImage bf = ImageIO.read(is);\n\t\t\t\tImage img = SwingFXUtils.toFXImage(bf, null);\n\t\t\t\t\n\t\t\t\tlist.add(new Vehicle(rs.getInt(\"vehicle_ID\"), rs.getString(\"plate_number\"), rs.getString(\"mv_number\"), rs.getString(\"engine_number\"), rs.getString(\"chassis_number\"),rs.getString(\"model_name\"), rs.getString(\"category\"), rs.getString(\"encumbered_to\"), rs.getDouble(\"amount\"), Date.parse(rs.getString(\"maturity_date\")), rs.getString(\"status\"), img));\n\t\t\t}\n\t\t\t\n\t\t\tst.close();\n\t\t\trs.close();\n\t\t} catch(Exception err) {\n\t\t\terr.printStackTrace();\n\t\t}\n\t\treturn list;\n\t}", "List<Travel> getAllTravel();", "@SuppressWarnings(\"unchecked\")\n\t@RequestMapping(value = \"/auction/cs/unserviceableList.do\", method = RequestMethod.GET)\n\t@PreAuthorize(\"isAuthenticated()\")\n\tpublic ModelAndView getCsUnserviceableList() {\n\t\tMap<String, Object> model = new HashMap<String, Object>();\n\t\ttry {\n\t\t\tAuctionMst mstDb = new AuctionMst();\n\n\t\t\tList<CSItemTransactionMst> csTnxMstList = (List<CSItemTransactionMst>) (Object) commonService\n\t\t\t\t\t.getObjectListByAnyColumn(\"CSItemTransactionMst\",\n\t\t\t\t\t\t\t\"ledgerName\", UNSERVICEABLE);\n\t\t\tDepartments department = (Departments) commonService\n\t\t\t\t\t.getAnObjectByAnyUniqueColumn(\"Departments\", \"deptId\",\n\t\t\t\t\t\t\t\"505\");\n\n\t\t\tif (csTnxMstList.size() > 0) {\n\t\t\t\tAuctionMst auctionMst = new AuctionMst();\n\t\t\t\tauctionMst.setId(null);\n\t\t\t\tauctionMst.setCountDate(new Date());\n\t\t\t\tauctionMst.setDepartments(department);\n\t\t\t\tauctionMst.setCreatedDate(new Date());\n\t\t\t\tauctionMst.setCreatedBy(commonService.getAuthUserName());\n\n\t\t\t\tcommonService.saveOrUpdateModelObjectToDB(auctionMst);\n\n\t\t\t\tInteger maxMstId = (Integer) commonService\n\t\t\t\t\t\t.getMaxValueByObjectAndColumn(\"AuctionMst\", \"id\");\n\t\t\t\tmstDb = (AuctionMst) commonService\n\t\t\t\t\t\t.getAnObjectByAnyUniqueColumn(\"AuctionMst\", \"id\",\n\t\t\t\t\t\t\t\tmaxMstId + \"\");\n\n\t\t\t\tfor (CSItemTransactionMst mst : csTnxMstList) {\n\t\t\t\t\tString itemCode = mst.getItemCode();\n\t\t\t\t\tItemMaster itemMaster = (ItemMaster) commonService\n\t\t\t\t\t\t\t.getAnObjectByAnyUniqueColumn(\"ItemMaster\",\n\t\t\t\t\t\t\t\t\t\"itemId\", itemCode);\n\t\t\t\t\tDescoKhath descoKhath = (DescoKhath) commonService\n\t\t\t\t\t\t\t.getAnObjectByAnyUniqueColumn(\"DescoKhath\", \"id\",\n\t\t\t\t\t\t\t\t\tmst.getKhathId().toString());\n\n\t\t\t\t\tAuctionDtl dtl = new AuctionDtl();\n\t\t\t\t\tdtl.setId(null);\n\t\t\t\t\tdtl.setAuctionMst(mstDb);\n\t\t\t\t\tdtl.setItemMaster(itemMaster);\n\t\t\t\t\tdtl.setDescoKhath(descoKhath);\n\t\t\t\t\tdtl.setLedgerQty(mst.getQuantity());\n\t\t\t\t\tdtl.setStoreFinalQty(mst.getQuantity());\n\t\t\t\t\tauctionMst.setCreatedDate(new Date());\n\t\t\t\t\tauctionMst.setCreatedBy(commonService.getAuthUserName());\n\n\t\t\t\t\tcommonService.saveOrUpdateModelObjectToDB(dtl);\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tList<AuctionDtl> dtlList = (List<AuctionDtl>) (Object) commonService\n\t\t\t\t\t.getObjectListByAnyColumn(\"AuctionDtl\", \"auctionMst.id\",\n\t\t\t\t\t\t\tmstDb.getId().toString());\n\n\t\t\tmodel.put(\"auctionMst\", mstDb);\n\t\t\tmodel.put(\"auctionDtlList\", dtlList);\n\t\t\treturn new ModelAndView(\"centralStore/auction/csUnserviceableList\",\n\t\t\t\t\tmodel);\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tmodel.put(\"errorMsg\", e.getMessage());\n\t\t\treturn new ModelAndView(\"centralStore/error\", model);\n\t\t}\n\t}", "public int chargeVehicle() {\n\t\t\n\t\tint price = 0; \n\t\t\n\t\tfor (int i = 0; i < vehicles.size(); i++) {\n\t\t\t\n\t\t\tif(vehicles.get(i) instanceof Car) { // charge 10 GBP per car \n\t\t\t\tprice += 10;\n\t\t\t}\n\t\t\telse if(vehicles.get(i) instanceof Motorcycle) { // charge 5 GBP per motorcycle \n\t\t\t\tprice += 5;\n\t\t\t}\n\t\t\telse if(vehicles.get(i) instanceof Bus) { // charge 25 GBP per bus \n\t\t\t\tprice += 25; \n\t\t\t}\n\t\t}\n\t\t\n\t\treturn price; \n\t}", "public lnrpc.Rpc.ListPaymentsResponse listPayments(lnrpc.Rpc.ListPaymentsRequest request) {\n return blockingUnaryCall(\n getChannel(), getListPaymentsMethod(), getCallOptions(), request);\n }", "@RequestMapping(value = \"paymentList\", method = RequestMethod.GET)\n\tpublic ModelAndView paymentList(@RequestParam(value = \"msg\", required = false)String msg,HttpServletRequest request, HttpServletResponse response) {\n\t\tHttpSession session = request.getSession(true);\n\t\tlong company_id=(long)session.getAttribute(\"company_id\");\n\t\tUser user = new User();\n\t\tuser = (User) session.getAttribute(\"user\");\n\t\tSystem.out.println(\"paymentList\");\n\t\tCompany company=null;\n\t\ttry {\n\t\t\tcompany = companyService.getById(user.getCompany().getCompany_id());\n\t\t} catch (MyWebException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tModelAndView model = new ModelAndView();\n\t\tflag = true;\n\t\tboolean importfail=false;\t\n\t\tboolean importflag = false;\n\t\tList<YearEnding> yearEndlist = yearService.findAllYearEnding(company.getCompany_id());\n\t\tif((String) session.getAttribute(\"msg\")!=null)\n\t\t{\n\t\tmodel.addObject(\"successMsg\", (String) session.getAttribute(\"msg\"));\n\t\tsession.removeAttribute(\"msg\");\n\t\t}\t\t\n\t\tif((String) session.getAttribute(\"filemsg\")!=null)\n\t\t{\n\t\tmodel.addObject(\"filemsg\", ((String) session.getAttribute(\"filemsg\")));\n\t\tmodel.addObject(\"filemsg1\", ((String) session.getAttribute(\"filemsg1\")));\n\t\tmodel.addObject(\"successMsg\", \"NA\");\n\t\tmodel.addObject(\"successVocharList\", successVocharList);\n\t\tmodel.addObject(\"failureVocharList\", failureVocharList);\n\t\t\n\t\tsession.removeAttribute(\"filemsg\");\n\t\tsession.removeAttribute(\"filemsg1\");\n\t\t}\t\n\t\t\n\t\t//code for year\n\t\tList<AccountingYear> yearList = accountingYearService.findAccountRange(user.getUser_id(), user.getCompany().getYearRange(),company_id);\n\n\t\tString currentyear = new Year().toString();//CURRENT YEAR LIKE 2018\n\t\tLocalDate date= new LocalDate();\n\t\tString april1stDate=null;\n\t\tapril1stDate= currentyear+\"-\"+\"04\"+\"-\"+\"01\";\n\t\tLocalDate april1stLocaldate = new LocalDate(april1stDate);\n\t\t\n\t\tif(date.isBefore(april1stLocaldate)) \n\t\t{\n\t\t\tInteger year = Integer.parseInt(currentyear);\n\t\t\tyear=year-1;\n\t\t\tString lastYear =year.toString();\n\t\t\tcurrentyear=lastYear+\"-\"+currentyear;\n\t\t}\n\t\telse if(date.isAfter(april1stLocaldate) || date.equals(april1stLocaldate))\n\t\t{\n\t\t\tInteger year = Integer.parseInt(currentyear);\n\t\t\tyear=year+1;\n\t\t\tString nextYear =year.toString();\n\t\t\tcurrentyear=currentyear+\"-\"+nextYear;\n\t\t\t\n\t\t}\n\t\tLong yearId= null;\n\t\tfor(AccountingYear year:yearList)\n\t\t{\n\t\t\tif(year.getYear_range().equalsIgnoreCase(currentyear))\n\t\t\t{\n\t\t\t\tyearId=year.getYear_id();\n\t\t\t}\n\t\t}\n\n\t\tif(paymentService.findAllPaymentOfCompany(company_id, false).size()!=0)\n\t\t{\n\t\t\timportfail=true;\n\t\t}\n\t\tif(company.getTrial_balance()!=null)\n\t\t{\n\t\t\t\tif (company.getTrial_balance() == true)\t\t\n\t\t\t\t\tmodel.addObject(\"opening_flag\", \"1\");\n\t\t\t\telse\n\t\t\t\tmodel.addObject(\"opening_flag\", \"0\");\n\t\t}\n\t\telse\n\t\t\tmodel.addObject(\"opening_flag\", \"0\");\n\t\tLong quote_id = subscribeservice.getquoteofcompany(company_id);\n\t\tString email = user.getCompany().getEmail_id();\n\t\tif (quote_id != 0) {\n\t\t\timportflag = quoteservice.findAllTransactionimportDetailsUser(email, quote_id); // for subscribed client if he registered his company with quotation and quotation contains master imports facility.\n\t\t}\n\t\tmodel.addObject(\"importflag\", importflag);\n\t\tmodel.addObject(\"paymentList\", paymentService.findAllPaymentOfCompany(company_id, true));\n\t\tmodel.addObject(\"importfail\",importfail);\n\t\tmodel.addObject(\"flagFailureList\", true);\n\t\tmodel.addObject(\"yearEndlist\", yearEndlist);\n\t\tmodel.addObject(\"company\", company);\n\t\tmodel.setViewName(\"/transactions/paymentList\");\n\t\treturn model;\n\t}", "public List<InvoiceViewModel> getAllInvoices(){\n\n try{\n return invoiceService.getAllInvoices();\n }catch (RuntimeException e){\n throw new InvoiceNotFoundException(\"The database is empty!!! No Invoice(s) found in the Database\");\n }\n }", "public List<Payment> listByUserId(Integer user_id) {\n\t\t\n\t\tLOGGER.info(\"obteniendo lista de pagos del usuario {}\", user_id);\n\n\t\treturn paymentRepo.findByUserId(user_id);\n\t}", "List<VehicleTypeDto> findAll();", "@RequestMapping(value = \"\", method = RequestMethod.GET)\n public ArrayList<Invoice> getAllInvoice() {\n return DatabaseInvoicePostgre.getAllInvoice();\n }", "public List<PersonaDTO> consultarPersonas() ;", "public List<VehicleVO> getCarList() {\n return carList;\n }", "CarPaymentMethod processPayPal();", "@Path(\"/{id_payment}\")\n\t@GET\n\tpublic Response getPayment(@PathParam(\"id_payment\") String idPayment) {\n\t\tPayment currentPayment = Database.getPayment(idPayment);\n\t\t// Proceed payment\n\t\tJSONObject result = new JSONObject();\n\t\tresult.append(\"id_payment\", currentPayment.getId());\n\t\tresult.append(\"id_command\", currentPayment.getCommandId());\n\t\tresult.append(\"numCb\", currentPayment.getNumCb());\n\t\tresult.append(\"crypto\", currentPayment.getCrypto());\n\t\tresult.append(\"dateEnd\", currentPayment.getDateEnd());\n\t\treturn Response.ok().entity(result.toString(2)).build();\n\t}", "public List<Payment> retrievePaymentsByClient(Client client) throws DatabaseException {\n\t\ttry {\n\t\t\tthis.startConnection();\n\t\t\tString sql = \"SELECT id_payment FROM purchase WHERE id_client = \"\n\t\t\t\t\t+ returnValueStringBD(String.valueOf(client.getId_client()));\n\t\t\tResultSet rs = command.executeQuery(sql);\n\t\t\tList<String> id_payments = new ArrayList<String>();\n\t\t\twhile (rs.next()) {\n\t\t\t\tString pu = rs.getString(\"id_payment\");\n\t\t\t\tid_payments.add(pu);\n\t\t\t}\n\t\t\tList<Payment> payments = new ArrayList<Payment>();\n\t\t\tfor (String id : id_payments) {\n\t\t\t\tPayment p = this.select(Integer.parseInt(id));\n\t\t\t\tpayments.add(p);\n\t\t\t}\n\t\t\treturn payments;\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tthis.closeConnection();\n\t\t}\n\t\treturn null;\n\t}", "@PostMapping(\"/tlb-trade/getAll\")\n @Timed\n public ResponseEntity<ResponseResult> getAll() {\n log.debug(\"REST request to get a page of TlbTrades\");\n List<TlbTradeDTO> tlbTradeDTOList = tlbTradeService.findAll();\n ResponseResult json = new ResponseResult();\n json.setData(tlbTradeDTOList);\n json.setStatusCode(ResponseResult.SUCCESS_CODE);\n return new ResponseEntity<>(json, HttpStatus.OK);\n }", "public JSONResponse set(HashMap<String, String> parameters) {\n\t\tString pos = parameters.get(\"pos\"); \t\t\t\t\t\t// the point of sale code.\n\t\tString reservationid = parameters.get(\"reservationid\");\t\t// the ID of the reservation.\n\t\tString arrivaltime = parameters.get(\"arrivaltime\"); \t\t// the email address of the payer.\n\t\tString departuretime = parameters.get(\"departuretime\"); \t// the departure time.\n\t\tString emailaddress = parameters.get(\"emailaddress\"); \t\t// the guest's emailaddress.\n\t\tString servicefrom = parameters.get(\"servicefrom\");\t\t\t// the preferred service time.\n\t\tString mobilephone = parameters.get(\"mobilephone\");\t\t\t// the guest's mobile phone number.\n\t\tString notes = parameters.get(\"notes\"); \t\t\t\t\t// the reservation notes.\n\t\tString termsaccepted = parameters.get(\"termsaccepted\");\t\t// reservation terms accepted\n\n\t\tif (pos == null || pos.isEmpty() || Model.decrypt(pos).length() > 10) {throw new ServiceException(Error.pos_invalid, pos);}\n\t\tif (reservationid == null || reservationid.isEmpty() || reservationid.length() > 10) {throw new ServiceException(Error.reservation_id, reservationid);}\n//\t\tif (emailaddress == null || emailaddress.isEmpty() || !Party.isEmailAddress(emailaddress)) {throw new ServiceException(Error.party_emailaddress, emailaddress);}\n\n\t\tSqlSession sqlSession = RazorServer.openSession();\n\t\tPayWidgetItem result = new PayWidgetItem();\n\t\ttry {\n\t\t\tParty agent = JSONService.getParty(sqlSession, pos);\n\t\t\tReservation reservation = sqlSession.getMapper(ReservationMapper.class).read(reservationid);\n//\t\t\tParty customer = sqlSession.getMapper(PartyMapper.class).read(reservation.getCustomerid());\n\t\t\treservation.setArrivaltime(arrivaltime);\n\t\t\treservation.setDeparturetime(departuretime);\n\t\t\treservation.setServicefrom(servicefrom);\n\t\t\treservation.setTermsaccepted(termsaccepted == null ? null : Boolean.valueOf(termsaccepted));\n\t\t\treservation.setNotes(notes);\n\t\t\tsqlSession.getMapper(ReservationMapper.class).update(reservation);\n\t\t\tMonitorService.update(sqlSession, Data.Origin.JQUERY, NameId.Type.Reservation, reservation);\n\t\t\tsqlSession.commit();\n\t\t}\n\t\tcatch (Throwable x) {\n\t\t\tsqlSession.rollback();\n\t\t\tresult.setId(null);\n\t\t\tresult.setName(null);\n\t\t\tresult.setState(RazorWidget.State.FAILURE.name());\n\t\t\tresult.setCurrency(Currency.Code.USD.name());\n\t\t\tresult.setMessage(x.getMessage());\n\t\t}\n\t\tfinally {sqlSession.close();}\n\t\treturn result;\n\t}", "@PreAuthorize(\"hasRole('ROLE_USER')\")\n\t@PostMapping(\"/payments\")\n public Payments createPayments(@Valid @RequestBody Payments payments) \n\t{\t\n\t\treturn paymentsRepository.save(payments);\n }", "@GetMapping(\"/costo-servicios\")\n @Timed\n public List<CostoServicioDTO> getAllCostoServicios() {\n log.debug(\"REST request to get all CostoServicios\");\n return costoServicioService.findAll();\n }", "private String PayAgentPayment(HttpServletRequest request) {\n\n try {\n HttpSession session = request.getSession();\n int serviceId = Integer.parseInt(request.getParameter(CONFIG.PARAM_SERVICE_ID));\n int operationId = Integer.parseInt(request.getParameter(CONFIG.OPERATION_ID));\n String amount = request.getParameter(CONFIG.AMOUNT);\n String agentIdentifier = request.getParameter(CONFIG.PARAM_MSISDN);\n int custId = Integer.parseInt((String) request.getSession().getAttribute(CONFIG.PARAM_PIN));\n String lang = request.getSession().getAttribute(CONFIG.lang).equals(\"\") ? \"en\" : \"ar\";\n\n Donation_AgentPaymentRequestDTO agentPaymentRequestDTO = new Donation_AgentPaymentRequestDTO();\n agentPaymentRequestDTO.setSERVICE_ID(serviceId);\n agentPaymentRequestDTO.setOPERATION_ID(operationId);\n agentPaymentRequestDTO.setAMOUNT(amount);\n agentPaymentRequestDTO.setCUSTOMER_ID(custId);\n agentPaymentRequestDTO.setAGENT_IDENTIFIER(agentIdentifier);\n agentPaymentRequestDTO.setCHANNEL(\"WEB\");\n agentPaymentRequestDTO.setLANG(lang);\n String national_id = request.getParameter(\"national_ID\");\n agentPaymentRequestDTO.setNATIONAL_ID(national_id);\n\n DonationAgentPaymentRespponseDto agentPaymentRespponseDto = MasaryManager.getInstance().do_agent_payment_without_inquiry(agentPaymentRequestDTO);\n MasaryManager.logger.info(\"Error code \" + agentPaymentRespponseDto.getSTATUS_CODE());\n if (agentPaymentRespponseDto.getSTATUS_CODE().equals(\"200\")) {\n\n session.setAttribute(\"donationPaymentResponse\", agentPaymentRespponseDto);\n session.setAttribute(\"SERVICE_ID\", (String.valueOf(serviceId)));\n\n// request.setAttribute(\"Fees\", fees.trim());\n return CONFIG.PAGE_PAY_AGENTPAYMENT;\n } else {\n request.getSession().setAttribute(\"ErrorCode\", CONFIG.getBillErrorCode(request.getSession())\n .concat(agentPaymentRespponseDto.getSTATUS_CODE())\n .concat(\" \")\n .concat(agentPaymentRespponseDto.getSTATUS_MESSAGE()));\n return CONFIG.PAGE_Agent_Payment;\n\n }\n\n } catch (Exception e) {\n MasaryManager.logger.error(\"Exception\" + e.getMessage(), e);\n\n request.getSession().setAttribute(\"ErrorCode\", e.getMessage());\n return CONFIG.PAGE_Agent_Payment;\n }\n\n }", "public interface DigitalFurnitureService {\n\n\tPageResult<DigitalFurnitureVO> queryPage(DataPage<DigitalFurniture> dataPage, DigitalFurniture qVo);\n\n\tPageResult<DigitalFurniture> queryPageUinon(DataPage<DigitalFurniture> dataPage, DigitalFurniture qVo);\n\t\n\tModelResult<DigitalFurniture> save(DigitalFurniture obj);\n\t\n\tModelResult<DigitalFurniture> update(DigitalFurniture obj);\n\t\n\tModelResult<DigitalFurniture> queryById(Integer id);\n\n\tModelResult<List<DigitalFurniture>> queryByIds(List<Integer> ids);\n\n\tModelResult<Integer> count(DigitalFurniture option);\n\n\tModelResult<Boolean> updateStatus(Integer id, Integer shelfStatus, Integer status);\n\n\t/**\n\t * 更新下载量\n\t * @param id\n\t * @return\n\t */\n\tModelResult<Boolean> updateDownloadCount(Integer id);\n\n\t/**\n\t * 查询最新的数字家具(按照时间来)\n\t * @param brandId\n\t * @param size\n\t * @param digitalId\n\t * @return\n\t */\n\tModelResult<List<DigitalFurnitureVO>> queryLatestListByBrand(int brandId, int size, int digitalId,String spaceCategory,String style, Integer type);\n\n\t/**\n\t * 查询其它品牌的数字家具(按照时间来)\n\t * @param brandId\n\t * @param size\n\t * @return\n\t */\n\tModelResult<List<DigitalFurnitureVO>> queryLatestListWithoutBrand(int brandId, int size,String spaceCategory,String style, Integer type);\n\n\t/**\n\t * 查询拍套饰品(按照时间来)\n\t * @param brandId\n\t * @param size\n\t * @return\n\t */\n\tModelResult<List<DigitalFurnitureVO>> queryLatestDecoration(int brandId, int size,String spaceCategory,String style, Integer type);\n\n\t/**\n\t * 按照最新时间和最新付费的品牌\n\t * @param qVo\n\t * @return\n\t */\n\tModelResult<List<DigitalFurnitureVO>> queryLastTimeAndPayBrand(DigitalFurniture qVo);\n\n\t/**\n\t * 删除与品牌相关的大类缓存\n\t * @param brandId\n\t * @return\n\t */\n\tModelResult<Boolean> deleteMemcachedLastTimeAndPayBrand(int brandId);\n\n\tPageResult<DigitalFurniture> queryPage1(DataPage<DigitalFurniture> dataPage, DigitalFurniture qVo);\n\n}", "public VehicleSearchRS getVehicles() {\r\n\t\tVehicleSearchRS response = null;\r\n\t\t//VehicleSearchService vehiclesearch = new VehicleSearchService();\r\n\t\t\r\n\t\t///Suppliers are useful when we donít need to supply any value and obtain a result at the same time.\r\n\t\tSupplier<VehicleSearchService> vehiclesearch = VehicleSearchService::new;\r\n\t\ttry {\r\n\t\t\tresponse = vehiclesearch.get().getVehicles(searchRQ);\r\n\t\t\t//System.out.println(response);\r\n\t\t} catch (VehicleValidationException e) {\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t}\r\n\t\treturn response;\r\n\t}", "@RequestMapping(\"xqh/ad/month/settlement\")\npublic interface IAdMonthSettlementController\n{\n @PostMapping(\"list\")\n public AdMonthSettlementSearchVO search(@RequestParam(\"search\") Search search,\n @RequestParam(value = \"page\", defaultValue = \"1\") int page,\n @RequestParam(value = \"size\", defaultValue = \"10\") int size);\n\n\n @PutMapping\n public int insert(@RequestBody @Valid @NotNull AdMonthSettlementCreateDTO dto,\n HttpServletResponse resp);\n\n\n @PostMapping\n public int update(@RequestBody @Valid @NotNull AdMonthSettlementUpdateDTO dto);\n\n @PostMapping(\"delete\")\n public int delete(@RequestBody @Valid @NotNull AdMonthSettlementDeleteDTO dto);\n\n @GetMapping(\"tempCreate\")\n public void tempCreate(@RequestParam(value = \"year\") int year,\n @RequestParam(value = \"month\") int month);\n\n}", "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n// response.setContentType(\"application/json\");\n //method level variable\n PrintWriter pw=response.getWriter();\n Connection con = null;\n PreparedStatement pst = null;\n ResultSet rs = null;\n String orderId=request.getParameter(\"orderId\");\n double paidAmount=0.0;\n String transactionStatus=\"success\";\n int a=0;\n \n\n\n//receive OrderId from the angular controller\n\n //fetching oder details throug orderId\n try {\n con=new connection().dbConnection();\n \n if (con != null&&orderId!=null) {\n pst = con.prepareStatement(\"select total_amt from book_order where order_id=? \");\n pst.setString(1, orderId);//order id entered\n rs = pst.executeQuery();\n if (rs.next()) {\n paidAmount=rs.getDouble(\"total_amt\");\n\n\n \n } else {\n\n }\n\n }\n } catch (SQLException e) {\n e.printStackTrace();\n try{con.close();\n pst.close();\n rs.close();}\n catch (SQLException ep) {\n ep.printStackTrace();\n }\n \n }\n finally{\n \n try{con.close();\n pst.close();\n rs.close();}\n catch (SQLException ep) {\n ep.printStackTrace();\n }\n \n }\n \n\n \n \n \n \n \n //creating transaction\n \n try {\n con=new connection().dbConnection();\n \n if (con != null) {\n pst = con.prepareStatement(\"insert into payment values(transaction_id.nextval,?,?,(select sysdate from dual),?) \");\n pst.setString(1, orderId);//order id entered\n pst.setString(2,transactionStatus);\n pst.setDouble(3,paidAmount);\n a = pst.executeUpdate();\n if (a!=0) {\n System.out.println(\"transaction done\");\n\n\n \n } else {\n\n }\n\n }\n } catch (SQLException e) {\n e.printStackTrace();\n try{con.close();\n pst.close();\n rs.close();}\n catch (SQLException ep) {\n ep.printStackTrace();\n }\n \n }\n finally{\n \n try{con.close();\n pst.close();\n rs.close();}\n catch (SQLException ep) {\n ep.printStackTrace();\n }\n \n }\n \n \n \n \n \n }", "public interface VehicleMapper {\n\n Vehicle getById(long id);\n\n List<Vehicle> getByViid(@Param(\"viid\") Long viid, @Param(\"is_delete\") Integer is_delete);\n\n List<Vehicle> getByViidAndStatus(@Param(\"viid\") Long viid, @Param(\"status\") Integer status, @Param(\"is_delete\") Integer is_delete);\n\n //int getVehicleCount(@Param(\"viid\") long viid);\n\n Vehicle getByNumber(String number);\n\n List<Vehicle> getAll(@Param(\"is_delete\") Integer is_delete);\n\n int updateVehicleById(Vehicle vehicle);\n\n int updateVehicleDescription(Vehicle vehicle);\n\n int insertVehicle(Vehicle vehicle);\n\n int updateVehicleToDelete(Long id);\n\n List<VehicleCount> getVehicleCount(@Param(\"viid\") Long viid, @Param(\"is_delete\") Integer is_delete);\n}", "@GetMapping(\"/api/rents/findbycar/{id}\")\r\n public ResponseEntity<List<Rent>> findByCar(@PathVariable(name = \"id\") Long id){\r\n final List<Rent> rent = rentService.findByCarId(id);\r\n return rent != null\r\n ? new ResponseEntity<>(rent, HttpStatus.OK)\r\n : new ResponseEntity<>(HttpStatus.NOT_FOUND);\r\n }", "com.dogecoin.protocols.payments.Protos.Payment getPayment();", "List<Cargo> getCargoesForOrder(OrderDTO orderDTO);", "@Override\r\n\tpublic void serviceVehicle() {\n\t\t\r\n\t\tVehicle vehicle = (ThreeWhleer)context.getBean(\"vehicle3.bean\");\r\n\t\t\r\n\t\tvehicle.serviceVehicle();\r\n\t}", "@PostMapping(\"/view-policies/page\")\n @Timed\n public ResponseEntity<ViewPolicyDT> getAllViewPolicies(@RequestBody DatatablesRequest datatablesRequest) {\n log.debug(\"REST request to get all ViewPolicies\");\n ViewPolicyDT dt = new ViewPolicyDT();\n dt.setRecordsFiltered(viewPolicyService.getCountPoliciesWithFiltter(datatablesRequest.getSearchValue()));\n dt.setRecordsTotal(viewPolicyService.getCountPolicies());\n\n try {\n final Integer page = new Double(Math.ceil(datatablesRequest.getStart() / datatablesRequest.getLength())).intValue();\n final PageRequest pr = new PageRequest(page, datatablesRequest.getLength());\n List<ViewPolicyDTO> dtos = viewPolicyService.findAll(datatablesRequest.getSearchValue(), pr).getContent();\n if(CollectionUtils.isNotEmpty(dtos)) {\n dt.setData(dtos);\n return ResponseEntity.ok().body(dt);\n } else {\n return ResponseEntity.ok().body(dt);\n }\n \n } catch (Exception e) {\n log.error(\"Erreur lors de la pagination\");\n return new ResponseEntity<>(HttpStatus.NOT_FOUND);\n }\n\n }" ]
[ "0.71704614", "0.6973412", "0.6446214", "0.633036", "0.6240562", "0.61244106", "0.611042", "0.608317", "0.6045027", "0.6034322", "0.60252666", "0.59811544", "0.5969455", "0.5943113", "0.58776706", "0.5787119", "0.5779724", "0.57749724", "0.56906044", "0.567967", "0.56726784", "0.55982995", "0.5582023", "0.5552604", "0.5545842", "0.55387056", "0.5518111", "0.5515654", "0.55062383", "0.5493924", "0.54696894", "0.5424891", "0.54138076", "0.54121304", "0.5382293", "0.535461", "0.5346516", "0.533895", "0.533886", "0.531154", "0.53067535", "0.52991366", "0.5298756", "0.5291137", "0.52873677", "0.5273571", "0.52692336", "0.5265075", "0.526459", "0.5264482", "0.52591974", "0.52538264", "0.52520746", "0.52503055", "0.5240103", "0.5228948", "0.5226651", "0.5225597", "0.52231896", "0.5211185", "0.52081305", "0.52046096", "0.520374", "0.5198329", "0.51957655", "0.51944864", "0.5193211", "0.51862586", "0.5182851", "0.51806265", "0.5178152", "0.5176963", "0.5176895", "0.51756877", "0.51667273", "0.5164294", "0.5161757", "0.51593494", "0.51575696", "0.5145016", "0.51403993", "0.51348126", "0.5131908", "0.51317537", "0.51311475", "0.51288956", "0.5128465", "0.5127799", "0.51275826", "0.51230526", "0.51203525", "0.5111947", "0.5107164", "0.509506", "0.50849426", "0.50844115", "0.5083628", "0.5076811", "0.5075767", "0.50708324" ]
0.7787708
0
This controller is used to return and list all the payments found in the database and request to the service to perform the action
@GetMapping("/payment") public ResponseEntity<List<Payment>> viewAllPayments() { logger.info("View all Payments"); return ResponseEntity.ok().body(payService.viewAllPayments()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GetMapping(\"/payments\")\n public List<Payment> getAllPayments() {\n log.debug(\"REST request to get all Payments\");\n return paymentRepository.findAll();\n }", "@GetMapping(\"/payment-infos\")\n @Timed\n public List<PaymentInfoDTO> getAllPaymentInfos() {\n log.debug(\"REST request to get all PaymentInfos\");\n return paymentInfoService.findAll();\n }", "public List<Payment> findAll(){\n\t\treturn paymentRepository.findAll();\n\t}", "@GetMapping(\"/payments-byuser/{id}\")\n public List<Payment> getPaymentByUser(@PathVariable Long id) {\n log.debug(\"REST request to get Payment : {}\", id);\n return paymentRepository.findByUserIsCurrentUser();\n }", "@GetMapping(\"/payment\")\n public List<Payment> getPayments(@RequestParam int userID) { return paymentDataTierConnection.getPayments(userID); }", "@GetMapping(\"/payments\")\n @Timed\n public ResponseEntity<List<PaymentDTO>> getAllPayments(Pageable pageable) {\n log.debug(\"REST request to get a page of Payments\");\n Page<PaymentDTO> page = paymentQueryService.findAll(pageable);\n HttpHeaders headers = PaginationUtil.generatePaginationHttpHeaders(page, \"/api/payments\");\n return new ResponseEntity<>(page.getContent(), headers, HttpStatus.OK);\n }", "@PreAuthorize(\"hasRole('ROLE_ADMIN')\")\n @GetMapping(\"/payments/{id}\")\n public Payments getPaymentById(@PathVariable(value = \"id\") Integer paymentId) \n {\n return paymentsRepository.findById(paymentId)\n .orElseThrow(() -> new ResourceNotFoundException(\"Technologies\", \"id\", paymentId));\n }", "@GetMapping(\"/payments/{id}\")\n @Timed\n public ResponseEntity<PaymentDTO> getPayment(@PathVariable Long id) {\n log.debug(\"REST request to get Payment : {}\", id);\n Optional<PaymentDTO> paymentDTO = paymentQueryService.findOne(id);\n return ResponseUtil.wrapOrNotFound(paymentDTO);\n }", "@GetMapping(\"/paymentGateway/payments\")\n\tpublic PaymentHistory getAllPaymentsFromGateway() {\n\t\treturn paymentQueryService.getAllPayments();\n\t}", "@GetMapping(\"/payments/{id}\")\n public ResponseEntity<Payment> getPayment(@PathVariable Long id) {\n log.debug(\"REST request to get Payment : {}\", id);\n Optional<Payment> payment = paymentRepository.findById(id);\n return ResponseUtil.wrapOrNotFound(payment);\n }", "public List<Payment> getAllPayments() {\n\t\treturn null;\r\n\t}", "List<PaymentsIdResponse> getAllPaymentsId();", "@GetMapping(\"/consumer/payment/get/{id}\")\n //@HystrixCommand\n public CommonResult<Payment> getPayment(@PathVariable(\"id\") Long id) {\n return paymentService.getPaymentById(id);\n }", "@RequestMapping(method = RequestMethod.GET)\n public PaymentDTO getPayment(@PathVariable(value = \"paymentId\") String paymentId){\n Payment payment = this.readPaymentService.execute(paymentId);\n PaymentDTO paymentDTO = modelMapper.map(payment, PaymentDTO.class);\n BeanUtils.copyProperties(paymentDTO, payment);\n return paymentDTO;\n }", "@GetMapping(\"/payment/{id}\")\n\tpublic ResponseEntity<Payment> viewPayment(@PathVariable(\"id\") int paymentId) {\n\t\tlogger.info(\"Viewing Payment\");\n\t\tif (payService.viewPayment(paymentId) == null) {\n\t\t\tthrow new PaymentNotFoundException(\"Payment not found with given id: \" + paymentId);\n\t\t}\n\t\tPayment payment = payService.viewPayment(paymentId);\n\t\treturn ResponseEntity.ok().body(payment);\n\t}", "@GetMapping(\"/_search/payments\")\n @Timed\n public ResponseEntity<List<PaymentDTO>> searchPayments(@RequestParam String query, Pageable pageable) {\n log.debug(\"REST request to search for a page of Payments for query {}\", query);\n Page<PaymentDTO> page = paymentQueryService.search(query, pageable);\n HttpHeaders headers = PaginationUtil.generateSearchPaginationHttpHeaders(query, page, \"/api/_search/payments\");\n return new ResponseEntity<>(page.getContent(), headers, HttpStatus.OK);\n }", "@GetMapping(\"/paymentGateway/payments/{payment_id}\")\n\tpublic PaymentDetails getPayment(@PathVariable String payment_id) {\n\t\treturn paymentQueryService.getPayment(payment_id);\n\t}", "@PreAuthorize(\"hasRole('ROLE_USER')\")\n\t@PostMapping(\"/payments\")\n public Payments createPayments(@Valid @RequestBody Payments payments) \n\t{\t\n\t\treturn paymentsRepository.save(payments);\n }", "public Payment viewPayment(int id) {\n\t\treturn payments.get(id);\n\t}", "public ArrayList<Payment> getPaymentList(){\n\t\tSession session = HibernateUtils.getSessionFactory().openSession();\n\t\tArrayList<Payment> list = new ArrayList<Payment>();\n\t\ttry{\n\t\t\tCriteria cr = session.createCriteria(TblPayment.class);\n\t\t\tList<TblPayment> payments = cr.list();\n\t\t\tif (payments.size() > 0){\n\t\t\t\tfor (Iterator<TblPayment> iterator = payments.iterator(); iterator.hasNext();){\n\t\t\t\t\tTblPayment tblpayment = iterator.next();\n\t\t\t\t\tPayment payment = new Payment();\n\t\t\t\t\tpayment.convertFromTable(tblpayment);\n\t\t\t\t\tlist.add(payment);\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(HibernateException e){\n\t\t\tSystem.err.println(\"ERROR IN LIST!!!!!!\");\n\t\t\te.printStackTrace();\n\t\t\tthrow new ExceptionInInitializerError(e);\n\t\t}finally{\n\t\t\tsession.close();\n\t\t}\n\t\treturn list;\n\t}", "@SuppressWarnings(\"unchecked\")\n\tpublic List<Payment> retrievePaymentDetails() throws ApplicationException {\n \tSession session = null;\n try {\n session = getSession();\n\t return session.createQuery(\"FROM PurchaseOrder\").list(); \n\t } catch (HibernateException e) {\n\t throw new ApplicationException(\"Some error occured while listing the details of all cart\",e); \n\t } finally {\n\t \t session.flush();\n\t }\n }", "List<SimpleTransferVO> paymentVOs(Account account, Period period) throws DaoException;", "@GetMapping(\"/vehicle1\")\n\tpublic ResponseEntity<List<Payment>> viewAllPayments(Vehicle vehicle) {\n\t\tlogger.info(\"View all Payments by Vehicle\");\n\t\treturn ResponseEntity.ok().body(payService.viewAllPayments(vehicle));\n\t}", "public Collection<Payment> getPayments(CustomerItem customerItem);", "public List<Payment> listPayments() throws IOException,\n\t\t\tClassNotFoundException {\n\t\treturn list(Payment.class);\n\t}", "@PostMapping(\"/payments\")\n\tpublic Payment addPayment(@RequestBody Payment thePayment) {\n\t\t\n\t\tthePayment.setId(0);\n\t\t\n\t\tpaymentService.save(thePayment);\n\t\t\n\t\treturn thePayment;\n\t}", "public List<PaymentEntity> getPaymentMethods() {\n return entityManager.createNamedQuery(\"getAllPaymentMethods\", PaymentEntity.class).getResultList();\n\n }", "public com.google.common.util.concurrent.ListenableFuture<lnrpc.Rpc.ListPaymentsResponse> listPayments(\n lnrpc.Rpc.ListPaymentsRequest request) {\n return futureUnaryCall(\n getChannel().newCall(getListPaymentsMethod(), getCallOptions()), request);\n }", "@RequestMapping(path=\"/initPaymentGet\", method = RequestMethod.GET)//, produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE)\n\tpublic ResponseEntity<Object> test() {\n\t\tlogger.info(\"Init payment\");\n\t\t//System.out.println(\"DTO: \" + btcDTO.getPrice_currency());\n\t\tString pom = \"\";\n\t\tRestTemplate restTemplate = new RestTemplate();\n\t\t\n\t\tHttpHeaders headers = new HttpHeaders();\n\t\theaders.add(\"Authorization\", \"ab7fzPdN49-xBVoY_LdSifCZiVrqCbdcfjWdweJS\");\n\t\tResponseEntity<String> responseEntity = new RestTemplate().exchange(CREATE_ORDER_API, HttpMethod.GET,\n\t\t\t\tnew HttpEntity<String>(pom, headers), String.class);\n\n\t\t//restTemplate.getForEntity(\"https://google.rs\", String.class);\n\t\t//ResponseEntity<String> response = restTemplate.getForEntity(\"https://api-sandbox.coingate.com/v2/orders\", String.class);\n\t\t//ResponseEntity<String> response = restTemplate.postForEntity(\"https://api.coingate.com/v2/orders\", btcDTO, String.class);\n\t\t\n\t\treturn new ResponseEntity<Object>(responseEntity,HttpStatus.OK);\n\t}", "@RequestMapping(value = \"/invoice\", method = RequestMethod.GET)\n @ResponseStatus(value = HttpStatus.OK)\n public List<InvoiceViewModel> getInvoice(){\n\n return invoiceService.getAllIvm();\n\n }", "List<OrdPaymentRefDTO> findAll();", "public lnrpc.Rpc.ListPaymentsResponse listPayments(lnrpc.Rpc.ListPaymentsRequest request) {\n return blockingUnaryCall(\n getChannel(), getListPaymentsMethod(), getCallOptions(), request);\n }", "public List<Payment> listByUserId(Integer user_id) {\n\t\t\n\t\tLOGGER.info(\"obteniendo lista de pagos del usuario {}\", user_id);\n\n\t\treturn paymentRepo.findByUserId(user_id);\n\t}", "@GetMapping(\"/_search/payment-infos\")\n @Timed\n public List<PaymentInfoDTO> searchPaymentInfos(@RequestParam String query) {\n log.debug(\"REST request to search PaymentInfos for query {}\", query);\n return paymentInfoService.search(query);\n }", "Payment find(int paymentID);", "@Path(\"/{id_payment}\")\n\t@GET\n\tpublic Response getPayment(@PathParam(\"id_payment\") String idPayment) {\n\t\tPayment currentPayment = Database.getPayment(idPayment);\n\t\t// Proceed payment\n\t\tJSONObject result = new JSONObject();\n\t\tresult.append(\"id_payment\", currentPayment.getId());\n\t\tresult.append(\"id_command\", currentPayment.getCommandId());\n\t\tresult.append(\"numCb\", currentPayment.getNumCb());\n\t\tresult.append(\"crypto\", currentPayment.getCrypto());\n\t\tresult.append(\"dateEnd\", currentPayment.getDateEnd());\n\t\treturn Response.ok().entity(result.toString(2)).build();\n\t}", "@Override\n\tpublic List<Payment> selectPayments(Payment payment) throws Exception {\n\t\treturn registerMapper.selectPayments(payment);\n\t}", "@RequestMapping(\"/{orderId}/payment\")\n public Mono<Payment> getPaymentOfOrder(@PathVariable(\"orderId\") int orderId) {\n Order order = orderRepository.getOrderById(orderId);\n\n // Get every payment in order\n return HystrixCommands.from(paymentInfo.getPaymentOfOrderCall(order))\n .fallback(paymentInfo.getPaymentOfOrderFallback())\n .commandName(\"getPaymentOfOrderCall\")\n .toMono();\n }", "public void calculatePayment() {}", "@GetMapping(\"/procesadors\")\n @Timed\n public List<Procesador> getAllProcesadors() {\n log.debug(\"REST request to get all Procesadors\");\n List<Procesador> procesadors = procesadorRepository.findAll();\n return procesadors;\n }", "public List<Payment> viewAllPaymentsPaginated(int start, int limit) {\n\t\tList<Payment> list = new ArrayList<>(payments.values());\n\t\tif(start + limit >= list.size()){\n\t\t\treturn list.subList(start, list.size());\n\t\t}\n\t\treturn list.subList(start, start + limit);\n\t}", "@RequestMapping(value = \"paymentList\", method = RequestMethod.GET)\n\tpublic ModelAndView paymentList(@RequestParam(value = \"msg\", required = false)String msg,HttpServletRequest request, HttpServletResponse response) {\n\t\tHttpSession session = request.getSession(true);\n\t\tlong company_id=(long)session.getAttribute(\"company_id\");\n\t\tUser user = new User();\n\t\tuser = (User) session.getAttribute(\"user\");\n\t\tSystem.out.println(\"paymentList\");\n\t\tCompany company=null;\n\t\ttry {\n\t\t\tcompany = companyService.getById(user.getCompany().getCompany_id());\n\t\t} catch (MyWebException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tModelAndView model = new ModelAndView();\n\t\tflag = true;\n\t\tboolean importfail=false;\t\n\t\tboolean importflag = false;\n\t\tList<YearEnding> yearEndlist = yearService.findAllYearEnding(company.getCompany_id());\n\t\tif((String) session.getAttribute(\"msg\")!=null)\n\t\t{\n\t\tmodel.addObject(\"successMsg\", (String) session.getAttribute(\"msg\"));\n\t\tsession.removeAttribute(\"msg\");\n\t\t}\t\t\n\t\tif((String) session.getAttribute(\"filemsg\")!=null)\n\t\t{\n\t\tmodel.addObject(\"filemsg\", ((String) session.getAttribute(\"filemsg\")));\n\t\tmodel.addObject(\"filemsg1\", ((String) session.getAttribute(\"filemsg1\")));\n\t\tmodel.addObject(\"successMsg\", \"NA\");\n\t\tmodel.addObject(\"successVocharList\", successVocharList);\n\t\tmodel.addObject(\"failureVocharList\", failureVocharList);\n\t\t\n\t\tsession.removeAttribute(\"filemsg\");\n\t\tsession.removeAttribute(\"filemsg1\");\n\t\t}\t\n\t\t\n\t\t//code for year\n\t\tList<AccountingYear> yearList = accountingYearService.findAccountRange(user.getUser_id(), user.getCompany().getYearRange(),company_id);\n\n\t\tString currentyear = new Year().toString();//CURRENT YEAR LIKE 2018\n\t\tLocalDate date= new LocalDate();\n\t\tString april1stDate=null;\n\t\tapril1stDate= currentyear+\"-\"+\"04\"+\"-\"+\"01\";\n\t\tLocalDate april1stLocaldate = new LocalDate(april1stDate);\n\t\t\n\t\tif(date.isBefore(april1stLocaldate)) \n\t\t{\n\t\t\tInteger year = Integer.parseInt(currentyear);\n\t\t\tyear=year-1;\n\t\t\tString lastYear =year.toString();\n\t\t\tcurrentyear=lastYear+\"-\"+currentyear;\n\t\t}\n\t\telse if(date.isAfter(april1stLocaldate) || date.equals(april1stLocaldate))\n\t\t{\n\t\t\tInteger year = Integer.parseInt(currentyear);\n\t\t\tyear=year+1;\n\t\t\tString nextYear =year.toString();\n\t\t\tcurrentyear=currentyear+\"-\"+nextYear;\n\t\t\t\n\t\t}\n\t\tLong yearId= null;\n\t\tfor(AccountingYear year:yearList)\n\t\t{\n\t\t\tif(year.getYear_range().equalsIgnoreCase(currentyear))\n\t\t\t{\n\t\t\t\tyearId=year.getYear_id();\n\t\t\t}\n\t\t}\n\n\t\tif(paymentService.findAllPaymentOfCompany(company_id, false).size()!=0)\n\t\t{\n\t\t\timportfail=true;\n\t\t}\n\t\tif(company.getTrial_balance()!=null)\n\t\t{\n\t\t\t\tif (company.getTrial_balance() == true)\t\t\n\t\t\t\t\tmodel.addObject(\"opening_flag\", \"1\");\n\t\t\t\telse\n\t\t\t\tmodel.addObject(\"opening_flag\", \"0\");\n\t\t}\n\t\telse\n\t\t\tmodel.addObject(\"opening_flag\", \"0\");\n\t\tLong quote_id = subscribeservice.getquoteofcompany(company_id);\n\t\tString email = user.getCompany().getEmail_id();\n\t\tif (quote_id != 0) {\n\t\t\timportflag = quoteservice.findAllTransactionimportDetailsUser(email, quote_id); // for subscribed client if he registered his company with quotation and quotation contains master imports facility.\n\t\t}\n\t\tmodel.addObject(\"importflag\", importflag);\n\t\tmodel.addObject(\"paymentList\", paymentService.findAllPaymentOfCompany(company_id, true));\n\t\tmodel.addObject(\"importfail\",importfail);\n\t\tmodel.addObject(\"flagFailureList\", true);\n\t\tmodel.addObject(\"yearEndlist\", yearEndlist);\n\t\tmodel.addObject(\"company\", company);\n\t\tmodel.setViewName(\"/transactions/paymentList\");\n\t\treturn model;\n\t}", "public Payment getPayment(){\n return payment;\n }", "public void anualTasks(){\n List<Unit> units = unitService.getUnits();\n for(Unit unit: units){\n double amount = 10000; //@TODO calculate amount based on unit type\n Payment payment = new Payment();\n payment.setPaymentMethod(PaymentMethod.Cash);\n Calendar calendar = Calendar.getInstance();\n calendar.set(Calendar.MONTH, 1);\n calendar.set(Calendar.DATE, 30);\n payment.setDate(LocalDate.now());\n TimeZone tz = calendar.getTimeZone();\n ZoneId zid = tz == null ? ZoneId.systemDefault() : tz.toZoneId();\n payment.setAmount(amount);\n payment.setDueDate(LocalDateTime.ofInstant(calendar.toInstant(), zid).toLocalDate());\n payment.setClient(unit.getOwner());\n payment.setUnit(unit);\n payment.setRecurringInterval(365L);\n payment.setStatus(PaymentStatus.Pending);\n paymentService.savePayment(payment);\n }\n }", "@Repository\npublic interface PaymentRepository extends CrudRepository<Payment, Long> {\n\n public List<Payment> findByOrganizationId(Long orgId);\n}", "@GetMapping(\"/deliver-managements\")\n @Timed\n public List<DeliverManagement> getAllDeliverManagements() {\n log.debug(\"REST request to get all DeliverManagements\");\n return deliverManagementRepository.findAll();\n }", "public void listPayments(lnrpc.Rpc.ListPaymentsRequest request,\n io.grpc.stub.StreamObserver<lnrpc.Rpc.ListPaymentsResponse> responseObserver) {\n asyncUnaryCall(\n getChannel().newCall(getListPaymentsMethod(), getCallOptions()), request, responseObserver);\n }", "@GetMapping(\"/payment-infos/{id}\")\n @Timed\n public ResponseEntity<PaymentInfoDTO> getPaymentInfo(@PathVariable Long id) {\n log.debug(\"REST request to get PaymentInfo : {}\", id);\n PaymentInfoDTO paymentInfoDTO = paymentInfoService.findOne(id);\n return ResponseUtil.wrapOrNotFound(Optional.ofNullable(paymentInfoDTO));\n }", "@PostMapping(\"/view-policies/page\")\n @Timed\n public ResponseEntity<ViewPolicyDT> getAllViewPolicies(@RequestBody DatatablesRequest datatablesRequest) {\n log.debug(\"REST request to get all ViewPolicies\");\n ViewPolicyDT dt = new ViewPolicyDT();\n dt.setRecordsFiltered(viewPolicyService.getCountPoliciesWithFiltter(datatablesRequest.getSearchValue()));\n dt.setRecordsTotal(viewPolicyService.getCountPolicies());\n\n try {\n final Integer page = new Double(Math.ceil(datatablesRequest.getStart() / datatablesRequest.getLength())).intValue();\n final PageRequest pr = new PageRequest(page, datatablesRequest.getLength());\n List<ViewPolicyDTO> dtos = viewPolicyService.findAll(datatablesRequest.getSearchValue(), pr).getContent();\n if(CollectionUtils.isNotEmpty(dtos)) {\n dt.setData(dtos);\n return ResponseEntity.ok().body(dt);\n } else {\n return ResponseEntity.ok().body(dt);\n }\n \n } catch (Exception e) {\n log.error(\"Erreur lors de la pagination\");\n return new ResponseEntity<>(HttpStatus.NOT_FOUND);\n }\n\n }", "@RequestMapping(value = \"\", method = RequestMethod.GET)\n public ArrayList<Invoice> getAllInvoice() {\n return DatabaseInvoicePostgre.getAllInvoice();\n }", "public void listPayments(lnrpc.Rpc.ListPaymentsRequest request,\n io.grpc.stub.StreamObserver<lnrpc.Rpc.ListPaymentsResponse> responseObserver) {\n asyncUnimplementedUnaryCall(getListPaymentsMethod(), responseObserver);\n }", "@RequestMapping(method = RequestMethod.GET)\n public ModelAndView start(\n @RequestParam final Map<String, String> queryParameters,\n\t\tfinal HttpServletRequest request\n ) {\n \n final Optional<ActiveUserEntity> activeUserEntity = this.getCurrentUser(request);\n if(!activeUserEntity.isPresent()){\n return this.buildInvalidSessionResponse();\n }\n \n\n final ModelAndView modelAndView =\n this.setErrorMessageFromQueryString(\n new ModelAndView(ViewNames.TRANSACTION_DETAIL.getViewName()),\n queryParameters);\n modelAndView.addObject( //TODO: Do we need the user to be elevated?\n ViewModelNames.IS_ELEVATED_USER.getValue(),\n this.isElevatedUser(activeUserEntity.get()));\n \n try {\n modelAndView.addObject(\n ViewModelNames.PRODUCTS.getValue(),\n this.productsQuery.execute());\n } catch (final Exception e) {\n modelAndView.addObject(\n ViewModelNames.ERROR_MESSAGE.getValue(),\n e.getMessage());\n modelAndView.addObject(\n ViewModelNames.PRODUCTS.getValue(),\n (new Product[0]));\n }\n final List<TransactionEntry> transactionEntries;\n long totalPrice = 0L;\n double totalQuantity = 0.0;\n try {\n transactionEntries = this.transactionEntriesQuery.execute();\n final List<TransactionEntry> actualTransactionEntries = new LinkedList<>();\n //all transactionentris with all 0 transactionIds are current transaction, this removes all others\n for (int i = 0; i < transactionEntries.size(); i++)\n {\n UUID defaultUUID = UUID.fromString(\"00000000-0000-0000-0000-000000000000\");\n //System.out.println(\"in the \" + i + \" loop\");\n if(defaultUUID.equals(transactionEntries.get(i).getTransactionId()))\n {\n //System.out.println(\"the \" + i + \" has the \" + transactionEntries.get(i).getTransactionId().toString() + \"yeet\");\n //System.out.println(\"removing \" + i + \" from the list\");\n actualTransactionEntries.add(transactionEntries.get(i));\n totalPrice += (transactionEntries.get(i).getPrice() * transactionEntries.get(i).getQuantity());\n totalQuantity += transactionEntries.get(i).getQuantity();\n }\n\n }\n modelAndView.addObject(\"totalPrice\", totalPrice);\n modelAndView.addObject(\"totalQuantity\", totalQuantity);\n modelAndView.addObject(\n ViewModelNames.TRANSACTION_ENTRIES.getValue(),\n actualTransactionEntries);\n } catch (final Exception e) {\n modelAndView.addObject(\n ViewModelNames.ERROR_MESSAGE.getValue(),\n e.getMessage());\n modelAndView.addObject(\n ViewModelNames.TRANSACTION_ENTRIES.getValue(),\n (new TransactionEntry[0]));\n }\n\n\n\n modelAndView.addObject(\n ViewModelNames.TRANSACTION.getValue(),\n (new Transaction()));\n \n return modelAndView;\n }", "void runPayment(Payment payments) {\n paymentReceiver.startPaymentBundle(payments.getAccountNumber(), payments.getPaymentDate(), payments.getCurrency());\n for (PaymentLine paymentLine: payments.getPaymentLines()) {\n paymentReceiver.payment(paymentLine.getAmount(), paymentLine.getReference());\n }\n paymentReceiver.endPaymentBundle();\n }", "public IBankTransfert payment();", "public interface PaymentRequestDao {\n\n /**\n * Get all the payment requests that need to be extracted that match a credit memo.\n *\n * @param campusCode - limit results to a single chart\n * @param paymentRequestIdentifier - Payment Request Identifier (can be null)\n * @param purchaseOrderIdentifier - PO Identifier (can be null)\n * @param vendorHeaderGeneratedIdentifier\n * - Vendor Header ID\n * @param vendorDetailAssignedIdentifier - Vendor Detail ID\n * @param currentSqlDateMidnight current SQL date midnight\n * @return - list of payment requests that need to be extracted\n */\n public List<PaymentRequestDocument> getPaymentRequestsToExtract(String campusCode, Integer paymentRequestIdentifier, Integer purchaseOrderIdentifier, Integer vendorHeaderGeneratedIdentifier, Integer vendorDetailAssignedIdentifier, Date currentSqlDateMidnight);\n\n /**\n * Get all the payment requests that need to be extracted that match a credit memo.\n *\n * @param campusCode - limit results to a single chart\n * @param vendor - Vendor Header ID, Vendor Detail ID, Country, Zip Code\n * @param onOrBeforePaymentRequestPayDate\n * only payment requests with a pay date on or before this value will be returned in the\n * iterator\n * @return - list of payment requests that need to be extracted\n */\n public Collection<PaymentRequestDocument> getPaymentRequestsToExtractForVendor(String campusCode, VendorGroupingHelper vendor, Date onOrBeforePaymentRequestPayDate);\n\n /**\n * Get all the payment requests that need to be extracted to PDP.\n *\n * @param onlySpecialPayments - true only include special payments, False - include all\n * @param chartCode - if not null, limit results to a single chart\n * @return - Collection of payment requests\n */\n public List<PaymentRequestDocument> getPaymentRequestsToExtract(boolean onlySpecialPayments, String chartCode, Date onOrBeforePaymentRequestPayDate);\n\n /**\n * Get all the payment requests that are marked immediate that need to be extracted to PDP.\n *\n * @param chartCode - chart of accounts code\n * @return - Collection of payment requests\n */\n public List<PaymentRequestDocument> getImmediatePaymentRequestsToExtract(String chartCode);\n\n /**\n * Get all payment request documents that are eligible for auto-approval. Whether or not a document is eligible for\n * auto-approval is determined according to whether or not the document total is below a pre-determined minimum amount. This\n * amount is derived from the accounts, charts and/or organizations associated with a given document. If no minimum amount can\n * be determined from chart associations a default minimum specified as a system parameter is used to determine the minimum\n * amount threshold.\n *\n * @param todayAtMidnight\n * @return - an Iterator over all payment request documents eligible for automatic approval\n */\n public List<String> getEligibleForAutoApproval(Date todayAtMidnight);\n\n public List<String> getEligibleForAutoApproval();\n\n /**\n * Get a payment request document number by id.\n *\n * @param id - PaymentRequest Id\n * @return - PaymentRequest or null if not found\n */\n public String getDocumentNumberByPaymentRequestId(Integer id);\n\n /**\n * Retrieves a list of document numbers by purchase order id.\n *\n * @param id - purchase order id\n * @return - list of document numbers\n */\n public List<String> getDocumentNumbersByPurchaseOrderId(Integer id);\n\n\n /**\n * Retrieves a list of Payment Requests with the given vendor id and invoice number.\n *\n * @param vendorHeaderGeneratedId - header id of the vendor id\n * @param vendorDetailAssignedId - detail id of the vendor id\n * @param invoiceNumber - invoice number as entered by AP\n * @return - List of Payment Requests.\n */\n public List getActivePaymentRequestsByVendorNumberInvoiceNumber(Integer vendorHeaderGeneratedId, Integer vendorDetailAssignedId, String invoiceNumber);\n\n /**\n * Retrieves a list of Payment Requests with the given vendor id and invoice number.\n *\n * @param vendorHeaderGeneratedId - header id of the vendor id\n * @param vendorDetailAssignedId - detail id of the vendor id\n * @return - List of Payment Requests.\n */\n public List getActivePaymentRequestsByVendorNumber(Integer vendorHeaderGeneratedId, Integer vendorDetailAssignedId);\n\n /**\n * Retrieves a list of Payment Requests with the given PO Id, invoice amount, and invoice date.\n *\n * @param poId - purchase order ID\n * @param invoiceAmount - amount of the invoice as entered by AP\n * @param invoiceDate - date of the invoice as entered by AP\n * @return - List of Pay Reqs.\n */\n public List getActivePaymentRequestsByPOIdInvoiceAmountInvoiceDate(Integer poId, KualiDecimal invoiceAmount, Date invoiceDate);\n\n /**\n * Retrieves a list of potentially active payment requests for a purchase order by status code. Active being defined as being\n * enroute and before final. The issue is that a status of vendor_tax_review may not mean that it's in review, but could be in\n * final (as there isn't a final status code for payment request). Workflow status must be checked further after retrieval.\n *\n * @param purchaseOrderId\n * @return\n */\n public List<String> getActivePaymentRequestDocumentNumbersForPurchaseOrder(Integer purchaseOrderId);\n\n /**\n * Get all payment request which are waiting in receiving status queue\n *\n * @return\n */\n public List<String> getPaymentRequestInReceivingStatus();\n\n}", "@RequestMapping(value=\"/purchase/all\",method=RequestMethod.GET)\n\t\t public @ResponseBody ResponseEntity<List<Purchases>> getAllPurchases(){\n\t\t\t List<Purchases> purchase=(List<Purchases>) purchaseDAO.findAll();\n\t\t\t Books books=null;\n\t\t\t User user=null;\n\t\t\t for(Purchases purch : purchase) {\n\t\t\t\t books=booksDAO.findOne(purch.getIsbn());\n\t\t\t\t purch.setBook(books);\n\t\t\t\t user=userDAO.findOne(purch.getUserId());\n\t\t\t\t purch.setUser(user);\n\t\t\t }\n\t\t\t return new ResponseEntity<List<Purchases>>(purchase, HttpStatus.OK);\n\t\t }", "public List<Payment> getAllPayments(String cartid) {\n\t\treturn sessionFactory.getCurrentSession().createQuery(\"from Payment a where a.cartid='\"+cartid+\"' \").list()\t;\t\r\n \r\n\t}", "@RequestMapping(value = \"updateBooking\", method = RequestMethod.GET)\r\n\t@ResponseBody\r\n\tpublic String updateBooking(@ModelAttribute Payments payment) {\r\n\t\tString jsonResponse = \"\";\r\n\t\tjsonResponse=bookingService.updateBooking(payment);\r\n\t\treturn jsonResponse;\r\n\r\n\t}", "@GetMapping(\"\")\n private String requestPayrollForm(\n @RequestParam(value=\"tanggalIsu\") @DateTimeFormat(pattern=\"yyyy-MM-dd\") Date tanggalIsu,\n HttpServletRequest request,\n Model model) {\n //Initiate Page\n YearMonth reset = payrollService.datetoYM(tanggalIsu);\n Date tanggal_isu = payrollService.YMtoDate(reset);\n try{\n payrollService.getDokumenByTanggal_Isu(tanggal_isu);\n }catch(NoSuchElementException exception){\n DokumenTotalModel dokumenBaru = new DokumenTotalModel();\n payrollService.makeDokumenTotal(dokumenBaru, tanggal_isu);\n }\n DokumenTotalModel dokumen = payrollService.getDokumenByTanggal_Isu(tanggal_isu);\n payrollService.updateDokumenTotal(dokumen);\n\n //Authorization Control\n String role = payrollService.findUser().getId_role().getRole();\n\n if((role.equals(\"Wakil Pengurus Harian\"))&&\n (dokumen.getId_status().getStatus().equals(\"Menunggu Pengajuan\"))){\n String message=\"Mohon maaf, Anda belum memiliki akses ke halaman ini \" +\n \"karena Manajer SDI belum mengajukan dokumen total anggaran\";\n model.addAttribute(\"message\", message);\n return \"payroll-access\";\n } else{\n //List Attribute\n List<DokumenTotalModel> dokumenList = dokumenTotalDb.findAll();\n int lastIndex = dokumenList.size()-1;\n List<List<Integer>> total = payrollService.totalPerDokPerUnit();\n List<String> dateList = payrollService.displayYearMonth();\n model.addAttribute(\"role\", role);\n model.addAttribute(\"dateList\", dateList);\n model.addAttribute(\"dateDisplay\", dateList.get(lastIndex));\n model.addAttribute(\"dokumenDisplay\", dokumenList.get(lastIndex));\n model.addAttribute(\"dokumenList\", dokumenList);\n model.addAttribute(\"unitDisplay\", total.get(lastIndex));\n model.addAttribute(\"total\", total);\n return \"mengajukan-payroll\";\n }\n }", "public Payment getPayment(int index) {\n Payment aPayment = payments.get(index);\n return aPayment;\n }", "@RequestMapping(value = \"/mypage/selectPaymentList.json\")\n\t@ResponseBody\n\tpublic Map<String, Object> selectPaymentList(@RequestParam Map<String, Object> requestMap, HttpServletRequest request, ModelMap model) throws Exception {\n\t \n\t\tCustomer customer = authenticationService.getCustomer();\n\t\tString esntlId = customer.getEsntlId();\n\t\t\n\t\trequestMap.put(\"esntlId\", esntlId);\n\t\t\t\t\n\t\tMap<String, Object> list = mypageService.selectPaymentList(requestMap);\n\t\treturn list;\n\t}", "List<ServicePaymentsStatistics> getServicePaymentStats(Date begin, Date end);", "public List<PaymentStatus> getAllPaymentStatuses() throws ContestManagementException {\n return null;\r\n }", "public List<PaymentStatus> getAllPaymentStatuses() throws ContestManagementException {\n return null;\r\n }", "public ModelPayment(double payment) {\n this.payment = payment;\n }", "public void setPaymentId( Integer paymentId ) {\n this.paymentId = paymentId ;\n }", "public void performPayment() {\n payment.executePayment(amount);\n }", "@RequestMapping(value = \"/commissions\", method = RequestMethod.GET)\n public ResponseEntity<?> listAll(Pageable pagination, CommissionFilter filter, BindingResult result) {\n return super.listAll(pagination, filter, result);\n }", "@RequestMapping(value = \"/\")\n public Map<String, Object> showAll() {\n// Get all invoices\n List<Invoice> invoices = invoiceService.findAll();\n// Build response\n Map<String, Object> response = new LinkedHashMap<String, Object>();\n response.put(\"totalInvoices\", invoices.size());\n response.put(\"invoices\", invoices);\n// Send to client\n return response;\n }", "void pay(Payment payment) {\n\n\t}", "@RequestMapping(value=\"/generateanalysis\",method=RequestMethod.GET)\r\n\tpublic List<PaymentDetailsBean> transactionAnalysis(Date start, Date end){\r\n \r\n\t\treturn service.transactionAnalysis(start, end);\r\n\t}", "@RequestMapping(method = RequestMethod.GET, value = \"/{id}\")\n\tpublic ResponseEntity<PaymentInformation> getPaymentInformation(\n\t\t\t@PathVariable(\"id\") Integer id) {\n\n\t\tPaymentInformation paymentInformation = paymentInformationService\n\t\t\t\t.findPaymentInformationById(id);\n\n\t\tif (paymentInformation == null) {\n\t\t\treturn new ResponseEntity<PaymentInformation>(HttpStatus.NOT_FOUND);\n\t\t}\n\n\t\treturn new ResponseEntity<PaymentInformation>(paymentInformation,\n\t\t\t\tHttpStatus.OK);\n\n\t}", "@RequestMapping(value = \"/estados\",\n method = RequestMethod.GET,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public List<Estado> getAll() {\n log.debug(\"REST request to get all Estados\");\n return estadoRepository.findAll();\n }", "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n// response.setContentType(\"application/json\");\n //method level variable\n PrintWriter pw=response.getWriter();\n Connection con = null;\n PreparedStatement pst = null;\n ResultSet rs = null;\n String orderId=request.getParameter(\"orderId\");\n double paidAmount=0.0;\n String transactionStatus=\"success\";\n int a=0;\n \n\n\n//receive OrderId from the angular controller\n\n //fetching oder details throug orderId\n try {\n con=new connection().dbConnection();\n \n if (con != null&&orderId!=null) {\n pst = con.prepareStatement(\"select total_amt from book_order where order_id=? \");\n pst.setString(1, orderId);//order id entered\n rs = pst.executeQuery();\n if (rs.next()) {\n paidAmount=rs.getDouble(\"total_amt\");\n\n\n \n } else {\n\n }\n\n }\n } catch (SQLException e) {\n e.printStackTrace();\n try{con.close();\n pst.close();\n rs.close();}\n catch (SQLException ep) {\n ep.printStackTrace();\n }\n \n }\n finally{\n \n try{con.close();\n pst.close();\n rs.close();}\n catch (SQLException ep) {\n ep.printStackTrace();\n }\n \n }\n \n\n \n \n \n \n \n //creating transaction\n \n try {\n con=new connection().dbConnection();\n \n if (con != null) {\n pst = con.prepareStatement(\"insert into payment values(transaction_id.nextval,?,?,(select sysdate from dual),?) \");\n pst.setString(1, orderId);//order id entered\n pst.setString(2,transactionStatus);\n pst.setDouble(3,paidAmount);\n a = pst.executeUpdate();\n if (a!=0) {\n System.out.println(\"transaction done\");\n\n\n \n } else {\n\n }\n\n }\n } catch (SQLException e) {\n e.printStackTrace();\n try{con.close();\n pst.close();\n rs.close();}\n catch (SQLException ep) {\n ep.printStackTrace();\n }\n \n }\n finally{\n \n try{con.close();\n pst.close();\n rs.close();}\n catch (SQLException ep) {\n ep.printStackTrace();\n }\n \n }\n \n \n \n \n \n }", "@DeleteMapping(\"/payments/{id}\")\n public ResponseEntity<Void> deletePayment(@PathVariable Long id) {\n log.debug(\"REST request to delete Payment : {}\", id);\n paymentRepository.deleteById(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "@Override\n\tpublic List<RotatePayment> list(HashMap<String, Object> map) {\n\t\treturn paymentDao.list(map);\n\t}", "public Payment createPayment(PaymentEvent paymentEvt, String idempKey) {\n\n\t\tLOGGER.info(\"Procesando pago para el usuario -> {}, currency -> {}, amount -> {}, idempkey -> {} \", paymentEvt.getUser_id(), paymentEvt.getCurrency(), paymentEvt.getAmount(), idempKey);\n\n\t\t//check paramas + unicidad del pago\n\t\tcheckPaymentEvt(paymentEvt, idempKey);\n\n\t\t//convierte a la moneda default el monto recibido \n\t\tDouble originalAmount = paymentEvt.getAmount();\n\t\tDouble amountInCurrencyDefault = currencyService.convertToCurrencyDefault(paymentEvt.getCurrency(), originalAmount);\n\n\t\t//se obtiene los cargos con deuda\n\t\tList<ChargeTO> pendingCharges = chargeService.getPendingCharges(paymentEvt.getUser_id());\n\t\tDouble totalDebt = pendingCharges.stream().map(c -> c.getAmountPending()).reduce(0d, (v1,v2) -> v1+v2 ).doubleValue();\n\t\t\n\t\t//monto del pago <= deuda total\n\t\tcheckDebtTotal(totalDebt, amountInCurrencyDefault);\n\t\n\t\t//se agregan los cargos pagados a la lista de cargos del pago\n\t\tPayment payment = new Payment(paymentEvt, amountInCurrencyDefault, idempKey);\n\t\tDouble pagoAmount = payment.getAmount();\n\t\tfor(ChargeTO chargeTO : pendingCharges) {\n\t\t\tif(pagoAmount > 0) {\n\t\t\t\tDouble amountToUSe = Math.min(pagoAmount, chargeTO.getAmountPending());\n\t\t\t\tpagoAmount = pagoAmount - amountToUSe;\n\t\t\t\tpayment.getCharges().add(new Charge(chargeTO, amountToUSe));\n\t\t\t}\n\t\t}\n\n\t\t//se graba el pago\n\t\tPayment paymentInserted = paymentRepo.insert(payment);\n\n\t\t//se encola el pago en la cola de cargos\n\t\tqueueChargeService.enqueuePayment(paymentInserted);\n\n\t\treturn paymentInserted;\n\t}", "@Transactional(readOnly = true) \n public List<PtoPeriodDTO> findAll() {\n log.debug(\"Request to get all PtoPeriods\");\n List<PtoPeriodDTO> result = ptoPeriodRepository.findAll().stream()\n .map(ptoPeriodMapper::ptoPeriodToPtoPeriodDTO)\n .collect(Collectors.toCollection(LinkedList::new));\n\n if(result.isEmpty()){\n \tresult.add(initialPtoPeriod());\n }\n \n return result;\n }", "@RequestMapping(value = \"/perimetros/\", \n\t method = RequestMethod.GET, \n\t headers=\"Accept=application/json\"\n\t ) \n\tpublic List<PerimetroSensado> getPerimetros(){\n\t\treturn perimetroRepository.findAll();\n\t}", "@Override\n\tpublic ResponseEntity<?> list() {\n\t\treturn ResponseEntity.ok(service.deposit.list(0));\n\t}", "RecordSet loadAllPayment(PolicyHeader policyHeader);", "@PostMapping(\"/payments\")\n public ResponseEntity<Payment> createPayment(@Valid @RequestBody Payment payment) throws URISyntaxException {\n log.debug(\"REST request to save Payment : {}\", payment);\n if (payment.getId() != null) {\n throw new BadRequestAlertException(\"A new payment cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n Payment result = paymentRepository.save(payment);\n return ResponseEntity.created(new URI(\"/api/payments/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString())).body(result);\n }", "public interface PaymentDao {\n\n /**\n * Retrieves the list of all the payments in the repository\n *\n * @return a list of {@link Payment}s\n */\n List<Payment> findAll();\n\n /**\n * Retrieves a payment from the repository, given its id\n *\n * @param id the payment unique identifier\n * @return an {@link Optional} class with a {@link Payment},\n * or an empty one if no payment with the given id exists.\n */\n Optional<Payment> findById(String id);\n\n /**\n * Inserts or updates a payment in the repository\n *\n * @param payment the {@link Payment} to save\n * @return the newly saved {@link Payment}\n */\n Payment save(Payment payment);\n\n /**\n * Deletes a {@link Payment} from the repository\n *\n * @param payment the {@link Payment} to delete\n */\n void delete(Payment payment);\n}", "@Override\n\tpublic RotatePayment getPayment(String id) {\n\t\tRotatePayment payment = paymentDao.getPayment(id);\n\t\tHashMap<String, Object> map = new HashMap<>();\n\t\tmap.put(\"paymentId\", id);\n\t\tList<RotatePaymentDetail> details=paymentDao.listPaymentDetail(map);\n\t\tpayment.setDetailList(details);\n\t\treturn payment;\n\t}", "public List<Payment> retrievePaymentsByPedido(Order order) throws DatabaseException {\n\t\ttry {\n\t\t\tthis.startConnection();\n\t\t\tString sql = \"SELECT id_payment FROM purchase WHERE id_order = \"\n\t\t\t\t\t+ returnValueStringBD(String.valueOf(order.getId()));\n\t\t\tResultSet rs = command.executeQuery(sql);\n\t\t\tList<String> id_payments = new ArrayList<String>();\n\t\t\twhile (rs.next()) {\n\t\t\t\tString pu = rs.getString(\"id_payment\");\n\t\t\t\tid_payments.add(pu);\n\t\t\t}\n\t\t\tList<Payment> payments = new ArrayList<Payment>();\n\t\t\tfor (String id : id_payments) {\n\t\t\t\tPayment pa = this.select(Integer.parseInt(id));\n\t\t\t\tpayments.add(pa);\n\t\t\t}\n\t\t\treturn payments;\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tthis.closeConnection();\n\t\t}\n\t\treturn null;\n\t}", "public CustomerPaymentList getCustomerPayments(String response) throws Exception {\n\n CustomerPaymentList customerPaymentList = new CustomerPaymentList();\n\n JSONObject jsonObject = new JSONObject(response.trim());\n\n JSONArray customerpayments = jsonObject.getJSONArray(\"customerpayments\"); //No I18N\n\n for (int i = 0; i < customerpayments.length(); i++) {\n CustomerPayment customerPayment = new CustomerPayment();\n\n customerPayment.setPaymentId(customerpayments.getJSONObject(i).getString(\"payment_id\"));\n customerPayment.setPaymentNumber(customerpayments.getJSONObject(i).getString(\"payment_number\"));\n customerPayment.setInvoiceNumbers(customerpayments.getJSONObject(i).getString(\"invoice_numbers\"));\n customerPayment.setDate(customerpayments.getJSONObject(i).getString(\"date\"));\n customerPayment.setPaymentMode(customerpayments.getJSONObject(i).getString(\"payment_mode\"));\n customerPayment.setAmount(customerpayments.getJSONObject(i).getDouble(\"amount\")); //No I18N\n customerPayment.setBcyAmount(customerpayments.getJSONObject(i).getDouble(\"bcy_amount\")); //No I18N\n customerPayment.setUnusedAmount(customerpayments.getJSONObject(i).getDouble(\"unused_amount\")); //No I18N\n customerPayment.setBcyUnusedAmount(customerpayments.getJSONObject(i).getDouble(\"bcy_unused_amount\")); //No I18N\n customerPayment.setAccountId(customerpayments.getJSONObject(i).getString(\"account_id\"));\n customerPayment.setAccountName(customerpayments.getJSONObject(i).getString(\"account_name\"));\n customerPayment.setDescription(customerpayments.getJSONObject(i).getString(\"description\"));\n customerPayment.setReferenceNumber(customerpayments.getJSONObject(i).getString(\"reference_number\"));\n customerPayment.setCustomerId(customerpayments.getJSONObject(i).getString(\"customer_id\"));\n customerPayment.setCustomerName(customerpayments.getJSONObject(i).getString(\"customer_name\"));\n\n customerPaymentList.add(customerPayment);\n }\n\n PageContext pageContext = new PageContext();\n\n JSONObject pagecontext = jsonObject.getJSONObject(\"page_context\"); //No I18N\n\n pageContext.setPage(pagecontext.getInt(\"page\")); //No I18N\n pageContext.setPerPage(pagecontext.getInt(\"per_page\")); //No I18N\n pageContext.setHasMorePage(pagecontext.getBoolean(\"has_more_page\")); //No I18N\n pageContext.setReportName(pagecontext.getString(\"report_name\"));\n pageContext.setAppliedFilter(pagecontext.getString(\"applied_filter\"));\n pageContext.setSortColumn(pagecontext.getString(\"sort_column\"));\n pageContext.setSortOrder(pagecontext.getString(\"sort_order\"));\n\n customerPaymentList.setPageContext(pageContext);\n\n return customerPaymentList;\n }", "public interface PaymentService {\n\n\t/**\n\t * Pay the given {@link Order} with the {@link CreditCard} identified by the\n\t * given {@link CreditCardNumber}.\n\t * \n\t * @param order\n\t * @param creditCardNumber\n\t * @return\n\t */\n\tCreditCardPayment pay(Order order, CreditCardNumber creditCardNumber);\n\n\t/**\n\t * Returns the {@link Payment} for the given {@link Order}.\n\t * \n\t * @param order\n\t * @return the {@link Payment} for the given {@link Order} or\n\t * {@literal null} if the Order hasn't been payed yet.\n\t */\n\tPayment getPaymentFor(Order order);\n\n\t/**\n\t * Takes the receipt\n\t * \n\t * @param order\n\t * @return\n\t */\n\tReceipt takeReceiptFor(Order order);\n}", "public List<PosPay> listPosPay(PosPay posPay)throws DataAccessException;", "public ArrayList<Payment> getItemPayments(int item_id) {\n ArrayList<Payment> paymentList = new ArrayList<Payment>();\n SQLiteDatabase db = dbHandler.getWritableDatabase();\n Cursor cursor = db.query(TABLE_PAYMENTS, null, KEY_ITEM_ID + \"=\" + item_id, null, null, null, KEY_DATE + \" DESC\");\n\n if (cursor.getCount() == 0)\n return paymentList;\n\n // looping through all rows and adding to list\n if (cursor.moveToFirst()) {\n do {\n Payment payment = new Payment(Integer.parseInt(cursor.getString(1)), Float.parseFloat(cursor.getString(2)), Long.parseLong(cursor.getString(3)));\n payment.set_id(Integer.parseInt(cursor.getString(0)));\n\n // Adding Payment to list\n paymentList.add(payment);\n } while (cursor.moveToNext());\n }\n cursor.close();\n\n // return Payment list\n return paymentList;\n\n }", "@GetMapping(\"/payment_info/{userId}\")\n\t public ResponseEntity<payment_info> getPaymentInfoById(@PathVariable(value = \"userId\") String userId)\n\t throws ResourceNotFoundException {\n\t payment_info paymentInfo = paymentInfoRepository.findById(userId)\n\t .orElseThrow(() -> new ResourceNotFoundException(\"Payment Info not found for this id :: \" + userId));\n\t return ResponseEntity.ok().body(paymentInfo);\n\t }", "io.opencannabis.schema.commerce.CommercialOrder.OrderPayment getPayment();", "public List<InvoiceViewModel> getAllInvoices(){\n\n try{\n return invoiceService.getAllInvoices();\n }catch (RuntimeException e){\n throw new InvoiceNotFoundException(\"The database is empty!!! No Invoice(s) found in the Database\");\n }\n }", "public CustomerPayment getCustomerPayment(String response) throws Exception {\n CustomerPayment customerPayments = new CustomerPayment();\n\n JSONObject jsonObject = new JSONObject(response.trim());\n\n JSONObject payment = jsonObject.getJSONObject(\"payment\"); //No I18N\n\n customerPayments.setPaymentId(payment.getString(\"payment_id\"));\n customerPayments.setCustomerId(payment.getString(\"customer_id\"));\n customerPayments.setCustomerName(payment.getString(\"customer_name\"));\n customerPayments.setPaymentMode(payment.getString(\"payment_mode\"));\n customerPayments.setDate(payment.getString(\"date\"));\n customerPayments.setAccountId(payment.getString(\"account_id\"));\n customerPayments.setAccountName(payment.getString(\"account_name\"));\n customerPayments.setExchangeRate(payment.getDouble(\"exchange_rate\")); //No I18N\n customerPayments.setAmount(payment.getDouble(\"amount\")); //No I18N\n customerPayments.setBankCharges(payment.getDouble(\"bank_charges\")); //No I18N\n customerPayments.setTaxAccountId(payment.getString(\"tax_account_id\"));\n customerPayments.setTaxAccountName(payment.getString(\"tax_account_name\"));\n customerPayments.setTaxAmountWithheld(payment.getDouble(\"tax_amount_withheld\")); //No I18N\n customerPayments.setDescription(payment.getString(\"description\"));\n customerPayments.setReferenceNumber(payment.getString(\"reference_number\"));\n //customerPayments.setIsSingleInvoicePayment(payment.getBoolean(\"is_single_invoice_payment\"));\n\n JSONArray invoices = payment.getJSONArray(\"invoices\"); //No I18N\n\n List<Invoice> invoicesList = new ArrayList<Invoice>();\n\n for (int i = 0; i < invoices.length(); i++) {\n Invoice invoice = new Invoice();\n\n invoice.setInvoiceNumber(invoices.getJSONObject(i).getString(\"invoice_number\"));\n invoice.setInvoicePaymentId(invoices.getJSONObject(i).getString(\"invoice_payment_id\"));\n invoice.setInvoiceId(invoices.getJSONObject(i).getString(\"invoice_id\"));\n invoice.setAmountApplied(invoices.getJSONObject(i).getDouble(\"amount_applied\")); //No I18N\n invoice.setTaxAmountWithheld(invoices.getJSONObject(i).getDouble(\"tax_amount_withheld\")); //No I18N\n invoice.setTotal(invoices.getJSONObject(i).getDouble(\"total\")); //No I18N\n invoice.setBalance(invoices.getJSONObject(i).getDouble(\"balance\")); //No I18N\n invoice.setDate(invoices.getJSONObject(i).getString(\"date\"));\n invoice.setDueDate(invoices.getJSONObject(i).getString(\"due_date\"));\n\n invoicesList.add(i, invoice);\n }\n\n customerPayments.setInvoices(invoicesList);\n\n return customerPayments;\n }", "@RequestMapping(path = \"medservices\", method = RequestMethod.GET)\n public List<MedicalService> getAllMedServices(){\n return medicalServiceService.getAllMedServices();\n }", "@RequestMapping(method = RequestMethod.POST, value = \"/viewAllCustomer\", consumes = \"application/json\")\n\tpublic ResponseEntity<List<CustomerDaoBean>> viewuser(){\n\t\tList<CustomerDaoBean> beans = payService.viewdetails();\n\t\treturn ResponseEntity.accepted().body(beans);\n\t}", "public List getActivePaymentRequestsByPOIdInvoiceAmountInvoiceDate(Integer poId, KualiDecimal invoiceAmount, Date invoiceDate);", "public interface FundRecordService {\n\n Page<FundRecordDTO> pageList(HashMap<String, Object> params);\n\n FundRecordDTO save(FundRecordDTO hppVideoDTO);\n\n FundRecordDTO createFundRecordDTO(FundRecordDTO hppVideoDTO);\n\n HashMap<String, Object> checkCreateFundRecordDTO(FundRecordDTO hppVideoDTO);\n\n FundRecordDTO findOne(String id);\n\n List<FundRecordDTO> findAll();\n\n /*\n for app 基金入伙记录\n */\n HashMap<String, Object> findListByFundSignalId(String fundSignalId);\n\n /*\n 我的入伙记录\n */\n List<FundRecordDTO> findMyFund(String userId);\n \n void delete(String id);\n\n /*\n 计算总入伙金额\n */\n Double sumFundByFundSignalId(String id);\n}", "public GenericDao<Payment> getPaymentDao();", "public static List<Payment> getPayments(String startDate, String endDate) {\r\n\t\tEntityManager em = DBUtil.getEntityManagerFactory()\r\n\t\t\t\t.createEntityManager();\r\n\t\tString query = \"SELECT p from Payment p \"\r\n\t\t\t\t+ \"WHERE p.paymentDate >= :startDate AND \"\r\n\t\t\t\t+ \"p.paymentDate <= :endDate ORDER BY p.paymentDate DESC\";\r\n\t\tTypedQuery<Payment> q = em.createQuery(query, Payment.class);\r\n\t\tList<Payment> payments = null;\r\n\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd\");\r\n\t\t\r\n\t\ttry {\r\n\t\t\tq.setParameter(\"startDate\", sdf.parse(startDate));\r\n\t\t\tq.setParameter(\"endDate\", sdf.parse(endDate));\r\n\t\t} catch (ParseException e) {\r\n\t\t\tSystem.err.println(e.toString());\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\tpayments = q.getResultList();\r\n\t\t\tif (payments == null || payments.isEmpty())\r\n\t\t\t\tpayments = null;\r\n\t\t} catch (NoResultException n) {\r\n\t\t\tn.printStackTrace();\r\n\t\t} finally {\r\n\t\t\tem.close();\r\n\t\t}\r\n\t\treturn payments;\r\n\t}", "com.dogecoin.protocols.payments.Protos.Payment getPayment();" ]
[ "0.817525", "0.7449535", "0.72091955", "0.70089686", "0.6951501", "0.6932597", "0.68314165", "0.68263435", "0.6816823", "0.68128526", "0.67907584", "0.67132133", "0.6528894", "0.6509251", "0.6382305", "0.63422084", "0.6327421", "0.6266258", "0.624425", "0.6220025", "0.61949486", "0.618547", "0.61541724", "0.61136276", "0.6111249", "0.61018527", "0.6086813", "0.60845375", "0.60427934", "0.6038785", "0.6033676", "0.60067195", "0.59982884", "0.5983896", "0.59544206", "0.5907133", "0.58712673", "0.58712125", "0.58649045", "0.58463025", "0.58386195", "0.58006096", "0.5798532", "0.5765196", "0.57513106", "0.5693721", "0.5686926", "0.5685996", "0.56844413", "0.56760454", "0.5665607", "0.56578165", "0.562928", "0.56219244", "0.5621413", "0.56161475", "0.5598519", "0.55943227", "0.5570653", "0.556503", "0.5548749", "0.55412203", "0.55276763", "0.55276763", "0.5523754", "0.552291", "0.55175626", "0.55141586", "0.55124706", "0.550819", "0.5498517", "0.54735625", "0.5459744", "0.54510826", "0.54418397", "0.54355615", "0.5426048", "0.5425591", "0.5412784", "0.54117733", "0.5406311", "0.5398133", "0.53939414", "0.5380634", "0.53669494", "0.53631973", "0.534802", "0.5345633", "0.53357893", "0.53245485", "0.53217876", "0.53204346", "0.5318649", "0.5317845", "0.53170705", "0.5306119", "0.52862024", "0.52798283", "0.5279336", "0.5276049" ]
0.8075025
1
This function is used to update a specific payment status on basis of given payment id and returns exception if given payment id is not found.
@PatchMapping("/payment/{id}") public ResponseEntity<Payment> updatePaymentStatus(@PathVariable("id") int paymentId, @RequestBody Payment payment) { logger.info("Update Payment Status"); if (payService.updatePaymentStatus(paymentId, payment) == null) { throw new PaymentNotFoundException("Payment not found with this id: " + paymentId); } return ResponseEntity.ok().body(payService.updatePaymentStatus(paymentId, payment)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Transfer updateStatus(Long id, Payment.Status status);", "@Override\n\tpublic int updatePaymentstatus(long transactionid) {\n\t\treturn paydao.modifyPaymentStatus(transactionid);\n\t}", "public OrderPayments updateInvoicePayment(OrderPayments payment, String invoiceNo, String companyId) throws EntityException\n\t\t{\n\n\t\t\tDatastore ds = null;\n\t\t\tCompany cmp = null;\n\t\t\tInwardEntity invoice = null;\n\t\t\tObjectId oid = null;\n\t\t\tObjectId invoiceOid = null;\n\n\n\t\t\ttry\n\t\t\t{\n\t\t\t\tds = Morphiacxn.getInstance().getMORPHIADB(\"test\");\n\t\t\t\toid = new ObjectId(companyId);\n\t\t\t\tQuery<Company> query = ds.createQuery(Company.class).field(\"id\").equal(oid);\n\t\t\t\tcmp = query.get();\n\t\t\t\tif(cmp == null)\n\t\t\t\t\tthrow new EntityException(404, \"cmp not found\", null, null);\n\n\n\t\t\t\tinvoiceOid = new ObjectId(invoiceNo);\n\t\t\t\tQuery<InwardEntity> iQuery = ds.find(InwardEntity.class).filter(\"company\",cmp).filter(\"isInvoice\", true)\n\t\t\t\t\t\t.filter(\"id\", invoiceOid);\n\n\t\t\t\tinvoice = iQuery.get();\n\t\t\t\tif(invoice == null)\n\t\t\t\t\tthrow new EntityException(512, \" invoice not found\", null, null);\n\n\n\t\t\t\t//we need to sub old amt, and add new amt, so get old amt\n\n\t\t\t\tjava.math.BigDecimal prevAmt = null;\n\t\t\t\tboolean match = false;\n\n\t\t\t\t//all deleted in between\n\t\t\t\tif(invoice.getInvoicePayments() == null)\n\t\t\t\t\tthrow new EntityException(513, \"payment not found\", null, null);\n\t\t\t\t\t\n\t\t\t\t\t//always fetch payment prev amt from db, it may have changed in between\t\n\t\t\t\tfor(OrderPayments pay : invoice.getInvoicePayments())\n\t\t\t\t{\n\n\t\t\t\t\tif(pay.getId().toString().equals(payment.getId().toString()))\n\t\t\t\t\t{\n\t\t\t\t\t\tmatch = true;\n\t\t\t\t\t\tprevAmt = pay.getPaymentAmount();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t\tif(match == false)\n\t\t\t\t\tthrow new EntityException(513, \"payment not found\", null, null);\n\n\n\t\t\t\t//payment towards a bill, PO not affected in any way\n\t\t\t\tjava.math.BigDecimal invoiceAdvance = invoice.getInvoiceAdvancetotal().subtract(prevAmt).add(payment.getPaymentAmount());\n\t\t\t\tjava.math.BigDecimal balance = invoice.getInvoiceBalance().add(prevAmt).subtract(payment.getPaymentAmount()); // or grand total - just set advance\n\n\n\t\t\t\t//if null then 0 \n\n\t\t\t\tif(payment.getTdsRate() == null)\n\t\t\t\t\tpayment.setTdsRate(new BigDecimal(0));\n\n\t\t\t\tif(payment.getTdsAmount() == null)\n\t\t\t\t\tpayment.setTdsAmount(new BigDecimal(0));\n\n\t\t\t\t//search for nested payment in the list\n\t\t\t\tiQuery = ds.createQuery(InwardEntity.class).disableValidation().filter(\"id\", invoiceOid).filter(\"invoicePayments.id\", new ObjectId(payment.getId().toString()));\n\n\t\t\t\tUpdateOperations<InwardEntity> ops = ds.createUpdateOperations(InwardEntity.class)\n\n\t\t\t\t\t\t.set(\"invoicePayments.$.paymentDate\", payment.getPaymentDate())\n\t\t\t\t\t\t.set(\"invoicePayments.$.paymentAmount\", payment.getPaymentAmount())\n\t\t\t\t\t\t.set(\"invoicePayments.$.purposeTitle\", payment.getPurposeTitle())\n\t\t\t\t\t\t.set(\"invoicePayments.$.purposeDescription\", payment.getPurposeDescription())\n\t\t\t\t\t\t.set(\"invoicePayments.$.paymentMode\", payment.getPaymentMode())\n\t\t\t\t\t\t.set(\"invoicePayments.$.paymentAccount\", payment.getPaymentAccount())\n\t\t\t\t\t\t.set(\"invoicePayments.$.tdsRate\", payment.getTdsRate())\n\t\t\t\t\t\t.set(\"invoicePayments.$.tdsAmount\", payment.getTdsAmount())\n\t\t\t\t\t\t.set(\"invoicePayments.$.isTdsReceived\", payment.isTdsReceived())\n\t\t\t\t\t\t.set(\"invoiceAdvancetotal\", invoiceAdvance)\n\t\t\t\t\t\t.set(\"invoiceBalance\", balance);\n\n\n\t\t\t\tUpdateResults result = ds.update(iQuery, ops, false);\n\n\t\t\t\tif(result.getUpdatedCount() == 0)\n\t\t\t\t\tthrow new EntityException(512, \"update failed\", null, null);\n\n\n\n\t\t\t}\n\t\t\tcatch(EntityException e)\n\t\t\t{\n\t\t\t\tthrow e;\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\tthrow new EntityException(500, null, e.getMessage(), null);\n\t\t\t}\n\t\t\treturn payment;\n\t\t}", "public int updateFundingStatusByFundingNo(String funding_status, int funding_no) throws Exception;", "public OrderPayments updateAdvPayment(OrderPayments payment, String companyId , String invoiceNo ) throws EntityException\n\t\t{\n\n\t\t\tDatastore ds = null;\n\t\t\tCompany cmp = null;\n\t\t\tInwardEntity invoice = null;\n\t\t\tObjectId oid = null;\n\t\t\tObjectId invoiceOid = null;\n\n\n\t\t\ttry\n\t\t\t{\n\t\t\t\tds = Morphiacxn.getInstance().getMORPHIADB(\"test\");\n\t\t\t\toid = new ObjectId(companyId);\n\t\t\t\tQuery<Company> query = ds.createQuery(Company.class).field(\"id\").equal(oid);\n\t\t\t\tcmp = query.get();\n\t\t\t\tif(cmp == null)\n\t\t\t\t\tthrow new EntityException(404, \"cmp not found\", null, null);\n\n\t\t\t\t//po and bill must be true\n\t\t\t\tinvoiceOid = new ObjectId(invoiceNo);\n\t\t\t\tQuery<InwardEntity> iQuery = ds.find(InwardEntity.class).filter(\"company\",cmp).filter(\"isEstimate\", true).filter(\"isInvoice\", true)\n\t\t\t\t\t\t.filter(\"id\", invoiceOid);\n\n\t\t\t\tinvoice = iQuery.get();\n\t\t\t\tif(invoice == null)\n\t\t\t\t\tthrow new EntityException(512, \"converted invoice not found\", null, null);\n\n\n\t\t\t\t//we need to sub old amt, and add new amt, so get old amt\n\n\t\t\t\tjava.math.BigDecimal prevAmt = null;\n\t\t\t\tboolean match = false;\n\t\t\t\t\n\t\t\t\t//all deleted in between - there are no adv payments now\n\t\t\t\tif(invoice.getEstimatePayments() == null)\n\t\t\t\t\tthrow new EntityException(513, \"payment not found\", null, null);\n\n\t\t\t\tfor(OrderPayments pay : invoice.getEstimatePayments())\n\t\t\t\t{\n\n\t\t\t\t\tif(pay.getId().toString().equals(payment.getId().toString()))\n\t\t\t\t\t{\n\t\t\t\t\t\tmatch = true;\n\t\t\t\t\t\tprevAmt = pay.getPaymentAmount();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t\tif(match == false)\n\t\t\t\t\tthrow new EntityException(513, \"payment not found\", null, null);\n\n\t\t\t\tjava.math.BigDecimal advanceTotal = invoice.getEstimateAdvancetotal().subtract(prevAmt).add(payment.getPaymentAmount());\n\t\t\t\tjava.math.BigDecimal invoiceAdvance =invoice.getInvoiceAdvancetotal().subtract(prevAmt).add(payment.getPaymentAmount());\n\n\t\t\t\t//as PO is converted, change only bill balance , PO balance does not get affected\n\n\t\t\t\tjava.math.BigDecimal balance = invoice.getInvoiceBalance().add(prevAmt).subtract(payment.getPaymentAmount());\n\n\n\t\t\t\t//if null then 0 \n\n\t\t\t\tif(payment.getTdsRate() == null)\n\t\t\t\t\tpayment.setTdsRate(new BigDecimal(0));\n\n\t\t\t\tif(payment.getTdsAmount() == null)\n\t\t\t\t\tpayment.setTdsAmount(new BigDecimal(0));\n\n\t\t\t\t//search for nested payment in the list\n\t\t\t\tiQuery = ds.createQuery(InwardEntity.class).disableValidation().filter(\"id\", invoiceOid).filter(\"estimatePayments.id\", new ObjectId(payment.getId().toString()));\n\n\t\t\t\tUpdateOperations<InwardEntity> ops = ds.createUpdateOperations(InwardEntity.class)\n\n\t\t\t\t\t\t.set(\"estimatePayments.$.paymentDate\", payment.getPaymentDate())\n\t\t\t\t\t\t.set(\"estimatePayments.$.paymentAmount\", payment.getPaymentAmount())\n\t\t\t\t\t\t.set(\"estimatePayments.$.purposeTitle\", payment.getPurposeTitle())\n\t\t\t\t\t\t.set(\"estimatePayments.$.purposeDescription\", payment.getPurposeDescription())\n\t\t\t\t\t\t.set(\"estimatePayments.$.paymentMode\", payment.getPaymentMode())\n\t\t\t\t\t\t.set(\"estimatePayments.$.paymentAccount\", payment.getPaymentAccount())\n\t\t\t\t\t\t.set(\"estimatePayments.$.tdsRate\", payment.getTdsRate())\n\t\t\t\t\t\t.set(\"estimatePayments.$.tdsAmount\", payment.getTdsAmount())\n\t\t\t\t\t\t.set(\"estimatePayments.$.isTdsReceived\", payment.isTdsReceived())\n\t\t\t\t\t\t.set(\"estimateAdvancetotal\",advanceTotal)\n\t\t\t\t\t\t.set(\"invoiceAdvancetotal\", invoiceAdvance)\n\t\t\t\t\t\t.set(\"invoiceBalance\", balance);\n\n\n\t\t\t\tUpdateResults result = ds.update(iQuery, ops, false);\n\n\t\t\t\tif(result.getUpdatedCount() == 0)\n\t\t\t\t\tthrow new EntityException(512, \"update failed\", null, null);\n\n\n\n\t\t\t}\n\t\t\tcatch(EntityException e)\n\t\t\t{\n\t\t\t\tthrow e;\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\tthrow new EntityException(500, null, e.getMessage(), null);\n\t\t\t}\n\t\t\treturn payment;\n\t\t}", "@Override\r\n\tpublic int updatePaymentInfo(Payment payment) {\n\t\treturn session.update(\"payments.updatePayment\", payment);\r\n\t}", "private void updatePayments(int id, int toPay) {\n\t\tint customer_id=id;\n\t\tint payment=toPay;\n\t\ttry {\n\t\t\tPreparedStatement pstmt=con.prepareStatement(\"insert into payments(customerNumber,payments) values(?,?)\");\n\t\t\tpstmt.setInt(1, customer_id);\n\t\t\tpstmt.setInt(2, payment);\n\t\t\tint rowseffected=pstmt.executeUpdate();\n\t\t\tif(rowseffected>0) {\n\t\t\t\tSystem.out.println(\"--------------------------------ORDER PLACED--------------------------------\");\n\t\t\t\tuserTasks();\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "public PaymentStatus getPaymentStatus(long paymentStatusId) throws ContestManagementException {\n return null;\r\n }", "public PaymentStatus getPaymentStatus(long paymentStatusId) throws ContestManagementException {\n return null;\r\n }", "int updateByPrimaryKey(BusinessRepayment record);", "public void setPaymentId( Integer paymentId ) {\n this.paymentId = paymentId ;\n }", "@Override\r\n\tpublic int updateOrderInfoById(int pay_time, int pay_status, int so_id) {\n\t\treturn orderInfoDao.updateOrderInfoById(pay_time, pay_status, so_id);\r\n\t}", "int updateByPrimaryKeySelective(SsPaymentBillPerson record);", "int updateByPrimaryKey(AccountPaymentMethodEntity record);", "int updateByPrimaryKey(PurchasePayment record);", "int updateByPrimaryKeySelective(PurchasePayment record);", "@Override\n\tpublic int updateStatus(HashMap<String, Object> map) {\n\t\treturn paymentDao.updateStatus(map);\n\t}", "int updateByPrimaryKey(SsPaymentBillPerson record);", "io.opencannabis.schema.commerce.Payments.PaymentStatus getStatus();", "boolean updateOrderStatus(long orderId, Order.Status status) throws DaoProjectException;", "@Override\r\n\tpublic void updatePayment(XftPayment xtp) {\n\t\txftPaymentMapper.updateByPrimaryKeySelective(xtp);\r\n\t}", "@Override\n\tpublic ResultMessage update(PaymentOrderPO po) {\n\t\tString sql=\"update paymentlist set date=?,amount=?,payer=?,bankaccount=?,entry=?,note=? where ID=?\";\n\t\ttry {\n\t\t\tstmt=con.prepareStatement(sql);\n\t\t\tstmt.setString(1, po.getDate());\n\t\t\tstmt.setDouble(2, po.getAmount());\n\t\t\tstmt.setString(3, po.getPayer());\n\t\t\tstmt.setString(4, po.getBankAccount());\n\t\t\tstmt.setString(5, po.getEntry());\n\t\t\tstmt.setString(6, po.getNote());\n\t\t\tstmt.setString(7, po.getID());\n\t\t\tstmt.executeUpdate();\n\t\t\treturn ResultMessage.Success;\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\treturn ResultMessage.NotExist;\n\t\t}\n\t}", "public Integer updatePaymentType(PaymentTypeObject paymentTypeObject) throws AppException;", "public int updatePayment2(int requestId, int amount);", "public void updatePaymentStatus(Request r, String username, boolean paid) {\n\n }", "@Override\n\tpublic int updatePayment(RotatePayment record) {\n\t\tList<RotatePaymentDetail> detailList = record.getDetailList();\n\t\tfor(RotatePaymentDetail detail:detailList) {\n\t\t\tif(null==detail.getId()||\"\".equals(detail.getId()))\n\t\t\t\tdetail.setId(UUID.randomUUID().toString().replaceAll(\"-\", \"\"));\t\n\t\t}\n\t\treturn paymentDao.updatePayment(record);\n\t}", "@Override\n\tpublic void updateOrderStatus(String id) {\n\t\tQueryRunner qr= new QueryRunner(dataSource);\n\t\tString sql = \"update orders set status=3 where id=?\";\n\t\ttry {\n\t\t\tqr.update(sql, id);\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\tthrow new RuntimeException(\"更新订单状态失败\");\n\t\t}\n\t}", "int updateByPrimaryKey(PaymentTrade record);", "public String updatePisCommonPaymentStatus() {\n return commonPaymentServiceBaseUrl + \"/pis/common-payments/{paymentId}/status/{status}\";\n }", "int updateByPrimaryKeySelective(PaymentTrade record);", "void updateOrderStatus(String orderNr, String status, Long businessId);", "int updateByPrimaryKeySelective(RepaymentPlanInfoUn record);", "@POST\n\t@Path(\"\")// http://localhost:8080/myretail-services/products/id/\n\t@Consumes(MediaType.TEXT_PLAIN)\n\t@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })\n\tpublic String updatePaymentForID(String id) {\n\t\tSystem.out.println(\"b4>>\" + productPrice.getProductPrice(id));\n\t\tproductPrice.updateProductPrice(id); // Example of updating price in MongoDB\n\t\tSystem.out.println(\"after>>\" + productPrice.getProductPrice(id));\n\t\treturn productPrice.getProductPrice(id);\n\t}", "@Override\n\tpublic void updateStatus(int appointmentId, String status, String reason) {\n\t\ttry{\n\t\t\tjdbcTemplate.update(UPDATE_STATUS, (ps)->{\n\t\t\t\tps.setString(1, status);\n\t\t\t\tps.setString(2, reason);\n\t\t\t\tps.setInt(3, appointmentId);\n\t\t\t});\n\t\t}catch(DataAccessException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "@Override\n\tpublic int updateRefundStatus(long transactionid) {\n\t\treturn paydao.modifyRefundStatus(transactionid);\n\t}", "private void patchPaymentDetailsStatusUpdateIsSaved(final PaymentStatus paymentOutcome) throws IOException {\n\n // Given\n final String checkout_id = \"123456789\";\n final String payment_id = \"987654321\";\n final String eric_header = \"EricHeader\";\n final LocalDateTime paidAt = LocalDateTime.now();\n\n final MockHttpServletRequest request = new MockHttpServletRequest();\n request.addHeader(ApiSdkManager.getEricPassthroughTokenHeader(), eric_header);\n request.setRequestURI(\"/basket/checkouts/\" + checkout_id + \"/payment\");\n\n final BasketPaymentRequestDTO paymentStatusUpdate = new BasketPaymentRequestDTO();\n paymentStatusUpdate.setStatus(paymentOutcome);\n paymentStatusUpdate.setPaidAt(paidAt);\n paymentStatusUpdate.setPaymentReference(payment_id);\n\n final PaymentApi paymentSummary = new PaymentApi();\n paymentSummary.setStatus(\"paid\");\n paymentSummary.setAmount(\"211.03\");\n paymentSummary.setLinks(new HashMap<String, String>() {{\n put(\"resource\", \"/basket/checkouts/\" + checkout_id + \"/payment\");\n }});\n\n when(checkoutService.getCheckoutById(checkout_id)).thenReturn(Optional.of(checkout));\n when(checkout.getData()).thenReturn(checkoutData);\n if (paymentOutcome.equals(PaymentStatus.PAID)) {\n mockCheckoutDataItems();\n when(apiClientService.getPaymentSummary(\"EricHeader\", payment_id)).thenReturn(paymentSummary);\n }\n\n // When\n controllerUnderTest.patchBasketPaymentDetails(paymentStatusUpdate, request, checkout_id, \"requestId\");\n\n // Then\n verify(checkoutData).setStatus(paymentOutcome);\n if (paymentOutcome.equals(PaymentStatus.PAID)) {\n verify(checkoutData).setPaidAt(paidAt);\n verify(checkoutData).setPaymentReference(payment_id);\n }\n verify(checkoutService).saveCheckout(checkout);\n }", "int updateByPrimaryKey(UploadStateRegDTO record);", "@Override\n\tpublic AssignBooking updateStatus(int id, AssignBooking deatchedPojo) {\n\t\tAssignBooking existingBooking=aDao.findById(id).get();\n\t\tif(existingBooking!=null) {\n\t\t\texistingBooking.setBookingId(deatchedPojo.getBookingId());\n\t\t\texistingBooking.setCustomerId(deatchedPojo.getCustomerId());\n\t\t\texistingBooking.setJobId(deatchedPojo.getJobId());\n\t\t\texistingBooking.setWorkerId(deatchedPojo.getWorkerId());\n\t\t\texistingBooking.setBookingStatus(deatchedPojo.getBookingStatus());\n\t\t\tBooking booking=service.updateBooking(existingBooking.getBookingId());\n\t\t\tif(booking!=null)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"updated\");\n\t\t\t}\n\t\t\treturn aDao.save(existingBooking);\n\t\t}\n\t\treturn null;\n\t}", "private void updatePayment(String docId, final String payment) {\n db.collection(\"orders\")\n .document(docId)\n .update(\"PaymentStatus\",payment)\n .addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n Log.d(\"This done\", \"DocumentSnapshot successfully updated!\");\n //Toast.makeText(getActivity().getApplicationContext(),foodList.get(position).getFoodName()+\":Updated\",Toast.LENGTH_LONG).show();\n\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n Log.w(\"This error\", \"Error updating document\", e);\n Toast.makeText(getActivity().getApplicationContext(), \"Server issue\", Toast.LENGTH_LONG).show();\n }\n });\n }", "void updatePurchaseOrderLinkedSaleOrderStatus(long pohId);", "private Optional<Payments> findPaymentById(Integer id) {\n return paymentsList.stream()\n .filter(payment -> payment.getId().equals(id))\n .findAny();\n }", "private boolean update(String id, String status) {\n Connection connection;\n try {\n Class.forName(\"org.apache.derby.jdbc.ClientDriver\");\n connection = DriverManager.getConnection(\"jdbc:derby://localhost:1527/XYZ_Assoc\");\n boolean success = true;\n try (PreparedStatement prepStatement = connection.prepareStatement(\"UPDATE MEMBERS SET \\\"status\\\" = ? WHERE \\\"id\\\" = ?\")) {\n prepStatement.setString(1, status);\n prepStatement.setString(2, id);\n success = success && prepStatement.executeUpdate() > 0;\n }\n try (PreparedStatement prepStatement = connection.prepareStatement(\"UPDATE USERS SET \\\"status\\\" = ? WHERE \\\"id\\\" = ?\")) {\n prepStatement.setString(1, status);\n prepStatement.setString(2, id);\n success = success && prepStatement.executeUpdate() > 0;\n }\n return success;\n } catch (ClassNotFoundException | SQLException ex) {\n return false;\n }\n }", "@PreAuthorize(\"hasRole('ROLE_ADMIN')\")\n @GetMapping(\"/payments/{id}\")\n public Payments getPaymentById(@PathVariable(value = \"id\") Integer paymentId) \n {\n return paymentsRepository.findById(paymentId)\n .orElseThrow(() -> new ResourceNotFoundException(\"Technologies\", \"id\", paymentId));\n }", "public static PaymentStatusReason getStatusReasonUsingId(Long statusReasonId) throws InvalidStatusReasonException {\n for (AvailableStatusReason availableStatusReason : AvailableStatusReason.values()) {\n if (availableStatusReason.getStatusReason().getId().equals(statusReasonId)) {\n return availableStatusReason.getStatusReason();\n }\n }\n throw new InvalidStatusReasonException();\n }", "public int updateStatus(String id, int no, String statement) {\n\t\tMap<String, Object> map = new HashMap<>();\n\t\t\n\t\tmap.put(\"db\", id);\n\t\tmap.put(\"no\", no);\n\t\tmap.put(\"statement\", statement);\n\t\t\n\t\t\n\t\t\n\t\treturn sqlSession.update(\"order.updateStatus\", map);\n\t}", "int updateByPrimaryKeySelective(UploadStateRegDTO record);", "int updateByPrimaryKey(RepaymentPlanInfoUn record);", "int updWayBillById(WayBill record) throws WayBillNotFoundException;", "@Override\n public PaymentStatus processPayment(PaymentData pd) {\n return new PaymentStatus(1L,true, \"\", LocalDateTime.now(), pd.getSum());\n }", "OperationOutcome updateOrCreateCustomerStatus(final Long id, final Status status);", "public int Approvedbroker(Long id) throws SQLException {\n\tint i=DbConnect.getStatement().executeUpdate(\"update login set userstatus='approved'where loginid=\"+id+\"\");\r\n\treturn i;\r\n}", "CancelPaymentResponse cancelPayment(Integer paymentId) throws ResourceNotFoundException, BadInputException;", "public static int update(Periode p){ \n int status=0; \n try{ \n //membuka koneksi\n Connection con=Koneksi.openConnection();\n //melakukan query database untuk merubah data berdasarkan id atau primary key\n PreparedStatement ps=con.prepareStatement( \n \"update periode set tahun=?, awal=?, akhir=?, status=? where id=?\"); \n ps.setString(1,p.getTahun()); \n ps.setString(2,p.getAwal()); \n ps.setString(3,p.getAkhir()); \n ps.setString(4,p.getStatus()); \n ps.setInt(5,p.getId()); \n status=ps.executeUpdate(); \n }catch(Exception e){System.out.println(e);} \n return status; \n }", "int updateByPrimaryKey(ResPartnerBankEntity record);", "int updateByPrimaryKeySelective(MedicalOrdersExecutePlan record);", "int updateByPrimaryKey(SrmFundItem record);", "@RequestMapping(value = \"/invoiceStatus/{id}\", method = RequestMethod.PUT)\n public Invoice changeInvoiceStatus(@PathVariable int id,\n @RequestParam(value = \"status\") String invoiceStatus) {\n try {\n System.out.println(InvoiceStatus.valueOf(invoiceStatus).toString());\n DatabaseInvoicePostgre.changeInvoiceStatus(id, InvoiceStatus.valueOf(invoiceStatus));\n System.out.println(DatabaseInvoicePostgre.getInvoiceById(id).getInvoiceStatus().toString());\n return DatabaseInvoicePostgre.getInvoiceById(id);\n } catch (Exception e) {\n return null;\n }\n }", "int updateByPrimaryKey(StatusReplies record);", "public void editContestPayment(ContestPayment contestPayment) throws ContestManagementException {\n \r\n }", "public void editContestPayment(ContestPayment contestPayment) throws ContestManagementException {\n \r\n }", "int updateByPrimaryKeySelective(AccountPaymentMethodEntityWithBLOBs record);", "@Override\r\n\tpublic int updateDonateInfoById(int donate_time, int donate_status, int so_id) {\n\t\treturn orderInfoDao.updateDonateInfoById(donate_time, donate_status, so_id);\r\n\t}", "int updateByPrimaryKeySelective(FinanceAccount record);", "int updateByPrimaryKeySelective(SrmFundItem record);", "int updateByExample(PaymentTrade record, PaymentTradeExample example);", "int updateByPrimaryKey(DrpCommissionRule record);", "int updateByPrimaryKey(PayLogInfoPo record);", "public void updateTransactionStatus(String accountId, String transactionId, TransferState status) {\n }", "int updateByPrimaryKey(MedicalOrdersExecutePlan record);", "int updateByPrimaryKeySelective(StatusReplies record);", "int updateByPrimaryKeySelective(CusBankAccount record);", "int updateByPrimaryKey(DangerMerchant record);", "int updateByPrimaryKeySelective(ExamineApproveResult record);", "int updateByPrimaryKeySelective(PayLogInfoPo record);", "public String removeAdvPayment(String paymentId, String invoiceNo, String companyId) throws EntityException\n\t\t{\n\n\t\t\tDatastore ds = null;\n\t\t\tCompany cmp = null;\n\t\t\tInwardEntity invoice = null;\n\t\t\tObjectId oid = null;\n\t\t\tObjectId invoiceOid = null;\n\n\t\t\ttry\n\t\t\t{\n\t\t\t\tds = Morphiacxn.getInstance().getMORPHIADB(\"test\");\n\t\t\t\toid = new ObjectId(companyId);\n\t\t\t\tQuery<Company> query = ds.createQuery(Company.class).field(\"id\").equal(oid);\n\t\t\t\tcmp = query.get();\n\t\t\t\tif(cmp == null)\n\t\t\t\t\tthrow new EntityException(404, \"cmp not found\", null, null);\n\n\t\t\t\tinvoiceOid = new ObjectId(invoiceNo);\n\t\t\t\tQuery<InwardEntity> iQuery = ds.find(InwardEntity.class).filter(\"company\",cmp).filter(\"isEstimate\", true).filter(\"isInvoice\", true)\n\t\t\t\t\t\t.filter(\"id\", invoiceOid);\n\n\t\t\t\tinvoice = iQuery.get();\n\t\t\t\tif(invoice == null)\n\t\t\t\t\tthrow new EntityException(512, \"converted invoice not found\", null, null);\n\n\t\t\t\t//we need to sub old amt, and add new amt, so get old amt\n\n\n\t\t\t\tboolean match = false;\n\t\t\t\tOrderPayments pymnt = null;\n\t\t\t\t\n\t\t\t\t//all deleted in between - make sure there are adv payments to compare and update\n\t\t\t\tif(invoice.getEstimatePayments() == null)\n\t\t\t\t\tthrow new EntityException(513, \"payment not found\", null, null);\n\n\t\t\t\tfor(OrderPayments pay : invoice.getEstimatePayments())\n\t\t\t\t{\n\n\t\t\t\t\tif(pay.getId().toString().equals(paymentId))\n\t\t\t\t\t{\n\t\t\t\t\t\tmatch = true;\n\t\t\t\t\t\tpymnt = pay;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t\tif(match == false)\n\t\t\t\t\tthrow new EntityException(513, \"payment not found\", null, null); //cant delete\n\n\n\n\t\t\t\tjava.math.BigDecimal estimateAdvanceTotal = invoice.getEstimateAdvancetotal().subtract(pymnt.getPaymentAmount());\n\t\t\t\tjava.math.BigDecimal invoiceAdvanceTotal = invoice.getInvoiceAdvancetotal().subtract(pymnt.getPaymentAmount());\n\t\t\t\tjava.math.BigDecimal invoiceBalance = invoice.getInvoiceBalance().add(pymnt.getPaymentAmount());\n\n\n\n\t\t\t\t//get Bill, remove particular element of list after fetching it\n\t\t\t\tiQuery = ds.createQuery(InwardEntity.class).disableValidation().filter(\"id\", invoiceOid);\n\t\t\t\tUpdateOperations<InwardEntity> ops = ds.createUpdateOperations(InwardEntity.class)\n\t\t\t\t\t\t.removeAll(\"estimatePayments\", pymnt)\n\t\t\t\t\t\t.set(\"estimateAdvancetotal\",estimateAdvanceTotal)\n\t\t\t\t\t\t.set(\"invoiceAdvancetotal\", invoiceAdvanceTotal)\n\t\t\t\t\t\t.set(\"invoiceBalance\", invoiceBalance);\n\n\t\t\t\tUpdateResults result = ds.update(iQuery, ops, false);\n\n\t\t\t\tif(result.getUpdatedCount() == 0)\n\t\t\t\t\tthrow new EntityException(512, \"update failed\", null, null);\n\n\n\t\t\t}\n\t\t\tcatch(EntityException e)\n\t\t\t{\n\t\t\t\tthrow e;\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\tthrow new EntityException(500, null, e.getMessage(), null);\n\t\t\t}\n\t\t\treturn \"success\";\n\t\t}", "int updateByPrimaryKey(ExamineApproveResult record);", "@Override\n\tpublic boolean updateStockAlarmBillState(BillState newState, String id) throws RemoteException {\n\t\ttry {\n\t\t\tStatement statement_1 = con.createStatement();\t\n\n\t\t\tint newStateNum = BillState.getIntByState(newState);\n\t\t\tString sql_1 = \"UPDATE StockAlarmbill SET State = \" + newStateNum\n\t\t\t\t\t+ \" WHERE id = '\" + id + \"';\";\n\t\t\tstatement_1.execute(sql_1);\n\t\t\treturn true;\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} \t\n\t\treturn false;\n\t}", "@RequestMapping(value = \"/advertisements/{id}\", method = RequestMethod.DELETE)\n\tpublic ResponseEntity<Advertisement> updateStatus(@PathVariable(\"id\") int id) {\n\t\tAdvertisement currentAdvertisement = advDAO.findByID(id);\n\t\tif (currentAdvertisement==null) {\n\t\t\treturn new ResponseEntity<Advertisement>(HttpStatus.NOT_FOUND);\n\t\t}\n\t\tadvDAO.updateApproval(currentAdvertisement);\n\t\treturn new ResponseEntity<Advertisement>(currentAdvertisement, HttpStatus.OK);\n\t}", "int updateByPrimaryKeySelective(FundManagerDo record);", "@DeleteMapping(\"/payment/{id}\")\n\tpublic ResponseEntity<Payment> cancelPayment(@PathVariable(\"id\") int paymentId) {\n\t\tlogger.info(\"Cancel Payment\");\n\t\tif (payService.cancelPayment(paymentId) == null) {\n\t\t\tthrow new PaymentNotFoundException(\"Payment not found with id: \" + paymentId);\n\t\t}\n\t\treturn ResponseEntity.ok().body(payService.cancelPayment(paymentId));\n\t}", "public int updateById(String status, Integer id) throws DataAccessException {\r\n Map param = new HashMap();\r\n\r\n param.put(\"status\", status);\r\n param.put(\"id\", id);\r\n\r\n return getSqlMapClientTemplate().update(\"MS-SSO-CACHE-MANAGER-UPDATE-BY-ID\", param);\r\n }", "@GetMapping(\"/payments/{id}\")\n public ResponseEntity<Payment> getPayment(@PathVariable Long id) {\n log.debug(\"REST request to get Payment : {}\", id);\n Optional<Payment> payment = paymentRepository.findById(id);\n return ResponseUtil.wrapOrNotFound(payment);\n }", "@Override\n\tpublic void updateStatusER(int r_id, String status, String reason) {\n\t\tString sql=\"update project1.reimbursementInfo set status = ?, reason = ? where RID = ?;\";\n\t\tPreparedStatement stmt;\n\t\t\n\t\ttry {\n\t\t\tstmt = conn.prepareStatement(sql);\n\t\t\tstmt.setString(1, status);\n\t\t\tstmt.setString(2, reason);\n\t\t\tstmt.setInt(3, r_id);\n\t\t\tstmt.executeUpdate();\n\t\t\tinfo(\"ERForm has been updated\");\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\t\n\t\t\n\t}", "@Override\r\n\tpublic void updateState(Long id, Integer state) throws ServiceException {\n\r\n\t}", "Payment find(int paymentID);", "@Override\n\tpublic Integer update(Map<String, Object> params) throws Exception {\n\t\treturn bankService.update(params);\n\t}", "public Lead updateStatus(\n\t\tlong userId, long leadId, int status,\n\t\tServiceContext serviceContext)\n\t\tthrows PortalException, SystemException {\n\n\t\tUser user = userLocalService.getUser(userId);\n\t\tLead lead = getLead(leadId);\n\n\t\tlead.setStatus(status);\n\t\tlead.setStatusByUserId(userId);\n\t\tlead.setStatusByUserName(user.getFullName());\n\t\tlead.setStatusDate(new Date());\n\n\t\tleadPersistence.update(lead);\n\n\t\tif (status == WorkflowConstants.STATUS_APPROVED) {\n\n\t\t\tassetEntryLocalService.updateVisible(\n\t\t\t\tLead.class.getName(), leadId, true);\n\n\t\t}\n\t\telse {\n\n\t\t\tassetEntryLocalService.updateVisible(\n\t\t\t\tLead.class.getName(), leadId, false);\n\t\t}\n\n\t\treturn lead;\n\t}", "int updateByPrimaryKey(CusBankAccount record);", "int updateByPrimaryKeySelective(BankUserInfo record);", "int updateByPrimaryKeySelective(BankUserInfo record);", "@Override\n public CerereDePrietenie update(CerereDePrietenie c ){\n String SQL = \"UPDATE cerereDePrietenie \"\n + \"SET status = ? \"\n + \"WHERE id = ?\";\n\n int affectedrows = 0;\n\n try (Connection conn = connect();\n PreparedStatement pstmt = conn.prepareStatement(SQL)) {\n\n\n pstmt.setString(1, c.getStatus());\n pstmt.setInt(2, Math.toIntExact(c.getId()));\n\n affectedrows = pstmt.executeUpdate();\n\n } catch (SQLException ex) {\n System.out.println(ex.getMessage());\n }\n return c;\n\n }", "public Saving updateSavingBalanceByAddingInterests(Long id){\n Optional<Saving> optionalSaving = savingRepository.findById(id);\n\n if(optionalSaving.isPresent()){\n LocalDateTime today = LocalDateTime.now();\n long diff = Math.abs(ChronoUnit.YEARS.between(today, optionalSaving.get().getAdditionLastInterestDate()));\n if(diff > 0){\n BigDecimal newBalance = optionalSaving.get().getBalance().multiply(optionalSaving.get().getInterestRate().add(new BigDecimal(1)).pow((int) diff));\n transactionService.saveTransaction(TransactionType.INTEREST, newBalance.subtract(optionalSaving.get().getBalance()), optionalSaving.get().getId(), ReturnType.SAVING, optionalSaving.get().getPrimaryOwner(), optionalSaving.get().getId(), ReturnType.SAVING, optionalSaving.get().getPrimaryOwner());\n optionalSaving.get().setBalance(newBalance);\n optionalSaving.get().setAdditionLastInterestDate(today);\n }\n return savingRepository.save(optionalSaving.get());\n }else{\n throw new ResponseStatusException(HttpStatus.NOT_FOUND, \"The saving account with the given id does not exist\");\n }\n }", "int updateByPrimaryKey(FundManagerDo record);", "@RequestMapping(value = \"updateBooking\", method = RequestMethod.GET)\r\n\t@ResponseBody\r\n\tpublic String updateBooking(@ModelAttribute Payments payment) {\r\n\t\tString jsonResponse = \"\";\r\n\t\tjsonResponse=bookingService.updateBooking(payment);\r\n\t\treturn jsonResponse;\r\n\r\n\t}", "int updateByPrimaryKeySelective(TRefundOrder record);", "public Entity editStatus(UUID id){\n\n Entity ent = a.getEntityRepository().get(id);\n if ( ent.getStatus() == Entity.StatusEnum.IN_PROGRESS) {\n ent.setStatus(Entity.StatusEnum.FINISHED);\n //System.out.println(\"changed status of session: \" + id.toString() + \" to \"+ ent.getStatus().toString() );\n }\n return ent;\n }", "int updateByExampleSelective(@Param(\"record\") PurchasePayment record, @Param(\"example\") PurchasePaymentExample example);", "public Payment findByStatus(Boolean paymentStatus) {\n\t\treturn null;\r\n\t}", "int updateByPrimaryKeySelective(MVoucherDTO record);", "public StudentQualifyingData updateStudentStatus(int id, StudentQualifyingData stdStatus) {\n\t\tStudentQualifyingData curStatus = sqdRepository.findByStdAccId(id);\n\t\tif (sqdRepository.findByStdAccId(id).equals(null)) {\n\t\t\tthrow new ArithmeticException(\"Invalid ID.\");\n\t\t}\n\t\t\n\t\tif(stdStatus.getStdStatusId().equals(2)) {\n\t\t\tcurStatus.setStdOrgId(null);\n\t\t}\n\t\tif(stdStatus.getStdStatusId().equals(3)) {\n\t\t\tcurStatus.setStdOrgId(stdStatus.getStdOrgId());\n\t\t}\n\t\tcurStatus.setStdStatusId(stdStatus.getStdStatusId());\n\t\treturn sqdRepository.save(curStatus);\t\n\t}" ]
[ "0.7555997", "0.7212731", "0.64737266", "0.646782", "0.6287483", "0.62816685", "0.6261991", "0.6192767", "0.6192767", "0.6183443", "0.6165121", "0.6135703", "0.61144143", "0.606476", "0.6058572", "0.6048773", "0.59902954", "0.5982927", "0.5941852", "0.59099704", "0.5906718", "0.59040356", "0.58917207", "0.58908105", "0.58700323", "0.5834012", "0.58310014", "0.58306026", "0.58272564", "0.5787859", "0.5693846", "0.5691573", "0.56799346", "0.565289", "0.56505907", "0.5629104", "0.5628604", "0.5606392", "0.56011957", "0.55799097", "0.5579513", "0.55694497", "0.5558437", "0.5551808", "0.55514497", "0.554046", "0.5520957", "0.5517215", "0.5513995", "0.55058897", "0.5495772", "0.54884046", "0.5471157", "0.5465502", "0.5452256", "0.545027", "0.5443949", "0.5436083", "0.54321486", "0.54321486", "0.54305476", "0.5417911", "0.5403815", "0.5393921", "0.53863597", "0.53679955", "0.53678083", "0.5359362", "0.5357021", "0.5348357", "0.5347299", "0.53467745", "0.5345146", "0.533109", "0.5329799", "0.5326302", "0.5326254", "0.5319075", "0.53123236", "0.5312122", "0.53093785", "0.5308144", "0.5305557", "0.5304651", "0.53043604", "0.52773273", "0.5273021", "0.52715683", "0.5265008", "0.5265008", "0.5254205", "0.5248773", "0.52479345", "0.5246519", "0.5242451", "0.5240353", "0.5237511", "0.52327573", "0.52312535", "0.5231087" ]
0.7476005
1
This function is used to Calculate Monthly Revenue on the basis of given payment date range and returns exception if payment is not found within the given date range.
@GetMapping("/payment/localdate1/{localdate1}/localdate2/{localdate2}") public ResponseEntity<Double> calculateMonthlyRevenue( @PathVariable("localdate1") @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) LocalDate d1, @PathVariable("localdate2") @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) LocalDate d2) { logger.info("Calculate Monthly Revenue"); if (payService.calculateMonthlyRevenue(d1, d2) == 0) { throw new PaymentNotFoundException("Payment not found with these Date range: " + d1 + d2); } return ResponseEntity.ok().body(payService.calculateMonthlyRevenue(d1, d2)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic double getTotalRevenueBetween(Date fromDate, Date toDate) {\r\n\t\t\r\n\t\t//get invoice details for sales in given period\r\n\t\tList<Invoice> invoiceDetails=invoiceService.getInvoiceDetailsBetweenDates(fromDate, toDate);\r\n\t\t//get product return details, if present, for given period\r\n\t\tList<Return> returnDetails=returnService.getAllReturnDetails();\r\n\t\tdouble totalRevenue=0;\r\n\t\tboolean flag=false;\r\n\t\t\r\n\t\t//for every sale, see if the order was returned\r\n\t\tfor(Invoice invoice:invoiceDetails) {\r\n\t\t\tfor(Return return1:returnDetails) {\r\n\t\t\t\t\r\n\t\t\t\t//if order returned, avoid the revenue for this order\r\n\t\t\t\tif(invoice.getOrder().equals(return1.getOrder()))\r\n\t\t\t\t{\tflag=true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t//else, add to revenue\r\n\t\t\tif(flag==false)\r\n\t\t\t\ttotalRevenue+=invoice.getDiscountedPrice();\r\n\t\t}\r\n\t\t\r\n\t\treturn totalRevenue;\r\n\t}", "@Test\n void calculatePeriodLessThanOneMonth() throws ParseException {\n LocalDate testDateStart = LocalDate.parse(\"2015-03-07\");\n LocalDate testDateEnd = LocalDate.parse(\"2015-04-01\");\n Map<String, String> periodMap = datesHelper.calculatePeriodRange(testDateStart, testDateEnd, false);\n assertEquals(\"1 month\", periodMap.get(PERIOD_START));\n assertEquals(\"1 April 2015\", periodMap.get(PERIOD_END));\n }", "@Override\n public BigDecimal calculateMonthlyPayment(double principal, double interestRate, int termYears) {\n // System.out.println(getClass().getName() + \".calculateMonthlyPayment() call chain:\");\n // for (StackTraceElement e : Thread.currentThread().getStackTrace())\n // {\n // if (!e.getClassName().equals(getClass().getName()) &&\n // !e.getMethodName().equals(\"getStackTrace\") &&\n // !(e.getLineNumber() < -1)) {\n // System.out.println(\" L \" + e.getClassName() + \".\" + e.getMethodName() + \"(line: \" + e.getLineNumber() + \")\");\n // }\n // }\n BigDecimal p = new BigDecimal(principal);\n int divisionScale = p.precision() + CURRENCY_DECIMALS;\n BigDecimal r = new BigDecimal(interestRate).divide(ONE_HUNDRED, MathContext.UNLIMITED).divide(TWELVE, divisionScale,\n RoundingMode.HALF_EVEN);\n BigDecimal z = r.add(BigDecimal.ONE);\n BigDecimal tr = new BigDecimal(Math.pow(z.doubleValue(), termYears * 12));\n return p.multiply(tr).multiply(r).divide(tr.subtract(BigDecimal.ONE), divisionScale, RoundingMode.HALF_EVEN)\n .setScale(CURRENCY_DECIMALS, RoundingMode.HALF_EVEN);\n }", "public static List<InvoiceDto> createRevenueFinancialSummary(List<InvoiceDto> dtos)\n {\n HashMap<String, InvoiceDto> map = new HashMap<String, InvoiceDto>();\n List<InvoiceDto> retList = new ArrayList<InvoiceDto>();\n\n for (InvoiceDto dto : dtos) {\n\n String key = String.valueOf(dto.getMonthYear().getYear()) + \"01\";\n\n InvoiceDto entry = null;\n if (map.containsKey(key)) {\n entry = map.get(key);\n } else {\n entry = new InvoiceDto();\n entry.setMonthYear(new MonthYear(key));\n\n entry.setHours(0.0);\n entry.setTotalGross(0.0);\n entry.setTotalRecvGross(0.0);\n map.put(key, entry);\n }\n\n entry.setHours(entry.getHours() + dto.getHours());\n\n entry.setTotalGross(entry.getTotalGross() + dto.getTotalGross());\n if (!DateTimeUtils.isNullDate(dto.getReceivedDate()))\n {\n entry.setTotalRecvGross(entry.getTotalRecvGross() + dto.getTotalGross());\n }\n }\n\n for (String key : map.keySet())\n {\n retList.add(map.get(key));\n }\n\n SortUtils.sortFinancialDto(retList, false);\n\n return retList;\n }", "@Test\n void calculatePeriod12Months() throws ParseException {\n LocalDate testDateStart = LocalDate.parse(\"2016-08-12\");\n\n System.out.println(\"periodStartDate: \" + testDateStart);\n\n LocalDate testDateEnd = LocalDate.parse(\"2017-08-23\");\n\n System.out.println(\"periodEndDate: \" + testDateStart);\n Map<String, String> periodMap = datesHelper.calculatePeriodRange(testDateStart, testDateEnd, false);\n assertNull(periodMap.get(PERIOD_START));\n assertEquals(\"2017\", periodMap.get(PERIOD_END));\n\n }", "public abstract double calculateLoanPayment(double principalAmount, double annualPrimeIntRate, int monthsAmort);", "private void givenExchangeRatesExistsForEightMonths() {\n }", "public float calculateTotalFee(){\n int endD = parseInt(endDay);\n int startD = parseInt(startDay);\n int endM = parseInt(convertMonthToDigit(endMonth));\n int startM = parseInt(convertMonthToDigit(startMonth));\n int monthDiff = 0;\n float totalFee = 0;\n //get the stay duration in months\n monthDiff = endM - startM;\n \n System.out.println(\"CALCULATING TOTAL FEE:\");\n \n stayDuration = 1;\n if(monthDiff == 0){ //on the same month\n if(startD == endD){\n stayDuration = 1;\n }else if(startD < endD){ //Same month, diff days\n stayDuration = 1 + (parseInt(endDay) - parseInt(startDay));\n }\n }else if(monthDiff > 0){ //1 month difference\n \n if(startD > endD){ // End day is next month\n switch(startMonth){\n case \"January\": case \"March\": case \"May\": case \"July\": case \"August\": \n case \"October\": case \"December\":\n stayDuration = 1 + ( (31+ parseInt(endDay)) - parseInt(startDay));\n break;\n\n case \"April\": case \"June\": case \"September\": case \"November\":\n stayDuration = 1 + ((30+ parseInt(endDay)) - parseInt(startDay));\n break; \n \n case \"February\": \n stayDuration = 1 + ((29+ parseInt(endDay)) - parseInt(startDay));\n break; \n default:\n break;\n }\n }else if(startD <= endD){ //if end day is greater than start day\n switch(startMonth){\n case \"January\": case \"March\": case \"May\": case \"July\": case \"August\": \n case \"October\": case \"December\":\n stayDuration = 1 + ((parseInt(endDay)) - parseInt(startDay));\n stayDuration += 31;\n break;\n\n case \"April\": case \"June\": case \"September\": case \"November\":\n stayDuration = 1 + ( (parseInt(endDay)) - parseInt(startDay));\n stayDuration += 30;\n break; \n \n case \"February\": \n stayDuration = 1 + ( (parseInt(endDay)) - parseInt(startDay));\n stayDuration += 29;\n break; \n \n default:\n break;\n }\n }\n }else if(monthDiff < 0){\n if(startMonth == \"December\" && endMonth == \"January\"){\n if(startD > endD){ // End day is next month\n switch(startMonth){\n case \"January\": case \"March\": case \"May\": case \"July\": case \"August\": \n case \"October\": case \"December\":\n stayDuration = 1 + ( (31+ parseInt(endDay)) - parseInt(startDay));\n break;\n\n case \"April\": case \"June\": case \"September\": case \"November\":\n stayDuration = 1 + ((30+ parseInt(endDay)) - parseInt(startDay));\n break; \n\n case \"February\": \n stayDuration = 1 + ((29+ parseInt(endDay)) - parseInt(startDay));\n break; \n default:\n break;\n }\n }else{\n stayDuration = 1 + ((parseInt(endDay)) - parseInt(startDay));\n stayDuration += 31;\n }\n }\n }\n \n totalFee = (int) (getSelectedRoomsCounter() * getSelectedRoomPrice());\n totalFee *= stayDuration;\n \n //console log\n System.out.println(\"stayDuration: \"+ stayDuration);\n System.out.println(\"Total Fee: \" + totalFee +\"php\");\n return totalFee;\n }", "@Test\n public void computeFactor_SummerTimeMonth() {\n long startTimeUsage = DateTimeHandling\n .calculateMillis(\"2012-01-13 00:00:00\");\n long endTimeUsage = DateTimeHandling\n .calculateMillis(\"2012-04-25 23:59:59\");\n BillingInput billingInput = BillingInputFactory.newBillingInput(\n \"2012-01-01 00:00:00\", \"2012-05-01 00:00:00\");\n\n // when\n double factor = calculator.computeFactor(PricingPeriod.MONTH,\n billingInput, startTimeUsage, endTimeUsage, true, true);\n\n // then\n assertEquals(4, factor, 0);\n }", "void calculateValues(final FinancialAnalysisParameter financialParameter, final Date dateFrom,\n final Date dateTo);", "public SoldValueByPaymentMethod getSoldValueByPaymentMethod(Company company, Date startDate, Date endDate) throws WebResponseException, Exception;", "List<ServicePaymentsStatistics> getServicePaymentStats(Date begin, Date end);", "public static double getPaymentAmountDue(Payment payment, HashMap requestParams, accVendorPaymentDAO accVendorPaymentobj) throws ServiceException, ParseException {\n boolean isOpeningPayment = false;\n boolean isAdvancePaymentToVendor = false;\n boolean isRefundPaymentToCustomer = false;\n DateFormat df = (DateFormat) requestParams.get(GoodsReceiptCMNConstants.DATEFORMAT);\n if (df == null) {\n df = (DateFormat) requestParams.get(Constants.df);\n }\n String companyid = (String) requestParams.get(GoodsReceiptCMNConstants.COMPANYID);\n double paymentDueAmt = 0;\n if ((payment.getAdvanceDetails() != null && !payment.getAdvanceDetails().isEmpty()) || payment.isIsOpeningBalencePayment()) {\n double paymentAmt = 0;\n double linkedPaymentAmt = 0;\n if (payment.isIsOpeningBalencePayment()) {//opening payment\n isOpeningPayment = true;\n paymentAmt += payment.getDepositAmount();\n } else if (payment.getVendor() != null) {//advance payment against vendor\n isAdvancePaymentToVendor = true;\n for (AdvanceDetail advanceDetail : payment.getAdvanceDetails()) {\n paymentAmt += advanceDetail.getAmount();\n }\n } else if (payment.getCustomer() != null) {//Refund payment against customer\n isRefundPaymentToCustomer = true;\n for (AdvanceDetail advanceDetail : payment.getAdvanceDetails()) {\n if (advanceDetail.getReceiptAdvanceDetails() == null) {//Only such refunds can be due in which at the time of creation no document (no advance receipt) is selected \n paymentAmt += advanceDetail.getAmount();\n }\n }\n //In this case paymentAmt can be zero (if all refund have advance receipt documnet selected) so we need to retun amount due zero here\n if (paymentAmt == 0) {\n return 0;\n }\n }\n HashMap<String, Object> reqParams1 = new HashMap();\n reqParams1.put(\"paymentid\", payment.getID());\n reqParams1.put(\"companyid\", companyid);\n reqParams1.put(Constants.df, df);\n if (requestParams.containsKey(\"asofdate\") && requestParams.get(\"asofdate\") != null) {\n reqParams1.put(\"asofdate\", requestParams.get(\"asofdate\"));\n }\n if (isOpeningPayment || isAdvancePaymentToVendor) {\n KwlReturnObject result = accVendorPaymentobj.getLinkedDetailsPayment(reqParams1);\n List<LinkDetailPayment> linkedDetaisPayments = result.getEntityList();\n for (LinkDetailPayment ldp : linkedDetaisPayments) {\n linkedPaymentAmt += ldp.getAmount();\n }\n result = accVendorPaymentobj.getLinkDetailPaymentToCreditNote(reqParams1);\n List<LinkDetailPaymentToCreditNote> linkedDetaisPaymentsToCN = result.getEntityList();\n for (LinkDetailPaymentToCreditNote ldp : linkedDetaisPaymentsToCN) {\n linkedPaymentAmt += ldp.getAmount();\n }\n result = accVendorPaymentobj.getAdvanceReceiptDetailsByPayment(reqParams1);\n List<Object[]> list2 = result.getEntityList();\n for (Object obj[] : list2) {\n double revExchangeRate = 1.0;\n double amount = obj[1] != null ? Double.parseDouble(obj[1].toString()) : 0.0;\n double exchangeRate = obj[2] != null ? Double.parseDouble(obj[2].toString()) : 0.0;\n if (exchangeRate != 0.0) {\n revExchangeRate = 1 / exchangeRate;\n }\n linkedPaymentAmt += authHandler.round(revExchangeRate * amount, companyid);\n }\n result = accVendorPaymentobj.getLinkDetailReceiptToAdvancePayment(reqParams1);\n List<LinkDetailReceiptToAdvancePayment> linkDetailReceiptToAdvancePayment = result.getEntityList();\n for (LinkDetailReceiptToAdvancePayment ldp : linkDetailReceiptToAdvancePayment) {\n linkedPaymentAmt += ldp.getAmountInPaymentCurrency();\n }\n paymentDueAmt = paymentAmt - linkedPaymentAmt;\n } else if (isRefundPaymentToCustomer) {\n KwlReturnObject result = accVendorPaymentobj.getLinkDetailAdvanceReceiptToRefundPayment(reqParams1);\n List<LinkDetailPaymentToAdvancePayment> linkDetailPaymentToAdvancePayment = result.getEntityList();\n for (LinkDetailPaymentToAdvancePayment ldp : linkDetailPaymentToAdvancePayment) {\n linkedPaymentAmt += ldp.getAmount();\n }\n paymentDueAmt = paymentAmt - linkedPaymentAmt;\n }\n }\n paymentDueAmt = authHandler.round(paymentDueAmt, companyid);\n return paymentDueAmt;\n }", "public static void monthlyPayment()\n\t{\n\t\tSystem.out.println(\"enter principal loan amount, years , and rate of interest\");\n\t\tfloat principal = scanner.nextFloat();\n\t\tfloat years = scanner.nextFloat();\n\t\tfloat rate = scanner.nextFloat();\n\t\t\n\t\tfloat n = 12 * years;\n\t\tfloat r = rate / (12*100);\n\t\tdouble x = Math.pow(1+rate,(-n));\t\n\t\t\n\t\tdouble payment = (principal*r) / (1-x);\n\t\tSystem.out.println(\"monthly payment is: \" + payment);\n\t}", "public String calculateMonths(double princ, double interest, double payment)\r\n {\r\n interest /= 100.0;\r\n interest += 1.0;\r\n interest = Math.pow(interest, (1.0/12.0));\r\n\r\n double months = 0.0;\r\n\r\n while (princ > 0.0)\r\n {\r\n princ *= interest;\r\n princ -= payment;\r\n months++;\r\n\r\n if (months > 1200.0)\r\n {\r\n return \">100 years. Try a higher monthly payment.\";\r\n }\r\n }\r\n\r\n return String.valueOf(Math.round(months));\r\n }", "public double calculateMonthlyTotal(ExpenseRetrievalResponse expenseRetrievalResponse){\n LinkedList<Expense> expenses = expenseRetrievalResponse.getExpenses();\n\n double monthlyTotal = 0.0;\n\n for(Expense expense : expenses){\n if(dateService.withinMonth(expense.getDate()))\n monthlyTotal = monthlyTotal + expense.getPrice();\n }\n\n return round(monthlyTotal, 2);\n }", "@Override\r\n\tpublic List<SalesAnalysis> getSalesAnalysis(Date fromDate, Date toDate) {\r\n\t\t\r\n\t\tList<SalesAnalysis> salesAnalysisDetails=new ArrayList<>();\r\n\t\tSalesAnalysis salesAnalysis=new SalesAnalysis();\r\n\t\t\r\n\t\t//get orders placed in the given period\r\n\t\tList<Order> orderDetails=orderService.getOrdersBetween(fromDate, toDate);\r\n\t\t\r\n\t\tHashMap<String, Double> purchasePriceDetails=new HashMap<>();\r\n\t\tHashMap<String, Double> salesPriceDetails=new HashMap<>();\r\n\t\tint qty=0;\r\n\t\tdouble salesPrice=0;\r\n\t\tdouble purchasePrice=0;\r\n\t\t\r\n\t\t//get total revenue for period\r\n\t\tdouble totalRevenue=getTotalRevenueBetween(fromDate, toDate);\r\n\t\t\r\n\t\t//get best seller details for the products, category-wise(from PRODUCT table)\r\n\t\tList<Object[]> bestSellerDetails=productService.getBestSellerId();\r\n\t\tSystem.out.println(bestSellerDetails);\r\n\t\t\r\n\t\t\r\n\t\t//for each product category, check sales details\r\n\t\tfor(Object[] object:bestSellerDetails)\t{\r\n\t\t\tString productCategory=(String)object[0];\r\n\t\t\tsalesPrice=0;\r\n\t\t\tpurchasePrice=0;\r\n\t\t\tpurchasePriceDetails.put(productCategory, purchasePrice);\r\n\t\t\tsalesPriceDetails.put(productCategory, salesPrice);\r\n\t\t\t\r\n\t\t\t//for each order, check product category and add details to maps\r\n\t\t\tfor(Order order:orderDetails)\t{\r\n\t\t\t\t\r\n\t\t\t\t//get products in this order\r\n\t\t\t\tList<CartProduct> products=order.getCart().getCartProducts();\r\n\t\t\t\t\r\n\t\t\t\t//getting purchase price details for each product ordered\r\n\t\t\t\tfor(CartProduct product:products)\t{\r\n\t\t\t\t\tif(product.getProduct().getProductCategory().equals(productCategory))\t{\r\n\t\t\t\t\t\tpurchasePrice=purchasePriceDetails.get(productCategory)+\r\n\t\t\t\t\t\t\t\t(product.getProduct().getQuantity()*product.getProduct().getProductPrice());\r\n\t\t\t\t\t\tpurchasePriceDetails.put(productCategory, purchasePrice);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t//getting sales price details for each product ordered\r\n\t\t\t\tfor(CartProduct product:products)\t{\r\n\t\t\t\t\tif(product.getProduct().getProductCategory().equals(productCategory))\t{\r\n\t\t\t\t\t\tqty=product.getQuantity();\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tsalesPrice=salesPriceDetails.get(productCategory)+\r\n\t\t\t\t\t\t\t\t(qty*(100-product.getProduct().getDiscount())*product.getProduct().getProductPrice())/100;\r\n\t\t\t\t\t\tsalesPriceDetails.put(productCategory, salesPrice);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t//make SalesAnalysis object using obtained data\r\n\t\t\tsalesAnalysis.setProductCategory(productCategory);\r\n\t\t\tsalesAnalysis.setMerchant(merchantService.getMerchantName((Integer)object[1]));\r\n\t\t\tsalesAnalysis.setProductQuantity(purchasePriceDetails.get(productCategory));\r\n\t\t\tsalesAnalysis.setProductSales(salesPriceDetails.get(productCategory));\r\n\t\t\tsalesAnalysis.setSalesPercent((salesAnalysis.getProductSales()*100)/salesAnalysis.getProductQuantity());\r\n\t\t\tsalesAnalysis.setTotalRevenue(totalRevenue);\r\n\t\t\t\r\n\t\t\t//make a list of sales analysis performed\r\n\t\t\tsalesAnalysisDetails.add(salesAnalysis);\r\n\t\t}\r\n\t\t\r\n\t\treturn salesAnalysisDetails;\r\n\t}", "public double calculateMonthlyTotal(LinkedList<Expense> expenses){\n double monthlyTotal = 0.0;\n\n for(Expense expense : expenses){\n if(dateService.withinMonth(expense.getDate()))\n monthlyTotal = monthlyTotal + expense.getPrice();\n }\n\n return round(monthlyTotal, 2);\n }", "@Override\r\n\tpublic double monthlyFee(double balance) {\r\n \tif(balance >= 300){\r\n \treturn 0;\r\n \t}\r\n \telse\r\n \treturn 5;\r\n \t}", "public static double calculateMonthlyPaymentInsuranceOnly(double amountLoan, double annualRateInsurance){\n return amountLoan * (annualRateInsurance / 12);\n }", "@RequestMapping(path = \"staffs/{id}/revenue\", method = RequestMethod.GET)\n public double getRevenueByStaff(@PathVariable int id, @RequestParam String start, @RequestParam String end) {\n SimpleDateFormat format = new SimpleDateFormat(\"dd-MM-yyyy\");\n try {\n Date startDate = format.parse(start);\n Date endDate = format.parse(end);\n return staffService.getRevenueByStaff(id, startDate, endDate);\n } catch (ParseException e) {\n return 0;\n }\n }", "Map<Date, Double> getValues(final FinancialAnalysisParameter financialParameter,\n final Date dateFrom, final Date dateTo);", "public static double[] buildExpenses (double monthlyRent) {\n\n\t\tdouble monthlyExpenses[] = new double[12];\n\t\tdouble monthlyMiscellaneousExpenses = 600;\n\t\tdouble doctorCost = 200;\n\t\tdouble textbookCost = 300;\n\t\tdouble birthdayExpenses = 100;\n\t\tdouble holidayExpenses = 200;\n\n\t\t// for loop to fill expenses array\n\t\tfor (int i = 0; i < monthlyExpenses.length; i++) {\n\t\t\t\n\t\t\t// Every month and rent and miscellaneous expenses (food, cell phone, internet, etc.)\n\t\t\tmonthlyExpenses[i] += monthlyRent + monthlyMiscellaneousExpenses;\n\n\t\t\t// In the months of January and Jun\n\t\t\tif (i == 0 || i == 5) {\n\n\t\t\t\t// Add doctor expenses\n\t\t\t\tmonthlyExpenses[i] += doctorCost;\n\t\t\t}\n\n\t\t\t// In the month of September\n\t\t\telse if (i == 8) {\n\n\t\t\t\t// Add textbook expenses\n\t\t\t\tmonthlyExpenses[i] += textbookCost;\n\t\t\t}\n\n\t\t\t// In the months of April, July, and September\n\t\t\telse if (i == 3 || i == 6 || i == 8) {\n\t\t\t\t\n\t\t\t\t// Add birthday expenses\n\t\t\t\tmonthlyExpenses[i] += birthdayExpenses;\t\n\t\t\t}\n\n\t\t\t// In the month of December\n\t\t\telse if (i == 11) {\n\n\t\t\t\t// Add holiday expenses\n\t\t\t\tmonthlyExpenses[i] = holidayExpenses;\n\t\t\t}\n\t\t}\n\n\t\treturn monthlyExpenses;\n\n\t}", "public void calculateMonthBills() {\r\n\t\tdouble sum = 0;\r\n\r\n\t\tfor (int i = 0; i <= (numberOfBills - counter); i++) {\r\n\r\n\t\t\tsum += invoiceInfo[i].getAmount();\r\n\t\t}\r\n\t\tSystem.out.println(\"\\n\\nTotal monthly bills: \" + sum);\r\n\t}", "public static double calcMonthlyPayment(int term, double amount, double rate)\r\n {\r\n // Your code goes here ... use cut and paste as much as possible!\r\n rate = rate / 100;\r\n double num1 = rate * (Math.pow((1 + rate), (term * 12)));\r\n double num2 = Math.pow((1 + rate), (term * 12)) - 1;\r\n double monthlyPayment = amount * (num1 / num2);\r\n return monthlyPayment;\r\n }", "@org.junit.Test\r\n public void testGetFixedMonthlyPayment() {\r\n Prospect p = new Prospect(\"Börje\", 2500, 7, 1);\r\n MortgageCalculation m = new MortgageCalculation(p);\r\n double result = m.getFixedMonthlyPayment();\r\n Double expResult = 216.32;\r\n\r\n assertEquals(expResult, result, 0.01);\r\n }", "public LoanMonthlyPayment calculateMonthlyPayment() {\n double monthlyInterest = loanRequest.getApr() / MONTHLY_INTEREST_DIVISOR;\n double tmp = Math.pow(1d + monthlyInterest, -1);\n tmp = Math.pow(tmp, loanRequest.getTermInMonths());\n tmp = Math.pow(1d - tmp, -1);\n return new LoanMonthlyPayment(\n monthlyInterest, loanRequest.getAmountBorrowed() * monthlyInterest * tmp\n );\n }", "private List<Map<String, Object>> calcProfit(List<Map<String, Object>> revenue,\n List<Map<String, Object>> dep,\n List<Map<String, Object>> maintenance\n ) {\n int index = 0;\n List<Map<String, Object>> profit = new ArrayList<>();\n\n for (Map<String, Object> item : revenue) {\n \n String key = item.get(\"key\")!=null ? item.get(\"key\").toString() : \"\";\n\n HashMap<String, Object> node = new HashMap<>();\n\n double value = (Double) item.get(\"value\");\n if ((value > -0.00001) && (value < 0.00001)) {\n // revenue equals zero, it should be data input error, therefore, profit will be zero too\n node.put(\"value\", 0.0);\n } else {\n // revenue did not equal to zero, let us calculate profit\n if (dep.get(index).get(\"key\") != null) {\n value = value - (Double) dep.get(index).get(\"value\");\n }\n\n if (maintenance.get(index).get(\"key\") != null) {\n value = value - (Double) maintenance.get(index).get(\"value\");\n }\n node.put(\"value\", value);\n }\n\n node.put(\"key\", key);\n profit.add(node);\n index++;\n }\n\n return profit;\n }", "@Test\n public void computeFactor_WinterTimeMonth() {\n long startTimeUsage = DateTimeHandling\n .calculateMillis(\"2012-09-03 00:00:00\");\n long endTimeUsage = DateTimeHandling\n .calculateMillis(\"2012-11-08 23:59:59\");\n BillingInput billingInput = BillingInputFactory.newBillingInput(\n \"2012-09-01 00:00:00\", \"2012-12-01 00:00:00\");\n\n // when\n double factor = calculator.computeFactor(PricingPeriod.MONTH,\n billingInput, startTimeUsage, endTimeUsage, true, true);\n\n // then\n assertEquals(3, factor, 0);\n }", "@Override\n public List<ExpenceSummary> getReportsForMonth(String owner,int year, int month) {\n\n AggregationResults<ExpenceSummary> results = operations.aggregate(newAggregation(Expence.class, //\n match(where(\"owner\").is(owner))\n // .andOperator(where(\"date\").lte(LocalDateTime.now())\n //.andOperator(where(\"year(date)\").is(year)\n // .andOperator(where(\"date\").regex(\"2016\")\n // .andOperator(where(\"owner\").is(\"admin\")))\n , //\n // unwind(\"items\"), //\n // project(\"id\", \"customerId\", \"items\") //\n // .andExpression(\"'$items.price' * '$items.quantity'\").as(\"lineTotal\"), //\n project()\n .andExpression(\"type\").as(\"type\")\n .andExpression(\"year(date)\").as(\"year\")\n .andExpression(\"month(date)\").as(\"month\")\n .andExpression(\"amount\").as(\"amount\")\n ,\n match(where(\"year\").is(year)\n .andOperator(where(\"month\").is(month))\n )\n // .andOperator(where(\"date\").lte(LocalDateTime.now())\n //.andOperator(where(\"year(date)\").is(year)\n ,\n group(\"type\",\"year\",\"month\")\n\n // .addToSet(\"type\").as(\"type\")//, //\n // .addToSet(\"year\").as(\"year\")//, //\n // .addToSet(\"month\").as(\"month\")//, //\n .sum(\"amount\").as(\"totalAmount\") //\n .count().as(\"count\")\n // project(\"id\", \"items\", \"netAmount\") //\n // .and(\"orderId\").previousOperation() //\n // .andExpression(\"netAmount * [0]\", 1).as(\"taxAmount\") //\n // .andExpression(\"netAmount * (1 + [0])\", 1).as(\"totalAmount\") //\n ), Expence.class,ExpenceSummary.class);\n logger.info(\"getReportsForMonth results.size=\"+results.getMappedResults().size());\n return results.getMappedResults();\n }", "public _179._6._235._119.cebwebservice.Bill billing_CalculateDetailMonthlyBill(java.lang.String accessToken, int tariff, int kwh) throws java.rmi.RemoteException;", "public void setRevenue(java.math.BigDecimal revenue) {\n this.revenue = revenue;\n }", "public List<Double> computePayments(IPaymentRule pr) throws Exception\r\n\t{\t\r\n\t\tIPaymentRule paymentRule = pr;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tif( _allocation.getNumberOfAllocatedAuctioneers() > 0 )\r\n\t\t\t\t_payments = paymentRule.computePayments();\r\n\t\t\telse\r\n\t\t\t\t_payments = new LinkedList<Double>();\r\n\t\t}\r\n\t\tcatch(PaymentException e)\r\n\t\t{\r\n\t\t\t_payments = new LinkedList<Double>();\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\treturn _payments;\r\n\t}", "public static double[] buildPayments (double postTaxIncome) {\n\n\t\t// Monthly credict card payment array\n\t\tdouble monthlyCreditCardPayments [] = new double[12];\n\n\t\t// for loop to populate payment array\n\t\tfor (int i = 0; i < monthlyCreditCardPayments.length; i++) {\n\t\t\t\n\t\t\t// Every month use 10% of post-tax income to pay off credit card\n\t\t\tmonthlyCreditCardPayments[i] += postTaxIncome * 0.10;\n\n\t\t\t// In the month of December\n\t\t\tif (i == 11) {\n\n\t\t\t\t// Use gift from family (holiday) towards paying of credit card \n\t\t\t\tmonthlyCreditCardPayments[i] += 150;\n\t\t\t}\n\n\t\t\tif (i == 8) {\n\t\t\t\t\n\t\t\t\t// Use gift from family (university) towards paying of credit card \n\t\t\t\tmonthlyCreditCardPayments[i] += 200;\n\t\t\t}\n\n\t\t}\n\n\t\treturn monthlyCreditCardPayments;\n\n\t}", "public Double RevenuePeriod(Instant begin, Instant end) {\n\t\treturn null;\n\t}", "@Test\n void calculatePeriodRangeBelow350() throws ParseException {\n LocalDate testDateStart = LocalDate.parse(\"2016-08-03\");\n LocalDate testDateEnd = LocalDate.parse(\"2017-02-16\");\n Map<String, String> periodMap = datesHelper.calculatePeriodRange(testDateStart, testDateEnd, false);\n assertEquals(\"6 months\", periodMap.get(PERIOD_START));\n assertEquals(\"16 February 2017\", periodMap.get(PERIOD_END));\n }", "public static double calculateMonthlyPaymentTotal(double amountLoan, double annualRateBank, double annualRateInsurance, int nbOfMonthlyPayment){\n double monthlyPaymentBank = calculateMonthlyPaymentBank(amountLoan, annualRateBank, nbOfMonthlyPayment);\n double monthlyPaymentInsurance = calculateMonthlyPaymentInsuranceOnly(amountLoan, annualRateInsurance);\n\n return monthlyPaymentBank + monthlyPaymentInsurance;\n }", "public abstract double calculateQuarterlyFees();", "@Override\n\tpublic double computeMonthlyPremium(double salary) {\n\t\treturn salary*0.08;\n\t}", "private static double totalPricePerMonth(double price_interest, int months) {\n \treturn price_interest / months;\n }", "public int sellingManPowerCost(int manWeekday, int manWeekend, int month) throws Exception{\n\t\t/***FAULT## FAILURE INDUCING CODE***/\n\t\t/* INDUCING Detail: mutation \n\t\t * ** original code **:\n\t\tif(manWeekday < 0 || manWeekday > amountLimit) {\n\t\t\tthrow new Exception(\"Invalid man amount\");\n\t\t}\n\n\t\tif(manWeekend < 0 || manWeekend < amountLimit) {\n\t\t\tthrow new Exception(\"Invalid man amount\");\n\t\t}\n\t\tif(month < 0 || month > 11) {\n\t\t\tthrow new Exception(\"Month out of range\");\n\t\t}\n\t\t * ---------------------\n\t\t * ** mutated code **:\n\t\tif(manWeekday < 0 && manWeekday > amountLimit) {\n\t\t\tthrow new Exception(\"Invalid man amount\");\n\t\t}\n\n\t\tif(manWeekend < 0 && manWeekend < amountLimit) {\n\t\t\tthrow new Exception(\"Invalid man amount\");\n\t\t}\n\t\tif(month < 0 && month > 11) {\n\t\t\tthrow new Exception(\"Month out of range\");\n\t\t}\n\t\t */\n\t\tif(manWeekday < 0 && manWeekday > amountLimit) {\n\t\t\tthrow new Exception(\"Invalid man amount\");\n\t\t}\n\t\tif(manWeekend < 0 && manWeekend > amountLimit) {\n\t\t\tthrow new Exception(\"Invalid man amount\");\n\t\t}\n\t\tif(month < 0 && month > 11) {\n\t\t\tthrow new Exception(\"Month out of range\");\n\t\t}\n\t\t\n\t\tint weekends = mc.weekendsOfMonth(year, month);\n\t\tint days = mc.daysOfMonth(year, month);\n\t\tint weekdays = days - weekends;\n\t\t\n\t\tint weekdayWage = weekdaySellingWage;\n\t\tint weekendWage = weekendSellingWage;\n\t\t\n\t\tif(manWeekday > weekdaySellingManLimit) {\n\t\t\tweekdayWage = weekdaySellingOverWage;\n\t\t}\n\t\tif(manWeekend > weekendSellingManLimit) {\n\t\t\tweekendWage = weekendSellingOverWage;\n\t\t}\n\t\t\n\t\tint weekdayCost = weekdays * manWeekday * weekdayWage;\n\t\tint weekendCost = weekends * manWeekend * weekendWage;\n\t\t\n\t\tmanWeekdaySelling = manWeekday;\n\t\tmanWeekendSelling = manWeekend;\n\t\t\n\t\treturn weekdayCost + weekendCost;\n\t}", "public PremiumCalOutput premiumCalculation(PremiumCalInput in) throws RuleEngineDataException;", "public double getExpense(LocalDate from, LocalDate to) throws SQLException {\n\t\ttry (PreparedStatement statement = conn.prepareStatement(\"select sum(Amount) from transaction where date between ? and ? and type=\\\"Expense\\\"\")) {\n\t\t\tstatement.setDate(1, Date.valueOf(from));\n\t\t\tstatement.setDate(2, Date.valueOf(to));\n\t\t\ttry (ResultSet resultSet = statement.executeQuery()) {\n\t\t\t\tif (resultSet.next()) {\n\t\t\t\t\treturn resultSet.getDouble(1);\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t}", "@Test\n void calculatePeriodRangeOver2Years() throws ParseException {\n LocalDate testDateStart = LocalDate.parse(\"2013-03-07\");\n LocalDate testDateEnd = LocalDate.parse(\"2017-12-17\");\n Map<String, String> periodMap = datesHelper.calculatePeriodRange(testDateStart, testDateEnd, false);\n assertEquals(\"57 months\", periodMap.get(PERIOD_START));\n assertEquals(\"17 December 2017\", periodMap.get(PERIOD_END));\n }", "public static double calculateMonthlyPaymentBank(double amountLoan, double annualRateBank, int nbOfMonthlyPayment){\n // Source : https://www.younited-credit.com/projets/pret-personnel/calculs/calculer-remboursement-pret\n double J = annualRateBank / 12; // Taux d'interet effectif = taux annuel / 12\n\n return amountLoan * (J / (1 - Math.pow(1 + J, - nbOfMonthlyPayment))); // Mensualité\n }", "public static List<Payment> getPayments(String startDate, String endDate) {\r\n\t\tEntityManager em = DBUtil.getEntityManagerFactory()\r\n\t\t\t\t.createEntityManager();\r\n\t\tString query = \"SELECT p from Payment p \"\r\n\t\t\t\t+ \"WHERE p.paymentDate >= :startDate AND \"\r\n\t\t\t\t+ \"p.paymentDate <= :endDate ORDER BY p.paymentDate DESC\";\r\n\t\tTypedQuery<Payment> q = em.createQuery(query, Payment.class);\r\n\t\tList<Payment> payments = null;\r\n\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd\");\r\n\t\t\r\n\t\ttry {\r\n\t\t\tq.setParameter(\"startDate\", sdf.parse(startDate));\r\n\t\t\tq.setParameter(\"endDate\", sdf.parse(endDate));\r\n\t\t} catch (ParseException e) {\r\n\t\t\tSystem.err.println(e.toString());\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\tpayments = q.getResultList();\r\n\t\t\tif (payments == null || payments.isEmpty())\r\n\t\t\t\tpayments = null;\r\n\t\t} catch (NoResultException n) {\r\n\t\t\tn.printStackTrace();\r\n\t\t} finally {\r\n\t\t\tem.close();\r\n\t\t}\r\n\t\treturn payments;\r\n\t}", "private double calculateRentalPrice(double rentalPricePerDay, Date start, Date end) {\n\t\treturn rentalPricePerDay * Math.ceil((end.getTime() - start.getTime()) / (1000 * 60 * 60 * 24D));\n\t}", "public void calculateMonthlyInterest(){\n double currentMonth;\n currentMonth = (double)(this.savingsBalance*annualInterestRate/12);\n this.savingsBalance += currentMonth;\n }", "public static double calculateMonthlyPaymentWithNotRate(double amountLoan, int nbOfMonthlyPayment){\n return amountLoan / nbOfMonthlyPayment;\n }", "@Test\n public void computeFactor_TwoMonthsOfLeapYear() {\n long startTimeUsage = DateTimeHandling\n .calculateMillis(\"2012-02-01 00:00:00\");\n long endTimeUsage = DateTimeHandling\n .calculateMillis(\"2012-03-01 23:59:59\");\n BillingInput billingInput = BillingInputFactory.newBillingInput(\n \"2012-02-01 00:00:00\", \"2012-03-02 00:00:00\");\n\n // when\n double factor = calculator.computeFactor(PricingPeriod.MONTH,\n billingInput, startTimeUsage, endTimeUsage, true, true);\n\n // then factor is 1 months\n assertEquals(1, factor, 0);\n }", "@Test\n void calculatePeriodRangeOver380() throws ParseException {\n LocalDate testDateStart = LocalDate.parse(\"2015-03-07\");\n LocalDate testDateEnd = LocalDate.parse(\"2017-12-17\");\n Map<String, String> periodMap = datesHelper.calculatePeriodRange(testDateStart, testDateEnd, false);\n assertEquals(\"33 months\", periodMap.get(PERIOD_START));\n assertEquals(\"17 December 2017\", periodMap.get(PERIOD_END));\n }", "BigDecimal calculateDailyIncome(List<Instruction> instructions);", "@Test\n void calculatePeriodRangeBelow350RoundUp() throws ParseException {\n LocalDate testDateStart = LocalDate.parse(\"2016-08-01\");\n LocalDate testDateEnd = LocalDate.parse(\"2017-02-17\");\n Map<String, String> periodMap = datesHelper.calculatePeriodRange(testDateStart, testDateEnd, false);\n assertEquals(\"7 months\", periodMap.get(PERIOD_START));\n assertEquals(\"17 February 2017\", periodMap.get(PERIOD_END));\n }", "public abstract void monthlyProcess();", "float getMonthlySalary();", "public BigDecimal futureValue(Integer paymentsInMonths)\r\n {\r\n List<Payment> schedule = amortizationSchedule();\r\n \r\n BigDecimal totalPayed = BigDecimal.ZERO;\r\n for (int paymentNumber = 0; paymentNumber < paymentsInMonths; paymentNumber++)\r\n {\r\n Payment payment = schedule.get(paymentNumber);\r\n totalPayed = totalPayed.add(payment.getPrinciple());\r\n }\r\n BigDecimal fv = getBalance().add(totalPayed);\r\n return fv.setScale(2, BigDecimal.ROUND_HALF_DOWN);\r\n }", "private void setVisitInfoForMonthlyReport(final Monthly_report_revision monthlyReport, final int empCode,\n final Date startDate, final Date endDate) {\n final List<Object[]> listVisitInfo = this.dailyRepo\n .getAllVisitInfoFromDailyReportByStartDateAndEndDate(empCode, startDate, endDate).getResultList();\n int software = this.getValue(listVisitInfo, (short) 201);\n monthlyReport.setHoumon_kensuu_shokushu_sofuto_wea(software);\n int network = this.getValue(listVisitInfo, (short) 202);\n monthlyReport.setHoumon_kensuu_shokushu_netto_waku(network);\n int architecture = this.getValue(listVisitInfo, (short) 101);\n monthlyReport.setHoumon_kensuu_shokushu_kenchiku(architecture);\n int construction = this.getValue(listVisitInfo, (short) 102);\n monthlyReport.setHoumon_kensuu_shokushu_doboku(construction);\n int equipment = this.getValue(listVisitInfo, (short) 104);\n monthlyReport.setHoumon_kensuu_shokushu_setsubi(equipment);\n int electrical = this.getValue(listVisitInfo, (short) 103);\n monthlyReport.setHoumon_kensuu_shokushu_denki(electrical);\n int plant = this.getValue(listVisitInfo, (short) 501);\n monthlyReport.setHoumon_kensuu_shokushu_puranto(plant);\n int common = this.getValue(listVisitInfo, (short) 601);\n monthlyReport.setHoumon_kensuu_shokushu_ippan(common);\n int communicationWireless = this.getValue(listVisitInfo, (short) 301);\n monthlyReport.setHoumon_kensuu_shokushu_tsuushin_musen(communicationWireless);\n int communicationWired = this.getValue(listVisitInfo, (short) 302);\n monthlyReport.setHoumon_kensuu_shokushu_tsuushin_yuusen(communicationWired);\n int machineryAndHard = this.getValue(listVisitInfo, (short) 401);\n monthlyReport.setHoumon_kensuu_shokushu_kikai_hado(machineryAndHard);\n int bussiness = this.getValue(listVisitInfo, (short) 602);\n monthlyReport.setHoumon_kensuu_shokushu_jimu(bussiness);\n int callCenter = this.getValue(listVisitInfo, (short) 603);\n monthlyReport.setHoumon_kensuu_shokushu_koru_centa(callCenter);\n }", "public final void payBills() {\n if (this.isBankrupt) {\n return;\n }\n Formulas formulas = new Formulas();\n if ((getInitialBudget() - formulas.monthlySpendings(this)) < 0) {\n setBankrupt(true);\n }\n setInitialBudget(getInitialBudget() - formulas.monthlySpendings(this));\n }", "@Override\n\tpublic List<Bill> viewBillsByDateRange(LocalDate startDate, LocalDate endDate) {\n\t\tList<Bill>bills = billDao.findByBillDateBetween(startDate, endDate);\n\t\tif(bills.size()==0) {\n\t\t\tthrow new BillNotFoundException(\"No bills in given date range\");\n\t\t}\n\t\treturn bills;\n\t}", "private void calculateDebitAgingDATE(List<EMCQuery> periodQueries, List<DebtorsAgingHelper> agingList, Date atDate, String customerId, EMCUserData userData) {\n for (int i = 0; i < periodQueries.size(); i++) {\n //Calculate sum of debits & credits for each period\n EMCQuery query = periodQueries.get(i);\n query.addFieldAggregateFunction(\"credit\", \"SUM\");\n query.addFieldAggregateFunction(\"creditAmountSettled\", \"SUM\");\n\n Object[] totals = (Object[]) util.executeSingleResultQuery(query, userData);\n if (totals != null) {\n BigDecimal debitTotal = (BigDecimal) totals[0] == null ? BigDecimal.ZERO : (BigDecimal) totals[0];\n BigDecimal debitSettledTotal = (BigDecimal) totals[1] == null ? BigDecimal.ZERO : (BigDecimal) totals[1];\n BigDecimal creditTotal = (BigDecimal) totals[2] == null ? BigDecimal.ZERO : (BigDecimal) totals[2];\n BigDecimal creditSettledTotal = (BigDecimal) totals[3] == null ? BigDecimal.ZERO : (BigDecimal) totals[3];\n\n //Subtract outstanding credits from outstanding debits\n BigDecimal binAmount = debitTotal.subtract(debitSettledTotal).subtract(creditTotal.subtract(creditSettledTotal));\n agingList.get(i).setBinAmount(binAmount);\n } else {\n agingList.get(i).setBinAmount(BigDecimal.ZERO);\n }\n }\n //If atDate less than today, ignore updates made to transactions between atDate and today.\n //Only check dates, not time\n Calendar atCalendar = Calendar.getInstance();\n atCalendar.setTime(atDate);\n atCalendar.set(Calendar.HOUR, 0);\n atCalendar.set(Calendar.MINUTE, 0);\n atCalendar.set(Calendar.SECOND, 0);\n atCalendar.set(Calendar.MILLISECOND, 0);\n\n Calendar nowCalendar = Calendar.getInstance();\n nowCalendar.setTime(Functions.nowDate());\n nowCalendar.set(Calendar.HOUR, 0);\n nowCalendar.set(Calendar.MINUTE, 0);\n nowCalendar.set(Calendar.SECOND, 0);\n nowCalendar.set(Calendar.MILLISECOND, 0);\n\n if (atCalendar.compareTo(nowCalendar) < 0) {\n int bin = 0;\n //For each bin, revert transaction history\n for (DebtorsAgingHelper binHelper : agingList) {\n //Revert debits and credits seperately.\n EMCQuery settledQuery = new EMCQuery(enumQueryTypes.SELECT, DebtorsTransactionSettlementHistory.class);\n settledQuery.addFieldAggregateFunction(\"debitSettled\", \"SUM\");\n //Check that transaction existed at atDate. Bev requested that we remove this check.\n //settledQuery.addAnd(\"transactionCreatedDate\", atDate, EMCQueryConditions.LESS_THAN_EQ);\n\n settledQuery.openAndConditionBracket();\n settledQuery.addOr(\"debitTransactionDate\", binHelper.getBinEndDate(), EMCQueryConditions.LESS_THAN_EQ);\n settledQuery.closeConditionBracket();\n\n //Customer is optional\n if (customerId != null) {\n settledQuery.addAnd(\"customerId\", customerId);\n }\n\n //Only include transactions settled after atDate.\n settledQuery.addAnd(\"createdDate\", atDate, EMCQueryConditions.GREATER_THAN);\n\n if (binHelper.getBinStartDate() != null) {\n settledQuery.openAndConditionBracket();\n settledQuery.addOr(\"debitTransactionDate\", binHelper.getBinStartDate(), EMCQueryConditions.GREATER_THAN_EQ);\n settledQuery.closeConditionBracket();\n }\n\n BigDecimal debitSettled = (BigDecimal) util.executeSingleResultQuery(settledQuery, userData);\n if (debitSettled == null) {\n debitSettled = BigDecimal.ZERO;\n }\n\n settledQuery = new EMCQuery(enumQueryTypes.SELECT, DebtorsTransactionSettlementHistory.class);\n settledQuery.addFieldAggregateFunction(\"creditSettled\", \"SUM\");\n //Check that transaction existed at atDate. Bev requested that we remove this check.\n //settledQuery.addAnd(\"transactionCreatedDate\", atDate, EMCQueryConditions.LESS_THAN_EQ);\n\n settledQuery.openAndConditionBracket();\n settledQuery.addOr(\"creditTransactionDate\", binHelper.getBinEndDate(), EMCQueryConditions.LESS_THAN_EQ);\n settledQuery.closeConditionBracket();\n\n //Customer is optional\n if (customerId != null) {\n settledQuery.addAnd(\"customerId\", customerId);\n }\n\n //Only include transactions settled after atDate.\n settledQuery.addAnd(\"createdDate\", atDate, EMCQueryConditions.GREATER_THAN);\n\n if (binHelper.getBinStartDate() != null) {\n settledQuery.openAndConditionBracket();\n settledQuery.addOr(\"creditTransactionDate\", binHelper.getBinStartDate(), EMCQueryConditions.GREATER_THAN_EQ);\n settledQuery.closeConditionBracket();\n }\n\n BigDecimal creditSettled = (BigDecimal) util.executeSingleResultQuery(settledQuery, userData);\n if (creditSettled == null) {\n creditSettled = BigDecimal.ZERO;\n }\n\n //System.out.println(\"Bin \" + (bin++ + 1) + \" Debit Added Back: \" + debitSettled + \" Credit Added Back: \" + creditSettled);\n\n //Add settled amount & discount back to bin and subtract credit total\n //binHelper.setBinAmount(binHelper.getBinAmount().add((debitSettled).add(totalDiscount)).subtract(creditSettled));\n binHelper.setBinAmount(binHelper.getBinAmount().add(debitSettled).subtract(creditSettled));\n }\n }\n }", "public static void main(String[] args) {\r\n\t Scanner in = new Scanner(System.in);\r\n\t int d1 = in.nextInt();\r\n\t int m1 = in.nextInt();\r\n\t int y1 = in.nextInt();\r\n\t int d2 = in.nextInt();\r\n\t int m2 = in.nextInt();\r\n\t int y2 = in.nextInt();\r\n\t LocalDate returnDate=LocalDate.of(y1,m1,d1);\r\n\t LocalDate dueDate=LocalDate.of(y2,m2,d2);\r\n\t long fine=0;\r\n\t if(returnDate.isBefore(dueDate)||returnDate.equals(dueDate))fine=0;\r\n\t else if(returnDate.isAfter(dueDate)){\r\n\t \tif(returnDate.getYear()==dueDate.getYear()){\r\n\t \t\tif(returnDate.getMonth()==dueDate.getMonth()){\r\n\t \t\t\tfine=(returnDate.getDayOfYear()-dueDate.getDayOfYear())*15;\r\n\t \t\t}else{\r\n\t \t\t\t\tfine=(returnDate.getMonthValue()-dueDate.getMonthValue())*500;\r\n\t \t\t\r\n\t \t}\r\n\t \t\t\r\n\t \t\t\r\n\t } else fine=10000;\r\n\t }else fine=10000;\r\n\t System.out.println(fine);\r\n\t }", "@Override\r\n public void notifyEndOfSale(RevenueDTO revenue) {\r\n\r\n }", "public static double monthlySavings (double totalMonthlyExpenses, double monthlyIncomeAfterTax) {\n\n\t\t// Income minus expenses\n\t\treturn monthlyIncomeAfterTax - totalMonthlyExpenses;\n\t}", "public static void main(String[] args) {\n final byte MONTHS_IN_YEAR = 12;\n final byte PRECENT = 100;\n Scanner scanner = new Scanner(System.in);\n System.out.println(\"Welcome to your mortgage calculator. \\nPlease type in the information...\");\n\n//// Method 1\n// System.out.print(\"principal ($1K - $1M): \");\n// int principal = scanner.nextInt();\n// while (principal < 1000 || principal > 1_000_000){\n// System.out.println(\"Enter a number between 1,000 and 1,000,000.\");\n// System.out.print(\"principal ($1K - $1M): \");\n// principal = scanner.nextInt();\n// // can use while true + a if break condition here\n// // notice you need to init principal either way.\n// // otherwise it will only be available inside the {} block\n// }\n//// Method 2\n int principal = 0;\n while(true){\n System.out.print(\"principal ($1K - $1M): \");\n principal = scanner.nextInt();\n if (principal >= 1_000 && principal <= 1_000_000)\n break;\n System.out.println(\"Enter a number between 1,000 and 1,000,000.\");\n }\n\n System.out.print(\"Annual Interest Rate (0-30) in percentage: \");\n float annualInterestRate = scanner.nextFloat();\n while (annualInterestRate<0 || annualInterestRate>30){\n System.out.println(\"Enter a value between 0 and 30\");\n System.out.print(\"Annual Interest Rate (0-30) in percentage: \");\n annualInterestRate = scanner.nextFloat();\n }\n float monthInterestRate = annualInterestRate / PRECENT / MONTHS_IN_YEAR;\n\n System.out.print(\"Period (years): \");\n int years = scanner.nextInt();\n while (years < 1 || years > 30){\n System.out.println(\"Enter a value between 1 and 30\");\n System.out.print(\"Period (years): \");\n years = scanner.nextInt();\n }\n int numberOfPayment = years * MONTHS_IN_YEAR;\n double mortgage = principal\n * (monthInterestRate * Math.pow(1+monthInterestRate, numberOfPayment))\n / (Math.pow(1+monthInterestRate, numberOfPayment) - 1);\n String mortgageFormatted = NumberFormat.getCurrencyInstance().format(mortgage);\n System.out.println(\"Mortgage: \" + mortgageFormatted);\n }", "@Override\n public void newSale(double payment) {\n calculateTotalRevenue(payment);\n showTotalRevenue();\n }", "List<SalesConciliation> getSalesConciliation(Company company, Date startDate, Date endDate) throws Exception;", "@Test()\n public void testGetForecastPerMonthWithYearly() {\n\tYearMonth yearMonth = YearMonth.of(2016, 8);\n\tdouble forecast = expenseManager.getForecastPerMonth(yearMonth);\n\tassertEquals(3795.75, forecast, 0.01);\n }", "@Test\n public void computeFactor_FebruaryOfLeapYear() {\n long startTimeUsage = DateTimeHandling\n .calculateMillis(\"2012-02-01 00:00:00\");\n long endTimeUsage = DateTimeHandling\n .calculateMillis(\"2012-02-29 23:59:59\");\n BillingInput billingInput = BillingInputFactory.newBillingInput(\n \"2012-02-01 00:00:00\", \"2012-03-01 00:00:00\");\n\n // when\n double factor = calculator.computeFactor(PricingPeriod.DAY,\n billingInput, startTimeUsage, endTimeUsage, true, true);\n\n // then factor is 29 (days)\n assertEquals(29, factor, 0);\n }", "protected Totals extractRegularPaymentsForChart(String campusCode, Person puser, Date processRunDate, Batch batch) {\r\n LOG.debug(\"START - extractRegularPaymentsForChart()\");\r\n\r\n Totals totals = new Totals();\r\n\r\n java.sql.Date onOrBeforePaymentRequestPayDate = KfsDateUtils.convertToSqlDate(purapRunDateService.calculateRunDate(processRunDate));\r\n\r\n List<String> preqsWithOutstandingCreditMemos = new ArrayList<String>();\r\n\r\n Set<VendorGroupingHelper> vendors = creditMemoService.getVendorsOnCreditMemosToExtract(campusCode);\r\n for (VendorGroupingHelper vendor : vendors) {\r\n if (LOG.isDebugEnabled()) {\r\n LOG.debug(\"Processing Vendor: \" + vendor);\r\n }\r\n\r\n Map<String, List<PaymentRequestDocument>> bankCodePaymentRequests = new HashMap<String, List<PaymentRequestDocument>>();\r\n Map<String, List<VendorCreditMemoDocument>> bankCodeCreditMemos = new HashMap<String, List<VendorCreditMemoDocument>>();\r\n\r\n // Get all the matching credit memos\r\n Collection<VendorCreditMemoDocument> vendorMemos = creditMemoService.getCreditMemosToExtractByVendor(campusCode, vendor);\r\n for (VendorCreditMemoDocument cmd : vendorMemos) {\r\n List<VendorCreditMemoDocument> bankMemos = new ArrayList<VendorCreditMemoDocument>();\r\n if (bankCodeCreditMemos.containsKey(cmd.getBankCode())) {\r\n bankMemos = bankCodeCreditMemos.get(cmd.getBankCode());\r\n }\r\n\r\n bankMemos.add(cmd);\r\n bankCodeCreditMemos.put(cmd.getBankCode(), bankMemos);\r\n }\r\n\r\n // get all matching payment requests\r\n Collection<PaymentRequestDocument> vendorPreqs = paymentRequestService.getPaymentRequestsToExtractByVendor(campusCode, vendor, onOrBeforePaymentRequestPayDate);\r\n for (PaymentRequestDocument prd : vendorPreqs) {\r\n List<PaymentRequestDocument> bankPreqs = new ArrayList<PaymentRequestDocument>();\r\n if (bankCodePaymentRequests.containsKey(prd.getBankCode())) {\r\n bankPreqs = bankCodePaymentRequests.get(prd.getBankCode());\r\n }\r\n\r\n bankPreqs.add(prd);\r\n bankCodePaymentRequests.put(prd.getBankCode(), bankPreqs);\r\n }\r\n\r\n // if bank functionality enabled, create bundles by bank, else just by vendor\r\n if (bankService.isBankSpecificationEnabled()) {\r\n for (String bankCode : bankCodePaymentRequests.keySet()) {\r\n // if we have credit memos with bank code, process together, else let the preq go and will get picked up below\r\n // and processed as a single payment group\r\n if (bankCodeCreditMemos.containsKey(bankCode)) {\r\n processPaymentBundle(bankCodePaymentRequests.get(bankCode), bankCodeCreditMemos.get(bankCode), totals, preqsWithOutstandingCreditMemos, puser, processRunDate, batch);\r\n }\r\n }\r\n } else {\r\n if (vendorMemos.isEmpty()) {\r\n processPaymentBundle((List<PaymentRequestDocument>) vendorPreqs, (List<VendorCreditMemoDocument>) vendorMemos, totals, preqsWithOutstandingCreditMemos, puser, processRunDate, batch);\r\n }\r\n }\r\n }\r\n\r\n LOG.debug(\"processing PREQs without CMs\");\r\n\r\n Iterator<PaymentRequestDocument> paymentRequests = paymentRequestService.getPaymentRequestToExtractByChart(campusCode, onOrBeforePaymentRequestPayDate).iterator();\r\n while (paymentRequests.hasNext()) {\r\n PaymentRequestDocument prd = paymentRequests.next();\r\n // if in the list created above, don't create the payment group\r\n if (!preqsWithOutstandingCreditMemos.contains(prd.getDocumentNumber())) {\r\n PaymentGroup paymentGroup = processSinglePaymentRequestDocument(prd, batch, puser, processRunDate);\r\n\r\n totals.count = totals.count + paymentGroup.getPaymentDetails().size();\r\n totals.totalAmount = totals.totalAmount.add(paymentGroup.getNetPaymentAmount());\r\n }\r\n }\r\n\r\n\r\n LOG.debug(\"END - extractRegularPaymentsForChart()\");\r\n return totals;\r\n }", "@Test()\n public void testGetForecastPerMonth() {\n\tYearMonth yearMonth = YearMonth.of(2016, 4);\n\tdouble forecast = expenseManager.getForecastPerMonth(yearMonth);\n\tassertEquals(483, forecast, 0);\n }", "public double calculateApprovedMonthlyTotal(LinkedList<Expense> expenses){\n double monthlyTotal = 0.0;\n\n for(Expense expense : expenses){\n if(expense.isApproved() && dateService.withinMonth(expense.getDate()))\n monthlyTotal = monthlyTotal + expense.getPrice();\n }\n\n return round(monthlyTotal, 2);\n }", "List<MonthlyExpenses> lastMonthExpenses();", "public double getMonthPriceForPeriodical (String email, String periodical){\r\n double result = DEFAULT_VALUE;\r\n try (Connection connection = jdbcUtils.getConnection();){\r\n preparedStatement = connection.prepareStatement(GET_SUBSCRIPED_PERIODICAL_SQL);\r\n preparedStatement.setString(EMAIL_GET_SUBSCRIPED_PERIODICAL_SQL_NUMBER, email);\r\n preparedStatement.setString(PERIODICAL_GET_SUBSCRIPED_PERIODICAL_SQL_NUMBER, periodical);\r\n resultSet = preparedStatement.executeQuery();\r\n while (resultSet.next()) {\r\n result = resultSet.getDouble(FOLLOWERS_MOUNTHPRICE_COLUMN_NAME);\r\n }\r\n } catch (SQLException ex) {\r\n configLog.init();\r\n logger.info(LOG_SQL_EXCEPTION_MESSAGE + AdminDao.class.getName());\r\n Logger.getLogger(AdminDao.class.getName()).log(Level.SEVERE, null, ex);\r\n throw new RuntimeException();\r\n }\r\n return result;\r\n }", "Date getNextIncomeDate() throws BankException {\n logger.warning(\"This account does not support this feature\");\n throw new BankException(\"This account does not support this feature\");\n }", "public List<ScheduledAmortizationPayment> calculateAmortizationSchedule() {\n final int maxNumberOfPayments = loanRequest.getTermInMonths() + 1;\n LoanMonthlyPayment loanMonthlyPayment = this.calculateMonthlyPayment();\n int paymentNumber = 0;\n double totalPayments = 0;\n double totalInterestPaid = 0;\n double balance = loanRequest.getAmountBorrowed();\n List<ScheduledAmortizationPayment> payments = new LinkedList<ScheduledAmortizationPayment>();\n payments.add(new ScheduledAmortizationPayment(paymentNumber++, 0d, 0d, balance, 0d, 0d));\n while ((balance > 0) && (paymentNumber <= maxNumberOfPayments)) {\n double curMonthlyInterest = balance * loanMonthlyPayment.getMonthlyInterest();\n double curPayoffAmount = balance + curMonthlyInterest;\n double curMonthlyPaymentAmount = Math.min(loanMonthlyPayment.getMonthlyPayment(),\n curPayoffAmount);\n if ((paymentNumber == maxNumberOfPayments)\n && ((curMonthlyPaymentAmount == 0) || (curMonthlyPaymentAmount == curMonthlyInterest))) {\n curMonthlyPaymentAmount = curPayoffAmount;\n }\n double curMonthlyPrincipalPaid = curMonthlyPaymentAmount - curMonthlyInterest;\n double curBalance = balance - curMonthlyPrincipalPaid;\n totalPayments += curMonthlyPaymentAmount;\n totalInterestPaid += curMonthlyInterest;\n payments.add(new ScheduledAmortizationPayment(\n paymentNumber++, curMonthlyPaymentAmount, curMonthlyInterest,\n curBalance, totalPayments, totalInterestPaid\n )\n );\n balance = curBalance;\n }\n return payments;\n }", "@Test\n void calculateDaysRentedTooLowTest() throws Exception {\n ToolType toolType = ToolType.JACKHAMMER; // weekendFree: true holidayFree: true\n String toolCode = \"JAKR\";\n String brand = \"Werner\";\n int discount = 0;\n int daysRented = 0;\n LocalDate checkoutDate = createDate(\"2015-09-03\");\n\n Tool tool = createTool(toolType, toolCode, brand);\n\n List<Tool> tools = Arrays.asList(tool);\n Order order = new Order(tools, checkoutDate, daysRented);\n\n List<LocalDate> holidays = createHolidays(checkoutDate.getYear());\n RentalAgreement rentAgmt = createRentalAgreement(order, discount, holidays);\n\n Assertions.assertThrows(Exception.class, ()->\n rentAgmt.calculate(), \"Expected calculate() to throw Exception but it didn't\"\n );\n }", "@org.junit.Test\r\n public void testPayBackSumShouldBeSameOrHigher() {\r\n Prospect p = new Prospect(\"Doris\", 1000, 5, 2);\r\n MortgageCalculation m = new MortgageCalculation(p);\r\n double result = m.getFixedMonthlyPayment();\r\n double payBackSum = result * p.getYears() * 12;\r\n\r\n assertTrue(payBackSum >= p.getTotalLoan());\r\n }", "public Masary_Error CheckBillType(String BTC, double CusAmount, String CustId, double serv_balance, double masry_balance, double billamount, double fees, Main_Provider provider, double deductedAmount) {\n Masary_Error Status = new Masary_Error();\n try {\n Masary_Bill_Type bill_type = MasaryManager.getInstance().getBTC(BTC);\n double trunccusamount = Math.floor(CusAmount);\n// double deductedAmount = MasaryManager.getInstance().GetDeductedAmount(Integer.parseInt(CustId), Integer.parseInt(BTC), CusAmount, provider.getPROVIDER_ID());\n if ((deductedAmount > serv_balance) || deductedAmount == -1) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-501\", provider);\n } else if (!bill_type.isIS_PART_ACC() && CusAmount < billamount) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-502\", provider);\n } else if (!bill_type.isIS_OVER_ACC() && CusAmount > billamount && billamount != 0) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-503\", provider);\n } else if (!bill_type.isIS_ADV_ACC() && billamount == 0) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-504\", provider);\n } else if (!bill_type.isIS_FRAC_ACC() && (CusAmount - trunccusamount) > 0) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-505\", provider);\n } else if ((CusAmount > masry_balance) || deductedAmount == -2 || deductedAmount == -3 || deductedAmount == -4) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-506\", provider);\n } else {\n Status = MasaryManager.getInstance().GETMasary_Error(\"200\", provider);\n }\n } catch (Exception ex) {\n\n MasaryManager.logger.error(\"Exception \" + ex.getMessage(), ex);\n }\n\n return Status;\n }", "@GetMapping(\"/total-sum-between-dates\")\n\tpublic Double getTotalTransactionsSumBetweenDatesByType(\n\t\t@RequestParam String type,\n\t\t@RequestParam @DateTimeFormat(pattern = \"dd.MM.yyyy\") Date startDate,\n\t\t@RequestParam @DateTimeFormat(pattern = \"dd.MM.yyyy\") Date endDate) \n\t{\n\t\tDouble totalSum = null;\n\t\t\n\t\ttry {\n\t\t\ttotalSum = transactionService.getTotalTransactionsSumBetweenDatesByType(type, startDate, endDate);\n\t\t}\n\t\tcatch (InvalidDataException e) {\n\t\t\tString exceptionMessage = e.getMessage();\n\t\t\tthrow new InvalidDataException(exceptionMessage);\n\t\t}\n\t\t\n\t\treturn totalSum;\n\t}", "private void calculateInvestmentGroupRoR(Map<String, List<Transaction>> groupedInvestments, Days period) {\n Collection<List<Transaction>> transactions = groupedInvestments.values();\n\n transactions.forEach((investment) -> calculateInvestmentRoR(investment, period));\n }", "@Override\n public DebitReport getReport(Range<Date> range) {\n\n return DebitReport.builder()\n .debits(\n debitRepository.findByDateBetween(\n range.lowerEndpoint(),\n range.upperEndpoint())\n )\n .build();\n }", "@Test\n public void testReservedMonthlyFeeElasticsearch() throws Exception {\n Line line = new Line(LineItemType.RIFee, \"us-east-1\", \"\", es, \"HeavyUsage:r4.xlarge.elasticsearch\", \"ESDomain\", \"USD 0.0 hourly fee per Elasticsearch, r4.xlarge.elasticsearch instance\", null, \"2019-07-01T00:00:00Z\", \"2019-07-31T23:59:59Z\", \"1488\", \"1488.0\", \"\");\n line.setRIFeeFields(\"744.0\", \"0\", \"0\", \"0\", \"2\", \"2017-01-01T00:00:00Z\", \"2020-01-01T00:00:00Z\");\n ProcessTest test = new ProcessTest(line, Result.ignore, 31);\n test.setDelayed();\n Datum expected = new Datum(CostType.recurring, a2, Region.US_EAST_1, null, elasticsearch, Operation.reservedInstancesPartialUpfront, \"r4.xlarge.elasticsearch\", \",\", ReservationArn.get(\"\"), 1.0, 2.0);\n test.run(\"2019-07-01T00:00:00Z\", null, expected);\n \n // All Upfront - 2 RIs at 2.0/hr upfront\n line = new Line(LineItemType.RIFee, \"us-east-1\", \"\", es, \"HeavyUsage:r4.xlarge.elasticsearch\", \"ESDomain\", \"USD 0.0 hourly fee per Elasticsearch, r4.xlarge.elasticsearch instance\", null, \"2019-07-01T00:00:00Z\", \"2019-07-31T23:59:59Z\", \"1488\", \"0\", \"\");\n line.setRIFeeFields(\"2976.0\", \"0\", \"0\", \"0\", \"2\", \"2017-01-01T00:00:00Z\", \"2020-01-01T00:00:00Z\");\n test = new ProcessTest(line, Result.ignore, 31);\n test.setDelayed();\n expected = new Datum(CostType.recurring, a2, Region.US_EAST_1, null, elasticsearch, Operation.reservedInstancesAllUpfront, \"r4.xlarge.elasticsearch\", \",\", ReservationArn.get(\"\"), 4.0, 0.0);\n test.run(\"2019-07-01T00:00:00Z\", null, expected);\n \n // No Upfront - 2 RIs at 1.5/hr recurring\n line = new Line(LineItemType.RIFee, \"us-east-1\", \"\", es, \"HeavyUsage:r4.xlarge.elasticsearch\", \"ESDomain\", \"USD 0.0 hourly fee per Elasticsearch, r4.xlarge.elasticsearch instance\", null, \"2019-07-01T00:00:00Z\", \"2019-07-31T23:59:59Z\", \"1488\", \"2232.0\", \"\");\n line.setRIFeeFields(\"0\", \"0\", \"0\", \"0\", \"2\", \"2017-01-01T00:00:00Z\", \"2020-01-01T00:00:00Z\");\n test = new ProcessTest(line, Result.ignore, 31);\n test.setDelayed();\n expected = new Datum(CostType.recurring, a2, Region.US_EAST_1, null, elasticsearch, Operation.reservedInstancesNoUpfront, \"r4.xlarge.elasticsearch\", \",\", ReservationArn.get(\"\"), 0.0, 3.0);\n test.run(\"2019-07-01T00:00:00Z\", null, expected);\n }", "Message getRevenueForType(String type);", "public void calculateMaxDateForReport() {\r\n\t\ttry {\r\n\t\t\tthis.maxDateReport = ControladorFechas.sumarMeses(\r\n\t\t\t\t\tthis.startDateReport, Constantes.NUMBER_MONTHS_REPORT);\r\n\t\t\tif (this.endDateReport != null\r\n\t\t\t\t\t&& (this.endDateReport.before(this.startDateReport) || this.endDateReport\r\n\t\t\t\t\t\t\t.after(this.maxDateReport))) {\r\n\t\t\t\tthis.endDateReport = null;\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tControladorContexto.mensajeError(e);\r\n\t\t}\r\n\t}", "@Test()\n public void testGetCurrentValuePerMonth() {\n\tYearMonth yearMonth = YearMonth.of(2015, 5);\n\tdouble currentValue = expenseManager.getCurrentValuePerMonth(yearMonth);\n\tassertEquals(615, currentValue, 0);\n }", "public void setRevenue(double revenue) {\n if (revenue > 0) {\r\n this.revenue = revenue; }\r\n }", "public static double calculateEmployeePension(int employeeSalaryForBenefits) {\n double total = 0;\n try {\n Scanner stdin = new Scanner(System.in);\n\n System.out.println(\"Please enter start date in format (example: May,2015): \");\n String joiningDate = stdin.nextLine();\n System.out.println(\"Please enter today's date in format (example: August,2017): \");\n String todayDate = stdin.nextLine();\n String convertedJoiningDate = DateConversion.convertDate(joiningDate);\n String convertedTodayDate = DateConversion.convertDate(todayDate);\n stdin.close();\n String[] actualDateToday = convertedTodayDate.split(\"/\");\n String[] actualJoiningDate = convertedJoiningDate.split(\"/\");\n\n Integer yearsEmployed = Integer.valueOf(actualDateToday[1]) - Integer.valueOf(actualJoiningDate[1]);\n\n if ( Integer.valueOf(actualJoiningDate[0]) > Integer.valueOf(actualDateToday[0]) ) {\n yearsEmployed--;\n }\n\n total = (((employeeSalaryForBenefits * 12) * 0.05) * yearsEmployed);\n\n\n\n\n System.out.println(\"Total pension to receive by employee based on \" + yearsEmployed + \" years with the company \" +\n \"(5% of yearly salary for each year, based on employee's monthly salary of $\" + employeeSalaryForBenefits + \"): \" + total);\n\n }\n catch (NumberFormatException e) {\n e.printStackTrace();\n }\n return total;\n }", "public String RevenueDerniere(){\n List<Ticket> tickets=ticketRepository.findAll();\n double revenueJours=0,revenueSemaine=0,revenuemois=0;\n for (Ticket ticket:tickets){\n if (ticket.getDate().isAfter(Instant.now().minus(Period.ofDays(30)))){\n revenuemois=revenuemois+ticket.getAddition();\n }\n if (ticket.getDate().isAfter(Instant.now().minus(Period.ofDays(7)))){\n revenueSemaine=revenueSemaine+ticket.getAddition();\n }\n if (ticket.getDate().isAfter(Instant.now().minus(Period.ofDays(1)))){\n revenueJours=revenueJours+ticket.getAddition();\n }\n }\n\n return \"Revenue moins derniere :\"+revenuemois+\"\\n Revenue semaine derniere :\"+revenueSemaine+\"\\n \"\n\t\t+ \"Revenue jour derniere :\"+revenueJours;\n }", "private void givenExchangeRatesExistsForSixMonths() {\n }", "Message getRevenueForCustomer(int id);", "public int produceManPowerCost(int manWeekday, int manWeekend, int month) throws Exception {\n\t\t/***FAULT## FAILURE INDUCING CODE***/\n\t\t/* INDUCING Detail: mutation \n\t\t * ** original code **:\n\t\tif(manWeekday < 0 || manWeekday > amountLimit) {\n\t\t\tthrow new Exception(\"Invalid man amount\");\n\t\t}\n\n\t\tif(manWeekend < 0 || manWeekend < amountLimit) {\n\t\t\tthrow new Exception(\"Invalid man amount\");\n\t\t}\n\t\tif(month < 0 || month > 11) {\n\t\t\tthrow new Exception(\"Month out of range\");\n\t\t}\n\t\t * ---------------------\n\t\t * ** mutated code **:\n\t\tif(manWeekday < 0 && manWeekday > amountLimit) {\n\t\t\tthrow new Exception(\"Invalid man amount\");\n\t\t}\n\n\t\tif(manWeekend < 0 && manWeekend < amountLimit) {\n\t\t\tthrow new Exception(\"Invalid man amount\");\n\t\t}\n\t\tif(month < 0 && month > 11) {\n\t\t\tthrow new Exception(\"Month out of range\");\n\t\t}\n\t\t */\n\t\tif(manWeekday < 0 && manWeekday > amountLimit) {\n\t\t\tthrow new Exception(\"Invalid man amount\");\n\t\t}\n\n\t\tif(manWeekend < 0 && manWeekend > amountLimit) {\n\t\t\tthrow new Exception(\"Invalid man amount\");\n\t\t}\n\t\tif(month < 0 && month > 11) {\n\t\t\tthrow new Exception(\"Month out of range\");\n\t\t}\n\t\t\n\t\tint weekends = mc.weekendsOfMonth(year, month);\n\t\tint days = mc.daysOfMonth(year, month);\n\t\tint weekdays = days - weekends;\n\t\t\n\t\tint weekdayWage = weekdayProduceWage;\n\t\tint weekendWage = weekendProduceWage;\n\t\t\n\t\tif(manWeekday > weekdayProduceManLimit) {\n\t\t\tweekdayWage = weekdayProduceOverWage;\n\t\t}\n\t\tif(manWeekend > weekendProduceManLimit) {\n\t\t\tweekendWage = weekendProduceOverWage;\n\t\t}\n\t\t\n\t\tint weekdayCost = weekdays * manWeekday * weekdayWage;\n\t\tint weekendCost = weekends * manWeekend * weekendWage;\n\t\t\n\t\tmanWeekdayProduce = manWeekday;\n\t\tmanWeekendProduce = manWeekend;\n\t\t\n\t\treturn weekdayCost + weekendCost;\n\t}", "@Test\n public void testLoanRefundByCashCashBasedAccounting() {\n\n Calendar fourMonthsfromNowCalendar = Calendar.getInstance(Utils.getTimeZoneOfTenant());\n fourMonthsfromNowCalendar.add(Calendar.MONTH, -4);\n\n // FINERACT-885: If the loan starts on day 27-31th of month and not all months have that\n // many days, then loan payment will get reset to a day of month less than today's day\n // and 4th payment will be in the past. In such case, start the loan a few days later,\n // so that 4th payment is guaranteed to be in the future.\n if (fourMonthsfromNowCalendar.get(Calendar.DAY_OF_MONTH) > 27) {\n fourMonthsfromNowCalendar.add(Calendar.DAY_OF_MONTH, 4);\n }\n\n String fourMonthsfromNow = Utils.convertDateToURLFormat(fourMonthsfromNowCalendar);\n\n final Integer clientID = ClientHelper.createClient(REQUEST_SPEC, RESPONSE_SPEC);\n ClientHelper.verifyClientCreatedOnServer(REQUEST_SPEC, RESPONSE_SPEC, clientID);\n\n /***\n * Create loan product with Default STYLE strategy\n */\n\n final Account assetAccount = ACCOUNT_HELPER.createAssetAccount();\n final Account incomeAccount = ACCOUNT_HELPER.createIncomeAccount();\n final Account expenseAccount = ACCOUNT_HELPER.createExpenseAccount();\n final Account overpaymentAccount = ACCOUNT_HELPER.createLiabilityAccount();\n\n final Integer loanProductID = createLoanProduct(\"0\", \"0\", LoanProductTestBuilder.DEFAULT_STRATEGY, CASH_BASED, assetAccount,\n incomeAccount, expenseAccount, overpaymentAccount);\n Assertions.assertNotNull(loanProductID);\n\n /***\n * Apply for loan application and verify loan status\n */\n final String savingsId = null;\n final String principal = \"12,000.00\";\n\n // Add charges with payment mode regular\n List<HashMap> charges = new ArrayList<>();\n\n Integer flatInstallmentFee = ChargesHelper.createCharges(REQUEST_SPEC, RESPONSE_SPEC,\n ChargesHelper.getLoanInstallmentJSON(ChargesHelper.CHARGE_CALCULATION_TYPE_FLAT, \"50\", false));\n addCharges(charges, flatInstallmentFee, \"50\", null);\n\n List<HashMap> collaterals = new ArrayList<>();\n\n final Integer collateralId = CollateralManagementHelper.createCollateralProduct(REQUEST_SPEC, RESPONSE_SPEC);\n\n final Integer clientCollateralId = CollateralManagementHelper.createClientCollateral(REQUEST_SPEC, RESPONSE_SPEC,\n String.valueOf(clientID), collateralId);\n addCollaterals(collaterals, clientCollateralId, BigDecimal.valueOf(1));\n\n final Integer loanID = applyForLoanApplicationWithPaymentStrategyAndPastMonth(clientID, loanProductID, charges, savingsId,\n principal, LoanApplicationTestBuilder.DEFAULT_STRATEGY, -4, collaterals);\n Assertions.assertNotNull(loanID);\n HashMap loanStatusHashMap = LoanStatusChecker.getStatusOfLoan(REQUEST_SPEC, RESPONSE_SPEC, loanID);\n LoanStatusChecker.verifyLoanIsPending(loanStatusHashMap);\n\n LOG.info(\"-----------------------------------APPROVE LOAN-----------------------------------------\");\n loanStatusHashMap = LOAN_TRANSACTION_HELPER.approveLoan(fourMonthsfromNow, loanID);\n LoanStatusChecker.verifyLoanIsApproved(loanStatusHashMap);\n LoanStatusChecker.verifyLoanIsWaitingForDisbursal(loanStatusHashMap);\n\n LOG.info(\"-------------------------------DISBURSE LOAN-------------------------------------------\");\n String loanDetails = LOAN_TRANSACTION_HELPER.getLoanDetails(REQUEST_SPEC, RESPONSE_SPEC, loanID);\n loanStatusHashMap = LOAN_TRANSACTION_HELPER.disburseLoanWithNetDisbursalAmount(fourMonthsfromNow, loanID,\n JsonPath.from(loanDetails).get(\"netDisbursalAmount\").toString());\n LoanStatusChecker.verifyLoanIsActive(loanStatusHashMap);\n\n final JournalEntry[] assetAccountInitialEntry = {\n new JournalEntry(Float.parseFloat(\"12000.00\"), JournalEntry.TransactionType.CREDIT),\n new JournalEntry(Float.parseFloat(\"12000.00\"), JournalEntry.TransactionType.DEBIT) };\n JOURNAL_ENTRY_HELPER.checkJournalEntryForAssetAccount(assetAccount, fourMonthsfromNow, assetAccountInitialEntry);\n\n ArrayList<HashMap> loanSchedule = LOAN_TRANSACTION_HELPER.getLoanRepaymentSchedule(REQUEST_SPEC, RESPONSE_SPEC, loanID);\n HashMap firstInstallment = loanSchedule.get(1);\n validateNumberForEqual(\"2290\", String.valueOf(firstInstallment.get(\"totalOutstandingForPeriod\")));\n\n // Make payment for installment #1\n\n fourMonthsfromNowCalendar.add(Calendar.MONTH, 1);\n\n final String threeMonthsfromNow = Utils.convertDateToURLFormat(fourMonthsfromNowCalendar);\n\n LOAN_TRANSACTION_HELPER.makeRepayment(threeMonthsfromNow, Float.parseFloat(\"2290\"), loanID);\n loanSchedule.clear();\n loanSchedule = LOAN_TRANSACTION_HELPER.getLoanRepaymentSchedule(REQUEST_SPEC, RESPONSE_SPEC, loanID);\n firstInstallment = loanSchedule.get(1);\n validateNumberForEqual(\"0.00\", String.valueOf(firstInstallment.get(\"totalOutstandingForPeriod\")));\n\n // Make payment for installment #2\n fourMonthsfromNowCalendar.add(Calendar.MONTH, 1);\n\n final String twoMonthsfromNow = Utils.convertDateToURLFormat(fourMonthsfromNowCalendar);\n\n LOAN_TRANSACTION_HELPER.makeRepayment(twoMonthsfromNow, Float.parseFloat(\"2290\"), loanID);\n JOURNAL_ENTRY_HELPER.checkJournalEntryForAssetAccount(assetAccount, twoMonthsfromNow,\n new JournalEntry(Float.parseFloat(\"2290\"), JournalEntry.TransactionType.DEBIT),\n new JournalEntry(Float.parseFloat(\"2000\"), JournalEntry.TransactionType.CREDIT));\n JOURNAL_ENTRY_HELPER.checkJournalEntryForIncomeAccount(incomeAccount, twoMonthsfromNow,\n new JournalEntry(Float.parseFloat(\"50\"), JournalEntry.TransactionType.CREDIT),\n new JournalEntry(Float.parseFloat(\"240\"), JournalEntry.TransactionType.CREDIT));\n\n loanSchedule.clear();\n loanSchedule = LOAN_TRANSACTION_HELPER.getLoanRepaymentSchedule(REQUEST_SPEC, RESPONSE_SPEC, loanID);\n Map secondInstallment = loanSchedule.get(2);\n validateNumberForEqual(\"0.00\", String.valueOf(secondInstallment.get(\"totalOutstandingForPeriod\")));\n\n // Make payment for installment #3\n // Pay 2290 more than expected\n fourMonthsfromNowCalendar.add(Calendar.MONTH, 1);\n\n final String oneMonthfromNow = Utils.convertDateToURLFormat(fourMonthsfromNowCalendar);\n\n LOAN_TRANSACTION_HELPER.makeRepayment(oneMonthfromNow, Float.parseFloat(\"4580\"), loanID);\n JOURNAL_ENTRY_HELPER.checkJournalEntryForAssetAccount(assetAccount, oneMonthfromNow,\n new JournalEntry(Float.parseFloat(\"4580\"), JournalEntry.TransactionType.DEBIT),\n new JournalEntry(Float.parseFloat(\"4000\"), JournalEntry.TransactionType.CREDIT));\n JOURNAL_ENTRY_HELPER.checkJournalEntryForIncomeAccount(incomeAccount, oneMonthfromNow,\n new JournalEntry(Float.parseFloat(\"100\"), JournalEntry.TransactionType.CREDIT),\n new JournalEntry(Float.parseFloat(\"480\"), JournalEntry.TransactionType.CREDIT));\n\n loanSchedule.clear();\n loanSchedule = LOAN_TRANSACTION_HELPER.getLoanRepaymentSchedule(REQUEST_SPEC, RESPONSE_SPEC, loanID);\n HashMap thirdInstallment = loanSchedule.get(3);\n validateNumberForEqual(\"0.00\", String.valueOf(thirdInstallment.get(\"totalOutstandingForPeriod\")));\n\n // Make refund of 20\n // max 2290 to refund. Pay 20 means only principal\n // Default style refund order(principal, interest, fees and penalties\n // paid: principal 2000, interest 240, fees 50, penalty 0\n // refund 20 means paid: principal 1980, interest 240, fees 50, penalty\n // 0\n\n // FINERACT-885: As loan may not have started exactly four months ago,\n // make final payment today and not four months from start (as that may be in the future)\n fourMonthsfromNowCalendar.setTime(Date.from(Utils.getLocalDateOfTenant().atStartOfDay(Utils.getZoneIdOfTenant()).toInstant()));\n final String now = Utils.convertDateToURLFormat(fourMonthsfromNowCalendar);\n\n LOAN_TRANSACTION_HELPER.makeRefundByCash(now, Float.parseFloat(\"20\"), loanID);\n JOURNAL_ENTRY_HELPER.checkJournalEntryForAssetAccount(assetAccount, now,\n new JournalEntry(Float.parseFloat(\"20\"), JournalEntry.TransactionType.CREDIT),\n new JournalEntry(Float.parseFloat(\"20\"), JournalEntry.TransactionType.DEBIT));\n\n loanSchedule.clear();\n loanSchedule = LOAN_TRANSACTION_HELPER.getLoanRepaymentSchedule(REQUEST_SPEC, RESPONSE_SPEC, loanID);\n HashMap fourthInstallment = loanSchedule.get(4);\n validateNumberForEqual(\"20.00\", String.valueOf(fourthInstallment.get(\"totalOutstandingForPeriod\")));\n validateNumberForEqual(\"20.00\", String.valueOf(fourthInstallment.get(\"principalOutstanding\")));\n validateNumberForEqual(\"0.00\", String.valueOf(fourthInstallment.get(\"interestOutstanding\")));\n validateNumberForEqual(\"0.00\", String.valueOf(fourthInstallment.get(\"feeChargesOutstanding\")));\n\n // Make refund of 2000\n // max 2270 to refund. Pay 2000 means only principal\n // paid: principal 1980, interest 240, fees 50, penalty 0\n // refund 2000 means paid: principal 0, interest 220, fees 50, penalty 0\n\n LOAN_TRANSACTION_HELPER.makeRefundByCash(now, Float.parseFloat(\"2000\"), loanID);\n JOURNAL_ENTRY_HELPER.checkJournalEntryForAssetAccount(assetAccount, now,\n new JournalEntry(Float.parseFloat(\"2000\"), JournalEntry.TransactionType.CREDIT),\n new JournalEntry(Float.parseFloat(\"1980\"), JournalEntry.TransactionType.DEBIT));\n\n JOURNAL_ENTRY_HELPER.checkJournalEntryForIncomeAccount(incomeAccount, now,\n new JournalEntry(Float.parseFloat(\"20\"), JournalEntry.TransactionType.DEBIT));\n\n loanSchedule.clear();\n loanSchedule = LOAN_TRANSACTION_HELPER.getLoanRepaymentSchedule(REQUEST_SPEC, RESPONSE_SPEC, loanID);\n fourthInstallment = loanSchedule.get(4);\n validateNumberForEqual(\"2020.00\", String.valueOf(fourthInstallment.get(\"totalOutstandingForPeriod\")));\n validateNumberForEqual(\"2000.00\", String.valueOf(fourthInstallment.get(\"principalOutstanding\")));\n validateNumberForEqual(\"20.00\", String.valueOf(fourthInstallment.get(\"interestOutstanding\")));\n validateNumberForEqual(\"0.00\", String.valueOf(fourthInstallment.get(\"feeChargesOutstanding\")));\n\n }", "@Test(expected = IllegalArgumentException.class)\n public void testGetExpensesByTypeAndMonthInFuture() {\n\tString type = \"MONTHLY\";\n\tYearMonth yearMonth = YearMonth.of(2016, 12);\n\texpenseManager.getExpensesByTypeAndMonth(type, yearMonth);\n }", "@Test\n public void testProcessCheckoutLadderJulyFourth() throws Exception {\n String toolCode = \"LADW\";\n int rentalDays = 3;\n int discountPercentage = 10;\n LocalDate checkoutDate = LocalDate.of(2020, Month.JULY, 2);\n\n RentalAgreement result = checkout.processCheckout(toolCode, rentalDays, discountPercentage, checkoutDate);\n\n assertEquals(\"Ladder\", result.getRentedTool().getToolType());\n assertEquals(LocalDate.of(2020, Month.JULY, 5), result.getDueDate());\n assertEquals(2, result.getChargeDays());\n assertEquals(3.98, result.getPreDiscountCharge(), 0.00001);\n assertEquals(0.40, result.getDiscountAmount(), 0.00001);\n assertEquals(3.58, result.getFinalCharge(), 0.00001);\n }", "public double calculateApprovedMonthlyTotal(ExpenseRetrievalResponse expenseRetrievalResponse){\n LinkedList<Expense> expenses = expenseRetrievalResponse.getExpenses();\n\n double monthlyTotal = 0.0;\n\n for(Expense expense : expenses){\n if(expense.isApproved() && dateService.withinMonth(expense.getDate()))\n monthlyTotal = monthlyTotal + expense.getPrice();\n }\n\n return round(monthlyTotal, 2);\n }", "@Test\n void calculateDiscountTooLowTest() throws Exception {\n ToolType toolType = ToolType.JACKHAMMER; // weekendFree: true holidayFree: true\n String toolCode = \"JAKR\";\n String brand = \"Werner\";\n int discount = -10;\n int daysRented = 0;\n LocalDate checkoutDate = createDate(\"2015-09-03\");\n\n Tool tool = createTool(toolType, toolCode, brand);\n\n List<Tool> tools = Arrays.asList(tool);\n Order order = new Order(tools, checkoutDate, daysRented);\n\n List<LocalDate> holidays = createHolidays(checkoutDate.getYear());\n RentalAgreement rentAgmt = createRentalAgreement(order, discount, holidays);\n\n Assertions.assertThrows(Exception.class, ()->\n rentAgmt.calculate(), \"Expected calculate() to throw Exception but it didn't\"\n );\n }", "public double getIncome(LocalDate from, LocalDate to) throws SQLException {\n\t\ttry (PreparedStatement statement = conn.prepareStatement(\"select sum(Amount) from transaction where date between ? and ? and type=\\\"Income\\\"\")) {\n\t\t\tstatement.setDate(1, Date.valueOf(from));\n\t\t\tstatement.setDate(2, Date.valueOf(to));\n\t\t\ttry (ResultSet resultSet = statement.executeQuery()) {\n\t\t\t\tif (resultSet.next()) {\n\t\t\t\t\treturn resultSet.getDouble(1);\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t}", "List<ProductSales> findSalesByDateRange(LocalDate startDate, LocalDate endDate, String channelId, String productId);", "double getStockCostBasis(String date) throws IllegalArgumentException;", "public double getMonthlyPayment() {\n double monthlyInterestRate = annualInterestRate / 1200;\n double monthlyPayment = loanAmount * monthlyInterestRate / (1 - (1 / Math.pow(1 + monthlyInterestRate, numberOfYears * 12)));\n \n return monthlyPayment;\n }" ]
[ "0.6349934", "0.556583", "0.54603106", "0.5456613", "0.5406294", "0.5368103", "0.53236705", "0.5313194", "0.53111666", "0.5295251", "0.52092844", "0.5183209", "0.5176464", "0.5135041", "0.50933605", "0.50799316", "0.50734407", "0.5048822", "0.5030854", "0.50259465", "0.5021386", "0.5010796", "0.50092816", "0.50056076", "0.50038385", "0.49744776", "0.49640712", "0.49529907", "0.49281943", "0.49198696", "0.49134672", "0.49118418", "0.48798072", "0.48596475", "0.48541212", "0.4853985", "0.48384273", "0.48305756", "0.48148584", "0.48113573", "0.4804554", "0.4792763", "0.47842282", "0.47706512", "0.47593912", "0.47566336", "0.47495216", "0.47427106", "0.47335312", "0.47307187", "0.4721473", "0.47200388", "0.4715456", "0.47043923", "0.46913064", "0.4691128", "0.46701545", "0.46665108", "0.4666363", "0.46515265", "0.46492073", "0.46474835", "0.46427646", "0.463676", "0.46271148", "0.46246526", "0.4611791", "0.46105015", "0.46098253", "0.4609025", "0.46024004", "0.45886728", "0.45824698", "0.45794886", "0.45768666", "0.4570793", "0.45680162", "0.45651907", "0.45651743", "0.45622823", "0.45553425", "0.4555276", "0.45550683", "0.45290184", "0.45274535", "0.45273232", "0.45195904", "0.45139077", "0.4510931", "0.45108712", "0.4508888", "0.4492523", "0.44914824", "0.44908112", "0.44898129", "0.44895625", "0.44881222", "0.44812095", "0.4470886", "0.44687513" ]
0.65990674
0
This function is used to Calculate Total Booking Cost on the basis of given payment ID, distance and vehicle parameters such as charges per km, fixed charges. It returns exception if given payment id is not found.
@PatchMapping("/payment/paymentId/{paymentId}/distance/{distance}/vehicle") public ResponseEntity<Booking> calculateTotalBookingCost(@PathVariable("paymentId") int paymentId, @PathVariable("distance") double distance, Vehicle vehicle) { logger.info("Calculate Total Booking Cost"); if (payService.calculateTotalBookingCost(paymentId, distance, vehicle) == null) { throw new PaymentNotFoundException("Payment not found with this paymentId: " + paymentId); } return ResponseEntity.ok().body(payService.calculateTotalBookingCost(paymentId, distance, vehicle)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PriceCalculationModel calculateLeasePrice(Long leaseId);", "@GetMapping(\"/booking/id1/{id1}/id2/{id2}\")\n\tpublic ResponseEntity<Double> calculateTotalPayment(@PathVariable(\"id1\") int bookingStartId,\n\t\t\t@PathVariable(\"id2\") int bookingEndId) {\n\t\tlogger.info(\"Calculate Total Payment\");\n\t\tif (payService.calculateTotalPayment(bookingStartId, bookingEndId) == 0) {\n\t\t\tthrow new PaymentNotFoundException(\n\t\t\t\t\t\"Payment not found with these paymentId: \" + bookingStartId + bookingEndId);\n\t\t}\n\t\treturn ResponseEntity.ok().body(payService.calculateTotalPayment(bookingStartId, bookingEndId));\n\t}", "@Override \r\n public double getPaymentAmount() \r\n { \r\n return getQuantity() * getPricePerItem(); // calculate total cost\r\n }", "@Override\n protected double calcTotalCost() {\n \n double totalCost, templateBasicRate = DEFAULT_BASIC_RATE;\n double extraBedrooms = 0, extraBathrooms = 0;\n\n // if there are extra beds/baths\n if (this.getNumBedrooms() > DEFAULT_NUM_BEDROOMS)\n extraBedrooms = this.getNumBedrooms() - DEFAULT_NUM_BEDROOMS;\n\n if (this.getNumBathrooms() > DEFAULT_NUM_BATHROOMS)\n extraBathrooms = this.getNumBathrooms() - DEFAULT_NUM_BATHROOMS;\n\n // multiply basic rate by 1.5 if the total area is >= 3,000 sq ft\n if (this.getTotalArea() >= 3000)\n templateBasicRate *= 1.5;\n\n // calculate total cost\n totalCost = (templateBasicRate + ((800 * extraBedrooms) + (500 * extraBathrooms)));\n\n // add tax\n totalCost += (TAX * totalCost);\n\n return totalCost;\n }", "public double calculateCost(Purchase purchase);", "@GetMapping(\"/geofencingUpdate/total/{id}\")\n\tpublic BigDecimal getTotalDistanceUpdate(@RequestParam(value = \"teknisiLat\") BigDecimal teknisiLat,\n\t\t\t@RequestParam(value = \"teknisiLong\") BigDecimal teknisiLong, @PathVariable(value = \"id\") Long BranchId) {\n\n\t\tClientCompanyBranch clientCompanyBranch = clientCompanyBranchRepository.findById(BranchId).get();\n\n\t\tdouble teknisiLatDouble = teknisiLat.doubleValue();\n\t\tdouble companyLatDouble = clientCompanyBranch.getBranchLatitude().doubleValue();\n\t\tdouble teknisiLongDouble = teknisiLong.doubleValue();\n\t\tdouble companyLongDouble = clientCompanyBranch.getBranchLongitude().doubleValue();\n\n\t\tdouble radius = 6371; // Radius or earth (2km)\n\n\t\tdouble latDistance = Math.toRadians(companyLatDouble - teknisiLatDouble);\n\t\tdouble longDistance = Math.toRadians(companyLongDouble - teknisiLongDouble);\n\t\tdouble a = Math.sin(latDistance / 2) * Math.sin(latDistance / 2) + Math.cos(Math.toRadians(teknisiLatDouble))\n\t\t\t\t* Math.cos(Math.toRadians(companyLatDouble)) * Math.sin(longDistance / 2) * Math.sin(longDistance / 2);\n\t\tdouble c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));\n\t\tdouble distance = radius * c * 1000; // convert to meters\n\n\t\tdistance = Math.pow(distance, 2);\n\t\tBigDecimal result = new BigDecimal(Math.sqrt(distance));\n\n\t\treturn result;\n\t}", "double calculateDeliveryCost(Cart cart);", "public void calculateOrderCost(){\n int tmpCost=0;\n for (Vehicle v : vehicleList){\n tmpCost+=v.getCost();\n }\n totalCost=tmpCost;\n }", "public static double getPaymentAmountDue(Payment payment, HashMap requestParams, accVendorPaymentDAO accVendorPaymentobj) throws ServiceException, ParseException {\n boolean isOpeningPayment = false;\n boolean isAdvancePaymentToVendor = false;\n boolean isRefundPaymentToCustomer = false;\n DateFormat df = (DateFormat) requestParams.get(GoodsReceiptCMNConstants.DATEFORMAT);\n if (df == null) {\n df = (DateFormat) requestParams.get(Constants.df);\n }\n String companyid = (String) requestParams.get(GoodsReceiptCMNConstants.COMPANYID);\n double paymentDueAmt = 0;\n if ((payment.getAdvanceDetails() != null && !payment.getAdvanceDetails().isEmpty()) || payment.isIsOpeningBalencePayment()) {\n double paymentAmt = 0;\n double linkedPaymentAmt = 0;\n if (payment.isIsOpeningBalencePayment()) {//opening payment\n isOpeningPayment = true;\n paymentAmt += payment.getDepositAmount();\n } else if (payment.getVendor() != null) {//advance payment against vendor\n isAdvancePaymentToVendor = true;\n for (AdvanceDetail advanceDetail : payment.getAdvanceDetails()) {\n paymentAmt += advanceDetail.getAmount();\n }\n } else if (payment.getCustomer() != null) {//Refund payment against customer\n isRefundPaymentToCustomer = true;\n for (AdvanceDetail advanceDetail : payment.getAdvanceDetails()) {\n if (advanceDetail.getReceiptAdvanceDetails() == null) {//Only such refunds can be due in which at the time of creation no document (no advance receipt) is selected \n paymentAmt += advanceDetail.getAmount();\n }\n }\n //In this case paymentAmt can be zero (if all refund have advance receipt documnet selected) so we need to retun amount due zero here\n if (paymentAmt == 0) {\n return 0;\n }\n }\n HashMap<String, Object> reqParams1 = new HashMap();\n reqParams1.put(\"paymentid\", payment.getID());\n reqParams1.put(\"companyid\", companyid);\n reqParams1.put(Constants.df, df);\n if (requestParams.containsKey(\"asofdate\") && requestParams.get(\"asofdate\") != null) {\n reqParams1.put(\"asofdate\", requestParams.get(\"asofdate\"));\n }\n if (isOpeningPayment || isAdvancePaymentToVendor) {\n KwlReturnObject result = accVendorPaymentobj.getLinkedDetailsPayment(reqParams1);\n List<LinkDetailPayment> linkedDetaisPayments = result.getEntityList();\n for (LinkDetailPayment ldp : linkedDetaisPayments) {\n linkedPaymentAmt += ldp.getAmount();\n }\n result = accVendorPaymentobj.getLinkDetailPaymentToCreditNote(reqParams1);\n List<LinkDetailPaymentToCreditNote> linkedDetaisPaymentsToCN = result.getEntityList();\n for (LinkDetailPaymentToCreditNote ldp : linkedDetaisPaymentsToCN) {\n linkedPaymentAmt += ldp.getAmount();\n }\n result = accVendorPaymentobj.getAdvanceReceiptDetailsByPayment(reqParams1);\n List<Object[]> list2 = result.getEntityList();\n for (Object obj[] : list2) {\n double revExchangeRate = 1.0;\n double amount = obj[1] != null ? Double.parseDouble(obj[1].toString()) : 0.0;\n double exchangeRate = obj[2] != null ? Double.parseDouble(obj[2].toString()) : 0.0;\n if (exchangeRate != 0.0) {\n revExchangeRate = 1 / exchangeRate;\n }\n linkedPaymentAmt += authHandler.round(revExchangeRate * amount, companyid);\n }\n result = accVendorPaymentobj.getLinkDetailReceiptToAdvancePayment(reqParams1);\n List<LinkDetailReceiptToAdvancePayment> linkDetailReceiptToAdvancePayment = result.getEntityList();\n for (LinkDetailReceiptToAdvancePayment ldp : linkDetailReceiptToAdvancePayment) {\n linkedPaymentAmt += ldp.getAmountInPaymentCurrency();\n }\n paymentDueAmt = paymentAmt - linkedPaymentAmt;\n } else if (isRefundPaymentToCustomer) {\n KwlReturnObject result = accVendorPaymentobj.getLinkDetailAdvanceReceiptToRefundPayment(reqParams1);\n List<LinkDetailPaymentToAdvancePayment> linkDetailPaymentToAdvancePayment = result.getEntityList();\n for (LinkDetailPaymentToAdvancePayment ldp : linkDetailPaymentToAdvancePayment) {\n linkedPaymentAmt += ldp.getAmount();\n }\n paymentDueAmt = paymentAmt - linkedPaymentAmt;\n }\n }\n paymentDueAmt = authHandler.round(paymentDueAmt, companyid);\n return paymentDueAmt;\n }", "public double calcCost(){\n double cost = 0;\n cost += pMap.get(size);\n cost += cMap.get(crust);\n //Toppings are priced at 3.00 for 3-4 topppings, and 4.0 for 5+ toppings\n \n if(toppings !=null)\n {\n if((toppings.length == 3) || (toppings.length == 4)){\n cost += 3.0;\n }\n if (toppings.length > 4){\n cost += 4.0;\n }\n }\n \n return cost;\n }", "protected int queryPrice(int id, String key) {\n Trace.info(\"RM::queryCarsPrice(\" + id + \", \" + key + \") called\" );\n ReservableItem curObj = (ReservableItem) readData( id, key);\n int value = 0; \n if ( curObj != null ) {\n value = curObj.getPrice();\n } // else\n Trace.info(\"RM::queryCarsPrice(\" + id + \", \" + key + \") returns cost=$\" + value );\n return value; \n }", "public String transaction_pay(int reservationId) {\r\n\t\ttry {\r\n\t\t\tif (username == null){\r\n\t\t\t\treturn \"Cannot pay, not logged in\\n\";\r\n\t\t\t}\r\n\t\t\tbeginTransaction();\r\n\t\t\t\r\n\t\t\t//query for the user balance \r\n\t\t\tcheckBalanceStatement.clearParameters();\r\n\t\t\tcheckBalanceStatement.setString(1, username);\r\n\t\t\tResultSet b = checkBalanceStatement.executeQuery();\r\n\t\t\tb.next();\r\n\t\t\tint user_balance = b.getInt(\"balance\");\r\n\t\t\t\r\n\t\t\t//get the price of the first flight\r\n\t\t\tunpaidReservationStatement.clearParameters();\r\n\t\t\tunpaidReservationStatement.setString(1, username);\r\n\t\t\tunpaidReservationStatement.setInt(2, reservationId);\r\n\t\t\tResultSet unpaid = unpaidReservationStatement.executeQuery();\r\n\t\t\t\r\n\t\t\tint total_price = 0;\r\n\t\t\tif (!unpaid.next()){\r\n\t\t\t\trollbackTransaction();\r\n\t\t\t\treturn \"Cannot find unpaid reservation \"+reservationId+\" under user: \"+username+\"\\n\";\r\n\t\t\t} else {\r\n\t\t\t\t//unpaid.next() ?? maybe not sure\r\n\r\n\t\t\t\tint fid1 = unpaid.getInt(\"fid1\");\r\n\t\t\t\tint fid2 = unpaid.getInt(\"fid2\");\r\n\t\t\t\tcheckPriceStatement.clearParameters();\r\n\t\t\t\tcheckPriceStatement.setInt(1, fid1);\r\n\t\t\t\tResultSet p1 = checkPriceStatement.executeQuery();\r\n\t\t\t\tp1.next();\r\n\t\t\t\ttotal_price += p1.getInt(\"price\");\r\n\t\t\t\tp1.close();\r\n\t\t\t\t\r\n\t\t\t\t//unpaidReservationStatement2.clearParameters();\r\n\t\t\t\t//unpaidReservationStatement2.setString(1, username);\r\n\t\t\t\t//unpaidReservationStatement2.setInt(2, reservationId);\r\n\t\t\t\t//ResultSet second = unpaidReservationStatement2.executeQuery();\r\n\t\t\t\tif (fid2 != 0){\r\n\t\t\t\t\t//second fid is not null\r\n\t\t\t\t\tcheckPriceStatement.clearParameters();\r\n\t\t\t\t\tcheckPriceStatement.setInt(1, fid2);\r\n\t\t\t\t\tResultSet p2 = checkPriceStatement.executeQuery();\r\n\t\t\t\t\tp2.next();\r\n\t\t\t\t\ttotal_price += p2.getInt(\"price\");\r\n\t\t\t\t\tp2.close();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif (total_price > user_balance){\r\n\t\t\t\t\trollbackTransaction();\r\n\t\t\t\t\treturn \"User has only \"+user_balance+\" in account but itinerary costs \"+total_price+\"\\n\";\r\n\t\t\t\t} else {\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tupdatePaidStatement.clearParameters();\r\n\t\t\t\t\tupdatePaidStatement.setString(1, \"true\");\r\n\t\t\t\t\tupdatePaidStatement.setInt(2, reservationId);\r\n\t\t\t\t\tupdatePaidStatement.executeUpdate();\r\n\t\t\t\t\t\r\n\t\t\t\t\tupdateBalanceStatement.clearParameters();\r\n\t\t\t\t\tupdateBalanceStatement.setInt(1, (user_balance-total_price));\r\n\t\t\t\t\tupdateBalanceStatement.setString(2, username);\r\n\t\t\t\t\tupdateBalanceStatement.executeUpdate();\r\n\t\t\t\t\t\r\n\t\t\t\t\tcommitTransaction();\r\n\t\t\t\t\treturn \"Paid reservation: \"+reservationId+\" remaining balance: \"+(user_balance-total_price)+\"\\n\";\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (SQLException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\t//rollbackTransaction();\r\n\t\t\treturn \"Failed to pay for reservation \" + reservationId + \"\\n\";\r\n\t\t}\r\n }", "double getTotalCost();", "@GetMapping(\"/geofencing/total/{id}\")\n\tpublic BigDecimal getTotalDistance(@RequestParam(value = \"teknisiLat\") BigDecimal teknisiLat,\n\t\t\t@RequestParam(value = \"teknisiLong\") BigDecimal teknisiLong, @PathVariable(value = \"id\") Long BranchId) {\n\n\t\tClientCompanyBranch clientCompanyBranch = clientCompanyBranchRepository.findById(BranchId).get();\n\n\t\tdouble teknisiLatDouble = teknisiLat.doubleValue();\n\t\tdouble companyLatDouble = clientCompanyBranch.getBranchLatitude().doubleValue();\n\t\tdouble teknisiLongDouble = teknisiLong.doubleValue();\n\t\tdouble companyLongDouble = clientCompanyBranch.getBranchLongitude().doubleValue();\n\n\t\tdouble radius = 6371; // Radius or earth (2km)\n\n\t\tdouble latDistance = Math.toRadians(companyLatDouble - teknisiLatDouble);\n\t\tdouble longDistance = Math.toRadians(companyLongDouble - teknisiLongDouble);\n\t\tdouble a = Math.sin(latDistance / 2) * Math.sin(latDistance / 2) + Math.cos(Math.toRadians(teknisiLatDouble))\n\t\t\t\t* Math.cos(Math.toRadians(companyLatDouble)) * Math.sin(longDistance / 2) * Math.sin(longDistance / 2);\n\t\tdouble c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));\n\t\tdouble distance = radius * c * 1000; // convert to meters\n\n\t\tdistance = Math.pow(distance, 2);\n\t\tBigDecimal result = new BigDecimal(Math.sqrt(distance));\n\n\t\treturn result;\n\t}", "private double calculateCommissionAmountVehicles(PrintItinerary itinerary) {\n\t\tdouble commissionAmount = 0.0;\n\t\tif (itinerary.getVehicles() != null\n\t\t\t\t&& itinerary.getVehicles().size() > 0) {\n\t\t\tfor (Vehicle vehicle : itinerary.getVehicles()) {\n\t\t\t\tcommissionAmount = commissionAmount\n\t\t\t\t\t\t+ vehicle.getPrice().getCommissionAmount();\n\t\t\t}\n\t\t}\n\n\t\treturn commissionAmount;\n\t}", "private void billing_calculate() {\r\n\r\n // need to search patient before calculating amount due\r\n if (billing_fullNameField.equals(\"\")){\r\n JOptionPane.showMessageDialog(this, \"Must search for a patient first!\\nGo to the Search Tab.\",\r\n \"Need to Search Patient\", JOptionPane.ERROR_MESSAGE);\r\n }\r\n if (MainGUI.pimsSystem.lookUpAppointmentDate(currentPatient).equals(\"\")){\r\n JOptionPane.showMessageDialog(this, \"No Appointment to pay for!\\nGo to Appointment Tab to make one.\",\r\n \"Nothing to pay for\", JOptionPane.ERROR_MESSAGE);\r\n }\r\n\r\n // patient has been searched - get info from patient info panel\r\n else {\r\n\r\n currentPatient = MainGUI.pimsSystem.patient_details\r\n (pInfo_lastNameTextField.getText(), Integer.parseInt(pInfo_ssnTextField.getText()));\r\n // patient has a policy, amount due is copay: $50\r\n // no policy, amount due is cost amount\r\n double toPay = MainGUI.pimsSystem.calculate_charge(currentPatient, billing_codeCB.getSelectedItem().toString());\r\n billing_amtDueField.setText(\"$\" + doubleToDecimalString(toPay));\r\n\r\n\r\n\r\n JOptionPane.showMessageDialog(this, \"Amount Due Calculated.\\nClick \\\"Ok\\\" to go to Payment Form\",\r\n \"Calculate\", JOptionPane.DEFAULT_OPTION);\r\n\r\n paymentDialog.setVisible(true);\r\n }\r\n\r\n }", "public void caltotalprice(){\n \tthis.mTotalPrice = 0;\n \tif (this.isCoachSeat) {\n \t\tfor (Flight f: this.mLegs) {\n \t\t\tthis.mTotalPrice += f.coachprice();\n \t\t}\n \t}else {\n \t\tfor (Flight f: this.mLegs) {\n \t\t\tthis.mTotalPrice += f.firstclassprice();\n \t\t}\n \t}\n }", "CarPaymentMethod processHotDollars();", "@Override\n public double calcCost() {\n return calcSalesFee()+calcTaxes();\n }", "public void calculatePayment() {}", "public int calculateBill() {\n\t\treturn chargeVehicle(); \n\t}", "public int chargeVehicle() {\n\t\t\n\t\tint price = 0; \n\t\t\n\t\tfor (int i = 0; i < vehicles.size(); i++) {\n\t\t\t\n\t\t\tif(vehicles.get(i) instanceof Car) { // charge 10 GBP per car \n\t\t\t\tprice += 10;\n\t\t\t}\n\t\t\telse if(vehicles.get(i) instanceof Motorcycle) { // charge 5 GBP per motorcycle \n\t\t\t\tprice += 5;\n\t\t\t}\n\t\t\telse if(vehicles.get(i) instanceof Bus) { // charge 25 GBP per bus \n\t\t\t\tprice += 25; \n\t\t\t}\n\t\t}\n\t\t\n\t\treturn price; \n\t}", "public BookingInfoEntity getBookingById(int id, Transaction transaction) {\n BookingInfoEntity bookingInfoEntity = null;\n\n if (transaction.getPaymentMode().equalsIgnoreCase(\"UPI\") ||\n transaction.getPaymentMode().equalsIgnoreCase(\"CARD\") ) {\n Optional<BookingInfoEntity> optionalBookingInfoEntity = bookingRepository.findById(id);\n if (!optionalBookingInfoEntity.isPresent()) {\n throw new BookingIDNotFoundException(\"Invalid Booking Id\");\n } else {\n bookingInfoEntity = optionalBookingInfoEntity.get();\n transaction.setBookingId(bookingInfoEntity.getBookingId());\n\n //Call PaymentService Api\n transaction = callPaymentServiceApi(transaction);\n bookingInfoEntity.setTransactionId(transaction.getTransactionId());\n bookingInfoEntity = bookingRepository.save(bookingInfoEntity);\n try {\n \t\t\trunProducer(1, bookingInfoEntity.toString());\n \t\t} catch (InterruptedException e) {\n \t\t\te.printStackTrace(); //Internally throw 500 error\n \t\t}\n }\n } else {\n throw new InvalidPaymentModeException(\"Invalid mode of payment\");\n }\n return bookingInfoEntity;\n }", "private double calculateCommissionAmountFlights(PrintItinerary itinerary) {\n\t\tdouble commissionAmount = 0.0;\n\t\tif (itinerary.getFlights() != null && itinerary.getFlights().size() > 0) {\n\t\t\tfor (com.kcdata.abe.data.dto.TripFlight flight : itinerary\n\t\t\t\t\t.getFlights()) {\n\t\t\t\tcommissionAmount = commissionAmount\n\t\t\t\t\t\t+ flight.getPrice().getCommissionAmount();\n\t\t\t}\n\t\t}\n\n\t\treturn commissionAmount;\n\t}", "BigDecimal calculateTotalPrice(Order order);", "private Optional<TruckPair> getApproximatelyTotalDistanceTruckAndOrder(final @NonNull TruckDto truckDto,\n final @NonNull UserOrderDto userOrderDto) {\n CurrentPoint currentPoint = new CurrentPoint();\n currentPoint.setLatitude(truckDto.getLatitude());\n currentPoint.setLongitude(truckDto.getLongitude());\n\n final Iterable<List<CargoPair>> cargoPairIterator = () -> new Iterator<List<CargoPair>>() {\n final List<CargoPair> cargoPairList = userOrderDto.getCargoList()\n .stream().map(CargoPair::new)\n .collect(Collectors.toList());\n\n @Override\n public boolean hasNext() {\n return cargoPairList.stream()\n .anyMatch(cargoPair -> !cargoPair.isUnloaded());\n }\n\n @Override\n public List<CargoPair> next() {\n return cargoPairList\n .stream().filter(cargoPair -> !cargoPair.isUnloaded())\n .collect(Collectors.toList());\n }\n };\n final AtomicDouble totalWeight = new AtomicDouble(0.0);\n try {\n final int approximatelyTotalDistance = StreamSupport.stream(cargoPairIterator.spliterator(), false)\n .mapToInt(cargoPairs -> {\n if (truckDto.getWeightCapacity() < totalWeight.get()) {\n //truck overloaded\n throw new TruckOverloadedException();\n }\n final CargoPair nearestCargo = getNearestCargo.apply(currentPoint, cargoPairs);\n if (nearestCargo.isLoaded()) {\n nearestCargo.setUnloaded(true);\n currentPoint.setLatitude(nearestCargo.getUnloadingLatitude());\n currentPoint.setLongitude(nearestCargo.getUnloadingLongitude());\n totalWeight.getAndAdd(-nearestCargo.getWeight());\n } else {\n nearestCargo.setLoaded(true);\n currentPoint.setLatitude(nearestCargo.getLoadingLatitude());\n currentPoint.setLongitude(nearestCargo.getLoadingLongitude());\n totalWeight.getAndAdd(+nearestCargo.getWeight());\n }\n return nearestCargo.getDistanceToCurrentPoint();\n })\n .sum();\n\n //adds distance between the last unloading point and the office\n final int distanceToOffice = getDistanceLength(\n currentPoint.getLatitude(),\n currentPoint.getLongitude(),\n truckDto.getLatitude(),\n truckDto.getLongitude()\n );\n return Optional.of(new TruckPair(truckDto, approximatelyTotalDistance + distanceToOffice));\n } catch (TruckOverloadedException e) {\n return Optional.empty();\n }\n }", "public int calcTotalPrice(){\r\n\t\tint flightPrice = flight.getFlightPrice();\r\n\t\tint bagPrice = nrBag*LUGGAGE_PRICE;\r\n\t\tthis.totalPrice = bagPrice + nrAdult*flightPrice + nrChildren*1/2*flightPrice;\r\n\t\treturn this.totalPrice;\r\n\t}", "public double calculatePayment (int hours);", "private BigDecimal getCardServiceFeeAmount(final CartReceiptResponse receiptResponse\n , final PdfPTable paymentSectionTable, final PdfPCell blankSpaceCell, final Locale locale) {\n\n \t/* Get funding source from the CART_RECEIPT_REPRINT response */\n final FundingSourceResponse[] fundingSource = receiptResponse.getFundingSources();\n final SubmittedBill[] submittedBills = receiptResponse.getSubmittedBills();\n /* Initializing serviceFee */\n final BigDecimal serviceFee = addServiceFee(submittedBills);\n for (final FundingSourceResponse aFundingSource : fundingSource) {\n /* Check for the DEBIT/CREDIT card instance */\n if (aFundingSource instanceof VestaFundingSourceResponse) {\n /* ServiceFeePercentRate is null treating it as ZERO other wise get the value */\n BigDecimal cardServiceFeePercent = aFundingSource.getServiceFeePercentRate() == null\n ? new BigDecimal(0) : aFundingSource.getServiceFeePercentRate();\n /* In case seviceFee amount is > ZERO then execute the below block of code to display the line above the total bills */\n if (serviceFee.compareTo(BigDecimal.ZERO) > 0 && cardServiceFeePercent.compareTo(BigDecimal.ZERO) > 0) {\n /* Cell for the card service percent label */\n Font font = getFont(null, FONT_SIZE_12, Font.NORMAL);\n String message = getMessage(locale, \"pdf.receipt.serviceFee\", cardServiceFeePercent);\n PdfPCell serviceFeeLabel = new PdfPCell(new Phrase(message, font));\n /* Cell for the card service fee amount */\n PdfPCell serviceFeeTotal = new PdfPCell(\n new Phrase(getFormattedAmount(serviceFee), font));\n /* Adding above cells to table */\n cellAlignment(serviceFeeLabel, Element.ALIGN_LEFT, WHITE_COLOR, 0);\n cellAddingToTable(paymentSectionTable, serviceFeeLabel, Rectangle.NO_BORDER, 2, 15);\n\n cellAlignment(serviceFeeTotal, Element.ALIGN_RIGHT, WHITE_COLOR, 0);\n cellAddingToTable(paymentSectionTable, serviceFeeTotal, Rectangle.NO_BORDER, 0, 0);\n\t\t\t\t\t/* Adding blank space to table */\n cellAlignment(blankSpaceCell, Element.ALIGN_LEFT, GRAY_COLOR, 0);\n cellAddingToTable(paymentSectionTable, blankSpaceCell, Rectangle.NO_BORDER, 3, 0);\n }\n }\n }\n return serviceFee;\n }", "public float calculatePrice(Airline flight, String type, int baggage);", "public static double totalcommision(int salesman_id) {\r\n\r\n\t\tResultSet rs = null;\r\n\r\n\t\tdouble total_amount = 0;\r\n\r\n\t\tString query = \"SELECT DISTINCT(appliance_name) AS apname ,(SELECT CountNumberAppliance(apname,\"\r\n\t\t\t\t+ salesman_id + \")) FROM appliance\";\r\n\t\tint count;\r\n\t\tString name;\r\n\t\ttry (Connection con = Connect.getConnection()) {\r\n\r\n\t\t\tPreparedStatement stmt = (PreparedStatement) con\r\n\t\t\t\t\t.prepareStatement(query);\r\n\t\t\trs = stmt.executeQuery();\r\n\t\t\tSystem.out.println(query);\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tname = rs.getString(1);\r\n\t\t\t\tif (name.equalsIgnoreCase(\"5 wott\")) {\r\n\t\t\t\t\tcount = rs.getInt(2);\r\n\r\n\t\t\t\t\tif ((count >= 10) && (count <= 20)) {\r\n\t\t\t\t\t\ttotal_amount = count * 5;\r\n\t\t\t\t\t} else if ((count >= 21) && (count <= 35)) {\r\n\t\t\t\t\t\ttotal_amount = count * 10;\r\n\t\t\t\t\t} else if ((count >= 36) && (count <= 50)) {\r\n\t\t\t\t\t\ttotal_amount = count * 20;\r\n\t\t\t\t\t} else if ((count >= 51)) {\r\n\t\t\t\t\t\ttotal_amount = count * 30;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t} else if (name.equalsIgnoreCase(\"10 wott\")) {\r\n\t\t\t\t\tcount = rs.getInt(2);\r\n\r\n\t\t\t\t\tif ((count >= 10) && (count <= 20)) {\r\n\t\t\t\t\t\ttotal_amount = count * 15;\r\n\t\t\t\t\t} else if ((count >= 21) && (count <= 35)) {\r\n\t\t\t\t\t\ttotal_amount = count * 10;\r\n\t\t\t\t\t} else if ((count >= 36) && (count <= 50)) {\r\n\t\t\t\t\t\ttotal_amount = count * 20;\r\n\t\t\t\t\t} else if ((count >= 51)) {\r\n\t\t\t\t\t\ttotal_amount = count * 30;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t} else if (name.equalsIgnoreCase(\"15 wott\")) {\r\n\t\t\t\t\tcount = rs.getInt(2);\r\n\r\n\t\t\t\t\tif ((count >= 10) && (count <= 20)) {\r\n\t\t\t\t\t\ttotal_amount = count * 35;\r\n\t\t\t\t\t} else if ((count >= 21) && (count <= 35)) {\r\n\t\t\t\t\t\ttotal_amount = count * 45;\r\n\t\t\t\t\t} else if ((count <= 36) && (count <= 50)) {\r\n\t\t\t\t\t\ttotal_amount = count * 55;\r\n\t\t\t\t\t} else if ((count <= 51)) {\r\n\t\t\t\t\t\ttotal_amount = count * 65;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t} else if (name.equalsIgnoreCase(\"20 wott\")) {\r\n\t\t\t\t\tcount = rs.getInt(2);\r\n\r\n\t\t\t\t\tif ((count >= 10) && (count <= 20)) {\r\n\t\t\t\t\t\ttotal_amount = count * 45;\r\n\t\t\t\t\t} else if ((count >= 21) && (count <= 35)) {\r\n\t\t\t\t\t\ttotal_amount = count * 55;\r\n\t\t\t\t\t} else if ((count >= 36) && (count <= 50)) {\r\n\t\t\t\t\t\ttotal_amount = count * 65;\r\n\t\t\t\t\t} else if ((count >= 51)) {\r\n\t\t\t\t\t\ttotal_amount = count * 75;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn total_amount;\r\n\t}", "public double getCost(int endId) throws IllegalArgumentException, IllegalStateException;", "public Account doMoneyTransfer(MoneyTransferDTO moneyTransferDTO, Long id) {\n Account origin = accountService.getAccountById(id);\n Account destination = accountService.getAccountById(moneyTransferDTO.getToAccountId());\n\n // check for fraud detection\n //fraudDetectionService.checkMoneyTransfer(origin, moneyTransferDTO);\n fraudDetectionService.checkMoneyTransferV2(origin, moneyTransferDTO);\n\n // check enough funds in origin account\n BigDecimal currentBalance = origin.getBalance().getAmount();\n BigDecimal transferAmount = moneyTransferDTO.getAmount();\n if (transferAmount.compareTo(currentBalance) > 0)\n throw new ResponseStatusException(HttpStatus.BAD_REQUEST, \"Amount exceeds balance of the account\");\n\n // check if penalty fee has to be deducted later\n BigDecimal result = currentBalance.subtract(transferAmount);\n boolean applyPenaltyFee =\n currentBalance.compareTo(origin.getMinimumBalance().getAmount()) > 0 &&\n result.compareTo(origin.getMinimumBalance().getAmount()) < 0;\n\n // make the transaction\n Transaction transaction = new Transaction(new Money(transferAmount));\n transaction.setType(Type.MONEY_TRANSFER);\n transaction.setFromAccount(origin);\n transaction.setToAccount(destination);\n //transaction.setAmount(new Money(transferAmount));\n transaction.setAuthorName(moneyTransferDTO.getName());\n transaction.setDescription(moneyTransferDTO.getDescription());\n Transaction newTransaction = transactionService.addTransaction(transaction);\n\n // deduct penalty fee with another transaction if needed\n if (applyPenaltyFee) {\n\n Transaction deductionTransaction = new Transaction(origin.getPenaltyFee());\n transaction.setType(Type.PENALTY_FEE);\n deductionTransaction.setFromAccount(origin);\n //deductionTransaction.setToAccount(null);\n //deductionTransaction.setAmount(origin.getPenaltyFee()); // set amount before accounts\n deductionTransaction.setAuthorName(moneyTransferDTO.getName());\n deductionTransaction.setDescription(\"Penalty fee deduction\");\n transactionService.addTransaction(deductionTransaction);\n }\n\n return accountService.saveAccount(origin);\n }", "public PaymentDetails getPaymentDetails(Order order, PaymentInfo info) throws Exception\r\n {\r\n StaticData sd = staticDataHM.get(getStoreId());\r\n /*\r\n * The CyberSourceZone zone, if greater than zero, should reference a GeoZone. If the\r\n * DeliveryAddress of the order isn't within that GeoZone, then we throw an exception\r\n */\r\n if (sd.getZone() > 0)\r\n {\r\n checkZone(info, sd.getZone());\r\n }\r\n\r\n // Get the scale for currency calculations\r\n int scale = new Integer(order.getCurrency().getDecimalPlaces()).intValue();\r\n\r\n // Get the resource bundle\r\n ResourceBundle rb = getResourceBundle(mutex, bundleName, resourceBundleMap,\r\n info.getLocale());\r\n if (rb == null)\r\n {\r\n throw new KKException(\"A resource file cannot be found for the country \"\r\n + info.getLocale().getCountry());\r\n }\r\n\r\n PaymentDetails pDetails = new PaymentDetails();\r\n pDetails.setCode(CYBERSOURCESA_GATEWAY_CODE);\r\n pDetails.setSortOrder(sd.getSortOrder());\r\n pDetails.setPaymentType(PaymentDetails.BROWSER_PAYMENT_GATEWAY);\r\n pDetails.setDescription(rb.getString(MODULE_PAYMENT_CYBERSOURCESA_TEXT_DESCRIPTION));\r\n pDetails.setTitle(rb.getString(MODULE_PAYMENT_CYBERSOURCESA_TEXT_TITLE));\r\n\r\n // Return now if the full payment details aren't required. This happens when the manager\r\n // just wants a list of payment gateways to display in the UI.\r\n if (info.isReturnDetails() == false)\r\n {\r\n return pDetails;\r\n }\r\n\r\n pDetails.setPostOrGet(\"post\");\r\n pDetails.setRequestUrl(sd.getRequestUrl());\r\n\r\n // This gateway only requires details of the final price. No tax, sub-total etc.\r\n BigDecimal total = null;\r\n for (int i = 0; i < order.getOrderTotals().length; i++)\r\n {\r\n OrderTotal ot = (OrderTotal) order.getOrderTotals()[i];\r\n if (ot.getClassName().equals(OrderTotalMgr.ot_total))\r\n {\r\n total = ot.getValue().setScale(scale, BigDecimal.ROUND_HALF_UP);\r\n }\r\n }\r\n\r\n if (total == null)\r\n {\r\n throw new KKException(\"An Order Total was not found\");\r\n }\r\n\r\n // total = total.movePointRight(scale);\r\n // total.setScale(0);\r\n\r\n List<NameValueIf> parmList = new ArrayList<NameValueIf>();\r\n\r\n // parmList.add(new NameValue(CYBERSOURCESA_MERCHANT_ACCOUNT, sd.getMerchantAccount()));\r\n parmList.add(new NameValue(CYBERSOURCESA_ACCESS_KEY, sd.getAccessKey()));\r\n parmList.add(new NameValue(CYBERSOURCESA_PROFILE_ID, sd.getProfileId()));\r\n // parmList.add(new NameValue(CYBERSOURCESA_VERSION_NUMBER, sd.getGatewayVersion()));\r\n // parmList.add(new NameValue(CYBERSOURCESA_ALLOW_UPDATES, \"false\"));\r\n parmList.add(new NameValue(CYBERSOURCESA_SIGNED_DATE_TIME, getUTCDateTime()));\r\n\r\n Set<String> signedFieldsSet = new TreeSet<String>();\r\n String signedFieldNames = null;\r\n for (String fld : CYBERSOURCESA_SIGNED_FIELDS)\r\n {\r\n signedFieldsSet.add(fld);\r\n if (signedFieldNames == null)\r\n {\r\n signedFieldNames = fld;\r\n } else\r\n {\r\n signedFieldNames += \",\" + fld;\r\n }\r\n }\r\n parmList.add(new NameValue(CYBERSOURCESA_SIGNED_FIELD_NAMES, signedFieldNames));\r\n\r\n parmList.add(new NameValue(CYBERSOURCESA_REFERENCE_NUM, order.getLifecycleId()));\r\n parmList.add(new NameValue(CYBERSOURCESA_TRAN_UUID, order.getLifecycleId()));\r\n\r\n // Save the shared secret on custom1\r\n pDetails.setCustom1(sd.getSharedSecret());\r\n\r\n // Put the environment on custom2\r\n pDetails.setCustom2(sd.getEnvironment());\r\n\r\n // parmList.add(new NameValue(CYBERSOURCESA_3D_STATUS, sd.isCheck3dSecure() ? \"true\" :\r\n // \"false\"));\r\n\r\n // if (sd.isCheck3dSecure())\r\n // {\r\n // parmList.add(new NameValue(CYBERSOURCESA_3D_RESPONSE_URL, sd.getResponseUrl()\r\n // .replaceFirst(hostPortSubstitute, info.getHostAndPort())));\r\n // }\r\n\r\n parmList.add(new NameValue(CYBERSOURCESA_RESPONSE_RECEIPT_URL, sd.getResponseUrl()\r\n .replaceFirst(hostPortSubstitute, info.getHostAndPort())));\r\n // parmList.add(new NameValue(CYBERSOURCESA_RESPONSE_DECLINE_URL, sd.getResponseUrl()\r\n // .replaceFirst(hostPortSubstitute, info.getHostAndPort())));\r\n // parmList.add(new NameValue(CYBERSOURCESA_CUST_EMAIL, order.getCustomerEmail()));\r\n\r\n // parmList.add(new NameValue(\"product_id\", sd.getProductId()));\r\n // parmList.add(new NameValue(\"product_name\", \"Order #\" + order.getId() + \" from \"\r\n // + info.getStoreName()));\r\n\r\n parmList.add(new NameValue(CYBERSOURCESA_PAYMENT_AMOUNT, total.toString()));\r\n parmList.add(new NameValue(CYBERSOURCESA_CURRENCY, order.getCurrencyCode()));\r\n\r\n if (!Utils.isBlank(info.getLocale().getVariant()))\r\n {\r\n parmList.add(new NameValue(CYBERSOURCESA_LOCALE, info.getLocale().getLanguage() + \"-\"\r\n + info.getLocale().getVariant()));\r\n } else\r\n {\r\n parmList.add(new NameValue(CYBERSOURCESA_LOCALE, info.getLocale().getLanguage()));\r\n }\r\n\r\n // ---------------------------------------------------------------------------------------\r\n // Set the billing details\r\n\r\n // Set the billing name from the billing address Id\r\n\r\n String[] bNames = getFirstAndLastNamesFromAddress(order.getBillingAddrId());\r\n if (bNames != null)\r\n {\r\n parmList.add(new NameValue(CYBERSOURCESA_BILLTO_FNAME, bNames[0]));\r\n parmList.add(new NameValue(CYBERSOURCESA_BILLTO_LNAME, bNames[1]));\r\n }\r\n\r\n if (!Utils.isBlank(order.getBillingCompany()))\r\n {\r\n parmList.add(new NameValue(CYBERSOURCESA_BILLTO_COMP, order.getBillingCompany()));\r\n }\r\n\r\n parmList.add(new NameValue(CYBERSOURCESA_BILLTO_STREET1, order.getBillingStreetAddress()));\r\n parmList.add(new NameValue(CYBERSOURCESA_BILLTO_CITY, order.getBillingCity()));\r\n parmList.add(new NameValue(CYBERSOURCESA_BILLTO_STATE, getZoneCodeForZoneName(order\r\n .getBillingState())));\r\n parmList.add(new NameValue(CYBERSOURCESA_BILLTO_POSTCODE, order.getBillingPostcode()));\r\n\r\n CountryIf country = getEng().getCountryPerName(order.getBillingCountry());\r\n if (country != null)\r\n {\r\n parmList.add(new NameValue(CYBERSOURCESA_BILLTO_COUNTRY, country.getIsoCode2()));\r\n }\r\n\r\n if (!Utils.isBlank(order.getBillingTelephone()))\r\n {\r\n parmList.add(new NameValue(CYBERSOURCESA_BILLTO_PHONE, order.getBillingTelephone()));\r\n }\r\n\r\n parmList.add(new NameValue(CYBERSOURCESA_BILLTO_EMAIL, order.getCustomerEmail()));\r\n\r\n // ---------------------------------------------------------------------------------------\r\n // Set the delivery details\r\n\r\n // Set the delivery names from the delivery address Id\r\n\r\n String[] dNames = getFirstAndLastNamesFromAddress(order.getDeliveryAddrId());\r\n if (dNames != null)\r\n {\r\n parmList.add(new NameValue(CYBERSOURCESA_SHIPTO_FNAME, dNames[0]));\r\n parmList.add(new NameValue(CYBERSOURCESA_SHIPTO_LNAME, dNames[1]));\r\n }\r\n\r\n if (!Utils.isBlank(order.getDeliveryCompany()))\r\n {\r\n parmList.add(new NameValue(CYBERSOURCESA_SHIPTO_COMP, order.getDeliveryCompany()));\r\n }\r\n\r\n parmList.add(new NameValue(CYBERSOURCESA_SHIPTO_STREET1, order.getDeliveryStreetAddress()));\r\n parmList.add(new NameValue(CYBERSOURCESA_SHIPTO_CITY, order.getDeliveryCity()));\r\n parmList.add(new NameValue(CYBERSOURCESA_SHIPTO_STATE, getZoneCodeForZoneName(order\r\n .getDeliveryState())));\r\n parmList.add(new NameValue(CYBERSOURCESA_SHIPTO_POSTCODE, order.getDeliveryPostcode()));\r\n\r\n country = getEng().getCountryPerName(order.getDeliveryCountry());\r\n if (country != null)\r\n {\r\n parmList.add(new NameValue(CYBERSOURCESA_BILLTO_COUNTRY, country.getIsoCode2()));\r\n }\r\n\r\n // Set the fields that should be visible in the UI when gathering Credit Card details\r\n // pDetails.setShowAddr(false);\r\n // pDetails.setShowCVV(true);\r\n // pDetails.setShowPostcode(false);\r\n // pDetails.setShowType(true);\r\n // pDetails.setShowOwner(true);\r\n\r\n String storeId = \"?\";\r\n StoreIf store = getEng().getStore();\r\n if (store != null)\r\n {\r\n storeId = store.getStoreId();\r\n }\r\n\r\n int engineMode = getEng().getEngConf().getMode();\r\n boolean customersShared = getEng().getEngConf().isCustomersShared();\r\n boolean productsShared = getEng().getEngConf().isProductsShared();\r\n boolean categoriesShared = getEng().getEngConf().isCategoriesShared();\r\n String countryCode = order.getLocale().substring(0, 2);\r\n\r\n if (log.isDebugEnabled())\r\n {\r\n log.debug(\"Used to create merchant defined data: \\n\"\r\n + \" OrderId = \"\r\n + order.getId()\r\n + \"\\n\"\r\n + \" OrderNumber = \"\r\n + order.getOrderNumber()\r\n + \"\\n\"\r\n + \" StoreId = \"\r\n + storeId\r\n + \"\\n\"\r\n + \" EngineMode = \"\r\n + engineMode\r\n + \"\\n\"\r\n + \" CustomersShared = \"\r\n + customersShared\r\n + \"\\n\"\r\n + \" ProductsShared = \"\r\n + productsShared\r\n + \"\\n\"\r\n + \" CategoriesShared = \"\r\n + categoriesShared\r\n + \"\\n\"\r\n + \" CountryCode = \" + countryCode);\r\n }\r\n\r\n String merchantReference = order.getId() + \"~\" + order.getOrderNumber() + \"~\" + storeId\r\n + \"~\" + engineMode + \"~\" + customersShared + \"~\" + productsShared + \"~\"\r\n + categoriesShared + \"~\" + countryCode;\r\n\r\n parmList.add(new NameValue(CyberSourceSA.CYBERSOURCESA_MERCHANT_DATA1, merchantReference));\r\n parmList.add(new NameValue(CyberSourceSA.CYBERSOURCESA_MERCHANT_DATA2, sd.getEnvironment()));\r\n\r\n parmList.add(new NameValue(CyberSourceSA.CYBERSOURCESA_TRAN_TYPE, \"sale\"));\r\n parmList.add(new NameValue(CyberSourceSA.CYBERSOURCESA_IGNORE_AVS, \"true\"));\r\n\r\n // String time = String.valueOf(System.currentTimeMillis());\r\n\r\n // parmList.add(new NameValue(CyberSourceSA.CYBERSOURCESA_TIMESTAMP, time));\r\n\r\n // Calculate the signature\r\n HashMap<String, String> hp = hashParameters(pDetails, parmList);\r\n\r\n // Now add the list of unsigned fields that we have\r\n\r\n String unsignedFieldNames = null;\r\n\r\n log.info(\"Unsigned fields:\");\r\n\r\n for (Map.Entry<String, String> entry : hp.entrySet())\r\n {\r\n if (!signedFieldsSet.contains(entry.getKey()))\r\n {\r\n log.info(entry.getKey());\r\n if (unsignedFieldNames == null)\r\n {\r\n unsignedFieldNames = entry.getKey();\r\n } else\r\n {\r\n unsignedFieldNames += \",\" + entry.getKey();\r\n }\r\n }\r\n }\r\n\r\n parmList.add(new NameValue(CyberSourceSA.CYBERSOURCESA_UNSIGNED_FIELD_NAMES,\r\n unsignedFieldNames));\r\n\r\n // Calculate the signature\r\n hp.put(CyberSourceSA.CYBERSOURCESA_UNSIGNED_FIELD_NAMES, unsignedFieldNames);\r\n\r\n String data = null;\r\n\r\n for (String field : CYBERSOURCESA_SIGNED_FIELDS)\r\n {\r\n if (data == null)\r\n {\r\n data = field + \"=\" + hp.get(field);\r\n } else\r\n {\r\n data += \",\" + field + \"=\" + hp.get(field);\r\n }\r\n }\r\n\r\n log.info(\"Sign this: \\n\" + data);\r\n log.info(\"Secret Key: \\n\" + pDetails.getCustom1());\r\n\r\n parmList.add(new NameValue(CyberSourceSA.CYBERSOURCESA_SIGNATURE, CyberSourceSAHMACTools\r\n .getBase64EncodedSignature(pDetails.getCustom1(), data)));\r\n\r\n // addParameters(pDetails, parmList);\r\n\r\n // Put the parameters into an array\r\n NameValue[] nvArray = new NameValue[parmList.size()];\r\n parmList.toArray(nvArray);\r\n pDetails.setParameters(nvArray);\r\n\r\n // Remove shared secret for security\r\n // pd.setCustom1(null);\r\n\r\n if (log.isDebugEnabled())\r\n {\r\n // to show what we're about to post to CyberSource\r\n\r\n String postStr = pDetails.getRequestUrl() + \"?\";\r\n\r\n for (int p = 0; p < pDetails.getParameters().length; p++)\r\n {\r\n if (p > 0)\r\n {\r\n postStr += \"&\";\r\n }\r\n\r\n if (pDetails.getParameters()[p].getValue() == null)\r\n {\r\n if (pDetails.getParameters()[p].getName() != null)\r\n {\r\n log.debug(\"Value for \" + pDetails.getParameters()[p].getName() + \" is null\");\r\n }\r\n } else\r\n {\r\n postStr += pDetails.getParameters()[p].getName() + \"=\"\r\n + URLEncoder.encode(pDetails.getParameters()[p].getValue(), \"UTF-8\");\r\n }\r\n }\r\n\r\n log.debug(\"\\n\" + postStr);\r\n }\r\n\r\n if (log.isDebugEnabled())\r\n {\r\n log.debug(pDetails.toString());\r\n }\r\n\r\n return pDetails;\r\n }", "double getCost();", "double getCost();", "@Override\n\tpublic double calculateServiceCharge() {\n\t\treturn 10.19;\n\t}", "public JSONResponse pay(HashMap<String, String> parameters) {\n\t\tString pos = parameters.get(\"pos\"); \t\t\t\t\t\t// the point of sale code.\n\t\tString reservationid = parameters.get(\"reservationid\");\t\t// the ID of the reservation.\n\t\tString date = parameters.get(\"date\"); \t\t\t\t\t\t// the date of the payment.\n\t\tString emailaddress = parameters.get(\"emailaddress\"); \t\t// the email address of the payer.\n\t\tString cardholder = parameters.get(\"cardholder\");\t\t\t// the card holder name.\n\t\tString cardnumber = parameters.get(\"cardnumber\");\t\t\t// the card number.\n\t\tString cardmonth = parameters.get(\"cardmonth\");\t\t\t\t// the card expiry month.\n\t\tString cardyear = parameters.get(\"cardyear\");\t\t\t\t// the card expiry year.\n\t\tString cardcode = parameters.get(\"cardcode\");\t\t\t\t// the card CCV code.\n\t\tString amount = parameters.get(\"amount\");\t\t\t\t\t// the amount to be charged to the card.\n\t\tString remote_host = parameters.get(\"remote_host\");\t\t\t// the remote host URL.\n\n\t\tDouble value = Double.valueOf(amount);\n\t\tif (pos == null || pos.isEmpty() || Model.decrypt(pos).length() > 10) {throw new ServiceException(Error.pos_invalid, pos);}\n\t\tif (reservationid == null || reservationid.isEmpty() || reservationid.length() > 10) {throw new ServiceException(Error.reservation_id, reservationid);}\n\t\tif (emailaddress == null || emailaddress.isEmpty() || !Party.isEmailAddress(emailaddress)) {throw new ServiceException(Error.party_emailaddress, emailaddress);}\n\t\tif (cardholder == null || cardholder.isEmpty() || cardholder.length() > 100) {throw new ServiceException(Error.card_holder, cardholder);}\n\t\tif (cardnumber == null || cardnumber.isEmpty() || cardnumber.length() > 20) {throw new ServiceException(Error.card_number, cardnumber);}\n\t\tif (cardmonth == null || cardmonth.isEmpty() || cardmonth.length() != 2) {throw new ServiceException(Error.card_month, cardmonth);}\n\t\tif (cardyear == null || cardyear.isEmpty() || cardyear.length() != 4) {throw new ServiceException(Error.card_year, cardyear);}\n\t\tif (cardcode == null || cardcode.isEmpty() || cardcode.length() < 3) {throw new ServiceException(Error.card_code, cardcode);}\n\t\tif (value == null || value <= 0.0) {throw new ServiceException(Error.card_amount, amount);}\n\n\t\tSqlSession sqlSession = RazorServer.openSession();\n\t\tPayWidgetItem result = new PayWidgetItem();\n\t\ttry {\n\t\t\tJSONService.getParty(sqlSession, pos);\n\t\t\tReservation reservation = sqlSession.getMapper(ReservationMapper.class).read(reservationid);\n//\t\t\tParty customer = JSONService.getCustomer (sqlSession, emailaddress, familyname, firstname, reservation.getOrganizationid(), agent.getId());\n//\t\t\treservation.setCustomerid(customer.getId());\n//\t\t\tFinance finance = JSONService.getFinance(sqlSession, customer.getId(), cardholder, cardnumber, cardmonth, cardyear,\tcardcode);\n//\t\t\treservation.setFinanceid(finance.getId());\n//\t\t\treservation.setNotes(notes);\n//\t\t\tsqlSession.getMapper(ReservationMapper.class).update(reservation);\n\n\t\t\tElement element = PaygateHandler.getXML(reservation.getName(), cardholder, cardnumber, cardmonth + cardyear, value, reservation.getCurrency(), cardcode, emailaddress, remote_host);\n\n\t\t\tEvent<Journal> event = JSONService.cardReceipt(sqlSession, reservation, element, cardholder, value);\n\t\t\tresult.setId(reservation.getOrganizationid());\n\t\t\tresult.setName(event.getName());\n\t\t\tresult.setState(RazorWidget.State.SUCCESS.name());\n\t\t\tresult.setAmount(value);\n\t\t\tresult.setCurrency(reservation.getCurrency());\n\t\t\tresult.setMessage(JSONService.getNotes(element));\n\t\t\tsqlSession.commit();\n\t\t}\n\t\tcatch (Throwable x) {\n\t\t\tsqlSession.rollback();\n\t\t\tresult.setId(null);\n\t\t\tresult.setName(null);\n\t\t\tresult.setState(RazorWidget.State.FAILURE.name());\n\t\t\tresult.setAmount(value == null ? 0.0 : value);\n\t\t\tresult.setCurrency(Currency.Code.USD.name());\n\t\t\tresult.setMessage(x.getMessage());\n\t\t}\n\t\tfinally {sqlSession.close();}\n\t\treturn result;\n\t}", "double ComputeCost(double order, double tipPercent, double serviceRating, double foodRating)\r\n {\r\n // kazda gwiazdka to 2 procent od sumy zamówienia\r\n return order + order * (tipPercent/100) + (serviceRating * 0.02) * order + (foodRating * 0.02) * order;\r\n }", "public int getCost(int newID) {\n\t\tint idx = routingTable.get(0).indexOf(newID);\n\t\tif (idx > -1) {\n\t\t\treturn routingTable.get(1).get(idx);\n\t\t} else {\n\t\t\tSystem.out.println(\"Error\");\n\t\t\treturn 0;\n\t\t}\n\t}", "@GetMapping(\"/{id}/cost\")\n\tpublic Double getItemCost(@PathVariable Long id) {\n\t\treturn itemService.getItemCost(id);\n\t}", "public String showMonthOrderPassengerDetails(){\n\n\t\tReportData selectedReportItem=flightOrderDao.getReportDetailsByRowId(CurrentReportdata.getId());\n\t\tlogger.info(\"showPassengerDetails--------------------flightReportPage.getId()=\"+CurrentReportdata.getId());\n\t\tlogger.info(\"showPassengerDetails-------------------selectedReportItem=\"+selectedReportItem);\n\n\t\tif(selectedReportItem!=null){\n\t\t\tCurrentReportdata = selectedReportItem;\n\t\t}\n\t\t//agency data-----------------end--------------------------\n\t\tReportData flightOrderCustomer = flightOrderDao.getFlightOrderCustomerDetail(selectedReportItem.getId());\n\t\tFlightOrderRow \tflightOrderRow = flightOrderDao.getFlightOrderRowDataById(CurrentReportdata.getId());\n\t\tfor(int i=0;i<flightOrderCustomer.getFlightOrderCustomerList().size();i++){\n\t\t\tFlightOrderCustomer customer=flightOrderCustomer.getFlightOrderCustomerList().get(i);\n\t\t\t//for(FlightOrderCustomerPriceBreakup PriceBreakup:flightOrderCustomer.getFlightOrderCustomerPriceBreakup()){\n\t\t\tFlightOrderCustomerPriceBreakup PriceBreakup=flightOrderCustomer.getFlightOrderCustomerPriceBreakup().get(i);\n\t\t\t//logger.info(\"customer.getId()-----\"+customer.getId()+\"---PriceBreakup.getId()-------\"+PriceBreakup.getId());\n\t\t\tBigDecimal brakupMarkup=new BigDecimal(PriceBreakup.getMarkup());\n\t\t\t//\tBigDecimal procesiingFeee=new BigDecimal(\"0.00\");\n\t\t\tBigDecimal basePrice= PriceBreakup.getBaseFare().multiply(flightOrderRow.getApiToBaseExchangeRate());\n\t\t\tBigDecimal taxes= PriceBreakup.getTax().multiply(flightOrderRow.getApiToBaseExchangeRate()) ;\n\t\t\tBigDecimal totalBasePrice = basePrice.add(brakupMarkup);\n\t\t\tBigDecimal basePriceInBooking=totalBasePrice.multiply(flightOrderRow.getBaseToBookingExchangeRate());\n\t\t\tBigDecimal taxesInBooking=taxes.multiply(flightOrderRow.getBaseToBookingExchangeRate());\n\t\t\t//BigDecimal totalPrice=procesiingFeee.add(basePriceInBooking).add(taxesInBooking);//should be added later\n\t\t\tBigDecimal totalPriceInBooking=basePriceInBooking.add(taxesInBooking);\n\t\t\t//logger.info(\"totalPrice----in booking--------------------\"+totalPriceInBooking);\n\t\t\tReportData data = new ReportData();\n\t\t\tdata.setName(customer.getFirstName());\n\t\t\tdata.setSurname(customer.getLastName());\n\t\t\tdata.setGender(customer.getGender());\n\t\t\tdata.setMobile(customer.getMobile());\n\t\t\t//data.setPassportExpDate(customer.getPassportExpiryDate());\n\t\t\tdata.setPhone(customer.getPhone());\n\t\t\tdata.setPrice(basePriceInBooking.setScale(2, BigDecimal.ROUND_UP));\n\t\t\t//data.setAgentCom(PriceBreakup.getMarkup());\n\t\t\tdata.setTotal(totalPriceInBooking.setScale(2, BigDecimal.ROUND_UP));\n\t\t\tdata.setTax(taxesInBooking.setScale(2, BigDecimal.ROUND_UP));\n\t\t\t//data.setRoute(orderTripDetail.getOriginCode()+\"-\"+orderTripDetail.getDestinationCode());\n\t\t\tpassList.add(data);\n\t\t\t//sessionMap.put(\"passengerList\", passList);\n\t\t}\n\t\ttry {\n\t\t\tReportData companyWalletHistory=flightOrderDao.getWalletAmountTxStatementHistoryByUserId(CurrentReportdata.getUserId(),CurrentReportdata.getOrderId());\n\t\t\tList<WalletAmountTranferHistory> newWalletHistoryList=new ArrayList<WalletAmountTranferHistory>();\n\t\t\tif(companyWalletHistory!=null && companyWalletHistory.getWalletAmountTranferHistory()!=null){\n\t\t\t\tfor(WalletAmountTranferHistory history:companyWalletHistory.getWalletAmountTranferHistory()){\n\t\t\t\t\tif(history.getUserId()==Integer.parseInt(CurrentReportdata.getUserId())){\n\t\t\t\t\t\tnewWalletHistoryList.add(history);\n\t\t\t\t\t\tcompanyWalletHistory.setWalletAmountTranferHistory(newWalletHistoryList); \n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(companyWalletHistory!=null){\n\t\t\t\ttxHistory=companyWalletHistory;\n\t\t\t}\n\t\t\tif(flightOrderDao.getEndUserPaymentTransactions(CurrentReportdata.getOrderId())!=null){\n\t\t\t\tendUserTxHistory =flightOrderDao.getEndUserPaymentTransactions(CurrentReportdata.getOrderId());\n\t\t\t}\n\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\tlogger.info(\"(-----Exception----------)\"+e.getMessage());\n\t\t\te.printStackTrace();\n\t\t}\n\n\n\t\treturn SUCCESS;\n\n\t}", "public double calculateTotalCost() {\n finalTotal = (saleAmount + taxSubtotal + SHIPPINGCOST);\n\n return finalTotal;\n }", "private void PayBill() {\r\n Cursor crsrBillDetail = dbBillScreen.getBillDetailByCustomer(iCustId, 2, Float.parseFloat(tvBillAmount.getText().toString()));\r\n if (crsrBillDetail.moveToFirst()) {\r\n strPaymentStatus = \"Paid\";\r\n PrintNewBill(businessDate, 1);\r\n } else {\r\n if (strPaymentStatus== null || strPaymentStatus.equals(\"\"))\r\n strPaymentStatus = \"CashOnDelivery\";\r\n\r\n\r\n ArrayList<AddedItemsToOrderTableClass> orderItemList = new ArrayList<>();\r\n int taxType =0;\r\n for (int iRow = 0; iRow < tblOrderItems.getChildCount(); iRow++) {\r\n\r\n int menuCode =0;\r\n String itemName= \"\";\r\n double quantity=0.00;\r\n double rate=0.00;\r\n double igstRate=0.00;\r\n double igstAmt=0.00;\r\n double cgstRate=0.00;\r\n double cgstAmt=0.00;\r\n double sgstRate=0.00;\r\n double sgstAmt=0.00;\r\n double cessRate=0.00;\r\n double cessAmt=0.00;\r\n double subtotal=0.00;\r\n double billamount=0.00;\r\n double discountamount=0.00;\r\n\r\n TableRow RowBillItem = (TableRow) tblOrderItems.getChildAt(iRow);\r\n\r\n\r\n // Item Number\r\n if (RowBillItem.getChildAt(0) != null) {\r\n CheckBox ItemNumber = (CheckBox) RowBillItem.getChildAt(0);\r\n menuCode = (Integer.parseInt(ItemNumber.getText().toString()));\r\n }\r\n\r\n // Item Name\r\n if (RowBillItem.getChildAt(1) != null) {\r\n TextView ItemName = (TextView) RowBillItem.getChildAt(1);\r\n itemName = (ItemName.getText().toString());\r\n }\r\n\r\n\r\n\r\n // Quantity\r\n if (RowBillItem.getChildAt(3) != null) {\r\n EditText Quantity = (EditText) RowBillItem.getChildAt(3);\r\n String qty_str = Quantity.getText().toString();\r\n double qty_d = 0.00;\r\n if(qty_str==null || qty_str.equals(\"\"))\r\n {\r\n Quantity.setText(\"0.00\");\r\n }else\r\n {\r\n qty_d = Double.parseDouble(qty_str);\r\n }\r\n quantity = (Double.parseDouble(String.format(\"%.2f\",qty_d)));\r\n\r\n }\r\n\r\n // Rate\r\n if (RowBillItem.getChildAt(4) != null) {\r\n EditText Rate = (EditText) RowBillItem.getChildAt(4);\r\n String rate_str = Rate.getText().toString();\r\n double rate_d = 0.00;\r\n if((rate_str==null || rate_str.equals(\"\")))\r\n {\r\n Rate.setText(\"0.00\");\r\n }else\r\n {\r\n rate_d = Double.parseDouble(rate_str);\r\n }\r\n rate = (Double.parseDouble(String.format(\"%.2f\",rate_d)));\r\n\r\n }\r\n\r\n\r\n // Service Tax Percent\r\n\r\n if(chk_interstate.isChecked()) // IGST\r\n {\r\n cgstRate =0;\r\n cgstAmt =0;\r\n sgstRate =0;\r\n sgstAmt =0;\r\n if (RowBillItem.getChildAt(23) != null) {\r\n TextView iRate = (TextView) RowBillItem.getChildAt(23);\r\n igstRate = (Double.parseDouble(String.format(\"%.2f\",\r\n Double.parseDouble(iRate.getText().toString()))));\r\n }\r\n\r\n // Service Tax Amount\r\n if (RowBillItem.getChildAt(24) != null) {\r\n TextView iAmt = (TextView) RowBillItem.getChildAt(24);\r\n igstAmt = Double.parseDouble(String.format(\"%.2f\",\r\n Double.parseDouble(iAmt.getText().toString())));\r\n }\r\n\r\n\r\n }else // CGST+SGST\r\n {\r\n igstRate =0;\r\n igstAmt =0;\r\n if (RowBillItem.getChildAt(15) != null) {\r\n TextView ServiceTaxPercent = (TextView) RowBillItem.getChildAt(15);\r\n sgstRate = (Double.parseDouble(String.format(\"%.2f\",\r\n Double.parseDouble(ServiceTaxPercent.getText().toString()))));\r\n }\r\n\r\n // Service Tax Amount\r\n if (RowBillItem.getChildAt(16) != null) {\r\n TextView ServiceTaxAmount = (TextView) RowBillItem.getChildAt(16);\r\n sgstAmt = Double.parseDouble(String.format(\"%.2f\",\r\n Double.parseDouble(ServiceTaxAmount.getText().toString())));\r\n }\r\n\r\n // Sales Tax %\r\n if (RowBillItem.getChildAt(6) != null) {\r\n TextView SalesTaxPercent = (TextView) RowBillItem.getChildAt(6);\r\n cgstRate = Double.parseDouble(String.format(\"%.2f\",\r\n Double.parseDouble(SalesTaxPercent.getText().toString())));\r\n }\r\n // Sales Tax Amount\r\n if (RowBillItem.getChildAt(7) != null) {\r\n TextView SalesTaxAmount = (TextView) RowBillItem.getChildAt(7);\r\n cgstAmt = Double.parseDouble(String.format(\"%.2f\",\r\n Double.parseDouble(SalesTaxAmount.getText().toString())));\r\n }\r\n }\r\n if (RowBillItem.getChildAt(25) != null) {\r\n TextView cessRt = (TextView)RowBillItem.getChildAt(25);\r\n if(!cessRt.getText().toString().equals(\"\"))\r\n cessRate = Double.parseDouble(cessRt.getText().toString());\r\n }\r\n if (RowBillItem.getChildAt(26) != null) {\r\n TextView cessAt = (TextView)RowBillItem.getChildAt(26);\r\n if(!cessAt.getText().toString().equals(\"\"))\r\n cessAmt = Double.parseDouble(cessAt.getText().toString());\r\n }\r\n\r\n\r\n\r\n // Tax Type\r\n if (RowBillItem.getChildAt(13) != null) {\r\n TextView TaxType = (TextView) RowBillItem.getChildAt(13);\r\n taxType = (Integer.parseInt(TaxType.getText().toString()));\r\n }\r\n // subtotal\r\n subtotal = (rate*quantity) + igstAmt+cgstAmt+sgstAmt;\r\n\r\n AddedItemsToOrderTableClass orderItem = new AddedItemsToOrderTableClass( menuCode, itemName, quantity, rate,\r\n igstRate,igstAmt, cgstRate, cgstAmt, sgstRate,sgstAmt, rate*quantity,subtotal, billamount,cessRate,cessAmt,discountamount);\r\n orderItemList.add(orderItem);\r\n }\r\n\r\n Bundle bundle = new Bundle();\r\n bundle.putDouble(Constants.TOTALBILLAMOUNT, Double.parseDouble(tvBillAmount.getText().toString()));\r\n bundle.putDouble(Constants.TAXABLEVALUE, Double.parseDouble(tvSubTotal.getText().toString()));\r\n\r\n// bundle.putDouble(Constants.ROUNDOFFAMOUNT, Double.parseDouble(edtRoundOff.getText().toString()));\r\n if (tvOthercharges.getText().toString().isEmpty()) {\r\n bundle.putDouble(Constants.OTHERCHARGES, Double.parseDouble(tvOthercharges.getText().toString()));\r\n } else {\r\n bundle.putDouble(Constants.OTHERCHARGES, Double.parseDouble(tvOthercharges.getText().toString()));\r\n }\r\n bundle.putDouble(Constants.DISCOUNTAMOUNT, Double.parseDouble(tvDiscountAmount.getText().toString()));\r\n bundle.putInt(Constants.TAXTYPE, isForwardTaxEnabled);\r\n //bundle.putInt(CUSTID, Integer.parseInt(tvCustId.getText().toString()));\r\n bundle.putString(Constants.PHONENO, edtCustPhoneNo.getText().toString());\r\n bundle.putParcelableArrayList(Constants.ORDERLIST, orderItemList);\r\n if (chk_interstate.isChecked()) {\r\n double igstAmount = Double.parseDouble(tvIGSTValue.getText().toString());\r\n double cessAmount = Double.parseDouble(tvcessValue.getText().toString());\r\n bundle.putDouble(Constants.TAXAMOUNT, igstAmount + cessAmount);\r\n } else {\r\n double sgstAmount = Double.parseDouble(tvSGSTValue.getText().toString());\r\n double cgstAmount = Double.parseDouble(tvCGSTValue.getText().toString());\r\n double cessAmount = Double.parseDouble(tvcessValue.getText().toString());\r\n bundle.putDouble(Constants.TAXAMOUNT, cgstAmount + sgstAmount + cessAmount);\r\n }\r\n\r\n fm = getSupportFragmentManager();\r\n proceedToPayBillingFragment = new PayBillFragment();\r\n proceedToPayBillingFragment.initProceedToPayListener(this);\r\n proceedToPayBillingFragment.setArguments(bundle);\r\n proceedToPayBillingFragment.show(fm, \"Proceed To Pay\");\r\n\r\n /* Intent intentTender = new Intent(myContext, PayBillActivity.class);\r\n intentTender.putExtra(\"TotalAmount\", tvBillAmount.getText().toString());\r\n intentTender.putExtra(\"CustId\", edtCustId.getText().toString());\r\n intentTender.putExtra(\"phone\", edtCustPhoneNo.getText().toString());\r\n intentTender.putExtra(\"USER_NAME\", strUserName);\r\n intentTender.putExtra(\"BaseValue\", Float.parseFloat(tvSubTotal.getText().toString()));\r\n intentTender.putExtra(\"ORDER_DELIVERED\", strOrderDelivered);\r\n intentTender.putExtra(\"OtherCharges\", Double.parseDouble(tvOthercharges.getText().toString()));\r\n intentTender.putExtra(\"TaxType\", taxType);// forward/reverse\r\n intentTender.putParcelableArrayListExtra(\"OrderList\", orderItemList);\r\n startActivityForResult(intentTender, 1);*/\r\n //mSaveBillData(2, true);\r\n //PrintNewBill();\r\n }\r\n\r\n /*int iResult = dbBillScreen.deleteKOTItems(iCustId, String.valueOf(jBillingMode));\r\n Log.d(\"Delivery:\", \"Items deleted from pending KOT:\" + iResult);*/\r\n\r\n //ClearAll();\r\n //Close(null);\r\n }", "public double getArcCost(AsNode child) {\n\t\treturn this.state.getG() + childCost.get(child);\n\t}", "@Override\r\n\tpublic Double getBalance( Integer id) {\n\t\tString sql = \"SELECT balance FROM buyers WHERE id = ?;\";\r\n\t\treturn jdbcTemplate.queryForObject( sql, Double.class, id);\r\n\t}", "public double MakeBooking(Customer InputCustomer) {\n\t\tdouble TotalPrice = 0.0;\n\t\tdouble Midprice = 0.0;\n\t\t\n\t\t\n\t\tMidprice = (this.basePrice*this.Rate*InputCustomer.DefaultadultSeats);\n\t\tTotalPrice = TotalPrice + (Midprice-(Midprice*this.concession));\n\t\treturn TotalPrice;\n\t\t\n\t\t\n\t\t\n\t}", "public static double calculateCost(String type, int dist) {\n\t\t// HINT: This function always returns 0 but that's not right. \n\t\t// Use the helper functions getZoneDistance() and getMailType()\n\t\t// and use those return values to compute the cost according to\n\t\t// the specifications in the comments.\n\t\treturn 0; \n\t}", "@Override\n public double calculatePay ()\n {\n double commissionPay = this.sales * this.rate / 100;\n return commissionPay;\n }", "public void calculateCost()\n\t{\n\t\tLogManager lgmngr = LogManager.getLogManager(); \n\t\tLogger log = lgmngr.getLogger(Logger.GLOBAL_LOGGER_NAME);\n\t\tString s = \"\";\n\t\tint costperfeet = 0;\n\t\tif (this.materialStandard.equals(\"standard materials\") && this.fullyAutomated == false)\n\t\t\tcostperfeet = 1200;\n\t\telse if (this.materialStandard.equals(\"above standard materials\") && this.fullyAutomated == false)\n\t\t\tcostperfeet = 1500;\n\t\telse if(this.materialStandard.equals(\"high standard materials\") && this.fullyAutomated == false)\n\t\t\tcostperfeet = 1800;\n\t\telse if (this.materialStandard.equals(\"high standard materials\") && this.fullyAutomated == true)\n\t\t\tcostperfeet = 2500;\n\t\t\n\t\tint totalCost = costperfeet * this.totalArea;\n\t\t/*s = \"Total Cost of Construction is :- \";\n\t\twriter.printf(\"%s\" + totalCost, s);\n\t\twriter.flush();*/\n\t\tlog.log(Level.INFO, \"Total Cost of Construction is :- \" + totalCost);\n\t}", "public double calculateCost() {\n double output = price * (1 + taxRate);\n return output;\n }", "double calculatePrice(VehicleType vehicleType, Date entryTime, Date exitTime);", "double getCostArc(K idVertexIni, K idVertexFin);", "private void calculateCommissionAmount(PrintItinerary itinerary) {\n\t\tdouble commissionAmount = 0.0;\n\n\t\t// calculate commissionAmount for hotels\n\t\tcommissionAmount = commissionAmount\n\t\t\t\t+ calculateCommissionAmountHotels(itinerary);\n\n\t\t// calculate commissionAmount for flights\n\t\tcommissionAmount = commissionAmount\n\t\t\t\t+ calculateCommissionAmountFlights(itinerary);\n\n\t\t// calculate commissionAmount for vehicles\n\t\tcommissionAmount = commissionAmount\n\t\t\t\t+ calculateCommissionAmountVehicles(itinerary);\n\n\t\t// calculate commissionAmount for package\n\t\tcommissionAmount = commissionAmount\n\t\t\t\t+ calculateCommissionAmountPackage(itinerary);\n\n\t\t// calculate commissionAmount for multidest package\n\t\tcommissionAmount = commissionAmount\n\t\t\t\t+ calculateCommissionAmountMultPackage(itinerary);\n\n\t\t// set commission amount\n\t\titinerary.getBookingHeader().setBaseCommission(commissionAmount);\n\n\t}", "public double calcTotal(){\n\t\tdouble total; // amount to be returned\n\t\t\n\t\t// add .50 cents for any milk that isn't whole or skim, and .35 cents for flavoring\n\t\tif ((milk != \"whole\" && milk != \"skim\") && flavor != \"no\"){\n\t\t\tcost += 0.85;\t\n\t\t}\n\t\t\n\t\t// add .35 cents for flavoring\n\t\telse if (flavor != \"no\"){\n\t\t\tcost += 0.35;\t\n\t\t}\n\t\t\n\t\t// add .50 cents for milk that isn't whole or skim\n\t\telse if (milk != \"whole\" && milk != \"skim\"){\n\t\t\tcost += 0.50;\n\t\t}\n\t\t\n\t\telse{\n\t\t}\n\t\t\n\t\t// add .50 cents for extra shot of espresso\n\t\tif (extraShot != false){\n\t\t\ttotal = cost + 0.50;\n\t\t}\n\t\telse\n\t\t\ttotal = cost;\n\t\t\n\t\treturn total;\n\t}", "public String transaction_pay (int reservationId)\n\t{\n\t\tif (this.username == null) {\n\t\t\treturn \"Cannot pay, not logged in\\n\";\n\t\t} \n\t\ttry {\n\t\t\tbeginTransaction();\n\t\t\t//checking Reservation is valid\n\t\t\tif (!checkUnpaidReservation(reservationId) || !checkNotCanceledReservation(reservationId)) {\n\t\t\t\trollbackTransaction();\n\t\t\t\treturn \"Cannot find unpaid reservation \" + reservationId + \" under user: \" + this.username + \"\\n\";\n\t\t\t} \n\t\t\t//get price of Reservation\n\t\t\tgetReservationStatement.clearParameters();\n\t\t\tgetReservationStatement.setString(1, this.username);\n\t\t\tgetReservationStatement.setInt(2, reservationId);\n\t\t\tResultSet result = getReservationStatement.executeQuery();\n\t\t\tresult.next();\n\t\t\t//make sure user's balance is enough\n\t\t\tint balance = getBalance();\n\t\t\tif (balance < result.getInt(7)) {\n\t\t\t\trollbackTransaction();\n\t\t\t\treturn \"User has only \" + balance + \" in account but itinerary costs \" + result.getInt(7) + \"\\n\";\n\t\t\t}\n\t\t\tbalance -= result.getInt(7);\n\t\t\t//update subtracted balance, and set Reservation.paid = 1\n\t\t\tupdateBalance(balance);\n\t\t\tpayReservation(result.getInt(1));\n\t\t\tresult.close();\n\t\t\tcommitTransaction();\n\t\t\treturn \"Paid reservation: \" + reservationId + \" remaining balance: \" + balance + \"\\n\";\n\t\t} catch (Exception e) {\n\t\t\tif (DEBUG) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\trollbackTransaction();\n\t\t\treturn \"Failed to pay for reservation \" + reservationId + \"\\n\";\n\t\t} \n\t}", "@Override\n public TotalDebit calculateTotalDebit(Child child, int year) {\n if (child.getSupportedGroup() == null) {\n return null;\n }\n\n TotalDebit debit = new TotalDebit();\n debit.setChildName(child.getName());\n debit.setChildSurname(child.getSurname());\n\n double fullPrice;\n if (child.getSupportedGroup().getGroup().getWorkType().getName().equals(\"Obdaniste\")) {\n fullPrice = child.getInstitution().getFullPrice();\n }\n else {\n fullPrice = child.getInstitution().getPartialPrice();\n }\n\n List<Pricelist> pricelists = pricelistService.findCurrentByCategoryAndInstitution(child.getCategory(),\n child.getInstitution());\n // can't determine which pricelist to use\n if (pricelists.size() != 1) {\n return null;\n }\n double percentage = pricelists.get(0).getPercentage()/100;\n\n double totalDebit = 0;\n double totalPaid = 0;\n\n // calculate the debit for every single month and collect the result if the child attended classes during the\n // specified month\n for (int month = 0; month < 12; month++) {\n MonthlyDebit monthlyDebit = calculateMonthlyDebit(child, month, year, percentage, fullPrice);\n if (monthlyDebit != null) {\n monthlyDebit.setCarriedDebit(totalDebit);\n monthlyDebit.setCarriedPaid(totalPaid);\n totalDebit += monthlyDebit.getDebit();\n totalPaid += monthlyDebit.getPaid();\n monthlyDebit.setMonth(month + 1);\n debit.getDebits().add(monthlyDebit);\n }\n }\n\n debit.setTotalDebit(totalDebit);\n debit.setTotalPaid(totalPaid);\n\n return debit;\n }", "public double usageCost() {\r\n double totalCost = 0;\r\n for (Booking aBooking: getBookings()) {\r\n long diff = (aBooking.getDateTo().getTime() \r\n - aBooking.getDateFrom().getTime());\r\n int noOfDays = (int) ((diff / (1000 * 60 * 60 * 24)) + 1);\r\n totalCost += noOfDays * 50;\r\n }\r\n return totalCost;\r\n }", "public void calculateToll(Vehicles v, ArrayList<Places> p){\n for(Places p1: p){\n if(p1.getToll() && p1.getPId()>= start && p1.getPId() <= end){\n tollbooths.add(p1.getPId());\n FeeForEachTollandTrip tt = new FeeForEachTollandTrip(isVip);\n tolltrips.add(tt);\n total += tt.calculateToll(v, p1.getPId());\n }\n }\n \n //printint the output\n /*\n Toll booths : B Amount : 20 Discount : 4 Total : 16\n */\n System.out.print(\"Tollbooths were: \");\n for(int i =0; i<tollbooths.size();i++){\n System.out.print(\" \" + tollbooths.get(i));\n }\n\n\n System.out.println();\n int amount;\n if(isVip)\n amount = (int) (total/0.8);\n else \n amount = (int)total;\n System.out.println(\"Amount is \" + amount);\n double discount = 0;\n if(isVip)\n discount = 0.2 * amount;\n System.out.println(\"Discount is \" + discount);\n System.out.println(\"Total is: \" +total);\n\n //checking if vehicle has already passed the toll before\n //if yes, nothing to be done.\n //if not, add the vehicle to the toll\n for(Places p1: p){\n if(p1.getToll() && tollbooths.contains(p1.getPId())){\n for(Vehicles v1: p1.getVehicles()){\n if(v1.getVehicleId() == v.getVehicleId()){\n break;\n }\n }\n p1.vehicles.add(v);\n }\n }\n }", "private void CalculateTotalAmount() {\r\n\r\n double dSubTotal = 0, dTaxTotal = 0, dModifierAmt = 0, dServiceTaxAmt = 0, dOtherCharges = 0, dTaxAmt = 0, dSerTaxAmt = 0, dIGSTAmt=0, dcessAmt=0, dblDiscount = 0;\r\n float dTaxPercent = 0, dSerTaxPercent = 0;\r\n\r\n // Item wise tax calculation ----------------------------\r\n for (int iRow = 0; iRow < tblOrderItems.getChildCount(); iRow++) {\r\n\r\n TableRow RowItem = (TableRow) tblOrderItems.getChildAt(iRow);\r\n\r\n if (RowItem.getChildAt(0) != null) {\r\n\r\n TextView ColTaxType = (TextView) RowItem.getChildAt(13);\r\n TextView ColAmount = (TextView) RowItem.getChildAt(5);\r\n TextView ColDisc = (TextView) RowItem.getChildAt(9);\r\n TextView ColTax = (TextView) RowItem.getChildAt(7);\r\n TextView ColModifierAmount = (TextView) RowItem.getChildAt(14);\r\n TextView ColServiceTaxAmount = (TextView) RowItem.getChildAt(16);\r\n TextView ColIGSTAmount = (TextView) RowItem.getChildAt(24);\r\n TextView ColcessAmount = (TextView) RowItem.getChildAt(26);\r\n TextView ColAdditionalCessAmt = (TextView) RowItem.getChildAt(29);\r\n TextView ColTotalCessAmount = (TextView) RowItem.getChildAt(30);\r\n dblDiscount += Double.parseDouble(ColDisc.getText().toString());\r\n dTaxTotal += Double.parseDouble(ColTax.getText().toString());\r\n dServiceTaxAmt += Double.parseDouble(ColServiceTaxAmount.getText().toString());\r\n dIGSTAmt += Double.parseDouble(ColIGSTAmount.getText().toString());\r\n// dcessAmt += Double.parseDouble(ColcessAmount.getText().toString()) + Double.parseDouble(ColAdditionalCessAmt.getText().toString());\r\n dcessAmt += Double.parseDouble(ColTotalCessAmount.getText().toString());\r\n dSubTotal += Double.parseDouble(ColAmount.getText().toString());\r\n\r\n }\r\n }\r\n // ------------------------------------------\r\n\r\n // Bill wise tax Calculation -------------------------------\r\n Cursor crsrtax = dbBillScreen.getTaxConfig(1);\r\n if (crsrtax.moveToFirst()) {\r\n dTaxPercent = crsrtax.getFloat(crsrtax.getColumnIndex(\"TotalPercentage\"));\r\n dTaxAmt += dSubTotal * (dTaxPercent / 100);\r\n }\r\n Cursor crsrtax1 = dbBillScreen.getTaxConfig(2);\r\n if (crsrtax1.moveToFirst()) {\r\n dSerTaxPercent = crsrtax1.getFloat(crsrtax1.getColumnIndex(\"TotalPercentage\"));\r\n dSerTaxAmt += dSubTotal * (dSerTaxPercent / 100);\r\n }\r\n // -------------------------------------------------\r\n\r\n dOtherCharges = Double.valueOf(tvOthercharges.getText().toString());\r\n //String strTax = crsrSettings.getString(crsrSettings.getColumnIndex(\"Tax\"));\r\n if (crsrSettings.moveToFirst()) {\r\n if (crsrSettings.getString(crsrSettings.getColumnIndex(\"Tax\")).equalsIgnoreCase(\"1\")) {\r\n if (crsrSettings.getString(crsrSettings.getColumnIndex(\"TaxType\")).equalsIgnoreCase(\"1\")) {\r\n\r\n tvIGSTValue.setText(String.format(\"%.2f\", dIGSTAmt));\r\n tvCGSTValue.setText(String.format(\"%.2f\", dTaxTotal));\r\n tvSGSTValue.setText(String.format(\"%.2f\", dServiceTaxAmt));\r\n tvcessValue.setText(String.format(\"%.2f\",dcessAmt));\r\n\r\n if (chk_interstate.isChecked()) // interstate\r\n {\r\n tvIGSTValue.setTextColor(Color.WHITE);\r\n tvCGSTValue.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\r\n tvSGSTValue.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\r\n } else {\r\n tvIGSTValue.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\r\n tvCGSTValue.setTextColor(Color.WHITE);\r\n tvSGSTValue.setTextColor(Color.WHITE);\r\n }\r\n\r\n tvSubTotal.setText(String.format(\"%.2f\", dSubTotal));\r\n tvBillAmount.setText(String.format(\"%.2f\", dSubTotal + dTaxTotal + dServiceTaxAmt + dOtherCharges+dcessAmt));\r\n } else {\r\n\r\n tvIGSTValue.setText(String.format(\"%.2f\", dIGSTAmt));\r\n tvCGSTValue.setText(String.format(\"%.2f\", dTaxTotal));\r\n tvSGSTValue.setText(String.format(\"%.2f\", dServiceTaxAmt));\r\n tvcessValue.setText(String.format(\"%.2f\",dcessAmt));\r\n\r\n if (chk_interstate.isChecked()) // interstate\r\n {\r\n tvIGSTValue.setTextColor(Color.WHITE);\r\n tvCGSTValue.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\r\n tvSGSTValue.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\r\n } else {\r\n tvIGSTValue.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\r\n tvCGSTValue.setTextColor(Color.WHITE);\r\n tvSGSTValue.setTextColor(Color.WHITE);\r\n }\r\n tvSubTotal.setText(String.format(\"%.2f\", dSubTotal));\r\n tvBillAmount.setText(String.format(\"%.2f\", dSubTotal + dTaxAmt + dSerTaxAmt + dOtherCharges+dcessAmt));\r\n }\r\n } else {\r\n if (crsrSettings.getString(crsrSettings.getColumnIndex(\"TaxType\")).equalsIgnoreCase(\"1\")) {\r\n tvIGSTValue.setText(String.format(\"%.2f\", dIGSTAmt));\r\n tvCGSTValue.setText(String.format(\"%.2f\", dTaxTotal));\r\n tvSGSTValue.setText(String.format(\"%.2f\", dServiceTaxAmt));\r\n tvcessValue.setText(String.format(\"%.2f\",dcessAmt));\r\n\r\n if (chk_interstate.isChecked()) // interstate\r\n {\r\n tvIGSTValue.setTextColor(Color.WHITE);\r\n tvCGSTValue.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\r\n tvSGSTValue.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\r\n } else {\r\n tvIGSTValue.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\r\n tvCGSTValue.setTextColor(Color.WHITE);\r\n tvSGSTValue.setTextColor(Color.WHITE);\r\n }\r\n tvSubTotal.setText(String.format(\"%.2f\", dSubTotal));\r\n tvBillAmount.setText(String.format(\"%.2f\", dSubTotal + dOtherCharges));\r\n\r\n } else {\r\n tvSubTotal.setText(String.format(\"%.2f\", dSubTotal));\r\n tvIGSTValue.setText(String.format(\"%.2f\", dIGSTAmt));\r\n tvCGSTValue.setText(String.format(\"%.2f\", dTaxTotal));\r\n tvSGSTValue.setText(String.format(\"%.2f\", dServiceTaxAmt));\r\n tvcessValue.setText(String.format(\"%.2f\",dcessAmt));\r\n\r\n\r\n if (chk_interstate.isChecked()) // interstate\r\n {\r\n tvIGSTValue.setTextColor(Color.WHITE);\r\n tvCGSTValue.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\r\n tvSGSTValue.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\r\n } else {\r\n tvIGSTValue.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\r\n tvCGSTValue.setTextColor(Color.WHITE);\r\n tvSGSTValue.setTextColor(Color.WHITE);\r\n }\r\n tvBillAmount.setText(String.format(\"%.2f\", dSubTotal + dOtherCharges));\r\n }\r\n }\r\n tvDiscountAmount.setText(String.format(\"%.2f\", dblDiscount));\r\n }\r\n }", "public abstract double getCost();", "public int getEstimatedRevenue(int agent_id) {\n int total_revenue = 0;\n try {\n estimatedRevenue.setInt(1, agent_id);\n ResultSet resultset = estimatedRevenue.executeQuery();\n while (resultset.next()) {\n total_revenue += resultset.getInt(\"cost\");\n }\n resultset.close();\n }\n catch (SQLException exception) {\n System.out.println(\"Customer_id invalid! No customer exists!!\");\n }\n return total_revenue;\n }", "public void payment(double total_sales_of_transaction) {\n String payment_typ = \"\";\n Scanner scan = new Scanner(System.in);\n\n System.out.printf(\"Which payment type do you wish to use?\\n\");\n System.out.printf(\"1. Cash\\n\");\n System.out.printf(\"2. Card\\n\");\n \n\n do {\n System.out.printf(\"Please enter your choice :\");\n try {\n choice = scan.nextInt();\n } catch (InputMismatchException e) {\n scan.next();\n System.out.println(\"Something went wrong.\\n\");\n }\n } while (choice<1 || choice >2);\n\n \n\n\n if (choice == 2) {\n boolean valid_ccN = false;\n cerdit_card_ID = scan.nextLine();\n while (valid_ccN == false) {\n valid_ccN = verifiying_payment(cerdit_card_ID);\n if(valid_ccN == true){break;}\n scan.next();\n System.out.println(\"Please enter a valid CC number :\");\n cerdit_card_ID = scan.nextLine();\n }\n\n System.out.println(\"Your payment has been accpeted.\\n\");\n payment_typ = \"CC\";\n payment_used = \"CARD\";\n\n } else {\n verifiying_payment();\n payment_typ = \"C\";\n payment_used = \"CASH\";\n\n }\n\n payment_id = generate_payment_ID(payment_typ);\n printPaymentSummary();\n }", "public double getDistance(int bikeID){\n Connection connection = null;\n ResultSet resultSet = null;\n PreparedStatement preparedStatement = null;\n\n BikeModel bikeModel = new BikeModel();\n String distanceQuery = \"SELECT bs.bike_id, bs.distance FROM bike_stats bs \" +\n \"JOIN (SELECT bike_id, MAX(time) AS maxtime FROM bike_stats GROUP BY bike_id) gbd \" +\n \"ON bs.bike_id = gbd.bike_id AND bs.time = gbd.maxtime JOIN bike \" +\n \"ON bs.bike_id = bike.bike_id WHERE active = 1 AND bike.bike_id = ?\";\n\n try{\n connection = DBCleanup.getConnection();\n\n if(bikeModel.bikeExists(bikeID)){\n preparedStatement = connection.prepareStatement(distanceQuery);\n preparedStatement.setInt(1, bikeID);\n resultSet = preparedStatement.executeQuery();\n resultSet.next();\n return resultSet.getDouble(\"distance\");\n }else{\n return -1;\n }\n }catch(SQLException e){\n System.out.println(e.getMessage() + \" - getDistance\");\n }finally {\n DBCleanup.closeStatement(preparedStatement);\n DBCleanup.closeResultSet(resultSet);\n DBCleanup.closeConnection(connection);\n }\n return -1;\n }", "public int calculateCost() {\n int premium = surety.calculatePremium(insuredValue);\n SuretyType suretyType = surety.getSuretyType();\n int commission = (int) Math.round(premium * vehicle.getCommission(suretyType));\n return premium + commission;\n }", "@GetMapping(\"/consumer/payment/get/{id}\")\n //@HystrixCommand\n public CommonResult<Payment> getPayment(@PathVariable(\"id\") Long id) {\n return paymentService.getPaymentById(id);\n }", "ShipmentCostEstimate createShipmentCostEstimate();", "@GetMapping(\"/payments/{id}\")\n @Timed\n public ResponseEntity<PaymentDTO> getPayment(@PathVariable Long id) {\n log.debug(\"REST request to get Payment : {}\", id);\n Optional<PaymentDTO> paymentDTO = paymentQueryService.findOne(id);\n return ResponseUtil.wrapOrNotFound(paymentDTO);\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 }", "double getTotal_Discount(int job_ID, int customer_acc_no);", "public static double Cost(double boxes, double Cost) {\n\tdouble pay = boxes * Cost;\n\treturn pay;\n}", "public TotalPriceDTO isEligibleForDiscount(int customerID) {\n return sale.getDiscount(registryCreator.getDiscountRegistry().getDiscount(customerID));\n }", "@Override\n public double sendCostCalculated(String length, String vehicleType) {\n\n double numOfKm = Double.parseDouble(length);\n double totalCost = 50.0;\n\n if ((numOfKm - 1) < 1) {\n return totalCost;\n }\n\n double nextLength = numOfKm - 1;\n\n switch (vehicleType) {\n case \"budget\":\n totalCost += nextLength * 35;\n break;\n case \"hybrid\":\n totalCost += nextLength * 55;\n break;\n default:\n totalCost += nextLength * 45;\n }\n\n return totalCost;\n }", "@Override\n\tpublic double[] getVehicleCost() {\n\t\t\n\t\t\n\t\tdouble[] temp = {constantPO.getVanCost(),constantPO.getRailwayCost(),constantPO.getAirplaneCost()};\n\t\t\n\t\treturn temp;\n\t}", "private void getOrderServiceFee(Long id) {\n new FetchOrderServiceFee(id, new FetchOrderServiceFee.InvokeOnCompleteAsync() {\n @Override\n public void onComplete(String orderServiceFee) {\n updateServiceFee(Float.valueOf(orderServiceFee));\n }\n\n @Override\n public void onError(Throwable e) {\n LoggerHelper.showErrorLog(\"Error: \", e);\n }\n });\n }", "public double getTotalCost(){\r\n\t\t//return the totalCost to the App\r\n\t\treturn totalCost;\r\n\t}", "public void calculateCost() {\n\t\tthis.cost = 0.0;\n\t\t\n\t\tint i, count = this.cities.size()-1;\n\t\tfor (i = 0; i < count; i++)\n\t\t\tthis.cost += this.cities.get(i).distances[this.cities.get(i+1).index];\n\n\t\tthis.cost += this.cities.get(count).distances[this.cities.get(0).index];\n\t}", "public int queryFlightPrice(int id, int flightNumber)\n throws RemoteException, DeadlockException;", "List<WayBillDTO> getWayBillByIdTravel(Long id_travel);", "protected double calculateBasePrice(final BundleTemplateModel bundleTemplate, final ProductModel product,\n\t\t\tfinal List<TransportOfferingModel> transportOfferings, final String routeCode) throws NDCOrderException\n\t{\n\t\tfinal PriceInformation priceInfo = getPriceInformation(bundleTemplate, product, transportOfferings, routeCode);\n\n\t\treturn priceInfo.getPriceValue().getValue();\n\t}", "public double getCost() {\n\t\tif (this.accommodationType.equals(TYPEsingle)) {\n\t\t\tif (this.getRoomView().equals(\"street view\")) {\n\t\t\t\treturn 50.0;\n\t\t\t} else if (this.getRoomView().equals(\"garden view\")) {\n\t\t\t\treturn 70.0;\n\t\t\t} else {\n\t\t\t\treturn 110.0;\n\t\t\t}\n\t\t} else if (this.accommodationType.equals(TYPEdouble)) {\n\t\t\tif (this.getRoomView().equals(\"street view\")) {\n\t\t\t\treturn 70.0;\n\t\t\t} else if (this.getRoomView().equals(\"garden view\")) {\n\t\t\t\treturn 98.0;\n\t\t\t} else {\n\t\t\t\treturn 154.0;\n\t\t\t}\n\t\t} else if (this.accommodationType.equals(TYPEfamily)) {\n\t\t\tif (this.getRoomView().equals(\"street view\")) {\n\t\t\t\treturn 86.0;\n\t\t\t} else if (this.getRoomView().equals(\"garden view\")) {\n\t\t\t\tif (getInfoJacuzzi() == true) {\n\t\t\t\t\treturn 180.6;\n\t\t\t\t} else {\n\t\t\t\t\treturn 120.4;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (getInfoJacuzzi() == true) {\n\t\t\t\t\treturn 283.8;\n\t\t\t\t} else {\n\t\t\t\t\treturn 189.2;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (this.accommodationType.equals(TYPEpresidential)) {\n\t\t\tif (this.getRoomView().equals(\"street view\")) {\n\t\t\t\treturn 200.0;\n\t\t\t} else if (this.getRoomView().equals(\"garden view\")) {\n\t\t\t\tif (getInfoJacuzzi() == true) {\n\t\t\t\t\treturn 420.0;\n\t\t\t\t} else {\n\t\t\t\t\treturn 280.0;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (getInfoJacuzzi() == true) {\n\t\t\t\t\treturn 660.0;\n\t\t\t\t} else {\n\t\t\t\t\treturn 440.0;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\treturn 0.0;\n\t\t}\n\t}", "public double getTotal() {\n return totalCost;\n }", "private void CalculateTotalAmount()\n {\n double dSubTotal = 0,dTaxTotal = 0, dModifierAmt = 0, dServiceTaxAmt = 0, dOtherCharges = 0, dTaxAmt = 0, dSerTaxAmt = 0;\n float dTaxPercent = 0, dSerTaxPercent = 0;\n double dTotalBillAmount_for_reverseTax =0;\n double dIGSTAmt =0, dcessAmt =0;\n // Item wise tax calculation ----------------------------\n for (int iRow = 0; iRow < tblOrderItems.getChildCount(); iRow++)\n {\n TableRow RowItem = (TableRow) tblOrderItems.getChildAt(iRow);\n if (RowItem.getChildAt(0) != null)\n {\n TextView ColQuantity = (TextView) RowItem.getChildAt(3);\n TextView ColRate = (TextView) RowItem.getChildAt(4);\n TextView ColTaxType = (TextView) RowItem.getChildAt(13);\n TextView ColAmount = (TextView) RowItem.getChildAt(5);\n TextView ColDisc = (TextView) RowItem.getChildAt(9);\n TextView ColTax = (TextView) RowItem.getChildAt(7);\n TextView ColModifierAmount = (TextView) RowItem.getChildAt(14);\n TextView ColServiceTaxAmount = (TextView) RowItem.getChildAt(16);\n TextView ColIGSTAmount = (TextView) RowItem.getChildAt(24);\n TextView ColcessAmount = (TextView) RowItem.getChildAt(26);\n TextView ColTaxValue = (TextView) RowItem.getChildAt(28);\n dTaxTotal += Double.parseDouble(ColTax.getText().toString());\n dServiceTaxAmt += Double.parseDouble(ColServiceTaxAmount.getText().toString());\n dIGSTAmt += Double.parseDouble(ColIGSTAmount.getText().toString());\n dcessAmt += Double.parseDouble(ColcessAmount.getText().toString());\n if (crsrSettings!=null && crsrSettings.getString(crsrSettings.getColumnIndex(\"Tax\")).equalsIgnoreCase(\"1\")) // forward tax\n {\n dSubTotal += Double.parseDouble(ColAmount.getText().toString());\n }\n else // reverse tax\n {\n double qty = ColQuantity.getText().toString().equals(\"\")?0.00 : Double.parseDouble(ColQuantity.getText().toString());\n double baseRate = ColRate.getText().toString().equals(\"\")?0.00 : Double.parseDouble(ColRate.getText().toString());\n dSubTotal += (qty*baseRate);\n dTotalBillAmount_for_reverseTax += Double.parseDouble(ColAmount.getText().toString());\n }\n\n }\n }\n // ------------------------------------------\n // Bill wise tax Calculation -------------------------------\n Cursor crsrtax = db.getTaxConfigs(1);\n if (crsrtax.moveToFirst()) {\n dTaxPercent = crsrtax.getFloat(crsrtax.getColumnIndex(\"TotalPercentage\"));\n dTaxAmt += dSubTotal * (dTaxPercent / 100);\n }\n Cursor crsrtax1 = db.getTaxConfigs(2);\n if (crsrtax1.moveToFirst()) {\n dSerTaxPercent = crsrtax1.getFloat(crsrtax1.getColumnIndex(\"TotalPercentage\"));\n dSerTaxAmt += dSubTotal * (dSerTaxPercent / 100);\n }\n // -------------------------------------------------\n\n dOtherCharges = Double.valueOf(textViewOtherCharges.getText().toString());\n //String strTax = crsrSettings.getString(crsrSettings.getColumnIndex(\"Tax\"));\n if (crsrSettings.moveToFirst()) {\n if (crsrSettings.getString(crsrSettings.getColumnIndex(\"Tax\")).equalsIgnoreCase(\"1\")) // forward tax\n {\n if (crsrSettings.getString(crsrSettings.getColumnIndex(\"TaxType\")).equalsIgnoreCase(\"1\"))\n {\n tvIGSTValue.setText(String.format(\"%.2f\", dIGSTAmt));\n tvTaxTotal.setText(String.format(\"%.2f\", dTaxTotal));\n tvServiceTaxTotal.setText(String.format(\"%.2f\", dServiceTaxAmt));\n tvcessValue.setText(String.format(\"%.2f\",dcessAmt));\n\n if (chk_interstate.isChecked()) // interstate\n {\n tvIGSTValue.setTextColor(Color.WHITE);\n tvTaxTotal.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\n tvServiceTaxTotal.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\n } else {\n tvIGSTValue.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\n tvTaxTotal.setTextColor(Color.WHITE);\n tvServiceTaxTotal.setTextColor(Color.WHITE);\n }\n\n tvSubTotal.setText(String.format(\"%.2f\", dSubTotal));\n tvBillAmount.setText(String.format(\"%.2f\", dSubTotal + dTaxTotal + dServiceTaxAmt + dOtherCharges+dcessAmt));\n }\n else\n {\n tvIGSTValue.setText(String.format(\"%.2f\", dIGSTAmt));\n tvTaxTotal.setText(String.format(\"%.2f\", dTaxTotal));\n tvServiceTaxTotal.setText(String.format(\"%.2f\", dServiceTaxAmt));\n tvcessValue.setText(String.format(\"%.2f\",dcessAmt));\n\n if (chk_interstate.isChecked()) // interstate\n {\n tvIGSTValue.setTextColor(Color.WHITE);\n tvTaxTotal.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\n tvServiceTaxTotal.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\n } else {\n tvIGSTValue.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\n tvTaxTotal.setTextColor(Color.WHITE);\n tvServiceTaxTotal.setTextColor(Color.WHITE);\n }\n tvSubTotal.setText(String.format(\"%.2f\", dSubTotal));\n tvBillAmount.setText(String.format(\"%.2f\", dSubTotal + dTaxAmt + dSerTaxAmt + dOtherCharges+dcessAmt));\n }\n }\n else // reverse tax\n {\n if (crsrSettings.getString(crsrSettings.getColumnIndex(\"TaxType\")).equalsIgnoreCase(\"1\")) // item wise\n {\n tvIGSTValue.setText(String.format(\"%.2f\", dIGSTAmt));\n tvTaxTotal.setText(String.format(\"%.2f\", dTaxTotal));\n tvServiceTaxTotal.setText(String.format(\"%.2f\", dServiceTaxAmt));\n tvcessValue.setText(String.format(\"%.2f\",dcessAmt));\n\n if (chk_interstate.isChecked()) // interstate\n {\n tvIGSTValue.setTextColor(Color.WHITE);\n tvTaxTotal.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\n tvServiceTaxTotal.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\n } else {\n tvIGSTValue.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\n tvTaxTotal.setTextColor(Color.WHITE);\n tvServiceTaxTotal.setTextColor(Color.WHITE);\n }\n tvSubTotal.setText(String.format(\"%.2f\", dSubTotal));\n tvBillAmount.setText(String.format(\"%.2f\", dTotalBillAmount_for_reverseTax + dOtherCharges));\n\n }\n else\n {\n tvSubTotal.setText(String.format(\"%.2f\", dSubTotal));\n tvIGSTValue.setText(String.format(\"%.2f\", dIGSTAmt));\n tvTaxTotal.setText(String.format(\"%.2f\", dTaxTotal));\n tvServiceTaxTotal.setText(String.format(\"%.2f\", dServiceTaxAmt));\n tvcessValue.setText(String.format(\"%.2f\",dcessAmt));\n\n if (chk_interstate.isChecked()) // interstate\n {\n tvIGSTValue.setTextColor(Color.WHITE);\n tvTaxTotal.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\n tvServiceTaxTotal.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\n } else {\n tvIGSTValue.setTextColor(getResources().getColor(R.color.colorPrimaryLight));\n tvTaxTotal.setTextColor(Color.WHITE);\n tvServiceTaxTotal.setTextColor(Color.WHITE);\n }\n tvBillAmount.setText(String.format(\"%.2f\", dTotalBillAmount_for_reverseTax + dOtherCharges));\n }\n }\n }\n }", "public abstract double pay(BikesType type, double rideDuration);", "Optional<BigDecimal> getDiscountedTotalPrice(List<Item> items) throws CheckoutProcessingException;", "BigDecimal getAmountAssigned(DestinationEntity destinationEntity);", "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 }", "public static double getCostPerSqFt(double area){\n return area*10;\n }", "public double getTotalPayments(){return this.total;}", "double calculate(Coupon coupon, double payable);", "CarPaymentMethod processPayPal();", "public BigDecimal sumCostAvoidanceTotal(MaintenanceRequest po){\n\t\tBigDecimal total = new BigDecimal(0.00).setScale(2);\n\t\t\n\t\tfor(MaintenanceRequestTask task : po.getMaintenanceRequestTasks()){\n\t\t\ttotal = total.add(MALUtilities.isEmpty(task.getCostAvoidanceAmount()) ? new BigDecimal(0) : task.getCostAvoidanceAmount());\n\t\t}\n\t\t\n\t\treturn total;\t\t\n\t}", "public synchronized double pay(Routine routine, Bicycle b, Bank_Card bank_card) throws Exception{\r\n\t\tif(!routine.getDestination().isState()){System.out.println(\"offline - out of order!\");throw new Exception(\"OFFLINE\");}\r\n\t\tdouble price = 0;\r\n\t\tif(routine.getDestination()==null || routine.getEnd()==null || routine.getSource()==null || routine.getStart()==null){System.out.println(\"no routine to pay\");} \r\n\t\tif(this.card == null){\r\n\t\t\tif(b instanceof Bicycle_Mech){price = routine.count_time(b);}\r\n\t\t\tif(b instanceof Bicycle_Elec){price = 2*routine.count_time(b);}\r\n\t\t}\r\n\t\tif(this.card != null){price = this.card.price(routine, b);}\r\n\t\tif(bank_card.getOwner().equals(this)){bank_card.check(price);bank_card.setMoney(bank_card.getMoney()-price);}\r\n\t\tif(!bank_card.getOwner().equals(this)){System.out.println(\"choose a right bank card\");}\r\n\t\treturn price;\r\n\t}", "@Path(\"/{id_payment}\")\n\t@GET\n\tpublic Response getPayment(@PathParam(\"id_payment\") String idPayment) {\n\t\tPayment currentPayment = Database.getPayment(idPayment);\n\t\t// Proceed payment\n\t\tJSONObject result = new JSONObject();\n\t\tresult.append(\"id_payment\", currentPayment.getId());\n\t\tresult.append(\"id_command\", currentPayment.getCommandId());\n\t\tresult.append(\"numCb\", currentPayment.getNumCb());\n\t\tresult.append(\"crypto\", currentPayment.getCrypto());\n\t\tresult.append(\"dateEnd\", currentPayment.getDateEnd());\n\t\treturn Response.ok().entity(result.toString(2)).build();\n\t}", "public Price getPrice(int id, float wallPrice, float corridorPrice, float torchPrice){\n if(id < 0 || id >= mazes.size()) throw new IncorrectMazeIDException();\n MazeService mazeService = new MazeService(getMaze(id));\n return new Price(mazeService.getBuildingCost(wallPrice, corridorPrice, torchPrice));\n }", "public static double computeAccidentCosts(double demand, Link link, ArrayList<Integer> roadType){\n\n\t\t// in EUR per 1000 vehicle-km\n\t\tdouble costRateTable[][][] = {\n\t\t\t\t\n\t\t\t/*\tposition 1\n\t\t\t * \t\tcolumn 0: 'Außerhalb von bebauten Gebiet, Kfz-Straße'\n\t\t\t * \t\tcolumn 1: 'Innerhalb von bebauten Gebiet, Kfz-Straße'\n\t\t\t * \t\tcolumn 2: 'Außerhalb von bebauten Gebiet'\n\t\t\t * \t\tcolumn 3: 'Innerhalb von bebauten Gebiet'\n\t\t\t * \n\t\t\t * \tposition 2: number of lanes\n\t\t\t */\n\t\t\t\n\t\t\t// 'planfrei': positon 0 --> 0\n\t\t\t{\n\t\t\t\t{ 0 , 0 , 0 , 0 }, // 1 lane\n\t\t\t\t{ 23.165 , 23.165 , 0 , 0 }, // 2 lane\n\t\t\t\t{ 23.79 , 23.79 , 0 , 0 }, // 3 lane\n\t\t\t\t{ 23.79 , 23.79 , 0 , 0 } // 4 lane\n\t\t\t},\n\t\t\t// 'plangleich': positon 0 --> 1\n\t\t\t{\n\t\t\t\t{ 61.785 , 101.2 , 61.785 , 101.2 }, // 1 lane\n\t\t\t\t{ 31.63 , 101.53 , 31.63 , 101.53 }, // 2 lane\n\t\t\t\t{ 37.84 , 82.62 , 34.735 , 101.53 }, // 3 lane\n\t\t\t\t{ 0 , 0 , 0 , 101.53 } // 4 lane\n\t\t\t},\n\t\t\t// tunnel: positon 0 --> 2\n\t\t\t{\n\t\t\t\t{ 9.56 , 15.09 , 9.56 , 15.09 }, // 1 lane\n\t\t\t\t{ 11.735 , 14.67425 , 0 , 17.57 }, // 2 lane\n\t\t\t\t{ 11.735 , 11.735 , 0 , 17.57 }, // 3 lane\n\t\t\t\t{ 9.11 , 9.11 , 0 , 17.57 } // 4 lane\n\t\t\t}\t\t\n\t\t};\n\t\t\n\t\tdouble costRate = costRateTable[roadType.get(0)][roadType.get(2)-1][roadType.get(1)]; \n\t\tif (costRate == 0) {\n\t\t\tlog.warn(\"Accident cost rate for link \" + link.getId().toString() + \" is 0. (roadtype: \" + roadType.toString() + \")\" );\n\t\t}\n\t\t\n\t\tdouble vehicleKm = demand * (link.getLength() / 1000.);\n\t\t\n\t\tdouble accidentCosts = costRate * (vehicleKm / 1000.);\n\t\t\n\t\treturn accidentCosts;\t\t\n\t}", "public String getTotalAmountOfTicketFlight()\n\t{\n\t\tint sum;\n\n\t\tint departurePriceAtbottom = Integer.parseInt(getDepartureFlightPriceAtBottom().replaceAll(\"[Rs ,]\", \"\"));\n\t\tint returnPriceAtbottom = Integer.parseInt(getReturnFlightPriceAtBottom().replaceAll(\"[Rs ,]\", \"\"));\n\t\t\n\t\twaitForSeconds(5);\n\n\t\tif(driver.getPageSource().contains(\"Return trip discount\")) {\n\t\t\tint dAmount = Integer.parseInt(discountTagAmount.getText().replaceAll(\"[Rs ]\", \"\"));\n\t\t\tsum = (departurePriceAtbottom + returnPriceAtbottom)- dAmount;\n\n\t\t}\n\t\telse \n\t\t{\n\n\t\t\tsum = departurePriceAtbottom + returnPriceAtbottom;\n\t\t}\n\n\n\t\treturn String.valueOf(sum);\n\t}", "public BalanceDto getBalance(String customerId) {\n\t\tlogger.info(\"balance service implementation class\");\n\t\t\n\t\tBalanceDto balanceDto = new BalanceDto();\n\t\t\n\t\tAccount accountDetails = accountRepository.findBycustomerId(customerId);\n\t\t\n\t\tMortagage mortagagae = mortagageRepository.findBycustomerId(customerId);\n\t\t\n\t\tif(accountDetails.getAccountNumber() != null && mortagagae.getCustomerId() != null)\n\t\t{\n\t\t\t\n\t\t\tlogger.info(\"balance service implementation class with customerId\");\n\t\t\tbalanceDto.setTransactionAccountNumber(accountDetails.getAccountNumber());\n\t\t\tbalanceDto.setTransactionBalance(accountDetails.getBalance());\n\t\t\tbalanceDto.setMortagageBalance(mortagagae.getMortagageBalance());\n\t\t\tbalanceDto.setMortagageAccNumber(mortagagae.getMortagageId());\n\t\t\tbalanceDto.setMessage(\"Balance Data\");\n\t\t\tbalanceDto.setStatus(\"SUCCESS\");\n\t\t\tbalanceDto.setStatusCode(200);\n\t\t\treturn balanceDto;\n\t\t}else\n\t\t{\n\t\t\tlogger.info(\"balance service implementation class with customerId does not exists\");\n\t\t\tthrow new MortagageManagementException(\"Customer Id does not exists or transactions not done\");\n\t\t}\n\t}", "@Override \npublic double getPaymentAmount() { \n return getCommissionRate() * getGrossSales(); \n}", "public double calculate(double distance)\n {\n mDistance = distance;\n if( mCurrentSegment < mProfile.getNumSegments() )\n {\n Segment segment = mProfile.getSegment(mCurrentSegment);\n double error = segment.position - distance;\n\n double output = mKp*error + mKd*((error - mLastError)/mProfile.getDt() - segment.velocity) + mKv*segment.velocity + mKa*segment.acceleration;\n\n mLastError = error;\n\n mCurrentSegment++;\n \n return output;\n }\n else\n {\n //System.out.println(\"Switching to PID\");\n double error = mProfile.getGoalDistance() - distance;\n mErrorSum += error;\n \n return mKp*error + mKi*mErrorSum;\n } \n }" ]
[ "0.57798874", "0.57381153", "0.55910456", "0.5517007", "0.5431212", "0.5230422", "0.5205815", "0.52026427", "0.5176158", "0.51641667", "0.51576185", "0.51128465", "0.50601053", "0.5037123", "0.50211304", "0.49841765", "0.4974409", "0.49576196", "0.4938944", "0.49316", "0.49268192", "0.48892248", "0.48374245", "0.4835593", "0.48258016", "0.480966", "0.48076996", "0.47990763", "0.47966513", "0.47902352", "0.47828835", "0.47778183", "0.47559774", "0.47494927", "0.4731811", "0.4731811", "0.47131908", "0.4704615", "0.4703047", "0.46843994", "0.46838075", "0.46817905", "0.46801233", "0.46768072", "0.4672907", "0.4669223", "0.46640587", "0.46609333", "0.46594593", "0.46366966", "0.46357852", "0.46194425", "0.46038377", "0.45989403", "0.45902917", "0.45743397", "0.45661473", "0.45586148", "0.45559838", "0.45519793", "0.45483994", "0.45478445", "0.454346", "0.45399314", "0.45299247", "0.45286846", "0.45257473", "0.45244962", "0.45235246", "0.45176172", "0.45166633", "0.45161626", "0.45126173", "0.45114574", "0.4510909", "0.4503713", "0.45027915", "0.44896007", "0.4489218", "0.44867843", "0.4484929", "0.44812965", "0.44800597", "0.44788277", "0.4473553", "0.44721597", "0.4470741", "0.44644532", "0.44636267", "0.44609588", "0.44578195", "0.44541198", "0.4453296", "0.44516456", "0.44404048", "0.4439364", "0.44371197", "0.44348717", "0.44263154", "0.44247746" ]
0.7788658
0
This function is used to Calculate Total Payment on the basis of given booking id range and returns exception if payment is not found within the given booking id range.
@GetMapping("/booking/id1/{id1}/id2/{id2}") public ResponseEntity<Double> calculateTotalPayment(@PathVariable("id1") int bookingStartId, @PathVariable("id2") int bookingEndId) { logger.info("Calculate Total Payment"); if (payService.calculateTotalPayment(bookingStartId, bookingEndId) == 0) { throw new PaymentNotFoundException( "Payment not found with these paymentId: " + bookingStartId + bookingEndId); } return ResponseEntity.ok().body(payService.calculateTotalPayment(bookingStartId, bookingEndId)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static double getPaymentAmountDue(Payment payment, HashMap requestParams, accVendorPaymentDAO accVendorPaymentobj) throws ServiceException, ParseException {\n boolean isOpeningPayment = false;\n boolean isAdvancePaymentToVendor = false;\n boolean isRefundPaymentToCustomer = false;\n DateFormat df = (DateFormat) requestParams.get(GoodsReceiptCMNConstants.DATEFORMAT);\n if (df == null) {\n df = (DateFormat) requestParams.get(Constants.df);\n }\n String companyid = (String) requestParams.get(GoodsReceiptCMNConstants.COMPANYID);\n double paymentDueAmt = 0;\n if ((payment.getAdvanceDetails() != null && !payment.getAdvanceDetails().isEmpty()) || payment.isIsOpeningBalencePayment()) {\n double paymentAmt = 0;\n double linkedPaymentAmt = 0;\n if (payment.isIsOpeningBalencePayment()) {//opening payment\n isOpeningPayment = true;\n paymentAmt += payment.getDepositAmount();\n } else if (payment.getVendor() != null) {//advance payment against vendor\n isAdvancePaymentToVendor = true;\n for (AdvanceDetail advanceDetail : payment.getAdvanceDetails()) {\n paymentAmt += advanceDetail.getAmount();\n }\n } else if (payment.getCustomer() != null) {//Refund payment against customer\n isRefundPaymentToCustomer = true;\n for (AdvanceDetail advanceDetail : payment.getAdvanceDetails()) {\n if (advanceDetail.getReceiptAdvanceDetails() == null) {//Only such refunds can be due in which at the time of creation no document (no advance receipt) is selected \n paymentAmt += advanceDetail.getAmount();\n }\n }\n //In this case paymentAmt can be zero (if all refund have advance receipt documnet selected) so we need to retun amount due zero here\n if (paymentAmt == 0) {\n return 0;\n }\n }\n HashMap<String, Object> reqParams1 = new HashMap();\n reqParams1.put(\"paymentid\", payment.getID());\n reqParams1.put(\"companyid\", companyid);\n reqParams1.put(Constants.df, df);\n if (requestParams.containsKey(\"asofdate\") && requestParams.get(\"asofdate\") != null) {\n reqParams1.put(\"asofdate\", requestParams.get(\"asofdate\"));\n }\n if (isOpeningPayment || isAdvancePaymentToVendor) {\n KwlReturnObject result = accVendorPaymentobj.getLinkedDetailsPayment(reqParams1);\n List<LinkDetailPayment> linkedDetaisPayments = result.getEntityList();\n for (LinkDetailPayment ldp : linkedDetaisPayments) {\n linkedPaymentAmt += ldp.getAmount();\n }\n result = accVendorPaymentobj.getLinkDetailPaymentToCreditNote(reqParams1);\n List<LinkDetailPaymentToCreditNote> linkedDetaisPaymentsToCN = result.getEntityList();\n for (LinkDetailPaymentToCreditNote ldp : linkedDetaisPaymentsToCN) {\n linkedPaymentAmt += ldp.getAmount();\n }\n result = accVendorPaymentobj.getAdvanceReceiptDetailsByPayment(reqParams1);\n List<Object[]> list2 = result.getEntityList();\n for (Object obj[] : list2) {\n double revExchangeRate = 1.0;\n double amount = obj[1] != null ? Double.parseDouble(obj[1].toString()) : 0.0;\n double exchangeRate = obj[2] != null ? Double.parseDouble(obj[2].toString()) : 0.0;\n if (exchangeRate != 0.0) {\n revExchangeRate = 1 / exchangeRate;\n }\n linkedPaymentAmt += authHandler.round(revExchangeRate * amount, companyid);\n }\n result = accVendorPaymentobj.getLinkDetailReceiptToAdvancePayment(reqParams1);\n List<LinkDetailReceiptToAdvancePayment> linkDetailReceiptToAdvancePayment = result.getEntityList();\n for (LinkDetailReceiptToAdvancePayment ldp : linkDetailReceiptToAdvancePayment) {\n linkedPaymentAmt += ldp.getAmountInPaymentCurrency();\n }\n paymentDueAmt = paymentAmt - linkedPaymentAmt;\n } else if (isRefundPaymentToCustomer) {\n KwlReturnObject result = accVendorPaymentobj.getLinkDetailAdvanceReceiptToRefundPayment(reqParams1);\n List<LinkDetailPaymentToAdvancePayment> linkDetailPaymentToAdvancePayment = result.getEntityList();\n for (LinkDetailPaymentToAdvancePayment ldp : linkDetailPaymentToAdvancePayment) {\n linkedPaymentAmt += ldp.getAmount();\n }\n paymentDueAmt = paymentAmt - linkedPaymentAmt;\n }\n }\n paymentDueAmt = authHandler.round(paymentDueAmt, companyid);\n return paymentDueAmt;\n }", "@PatchMapping(\"/payment/paymentId/{paymentId}/distance/{distance}/vehicle\")\n\tpublic ResponseEntity<Booking> calculateTotalBookingCost(@PathVariable(\"paymentId\") int paymentId,\n\t\t\t@PathVariable(\"distance\") double distance, Vehicle vehicle) {\n\t\tlogger.info(\"Calculate Total Booking Cost\");\n\t\tif (payService.calculateTotalBookingCost(paymentId, distance, vehicle) == null) {\n\t\t\tthrow new PaymentNotFoundException(\"Payment not found with this paymentId: \" + paymentId);\n\t\t}\n\t\treturn ResponseEntity.ok().body(payService.calculateTotalBookingCost(paymentId, distance, vehicle));\n\t}", "public String transaction_pay(int reservationId) {\r\n\t\ttry {\r\n\t\t\tif (username == null){\r\n\t\t\t\treturn \"Cannot pay, not logged in\\n\";\r\n\t\t\t}\r\n\t\t\tbeginTransaction();\r\n\t\t\t\r\n\t\t\t//query for the user balance \r\n\t\t\tcheckBalanceStatement.clearParameters();\r\n\t\t\tcheckBalanceStatement.setString(1, username);\r\n\t\t\tResultSet b = checkBalanceStatement.executeQuery();\r\n\t\t\tb.next();\r\n\t\t\tint user_balance = b.getInt(\"balance\");\r\n\t\t\t\r\n\t\t\t//get the price of the first flight\r\n\t\t\tunpaidReservationStatement.clearParameters();\r\n\t\t\tunpaidReservationStatement.setString(1, username);\r\n\t\t\tunpaidReservationStatement.setInt(2, reservationId);\r\n\t\t\tResultSet unpaid = unpaidReservationStatement.executeQuery();\r\n\t\t\t\r\n\t\t\tint total_price = 0;\r\n\t\t\tif (!unpaid.next()){\r\n\t\t\t\trollbackTransaction();\r\n\t\t\t\treturn \"Cannot find unpaid reservation \"+reservationId+\" under user: \"+username+\"\\n\";\r\n\t\t\t} else {\r\n\t\t\t\t//unpaid.next() ?? maybe not sure\r\n\r\n\t\t\t\tint fid1 = unpaid.getInt(\"fid1\");\r\n\t\t\t\tint fid2 = unpaid.getInt(\"fid2\");\r\n\t\t\t\tcheckPriceStatement.clearParameters();\r\n\t\t\t\tcheckPriceStatement.setInt(1, fid1);\r\n\t\t\t\tResultSet p1 = checkPriceStatement.executeQuery();\r\n\t\t\t\tp1.next();\r\n\t\t\t\ttotal_price += p1.getInt(\"price\");\r\n\t\t\t\tp1.close();\r\n\t\t\t\t\r\n\t\t\t\t//unpaidReservationStatement2.clearParameters();\r\n\t\t\t\t//unpaidReservationStatement2.setString(1, username);\r\n\t\t\t\t//unpaidReservationStatement2.setInt(2, reservationId);\r\n\t\t\t\t//ResultSet second = unpaidReservationStatement2.executeQuery();\r\n\t\t\t\tif (fid2 != 0){\r\n\t\t\t\t\t//second fid is not null\r\n\t\t\t\t\tcheckPriceStatement.clearParameters();\r\n\t\t\t\t\tcheckPriceStatement.setInt(1, fid2);\r\n\t\t\t\t\tResultSet p2 = checkPriceStatement.executeQuery();\r\n\t\t\t\t\tp2.next();\r\n\t\t\t\t\ttotal_price += p2.getInt(\"price\");\r\n\t\t\t\t\tp2.close();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif (total_price > user_balance){\r\n\t\t\t\t\trollbackTransaction();\r\n\t\t\t\t\treturn \"User has only \"+user_balance+\" in account but itinerary costs \"+total_price+\"\\n\";\r\n\t\t\t\t} else {\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tupdatePaidStatement.clearParameters();\r\n\t\t\t\t\tupdatePaidStatement.setString(1, \"true\");\r\n\t\t\t\t\tupdatePaidStatement.setInt(2, reservationId);\r\n\t\t\t\t\tupdatePaidStatement.executeUpdate();\r\n\t\t\t\t\t\r\n\t\t\t\t\tupdateBalanceStatement.clearParameters();\r\n\t\t\t\t\tupdateBalanceStatement.setInt(1, (user_balance-total_price));\r\n\t\t\t\t\tupdateBalanceStatement.setString(2, username);\r\n\t\t\t\t\tupdateBalanceStatement.executeUpdate();\r\n\t\t\t\t\t\r\n\t\t\t\t\tcommitTransaction();\r\n\t\t\t\t\treturn \"Paid reservation: \"+reservationId+\" remaining balance: \"+(user_balance-total_price)+\"\\n\";\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (SQLException e){\r\n\t\t\te.printStackTrace();\r\n\t\t\t//rollbackTransaction();\r\n\t\t\treturn \"Failed to pay for reservation \" + reservationId + \"\\n\";\r\n\t\t}\r\n }", "List<ServicePaymentsStatistics> getServicePaymentStats(Date begin, Date end);", "public void calculatePayment() {}", "@Override\r\n\tpublic int pastPaymentsAmount(Payment payment) {\r\n\t\t// TODO Auto-generated method stub\r\n\r\n\r\n\t\ttry {\r\n\t\t\tString sql = \"select sum(\\\"paymentAmount\\\") from \\\"Registration DB\\\".\\\"Payments\\\" where id='\"\r\n\t\t\t\t\t+ payment.getId() + \"'\";\r\n\t\t\treturn jdbcTemplate.queryForObject(sql, Integer.class);\r\n\t\t} catch (Exception e) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\r\n\r\n\t\t\r\n\r\n\t}", "TotalInvoiceAmountType getTotalInvoiceAmount();", "double getPaidAmount();", "@Override\n public void calculatePayment()\n {\n this.paymentAmount = annualSalary / SALARY_PERIOD;\n }", "private BigDecimal getCardServiceFeeAmount(final CartReceiptResponse receiptResponse\n , final PdfPTable paymentSectionTable, final PdfPCell blankSpaceCell, final Locale locale) {\n\n \t/* Get funding source from the CART_RECEIPT_REPRINT response */\n final FundingSourceResponse[] fundingSource = receiptResponse.getFundingSources();\n final SubmittedBill[] submittedBills = receiptResponse.getSubmittedBills();\n /* Initializing serviceFee */\n final BigDecimal serviceFee = addServiceFee(submittedBills);\n for (final FundingSourceResponse aFundingSource : fundingSource) {\n /* Check for the DEBIT/CREDIT card instance */\n if (aFundingSource instanceof VestaFundingSourceResponse) {\n /* ServiceFeePercentRate is null treating it as ZERO other wise get the value */\n BigDecimal cardServiceFeePercent = aFundingSource.getServiceFeePercentRate() == null\n ? new BigDecimal(0) : aFundingSource.getServiceFeePercentRate();\n /* In case seviceFee amount is > ZERO then execute the below block of code to display the line above the total bills */\n if (serviceFee.compareTo(BigDecimal.ZERO) > 0 && cardServiceFeePercent.compareTo(BigDecimal.ZERO) > 0) {\n /* Cell for the card service percent label */\n Font font = getFont(null, FONT_SIZE_12, Font.NORMAL);\n String message = getMessage(locale, \"pdf.receipt.serviceFee\", cardServiceFeePercent);\n PdfPCell serviceFeeLabel = new PdfPCell(new Phrase(message, font));\n /* Cell for the card service fee amount */\n PdfPCell serviceFeeTotal = new PdfPCell(\n new Phrase(getFormattedAmount(serviceFee), font));\n /* Adding above cells to table */\n cellAlignment(serviceFeeLabel, Element.ALIGN_LEFT, WHITE_COLOR, 0);\n cellAddingToTable(paymentSectionTable, serviceFeeLabel, Rectangle.NO_BORDER, 2, 15);\n\n cellAlignment(serviceFeeTotal, Element.ALIGN_RIGHT, WHITE_COLOR, 0);\n cellAddingToTable(paymentSectionTable, serviceFeeTotal, Rectangle.NO_BORDER, 0, 0);\n\t\t\t\t\t/* Adding blank space to table */\n cellAlignment(blankSpaceCell, Element.ALIGN_LEFT, GRAY_COLOR, 0);\n cellAddingToTable(paymentSectionTable, blankSpaceCell, Rectangle.NO_BORDER, 3, 0);\n }\n }\n }\n return serviceFee;\n }", "public double getTotalPayments(){return this.total;}", "public Double calculateMatchingSalary(Long candidateSalaryFrom,\n Long candidateSalaryTo,\n Long compSalaryFrom,\n Long compSalaryTo) {\n\n try {\n if (Objects.equals(compSalaryFrom, candidateSalaryFrom)\n ||(candidateSalaryTo != null && candidateSalaryTo <= compSalaryFrom)){\n return (double) 100;\n } else if (compSalaryTo != null && Objects.equals(candidateSalaryFrom, compSalaryTo)) {\n return (double) 50;\n } else return (double) 0;\n } catch (Exception ex) {\n logger.error(\"Candidate Salary from or Company Salary from cannot be null || \" + ex.getMessage());\n throw new IllegalArgumentException(\"Wrong Arguments\");\n\n\n }\n }", "PriceCalculationModel calculateLeasePrice(Long leaseId);", "@Override\n\tpublic Double getBookingsCount(TaxiType type, Date startDate, Date endDate) throws TaxiTypeDoesnotExistException {\n\t\treturn null;\n\t}", "BigDecimal getAmountAssigned(DestinationEntity destinationEntity);", "@Override\r\n\tpublic double getTotalRevenueBetween(Date fromDate, Date toDate) {\r\n\t\t\r\n\t\t//get invoice details for sales in given period\r\n\t\tList<Invoice> invoiceDetails=invoiceService.getInvoiceDetailsBetweenDates(fromDate, toDate);\r\n\t\t//get product return details, if present, for given period\r\n\t\tList<Return> returnDetails=returnService.getAllReturnDetails();\r\n\t\tdouble totalRevenue=0;\r\n\t\tboolean flag=false;\r\n\t\t\r\n\t\t//for every sale, see if the order was returned\r\n\t\tfor(Invoice invoice:invoiceDetails) {\r\n\t\t\tfor(Return return1:returnDetails) {\r\n\t\t\t\t\r\n\t\t\t\t//if order returned, avoid the revenue for this order\r\n\t\t\t\tif(invoice.getOrder().equals(return1.getOrder()))\r\n\t\t\t\t{\tflag=true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t//else, add to revenue\r\n\t\t\tif(flag==false)\r\n\t\t\t\ttotalRevenue+=invoice.getDiscountedPrice();\r\n\t\t}\r\n\t\t\r\n\t\treturn totalRevenue;\r\n\t}", "private double requestCashPayment(double total) {\n double paid = 0;\n while (paid < total) {\n double entered = ScannerHelper.getDoubleInput(\"Enter amount paid: \", 0);\n paid += entered;\n System.out.printf(\"Accepted $%.2f in cash, Remaining amount to pay: $%.2f\\n\", entered, (total - paid >= 0) ? total - paid : 0);\n }\n return paid;\n }", "private Paragraph createTableForOverallUnpaidBillAmount() throws BadElementException {\r\n\t\tCompanyDto companyDto = null;\r\n\t\t@SuppressWarnings(\"unchecked\")\r\n\t\tSessionObject<String, CompanyDto> sessionObjectForCompany = Session.getInstance().getSessionObject();\r\n\t\tif (null != sessionObjectForCompany) {\r\n\t\t\tcompanyDto = sessionObjectForCompany.getComponent(Constants.COMPANY_DETAILS);\r\n\t\t}\r\n\t\tParagraph overallAmountParagraph = new Paragraph(\"Overall Amount\", subFont);\r\n\t\tParagraph paragraph = new Paragraph();\r\n\t\taddEmptyLine(paragraph, 2);\r\n\t\tPdfPTable table = new PdfPTable(3);\r\n\r\n\t\tPdfPCell c1 = new PdfPCell(new Phrase(\"Overall Bill\", tableHeaderRowFont));\r\n\t\tc1.setBackgroundColor(GrayColor.LIGHT_GRAY);\r\n\t\tc1.setHorizontalAlignment(Element.ALIGN_CENTER);\r\n\t\ttable.addCell(c1);\r\n\r\n\t\tc1 = new PdfPCell(new Phrase(\"Overall Paid\", tableHeaderRowFont));\r\n\t\tc1.setBackgroundColor(GrayColor.LIGHT_GRAY);\r\n\t\tc1.setHorizontalAlignment(Element.ALIGN_CENTER);\r\n\t\ttable.addCell(c1);\r\n\r\n\t\tc1 = new PdfPCell(new Phrase(\"Overall Balance\", tableHeaderRowFont));\r\n\t\tc1.setBackgroundColor(GrayColor.LIGHT_GRAY);\r\n\t\tc1.setHorizontalAlignment(Element.ALIGN_CENTER);\r\n\t\ttable.addCell(c1);\r\n\r\n\t\ttable.setHeaderRows(1);\r\n\r\n\t\tPdfPCell overallBillValue = new PdfPCell(\r\n\t\t\t\tnew Phrase(Util.getValueUpto2Decimal((float) totalBill), tableDataRowFont));\r\n\t\toverallBillValue.setHorizontalAlignment(Element.ALIGN_CENTER);\r\n\t\tPdfPCell overallPaidValue = new PdfPCell(\r\n\t\t\t\tnew Phrase(Util.getValueUpto2Decimal((float) totalPaid), tableDataRowFont));\r\n\t\toverallPaidValue.setHorizontalAlignment(Element.ALIGN_CENTER);\r\n\t\tPdfPCell overallBalanceValue = new PdfPCell(\r\n\t\t\t\tnew Phrase(Util.getValueUpto2Decimal((float) totalBalance), tableDataRowFont));\r\n\t\toverallBalanceValue.setHorizontalAlignment(Element.ALIGN_CENTER);\r\n\r\n\t\ttable.addCell(\r\n\t\t\t\tIConstants.WHITE_SPACE + companyDto.getBillingCurrency() + overallBillValue.getPhrase().getContent());\r\n\t\ttable.addCell(\r\n\t\t\t\tIConstants.WHITE_SPACE + companyDto.getBillingCurrency() + overallPaidValue.getPhrase().getContent());\r\n\t\ttable.addCell(IConstants.WHITE_SPACE + companyDto.getBillingCurrency()\r\n\t\t\t\t+ overallBalanceValue.getPhrase().getContent());\r\n\r\n\t\toverallAmountParagraph.add(table);\r\n\t\treturn overallAmountParagraph;\r\n\r\n\t}", "public static void main(String[] args) {\n Scanner s=new Scanner(System.in);\r\n int amount;\r\n \r\n //Calendar calendar = Calendar.getInstance();\r\n System.out.println(\"Enter the name : \");\r\n String name=s.next();\r\n System.out.println(\"Enter the address : \");\r\n String address=s.next();\r\n System.out.println(\"Number of rooms : \");\r\n int number=s.nextInt();\r\n System.out.println(\"Number of persons : \");\r\n int person=s.nextInt();\r\n System.out.println(\"AC or Non-AC : \");\r\n String option=s.next();\r\n System.out.println(\"Booking Date : \");\r\n String start =s.next();\r\n LocalDate ds = LocalDate.parse(start);\r\n System.out.println(\"Checkout Date : \");\r\n String end = s.next();\r\n LocalDate de = LocalDate.parse(end);\r\n long totaldays = ChronoUnit.DAYS.between(ds,de);\r\n //calendar.add(calendar.DATE, 5);\r\n //Date check=calendar.getTime();\r\n \r\n \r\n System.out.println(\"--------Registration Details--------\");\r\n System.out.println(\"Name:\"+name); \r\n System.out.println(\"Address:\"+address); \r\n System.out.println(\"No of rooms:\"+number);\r\n System.out.println(\"No of guest:\"+person);\r\n System.out.println(\"AC:\"+option);\r\n System.out.println(\"No of days:\"+totaldays);\r\n //System.out.println(\"Amount:\"+amount); \r\n int rent=500,ac=150,person1=250;\r\n int acperson=person1/number;\r\n if(option.contentEquals(\"yes\"))\r\n { \r\n int amount1=(int)((person1*number)*totaldays+acperson*ac);\r\n System.out.println(\"Amount:\"+amount1);\r\n }\r\n else\r\n {\r\n \tint amount2=(int)((int)person*number*totaldays+ac+250);\r\n \tSystem.out.println(\"Amount:\"+amount2);\r\n \t\r\n }\r\n\t}", "public void pay(InternalAccountOwner from, InternalAccountOwner to, BigDecimal amount) {\n PerformPaymentData data;\n try {\n data = transactionService.getPaymentData(from, to, null);\n } catch (EntityNotFoundException e) {\n System.out.println(\"Some of the users were not found. Transaction aborted.\");\n return;\n }\n\n // try to figure out the type of payment (for some reason)\n List<TransferTypeWithCurrencyVO> types = data.getPaymentTypes();\n TransferTypeWithCurrencyVO paymentType = CollectionHelper.first(types);\n if (paymentType == null) {\n System.out.println(\"There is no possible payment type.\");\n }\n\n // set up payment to be made\n PerformPaymentDTO payment = new PerformPaymentDTO();\n payment.setType(paymentType);\n payment.setFrom(from);\n payment.setTo(to);\n payment.setAmount(amount);\n\n try {\n PaymentVO result = paymentService.perform(payment);\n TransactionAuthorizationStatus authStatus = result.getAuthorizationStatus();\n if (authStatus == TransactionAuthorizationStatus.PENDING_AUTHORIZATION) {\n System.out.println(\"The payment is pending authorization.\");\n } else {\n System.out.println(\"The payment has been processed.\");\n }\n } catch (InsufficientBalanceException e) {\n System.out.println(\"Insufficient balance\");\n } catch (MaxPaymentsPerDayExceededException e) {\n System.out.println(\"Maximum daily amount of transfers \"\n + e.getMaxPayments() + \" has been reached\");\n } catch (MaxPaymentsPerWeekExceededException e) {\n System.out.println(\"Maximum weekly amount of transfers \"\n + e.getMaxPayments() + \" has been reached\");\n } catch (MaxPaymentsPerMonthExceededException e) {\n System.out.println(\"Maximum monthly amount of transfers \"\n + e.getMaxPayments() + \" has been reached\");\n } catch (MinTimeBetweenPaymentsException e) {\n System.out.println(\"A minimum period of time should be awaited to make \"\n + \"a payment of this type\");\n } catch (MaxAmountPerDayExceededException e) {\n System.out.println(\"Maximum daily amount of \"\n + e.getMaxAmount() + \" has been reached\");\n } catch (MaxAmountPerWeekExceededException e) {\n System.out.println(\"Maximum weekly amount of \"\n + e.getMaxAmount() + \" has been reached\");\n } catch (MaxAmountPerMonthExceededException e) {\n System.out.println(\"Maximum monthly amount of \"\n + e.getMaxAmount() + \" has been reached\");\n } catch (Exception e) {\n System.out.println(\"The payment couldn't be performed\");\n }\n\n }", "public double calculatePayment (int hours);", "public PayrollDTO managePayroll(final PayrollDTO payrollDTO) throws ApplicationCustomException;", "public BookingInfoEntity getBookingById(int id, Transaction transaction) {\n BookingInfoEntity bookingInfoEntity = null;\n\n if (transaction.getPaymentMode().equalsIgnoreCase(\"UPI\") ||\n transaction.getPaymentMode().equalsIgnoreCase(\"CARD\") ) {\n Optional<BookingInfoEntity> optionalBookingInfoEntity = bookingRepository.findById(id);\n if (!optionalBookingInfoEntity.isPresent()) {\n throw new BookingIDNotFoundException(\"Invalid Booking Id\");\n } else {\n bookingInfoEntity = optionalBookingInfoEntity.get();\n transaction.setBookingId(bookingInfoEntity.getBookingId());\n\n //Call PaymentService Api\n transaction = callPaymentServiceApi(transaction);\n bookingInfoEntity.setTransactionId(transaction.getTransactionId());\n bookingInfoEntity = bookingRepository.save(bookingInfoEntity);\n try {\n \t\t\trunProducer(1, bookingInfoEntity.toString());\n \t\t} catch (InterruptedException e) {\n \t\t\te.printStackTrace(); //Internally throw 500 error\n \t\t}\n }\n } else {\n throw new InvalidPaymentModeException(\"Invalid mode of payment\");\n }\n return bookingInfoEntity;\n }", "public void setTotalPayment(String totalPayment) {\n this.totalPayment = totalPayment;\n }", "public static double totalcommision(int salesman_id) {\r\n\r\n\t\tResultSet rs = null;\r\n\r\n\t\tdouble total_amount = 0;\r\n\r\n\t\tString query = \"SELECT DISTINCT(appliance_name) AS apname ,(SELECT CountNumberAppliance(apname,\"\r\n\t\t\t\t+ salesman_id + \")) FROM appliance\";\r\n\t\tint count;\r\n\t\tString name;\r\n\t\ttry (Connection con = Connect.getConnection()) {\r\n\r\n\t\t\tPreparedStatement stmt = (PreparedStatement) con\r\n\t\t\t\t\t.prepareStatement(query);\r\n\t\t\trs = stmt.executeQuery();\r\n\t\t\tSystem.out.println(query);\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tname = rs.getString(1);\r\n\t\t\t\tif (name.equalsIgnoreCase(\"5 wott\")) {\r\n\t\t\t\t\tcount = rs.getInt(2);\r\n\r\n\t\t\t\t\tif ((count >= 10) && (count <= 20)) {\r\n\t\t\t\t\t\ttotal_amount = count * 5;\r\n\t\t\t\t\t} else if ((count >= 21) && (count <= 35)) {\r\n\t\t\t\t\t\ttotal_amount = count * 10;\r\n\t\t\t\t\t} else if ((count >= 36) && (count <= 50)) {\r\n\t\t\t\t\t\ttotal_amount = count * 20;\r\n\t\t\t\t\t} else if ((count >= 51)) {\r\n\t\t\t\t\t\ttotal_amount = count * 30;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t} else if (name.equalsIgnoreCase(\"10 wott\")) {\r\n\t\t\t\t\tcount = rs.getInt(2);\r\n\r\n\t\t\t\t\tif ((count >= 10) && (count <= 20)) {\r\n\t\t\t\t\t\ttotal_amount = count * 15;\r\n\t\t\t\t\t} else if ((count >= 21) && (count <= 35)) {\r\n\t\t\t\t\t\ttotal_amount = count * 10;\r\n\t\t\t\t\t} else if ((count >= 36) && (count <= 50)) {\r\n\t\t\t\t\t\ttotal_amount = count * 20;\r\n\t\t\t\t\t} else if ((count >= 51)) {\r\n\t\t\t\t\t\ttotal_amount = count * 30;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t} else if (name.equalsIgnoreCase(\"15 wott\")) {\r\n\t\t\t\t\tcount = rs.getInt(2);\r\n\r\n\t\t\t\t\tif ((count >= 10) && (count <= 20)) {\r\n\t\t\t\t\t\ttotal_amount = count * 35;\r\n\t\t\t\t\t} else if ((count >= 21) && (count <= 35)) {\r\n\t\t\t\t\t\ttotal_amount = count * 45;\r\n\t\t\t\t\t} else if ((count <= 36) && (count <= 50)) {\r\n\t\t\t\t\t\ttotal_amount = count * 55;\r\n\t\t\t\t\t} else if ((count <= 51)) {\r\n\t\t\t\t\t\ttotal_amount = count * 65;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t} else if (name.equalsIgnoreCase(\"20 wott\")) {\r\n\t\t\t\t\tcount = rs.getInt(2);\r\n\r\n\t\t\t\t\tif ((count >= 10) && (count <= 20)) {\r\n\t\t\t\t\t\ttotal_amount = count * 45;\r\n\t\t\t\t\t} else if ((count >= 21) && (count <= 35)) {\r\n\t\t\t\t\t\ttotal_amount = count * 55;\r\n\t\t\t\t\t} else if ((count >= 36) && (count <= 50)) {\r\n\t\t\t\t\t\ttotal_amount = count * 65;\r\n\t\t\t\t\t} else if ((count >= 51)) {\r\n\t\t\t\t\t\ttotal_amount = count * 75;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn total_amount;\r\n\t}", "BigDecimal getCommission( String officeCode );", "@ApiModelProperty(value = \"The total price of staying in this room from the given check-in date to the given check-out date\")\n public Amount getTotalAmount() {\n return totalAmount;\n }", "double getPaid();", "private void drawTotalAmountCell(PdfPTable paymentSectionTable, PdfPCell paymentSectionBlankSpaceCell,\n Locale locale,\n BigDecimal totalBillAmount, BigDecimal totalFeeAmount) {\n PdfPCell totalPaidLabelCell =\n new PdfPCell(new Phrase(getMessage(locale, \"pdf.receipt.totalPaid\"), getFont(null, FONT_SIZE_14\n , Font.BOLD)));\n totalPaidLabelCell.setPaddingBottom(6f);\n PdfPCell totalPaidAmountCell = new PdfPCell(new Phrase(getFormattedAmount(totalBillAmount.add(totalFeeAmount)),\n getFont(null, FONT_SIZE_14, Font.BOLD)));\n totalPaidAmountCell.setPaddingBottom(6f);\n cellAlignment(totalPaidLabelCell, Element.ALIGN_LEFT, WHITE_COLOR, 0);\n cellAddingToTable(paymentSectionTable, totalPaidLabelCell, Rectangle.NO_BORDER, 2, 0);\n\n cellAlignment(totalPaidAmountCell, Element.ALIGN_RIGHT, WHITE_COLOR, 0);\n cellAddingToTable(paymentSectionTable, totalPaidAmountCell, Rectangle.NO_BORDER, 0, 0);\n\n cellAlignment(paymentSectionBlankSpaceCell, Element.ALIGN_LEFT, GRAY_COLOR, 0);\n cellAddingToTable(paymentSectionTable, paymentSectionBlankSpaceCell, Rectangle.NO_BORDER, 3, 0);\n }", "private void billing_calculate() {\r\n\r\n // need to search patient before calculating amount due\r\n if (billing_fullNameField.equals(\"\")){\r\n JOptionPane.showMessageDialog(this, \"Must search for a patient first!\\nGo to the Search Tab.\",\r\n \"Need to Search Patient\", JOptionPane.ERROR_MESSAGE);\r\n }\r\n if (MainGUI.pimsSystem.lookUpAppointmentDate(currentPatient).equals(\"\")){\r\n JOptionPane.showMessageDialog(this, \"No Appointment to pay for!\\nGo to Appointment Tab to make one.\",\r\n \"Nothing to pay for\", JOptionPane.ERROR_MESSAGE);\r\n }\r\n\r\n // patient has been searched - get info from patient info panel\r\n else {\r\n\r\n currentPatient = MainGUI.pimsSystem.patient_details\r\n (pInfo_lastNameTextField.getText(), Integer.parseInt(pInfo_ssnTextField.getText()));\r\n // patient has a policy, amount due is copay: $50\r\n // no policy, amount due is cost amount\r\n double toPay = MainGUI.pimsSystem.calculate_charge(currentPatient, billing_codeCB.getSelectedItem().toString());\r\n billing_amtDueField.setText(\"$\" + doubleToDecimalString(toPay));\r\n\r\n\r\n\r\n JOptionPane.showMessageDialog(this, \"Amount Due Calculated.\\nClick \\\"Ok\\\" to go to Payment Form\",\r\n \"Calculate\", JOptionPane.DEFAULT_OPTION);\r\n\r\n paymentDialog.setVisible(true);\r\n }\r\n\r\n }", "@Override\n public double calculatePay ()\n {\n double commissionPay = this.sales * this.rate / 100;\n return commissionPay;\n }", "private Double getPartialTransactionBalance(int orNo, int storeCode) {\n\t\tString query = \"SELECT SUM(-o.CHANGE_AMOUNT) FROM invoice o WHERE o.PARTIAL = 1 AND o.OR_NO= '\"+orNo+\"' AND o.STORE_CODE = '\"+storeCode+\"'\"\r\n\t\t+ \" AND NOT EXISTS (SELECT 1 FROM INVOICE_SET s WHERE s.OR_NO = o.OR_NO) \";\r\n\t\t\r\n\t\tlogger.debug(\"PARTIAL TRANSACTION BALANCE AMOUNT QUERY=\"+query);\r\n\t\tResultSet rs = Main.getDBManager().executeQuery(query);\r\n//\t\tResultSet rs = Main.getDBManager().executeQuery(\"SELECT sum(p.AMT) from payment_item p WHERE MONTH (p.TRANS_DT) = '\"+month+\"' && YEAR(p.TRANS_DT) = '\"+year+\"' && DAY(p.TRANS_DT) = '\"+day+\"' AND p.STORE_CODE = '\"+storeCode+\"'\");\r\n\t\tDouble partialBalance = 0.0d;\r\n\t\ttry {\r\n\t\t\twhile(rs.next()){\r\n//\t\t\t\tdouble amount = rs.getDouble(1);\r\n//\t\t\t\tdailySale = amount/getVatRate();\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tpartialBalance = rs.getDouble(1);\r\n\t\t\t\tlogger.debug(\"Partial Balance Amount: \"+partialBalance);\r\n\t\t\t\treturn partialBalance;\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tLoggerUtility.getInstance().logStackTrace(e);\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "private void pdfPaymentMethod(CartReceiptResponse receiptResponse, Document document, Locale locale)\n throws DocumentException, IOException {\n\n LOGGER.debug(\"Entered in 'pdfPaymentMethod' method\");\n Double totalPaymentApplied = 0.0;\n PdfPTable paymentMethodTable = new PdfPTable(2);\n paymentMethodTable.setWidths(new int[]{200, 50});\n PdfPCell paymentMethodBlankSpaceCell = new PdfPCell(new Phrase(\" \", getFont(WHITE_COLOR, 8, Font.BOLD)));\n String message = getMessage(locale, \"pdf.receipt.paymentMethod\");\n Font font = getFont(BLACK_COLOR, FONT_SIZE_18, Font.BOLD);\n PdfPCell paymentMethodHeaderCell = new PdfPCell(new Phrase(message, font));\n cellAlignment(paymentMethodHeaderCell, Element.ALIGN_LEFT, GRAY_COLOR, 0);\n cellAddingToTable(paymentMethodTable, paymentMethodHeaderCell, Rectangle.NO_BORDER, 0, 0);\n\n cellAlignment(paymentMethodBlankSpaceCell, 0, GRAY_COLOR, 0);\n cellAddingToTable(paymentMethodTable, paymentMethodBlankSpaceCell, Rectangle.NO_BORDER, 2, 0);\n cellAlignment(paymentMethodBlankSpaceCell, 0, GRAY_COLOR, 0);\n cellAddingToTable(paymentMethodTable, paymentMethodBlankSpaceCell, Rectangle.NO_BORDER, 2, 0);\n\n FundingSourceResponse[] fundingSources = receiptResponse.getFundingSources();\n\n if (fundingSources.length != 0) {\n for (final FundingSourceResponse aFundingSource1 : fundingSources) {\n if (aFundingSource1 != null) {\n if (aFundingSource1.getType().equalsIgnoreCase(PdfConstants.CREDIT)) {\n LOGGER.debug(\"Entered in to credits section : \" + aFundingSource1.getType());\n creditFundingSection(locale, paymentMethodTable,\n new BigDecimal(getUsedAmountFromFunding(aFundingSource1)));\n cellAlignment(paymentMethodBlankSpaceCell, Element.ALIGN_RIGHT, GRAY_COLOR, 0);\n cellAddingToTable(paymentMethodTable, paymentMethodBlankSpaceCell, Rectangle.NO_BORDER, 2, 0);\n totalPaymentApplied = totalPaymentApplied + getUsedAmountFromFunding(aFundingSource1);\n }\n }\n }\n for (final FundingSourceResponse aFundingSource : fundingSources) {\n if (aFundingSource instanceof VestaFundingSourceResponse) {\n VestaFundingSourceResponse vestaFundingSourceResponse =\n (VestaFundingSourceResponse) aFundingSource;\n String tenderType = vestaFundingSourceResponse.getTenderType();\n CardBrand cardBrand = vestaFundingSourceResponse.getCardBrand();\n if (tenderType.equalsIgnoreCase(PdfConstants.DEBIT) ||\n tenderType.equalsIgnoreCase(PdfConstants.CREDIT)) {\n PdfPCell cardNumberCell = new PdfPCell(new Phrase(getMessage(locale, \"pdf.receipt.cardPinMsg\",\n getTenderTypeForCard(tenderType,\n locale),\n getCardBrandText(cardBrand,\n locale),\n vestaFundingSourceResponse\n .getCardLast4()),\n getFont(null, FONT_SIZE_12, Font.NORMAL)));\n PdfPCell amountSectionCell = new PdfPCell(new Phrase(getFormattedAmount(new BigDecimal(\n getUsedAmountFromFunding(vestaFundingSourceResponse))),\n getFont(null, FONT_SIZE_12, Font.NORMAL)));\n cellAlignment(cardNumberCell, Element.ALIGN_LEFT, GRAY_COLOR, 0);\n cellAddingToTable(paymentMethodTable, cardNumberCell, Rectangle.NO_BORDER, 0, 15);\n\n cellAlignment(amountSectionCell, Element.ALIGN_RIGHT, GRAY_COLOR, 0);\n cellAddingToTable(paymentMethodTable, amountSectionCell, Rectangle.NO_BORDER, 0, 0);\n chargedOnSection(locale, paymentMethodTable, paymentMethodBlankSpaceCell, receiptResponse);\n totalPaymentApplied =\n totalPaymentApplied + getUsedAmountFromFunding(vestaFundingSourceResponse);\n continue;\n }\n }\n\n if (aFundingSource != null) {\n if (getCashStatus(aFundingSource.getType())) {\n cashFundingSection(paymentMethodTable, locale, aFundingSource);\n cellAlignment(paymentMethodBlankSpaceCell, Element.ALIGN_RIGHT, GRAY_COLOR, 0);\n cellAddingToTable(paymentMethodTable, paymentMethodBlankSpaceCell, Rectangle.NO_BORDER, 2, 0);\n totalPaymentApplied = totalPaymentApplied + getUsedAmountFromFunding(aFundingSource);\n }\n }\n }\n } else {\n creditFundingSection(locale, paymentMethodTable, new BigDecimal(0));\n cellAlignment(paymentMethodBlankSpaceCell, Element.ALIGN_RIGHT, GRAY_COLOR, 0);\n cellAddingToTable(paymentMethodTable, paymentMethodBlankSpaceCell, Rectangle.NO_BORDER, 2, 0);\n totalPaymentApplied = totalPaymentApplied + 0;\n }\n\n\n calculateTotalPayment(locale, paymentMethodTable, totalPaymentApplied);\n cellAlignment(paymentMethodBlankSpaceCell, Element.ALIGN_RIGHT, GRAY_COLOR, 0);\n cellAddingToTable(paymentMethodTable, paymentMethodBlankSpaceCell, Rectangle.NO_BORDER, 2, 0);\n generatedNewCredits(locale, paymentMethodTable, receiptResponse.getCreditsGenerated());\n document.add(paymentMethodTable);\n }", "public int getTotalAmount();", "public Long calculateAging(LocalDateTime endDateParam, LocalDateTime startDateParam, KPITicketResponTime sourceData,\n\t\t\tList<KPIServiceHourRest> ticketRests, List<ITSMTicketHolidayDate> ticketHolidays) {\n\t\tboolean validStart = false;\n\t\tLong totalAging=new Long(0L);\n\t\tdo {\n\t\t\tswitch (startDateParam.getDayOfWeek()) {\n\t\t\t\tcase DateTimeConstants.MONDAY: {\n\t\t\t\t\t\t\t\t\t\t\t\tif (sourceData.getMondayFlag().intValue() == 1) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t// // if working\n\t\t\t\t\t\t\t\t\t\t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(startDateParam,endDateParam,includeHoliday,ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t Date startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// will get next day with time 00:00:00\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp).plusDays(1);\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\t/**\n\t\t\t\t\t\t\t\t\t\t\t\t\t * @ Compare Only Time in date\n\t\t\t\t\t\t\t\t\t\t\t\t\t * @ start < start work\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\t if(CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(sourceData.getMondayFromTime()))<0){\n\t\t\t\t\t \t\t // set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t /** menghilangkan menit dan detik, jika tidak \n\t\t\t\t\t \t\t maka hanya tgl saja yang berubah, jam tidak \n\t\t\t\t\t \t\t contoh 01/01/2017 17:20:00 plus(1) --> 01/02/2017 17:20:00 */\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponStart=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusHours(sourceData.getMondayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusMinutes(sourceData.getMondayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusSeconds(sourceData.getMondayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localReponStart;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalidStart=true;\n\t\t\t\t\t\t }else if(CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(sourceData.getMondayToTime()))>0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// add to next day \n\t\t\t\t\t \t\t // if start >= work end\n\t\t\t\t\t\t \t // ubah jam ke 00:00:00 \n\t\t\t\t\t\t \t // +1 -> netx day with 00:00:00\n\t\t\t\t\t\t \t // move 00:00:00 ke jam mulai bekerja\n\t\t\t\t\t\t \t Date startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//+1 day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusDays(1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 start work (PINDAHKAN JAM 00:00:00 ke jam mulai bekerja)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusHours(sourceData.getMondayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusMinutes(sourceData.getMondayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusSeconds(sourceData.getMondayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\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\t/**\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * if start >=work start dan start <= work end \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * check rest break\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\tvalidStart=true;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tboolean isStartOnRest=false;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfor(KPIServiceHourRest ticketRest:ticketRests){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(DateTimeConstants.MONDAY==ticketRest.getDay()){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restStart=LocalDateTime.fromDateFields(ticketRest.getFromTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restEnd=LocalDateTime.fromDateFields(ticketRest.getToTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(restStart.toDateTime()))>=0 && CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(restEnd.toDateTime()))<0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// if response start >= rest start AND response start < rest end\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// means response start is within rest time\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move response start to rest end \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\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\t\t\t\t// jam :00:00:00 move ke jam setelah istirahat\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusHours(restEnd.toDate().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusMinutes(restEnd.toDate().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusSeconds(restEnd.toDate().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//startDateParam=endRest\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tisStartOnRest=true;\n\t\t\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\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(isStartOnRest)break;\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\t\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\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\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t/**jika tidak ada ini maka akan loop terus menerus di hari berikutnya jika hari ini libur\n\t\t\t\t\t\t\t\t\t\t\t\t\t * jika tidak masuk add ke hari berikutnya\n\t\t\t\t\t\t\t\t\t\t\t\t\t * SUNDAY\n\t\t\t\t\t\t\t\t\t\t\t\t\t * move to next day ke hari senin */\n\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t//+1 day\n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusDays(1);\n\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\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\tbreak;\n\t\t\t\t} // end cast monday\n\t\t\t\tcase DateTimeConstants.TUESDAY: {\n\t\t\t\t\t // untuk hari selasa \n\t\t\t\t\t if(sourceData.getTuesdayFlag().intValue()==1){\n\t\t\t\t\t \t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(startDateParam,endDateParam,includeHoliday,ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t Date startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// will get next day with time 00:00:00\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp).plusDays(1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t \t //start < start work\n\t\t\t\t\t \t// @@ jika dari LocalDateTime di masukan ke new DateTime, maka variabel LocalDateTime harus ke toDateTime\n\t\t\t\t\t\t\t\t\t\t\t\t\t// @@ jika dari Date di masukan ke new DateTime, maka variabel tidak dirubah jadi apa2\n\t\t\t\t\t \t \n\t\t\t\t\t \t if(CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(sourceData.getTuesdayFromTime()))<0){\n\t\t\t\t \t\t // set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponStart=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusHours(sourceData.getTuesdayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusMinutes(sourceData.getTuesdayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusSeconds(sourceData.getTuesdayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localReponStart;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalidStart=true;\n\t\t\t\t\t \t }else if(CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(sourceData.getTuesdayToTime()))>0){\n\t\t\t\t\t \t\t//if start>work end, pindahkan ke besoknya\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t//move to next day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t//+1 day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusDays(1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusHours(sourceData.getTuesdayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusMinutes(sourceData.getTuesdayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusSeconds(sourceData.getTuesdayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\t\t\t\t \t }else{\n\t\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\t\t * if start >work start dan start < work end \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * check rest break\n\t\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\t\tvalidStart=true;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tboolean isStartOnRest=false;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfor(KPIServiceHourRest ticketRest:ticketRests){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(DateTimeConstants.TUESDAY==ticketRest.getDay()){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restStart=LocalDateTime.fromDateFields(ticketRest.getFromTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restEnd=LocalDateTime.fromDateFields(ticketRest.getToTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(restStart.toDateTime()))>=0 && CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(restEnd.toDateTime()))<0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// if response start >= rest start AND response start < rest end\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// means response start is within rest time\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move response start to rest end \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\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\t\t\t\t\t// jam :00:00:00 move ke jam setelah istirahat\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusHours(restEnd.toDate().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusMinutes(restEnd.toDate().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusSeconds(restEnd.toDate().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//startDateParam=endRest\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tisStartOnRest=true;\n\t\t\t\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\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(isStartOnRest)break;\n\t\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\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t \t \n\t\t\t\t\t }else{// end flag tuesday\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/**jika tidak ada ini maka akan loop terus menerus di hari berikutnya jika hari ini libur\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * jika tidak masuk add ke hari berikutnya\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * SUNDAY\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * move to next day ke hari senin */\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t//+1 day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusDays(1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\tbreak;} // end cast TUESDAY\n\t\t\t\tcase DateTimeConstants.WEDNESDAY: {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(sourceData.getWednesdayFlag().intValue()==1){\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 Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(startDateParam,endDateParam,includeHoliday,ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t Date startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// will get next day with time 00:00:00\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp).plusDays(1);\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\t\t \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// start< start work\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(startDateParam.toDate().getTime()), new DateTime(sourceData.getWednesdayFromTime().getTime()))<0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponStart=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusHours(sourceData.getWednesdayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusMinutes(sourceData.getWednesdayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusSeconds(sourceData.getWednesdayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localReponStart;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalidStart=true;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}else if(CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(sourceData.getWednesdayToTime().getTime()))>0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//if start>work end, pindahkan ke besoknya\n\t\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\t\t//move to next day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//+1 day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusDays(1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusHours(sourceData.getWednesdayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusMinutes(sourceData.getWednesdayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusSeconds(sourceData.getWednesdayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\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\t\t/**\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * if start >work start dan start < work end \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * check rest break\n\t\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\t\tvalidStart=true;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tboolean isStartOnRest=false;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfor(KPIServiceHourRest ticketRest:ticketRests){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(DateTimeConstants.WEDNESDAY==ticketRest.getDay()){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restStart=LocalDateTime.fromDateFields(ticketRest.getFromTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restEnd=LocalDateTime.fromDateFields(ticketRest.getToTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(restStart.toDateTime()))>=0 && CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(restEnd.toDateTime()))<0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// if response start >= rest start AND response start < rest end\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// means response start is within rest time\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move response start to rest end \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\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\t\t\t\t\t// jam :00:00:00 move ke jam setelah istirahat\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusHours(restEnd.toDate().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusMinutes(restEnd.toDate().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusSeconds(restEnd.toDate().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//startDateParam=endRest\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tisStartOnRest=true;\n\t\t\t\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\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(isStartOnRest)break;\n\t\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\t\t\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}//end flag wednesday\n\t\t\t\t\t\t\t\t\t\t\t\t\telse{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/**jika tidak ada ini maka akan loop terus menerus di hari berikutnya jika hari ini libur\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * jika tidak masuk add ke hari berikutnya\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * SUNDAY\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * move to next day ke hari senin */\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t//+1 day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusDays(1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t// besok \n\t\t\t\tbreak;} // end cast WEDNESDAY\n\t\t\t\tcase DateTimeConstants.THURSDAY: {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(sourceData.getThursdayFlag().intValue()==1){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(startDateParam,endDateParam,includeHoliday,ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t Date startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// will get next day with time 00:00:00\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp).plusDays(1);\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\t// start< work start\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(startDateParam.toDate().getTime()), new DateTime(sourceData.getThursdayFromTime().getTime()))<0){\n\t\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\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponStart=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusHours(sourceData.getThursdayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusMinutes(sourceData.getThursdayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusSeconds(sourceData.getThursdayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localReponStart;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalidStart=true;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}else if(CustomDateUtils.compareTime(new DateTime(startDateParam.toDate().getTime()), new DateTime(sourceData.getThursdayToTime().getTime()))>0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//if start>work end, pindahkan ke besoknya\n\t\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\t\t//move to next day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//+1 day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusDays(1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusHours(sourceData.getThursdayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusMinutes(sourceData.getThursdayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusSeconds(sourceData.getThursdayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\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\t\t/**\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * if start >work start dan start < work end \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * check rest break\n\t\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\t\tvalidStart=true;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tboolean isStartOnRest=false;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfor(KPIServiceHourRest ticketRest:ticketRests){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(DateTimeConstants.THURSDAY==ticketRest.getDay()){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restStart=LocalDateTime.fromDateFields(ticketRest.getFromTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restEnd=LocalDateTime.fromDateFields(ticketRest.getToTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(restStart.toDateTime()))>=0 && CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(restEnd.toDateTime()))<0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// if response start >= rest start AND response start < rest end\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// means response start is within rest time\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move response start to rest end \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\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\t\t\t\t\t// jam :00:00:00 move ke jam setelah istirahat\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusHours(restEnd.toDate().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusMinutes(restEnd.toDate().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusSeconds(restEnd.toDate().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//startDateParam=endRest\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tisStartOnRest=true;\n\t\t\t\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\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(isStartOnRest)break;\n\t\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\t\t\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\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\t/**jika tidak ada ini maka akan loop terus menerus di hari berikutnya jika hari ini libur\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * jika tidak masuk add ke hari berikutnya\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * SUNDAY\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * move to next day ke hari senin */\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t//+1 day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusDays(1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t break;} // end cast THURSDAY\n\t\t\t\tcase DateTimeConstants.FRIDAY: {\n\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(sourceData.getFridayFlag().intValue()==1){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(startDateParam,endDateParam,includeHoliday,ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t Date startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// will get next day with time 00:00:00\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp).plusDays(1);\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\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// start< work start\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(startDateParam.toDate().getTime()), new DateTime(sourceData.getFridayFromTime().getTime()))<0){\n\t\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\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponStart=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusHours(sourceData.getFridayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusMinutes(sourceData.getFridayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusSeconds(sourceData.getFridayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localReponStart;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalidStart=true;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}else if(CustomDateUtils.compareTime(new DateTime(startDateParam.toDate().getTime()), new DateTime(sourceData.getFridayToTime().getTime()))>0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//if start>work end, pindahkan ke besoknya\n\t\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\t\t//move to next day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//+1 day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusDays(1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusHours(sourceData.getFridayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusMinutes(sourceData.getFridayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusSeconds(sourceData.getFridayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\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\t\t/**\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * if start >work start dan start < work end \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * check rest break\n\t\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\t\tvalidStart=true;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tboolean isStartOnRest=false;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfor(KPIServiceHourRest ticketRest:ticketRests){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(DateTimeConstants.FRIDAY==ticketRest.getDay()){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restStart=LocalDateTime.fromDateFields(ticketRest.getFromTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restEnd=LocalDateTime.fromDateFields(ticketRest.getToTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(restStart.toDateTime()))>=0 && CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(restEnd.toDateTime()))<0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// if response start >= rest start AND response start < rest end\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// means response start is within rest time\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move response start to rest end \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\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\t\t\t\t\t// jam :00:00:00 move ke jam setelah istirahat\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusHours(restEnd.toDate().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusMinutes(restEnd.toDate().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusSeconds(restEnd.toDate().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//startDateParam=endRest\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tisStartOnRest=true;\n\t\t\t\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\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(isStartOnRest)break;\n\t\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\t\t\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\t\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}// end if flag\n\t\t\t\t\t\t\t\t\t\t\t\t\telse{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/**jika tidak ada ini maka akan loop terus menerus di hari berikutnya\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * jika tidak masuk add ke hari berikutnya\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * SUNDAY\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * move to next day ke hari senin */\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t//+1 day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusDays(1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\tbreak;} // end cast FRIDAY\n\t\t\t\tcase DateTimeConstants.SATURDAY: {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(sourceData.getSaturdayFlag().intValue()==1){\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(startDateParam,endDateParam,includeHoliday,ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t Date startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// will get next day with time 00:00:00\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp).plusDays(1);\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\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// start< work start\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(startDateParam.toDate().getTime()), new DateTime(sourceData.getSaturdayFromTime().getTime()))<0){\n\t\t\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\t\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponStart=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusHours(sourceData.getSaturdayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusMinutes(sourceData.getSaturdayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusSeconds(sourceData.getSaturdayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localReponStart;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalidStart=true;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}else if(CustomDateUtils.compareTime(new DateTime(startDateParam.toDate().getTime()), new DateTime(sourceData.getSaturdayToTime()))>0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//if start>work end, pindahkan ke besoknya\n\t\t\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\t\t\t//move to next day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//+1 day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusDays(1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusHours(sourceData.getSaturdayToTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusMinutes(sourceData.getSaturdayToTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusSeconds(sourceData.getSaturdayToTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\t\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\t\t\t/**\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * if start >work start dan start < work end \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * check rest break\n\t\t\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\t\t\tvalidStart=true;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tboolean isStartOnRest=false;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfor(KPIServiceHourRest ticketRest:ticketRests){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(DateTimeConstants.SATURDAY==ticketRest.getDay()){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restStart=LocalDateTime.fromDateFields(ticketRest.getFromTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restEnd=LocalDateTime.fromDateFields(ticketRest.getToTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(restStart.toDateTime()))>=0 && CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(restEnd.toDateTime()))<0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// if response start >= rest start AND response start < rest end\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// means response start is within rest time\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move response start to rest end \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\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\t\t\t\t\t\t// jam :00:00:00 move ke jam setelah istirahat\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusHours(restEnd.toDate().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusMinutes(restEnd.toDate().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusSeconds(restEnd.toDate().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//startDateParam=endRest\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tisStartOnRest=true;\n\t\t\t\t\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\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(isStartOnRest)break;\n\t\t\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\t\t\t\n\t\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\t\t\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\t}else{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// jika tidak masuk add ke hari berikutnya\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// SUNDAY\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t//move to next day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t//+1 day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusDays(1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\tbreak;} // end cast SATURDAY\n\t\t\t\tcase DateTimeConstants.SUNDAY: {\n\t\t\t\t\t if(sourceData.getSundayFlag().intValue()==1){\n\n\t\t\t\t\t \t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(startDateParam,endDateParam,includeHoliday,ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t Date startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// will get next day with time 00:00:00\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp).plusDays(1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t \t// start< work start\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(startDateParam.toDate().getTime()), new DateTime(sourceData.getSaturdayFromTime().getTime()))<0){\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\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponStart=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusHours(sourceData.getSaturdayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusMinutes(sourceData.getSaturdayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponStart=localReponStart.plusSeconds(sourceData.getSaturdayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localReponStart;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalidStart=true;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}else if(CustomDateUtils.compareTime(new DateTime(startDateParam.toDate().getTime()), new DateTime(sourceData.getSaturdayToTime()))>0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t//if start>work end, pindahkan ke besoknya\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\t//move to next day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t//+1 day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusDays(1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusHours(sourceData.getSaturdayToTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusMinutes(sourceData.getSaturdayToTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusSeconds(sourceData.getSaturdayToTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\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\t/**\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * if start >work start dan start < work end \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * check rest break\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\tvalidStart=true;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tboolean isStartOnRest=false;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfor(KPIServiceHourRest ticketRest:ticketRests){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(DateTimeConstants.SUNDAY==ticketRest.getDay()){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restStart=LocalDateTime.fromDateFields(ticketRest.getFromTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restEnd=LocalDateTime.fromDateFields(ticketRest.getToTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(restStart.toDateTime()))>=0 && CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(restEnd.toDateTime()))<0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// if response start >= rest start AND response start < rest end\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// means response start is within rest time\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move response start to rest end \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\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\t\t\t\t// jam :00:00:00 move ke jam setelah istirahat\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusHours(restEnd.toDate().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusMinutes(restEnd.toDate().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusSeconds(restEnd.toDate().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//startDateParam=endRest\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tisStartOnRest=true;\n\t\t\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\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(isStartOnRest)break;\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\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t}// end else\n\t\t\t\t\t \t \n\t\t\t\t\t }// end if flag\n\t\t\t\t\t else{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// jika tidak masuk add ke hari berikutnya\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// SUNDAY\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t//move to next day ke hari senin\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate startDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localstartDateParam=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t//+1 day\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalstartDateParam=localstartDateParam.plusDays(1);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstartDateParam=localstartDateParam;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\tbreak;} // end cast SUNDAY\n\t\t\t}// END SWITCH\n\t\t\t\n\t\t\tif(startDateParam.compareTo(endDateParam) > 0){\n\t\t\t\t// current response start > response end\n\t\t\t\t// then out of loop, no need further check (aging should be 0)\n\t\t\t\tbreak;\n\t\t\t}\n\t\t} while (!validStart);\n\t\t/**\n\t\t * \n\t\t * Memindahkan End ke tempat yang benar\n\t\t * Jika end di jam istirahat, maka pindahkan end ke sebelum istirahat\n\t\t * Jika end setelah istirahat, maka \n\t\t * untuk perhitungan hari itu di awal mulai bekerja hitung waktu detiknya sampai istirahat\n\t\t * \n\t\t * */\n\t\t\n\t\tSystem.out.println(\" Start Respon : \"+startDateParam);\n\t\tboolean validEnd=false;\n\t\tdo{\n\t\t\tswitch (endDateParam.getDayOfWeek()) {\n\t\t\tcase DateTimeConstants.MONDAY: { \n\t\t\t\t\t\t\t\t\t\t\t//respon end < start work\n\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(endDateParam.toDate().getTime()), new DateTime(sourceData.getMondayFromTime().getTime()))<0){\n\t\t\t\t\t\t\t\t\t\t\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\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// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusHours(sourceData.getMondayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusMinutes(sourceData.getMondayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusSeconds(sourceData.getMondayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\tendDateParam=localReponEnd;\n\t\t\t\t\t\t\t\t\t\t\t\tvalidEnd=true;\n\t\t\t\t\t\t\t\t\t\t\t}else if(CustomDateUtils.compareTime(new DateTime(endDateParam.toDate().getTime()), new DateTime(sourceData.getMondayToTime().getTime()))>0){\n\t\t\t\t\t\t\t\t\t\t\t\t//respon end > end work\t\n\t\t\t\t\t\t\t\t\t\t\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusHours(sourceData.getMondayToTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusMinutes(sourceData.getMondayToTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusSeconds(sourceData.getMondayToTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\tendDateParam=localReponEnd;\n\t\t\t\t\t\t\t\t\t\t\t\tvalidEnd=true;\n\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// CHECK RESPON END IN REST\n\t\t\t\t\t\t\t\t\t\t\t\t/*** Lojik **\n\t\t\t\t\t\t\t\t\t\t\t\t * respondEnd=11:30\n\t\t\t\t\t\t\t\t\t\t\t\t * restStart=11:30 AM, restEnd=1:00:00 PM\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(endDateParam>restStart && endDateParam<restEnd){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t1. \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t 11:30> ? N, Y\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\tfor(KPIServiceHourRest ticketRest:ticketRests){\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(DateTimeConstants.MONDAY==ticketRest.getDay()){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restStart=LocalDateTime.fromDateFields(ticketRest.getFromTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restEnd=LocalDateTime.fromDateFields(ticketRest.getToTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(endDateParam.toDateTime()), new DateTime(restStart.toDateTime()))>=0 \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t&& CustomDateUtils.compareTime(new DateTime(endDateParam.toDateTime()), new DateTime(restEnd.toDateTime()))<=0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localendDateParam=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\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\t\t// jam :00:00:00 move ke jam mulai istirahat\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusHours(restStart.toDate().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusMinutes(restStart.toDate().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusSeconds(restStart.toDate().getSeconds());\n\t\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\t\tendDateParam=localendDateParam;\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}\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\tvalidEnd=true;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tbreak;}\n\t\t\tcase DateTimeConstants.TUESDAY: {\n\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(endDateParam.toDate().getTime()), new DateTime(sourceData.getTuesdayFromTime().getTime()))<0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\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\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusHours(sourceData.getTuesdayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusMinutes(sourceData.getTuesdayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusSeconds(sourceData.getTuesdayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\tendDateParam=localReponEnd;\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalidEnd=true;\n\t\t\t\t\t\t\t\t\t\t\t\t}else if(CustomDateUtils.compareTime(new DateTime(endDateParam.toDate().getTime()), new DateTime(sourceData.getTuesdayToTime().getTime()))>0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t//respon end > end work\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusHours(sourceData.getTuesdayToTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusMinutes(sourceData.getTuesdayToTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusSeconds(sourceData.getTuesdayToTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\tendDateParam=localReponEnd;\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalidEnd=true;\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\t// CHECK RESPON END IN REST\n\t\t\t\t\t\t\t\t\t\t\t\t\tfor(KPIServiceHourRest ticketRest:ticketRests){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(DateTimeConstants.TUESDAY==ticketRest.getDay()){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restStart=LocalDateTime.fromDateFields(ticketRest.getFromTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restEnd=LocalDateTime.fromDateFields(ticketRest.getToTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(endDateParam.toDateTime()), new DateTime(restStart.toDateTime()))>=0 \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t&& CustomDateUtils.compareTime(new DateTime(endDateParam.toDateTime()), new DateTime(restEnd.toDateTime()))<=0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localendDateParam=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\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\t\t\t// jam :00:00:00 move ke jam mulai istirahat\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusHours(restStart.toDate().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusMinutes(restStart.toDate().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusSeconds(restStart.toDate().getSeconds());\n\t\t\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\t\t\tendDateParam=localendDateParam;\n\t\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\t}\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\tvalidEnd=true;\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\tbreak;}\n\t\t\tcase DateTimeConstants.WEDNESDAY: {\n\t\t\t\t // END RESPON < END WORK\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(CustomDateUtils.compareTime(new DateTime(endDateParam.toDate().getTime()), new DateTime(sourceData.getWednesdayFromTime().getTime()))<0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\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\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusHours(sourceData.getWednesdayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusMinutes(sourceData.getWednesdayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusSeconds(sourceData.getWednesdayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\tendDateParam=localReponEnd;\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalidEnd=true;\n\t\t\t\t\t\t\t\t\t\t\t\t}else if(CustomDateUtils.compareTime(new DateTime(endDateParam.toDate().getTime()), new DateTime(sourceData.getWednesdayToTime().getTime()))>0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t//respon end > end work\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusHours(sourceData.getWednesdayToTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusMinutes(sourceData.getWednesdayToTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusSeconds(sourceData.getWednesdayToTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\tendDateParam=localReponEnd;\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalidEnd=true;\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\t// CHECK RESPON END IN REST\n\t\t\t\t\t\t\t\t\t\t\t\t\tfor(KPIServiceHourRest ticketRest:ticketRests){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(DateTimeConstants.WEDNESDAY==ticketRest.getDay()){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restStart=LocalDateTime.fromDateFields(ticketRest.getFromTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restEnd=LocalDateTime.fromDateFields(ticketRest.getToTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(endDateParam.toDateTime()), new DateTime(restStart.toDateTime()))>=0 \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t&& CustomDateUtils.compareTime(new DateTime(endDateParam.toDateTime()), new DateTime(restEnd.toDateTime()))<=0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localendDateParam=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\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\t\t\t// RESPON EDN DI MOVE KE JAM MULAI ISTIRAHAT \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// jam :00:00:00 move ke jam mulai istirahat\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusHours(restStart.toDate().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusMinutes(restStart.toDate().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusSeconds(restStart.toDate().getSeconds());\n\t\t\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\t\t\tendDateParam=localendDateParam;\n\t\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\t}\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\tvalidEnd=true;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\tbreak;}\n\t\t\tcase DateTimeConstants.THURSDAY: {\n\t\t\t\t // END RESPON < END WORK\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(endDateParam.toDate().getTime()), new DateTime(sourceData.getThursdayFromTime().getTime()))<0){\n\t\t\t\t\t\t\t\t\t\t\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\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// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusHours(sourceData.getThursdayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusMinutes(sourceData.getThursdayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusSeconds(sourceData.getThursdayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\tendDateParam=localReponEnd;\n\t\t\t\t\t\t\t\t\t\t\t\tvalidEnd=true;\n\t\t\t\t\t\t\t\t\t\t\t}else if(CustomDateUtils.compareTime(new DateTime(endDateParam.toDate().getTime()), new DateTime(sourceData.getThursdayToTime().getTime()))>0){\n\t\t\t\t\t\t\t\t\t\t\t\t//respon end > end work\t\n\t\t\t\t\t\t\t\t\t\t\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusHours(sourceData.getThursdayToTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusMinutes(sourceData.getThursdayToTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusSeconds(sourceData.getThursdayToTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\tendDateParam=localReponEnd;\n\t\t\t\t\t\t\t\t\t\t\t\tvalidEnd=true;\n\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// CHECK RESPON END IN REST\n\t\t\t\t\t\t\t\t\t\t\t\tfor(KPIServiceHourRest ticketRest:ticketRests){\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(DateTimeConstants.THURSDAY==ticketRest.getDay()){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restStart=LocalDateTime.fromDateFields(ticketRest.getFromTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restEnd=LocalDateTime.fromDateFields(ticketRest.getToTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(endDateParam.toDateTime()), new DateTime(restStart.toDateTime()))>=0 \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t&& CustomDateUtils.compareTime(new DateTime(endDateParam.toDateTime()), new DateTime(restEnd.toDateTime()))<=0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localendDateParam=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\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\t\t// RESPON EDN DI MOVE KE JAM MULAI ISTIRAHAT \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// jam :00:00:00 move ke jam mulai istirahat\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusHours(restStart.toDate().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusMinutes(restStart.toDate().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusSeconds(restStart.toDate().getSeconds());\n\t\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\t\tendDateParam=localendDateParam;\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}\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\tvalidEnd=true;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\tbreak;}\n\t\t\tcase DateTimeConstants.FRIDAY: {\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t// END RESPON < END WORK\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(endDateParam.toDate().getTime()), new DateTime(sourceData.getFridayFromTime().getTime()))<0){\n\t\t\t\t\t\t\t\t\t\t\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\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// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusHours(sourceData.getFridayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusMinutes(sourceData.getFridayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusSeconds(sourceData.getFridayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\tendDateParam=localReponEnd;\n\t\t\t\t\t\t\t\t\t\t\t\tvalidEnd=true;\n\t\t\t\t\t\t\t\t\t\t\t}else if(CustomDateUtils.compareTime(new DateTime(endDateParam.toDate().getTime()), new DateTime(sourceData.getFridayToTime().getTime()))>0){\n\t\t\t\t\t\t\t\t\t\t\t\t//respon end > end work\t\n\t\t\t\t\t\t\t\t\t\t\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusHours(sourceData.getFridayToTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusMinutes(sourceData.getFridayToTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusSeconds(sourceData.getFridayToTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\tendDateParam=localReponEnd;\n\t\t\t\t\t\t\t\t\t\t\t\tvalidEnd=true;\n\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// CHECK RESPON END IN REST\n\t\t\t\t\t\t\t\t\t\t\t\tfor(KPIServiceHourRest ticketRest:ticketRests){\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(DateTimeConstants.FRIDAY==ticketRest.getDay()){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restStart=LocalDateTime.fromDateFields(ticketRest.getFromTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restEnd=LocalDateTime.fromDateFields(ticketRest.getToTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(endDateParam.toDateTime()), new DateTime(restStart.toDateTime()))>=0 \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t&& CustomDateUtils.compareTime(new DateTime(endDateParam.toDateTime()), new DateTime(restEnd.toDateTime()))<=0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localendDateParam=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\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\t\t// RESPON EDN DI MOVE KE JAM MULAI ISTIRAHAT \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// jam :00:00:00 move ke jam mulai istirahat\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusHours(restStart.toDate().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusMinutes(restStart.toDate().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusSeconds(restStart.toDate().getSeconds());\n\t\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\t\tendDateParam=localendDateParam;\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}\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\tvalidEnd=true;\n\t\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\t\t\tbreak;}\n\t\t\tcase DateTimeConstants.SATURDAY: {\n\t\t\t\t\t\t\t\t\t\t\t\t// END RESPON < END WORK\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(CustomDateUtils.compareTime(new DateTime(endDateParam.toDate().getTime()), new DateTime(sourceData.getSaturdayFromTime().getTime()))<0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\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\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusHours(sourceData.getSaturdayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusMinutes(sourceData.getSaturdayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusSeconds(sourceData.getSaturdayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\tendDateParam=localReponEnd;\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalidEnd=true;\n\t\t\t\t\t\t\t\t\t\t\t\t}else if(CustomDateUtils.compareTime(new DateTime(endDateParam.toDate().getTime()), new DateTime(sourceData.getSaturdayToTime().getTime()))>0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t//respon end > end work\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusHours(sourceData.getSaturdayToTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusMinutes(sourceData.getSaturdayToTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusSeconds(sourceData.getSaturdayToTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\tendDateParam=localReponEnd;\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalidEnd=true;\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\t// CHECK RESPON END IN REST\n\t\t\t\t\t\t\t\t\t\t\t\t\tfor(KPIServiceHourRest ticketRest:ticketRests){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(DateTimeConstants.SATURDAY==ticketRest.getDay()){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restStart=LocalDateTime.fromDateFields(ticketRest.getFromTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restEnd=LocalDateTime.fromDateFields(ticketRest.getToTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(endDateParam.toDateTime()), new DateTime(restStart.toDateTime()))>=0 \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t&& CustomDateUtils.compareTime(new DateTime(endDateParam.toDateTime()), new DateTime(restEnd.toDateTime()))<=0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localendDateParam=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\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\t\t\t// RESPON EDN DI MOVE KE JAM MULAI ISTIRAHAT \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// jam :00:00:00 move ke jam mulai istirahat\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusHours(restStart.toDate().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusMinutes(restStart.toDate().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusSeconds(restStart.toDate().getSeconds());\n\t\t\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\t\t\tendDateParam=localendDateParam;\n\t\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\t}\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\tvalidEnd=true;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tbreak;}\n\t\t\tcase DateTimeConstants.SUNDAY: {\n\t\t\t\t\t\t\t\t\t\t\t// END RESPON < END WORK\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(endDateParam.toDate().getTime()), new DateTime(sourceData.getSundayFromTime().getTime()))<0){\n\t\t\t\t\t\t\t\t\t\t\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\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// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusHours(sourceData.getSundayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusMinutes(sourceData.getSundayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusSeconds(sourceData.getSundayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\tendDateParam=localReponEnd;\n\t\t\t\t\t\t\t\t\t\t\t\tvalidEnd=true;\n\t\t\t\t\t\t\t\t\t\t\t}else if(CustomDateUtils.compareTime(new DateTime(endDateParam.toDate().getTime()), new DateTime(sourceData.getSundayToTime().getTime()))>0){\n\t\t\t\t\t\t\t\t\t\t\t\t//respon end > end work\t\n\t\t\t\t\t\t\t\t\t\t\t\t// set hour date startDateParam, to hour :00:00:00 {datestartDateParam 00:00:00}\n\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusHours(sourceData.getSundayToTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusMinutes(sourceData.getSundayToTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\tlocalReponEnd=localReponEnd.plusSeconds(sourceData.getSundayToTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\tendDateParam=localReponEnd;\n\t\t\t\t\t\t\t\t\t\t\t\tvalidEnd=true;\n\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// CHECK RESPON END IN REST\n\t\t\t\t\t\t\t\t\t\t\t\tfor(KPIServiceHourRest ticketRest:ticketRests){\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(DateTimeConstants.SUNDAY==ticketRest.getDay()){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restStart=LocalDateTime.fromDateFields(ticketRest.getFromTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime restEnd=LocalDateTime.fromDateFields(ticketRest.getToTimeRest());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(CustomDateUtils.compareTime(new DateTime(endDateParam.toDateTime()), new DateTime(restStart.toDateTime()))>=0\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t&& CustomDateUtils.compareTime(new DateTime(endDateParam.toDateTime()), new DateTime(restEnd.toDateTime()))<=0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate endDateParamTemp=Utils.removeTime(endDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocalDateTime localendDateParam=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\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\t\t// RESPON EDN DI MOVE KE JAM MULAI ISTIRAHAT \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// jam :00:00:00 move ke jam mulai istirahat\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusHours(restStart.toDate().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusMinutes(restStart.toDate().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocalendDateParam=localendDateParam.plusSeconds(restStart.toDate().getSeconds());\n\t\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\t\tendDateParam=localendDateParam;\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}\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\tvalidEnd=true;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tbreak;}\n\t\t\t}\n\t\t}while(!validEnd);\n\t\t\n\t\t\n\t\tLong totalAgingInSameDays=new Long(0L);\n\t\tLong totalAgingFirstDays=new Long(0L);\n\t\tLong totalAgingBetweenDays=new Long(0L);\n\t\tLong totalAgingLastDays=new Long(0L);\n\t\tif(startDateParam.compareTo(endDateParam)<0){\n long diff =(Utils.removeTime(endDateParam.toDate()).getTime() - Utils.removeTime(startDateParam.toDate()).getTime());\n Long days = TimeUnit.DAYS.convert(diff, TimeUnit.MILLISECONDS);\n // check apakah ada rentang hari antara startDateParam dan endDateParam\n if(days.intValue()==0){\n\t\t // Jika selisih hari adalah 0, berarti start dan respon ada pada hari yang sama, hitung pada hari yang sama \n\t\t // it's mean end - start secara langsung \n\t\t // karena jam istirahat berpengaruh pada aging, memperhatikan, apakah end setelah istirahat, past istirahat atau sebelum istirahat\n \t // sedangkan start sudah otomatis di atur di if paling atas\n \t // jadi tidak memperhatikan start\n\t\t // KASUS 1\n \t\t switch (endDateParam.getDayOfWeek()) {\n \t\t \t\tcase DateTimeConstants.MONDAY: { \n\t\t \t\t \t\t\tif(sourceData.getMondayFlag()==1){\n\t\t\t \t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t \t //cek holiday\n\t\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isEndDateParamIsHolidayDate(endDateParam,includeHoliday,ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t\t totalAgingInSameDays=0L;\n\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 Integer day=DateTimeConstants.MONDAY;\n\t\t\t\t\t\t\t\t\t\t\t\t Integer totalSecondRest=sourceData.getSecondMondayRest();\n\t\t\t\t\t\t\t\t\t\t\t\t totalAgingInSameDays=getTotalAgingFromSameDay(day,endDateParam,startDateParam,totalSecondRest,ticketRests);\n\t\t\t\t\t\t\t\t\t\t\t }\n\t\t \t\t \t\t\t}else{\n\t\t \t\t \t\t\t\ttotalAgingInSameDays=0L;\n\t\t \t\t \t\t\t}\n\t\t break;\n\t\t }\n \t\t \t\t case DateTimeConstants.TUESDAY: {\n \t\t \t\t\t \n\t \t\t \t\t\tif(sourceData.getTuesdayFlag()==1){\n\t \t\t \t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isEndDateParamIsHolidayDate(endDateParam,includeHoliday,ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t totalAgingInSameDays=0L;\n\t\t\t\t\t\t\t\t\t\t }else{\n\t\t \t\t \t\t\t Integer day=DateTimeConstants.TUESDAY;\n\t\t Integer totalSecondRest=sourceData.getSecondTuesdayRest();\n\t\t totalAgingInSameDays=getTotalAgingFromSameDay(day,endDateParam,startDateParam,totalSecondRest,ticketRests);\n\t \t\t \t\t\t }\n\t \t\t \t\t\t}else{\n\t \t\t \t\t\t\ttotalAgingInSameDays=0L;\n\t \t\t \t\t\t}\n \t\t \t\t\t break;}\n \t\t \t\t case DateTimeConstants.WEDNESDAY: {\n\t\t \t\t \t\t\tif(sourceData.getWednesdayFlag()==1){\n\t\t \t\t \t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isEndDateParamIsHolidayDate(endDateParam,includeHoliday,ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t\t totalAgingInSameDays=0L;\n\t\t\t\t\t\t\t\t\t\t\t }else{\n\t\t \t\t \t\t\t\t\t Integer day=DateTimeConstants.WEDNESDAY;\n\t\t \t\t \t\t\t\t\t Integer totalSecondRest=sourceData.getSecondWednesdayRest();\n\t\t \t\t \t\t\t\t\t totalAgingInSameDays=getTotalAgingFromSameDay(day,endDateParam,startDateParam,totalSecondRest,ticketRests);\n\t\t \t\t \t\t\t\t }\n\t\t \t\t \t\t\t}else{\n\t\t \t\t \t\t\t\ttotalAgingInSameDays=0L;\n\t\t \t\t \t\t\t}\n break;}\n \t\t \t\t case DateTimeConstants.THURSDAY: {\n\t\t\t \t\t \t\t\tif(sourceData.getThursdayFlag()==1){\n\t\t\t \t\t \t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isEndDateParamIsHolidayDate(endDateParam,includeHoliday,ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t\t\t totalAgingInSameDays=0L;\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 Integer day=DateTimeConstants.THURSDAY;\n\t\t\t Integer totalSecondRest=sourceData.getSecondThursdayRest();\n\t\t\t totalAgingInSameDays=getTotalAgingFromSameDay(day,endDateParam,startDateParam,totalSecondRest,ticketRests);\n\t\t\t \t\t \t\t\t\t }\n\t\t\t \t\t \t\t\t}else{\n\t\t\t \t\t \t\t\t\ttotalAgingInSameDays=0L;\n\t\t\t \t\t \t\t\t}\n break;}\n \t\t \t\t \n \t\t \t\t case DateTimeConstants.FRIDAY: {\n\t\t \t\t \t\t\tif(sourceData.getFridayFlag()==1){\n\t\t \t\t \t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isEndDateParamIsHolidayDate(endDateParam,includeHoliday,ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t\t totalAgingInSameDays=0L;\n\t\t\t\t\t\t\t\t\t\t\t }else{\n\t\t \t\t \t\t\t\t\t Integer day=DateTimeConstants.FRIDAY;\n\t\t Integer totalSecondRest=sourceData.getSecondFridayRest();\n\t\t totalAgingInSameDays=getTotalAgingFromSameDay(day,endDateParam,startDateParam,totalSecondRest,ticketRests);\n\t\t \t\t \t\t\t\t }\n\t\t \t\t \t\t\t}else{\n\t\t \t\t \t\t\t\ttotalAgingInSameDays=0L;\n\t\t \t\t \t\t\t}\n \t\t \t\t\t break;}\n \t\t \t\t case DateTimeConstants.SATURDAY: {\n \t\t \t\t\t \n\t\t \t\t \t\t\tif(sourceData.getSaturdayFlag()==1){\n\t\t \t\t \t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isEndDateParamIsHolidayDate(endDateParam,includeHoliday,ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t\t totalAgingInSameDays=0L;\n\t\t\t\t\t\t\t\t\t\t\t }else{\n\t\t \t\t \t\t\t\t\t Integer day=DateTimeConstants.SATURDAY;\n\t\t Integer totalSecondRest=sourceData.getSecondSaturdayRest();\n\t\t totalAgingInSameDays=getTotalAgingFromSameDay(day,endDateParam,startDateParam,totalSecondRest,ticketRests);\n\t\t \t\t \t\t\t\t }\n\t\t \t\t \t\t\t}else{\n\t\t \t\t \t\t\t\ttotalAgingInSameDays=0L;\n\t\t \t\t \t\t\t}\n \t\t \t\t\t \n \t\t \t\t\t break;}\n \t\t \t\tcase DateTimeConstants.SUNDAY: {\n \t\t \t\t\t\n \t\t \t\t\tif(sourceData.getSundayFlag()==1){\n \t\t \t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t boolean isHoliday=isEndDateParamIsHolidayDate(endDateParam,includeHoliday,ticketHolidays);\n\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t totalAgingInSameDays=0L;\n\t\t\t\t\t\t\t\t\t }else{\n \t\t \t\t\t\t\t Integer day=DateTimeConstants.SUNDAY;\n Integer totalSecondRest=sourceData.getSecondSundayRest();\n totalAgingInSameDays=getTotalAgingFromSameDay(day,endDateParam,startDateParam,totalSecondRest,ticketRests);\n \t\t \t\t\t\t }\n\t \t\t \t\t\t}else{\n\t \t\t \t\t\t\ttotalAgingInSameDays=0L;\n\t \t\t \t\t\t}\n \t\t \t\t\t\n \t\t \t\t\t break;}\n \t\t\n \t\t }\n \t\t \n\n \t\tLong detik=totalAgingInSameDays;\n \t Long menit=detik/60;\n \t Long jam=menit/60;\n \t \n \t\tSystem.out.println(\" Detik in Same Days \"+detik+\" Menit \"+menit+\" Jam \"+jam);\n }else{\n \t // Jika rentang hari >0 \n\t\t\t \t // Menghitung Hari Pertama \n\t\t\t \t // Memperhatikan Start - Sampai End. Respon End nya di isi end kerja\n\t\t\t \t // JIKA HARI YANG BERBEDA , MAKA PISAHKAN PERHITUNGAN \n\t\t\t \t\n \t \t\t\t // PERHITUNGAN HARI PERTAMA\n\t\t\t \t LocalDateTime endDateParamForLastDay=LocalDateTime.fromDateFields(endDateParam.toDate());\n\t\t\t \t LocalDateTime endDateParamForFirstDay=LocalDateTime.fromDateFields(endDateParam.toDate());\n\t\t\t \t LocalDateTime startDateParamForFirstDay=LocalDateTime.fromDateFields(startDateParam.toDate());\n\t\t\t \t \n\t\t \t\t switch (startDateParam.getDayOfWeek()) {\n\t\t\t \t\t \t\tcase DateTimeConstants.MONDAY: { \n\t\t\t\t Integer day=DateTimeConstants.MONDAY;\n\t\t\t\t Integer totalSecondRest=sourceData.getSecondMondayRest();\n\t\t\t\t // End di isi respon start\n\t\t\t\t // karena tgl akhir bekerja terkadang tidak sesuai dengan \n\t\t\t\t // database , jadi untuk mendapatkan hari yang sama, tgl yang sama \n\t\t\t\t // dan diisi work end pada respon start\n\t\t\t\t //Start berbeda2, work end sama\n\t\t\t\t if(sourceData.getMondayFlag()==1){\n\t\t\t\t\t\t \t\t \t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(startDateParamForFirstDay, endDateParamForFirstDay, includeHoliday, ticketHolidays);\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 if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t\t \ttotalAgingFirstDays=0L;\n\t\t\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t \t\t\t Date endDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t LocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusHours(sourceData.getMondayToTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusMinutes(sourceData.getMondayToTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusSeconds(sourceData.getMondayToTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t endDateParamForFirstDay=localReponEnd;\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t totalAgingFirstDays=calculateTotalAgingForFirstDay(day,endDateParamForFirstDay,startDateParam,totalSecondRest,ticketRests);\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}else{\n\t\t\t\t \t\ttotalAgingFirstDays=0L;\n\t\t\t\t \t}\n\t\t\t\t break;\n\t\t\t\t\t }\n\t\t\t \t\t \t\tcase DateTimeConstants.TUESDAY: { \n\t\t\t\t\t\t\t \t\t if(sourceData.getTuesdayFlag()==1){\n\t\t\t\t\t\t\t \t\t \tInteger includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(startDateParamForFirstDay, endDateParamForFirstDay, includeHoliday, ticketHolidays);\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 if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t\t \t totalAgingFirstDays=0L;\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 Integer day=DateTimeConstants.TUESDAY;\n\t\t\t\t\t\t\t Integer totalSecondRest=sourceData.getSecondTuesdayRest();\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t Date endDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t LocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour end work \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusHours(sourceData.getTuesdayToTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusMinutes(sourceData.getTuesdayToTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusSeconds(sourceData.getTuesdayToTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t endDateParamForFirstDay=localReponEnd;\n\t\t\t\t\t\t\t totalAgingFirstDays=calculateTotalAgingForFirstDay(day,endDateParamForFirstDay,startDateParam,totalSecondRest,ticketRests);\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}else{\n\t\t\t\t\t\t\t \t\t \t\ttotalAgingFirstDays=0L;\n\t\t\t\t\t\t\t \t\t \t}\n\t\t\t\t break;\n\t\t\t\t\t }\n\t\t\t \t\t \t\t\n\t\t\t \t\t \t\tcase DateTimeConstants.WEDNESDAY: { \n\t\t\t \t\t \t\t\t\n\t\t\t\t \t\t \t\t if(sourceData.getWednesdayFlag()==1){\n\t\t\t\t \t\t \t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(startDateParamForFirstDay, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t \t totalAgingFirstDays=0L;\n\t\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t \t\t \t\t\t Integer day=DateTimeConstants.WEDNESDAY;\n\t\t\t\t\t\t Integer totalSecondRest=sourceData.getSecondWednesdayRest();\n\t\t\t\t\t\t \n\t\t\t\t\t\t Date endDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t LocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour end work \n\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusHours(sourceData.getWednesdayToTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusMinutes(sourceData.getWednesdayToTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusSeconds(sourceData.getWednesdayToTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t endDateParamForFirstDay=localReponEnd;\n\t\t\t\t\t\t totalAgingFirstDays=calculateTotalAgingForFirstDay(day,endDateParamForFirstDay,startDateParam,totalSecondRest,ticketRests);\n\t\t\t\t\t\t\t\t\t\t \t}\n\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t \t\t \t\ttotalAgingFirstDays=0L;\n\t\t\t\t\t\t \t\t \t}\n\t\t\t break;\n\t\t\t\t }\n\t\t\t\t \t\t \tcase DateTimeConstants.THURSDAY: { \n\t\t\t\t\t\t\t \t\tif(sourceData.getThursdayFlag()==1){\n\t\t\t\t\t\t\t \t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(startDateParamForFirstDay, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t\t \t totalAgingFirstDays=0L;\n\t\t\t\t\t\t\t\t\t\t\t\t }else{\t \n\t\t\t\t\t\t\t \t\t\t\t\t Integer day=DateTimeConstants.THURSDAY;\n\t\t\t\t\t\t\t Integer totalSecondRest=sourceData.getSecondThursdayRest();\n\t\t\t\t\t\t\t Date endDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t LocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour end work \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusHours(sourceData.getThursdayToTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusMinutes(sourceData.getThursdayToTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusSeconds(sourceData.getThursdayToTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t endDateParamForFirstDay=localReponEnd;\n\t\t\t\t\t\t\t totalAgingFirstDays=calculateTotalAgingForFirstDay(day,endDateParamForFirstDay,startDateParam,totalSecondRest,ticketRests);\n\t\t\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t \t\t\ttotalAgingFirstDays=0L;\n\t\t\t\t\t\t\t \t\t}\n\t\t\t\t \t\t \t\t\n\t\t\t break;\n\t\t\t\t }\n\t\t\t\t \t\t \t\n\t\t\t\t\t \t\t case DateTimeConstants.FRIDAY: { \n\t\t\t\t\t\t\t\t if(sourceData.getFridayFlag()==1){\n\t\t\t\t\t\t\t\t \tInteger includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(startDateParamForFirstDay, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t \t totalAgingFirstDays=0L;\n\t\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t \t\t Integer day=DateTimeConstants.FRIDAY;\n\t\t\t\t\t\t Integer totalSecondRest=sourceData.getSecondFridayRest();\n\t\t\t\t\t\t \n\t\t\t\t\t\t Date endDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t LocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour end work \n\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusHours(sourceData.getFridayToTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusMinutes(sourceData.getFridayToTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusSeconds(sourceData.getFridayToTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t endDateParamForFirstDay=localReponEnd;\n\t\t\t\t\t\t totalAgingFirstDays=calculateTotalAgingForFirstDay(day,endDateParamForFirstDay,startDateParam,totalSecondRest,ticketRests);\n\t\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t \t\ttotalAgingFirstDays=0L;\n\t\t\t\t\t\t\t\t \t}\n\t\t\t\t\t \t\t\t break;\n\t\t\t\t }\n\t\t\t\t\t \t\t \n\t\t\t\t\t \t\t case DateTimeConstants.SATURDAY: { \n\t\t\t\t\t \t\t\t \n\t\t\t\t\t \t\t\t if(sourceData.getSaturdayFlag()==1){\n\t\t\t\t\t \t\t\t \tInteger includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(startDateParamForFirstDay, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t \t totalAgingFirstDays=0L;\n\t\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t \t\t Integer day=DateTimeConstants.SATURDAY;\n\t\t\t\t\t\t Integer totalSecondRest=sourceData.getSecondSaturdayRest();\n\t\t\t\t\t\t Date endDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t\t LocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour end work \n\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusHours(sourceData.getSaturdayToTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusMinutes(sourceData.getSaturdayToTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusSeconds(sourceData.getSaturdayToTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t\t endDateParamForFirstDay=localReponEnd;\n\t\t\t\t\t\t totalAgingFirstDays=calculateTotalAgingForFirstDay(day,endDateParamForFirstDay,startDateParam,totalSecondRest,ticketRests);\n\t\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t \t\ttotalAgingFirstDays=0L;\n\t\t\t\t\t\t\t\t \t}\n\t\t\t break;\n\t\t\t\t }\n\t\t\t\t\t \t\t case DateTimeConstants.SUNDAY: { \n\t\t\t\t\t \t\t\t if(sourceData.getSundayFlag()==1){\n\t\t\t\t\t \t\t\t\tInteger includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(startDateParamForFirstDay, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t \t totalAgingFirstDays=0L;\n\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t \t\t\t\t\t Integer day=DateTimeConstants.SUNDAY;\n\t\t\t\t\t Integer totalSecondRest=sourceData.getSecondSundayRest();\n\t\t\t\t\t Date endDateParamTemp=Utils.removeTime(startDateParam.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t LocalDateTime localReponEnd=LocalDateTime.fromDateFields(endDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour end work \n\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusHours(sourceData.getSundayToTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusMinutes(sourceData.getSundayToTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t localReponEnd=localReponEnd.plusSeconds(sourceData.getSundayToTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t\t\t endDateParamForFirstDay=localReponEnd;\n\t\t\t\t\t totalAgingFirstDays=calculateTotalAgingForFirstDay(day,endDateParamForFirstDay,startDateParam,totalSecondRest,ticketRests);\n\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t\t}else{\n\t\t\t\t \t\t\t\t\ttotalAgingFirstDays=0L;\n\t\t\t\t \t\t\t\t}\n\t\t\t break;\n\t\t\t\t }\n\t\t \t\t }\n\t\t \t\t Long detikAgingFisrtDay=totalAgingFirstDays;\n\t\t \t\t Long menitAgingFisrtDay=detikAgingFisrtDay/60;\n\t\t \t\t Long jamAgingFisrtDay=menitAgingFisrtDay/60;\n\t\t \t\t \n\t\t \t\t System.out.println(\"\\n First Day : Detik \"+detikAgingFisrtDay +\"Menit : \"+menitAgingFisrtDay+\" Jam : \"+jamAgingFisrtDay);\n\t\t \t\t //=========================================\n\t\t \t\t //END HARI PERTAMA\n\t\t \t\t //==========================================\n \t\t \n\t\t\t \t // START CALCULATE BETWEEN DAYS \n\t\t\t \t // cek jika diantara tanggal tengah ada yang libur atau \n\t\t \t\t System.out.println(\"Rentang Hari \"+days);\n\t\t \t\t System.out.println(\"======================\");\n\t\t \t\t System.out.println(\"Start Between Days\");\n\t\t \t\t Long tempBetweenDays=new Long(0L);\n\t\t\t \t for (int i=1; i<days; i++) {\n\t\t\t\t\t\t\t\t LocalDateTime curentStartWork=startDateParam.plusDays(i);\n\t\t\t\t\t\t\t\t if(curentStartWork.getDayOfWeek()==DateTimeConstants.MONDAY){\n\t\t\t\t\t\t\t\t\t if(sourceData.getMondayFlag()==1){\n\t\t\t\t\t\t\t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(curentStartWork, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t\t\t tempBetweenDays=Long.valueOf(sourceData.getMondayWorkSec());\n\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t }else if(curentStartWork.getDayOfWeek()==DateTimeConstants.TUESDAY){\n\t\t\t\t\t\t\t\t\t if(sourceData.getTuesdayFlag()==1){\n\t\t\t\t\t\t\t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(curentStartWork, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t\t\t tempBetweenDays=Long.valueOf(sourceData.getTuesdayWorkSec());\n\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t }else if(curentStartWork.getDayOfWeek()==DateTimeConstants.WEDNESDAY){\n\t\t\t\t\t\t\t\t\t if(sourceData.getWednesdayFlag()==1){\n\t\t\t\t\t\t\t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(curentStartWork, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t\t\t tempBetweenDays=Long.valueOf(sourceData.getWednesdayWorkSec());\n\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t }else if(curentStartWork.getDayOfWeek()==DateTimeConstants.THURSDAY){\n\t\t\t\t\t\t\t\t\t if(sourceData.getThursdayFlag()==1){\n\t\t\t\t\t\t\t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(curentStartWork, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t\t\t tempBetweenDays=Long.valueOf(sourceData.getThursdayWorkSec());\n\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t }else if(curentStartWork.getDayOfWeek()==DateTimeConstants.FRIDAY){\n\t\t\t\t\t\t\t\t\t if(sourceData.getFridayFlag()==1){\n\t\t\t\t\t\t\t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(curentStartWork, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t\t\t tempBetweenDays=Long.valueOf(sourceData.getFridayWorkSec());\n\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t }else if(curentStartWork.getDayOfWeek()==DateTimeConstants.SATURDAY){\n\t\t\t\t\t\t\t\t\t if(sourceData.getSaturdayFlag()==1){\n\t\t\t\t\t\t\t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(curentStartWork, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t\t\t tempBetweenDays=Long.valueOf(sourceData.getSaturdayWorkSec());\n\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t }else if(curentStartWork.getDayOfWeek()==DateTimeConstants.SUNDAY){\n\t\t\t\t\t\t\t\t\t if(sourceData.getSundayFlag()==1){\n\t\t\t\t\t\t\t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(curentStartWork, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t\t\t tempBetweenDays=Long.valueOf(sourceData.getSundayWorkSec());\n\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\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\t \n\t\t\t\t\t\t\t\t System.out.println(\"Hari Ke \"+i+\" \"+tempBetweenDays);\n\t\t\t\t\t\t\t\t totalAgingBetweenDays=totalAgingBetweenDays+tempBetweenDays;\n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t }\n\t\t\t \t \n\t\t\t \tSystem.out.println(\"End Between Days.... \");\n\t\t\t \t // END CALCULATE BETWEEN DAYS \n\t\t\t \t \n\t\t\t \t Long detikBetweenDays=totalAgingBetweenDays;\n\t\t\t \t\t\tLong menitBetweenDay=detikBetweenDays/60;\n\t\t\t \t\t\tLong jamBetweenDay=menitBetweenDay/60;\n\t\t\t \t\t\t\n\t\t\t \t\tSystem.out.println(\"\\n Detik between days :\"+detikBetweenDays+\" Menit : \"+menitBetweenDay+\" Jam : \"+jamBetweenDay);\n \t \n\t\t\t \t \n\t\t\t // CALCULATE LAST DAYS\n \t\t // yang harus di ke defaul adalah hari starnya\n \t\t // karena akan mengambil waktu dari end - start, waktu pada hari itu\n \t\t \n \t\t // RESPON_START=REMOVE_TGL(RESPON_END)+JAM,MENIT,DETIK START WORK (untuk memastikan tanggal sama)\n \t\t // TERKADANG TANGGAL START WORK DI DATABASE TANGGALNYA BERBEDA , MISAL TANGGAL 2016-02-02, padahal ticket 2017\n \t\t switch (endDateParamForLastDay.getDayOfWeek()) {\n \t\t \t\tcase DateTimeConstants.MONDAY: { \n \n \t\t \t\t\t\t\tif(sourceData.getMondayFlag()==1){\n \t\t \t\t\t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(endDateParamForLastDay, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t\t Integer day=DateTimeConstants.MONDAY;\n\t\t\t\t\t\t\t\t\t\t Integer totalSecondRest=sourceData.getSecondMondayRest();\n\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t Date startDateParamTemp=Utils.removeTime(endDateParamForLastDay.toDate());\n\t\t\t\t\t\t\t\t\t\t LocalDateTime localReponStart=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t // move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusHours(sourceData.getMondayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusMinutes(sourceData.getMondayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusSeconds(sourceData.getMondayFromTime().getSeconds());\n\t\t\t\t\t\t\t\t\t\t startDateParam=localReponStart;\n\t\t\t\t\t\t\t\t\t\t totalAgingLastDays=getTotalAgingFromLastDay(day,endDateParamForLastDay,startDateParam,totalSecondRest,ticketRests);\n\t\t\t\t\t\t\t\t\t }\n \t\t \t\t\t\t\t}else{\n \t\t \t\t\t\t\t\ttotalAgingLastDays=0L;\n \t\t \t\t\t\t\t}\n\t break;\n\t }\n \t\t \t\tcase DateTimeConstants.TUESDAY: { \n \t\t \t\t\tif(sourceData.getTuesdayFlag()==1){\n \t\t \t\t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(endDateParamForLastDay, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t }else{\n\t \t\t \t\t\t Integer day=DateTimeConstants.TUESDAY;\n\t Integer totalSecondRest=sourceData.getSecondTuesdayRest();\n\t\n\t Date startDateParamTemp=Utils.removeTime(endDateParamForLastDay.toDate());\n\t\t\t\t\t\t\t\t LocalDateTime localReponStart=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusHours(sourceData.getTuesdayFromTime().getHours());\n\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusMinutes(sourceData.getTuesdayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusSeconds(sourceData.getTuesdayFromTime().getSeconds());\n\t startDateParam=localReponStart;\n\t \n\t totalAgingLastDays=getTotalAgingFromLastDay(day,endDateParamForLastDay,startDateParam,totalSecondRest,ticketRests);\n\t\t\t\t\t\t\t }\n\t\t\t\t\t }else{\n\t \t\t\t\t\t\ttotalAgingLastDays=0L;\n\t \t\t\t\t\t}\n\t break;\n\t }\n \t\t \t\t\n \t\t \t\tcase DateTimeConstants.WEDNESDAY: { \n \t\t \t\t\tif(sourceData.getWednesdayFlag()==1){\n \t\t \t\t\t \n \t\t \t\t\t\tboolean isIncludeHoliday=false;\n \t\t \t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(endDateParamForLastDay, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t }else{\n \t\t \t\t\t\t Integer day=DateTimeConstants.WEDNESDAY;\n\t Integer totalSecondRest=sourceData.getSecondWednesdayRest();\n\t\n\t Date startDateParamTemp=Utils.removeTime(endDateParamForLastDay.toDate());\n\t\t\t\t\t\t\t\t LocalDateTime localReponStart=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusHours(sourceData.getWednesdayFromTime().getHours());\n\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusMinutes(sourceData.getWednesdayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusSeconds(sourceData.getWednesdayFromTime().getSeconds());\n\t startDateParam=localReponStart;\n\t \n totalAgingLastDays=getTotalAgingFromLastDay(day,endDateParamForLastDay,startDateParam,totalSecondRest,ticketRests);\n\t\t\t\t\t\t\t }\n \t\t \t\t\t }else{\n\t\t \t\t\t\t\t\ttotalAgingLastDays=0L;\n\t\t \t\t\t\t\t}\n break;\n }\n \t\t \tcase DateTimeConstants.THURSDAY: {\n\t\t\t\t\t \t\t if(sourceData.getThursdayFlag()==1){\n\t\t\t\t\t \t\t\tboolean isIncludeHoliday=false;\n\t\t\t \t\t \t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(endDateParamForLastDay, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t }else{\t\t\n\t\t\t\t\t\t \t\t \t Integer day=DateTimeConstants.THURSDAY;\n\t\t\t\t\t Integer totalSecondRest=sourceData.getSecondThursdayRest();\n\t\t\t\t\t\n\t\t\t\t\t Date startDateParamTemp=Utils.removeTime(endDateParamForLastDay.toDate());\n\t\t\t\t\t\t\t\t\t\t\t LocalDateTime localReponStart=LocalDateTime.fromDateFields(startDateParamTemp);\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// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusHours(sourceData.getThursdayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusMinutes(sourceData.getThursdayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusSeconds(sourceData.getThursdayFromTime().getSeconds());\n\t\t\t\t\t startDateParam=localReponStart;\n\t\t\t\t \n\t\t\t\t\t totalAgingLastDays=getTotalAgingFromLastDay(day,endDateParamForLastDay,startDateParam,totalSecondRest,ticketRests);\n\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t}else{\n\t\t \t\t \t\t\t\t\t\ttotalAgingLastDays=0L;\n\t\t \t\t \t\t\t\t\t}\n\t\t break;\n\t\t }\n \t\t \t\n\t\t\t\t \t\t case DateTimeConstants.FRIDAY: { \n\t\t\t\t \t\t\tif(sourceData.getFridayFlag()==1){\n\t\t\t\t \t\t\t\tboolean isIncludeHoliday=false;\n\t\t\t \t\t \t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(endDateParamForLastDay, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t }else{\t\n\t\t\t\t\t\t \t\t\t Integer day=DateTimeConstants.FRIDAY;\n\t\t\t\t\t Integer totalSecondRest=sourceData.getSecondFridayRest();\n\t\t\t\t\t\n\t\t\t\t\t Date startDateParamTemp=Utils.removeTime(endDateParamForLastDay.toDate());\n\t\t\t\t\t\t\t\t\t\t\t LocalDateTime localReponStart=LocalDateTime.fromDateFields(startDateParamTemp);\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// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusHours(sourceData.getFridayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusMinutes(sourceData.getFridayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusSeconds(sourceData.getFridayFromTime().getSeconds());\n\t\t\t\t\t startDateParam=localReponStart;\n\t\t\t\t\t \n\t\t\t\t\t totalAgingLastDays=getTotalAgingFromLastDay(day,endDateParamForLastDay,startDateParam,totalSecondRest,ticketRests);\n\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t }else{\n\t\t \t\t \t\t\t\t\t\ttotalAgingLastDays=0L;\n\t\t \t\t \t\t\t\t\t}\n\t\t\t break;\n\t\t\t }\n\t \t\t \n\t\t\t \t\t case DateTimeConstants.SATURDAY: { \n\t\t\t \t\t\t if(sourceData.getSaturdayFlag()==1){\n\t\t\t\t \t\t\t \tboolean isIncludeHoliday=false;\n\t\t\t\t \t\t \t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(endDateParamForLastDay, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t \t\t\t Integer day=DateTimeConstants.SATURDAY;\n\t\t\t\t\t\t Integer totalSecondRest=sourceData.getSecondSaturdayRest();\n\t\t\t\t\t\t\n\t\t\t\t\t\t Date startDateParamTemp=Utils.removeTime(endDateParamForLastDay.toDate());\n\t\t\t\t\t\t\t\t\t\t\t\t LocalDateTime localReponStart=LocalDateTime.fromDateFields(startDateParamTemp);\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\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusHours(sourceData.getSaturdayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusMinutes(sourceData.getSaturdayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusSeconds(sourceData.getSaturdayFromTime().getSeconds());\n\t\t\t\t\t\t startDateParam=localReponStart;\n\t\t\t\t\t\t \n\t\t\t\t\t\t totalAgingLastDays=getTotalAgingFromLastDay(day,endDateParamForLastDay,startDateParam,totalSecondRest,ticketRests);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t }else{\n\t\t \t\t \t\t\t\t\t\ttotalAgingLastDays=0L;\n\t\t \t\t \t\t\t\t\t}\n\t\t break;\n\t\t }\n\t\t \t\t case DateTimeConstants.SUNDAY: { \n\t\t \t\t\t if(sourceData.getSaturdayFlag()==1){\n\t\t \t\t\t\tboolean isIncludeHoliday=false;\n\t \t\t \t\t\t Integer includeHoliday=sourceData.getIncludeHoliday();\n\t\t\t\t\t\t\t boolean isHoliday=isTheDateIsHolidayDate(endDateParamForLastDay, endDateParamForFirstDay, includeHoliday, ticketHolidays);\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t if(isHoliday){\n\t\t\t\t\t\t\t\t tempBetweenDays=0L;\n\t\t\t\t\t\t\t }else{\n\t\t\t\t \t\t\t Integer day=DateTimeConstants.SUNDAY;\n\t\t\t Integer totalSecondRest=sourceData.getSecondSundayRest();\n\t\t\t\n\t\t\t Date startDateParamTemp=Utils.removeTime(endDateParamForLastDay.toDate());\n\t\t\t\t\t\t\t\t\t LocalDateTime localReponStart=LocalDateTime.fromDateFields(startDateParamTemp);\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t// move Date with hour 00:00:00 to hour start work \n\t\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusHours(sourceData.getSundayFromTime().getHours());\n\t\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusMinutes(sourceData.getSundayFromTime().getMinutes());\n\t\t\t\t\t\t\t\t\t localReponStart=localReponStart.plusSeconds(sourceData.getSundayFromTime().getSeconds());\n\t\t\t startDateParam=localReponStart;\n\t\t\t \n\t\t\t totalAgingLastDays=getTotalAgingFromLastDay(day,endDateParamForLastDay,startDateParam,totalSecondRest,ticketRests);\n\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t }else{\n \t\t \t\t\t\t\t\ttotalAgingLastDays=0L;\n \t\t \t\t\t\t\t }\n\t break;\n\t }\n \t\t }\n \t\t \n\t \t\t//END CALCULATE LAST DAYS\n\t \t\t//END CALCULATE LAST DAYS\n\t \t\t//END CALCULATE LAST DAYS\n \t\t \n } // END IF DAYS>0\n\t\t}else{\n\t\t\t//Jika end>start \n\t\t\ttotalAging=0L;\n\t\t}\n\t\t\n\t\tLong detik=totalAgingLastDays;\n\t\tLong menit=detik/60;\n\t\tSystem.out.println(\" \\n ============================== \\n Last Day : \"+detik+\" Menit Last day : \"+menit+\" Jam : \"+menit/60);\n\t\tSystem.out.println(\"=================================\\n\");\n\t\tSystem.out.println(\" \\n Respon End : \"+endDateParam+\" \\n\\n totalAgingInSameDays :\"+totalAgingInSameDays+\" totalAgingFirstDays :\"+totalAgingFirstDays+\" totalAgingBetweenDays :\"+totalAgingBetweenDays+\" totalAgingLastDays :\"+totalAgingLastDays);\n\t\t\n\t\t\n\t\ttotalAging=totalAgingInSameDays+totalAgingFirstDays+totalAgingBetweenDays+totalAgingLastDays;\n\t\treturn totalAging;\n\t}", "public double calcTotalEarnings() {\n double total = 0;\n for (int i = 0; i < numRegions; i++) {\n total += regionList[i].calcEarnings();\n }\n return total;\n }", "Long getAmount(Integer id) throws Exception;", "public void payment(double total_sales_of_transaction) {\n String payment_typ = \"\";\n Scanner scan = new Scanner(System.in);\n\n System.out.printf(\"Which payment type do you wish to use?\\n\");\n System.out.printf(\"1. Cash\\n\");\n System.out.printf(\"2. Card\\n\");\n \n\n do {\n System.out.printf(\"Please enter your choice :\");\n try {\n choice = scan.nextInt();\n } catch (InputMismatchException e) {\n scan.next();\n System.out.println(\"Something went wrong.\\n\");\n }\n } while (choice<1 || choice >2);\n\n \n\n\n if (choice == 2) {\n boolean valid_ccN = false;\n cerdit_card_ID = scan.nextLine();\n while (valid_ccN == false) {\n valid_ccN = verifiying_payment(cerdit_card_ID);\n if(valid_ccN == true){break;}\n scan.next();\n System.out.println(\"Please enter a valid CC number :\");\n cerdit_card_ID = scan.nextLine();\n }\n\n System.out.println(\"Your payment has been accpeted.\\n\");\n payment_typ = \"CC\";\n payment_used = \"CARD\";\n\n } else {\n verifiying_payment();\n payment_typ = \"C\";\n payment_used = \"CASH\";\n\n }\n\n payment_id = generate_payment_ID(payment_typ);\n printPaymentSummary();\n }", "public Money getTotalBalance();", "CarPaymentMethod processHotDollars();", "private void designReturnedBillsSection(Locale locale, PdfPTable paymentSectionTable,\n PdfPCell paymentSectionBlankSpaceCell, final SubmittedBill submittedBills)\n throws BadElementException, IOException {\n\n Date date = submittedBills.getProjectedPostingDate();\n cellAlignment(paymentSectionBlankSpaceCell, 0, GRAY_COLOR, 0);\n cellAddingToTable(paymentSectionTable, paymentSectionBlankSpaceCell, Rectangle.NO_BORDER, 3, 0);\n PdfPCell paymentSectionBillerCell = new PdfPCell(new Phrase(getBillerName(submittedBills)\n , getFont(RED_COLOR, FONT_SIZE_12, Font.NORMAL)));\n PdfPCell paymentSectionBillerAmountCell = new PdfPCell(new Phrase(getFormattedAmount(\n submittedBills.getAmount()), getFont(RED_COLOR, FONT_SIZE_12, Font.NORMAL)));\n cellAlignment(paymentSectionBillerCell, Element.ALIGN_LEFT, GRAY_COLOR, 0);\n cellAddingToTable(paymentSectionTable, paymentSectionBillerCell, Rectangle.NO_BORDER, 2, 15);\n\n cellAlignment(paymentSectionBillerAmountCell, Element.ALIGN_RIGHT, GRAY_COLOR, Element.ALIGN_BOTTOM);\n cellAddingToTable(paymentSectionTable, paymentSectionBillerAmountCell, Rectangle.NO_BORDER, 0, 0);\n\n\t\t/* Fee Details Start */ \n\t\t/* Check for null, if fee come as null we are initializing as 0.*/\n BigDecimal feeAmount = new BigDecimal(0);\n if (submittedBills.getFee() != null) {\n feeAmount = submittedBills.getFee();\n }\n if (feeAmount.intValue() > 0 && submittedBills.getExpressFlag()) {\n getExpressFeeBlock(paymentSectionTable, locale, feeAmount, RED_COLOR);\n }\n /* End Fee Details */\n\n /* Estimated Delivery Start */\n String toDate = convertToDate(date.getTime());\n String message = getMessage(locale, \"pdf.receipt.estimatedDate\", toDate);\n Font font = getFont(null, FONT_SIZE_10, Font.ITALIC);\n PdfPCell estimatedDeliveryCell =\n new PdfPCell(new Phrase(message, font));\n cellAlignment(estimatedDeliveryCell, Element.ALIGN_LEFT, GRAY_COLOR, 0);\n cellAddingToTable(paymentSectionTable, estimatedDeliveryCell, Rectangle.NO_BORDER, 3, 15);\n\n PdfPCell localBlankSpaceCell = new PdfPCell(new Phrase(\" \", getFont(WHITE_COLOR, 8, Font.BOLD)));\n cellAlignment(localBlankSpaceCell, Element.ALIGN_LEFT, GRAY_COLOR, 0);\n cellAddingToTable(paymentSectionTable, localBlankSpaceCell, Rectangle.NO_BORDER, 0, 0);\n\n /* add blank space between 2 payments */\n cellAlignment(paymentSectionBlankSpaceCell, 0, GRAY_COLOR, 0);\n cellAddingToTable(paymentSectionTable, paymentSectionBlankSpaceCell, Rectangle.NO_BORDER, 3, 0);\n /* End Blank Space */\n }", "double getUnpaidAmount();", "public String showMonthOrderPassengerDetails(){\n\n\t\tReportData selectedReportItem=flightOrderDao.getReportDetailsByRowId(CurrentReportdata.getId());\n\t\tlogger.info(\"showPassengerDetails--------------------flightReportPage.getId()=\"+CurrentReportdata.getId());\n\t\tlogger.info(\"showPassengerDetails-------------------selectedReportItem=\"+selectedReportItem);\n\n\t\tif(selectedReportItem!=null){\n\t\t\tCurrentReportdata = selectedReportItem;\n\t\t}\n\t\t//agency data-----------------end--------------------------\n\t\tReportData flightOrderCustomer = flightOrderDao.getFlightOrderCustomerDetail(selectedReportItem.getId());\n\t\tFlightOrderRow \tflightOrderRow = flightOrderDao.getFlightOrderRowDataById(CurrentReportdata.getId());\n\t\tfor(int i=0;i<flightOrderCustomer.getFlightOrderCustomerList().size();i++){\n\t\t\tFlightOrderCustomer customer=flightOrderCustomer.getFlightOrderCustomerList().get(i);\n\t\t\t//for(FlightOrderCustomerPriceBreakup PriceBreakup:flightOrderCustomer.getFlightOrderCustomerPriceBreakup()){\n\t\t\tFlightOrderCustomerPriceBreakup PriceBreakup=flightOrderCustomer.getFlightOrderCustomerPriceBreakup().get(i);\n\t\t\t//logger.info(\"customer.getId()-----\"+customer.getId()+\"---PriceBreakup.getId()-------\"+PriceBreakup.getId());\n\t\t\tBigDecimal brakupMarkup=new BigDecimal(PriceBreakup.getMarkup());\n\t\t\t//\tBigDecimal procesiingFeee=new BigDecimal(\"0.00\");\n\t\t\tBigDecimal basePrice= PriceBreakup.getBaseFare().multiply(flightOrderRow.getApiToBaseExchangeRate());\n\t\t\tBigDecimal taxes= PriceBreakup.getTax().multiply(flightOrderRow.getApiToBaseExchangeRate()) ;\n\t\t\tBigDecimal totalBasePrice = basePrice.add(brakupMarkup);\n\t\t\tBigDecimal basePriceInBooking=totalBasePrice.multiply(flightOrderRow.getBaseToBookingExchangeRate());\n\t\t\tBigDecimal taxesInBooking=taxes.multiply(flightOrderRow.getBaseToBookingExchangeRate());\n\t\t\t//BigDecimal totalPrice=procesiingFeee.add(basePriceInBooking).add(taxesInBooking);//should be added later\n\t\t\tBigDecimal totalPriceInBooking=basePriceInBooking.add(taxesInBooking);\n\t\t\t//logger.info(\"totalPrice----in booking--------------------\"+totalPriceInBooking);\n\t\t\tReportData data = new ReportData();\n\t\t\tdata.setName(customer.getFirstName());\n\t\t\tdata.setSurname(customer.getLastName());\n\t\t\tdata.setGender(customer.getGender());\n\t\t\tdata.setMobile(customer.getMobile());\n\t\t\t//data.setPassportExpDate(customer.getPassportExpiryDate());\n\t\t\tdata.setPhone(customer.getPhone());\n\t\t\tdata.setPrice(basePriceInBooking.setScale(2, BigDecimal.ROUND_UP));\n\t\t\t//data.setAgentCom(PriceBreakup.getMarkup());\n\t\t\tdata.setTotal(totalPriceInBooking.setScale(2, BigDecimal.ROUND_UP));\n\t\t\tdata.setTax(taxesInBooking.setScale(2, BigDecimal.ROUND_UP));\n\t\t\t//data.setRoute(orderTripDetail.getOriginCode()+\"-\"+orderTripDetail.getDestinationCode());\n\t\t\tpassList.add(data);\n\t\t\t//sessionMap.put(\"passengerList\", passList);\n\t\t}\n\t\ttry {\n\t\t\tReportData companyWalletHistory=flightOrderDao.getWalletAmountTxStatementHistoryByUserId(CurrentReportdata.getUserId(),CurrentReportdata.getOrderId());\n\t\t\tList<WalletAmountTranferHistory> newWalletHistoryList=new ArrayList<WalletAmountTranferHistory>();\n\t\t\tif(companyWalletHistory!=null && companyWalletHistory.getWalletAmountTranferHistory()!=null){\n\t\t\t\tfor(WalletAmountTranferHistory history:companyWalletHistory.getWalletAmountTranferHistory()){\n\t\t\t\t\tif(history.getUserId()==Integer.parseInt(CurrentReportdata.getUserId())){\n\t\t\t\t\t\tnewWalletHistoryList.add(history);\n\t\t\t\t\t\tcompanyWalletHistory.setWalletAmountTranferHistory(newWalletHistoryList); \n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(companyWalletHistory!=null){\n\t\t\t\ttxHistory=companyWalletHistory;\n\t\t\t}\n\t\t\tif(flightOrderDao.getEndUserPaymentTransactions(CurrentReportdata.getOrderId())!=null){\n\t\t\t\tendUserTxHistory =flightOrderDao.getEndUserPaymentTransactions(CurrentReportdata.getOrderId());\n\t\t\t}\n\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\tlogger.info(\"(-----Exception----------)\"+e.getMessage());\n\t\t\te.printStackTrace();\n\t\t}\n\n\n\t\treturn SUCCESS;\n\n\t}", "@Test\n public void holdTest() {\n\n PaymentDto paymentDto = initPayment(inAccountId, outAccountId, \"700\");\n\n final String firstPaymentId = paymentDto.getId();\n\n paymentDto = authorizePayment(firstPaymentId, 200);\n\n assertEquals(\"Payment status AUTHORIZED\", PaymentStatus.AUTHORIZED, paymentDto.getStatus());\n\n\n //init and authorize second payment, but there is 700 cents of 1000 withhold - ERROR: WITHDRAW_NO_FUNDS\n\n paymentDto = initPayment(inAccountId, outAccountId, \"700\");\n\n final String secondPaymentId = paymentDto.getId();\n\n paymentDto = authorizePayment(secondPaymentId, 200);\n\n assertEquals(\"Payment status ERROR\", PaymentStatus.ERROR, paymentDto.getStatus());\n\n assertEquals(\"Error reason WITHDRAW_NO_FUNDS\", new Integer(ErrorCode.WITHDRAW_NO_FUNDS.getCode()), paymentDto.getErrorReason());\n\n\n //confirm first payment - OK\n\n paymentDto = confirmPayment(firstPaymentId, 200);\n\n assertEquals(\"Payment status CONFIRMED\", PaymentStatus.CONFIRMED, paymentDto.getStatus());\n\n\n //confirm second payment, which was filed on authorization - still got ERROR: WITHDRAW_NO_FUNDS\n\n paymentDto = confirmPayment(secondPaymentId, 200);\n\n assertEquals(\"Payment status ERROR\", PaymentStatus.ERROR, paymentDto.getStatus());\n\n assertEquals(\"Error reason WITHDRAW_NO_FUNDS\", new Integer(ErrorCode.WITHDRAW_NO_FUNDS.getCode()), paymentDto.getErrorReason());\n\n }", "public void calculateEndPrice(int TotalPrice, int Discount) {\n\n }", "public Masary_Error CheckBillType(String BTC, double CusAmount, String CustId, double serv_balance, double masry_balance, double billamount, double fees, Main_Provider provider, double deductedAmount) {\n Masary_Error Status = new Masary_Error();\n try {\n Masary_Bill_Type bill_type = MasaryManager.getInstance().getBTC(BTC);\n double trunccusamount = Math.floor(CusAmount);\n// double deductedAmount = MasaryManager.getInstance().GetDeductedAmount(Integer.parseInt(CustId), Integer.parseInt(BTC), CusAmount, provider.getPROVIDER_ID());\n if ((deductedAmount > serv_balance) || deductedAmount == -1) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-501\", provider);\n } else if (!bill_type.isIS_PART_ACC() && CusAmount < billamount) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-502\", provider);\n } else if (!bill_type.isIS_OVER_ACC() && CusAmount > billamount && billamount != 0) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-503\", provider);\n } else if (!bill_type.isIS_ADV_ACC() && billamount == 0) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-504\", provider);\n } else if (!bill_type.isIS_FRAC_ACC() && (CusAmount - trunccusamount) > 0) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-505\", provider);\n } else if ((CusAmount > masry_balance) || deductedAmount == -2 || deductedAmount == -3 || deductedAmount == -4) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-506\", provider);\n } else {\n Status = MasaryManager.getInstance().GETMasary_Error(\"200\", provider);\n }\n } catch (Exception ex) {\n\n MasaryManager.logger.error(\"Exception \" + ex.getMessage(), ex);\n }\n\n return Status;\n }", "public static void main(String[] args) {\nScanner s=new Scanner(System.in);\nSystem.out.println(\"Enter the name\");\nString name=s.nextLine();\nSystem.out.println(\"Enter the address\");\nString address=s.nextLine();\nSystem.out.println(\"Number of room\");\nint room=s.nextInt();\nSystem.out.println(\"Number of persons\");\nint persons=s.nextInt();\nSystem.out.println(\"AC OR Non-AC\");\nString ac=s.next();\nSystem.out.println(\"Booking Date\");\nString booking=s.next();\nSystem.out.println(\"Checkout Date\");\nString checkout=s.next();\nLocalDate ds=LocalDate.parse(booking);\nLocalDate de=LocalDate.parse(checkout);\nlong total=ChronoUnit.DAYS.between(ds, de);\nlong total=0;int p=(person%2);\nSystem.out.println(\"Reg-Details: \");\nSystem.out.println(\"Name : \"+name);\nSystem.out.println(\"Address : \"+address);\nSystem.out.println(\"No.of rooms : \"+room);\nSystem.out.println(\"No.of.Guest : \"+persons);\nint ac_amount=0,flag=0;\nif(ac.equals(\"AC\"))\n{\n\tac_amount=100;\n\tflag=1;\n}\n\t\nelse\n{\n\tac_amount=0;\n\tflag=0;\n}\nif(flag==1)\n\tSystem.out.println(\"AC :Yes\");\nelse\n\tSystem.out.println(\"AC :No\");\n\n\n\nint rent=500,flag1=0;;\n\nif(persons==(room*2)+1)\n{\n\t\n\tint amount=(int)((500+ac_amount)*(persons*total))+250;\n\tSystem.out.print(\"Amount :\"+amount);\n}\n\t\nelse\n{\n\tint amount=(int)((500+ac_amount)*(persons*total));\n\tSystem.out.print(\"Amount :\"+amount);\n\t\n\t}\n\n}", "public JSONResponse pay(HashMap<String, String> parameters) {\n\t\tString pos = parameters.get(\"pos\"); \t\t\t\t\t\t// the point of sale code.\n\t\tString reservationid = parameters.get(\"reservationid\");\t\t// the ID of the reservation.\n\t\tString date = parameters.get(\"date\"); \t\t\t\t\t\t// the date of the payment.\n\t\tString emailaddress = parameters.get(\"emailaddress\"); \t\t// the email address of the payer.\n\t\tString cardholder = parameters.get(\"cardholder\");\t\t\t// the card holder name.\n\t\tString cardnumber = parameters.get(\"cardnumber\");\t\t\t// the card number.\n\t\tString cardmonth = parameters.get(\"cardmonth\");\t\t\t\t// the card expiry month.\n\t\tString cardyear = parameters.get(\"cardyear\");\t\t\t\t// the card expiry year.\n\t\tString cardcode = parameters.get(\"cardcode\");\t\t\t\t// the card CCV code.\n\t\tString amount = parameters.get(\"amount\");\t\t\t\t\t// the amount to be charged to the card.\n\t\tString remote_host = parameters.get(\"remote_host\");\t\t\t// the remote host URL.\n\n\t\tDouble value = Double.valueOf(amount);\n\t\tif (pos == null || pos.isEmpty() || Model.decrypt(pos).length() > 10) {throw new ServiceException(Error.pos_invalid, pos);}\n\t\tif (reservationid == null || reservationid.isEmpty() || reservationid.length() > 10) {throw new ServiceException(Error.reservation_id, reservationid);}\n\t\tif (emailaddress == null || emailaddress.isEmpty() || !Party.isEmailAddress(emailaddress)) {throw new ServiceException(Error.party_emailaddress, emailaddress);}\n\t\tif (cardholder == null || cardholder.isEmpty() || cardholder.length() > 100) {throw new ServiceException(Error.card_holder, cardholder);}\n\t\tif (cardnumber == null || cardnumber.isEmpty() || cardnumber.length() > 20) {throw new ServiceException(Error.card_number, cardnumber);}\n\t\tif (cardmonth == null || cardmonth.isEmpty() || cardmonth.length() != 2) {throw new ServiceException(Error.card_month, cardmonth);}\n\t\tif (cardyear == null || cardyear.isEmpty() || cardyear.length() != 4) {throw new ServiceException(Error.card_year, cardyear);}\n\t\tif (cardcode == null || cardcode.isEmpty() || cardcode.length() < 3) {throw new ServiceException(Error.card_code, cardcode);}\n\t\tif (value == null || value <= 0.0) {throw new ServiceException(Error.card_amount, amount);}\n\n\t\tSqlSession sqlSession = RazorServer.openSession();\n\t\tPayWidgetItem result = new PayWidgetItem();\n\t\ttry {\n\t\t\tJSONService.getParty(sqlSession, pos);\n\t\t\tReservation reservation = sqlSession.getMapper(ReservationMapper.class).read(reservationid);\n//\t\t\tParty customer = JSONService.getCustomer (sqlSession, emailaddress, familyname, firstname, reservation.getOrganizationid(), agent.getId());\n//\t\t\treservation.setCustomerid(customer.getId());\n//\t\t\tFinance finance = JSONService.getFinance(sqlSession, customer.getId(), cardholder, cardnumber, cardmonth, cardyear,\tcardcode);\n//\t\t\treservation.setFinanceid(finance.getId());\n//\t\t\treservation.setNotes(notes);\n//\t\t\tsqlSession.getMapper(ReservationMapper.class).update(reservation);\n\n\t\t\tElement element = PaygateHandler.getXML(reservation.getName(), cardholder, cardnumber, cardmonth + cardyear, value, reservation.getCurrency(), cardcode, emailaddress, remote_host);\n\n\t\t\tEvent<Journal> event = JSONService.cardReceipt(sqlSession, reservation, element, cardholder, value);\n\t\t\tresult.setId(reservation.getOrganizationid());\n\t\t\tresult.setName(event.getName());\n\t\t\tresult.setState(RazorWidget.State.SUCCESS.name());\n\t\t\tresult.setAmount(value);\n\t\t\tresult.setCurrency(reservation.getCurrency());\n\t\t\tresult.setMessage(JSONService.getNotes(element));\n\t\t\tsqlSession.commit();\n\t\t}\n\t\tcatch (Throwable x) {\n\t\t\tsqlSession.rollback();\n\t\t\tresult.setId(null);\n\t\t\tresult.setName(null);\n\t\t\tresult.setState(RazorWidget.State.FAILURE.name());\n\t\t\tresult.setAmount(value == null ? 0.0 : value);\n\t\t\tresult.setCurrency(Currency.Code.USD.name());\n\t\t\tresult.setMessage(x.getMessage());\n\t\t}\n\t\tfinally {sqlSession.close();}\n\t\treturn result;\n\t}", "public Integer getTotalClubHasBooking(LocalDateTime start, LocalDateTime end) {\n\n\t\treturn creditBookingRepo.getTotalClubHasBooking(start, end);\n\t}", "public Double getRawGross(int orNo, int storeCode ) {\r\n//\t\tString query = \"SELECT SUM(IF(o.RETURN=0,i.SELL_PRICE*i.QUANTITY,p.AMT)) FROM invoice_item i, invoice o, payment_item p WHERE MONTH (o.TRANS_DT) = '\"+month+\"' && YEAR(o.TRANS_DT) = '\"+year+\"' && DAY(o.TRANS_DT) = '\"+day+\"' AND i.OR_NO = o.OR_NO AND p.OR_NO = o.OR_NO AND p.STORE_CODE = o.STORE_CODE AND o.STORE_CODE = '\"+storeCode+\"'\";\r\n\t\tString query = \"SELECT SUM(i.SELL_PRICE*i.QUANTITY) FROM invoice_item i, invoice o WHERE o.OR_NO= '\"+orNo+\"' AND i.OR_NO = o.OR_NO AND i.STORE_CODE = o.STORE_CODE AND o.STORE_CODE = '\"+storeCode+\"'\"\r\n\t\t+ \" AND NOT EXISTS (SELECT 1 FROM INVOICE_SET s WHERE s.OR_NO = o.OR_NO) \"\r\n\t\t;\r\n\t\t\r\n\t\tResultSet rs = Main.getDBManager().executeQuery(query);\r\n//\t\tResultSet rs = Main.getDBManager().executeQuery(\"SELECT sum(p.AMT) from payment_item p WHERE MONTH (p.TRANS_DT) = '\"+month+\"' && YEAR(p.TRANS_DT) = '\"+year+\"' && DAY(p.TRANS_DT) = '\"+day+\"' AND p.STORE_CODE = '\"+storeCode+\"'\");\r\n\t\tDouble dailySale = 0.0d;\r\n\t\ttry {\r\n\t\t\twhile(rs.next()){\r\n//\t\t\t\tdouble amount = rs.getDouble(1);\r\n//\t\t\t\tdailySale = amount/getVatRate();\r\n\t\t\t\t\r\n\t\t\t\tdailySale = rs.getDouble(1);\r\n\t\t\t\tlogger.debug(\"Raw Gross BEFORE SUBTRACTION: \"+dailySale);\r\n\t\t\t\t\r\n\t\t\t\tdailySale = dailySale - getDeductibles(orNo, storeCode) + getCompletedTransactions(orNo, storeCode);\r\n\t\t\t\tlogger.debug(\"Raw Gross AFTER SUBTRACTION: \"+dailySale);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tLoggerUtility.getInstance().logStackTrace(e);\r\n\t\t}\r\n\t\tlogger.debug(\"Raw Gross: \"+dailySale);\r\n\t\treturn dailySale;\r\n\t}", "public float calculateTotalFee(){\n int endD = parseInt(endDay);\n int startD = parseInt(startDay);\n int endM = parseInt(convertMonthToDigit(endMonth));\n int startM = parseInt(convertMonthToDigit(startMonth));\n int monthDiff = 0;\n float totalFee = 0;\n //get the stay duration in months\n monthDiff = endM - startM;\n \n System.out.println(\"CALCULATING TOTAL FEE:\");\n \n stayDuration = 1;\n if(monthDiff == 0){ //on the same month\n if(startD == endD){\n stayDuration = 1;\n }else if(startD < endD){ //Same month, diff days\n stayDuration = 1 + (parseInt(endDay) - parseInt(startDay));\n }\n }else if(monthDiff > 0){ //1 month difference\n \n if(startD > endD){ // End day is next month\n switch(startMonth){\n case \"January\": case \"March\": case \"May\": case \"July\": case \"August\": \n case \"October\": case \"December\":\n stayDuration = 1 + ( (31+ parseInt(endDay)) - parseInt(startDay));\n break;\n\n case \"April\": case \"June\": case \"September\": case \"November\":\n stayDuration = 1 + ((30+ parseInt(endDay)) - parseInt(startDay));\n break; \n \n case \"February\": \n stayDuration = 1 + ((29+ parseInt(endDay)) - parseInt(startDay));\n break; \n default:\n break;\n }\n }else if(startD <= endD){ //if end day is greater than start day\n switch(startMonth){\n case \"January\": case \"March\": case \"May\": case \"July\": case \"August\": \n case \"October\": case \"December\":\n stayDuration = 1 + ((parseInt(endDay)) - parseInt(startDay));\n stayDuration += 31;\n break;\n\n case \"April\": case \"June\": case \"September\": case \"November\":\n stayDuration = 1 + ( (parseInt(endDay)) - parseInt(startDay));\n stayDuration += 30;\n break; \n \n case \"February\": \n stayDuration = 1 + ( (parseInt(endDay)) - parseInt(startDay));\n stayDuration += 29;\n break; \n \n default:\n break;\n }\n }\n }else if(monthDiff < 0){\n if(startMonth == \"December\" && endMonth == \"January\"){\n if(startD > endD){ // End day is next month\n switch(startMonth){\n case \"January\": case \"March\": case \"May\": case \"July\": case \"August\": \n case \"October\": case \"December\":\n stayDuration = 1 + ( (31+ parseInt(endDay)) - parseInt(startDay));\n break;\n\n case \"April\": case \"June\": case \"September\": case \"November\":\n stayDuration = 1 + ((30+ parseInt(endDay)) - parseInt(startDay));\n break; \n\n case \"February\": \n stayDuration = 1 + ((29+ parseInt(endDay)) - parseInt(startDay));\n break; \n default:\n break;\n }\n }else{\n stayDuration = 1 + ((parseInt(endDay)) - parseInt(startDay));\n stayDuration += 31;\n }\n }\n }\n \n totalFee = (int) (getSelectedRoomsCounter() * getSelectedRoomPrice());\n totalFee *= stayDuration;\n \n //console log\n System.out.println(\"stayDuration: \"+ stayDuration);\n System.out.println(\"Total Fee: \" + totalFee +\"php\");\n return totalFee;\n }", "@Override\n public double payment(double amount) {\n return amount * 98 / 100 ;\n }", "public Long calculateTotalAgingForFirstDay(Integer day, LocalDateTime endDateParam, LocalDateTime startDateParam,\n\t\t\tInteger totalSecondRest, List<KPIServiceHourRest> ticketRests) {\n/*\t\t \n * 9:02-8:29-restAging\n *\t\t 8:29:00,9:10:00,\n *\t\t 8:30:00, 9:00\n *\t\t Istirahat jam 8:30-9:00 \n *\t\t long restAging=0L<\n *\t \n *\t if(startDateParam<restStart && startDateParam<restEnd)\n *\t {\n *\t \t\t8:29<8:30 Y, 8:29<9:00 Y\n *\t \t\trestAging=9:00:00-8:30:00\n *\t \t \t 8:29<11:30 Y, 8:29<1:00:00 Y\n *\t \t\trestAging=9:00:00-8:30:00\n *\n *\t \t\t9:10<8:29 N, 9:10<9:00 N\n *\t \t\tbreak;\n *\t \t\t8:29<11:30 Y, 8:29<1:00 Y\n *\t }\n */\n\t\t Long totalAging=new Long(0);\n\t \t Long totalAgingOnRest=0L;\n\t \t for(KPIServiceHourRest ticketRest:ticketRests){\n\t \t\t if(day==ticketRest.getDay()){\n\t \t\t\t LocalDateTime restStart=LocalDateTime.fromDateFields(ticketRest.getFromTimeRest());\n\t\t LocalDateTime restEnd=LocalDateTime.fromDateFields(ticketRest.getToTimeRest());\n\t\t if(CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(restStart.toDateTime()))<=0\n\t\t \t\t && CustomDateUtils.compareTime(new DateTime(startDateParam.toDateTime()), new DateTime(restEnd.toDateTime()))<=0){\n\t\t \t totalAgingOnRest+=secondTotalAgingBetweenDate(restEnd.toDate().getTime(), restStart.toDate().getTime(), 0L);\n\t\t }\n\t \t\t }\n\t \t }\n\t \t totalAging=secondTotalAgingBetweenDate(endDateParam.toDate().getTime(),startDateParam.toDate().getTime(),totalAgingOnRest);\n return totalAging;\n\t}", "public Double withdrawAndReportBalance(Double withdrawnAmount, AccountRule rule) \n \t\tthrows IllegalBalanceException \n {\n return null;\n }", "protected KualiDecimal getBalanceAmountOfGivenPeriod(Map<String, Object> fieldValues, String periodCode) {\n KualiDecimal balanceAmount = KualiDecimal.ZERO;\n List<LedgerBalance> ledgerBalances = (List<LedgerBalance>) SpringContext.getBean(BusinessObjectService.class).findMatching(LedgerBalance.class, fieldValues);\n if (!ledgerBalances.isEmpty()) {\n balanceAmount = ledgerBalances.get(0).getAmount(periodCode);\n }\n return balanceAmount;\n }", "List<Bill> findBillsForReservation(long reservationId);", "public abstract double calculateLoanPayment(double principalAmount, double annualPrimeIntRate, int monthsAmort);", "public boolean transferAmount(String id,String sourceAccount,String targetAccount,int amountTransfer) throws SQLException {\n\t\n\tConnection con = null;\n\tcon = DatabaseUtil.getConnection();\n\tint var=0;\n\tint var2=0;\n\tPreparedStatement ps1 = null;\n\tPreparedStatement ps2 = null;\n\tPreparedStatement ps3 = null;\n\tPreparedStatement ps4 = null;\n\tResultSet rs1 = null;\n\tResultSet rs2 = null;\n\tResultSet rs3 = null;\n\tResultSet rs4 = null;\n\tboolean flag=false;\n\n\tcon = DatabaseUtil.getConnection();\n\t\n\t//Account account=new Account();\n\tps1=con.prepareStatement(\"select Balance from CustomerAccount_RBM where SSN_ID=? and Account_Type=?\");\n\tps1.setInt(1,Integer.parseInt(id));\n\tps1.setString(2,targetAccount);\n\trs1=ps1.executeQuery();\n\t\n\twhile (rs1.next()) {\n\t var = rs1.getInt(1);\n\t \n\t if (rs1.wasNull()) {\n\t System.out.println(\"id is null\");\n\t }\n\t}\n\t\n\tint targetAmount=var+amountTransfer;\n\tSystem.out.println(\"target amount \"+targetAmount);\n\t//System.out.println(\"very good\");\n\tps2=con.prepareStatement(\"select Balance from CustomerAccount_RBM where SSN_ID=? and Account_Type=?\");\n\tps2.setInt(1,Integer.parseInt(id));\n\tps2.setString(2,sourceAccount);\n\trs2=ps2.executeQuery();\n\t\n\twhile (rs2.next()) {\n\t var2 = rs2.getInt(1);\n\t //System.out.println(\"id=\" + var);\n\t if (rs2.wasNull()) {\n\t System.out.println(\"name is null\");\n\t }\n\t}\n\t\n\tint sourceAmount=var2-amountTransfer;\n\tSystem.out.println(\"source amount\"+ sourceAmount);\n\tif(sourceAmount<0 ) {\n\t\tSystem.out.println(\"Unable to tranfer\");\n\t}else {\n\t\tflag=true;\n\t\tps3=con.prepareStatement(\"update CustomerAccount_RBM set Balance=? where Account_Type=?\");\n\t\tps3.setInt(1,sourceAmount);\n\t\tps3.setString(2,sourceAccount);\n\t\t//System.out.println(\"hey\");\n\t\trs3=ps3.executeQuery();\n\t\t\n\t\tps4=con.prepareStatement(\"update CustomerAccount_RBM set Balance=? where Account_Type=?\");\n\t\tps4.setInt(1,targetAmount);\n\t\tps4.setString(2,targetAccount);\n\t\trs4=ps4.executeQuery();\n\t\t//System.out.println(\"Transfer Dao1\");\n\t}\n\tDatabaseUtil.closeConnection(con);\n\tDatabaseUtil.closeStatement(ps1);\n\tDatabaseUtil.closeStatement(ps2);\n\tDatabaseUtil.closeStatement(ps3);\n\tDatabaseUtil.closeStatement(ps4);\n\treturn flag;\n}", "public TotalPaymentResponse totalPaymentInfo(Integer user_id) {\n\t\t\n\t\tLOGGER.info(\"obteniendo resumen de pagos del usuario {}\", user_id);\n\n\t\tdouble totalPayment = 0d;\n\t\tDate lastPayment = null;\n\t\tList<Payment> allPayments = paymentRepo.findByUserId(user_id);\n\t\tif(!allPayments.isEmpty()) {\n\t\t\ttotalPayment = allPayments.stream().map(c -> c.getAmount()).reduce(0d, (ap1 , ap2) -> ap1 + ap2).doubleValue();\n\t\t\tlastPayment = allPayments.stream().map(c -> c.getDateObj()).reduce(DateHelper.getInstance().getMinTimestamp(), (ap1 , ap2) -> DateHelper.getInstance().max(ap1, ap2));\n\t\t}\n\t\treturn new TotalPaymentResponse(user_id, totalPayment, lastPayment, allPayments.size());\n\t}", "public String transaction_pay (int reservationId)\n\t{\n\t\tif (this.username == null) {\n\t\t\treturn \"Cannot pay, not logged in\\n\";\n\t\t} \n\t\ttry {\n\t\t\tbeginTransaction();\n\t\t\t//checking Reservation is valid\n\t\t\tif (!checkUnpaidReservation(reservationId) || !checkNotCanceledReservation(reservationId)) {\n\t\t\t\trollbackTransaction();\n\t\t\t\treturn \"Cannot find unpaid reservation \" + reservationId + \" under user: \" + this.username + \"\\n\";\n\t\t\t} \n\t\t\t//get price of Reservation\n\t\t\tgetReservationStatement.clearParameters();\n\t\t\tgetReservationStatement.setString(1, this.username);\n\t\t\tgetReservationStatement.setInt(2, reservationId);\n\t\t\tResultSet result = getReservationStatement.executeQuery();\n\t\t\tresult.next();\n\t\t\t//make sure user's balance is enough\n\t\t\tint balance = getBalance();\n\t\t\tif (balance < result.getInt(7)) {\n\t\t\t\trollbackTransaction();\n\t\t\t\treturn \"User has only \" + balance + \" in account but itinerary costs \" + result.getInt(7) + \"\\n\";\n\t\t\t}\n\t\t\tbalance -= result.getInt(7);\n\t\t\t//update subtracted balance, and set Reservation.paid = 1\n\t\t\tupdateBalance(balance);\n\t\t\tpayReservation(result.getInt(1));\n\t\t\tresult.close();\n\t\t\tcommitTransaction();\n\t\t\treturn \"Paid reservation: \" + reservationId + \" remaining balance: \" + balance + \"\\n\";\n\t\t} catch (Exception e) {\n\t\t\tif (DEBUG) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\trollbackTransaction();\n\t\t\treturn \"Failed to pay for reservation \" + reservationId + \"\\n\";\n\t\t} \n\t}", "private void automaticPayment(String accountName, String reciever, String billName, final int amount, String date) {\n Log.d(TAG, \"makeTransaction: Has been called\");\n final DocumentReference senderDocRef = db.collection(\"users\").document(user.getEmail())\n .collection(\"accounts\").document(accountName);\n\n final DocumentReference recieverDocRef = db.collection(\"companies\").document(reciever);\n\n final DocumentReference billDocRef = db.collection(\"companies\").document(reciever).collection(\"customer\")\n .document(user.getEmail()).collection(\"bills\").document(billName);\n\n db.runTransaction(new Transaction.Function<Void>() {\n @Override\n public Void apply(Transaction transaction) throws FirebaseFirestoreException {\n DocumentSnapshot sender = transaction.get(senderDocRef);\n DocumentSnapshot reciever = transaction.get(recieverDocRef);\n\n\n int senderBalance = sender.getLong(\"balance\").intValue();\n int recieverBalance = reciever.getLong(\"amount\").intValue();\n int transactionBalance = Math.abs(amount);\n\n if (senderBalance >= transactionBalance) {\n transaction.update(senderDocRef, \"balance\", senderBalance - transactionBalance);\n transaction.update(recieverDocRef, \"amount\", recieverBalance + transactionBalance);\n transaction.update(billDocRef, \"isPaid\", true);\n\n\n SimpleDateFormat dateformat = new SimpleDateFormat(\"dd-MM-yyyy\");\n Date newDate = new Date();\n Calendar cal = Calendar.getInstance();\n cal.setTime(newDate);\n cal.add(Calendar.MONTH, 1);\n newDate = cal.getTime();\n transaction.update(billDocRef, \"recurring\", dateformat.format(newDate));\n } else {\n Log.d(TAG, \"apply: Transaction ikke fuldført\");\n }\n\n // Success\n return null;\n }\n }).addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n Log.d(TAG, \"Transaction success!\");\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n Log.w(TAG, \"Transaction failure.\", e);\n }\n });\n\n }", "private void returnDeposit(String paymentInfo) {\n }", "ch.crif_online.www.webservices.crifsoapservice.v1_00.Amount getAmount();", "public int makeBooking(BookingEventModel booking) {\n\n\t\tConnection connection = null;\n\t\tStatement statement = null;\n\t\ttry {\n\t\t\tconnection = DriverManager.getConnection(databaseName);\n\t\t\tconnection.setAutoCommit(false);\n\t\t\tstatement = connection.createStatement();\n\n\t\t\tString sql = \"insert into bookings (email, checkin, checkout, price) \" +\n\t\t\t\t\tString.format(\"values ('%s', '%s', '%s', %d);\", booking.userEmail, formatter.format(booking.checkIn),\n\t\t\t\t\t\t\tformatter.format(booking.checkOut), booking.payment);\n\t\t\tstatement.executeUpdate(sql);\n\t\t\t//\t\t System.out.println(\"Inserted records into the table...\"+sql);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tstatement.close();\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t//\t\t\ttry {\n\t\t\t//\t\t\t\tconnection.close();\n\t\t\t//\t\t\t} catch (SQLException e) {\n\t\t\t//\t\t\t\te.printStackTrace();\n\t\t\t//\t\t\t}\n\t\t}\n\n\t\tResultSet lastId = null;\n\t\tint bookingNumber = 0;\n\t\tStatement statement2 = null;\n\t\ttry {\n\t\t\t//\t\t\tconnection = DriverManager.getConnection(databaseName);\n\t\t\t//\t\t\tconnection.setAutoCommit(false);\n\t\t\tstatement2 = connection.createStatement();\n\t\t\tString sql = \"SELECT last_insert_rowid() FROM bookings\";\n\t\t\tlastId = statement2.executeQuery(sql);\n\n\t\t\tlastId.next();\n\t\t\tbookingNumber = lastId.getInt(1);\n\t\t\t//\t\t System.out.println(\"last id...\"+sql+\" \"+bookingNumber);\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tlastId.close();\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tstatement2.close();\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tconnection.commit();\n\t\t\t\tconnection.close();\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\tStatement statement3 = null;\n\t\tfor (Room r: booking.rooms) {\n\t\t\ttry {\n\t\t\t\tconnection = DriverManager.getConnection(databaseName);\n\t\t\t\tconnection.setAutoCommit(false);\n\t\t\t\tstatement3 = connection.createStatement();\n\n\t\t\t\tString sql = String.format(\"insert into room_booking_junction (room_id, booking_id) values (%d, %d)\",\n\t\t\t\t\t\tr.getId(), bookingNumber);\n\t\t\t\tstatement3.executeUpdate(sql);\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tstatement3.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tconnection.commit();\n\t\t\t\t\tconnection.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\n\t\tStatement statement4 = null;\n\t\tfor (HashMap.Entry<ExtraService, Integer> entry : booking.services.entrySet()){\n\t\t\ttry {\n\t\t\t\tconnection = DriverManager.getConnection(databaseName);\n\t\t\t\tconnection.setAutoCommit(false);\n\t\t\t\tstatement4 = connection.createStatement();\n\n\t\t\t\tString sql = String.format(\"insert into service_booking_junction (service_id, booking_id, amount) values (%d, %d, %d)\",\n\t\t\t\t\t\tentry.getKey().getId(), bookingNumber, entry.getValue());\n\t\t\t\tstatement4.executeUpdate(sql);\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tstatement4.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tconnection.commit();\n\t\t\t\t\tconnection.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn bookingNumber;\n\t}", "@Override\n public TotalDebit calculateTotalDebit(Child child, int year) {\n if (child.getSupportedGroup() == null) {\n return null;\n }\n\n TotalDebit debit = new TotalDebit();\n debit.setChildName(child.getName());\n debit.setChildSurname(child.getSurname());\n\n double fullPrice;\n if (child.getSupportedGroup().getGroup().getWorkType().getName().equals(\"Obdaniste\")) {\n fullPrice = child.getInstitution().getFullPrice();\n }\n else {\n fullPrice = child.getInstitution().getPartialPrice();\n }\n\n List<Pricelist> pricelists = pricelistService.findCurrentByCategoryAndInstitution(child.getCategory(),\n child.getInstitution());\n // can't determine which pricelist to use\n if (pricelists.size() != 1) {\n return null;\n }\n double percentage = pricelists.get(0).getPercentage()/100;\n\n double totalDebit = 0;\n double totalPaid = 0;\n\n // calculate the debit for every single month and collect the result if the child attended classes during the\n // specified month\n for (int month = 0; month < 12; month++) {\n MonthlyDebit monthlyDebit = calculateMonthlyDebit(child, month, year, percentage, fullPrice);\n if (monthlyDebit != null) {\n monthlyDebit.setCarriedDebit(totalDebit);\n monthlyDebit.setCarriedPaid(totalPaid);\n totalDebit += monthlyDebit.getDebit();\n totalPaid += monthlyDebit.getPaid();\n monthlyDebit.setMonth(month + 1);\n debit.getDebits().add(monthlyDebit);\n }\n }\n\n debit.setTotalDebit(totalDebit);\n debit.setTotalPaid(totalPaid);\n\n return debit;\n }", "private void designSubmittedBillsSection(final SubmittedBill submittedBills, Locale locale,\n PdfPTable paymentSectionTable)\n throws BadElementException, IOException {\n Date date = submittedBills.getProjectedPostingDate();\n BigDecimal feeAmount = new BigDecimal(0);\n\t\t/* Check for null, if fee come as null we are initializing as 0.*/\n\n if (submittedBills.getFee() != null) {\n feeAmount = submittedBills.getFee();\n }\n String billerName = getBillerName(submittedBills);\n PdfPCell paymentSectionBillerCell =\n new PdfPCell(new Phrase(billerName, getFont(null, FONT_SIZE_12, Font.NORMAL)));\n PdfPCell paymentSectionBillerAmountCell = new PdfPCell(\n new Phrase(getFormattedAmount(submittedBills.getAmount()), getFont(null, FONT_SIZE_12, Font.NORMAL)));\n cellAlignment(paymentSectionBillerCell, Element.ALIGN_LEFT, GRAY_COLOR, 0);\n cellAddingToTable(paymentSectionTable, paymentSectionBillerCell, Rectangle.NO_BORDER, 2, 15);\n\n cellAlignment(paymentSectionBillerAmountCell, Element.ALIGN_RIGHT, GRAY_COLOR, Element.ALIGN_BOTTOM);\n cellAddingToTable(paymentSectionTable, paymentSectionBillerAmountCell, Rectangle.NO_BORDER, 0, 0);\n\n\t\t/* Fee Details Start */\n if (feeAmount.intValue() > 0 && submittedBills.getExpressFlag()) {\n getExpressFeeBlock(paymentSectionTable, locale, feeAmount, GRAY_COLOR);\n }\n\t\t/* End Fee Details */ \n\t\t/* Estimated Delivery Start */\n if (date != null) {\n String message = getMessage(locale, \"pdf.receipt.estimatedDate\", convertToDate(date.getTime()));\n Font font = getFont(null, FONT_SIZE_10, Font.ITALIC);\n PdfPCell paymentSectionEstimatedDeliveryCell = new PdfPCell(new Phrase(message, font));\n cellAlignment(paymentSectionEstimatedDeliveryCell, Element.ALIGN_LEFT, GRAY_COLOR, 0);\n cellAddingToTable(paymentSectionTable, paymentSectionEstimatedDeliveryCell, Rectangle.NO_BORDER, 3, 15);\n PdfPCell localBlankSpaceCell = new PdfPCell(new Phrase(\" \", getFont(WHITE_COLOR, 8, Font.BOLD)));\n cellAlignment(localBlankSpaceCell, 0, GRAY_COLOR, 0);\n cellAddingToTable(paymentSectionTable, localBlankSpaceCell, Rectangle.NO_BORDER, 3, 0);\n }\n\t\t/* End Estimated Delivery */\n }", "private double getCompletedTransactions(int month, int day, int year,\r\n\t\t\tint storeCode) {\n\t\tString query = \"SELECT SUM(p.AMT) FROM invoice o, payment_item p WHERE MONTH (o.TRANS_DT) = '\"+month+\"' && YEAR(o.TRANS_DT) = '\"+year+\"' && DAY(o.TRANS_DT) = '\"+day+\"' AND p.OR_NO = o.OR_NO AND p.STORE_CODE = o.STORE_CODE AND o.STORE_CODE = '\"+storeCode+\"'\"\r\n\t\t + \" AND EXISTS (SELECT 1 FROM INVOICE_SET s WHERE s.OR_NO = o.OR_NO) \";\r\n\t\t\r\n\t\tSystem.out.println(\"COMPLETED TRANSACTIONS QUERY = \" + query);\r\n\t\t\r\n\t\tResultSet rs = Main.getDBManager().executeQuery(query);\r\n//\t\tResultSet rs = Main.getDBManager().executeQuery(\"SELECT sum(p.AMT) from payment_item p WHERE MONTH (p.TRANS_DT) = '\"+month+\"' && YEAR(p.TRANS_DT) = '\"+year+\"' && DAY(p.TRANS_DT) = '\"+day+\"' AND p.STORE_CODE = '\"+storeCode+\"'\");\r\n\t\tDouble completedTransactions = 0.0d;\r\n\t\ttry {\r\n\t\t\twhile(rs.next()){\r\n\t\t\t\tcompletedTransactions = rs.getDouble(1);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tLoggerUtility.getInstance().logStackTrace(e);\r\n\t\t}\r\n\t\tlogger.debug(\"Completed Transactions: \"+completedTransactions);\r\n\t\treturn completedTransactions;\r\n\t}", "public double getPaymentAmount() {\n\t\tdouble amount = 0.0;\n\t\tString content = \"\";\n\t\t\n\t\tWebElement temp = (new WebDriverWait(driver, waitTime))\n\t\t\t\t.until(ExpectedConditions.presenceOfElementLocated(By.id(\"totalAmt\")));\t\t\n\t\tcontent = temp.findElement(By.xpath(\"span[2]\")).getAttribute(\"innerHTML\");\n\t\tamount = Double.parseDouble(content);\n\t\treturn amount;\n\t}", "public OrderPayments updateInvoicePayment(OrderPayments payment, String invoiceNo, String companyId) throws EntityException\n\t\t{\n\n\t\t\tDatastore ds = null;\n\t\t\tCompany cmp = null;\n\t\t\tInwardEntity invoice = null;\n\t\t\tObjectId oid = null;\n\t\t\tObjectId invoiceOid = null;\n\n\n\t\t\ttry\n\t\t\t{\n\t\t\t\tds = Morphiacxn.getInstance().getMORPHIADB(\"test\");\n\t\t\t\toid = new ObjectId(companyId);\n\t\t\t\tQuery<Company> query = ds.createQuery(Company.class).field(\"id\").equal(oid);\n\t\t\t\tcmp = query.get();\n\t\t\t\tif(cmp == null)\n\t\t\t\t\tthrow new EntityException(404, \"cmp not found\", null, null);\n\n\n\t\t\t\tinvoiceOid = new ObjectId(invoiceNo);\n\t\t\t\tQuery<InwardEntity> iQuery = ds.find(InwardEntity.class).filter(\"company\",cmp).filter(\"isInvoice\", true)\n\t\t\t\t\t\t.filter(\"id\", invoiceOid);\n\n\t\t\t\tinvoice = iQuery.get();\n\t\t\t\tif(invoice == null)\n\t\t\t\t\tthrow new EntityException(512, \" invoice not found\", null, null);\n\n\n\t\t\t\t//we need to sub old amt, and add new amt, so get old amt\n\n\t\t\t\tjava.math.BigDecimal prevAmt = null;\n\t\t\t\tboolean match = false;\n\n\t\t\t\t//all deleted in between\n\t\t\t\tif(invoice.getInvoicePayments() == null)\n\t\t\t\t\tthrow new EntityException(513, \"payment not found\", null, null);\n\t\t\t\t\t\n\t\t\t\t\t//always fetch payment prev amt from db, it may have changed in between\t\n\t\t\t\tfor(OrderPayments pay : invoice.getInvoicePayments())\n\t\t\t\t{\n\n\t\t\t\t\tif(pay.getId().toString().equals(payment.getId().toString()))\n\t\t\t\t\t{\n\t\t\t\t\t\tmatch = true;\n\t\t\t\t\t\tprevAmt = pay.getPaymentAmount();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t\tif(match == false)\n\t\t\t\t\tthrow new EntityException(513, \"payment not found\", null, null);\n\n\n\t\t\t\t//payment towards a bill, PO not affected in any way\n\t\t\t\tjava.math.BigDecimal invoiceAdvance = invoice.getInvoiceAdvancetotal().subtract(prevAmt).add(payment.getPaymentAmount());\n\t\t\t\tjava.math.BigDecimal balance = invoice.getInvoiceBalance().add(prevAmt).subtract(payment.getPaymentAmount()); // or grand total - just set advance\n\n\n\t\t\t\t//if null then 0 \n\n\t\t\t\tif(payment.getTdsRate() == null)\n\t\t\t\t\tpayment.setTdsRate(new BigDecimal(0));\n\n\t\t\t\tif(payment.getTdsAmount() == null)\n\t\t\t\t\tpayment.setTdsAmount(new BigDecimal(0));\n\n\t\t\t\t//search for nested payment in the list\n\t\t\t\tiQuery = ds.createQuery(InwardEntity.class).disableValidation().filter(\"id\", invoiceOid).filter(\"invoicePayments.id\", new ObjectId(payment.getId().toString()));\n\n\t\t\t\tUpdateOperations<InwardEntity> ops = ds.createUpdateOperations(InwardEntity.class)\n\n\t\t\t\t\t\t.set(\"invoicePayments.$.paymentDate\", payment.getPaymentDate())\n\t\t\t\t\t\t.set(\"invoicePayments.$.paymentAmount\", payment.getPaymentAmount())\n\t\t\t\t\t\t.set(\"invoicePayments.$.purposeTitle\", payment.getPurposeTitle())\n\t\t\t\t\t\t.set(\"invoicePayments.$.purposeDescription\", payment.getPurposeDescription())\n\t\t\t\t\t\t.set(\"invoicePayments.$.paymentMode\", payment.getPaymentMode())\n\t\t\t\t\t\t.set(\"invoicePayments.$.paymentAccount\", payment.getPaymentAccount())\n\t\t\t\t\t\t.set(\"invoicePayments.$.tdsRate\", payment.getTdsRate())\n\t\t\t\t\t\t.set(\"invoicePayments.$.tdsAmount\", payment.getTdsAmount())\n\t\t\t\t\t\t.set(\"invoicePayments.$.isTdsReceived\", payment.isTdsReceived())\n\t\t\t\t\t\t.set(\"invoiceAdvancetotal\", invoiceAdvance)\n\t\t\t\t\t\t.set(\"invoiceBalance\", balance);\n\n\n\t\t\t\tUpdateResults result = ds.update(iQuery, ops, false);\n\n\t\t\t\tif(result.getUpdatedCount() == 0)\n\t\t\t\t\tthrow new EntityException(512, \"update failed\", null, null);\n\n\n\n\t\t\t}\n\t\t\tcatch(EntityException e)\n\t\t\t{\n\t\t\t\tthrow e;\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\tthrow new EntityException(500, null, e.getMessage(), null);\n\t\t\t}\n\t\t\treturn payment;\n\t\t}", "public static int room_booking(int start, int end){\r\n\r\n\t\tint selected_room = -1;\r\n\t\t// booking_days list is to store all the days between start and end day\r\n\t\tList<Integer> booking_days = new ArrayList<>();\r\n\t\tfor(int i=start;i<=end; i++) {\r\n\t\t\tbooking_days.add(i);\r\n\t\t}\r\n\r\n\t\tfor(int roomNo : hotel_size) {\r\n\r\n\t\t\tif(room_bookings.keySet().contains(roomNo)) {\r\n\t\t\t\tfor (Map.Entry<Integer, Map<Integer,List<Integer>>> entry : room_bookings.entrySet()) {\r\n\r\n\t\t\t\t\tList<Integer> booked_days_for_a_room = new ArrayList<Integer>();\r\n\t\t\t\t\tif(roomNo == entry.getKey()) {\r\n\t\t\t\t\t\tentry.getValue().forEach((bookingId, dates)->{\r\n\t\t\t\t\t\t\tbooked_days_for_a_room.addAll(dates);\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tList<Integer> check_elements = new ArrayList<Integer>();\r\n\t\t\t\t\t\tfor(int element : booking_days) {\r\n\t\t\t\t\t\t\tif(booked_days_for_a_room.contains(element)) {\r\n\t\t\t\t\t\t\t\tstatus = false;\r\n\t\t\t\t\t\t\t\tbreak;\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\tcheck_elements.add(element);\r\n\t\t\t\t\t\t\t\tselected_room = roomNo;\r\n\t\t\t\t\t\t\t\tstatus = 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(status) {\r\n\t\t\t\t\t\t\tselected_room = roomNo;\r\n\t\t\t\t\t\t\treturn selected_room;\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\telse {\r\n\t\t\t\tselected_room = roomNo;\r\n\t\t\t\tstatus = true;\r\n\t\t\t\treturn selected_room;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn selected_room;\r\n\t}", "void sendDamagesAmount(int id, int totalAmount) throws ServiceException;", "@Override\n public VipCardReport getTotal(ReportSearchFilter filter) throws CoreServiceException{\n ServiceHelper.checkSearchFilter(filter, true);\n try {\n return mapper.getTotal(filter);\n } catch (Exception ex) {\n throw new CorePersistenceException(\"Error occurred while accessing the persistence.\", ex);\n }\n }", "@Override \npublic double getPaymentAmount() { \n return getCommissionRate() * getGrossSales(); \n}", "io.opencannabis.schema.commerce.CommercialOrder.OrderPayment getPayment();", "@Then(\"^I should be able to see the Total Amount$\")\n\tpublic void i_should_be_able_to_see_the_Total_Amount() throws Throwable {\n\t bc = pgm.getBookConPage();\n\t\tbc.checkTotal();\n\t}", "public PaymentFeeLink businessValidationForServiceRequests(PaymentFeeLink serviceRequest, ServiceRequestPaymentDto serviceRequestPaymentDto) {\n Optional<BigDecimal> totalCalculatedAmount = serviceRequest.getFees().stream().map(paymentFee -> paymentFee.getCalculatedAmount()).reduce(BigDecimal::add);\n if (totalCalculatedAmount.isPresent() && (totalCalculatedAmount.get().compareTo(serviceRequestPaymentDto.getAmount()) != 0)) {\n throw new ServiceRequestExceptionForNoMatchingAmount(\"The amount should be equal to serviceRequest balance\");\n }\n\n\n //Business validation for amount due for fees\n Optional<BigDecimal> totalAmountDue = serviceRequest.getFees().stream().map(paymentFee -> paymentFee.getAmountDue()).reduce(BigDecimal::add);\n if (totalAmountDue.isPresent() && totalAmountDue.get().compareTo(BigDecimal.ZERO) == 0) {\n throw new ServiceRequestExceptionForNoAmountDue(\"The serviceRequest has already been paid\");\n }\n\n return serviceRequest;\n }", "private void calculatePrice() {\r\n int price = 0;\r\n int day = show.getDateTime().getDayOfMonth();\r\n int month = show.getDateTime().getMonthValue();\r\n \r\n for (int i = 0; i < seats.size(); i++) {\r\n String option = seats.get(i);\r\n \r\n if (Arrays.stream(sectionNames).parallel().anyMatch(option::contains)) {\r\n String section = option.replaceAll(\"\\\\d\",\"\");\r\n int number = Integer.parseInt(option.replaceAll(\"\\\\D+\",\"\"));\r\n \r\n if (section.equals(\"m\")) {\r\n if (number <= 100) {\r\n price += mainFloorPrice;\r\n } else {\r\n price += mainFloorPremium;\r\n }\r\n } else if (section.equals(\"sb\")) {\r\n if (number <= 25) {\r\n price += southBalconyPrice;\r\n } else {\r\n price += southBalconyPremium;\r\n }\r\n } else if (section.equals(\"wb\")) {\r\n price += westBalconyPrice;\r\n } else if (section.equals(\"eb\")) {\r\n price += eastBalconyPrice;\r\n }\r\n }\r\n }\r\n \r\n if (seats.size() >= 5 && seats.size() <= 10 && !(month == 12 && (day == 26 || day == 27))) {\r\n price -= (2 * seats.size());\r\n }\r\n \r\n if (seats.size() >= 11 && seats.size() <= 20 && !(month == 12 && (day == 26 || day == 27))) {\r\n price -= (5 * seats.size());\r\n }\r\n \r\n if (month == 12 && (day == 26 || day == 27)) {\r\n price = seats.size() * 20;\r\n }\r\n \r\n totalPrice = price;\r\n }", "protected KualiDecimal getBalanceAmount(Map<String, Object> fieldValues, String periodCode) {\n if (periodCode == null) {\n return KualiDecimal.ZERO;\n }\n\n fieldValues.put(KFSPropertyConstants.FINANCIAL_BALANCE_TYPE_CODE, KFSConstants.BALANCE_TYPE_ACTUAL);\n KualiDecimal actualBalanceAmount = this.getBalanceAmountOfGivenPeriod(fieldValues, periodCode);\n\n fieldValues.put(KFSPropertyConstants.FINANCIAL_BALANCE_TYPE_CODE, KFSConstants.BALANCE_TYPE_A21);\n KualiDecimal effortBalanceAmount = this.getBalanceAmountOfGivenPeriod(fieldValues, periodCode);\n\n return actualBalanceAmount.add(effortBalanceAmount);\n }", "@GetMapping(\"/total-sum-between-dates\")\n\tpublic Double getTotalTransactionsSumBetweenDatesByType(\n\t\t@RequestParam String type,\n\t\t@RequestParam @DateTimeFormat(pattern = \"dd.MM.yyyy\") Date startDate,\n\t\t@RequestParam @DateTimeFormat(pattern = \"dd.MM.yyyy\") Date endDate) \n\t{\n\t\tDouble totalSum = null;\n\t\t\n\t\ttry {\n\t\t\ttotalSum = transactionService.getTotalTransactionsSumBetweenDatesByType(type, startDate, endDate);\n\t\t}\n\t\tcatch (InvalidDataException e) {\n\t\t\tString exceptionMessage = e.getMessage();\n\t\t\tthrow new InvalidDataException(exceptionMessage);\n\t\t}\n\t\t\n\t\treturn totalSum;\n\t}", "@Override \r\n public double getPaymentAmount() \r\n { \r\n return getQuantity() * getPricePerItem(); // calculate total cost\r\n }", "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n// response.setContentType(\"application/json\");\n //method level variable\n PrintWriter pw=response.getWriter();\n Connection con = null;\n PreparedStatement pst = null;\n ResultSet rs = null;\n String orderId=request.getParameter(\"orderId\");\n double paidAmount=0.0;\n String transactionStatus=\"success\";\n int a=0;\n \n\n\n//receive OrderId from the angular controller\n\n //fetching oder details throug orderId\n try {\n con=new connection().dbConnection();\n \n if (con != null&&orderId!=null) {\n pst = con.prepareStatement(\"select total_amt from book_order where order_id=? \");\n pst.setString(1, orderId);//order id entered\n rs = pst.executeQuery();\n if (rs.next()) {\n paidAmount=rs.getDouble(\"total_amt\");\n\n\n \n } else {\n\n }\n\n }\n } catch (SQLException e) {\n e.printStackTrace();\n try{con.close();\n pst.close();\n rs.close();}\n catch (SQLException ep) {\n ep.printStackTrace();\n }\n \n }\n finally{\n \n try{con.close();\n pst.close();\n rs.close();}\n catch (SQLException ep) {\n ep.printStackTrace();\n }\n \n }\n \n\n \n \n \n \n \n //creating transaction\n \n try {\n con=new connection().dbConnection();\n \n if (con != null) {\n pst = con.prepareStatement(\"insert into payment values(transaction_id.nextval,?,?,(select sysdate from dual),?) \");\n pst.setString(1, orderId);//order id entered\n pst.setString(2,transactionStatus);\n pst.setDouble(3,paidAmount);\n a = pst.executeUpdate();\n if (a!=0) {\n System.out.println(\"transaction done\");\n\n\n \n } else {\n\n }\n\n }\n } catch (SQLException e) {\n e.printStackTrace();\n try{con.close();\n pst.close();\n rs.close();}\n catch (SQLException ep) {\n ep.printStackTrace();\n }\n \n }\n finally{\n \n try{con.close();\n pst.close();\n rs.close();}\n catch (SQLException ep) {\n ep.printStackTrace();\n }\n \n }\n \n \n \n \n \n }", "BigDecimal getTotal();", "BigDecimal getTotal();", "boolean addBillToReservation(long billId, long reservationId);", "@Query(value = \"SELECT sum(total_lkr) FROM receipt WHERE rec_date BETWEEN :Date1 and :Date2\", nativeQuery = true)\n\tBigDecimal TotalrevanuelastYear(@Param(\"Date1\") LocalDate Date1, @Param(\"Date2\") LocalDate Date2);", "@Override\n public String salaryPosting(List<HrSalaryProcessingTO> hrSalaryProcessingTOs, String selectionCriteria,\n String selectedValues, String authBy, Date fstDt, Date lastDt) throws Exception {\n long begin = System.nanoTime();\n UserTransaction ut = context.getUserTransaction();\n List<TransferSmsRequestTo> smsList = new ArrayList();\n// String smsAccountNo = \"\";\n// double smsAmount = 0.0;\n try {\n ut.begin();\n //GROOS POSTING IN ACCOUNT OR NET POSTING 0 : GROSS , 1: NET\n int grossOrNet = ftsFacade.getCodeForReportName(\"GROSS_OR_NET\");\n if (grossOrNet == 0) {\n \n ibtFacade = (InterBranchTxnFacadeRemote) ServiceLocator.getInstance().lookup(\"InterBranchTxnFacade\");\n ftsFacade = (FtsPostingMgmtFacadeRemote) ServiceLocator.getInstance().lookup(\"FtsPostingMgmtFacade\");\n SimpleDateFormat ymd = new SimpleDateFormat(\"yyyy-MM-dd\");\n\n //GET THE SALARY HEAD TO DEBIT\n String debitGlSalary = \"\";\n List salGlList = em.createNativeQuery(\"select acno from abb_parameter_info where purpose = 'SAL_GL_HEAD'\").getResultList();\n if (!salGlList.isEmpty()) {\n debitGlSalary = salGlList.get(0).toString();\n } else {\n throw new Exception(\"Please Define Salary Debit GL Head\");\n }\n\n //LOAN RECOVERED FROM SALARY OR NOT 0 : NO , 1: YES\n int loanRecInSal = ftsFacade.getCodeForReportName(\"LOAN_REC_IN_SAL\");\n\n //PF IN GL OR IN ACCOUNT 0 : IN ACCOUNT , 1: IN GL\n int pfInGl = ftsFacade.getCodeForReportName(\"PF_IN_GL\");\n\n\n //PF EMPLOYER CONTRIBUTION 0 : NO , 1: YES\n int pfEmpCont = ftsFacade.getCodeForReportName(\"PF_EMPLOYER_CONT\");\n\n String pfContHead = \"\";\n if (pfEmpCont == 1) {\n //GET THE PF CONTRIBUTION HEAD\n List pfContHeadList = em.createNativeQuery(\"select acno from abb_parameter_info where purpose = 'PF_CONT_HEAD'\").getResultList();\n if (!pfContHeadList.isEmpty()) {\n pfContHead = pfContHeadList.get(0).toString();\n } else {\n throw new Exception(\"Please Define PF Contribution Head\");\n }\n }\n\n //TAX ON SALARY 0 : NO , 1: YES\n int taxOnSal = ftsFacade.getCodeForReportName(\"TAX_ON_SAL\");\n\n //GET THE SALARY HEAD TO DEBIT\n String taxGlHead = \"\";\n List taxGlList = em.createNativeQuery(\"Select TDS_GLHead From tdsslab Where TDS_Applicabledate In (select max(TDS_Applicabledate) from tdsslab\"\n + \" where TDS_Applicabledate<='\" + ymd.format(new Date()) + \"')\").getResultList();\n if (!taxGlList.isEmpty()) {\n taxGlHead = taxGlList.get(0).toString();\n } else {\n throw new Exception(\"Please Define TDS GL Head\");\n }\n\n if (selectionCriteria.equalsIgnoreCase(\"BRN\")) {\n debitGlSalary = selectedValues + debitGlSalary;\n pfContHead = selectedValues + pfContHead;\n taxGlHead = selectedValues + taxGlHead;\n } else {\n String empBrn = \"\";\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n empBrn = salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch();\n }\n debitGlSalary = empBrn + debitGlSalary;\n pfContHead = empBrn + pfContHead;\n taxGlHead = empBrn + taxGlHead;\n }\n\n double totDebitAmt = 0;\n double pfTotAmt = 0;\n double dedTotAmt = 0;\n double dedTotTax = 0;\n String remoteIden = remoteBranchIdentification(hrSalaryProcessingTOs, \"S\");\n\n //To Save The Details of The Employee Salary\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n HrSalaryProcessing hrSalProcessing = new HrSalaryProcessing();\n HrSalaryProcessingPK hrSalProcessPk = new HrSalaryProcessingPK();\n for (int i = 0; i < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); i++) {\n HrSalaryProcessingDtl hrSalDtl = new HrSalaryProcessingDtl();\n //HrSalaryProcessingDtlPK hrSalDtlPk = new HrSalaryProcessingDtlPK();\n\n // hrSalDtlPk.setRefNo(salaryProcessingTO.getRefNo());\n //hrSalDtlPk.setComponentType(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getComponentType());\n // hrSalDtlPk.setEmpCode(BigInteger.valueOf(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getEmpCode()));\n // hrSalDtlPk.setCompCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getCompCode());\n // hrSalDtl.setHrSalaryProcessingDtlPK(hrSalDtlPk);\n hrSalDtl.setRefNo(salaryProcessingTO.getRefNo());\n hrSalDtl.setComponentType(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getComponentType());\n hrSalDtl.setEmpCode(BigInteger.valueOf(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getEmpCode()));\n hrSalDtl.setCompCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getCompCode());\n hrSalDtl.setAmount((float) salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary());\n hrSalDtl.setDefaultComp(salaryProcessingTO.getDefaultComp());\n hrSalDtl.setDescShortCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getShCode());\n hrSalDtl.setPurposeCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getPurCode());\n hrSalDtl.setMonth(salaryProcessingTO.getHrSalaryProcessingPK().getMonths());\n hrSalDtl.setEnteredDate(new Date());\n hrSalDtl.setMonthStartDate(fstDt);\n hrSalDtl.setMonthLastDate(lastDt);\n hrSalDtl.setGlCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getGlCode());\n HrSalaryProcessingDtlDAO salarydtlDAO = new HrSalaryProcessingDtlDAO(em);\n salarydtlDAO.save(hrSalDtl);\n\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getShCode() == 1) {\n if (pfEmpCont == 1) {\n HrSalaryProcessingDtl hrSalDtl1 = new HrSalaryProcessingDtl();\n //HrSalaryProcessingDtlPK hrSalDtlPk1 = new HrSalaryProcessingDtlPK();\n // hrSalDtlPk1.setRefNo(salaryProcessingTO.getRefNo());\n // hrSalDtlPk1.setComponentType(\"EMPLOYER PF CONTRIBUTION \");\n // hrSalDtlPk1.setEmpCode(BigInteger.valueOf(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getEmpCode()));\n // hrSalDtlPk1.setCompCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getCompCode());\n // hrSalDtl1.setHrSalaryProcessingDtlPK(hrSalDtlPk1);\n hrSalDtl1.setRefNo(salaryProcessingTO.getRefNo());\n hrSalDtl1.setComponentType(\"EMPLOYER PF CONTRIBUTION \");\n hrSalDtl1.setEmpCode(BigInteger.valueOf(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getEmpCode()));\n hrSalDtl1.setCompCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getCompCode());\n hrSalDtl1.setAmount((float) salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary());\n hrSalDtl1.setDefaultComp(salaryProcessingTO.getDefaultComp());\n hrSalDtl1.setDescShortCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getShCode());\n hrSalDtl1.setPurposeCode(\"PUR004\");\n hrSalDtl1.setMonth(salaryProcessingTO.getHrSalaryProcessingPK().getMonths());\n hrSalDtl1.setEnteredDate(new Date());\n hrSalDtl1.setMonthStartDate(fstDt);\n hrSalDtl1.setMonthLastDate(lastDt);\n\n hrSalDtl1.setGlCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getGlCode());\n HrSalaryProcessingDtlDAO salarydtlDAO1 = new HrSalaryProcessingDtlDAO(em);\n salarydtlDAO1.save(hrSalDtl1);\n\n pfTotAmt = pfTotAmt + salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary();\n }\n }\n dedTotAmt = dedTotAmt + salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary();\n }\n }\n\n hrSalProcessPk.setEmpCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(0).getHrSalaryProcessingDetailPK().getEmpCode());\n hrSalProcessPk.setMonths(salaryProcessingTO.getHrSalaryProcessingPK().getMonths());\n hrSalProcessPk.setCompCode(salaryProcessingTO.getHrSalaryProcessingPK().getCompCode());\n hrSalProcessPk.setCalDateFrom(salaryProcessingTO.getHrSalaryProcessingPK().getCalDateFrom());\n hrSalProcessPk.setCalDateTo(salaryProcessingTO.getHrSalaryProcessingPK().getCalDateTo());\n hrSalProcessing.setHrSalaryProcessingPK(hrSalProcessPk);\n hrSalProcessing.setAuthBy(salaryProcessingTO.getAuthBy());\n hrSalProcessing.setDeductiveTax(salaryProcessingTO.getDeductiveTax());\n hrSalProcessing.setDefaultComp(salaryProcessingTO.getDefaultComp());\n hrSalProcessing.setEnteredBy(salaryProcessingTO.getEnteredBy());\n hrSalProcessing.setGrossSalary(salaryProcessingTO.getGrossSalary());\n hrSalProcessing.setModDate(salaryProcessingTO.getModDate());\n hrSalProcessing.setPostFlag(salaryProcessingTO.getPostFlag());\n hrSalProcessing.setReceiptFlag(salaryProcessingTO.getReceiptFlag());\n hrSalProcessing.setRefNo(salaryProcessingTO.getRefNo());\n hrSalProcessing.setSalary(salaryProcessingTO.getSalary());\n hrSalProcessing.setStatFlag(salaryProcessingTO.getStatFlag());\n hrSalProcessing.setStatUpFlag(salaryProcessingTO.getStatUpFlag());\n\n HrSalaryProcessingDAO salaryDAO = new HrSalaryProcessingDAO(em);\n salaryDAO.save(hrSalProcessing);\n totDebitAmt = totDebitAmt + salaryProcessingTO.getGrossSalary();\n dedTotTax = dedTotTax + salaryProcessingTO.getDeductiveTax();\n }\n\n //TranDesc = 81\n float trsNo = ftsFacade.getTrsNo();\n String msg = \"\";\n\n //Map<Integer, List<String>> deductMap = new HashMap<Integer, List<String>>();\n Map<Integer, List<String>> deductMap = new ConcurrentHashMap<Integer, List<String>>();\n\n if (remoteIden.equalsIgnoreCase(\"TRUE\")) {\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n float recNo = ftsFacade.getRecNo();\n\n String appBranch = \"\";\n if (selectionCriteria.equalsIgnoreCase(\"BRN\")) {\n appBranch = selectedValues;\n } else {\n appBranch = salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch();\n }\n\n if (salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2).equalsIgnoreCase(appBranch)) {\n TransferSmsRequestTo to = new TransferSmsRequestTo();\n to.setAcno(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n to.setAmount(salaryProcessingTO.getGrossSalary());\n smsList.add(to);\n\n msg = ibtFacade.cbsPostingCx(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 0, ymd.format(new Date()), salaryProcessingTO.getGrossSalary(), 0.0, 2,\n \"Salary For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2), salaryProcessingTO.getEnteredBy(), authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',0,\" + salaryProcessingTO.getGrossSalary() + \",1,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','Salary Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n TransferSmsRequestTo to = new TransferSmsRequestTo();\n to.setAcno(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n to.setAmount(salaryProcessingTO.getGrossSalary());\n smsList.add(to);\n\n msg = ibtFacade.cbsPostingSx(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 0, ymd.format(new Date()), salaryProcessingTO.getGrossSalary(), 0.0, 2,\n \"Salary For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2),\n appBranch, salaryProcessingTO.getEnteredBy(), authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',0,\" + salaryProcessingTO.getGrossSalary() + \",1,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','Salary Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + appBranch + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',0,'','')\").executeUpdate();\n\n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n }\n\n for (int m = 0; m < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); m++) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if (deductMap.containsKey(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode())) {\n for (Iterator it = deductMap.entrySet().iterator(); it.hasNext();) {\n Map.Entry entry = (Map.Entry) it.next();\n int sKey = (Integer) entry.getKey();\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode() == sKey) {\n List kLst = (List) entry.getValue();\n String sGl = kLst.get(0).toString();\n double nVal = Double.parseDouble(kLst.get(1).toString()) + salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getSalary();\n List glVal = new ArrayList();\n glVal.add(sGl);\n glVal.add(nVal);\n\n deductMap.remove(sKey);\n deductMap.put(sKey, glVal);\n }\n }\n } else {\n List glVal = new ArrayList();\n glVal.add(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getGlCode());\n glVal.add(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getSalary());\n deductMap.put(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode(), glVal);\n }\n }\n }\n }\n } else {\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n float recNo = ftsFacade.getRecNo();\n String acNature = ftsFacade.getAccountNature(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n\n TransferSmsRequestTo to = new TransferSmsRequestTo();\n to.setAcno(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n to.setAmount(salaryProcessingTO.getGrossSalary());\n smsList.add(to);\n\n String lResult = ftsFacade.insertRecons(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 0,\n salaryProcessingTO.getGrossSalary(), ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Salary For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(), salaryProcessingTO.getEnteredBy(),\n trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch(), 0, null, \"\", \"\");\n if (lResult.equalsIgnoreCase(\"True\")) {\n msg = ftsFacade.updateBalance(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), salaryProcessingTO.getSalary(), 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"True\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',0,\" + salaryProcessingTO.getGrossSalary() + \",1,2,\"\n + \"\" + recNo + \",'',null,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','Salary Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n throw new Exception(msg);\n }\n\n for (int m = 0; m < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); m++) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if (deductMap.containsKey(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode())) {\n for (Iterator it = deductMap.entrySet().iterator(); it.hasNext();) {\n Map.Entry entry = (Map.Entry) it.next();\n int sKey = (Integer) entry.getKey();\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode() == sKey) {\n List kLst = (List) entry.getValue();\n String sGl = kLst.get(0).toString();\n double nVal = Double.parseDouble(kLst.get(1).toString()) + salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getSalary();\n List glVal = new ArrayList();\n glVal.add(sGl);\n glVal.add(nVal);\n\n deductMap.remove(sKey);\n deductMap.put(sKey, glVal);\n }\n }\n } else {\n List glVal = new ArrayList();\n glVal.add(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getGlCode());\n glVal.add(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getSalary());\n deductMap.put(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode(), glVal);\n }\n }\n }\n } else {\n throw new Exception(lResult);\n }\n }\n }\n\n if (pfInGl == 0) {\n String remoteIdenP = remoteBranchIdentification(hrSalaryProcessingTOs, \"P\");\n\n if (remoteIdenP.equalsIgnoreCase(\"TRUE\")) {\n double pfAmt = 0d;\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n for (int i = 0; i < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); i++) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getShCode() == 1) {\n pfAmt = salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary();\n\n String appBranch = \"\";\n if (selectionCriteria.equalsIgnoreCase(\"BRN\")) {\n appBranch = selectedValues;\n } else {\n appBranch = salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch();\n }\n\n float recNo = ftsFacade.getRecNo();\n if (salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2).equalsIgnoreCase(appBranch)) {\n msg = ibtFacade.cbsPostingCx(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 1, ymd.format(new Date()), pfAmt, 0.0, 2,\n \"PF Deduction For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2), salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n msg = ftsFacade.updateBalance(ftsFacade.getAccountNature(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 0, pfAmt, \"Y\", \"Y\");\n\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',0,\" + pfAmt + \",1,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',0,'','')\").executeUpdate();\n\n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n\n msg = ibtFacade.cbsPostingSx(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 1, ymd.format(new Date()), pfAmt, 0.0, 2,\n \"PF Deduction For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2),\n appBranch, salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n msg = ftsFacade.updateBalance(ftsFacade.getAccountNature(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 0, pfAmt, \"Y\", \"Y\");\n\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',0,\" + pfAmt + \",1,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + appBranch + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n throw new Exception(msg);\n }\n }\n\n if (salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2).equalsIgnoreCase(appBranch)) {\n recNo = ftsFacade.getRecNo();\n msg = ibtFacade.cbsPostingCx(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0, ymd.format(new Date()), pfAmt, 0.0, 2,\n \"PF For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2), salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + pfAmt + \",0,0,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2) + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n recNo = ftsFacade.getRecNo();\n msg = ibtFacade.cbsPostingSx(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0, ymd.format(new Date()), pfAmt, 0.0, 2,\n \"PF For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n appBranch, salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + pfAmt + \",0,0,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + appBranch + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n }\n\n if (pfEmpCont == 1) {\n recNo = ftsFacade.getRecNo();\n\n if (salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2).equalsIgnoreCase(appBranch)) {\n msg = ibtFacade.cbsPostingCx(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0, ymd.format(new Date()), pfAmt, 0.0, 2,\n \"PF Employer Contribution For The Month\" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2), salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + pfAmt + \",0,0,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Employer Contribution For The Month Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2) + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n msg = ibtFacade.cbsPostingSx(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0, ymd.format(new Date()), pfAmt, 0.0, 2,\n \"PF Employer Contribution For The Month\" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n appBranch, salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + pfAmt + \",0,0,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Employer Contribution For The Month Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + appBranch + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n }\n }\n }\n }\n }\n }\n } else {\n double pfAmt = 0d;\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n for (int i = 0; i < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); i++) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getShCode() == 1) {\n pfAmt = salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary();\n\n float recNo = ftsFacade.getRecNo();\n String acNature = ftsFacade.getAccountNature(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount());\n\n String lResult = ftsFacade.insertRecons(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 1,\n pfAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"PF Deduction For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(), salaryProcessingTO.getEnteredBy(),\n trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch(), 0, null, \"\", \"\");\n if (lResult.equalsIgnoreCase(\"True\")) {\n msg = ftsFacade.updateBalance(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 0, pfAmt, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"True\")) {\n lResult = ftsFacade.insertRecons(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0,\n pfAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"PF For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(), salaryProcessingTO.getEnteredBy(),\n trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch(), 0, null, \"\", \"\");\n if (lResult.equalsIgnoreCase(\"True\")) {\n msg = ftsFacade.updateBalance(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), pfAmt, 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"True\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',0,\" + pfAmt + \",1,2,\"\n + \"\" + recNo + \",'',null,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Deducted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n\n insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + pfAmt + \",0,0,2,\"\n + \"\" + recNo + \",'',null,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n }\n } else {\n throw new Exception(lResult);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n\n if (pfEmpCont == 1) {\n recNo = ftsFacade.getRecNo();\n acNature = ftsFacade.getAccountNature(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount());\n\n lResult = ftsFacade.insertRecons(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0,\n pfAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"PF Employer Contribution For The Month\" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(), salaryProcessingTO.getEnteredBy(),\n trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch(), 0, null, \"\", \"\");\n if (lResult.equalsIgnoreCase(\"True\")) {\n msg = ftsFacade.updateBalance(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), pfAmt, 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"True\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + pfAmt + \",0,0,2,\"\n + \"\" + recNo + \",'',null,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Employer Contribution For The Month Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n }\n }\n }\n }\n }\n }\n }\n\n float recNo = ftsFacade.getRecNo();\n\n String lResult = ftsFacade.insertRecons(\"PO\", debitGlSalary, 1, totDebitAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Salary For The Month\", authBy, trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n debitGlSalary.substring(0, 2), debitGlSalary.substring(0, 2), 0, null, \"\", \"\");\n\n if (lResult.equalsIgnoreCase(\"true\")) {\n msg = ftsFacade.updateBalance(\"PO\", debitGlSalary, 0, totDebitAmt, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + debitGlSalary + \"','\" + ftsFacade.ftsGetCustName(debitGlSalary) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',\" + totDebitAmt + \",\"\n + \"0,0,2,\" + recNo + \",'',date_format(curdate(),'%Y%m%d'),3,0,'Y','\" + authBy + \"',81 ,0,'A',\"\n + \"'Salary Posting. Entry','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + debitGlSalary.substring(0, 2) + \"',\"\n + \"'\" + debitGlSalary.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + debitGlSalary);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n\n if (pfEmpCont == 1) {\n recNo = ftsFacade.getRecNo();\n\n lResult = ftsFacade.insertRecons(\"PO\", pfContHead, 1, pfTotAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Employer PF Contribution Entry\", authBy, trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n pfContHead.substring(0, 2), pfContHead.substring(0, 2), 0, null, \"\", \"\");\n\n if (lResult.equalsIgnoreCase(\"true\")) {\n msg = ftsFacade.updateBalance(\"PO\", pfContHead, 0, pfTotAmt, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + pfContHead + \"','\" + ftsFacade.ftsGetCustName(pfContHead) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',0,\"\n + \"\" + pfTotAmt + \",1,2,\" + recNo + \",'',date_format(curdate(),'%Y%m%d'),3,0,'Y','\" + authBy + \"',81 ,0,'A',\"\n + \"'Employer PF Contribution Entry','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + pfContHead.substring(0, 2) + \"',\"\n + \"'\" + pfContHead.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + pfContHead);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n }\n\n if (taxOnSal == 1) {\n recNo = ftsFacade.getRecNo();\n\n lResult = ftsFacade.insertRecons(\"PO\", taxGlHead, 0, dedTotTax, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Total Tds Entery On Salary\", authBy, trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n taxGlHead.substring(0, 2), taxGlHead.substring(0, 2), 0, null, \"\", \"\");\n\n if (lResult.equalsIgnoreCase(\"true\")) {\n msg = ftsFacade.updateBalance(\"PO\", taxGlHead, dedTotTax, 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + taxGlHead + \"','\" + ftsFacade.ftsGetCustName(taxGlHead) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',\" + dedTotTax + \",\"\n + \"0,0,2,\" + recNo + \",'',date_format(curdate(),'%Y%m%d'),3,0,'Y','\" + authBy + \"',81 ,0,'A',\"\n + \"'Total Tds Entery On Salary','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + taxGlHead.substring(0, 2) + \"',\"\n + \"'\" + taxGlHead.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + taxGlHead);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n }\n\n for (Iterator it = deductMap.entrySet().iterator(); it.hasNext();) {\n Map.Entry entry = (Map.Entry) it.next();\n List kLst = (List) entry.getValue();\n String sGl = kLst.get(0).toString();\n String sSGl = kLst.get(0).toString();\n double nVal = Double.parseDouble(kLst.get(1).toString());\n int sKey = (Integer) entry.getKey();\n if (pfInGl == 1 && sKey == 1) {\n if ((sGl == null || sGl.equalsIgnoreCase(\"\"))) {\n throw new Exception(\"PF GL NOT DEFINED\");\n }\n nVal = nVal + pfTotAmt;\n }\n\n if (!(sGl == null || sGl.equalsIgnoreCase(\"\"))) {\n recNo = ftsFacade.getRecNo();\n\n if (selectionCriteria.equalsIgnoreCase(\"BRN\")) {\n sGl = selectedValues + sGl + \"01\";\n } else {\n String empBrn = \"\";\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n empBrn = salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch();\n }\n sGl = empBrn + sGl + \"01\";\n }\n\n lResult = ftsFacade.insertRecons(\"PO\", sGl, 0, nVal, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Salary Deduction\", authBy, trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n sGl.substring(0, 2), sGl.substring(0, 2), 0, null, \"\", \"\");\n\n if (lResult.equalsIgnoreCase(\"true\")) {\n msg = ftsFacade.updateBalance(\"PO\", sGl, nVal, 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + sGl + \"','\" + ftsFacade.ftsGetCustName(sGl) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',\" + nVal + \",\"\n + \"0,0,2,\" + recNo + \",'',date_format(curdate(),'%Y%m%d'),3,0,'Y','\" + authBy + \"',81 ,0,'A',\"\n + \"'Salary Deduction','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + sGl.substring(0, 2) + \"',\"\n + \"'\" + sGl.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + sGl);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n\n if (remoteIden.equalsIgnoreCase(\"true\")) {\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n for (int z = 0; z < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); z++) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(z).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if ((salaryProcessingTO.getHrSalaryProcessingDetailTO().get(z).getGlCode().equalsIgnoreCase(sSGl))\n && (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(z).getShCode() == sKey)) {\n\n recNo = ftsFacade.getRecNo();\n\n String appBranch = \"\";\n if (selectionCriteria.equalsIgnoreCase(\"BRN\")) {\n appBranch = selectedValues;\n } else {\n appBranch = salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch();\n }\n\n if (salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2).equalsIgnoreCase(appBranch)) {\n msg = ibtFacade.cbsPostingCx(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 1, ymd.format(new Date()), salaryProcessingTO.getHrSalaryProcessingDetailTO().get(z).getSalary(), 0.0, 2,\n \"Deduction For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2), salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n msg = ftsFacade.updateBalance(ftsFacade.getAccountNature(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 0, salaryProcessingTO.getHrSalaryProcessingDetailTO().get(z).getSalary(), \"Y\", \"Y\");\n\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',0,\" + salaryProcessingTO.getHrSalaryProcessingDetailTO().get(z).getSalary() + \",1,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','Deduction','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n msg = ibtFacade.cbsPostingSx(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 1, ymd.format(new Date()), salaryProcessingTO.getHrSalaryProcessingDetailTO().get(z).getSalary(), 0.0, 2,\n \"Deduction For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2),\n appBranch, salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',0,\" + salaryProcessingTO.getHrSalaryProcessingDetailTO().get(z).getSalary() + \",1,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','Deduction','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + appBranch + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n ftsFacade.updateBalance(ftsFacade.getAccountNature(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()), salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 0, salaryProcessingTO.getHrSalaryProcessingDetailTO().get(z).getSalary(), \"Y\", \"Y\");\n }\n }\n }\n }\n }\n } else {\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n for (int z = 0; z < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); z++) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(z).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if ((salaryProcessingTO.getHrSalaryProcessingDetailTO().get(z).getGlCode().equalsIgnoreCase(sSGl))\n && (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(z).getShCode() == sKey)) {\n\n recNo = ftsFacade.getRecNo();\n String acNat = ftsFacade.getAccountNature(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n lResult = ftsFacade.insertRecons(acNat, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 1,\n salaryProcessingTO.getHrSalaryProcessingDetailTO().get(z).getSalary(), ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Deduction From Salary\", authBy, trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2), 0, null, \"\", \"\");\n\n if (lResult.equalsIgnoreCase(\"true\")) {\n msg = ftsFacade.updateBalance(acNat, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 0, salaryProcessingTO.getHrSalaryProcessingDetailTO().get(z).getSalary(), \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode() + \"','\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',0\"\n + \",\" + salaryProcessingTO.getHrSalaryProcessingDetailTO().get(z).getSalary() + \",1,2,\" + recNo + \",'',date_format(curdate(),'%Y%m%d'),3,0,'Y','\" + authBy + \"',81 ,0,'A',\"\n + \"'Deduction Salary','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n }\n }\n }\n }\n }\n }\n }\n\n if (loanRecInSal == 1) {\n String remoteIdenLoan = remoteLoanBranchIdentification(hrSalaryProcessingTOs, selectionCriteria, selectedValues);\n //float trsLoan = ftsFacade.getTrsNo();\n if (remoteIden.equalsIgnoreCase(\"False\") && remoteIdenLoan.equalsIgnoreCase(\"False\")) {\n String prevEmpId = \"\";\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n String empId = salaryProcessingTO.getHrPersonnelDetailsTO().getEmpId();\n if (!prevEmpId.equalsIgnoreCase(empId)) {\n prevEmpId = empId;\n String salAc = salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode();\n List acNoLst = getLoanAcList(salaryProcessingTO.getHrSalaryProcessingPK().getCompCode(), empId);\n if (!acNoLst.isEmpty()) {\n for (int l = 0; l < acNoLst.size(); l++) {\n Object[] lLsVec = (Object[]) acNoLst.get(l);\n String lAcNo = lLsVec[0].toString();\n double emiAmt = Double.parseDouble(lLsVec[1].toString());\n float lRecNo = ftsFacade.getRecNo();\n String acNat = ftsFacade.getAccountNature(salAc);\n String loanResult = ftsFacade.insertRecons(acNat, salAc, 1, emiAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Recovery for loan \" + lAcNo, authBy, trsNo, null, lRecNo, \"Y\", authBy, 0, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n salAc.substring(0, 2), lAcNo.substring(0, 2), 0, null, \"\", \"\");\n if (loanResult.equalsIgnoreCase(\"true\")) {\n msg = ftsFacade.updateBalance(acNat, salAc, 0, emiAmt, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + salAc + \"','\" + ftsFacade.ftsGetCustName(salAc) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',0,\" + emiAmt + \",\"\n + \"1,2,\" + lRecNo + \",'',null,3,0,'Y','\" + authBy + \"',0 ,0,'A',\"\n + \"'Recovery For Loan','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + salAc.substring(0, 2) + \"',\"\n + \"'\" + lAcNo.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salAc);\n }\n\n lRecNo = ftsFacade.getRecNo();\n String lacNat = ftsFacade.getAccountNature(lAcNo);\n\n loanResult = ftsFacade.insertRecons(lacNat, lAcNo, 0, emiAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"loan Recovery from salary\" + salAc, authBy, trsNo, null, lRecNo, \"Y\", authBy, 0, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n salAc.substring(0, 2), lAcNo.substring(0, 2), 0, null, \"\", \"\");\n\n msg = ftsFacade.updateBalance(lacNat, lAcNo, emiAmt, 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n if (loanResult.equalsIgnoreCase(\"True\")) {\n msg = ftsFacade.loanDisbursementInstallment(lAcNo, emiAmt, 0, authBy, ymd.format(new Date()), lRecNo, 0, \"\");\n if (msg.equalsIgnoreCase(\"true\")) {\n insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + lAcNo + \"','\" + ftsFacade.ftsGetCustName(lAcNo) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',\" + emiAmt + \",\"\n + \"0,0,2,\" + lRecNo + \",'',null,3,0,'Y','\" + authBy + \"',0 ,0,'A',\"\n + \"'Recovery For Loan','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + salAc.substring(0, 2) + \"',\"\n + \"'\" + lAcNo.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + lAcNo);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(loanResult);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(loanResult);\n }\n }\n }\n }\n }\n } else {\n String prevEmpId = \"\";\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n String empId = salaryProcessingTO.getHrPersonnelDetailsTO().getEmpId();\n if (!prevEmpId.equalsIgnoreCase(empId)) {\n String salAc = salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode();\n List acNoLst = getLoanAcList(salaryProcessingTO.getHrSalaryProcessingPK().getCompCode(), empId);\n if (!acNoLst.isEmpty()) {\n for (int l = 0; l < acNoLst.size(); l++) {\n Object[] lLsVec = (Object[]) acNoLst.get(l);\n String lAcNo = lLsVec[0].toString();\n double emiAmt = Double.parseDouble(lLsVec[1].toString());\n String appBranch = \"\";\n if (selectionCriteria.equalsIgnoreCase(\"BRN\")) {\n appBranch = selectedValues;\n } else {\n appBranch = salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch();\n }\n\n recNo = ftsFacade.getRecNo();\n if (appBranch.equalsIgnoreCase(salAc.substring(0, 2))) {\n msg = ibtFacade.cbsPostingCx(salAc, 1, ymd.format(new Date()), emiAmt, emiAmt, 2, \"\", 0f, \"\", \"\",\n null, 3, 0f, recNo, 0, salAc.substring(0, 2), salAc.substring(0, 2), authBy, authBy, trsNo, \"\", \"\");\n\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n msg = ftsFacade.updateBalance(ftsFacade.getAccountNature(salAc), salAc, 0, emiAmt, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salAc + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salAc) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',0,\" + emiAmt + \",1,2,\" + recNo + \",'',null,3,0,'Y',\"\n + \"'\" + authBy + \"',81 ,0,'A','EMI Recovered','\" + authBy + \"',\" + trsNo + \",\"\n + \"CURRENT_TIMESTAMP,'','\" + salAc.substring(0, 2) + \"','\" + salAc.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n msg = ibtFacade.cbsPostingSx(salAc, 1, ymd.format(new Date()), emiAmt, emiAmt, 2, \"\", 0f, \"\", \"\", null, 3, 0f,\n recNo, 0, salAc.substring(0, 2), appBranch, authBy, authBy, trsNo, \"\", \"\");\n\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salAc + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salAc) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',0,\" + emiAmt + \",1,2,\" + recNo + \",'',null,3,0,'Y',\"\n + \"'\" + authBy + \"',81 ,0,'A','EMI Recovered','\" + authBy + \"',\" + trsNo + \",\"\n + \"CURRENT_TIMESTAMP,'','\" + appBranch + \"','\" + salAc.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n ftsFacade.updateBalance(ftsFacade.getAccountNature(salAc), salAc, 0, emiAmt, \"Y\", \"Y\");\n }\n\n recNo = ftsFacade.getRecNo();\n if (appBranch.equalsIgnoreCase(lAcNo.substring(0, 2))) {\n msg = ibtFacade.cbsPostingCx(lAcNo, 0, ymd.format(new Date()), emiAmt, emiAmt, 2, \"Installment deduct from the salary for the \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(), 0f, \"\", \"\", null, 3,\n 0f, recNo, 0, lAcNo.substring(0, 2), lAcNo.substring(0, 2), authBy, authBy, trsNo, \"\", \"\");\n\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + lAcNo + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(lAcNo) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + emiAmt + \",0,0,2,\" + recNo + \",'',null,3,0,'Y',\"\n + \"'\" + authBy + \"',81 ,0,'A','EMI Recovered','\" + authBy + \"',\" + trsNo + \",\"\n + \"CURRENT_TIMESTAMP,'','\" + lAcNo.substring(0, 2) + \"','\" + lAcNo.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n msg = ibtFacade.cbsPostingSx(lAcNo, 0, ymd.format(new Date()), emiAmt, emiAmt, 2, \"Installment deduct from the salary for the \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(), 0f, \"\", \"\", null, 3, 0f,\n recNo, 0, lAcNo.substring(0, 2), appBranch, authBy, authBy, trsNo, \"\", \"\");\n\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + lAcNo + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(lAcNo) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + emiAmt + \",0,0,2,\" + recNo + \",'',null,3,0,'Y',\"\n + \"'\" + authBy + \"',81 ,0,'A','EMI Recovered','\" + authBy + \"',\" + trsNo + \",\"\n + \"CURRENT_TIMESTAMP,'','\" + appBranch + \"','\" + lAcNo.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n }\n }\n }\n }\n }\n }\n }\n } else if (grossOrNet == 1) {\n ibtFacade = (InterBranchTxnFacadeRemote) ServiceLocator.getInstance().lookup(\"InterBranchTxnFacade\");\n ftsFacade = (FtsPostingMgmtFacadeRemote) ServiceLocator.getInstance().lookup(\"FtsPostingMgmtFacade\");\n SimpleDateFormat ymd = new SimpleDateFormat(\"yyyy-MM-dd\");\n\n //GET THE SALARY HEAD TO DEBIT\n String debitGlSalary = \"\";\n List salGlList = em.createNativeQuery(\"select acno from abb_parameter_info where purpose = 'SAL_GL_HEAD'\").getResultList();\n if (!salGlList.isEmpty()) {\n debitGlSalary = salGlList.get(0).toString();\n } else {\n throw new Exception(\"Please Define Salary Debit GL Head\");\n }\n\n //LOAN RECOVERED FROM SALARY OR NOT 0 : NO , 1: YES\n int loanRecInSal = ftsFacade.getCodeForReportName(\"LOAN_REC_IN_SAL\");\n\n //PF IN GL OR IN ACCOUNT 0 : IN ACCOUNT , 1: IN GL\n int pfInGl = ftsFacade.getCodeForReportName(\"PF_IN_GL\");\n\n //PF EMPLOYER CONTRIBUTION 0 : NO , 1: YES\n int pfEmpCont = ftsFacade.getCodeForReportName(\"PF_EMPLOYER_CONT\");\n\n String pfContHead = \"\";\n if (pfEmpCont == 1) {\n //GET THE PF CONTRIBUTION HEAD\n List pfContHeadList = em.createNativeQuery(\"select acno from abb_parameter_info where purpose = 'PF_CONT_HEAD'\").getResultList();\n if (!pfContHeadList.isEmpty()) {\n pfContHead = pfContHeadList.get(0).toString();\n } else {\n throw new Exception(\"Please Define PF Contribution Head\");\n }\n }\n\n //TAX ON SALARY 0 : NO , 1: YES\n int taxOnSal = ftsFacade.getCodeForReportName(\"TAX_ON_SAL\");\n\n //GET THE SALARY HEAD TO DEBIT\n String taxGlHead = \"\";\n List taxGlList = em.createNativeQuery(\"Select TDS_GLHead From tdsslab Where TDS_Applicabledate In (select max(TDS_Applicabledate) from tdsslab\"\n + \" where TDS_Applicabledate<='\" + ymd.format(new Date()) + \"')\").getResultList();\n if (!taxGlList.isEmpty()) {\n taxGlHead = taxGlList.get(0).toString();\n } else {\n throw new Exception(\"Please Define TDS GL Head\");\n }\n\n if (selectionCriteria.equalsIgnoreCase(\"BRN\")) {\n debitGlSalary = selectedValues + debitGlSalary;\n pfContHead = selectedValues + pfContHead;\n taxGlHead = selectedValues + taxGlHead;\n } else {\n String empBrn = \"\";\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n empBrn = salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch();\n }\n debitGlSalary = empBrn + debitGlSalary;\n pfContHead = empBrn + pfContHead;\n taxGlHead = empBrn + taxGlHead;\n }\n\n double totDebitAmt = 0;\n double pfTotAmt = 0;\n double dedTotAmt = 0;\n double dedTotTax = 0;\n String remoteIden = remoteBranchIdentification(hrSalaryProcessingTOs, \"S\");\n\n //To Save The Details of The Employee Salary\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n HrSalaryProcessing hrSalProcessing = new HrSalaryProcessing();\n HrSalaryProcessingPK hrSalProcessPk = new HrSalaryProcessingPK();\n for (int i = 0; i < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); i++) {\n HrSalaryProcessingDtl hrSalDtl = new HrSalaryProcessingDtl();\n //HrSalaryProcessingDtlPK hrSalDtlPk = new HrSalaryProcessingDtlPK();\n\n// hrSalDtlPk.setRefNo(salaryProcessingTO.getRefNo());\n// hrSalDtlPk.setComponentType(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getComponentType());\n// hrSalDtlPk.setEmpCode(BigInteger.valueOf(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getEmpCode()));\n// hrSalDtlPk.setCompCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getCompCode());\n// hrSalDtl.setHrSalaryProcessingDtlPK(hrSalDtlPk);\n hrSalDtl.setRefNo(salaryProcessingTO.getRefNo());\n hrSalDtl.setComponentType(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getComponentType());\n hrSalDtl.setEmpCode(BigInteger.valueOf(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getEmpCode()));\n hrSalDtl.setCompCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getCompCode());\n\n hrSalDtl.setAmount((float) salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary());\n hrSalDtl.setDefaultComp(salaryProcessingTO.getDefaultComp());\n hrSalDtl.setDescShortCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getShCode());\n hrSalDtl.setPurposeCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getPurCode());\n hrSalDtl.setMonth(salaryProcessingTO.getHrSalaryProcessingPK().getMonths());\n hrSalDtl.setEnteredDate(new Date());\n hrSalDtl.setMonthStartDate(fstDt);\n hrSalDtl.setMonthLastDate(lastDt);\n\n hrSalDtl.setGlCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getGlCode());\n HrSalaryProcessingDtlDAO salarydtlDAO = new HrSalaryProcessingDtlDAO(em);\n salarydtlDAO.save(hrSalDtl);\n\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getShCode() == 1) {\n if (pfEmpCont == 1) {\n HrSalaryProcessingDtl hrSalDtl1 = new HrSalaryProcessingDtl();\n //HrSalaryProcessingDtlPK hrSalDtlPk1 = new HrSalaryProcessingDtlPK();\n\n// hrSalDtlPk1.setRefNo(salaryProcessingTO.getRefNo());\n// hrSalDtlPk1.setComponentType(\"EMPLOYER PF CONTRIBUTION \");\n// hrSalDtlPk1.setEmpCode(BigInteger.valueOf(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getEmpCode()));\n// hrSalDtlPk1.setCompCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getCompCode());\n// hrSalDtl1.setHrSalaryProcessingDtlPK(hrSalDtlPk1);\n hrSalDtl1.setRefNo(salaryProcessingTO.getRefNo());\n hrSalDtl1.setComponentType(\"EMPLOYER PF CONTRIBUTION \");\n hrSalDtl1.setEmpCode(BigInteger.valueOf(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getEmpCode()));\n hrSalDtl1.setCompCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getCompCode());\n\n hrSalDtl1.setAmount((float) salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary());\n hrSalDtl1.setDefaultComp(salaryProcessingTO.getDefaultComp());\n hrSalDtl1.setDescShortCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getShCode());\n hrSalDtl1.setPurposeCode(\"PUR004\");\n hrSalDtl1.setMonth(salaryProcessingTO.getHrSalaryProcessingPK().getMonths());\n hrSalDtl1.setEnteredDate(new Date());\n hrSalDtl1.setMonthStartDate(fstDt);\n hrSalDtl1.setMonthLastDate(lastDt);\n\n hrSalDtl1.setGlCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getGlCode());\n HrSalaryProcessingDtlDAO salarydtlDAO1 = new HrSalaryProcessingDtlDAO(em);\n salarydtlDAO1.save(hrSalDtl1);\n\n pfTotAmt = pfTotAmt + salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary();\n }\n }\n dedTotAmt = dedTotAmt + salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary();\n }\n }\n\n hrSalProcessPk.setEmpCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(0).getHrSalaryProcessingDetailPK().getEmpCode());\n hrSalProcessPk.setMonths(salaryProcessingTO.getHrSalaryProcessingPK().getMonths());\n hrSalProcessPk.setCompCode(salaryProcessingTO.getHrSalaryProcessingPK().getCompCode());\n hrSalProcessPk.setCalDateFrom(salaryProcessingTO.getHrSalaryProcessingPK().getCalDateFrom());\n hrSalProcessPk.setCalDateTo(salaryProcessingTO.getHrSalaryProcessingPK().getCalDateTo());\n\n hrSalProcessing.setHrSalaryProcessingPK(hrSalProcessPk);\n hrSalProcessing.setAuthBy(salaryProcessingTO.getAuthBy());\n hrSalProcessing.setDeductiveTax(salaryProcessingTO.getDeductiveTax());\n hrSalProcessing.setDefaultComp(salaryProcessingTO.getDefaultComp());\n hrSalProcessing.setEnteredBy(salaryProcessingTO.getEnteredBy());\n hrSalProcessing.setGrossSalary(salaryProcessingTO.getGrossSalary());\n hrSalProcessing.setModDate(salaryProcessingTO.getModDate());\n hrSalProcessing.setPostFlag(salaryProcessingTO.getPostFlag());\n hrSalProcessing.setReceiptFlag(salaryProcessingTO.getReceiptFlag());\n hrSalProcessing.setRefNo(salaryProcessingTO.getRefNo());\n hrSalProcessing.setSalary(salaryProcessingTO.getSalary());\n hrSalProcessing.setStatFlag(salaryProcessingTO.getStatFlag());\n hrSalProcessing.setStatUpFlag(salaryProcessingTO.getStatUpFlag());\n\n HrSalaryProcessingDAO salaryDAO = new HrSalaryProcessingDAO(em);\n salaryDAO.save(hrSalProcessing);\n totDebitAmt = totDebitAmt + salaryProcessingTO.getGrossSalary();\n dedTotTax = dedTotTax + salaryProcessingTO.getDeductiveTax();\n }\n\n //TranDesc = 81\n float trsNo = ftsFacade.getTrsNo();\n String msg = \"\";\n\n //Map<Integer, List<String>> deductMap = new HashMap<Integer, List<String>>();\n Map<Integer, List<String>> deductMap = new ConcurrentHashMap<Integer, List<String>>();\n\n if (remoteIden.equalsIgnoreCase(\"TRUE\")) {\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n float recNo = ftsFacade.getRecNo();\n\n String appBranch = \"\";\n if (selectionCriteria.equalsIgnoreCase(\"BRN\")) {\n appBranch = selectedValues;\n } else {\n appBranch = salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch();\n }\n\n if (salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2).equalsIgnoreCase(appBranch)) {\n TransferSmsRequestTo to = new TransferSmsRequestTo();\n to.setAcno(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n to.setAmount(salaryProcessingTO.getSalary());\n smsList.add(to);\n\n msg = ibtFacade.cbsPostingCx(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 0, ymd.format(new Date()), salaryProcessingTO.getSalary(), 0.0, 2,\n \"Salary For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2), salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + salaryProcessingTO.getSalary() + \",0,0,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','Salary Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n\n } else {\n TransferSmsRequestTo to = new TransferSmsRequestTo();\n to.setAcno(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n to.setAmount(salaryProcessingTO.getSalary());\n smsList.add(to);\n\n msg = ibtFacade.cbsPostingSx(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 0, ymd.format(new Date()), salaryProcessingTO.getSalary(), 0.0, 2,\n \"Salary For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2),\n appBranch, salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + salaryProcessingTO.getSalary() + \",0,0,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','Salary Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n }\n\n for (int m = 0; m < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); m++) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if (deductMap.containsKey(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode())) {\n for (Iterator it = deductMap.entrySet().iterator(); it.hasNext();) {\n Map.Entry entry = (Map.Entry) it.next();\n int sKey = (Integer) entry.getKey();\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode() == sKey) {\n List kLst = (List) entry.getValue();\n String sGl = kLst.get(0).toString();\n double nVal = Double.parseDouble(kLst.get(1).toString()) + salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getSalary();\n List glVal = new ArrayList();\n glVal.add(sGl);\n glVal.add(nVal);\n\n deductMap.remove(sKey);\n deductMap.put(sKey, glVal);\n }\n }\n } else {\n List glVal = new ArrayList();\n glVal.add(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getGlCode());\n glVal.add(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getSalary());\n deductMap.put(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode(), glVal);\n }\n }\n }\n }\n } else {\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n float recNo = ftsFacade.getRecNo();\n String acNature = ftsFacade.getAccountNature(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n\n TransferSmsRequestTo to = new TransferSmsRequestTo();\n to.setAcno(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n to.setAmount(salaryProcessingTO.getSalary());\n smsList.add(to);\n\n String lResult = ftsFacade.insertRecons(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 0,\n salaryProcessingTO.getSalary(), ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Salary For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(), salaryProcessingTO.getEnteredBy(),\n trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch(), 0, null, \"\", \"\");\n if (lResult.equalsIgnoreCase(\"True\")) {\n msg = ftsFacade.updateBalance(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), salaryProcessingTO.getSalary(), 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"True\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + salaryProcessingTO.getSalary() + \",0,0,2,\"\n + \"\" + recNo + \",'',null,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','Salary Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n throw new Exception(msg);\n }\n\n for (int m = 0; m < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); m++) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if (deductMap.containsKey(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode())) {\n for (Iterator it = deductMap.entrySet().iterator(); it.hasNext();) {\n Map.Entry entry = (Map.Entry) it.next();\n int sKey = (Integer) entry.getKey();\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode() == sKey) {\n List kLst = (List) entry.getValue();\n String sGl = kLst.get(0).toString();\n double nVal = Double.parseDouble(kLst.get(1).toString()) + salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getSalary();\n List glVal = new ArrayList();\n glVal.add(sGl);\n glVal.add(nVal);\n\n deductMap.remove(sKey);\n deductMap.put(sKey, glVal);\n }\n }\n } else {\n List glVal = new ArrayList();\n glVal.add(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getGlCode());\n glVal.add(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getSalary());\n deductMap.put(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode(), glVal);\n }\n }\n }\n } else {\n throw new Exception(lResult);\n }\n }\n }\n\n if (pfInGl == 0) {\n String remoteIdenP = remoteBranchIdentification(hrSalaryProcessingTOs, \"P\");\n\n if (remoteIdenP.equalsIgnoreCase(\"TRUE\")) {\n double pfAmt = 0d;\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n String appBranch = \"\";\n if (selectionCriteria.equalsIgnoreCase(\"BRN\")) {\n appBranch = selectedValues;\n } else {\n appBranch = salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch();\n }\n for (int i = 0; i < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); i++) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getShCode() == 1) {\n pfAmt = salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary();\n\n float recNo = ftsFacade.getRecNo();\n\n if (salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2).equalsIgnoreCase(appBranch)) {\n msg = ibtFacade.cbsPostingCx(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0, ymd.format(new Date()), pfAmt, 0.0, 2,\n \"PF For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2), salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n } else {\n msg = ibtFacade.cbsPostingSx(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0, ymd.format(new Date()), pfAmt, 0.0, 2,\n \"PF For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n appBranch, salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + pfAmt + \",0,0,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n\n if (pfEmpCont == 1) {\n recNo = ftsFacade.getRecNo();\n\n if (salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2).equalsIgnoreCase(appBranch)) {\n msg = ibtFacade.cbsPostingCx(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0, ymd.format(new Date()), pfAmt, 0.0, 2,\n \"PF Employer Contribution For The Month\" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2), salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n } else {\n msg = ibtFacade.cbsPostingSx(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0, ymd.format(new Date()), pfAmt, 0.0, 2,\n \"PF Employer Contribution For The Month\" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n appBranch, salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n }\n\n insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + pfAmt + \",0,0,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Employer Contribution For The Month Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n }\n }\n }\n }\n }\n } else {\n double pfAmt = 0d;\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n for (int i = 0; i < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); i++) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getShCode() == 1) {\n pfAmt = salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary();\n\n float recNo = ftsFacade.getRecNo();\n String acNature = ftsFacade.getAccountNature(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount());\n\n String lResult = ftsFacade.insertRecons(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0,\n pfAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"PF For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(), salaryProcessingTO.getEnteredBy(),\n trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch(), 0, null, \"\", \"\");\n if (lResult.equalsIgnoreCase(\"True\")) {\n msg = ftsFacade.updateBalance(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), pfAmt, 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"True\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + pfAmt + \",0,0,2,\"\n + \"\" + recNo + \",'',null,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n\n if (pfEmpCont == 1) {\n recNo = ftsFacade.getRecNo();\n acNature = ftsFacade.getAccountNature(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount());\n\n lResult = ftsFacade.insertRecons(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0,\n pfAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"PF Employer Contribution For The Month\" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(), salaryProcessingTO.getEnteredBy(),\n trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch(), 0, null, \"\", \"\");\n if (lResult.equalsIgnoreCase(\"True\")) {\n msg = ftsFacade.updateBalance(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), pfAmt, 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"True\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + pfAmt + \",0,0,2,\"\n + \"\" + recNo + \",'',null,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Employer Contribution For The Month Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n }\n }\n }\n }\n }\n }\n }\n\n float recNo = ftsFacade.getRecNo();\n\n String lResult = ftsFacade.insertRecons(\"PO\", debitGlSalary, 1, (totDebitAmt + dedTotAmt), ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Salary For The Month\", authBy, trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n debitGlSalary.substring(0, 2), debitGlSalary.substring(0, 2), 0, null, \"\", \"\");\n\n if (lResult.equalsIgnoreCase(\"true\")) {\n msg = ftsFacade.updateBalance(\"PO\", debitGlSalary, 0, totDebitAmt, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + debitGlSalary + \"','\" + ftsFacade.ftsGetCustName(debitGlSalary) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',0,\" + (totDebitAmt + dedTotAmt) + \",\"\n + \"1,2,\" + recNo + \",'',date_format(curdate(),'%Y%m%d'),3,0,'Y','\" + authBy + \"',81 ,0,'A',\"\n + \"'Salary Posting. Entry','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + debitGlSalary.substring(0, 2) + \"',\"\n + \"'\" + debitGlSalary.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + debitGlSalary);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n\n if (pfEmpCont == 1) {\n recNo = ftsFacade.getRecNo();\n\n lResult = ftsFacade.insertRecons(\"PO\", pfContHead, 1, pfTotAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Employer PF Contribution Entry\", authBy, trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n pfContHead.substring(0, 2), pfContHead.substring(0, 2), 0, null, \"\", \"\");\n\n if (lResult.equalsIgnoreCase(\"true\")) {\n msg = ftsFacade.updateBalance(\"PO\", pfContHead, 0, pfTotAmt, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + pfContHead + \"','\" + ftsFacade.ftsGetCustName(pfContHead) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',0,\" + pfTotAmt + \",\"\n + \"1,2,\" + recNo + \",'',date_format(curdate(),'%Y%m%d'),3,0,'Y','\" + authBy + \"',81 ,0,'A',\"\n + \"'Employer PF Contribution Entry','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + pfContHead.substring(0, 2) + \"',\"\n + \"'\" + pfContHead.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + pfContHead);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n }\n\n if (taxOnSal == 1) {\n recNo = ftsFacade.getRecNo();\n\n lResult = ftsFacade.insertRecons(\"PO\", taxGlHead, 0, dedTotTax, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Total Tds Entery On Salary\", authBy, trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n taxGlHead.substring(0, 2), taxGlHead.substring(0, 2), 0, null, \"\", \"\");\n\n if (lResult.equalsIgnoreCase(\"true\")) {\n msg = ftsFacade.updateBalance(\"PO\", taxGlHead, dedTotTax, 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + taxGlHead + \"','\" + ftsFacade.ftsGetCustName(taxGlHead) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',\" + dedTotTax + \",\"\n + \"0,0,2,\" + recNo + \",'',date_format(curdate(),'%Y%m%d'),3,0,'Y','\" + authBy + \"',81 ,0,'A',\"\n + \"'Total Tds Entery On Salary','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + taxGlHead.substring(0, 2) + \"',\"\n + \"'\" + taxGlHead.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + taxGlHead);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n }\n\n for (Iterator it = deductMap.entrySet().iterator(); it.hasNext();) {\n\n Map.Entry entry = (Map.Entry) it.next();\n List kLst = (List) entry.getValue();\n String sGl = kLst.get(0).toString();\n double nVal = Double.parseDouble(kLst.get(1).toString());\n int sKey = (Integer) entry.getKey();\n if (pfInGl == 1 && sKey == 1) {\n if ((sGl == null || sGl.equalsIgnoreCase(\"\"))) {\n throw new Exception(\"PF GL NOT DEFINED\");\n }\n nVal = nVal + pfTotAmt;\n }\n\n if (!(sGl == null || sGl.equalsIgnoreCase(\"\"))) {\n recNo = ftsFacade.getRecNo();\n\n if (selectionCriteria.equalsIgnoreCase(\"BRN\")) {\n sGl = selectedValues + sGl + \"01\";\n } else {\n String empBrn = \"\";\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n empBrn = salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch();\n }\n sGl = empBrn + sGl + \"01\";\n }\n\n lResult = ftsFacade.insertRecons(\"PO\", sGl, 0, nVal, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Salary Deduction\", authBy, trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n sGl.substring(0, 2), sGl.substring(0, 2), 0, null, \"\", \"\");\n\n if (lResult.equalsIgnoreCase(\"true\")) {\n msg = ftsFacade.updateBalance(\"PO\", sGl, nVal, 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + sGl + \"','\" + ftsFacade.ftsGetCustName(sGl) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',\" + nVal + \",\"\n + \"0,0,2,\" + recNo + \",'',date_format(curdate(),'%Y%m%d'),3,0,'Y','\" + authBy + \"',81 ,0,'A',\"\n + \"'Salary Deduction','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + sGl.substring(0, 2) + \"',\"\n + \"'\" + sGl.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + sGl);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n }\n }\n\n if (loanRecInSal == 1) {\n String remoteIdenLoan = remoteLoanBranchIdentification(hrSalaryProcessingTOs, selectionCriteria, selectedValues);\n //float trsLoan = ftsFacade.getTrsNo();\n if (remoteIden.equalsIgnoreCase(\"False\") && remoteIdenLoan.equalsIgnoreCase(\"False\")) {\n String prevEmpId = \"\";\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n String empId = salaryProcessingTO.getHrPersonnelDetailsTO().getEmpId();\n if (!prevEmpId.equalsIgnoreCase(empId)) {\n prevEmpId = empId;\n String salAc = salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode();\n List acNoLst = getLoanAcList(salaryProcessingTO.getHrSalaryProcessingPK().getCompCode(), empId);\n if (!acNoLst.isEmpty()) {\n for (int l = 0; l < acNoLst.size(); l++) {\n Object[] lLsVec = (Object[]) acNoLst.get(l);\n String lAcNo = lLsVec[0].toString();\n double emiAmt = Double.parseDouble(lLsVec[1].toString());\n// String comType = lLsVec[2].toString();\n float lRecNo = ftsFacade.getRecNo();\n String acNat = ftsFacade.getAccountNature(salAc);\n String loanResult = ftsFacade.insertRecons(acNat, salAc, 1, emiAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Recovery for loan \" + lAcNo, authBy, trsNo, null, lRecNo, \"Y\", authBy, 0, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n salAc.substring(0, 2), lAcNo.substring(0, 2), 0, null, \"\", \"\");\n if (loanResult.equalsIgnoreCase(\"true\")) {\n msg = ftsFacade.updateBalance(acNat, salAc, 0, emiAmt, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + salAc + \"','\" + ftsFacade.ftsGetCustName(salAc) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',0,\" + emiAmt + \",\"\n + \"0,2,\" + lRecNo + \",'',null,3,0,'Y','\" + authBy + \"',0 ,0,'A',\"\n + \"'Recovery For Loan','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + salAc.substring(0, 2) + \"',\"\n + \"'\" + lAcNo.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salAc);\n }\n\n lRecNo = ftsFacade.getRecNo();\n String lacNat = ftsFacade.getAccountNature(lAcNo);\n\n loanResult = ftsFacade.insertRecons(lacNat, lAcNo, 0, emiAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"loan Recovery from salary\" + salAc, authBy, trsNo, null, lRecNo, \"Y\", authBy, 0, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n salAc.substring(0, 2), lAcNo.substring(0, 2), 0, null, \"\", \"\");\n\n msg = ftsFacade.updateBalance(lacNat, lAcNo, emiAmt, 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n if (loanResult.equalsIgnoreCase(\"True\")) {\n msg = ftsFacade.loanDisbursementInstallment(lAcNo, emiAmt, 0, authBy, ymd.format(new Date()), lRecNo, 0, \"\");\n if (msg.equalsIgnoreCase(\"true\")) {\n insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + lAcNo + \"','\" + ftsFacade.ftsGetCustName(lAcNo) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',\" + emiAmt + \",\"\n + \"0,0,2,\" + lRecNo + \",'',null,3,0,'Y','\" + authBy + \"',0 ,0,'A',\"\n + \"'Recovery For Loan','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + salAc.substring(0, 2) + \"',\"\n + \"'\" + lAcNo.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + lAcNo);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(loanResult);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(loanResult);\n }\n }\n }\n }\n }\n } else {\n String prevEmpId = \"\";\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n String empId = salaryProcessingTO.getHrPersonnelDetailsTO().getEmpId();\n if (!prevEmpId.equalsIgnoreCase(empId)) {\n String salAc = salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode();\n List acNoLst = getLoanAcList(salaryProcessingTO.getHrSalaryProcessingPK().getCompCode(), empId);\n if (!acNoLst.isEmpty()) {\n for (int l = 0; l < acNoLst.size(); l++) {\n Object[] lLsVec = (Object[]) acNoLst.get(l);\n String lAcNo = lLsVec[0].toString();\n double emiAmt = Double.parseDouble(lLsVec[1].toString());\n String appBranch = \"\";\n if (selectionCriteria.equalsIgnoreCase(\"BRN\")) {\n appBranch = selectedValues;\n } else {\n appBranch = salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch();\n }\n\n recNo = ftsFacade.getRecNo();\n if (appBranch.equalsIgnoreCase(salAc.substring(0, 2))) {\n msg = ibtFacade.cbsPostingCx(salAc, 1, ymd.format(new Date()), emiAmt, emiAmt, 2, \"\", 0f, \"\", \"\",\n null, 3, 0f, recNo, 0, salAc.substring(0, 2), salAc.substring(0, 2), authBy, authBy, trsNo, \"\", \"\");\n\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n msg = ftsFacade.updateBalance(ftsFacade.getAccountNature(salAc), salAc, 0, emiAmt, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salAc + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salAc) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',0,\" + emiAmt + \",1,2,\" + recNo + \",'',null,3,0,'Y',\"\n + \"'\" + authBy + \"',81 ,0,'A','EMI Recovered','\" + authBy + \"',\" + trsNo + \",\"\n + \"CURRENT_TIMESTAMP,'','\" + salAc.substring(0, 2) + \"','\" + salAc.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n msg = ibtFacade.cbsPostingSx(salAc, 1, ymd.format(new Date()), emiAmt, emiAmt, 2, \"\", 0f, \"\", \"\", null, 3, 0f,\n recNo, 0, salAc.substring(0, 2), appBranch, authBy, authBy, trsNo, \"\", \"\");\n\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salAc + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salAc) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',0,\" + emiAmt + \",1,2,\" + recNo + \",'',null,3,0,'Y',\"\n + \"'\" + authBy + \"',81 ,0,'A','EMI Recovered','\" + authBy + \"',\" + trsNo + \",\"\n + \"CURRENT_TIMESTAMP,'','\" + appBranch + \"','\" + salAc.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n ftsFacade.updateBalance(ftsFacade.getAccountNature(salAc), salAc, 0, emiAmt, \"Y\", \"Y\");\n }\n\n recNo = ftsFacade.getRecNo();\n if (appBranch.equalsIgnoreCase(lAcNo.substring(0, 2))) {\n msg = ibtFacade.cbsPostingCx(lAcNo, 0, ymd.format(new Date()), emiAmt, emiAmt, 2, \"Installment deduct from the salary for the \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(), 0f, \"\", \"\", null, 3,\n 0f, recNo, 0, lAcNo.substring(0, 2), lAcNo.substring(0, 2), authBy, authBy, trsNo, \"\", \"\");\n\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + lAcNo + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(lAcNo) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + emiAmt + \",0,0,2,\" + recNo + \",'',null,3,0,'Y',\"\n + \"'\" + authBy + \"',81 ,0,'A','EMI Recovered','\" + authBy + \"',\" + trsNo + \",\"\n + \"CURRENT_TIMESTAMP,'','\" + lAcNo.substring(0, 2) + \"','\" + lAcNo.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n msg = ibtFacade.cbsPostingSx(lAcNo, 0, ymd.format(new Date()), emiAmt, emiAmt, 2, \"Installment deduct from the salary for the \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(), 0f, \"\", \"\", null, 3, 0f,\n recNo, 0, lAcNo.substring(0, 2), appBranch, authBy, authBy, trsNo, \"\", \"\");\n\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + lAcNo + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(lAcNo) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + emiAmt + \",0,0,2,\" + recNo + \",'',null,3,0,'Y',\"\n + \"'\" + authBy + \"',81 ,0,'A','EMI Recovered','\" + authBy + \"',\" + trsNo + \",\"\n + \"CURRENT_TIMESTAMP,'','\" + appBranch + \"','\" + lAcNo.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n }\n }\n }\n }\n }\n }\n }\n } else {\n ibtFacade = (InterBranchTxnFacadeRemote) ServiceLocator.getInstance().lookup(\"InterBranchTxnFacade\");\n ftsFacade = (FtsPostingMgmtFacadeRemote) ServiceLocator.getInstance().lookup(\"FtsPostingMgmtFacade\");\n SimpleDateFormat ymd = new SimpleDateFormat(\"yyyy-MM-dd\");\n\n //GET THE SALARY HEAD TO DEBIT\n String debitGlSalary = \"\";\n List salGlList = em.createNativeQuery(\"select acno from abb_parameter_info where purpose = 'SAL_GL_HEAD'\").getResultList();\n if (!salGlList.isEmpty()) {\n debitGlSalary = salGlList.get(0).toString();\n } else {\n throw new Exception(\"Please Define Salary Debit GL Head\");\n }\n\n //LOAN RECOVERED FROM SALARY OR NOT 0 : NO , 1: YES\n int loanRecInSal = ftsFacade.getCodeForReportName(\"LOAN_REC_IN_SAL\");\n\n //PF IN GL OR IN ACCOUNT 0 : IN ACCOUNT , 1: IN GL\n int pfInGl = ftsFacade.getCodeForReportName(\"PF_IN_GL\");\n\n //PF EMPLOYER CONTRIBUTION 0 : NO , 1: YES\n int pfEmpCont = ftsFacade.getCodeForReportName(\"PF_EMPLOYER_CONT\");\n\n String pfContHead = \"\";\n if (pfEmpCont == 1) {\n //GET THE PF CONTRIBUTION HEAD\n List pfContHeadList = em.createNativeQuery(\"select acno from abb_parameter_info where purpose = 'PF_CONT_HEAD'\").getResultList();\n if (!pfContHeadList.isEmpty()) {\n pfContHead = pfContHeadList.get(0).toString();\n } else {\n throw new Exception(\"Please Define PF Contribution Head\");\n }\n }\n\n //TAX ON SALARY 0 : NO , 1: YES\n int taxOnSal = ftsFacade.getCodeForReportName(\"TAX_ON_SAL\");\n\n //GET THE SALARY HEAD TO DEBIT\n String taxGlHead = \"\";\n List taxGlList = em.createNativeQuery(\"Select TDS_GLHead From tdsslab Where TDS_Applicabledate In (select max(TDS_Applicabledate) from tdsslab\"\n + \" where TDS_Applicabledate<='\" + ymd.format(new Date()) + \"')\").getResultList();\n if (!taxGlList.isEmpty()) {\n taxGlHead = taxGlList.get(0).toString();\n } else {\n throw new Exception(\"Please Define TDS GL Head\");\n }\n\n if (selectionCriteria.equalsIgnoreCase(\"BRN\")) {\n debitGlSalary = selectedValues + debitGlSalary;\n pfContHead = selectedValues + pfContHead;\n taxGlHead = selectedValues + taxGlHead;\n } else {\n String empBrn = \"\";\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n empBrn = salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch();\n }\n debitGlSalary = empBrn + debitGlSalary;\n pfContHead = empBrn + pfContHead;\n taxGlHead = empBrn + taxGlHead;\n }\n\n double totDebitAmt = 0;\n double pfTotAmt = 0;\n double dedTotAmt = 0;\n double dedTotTax = 0;\n String remoteIden = remoteBranchIdentification(hrSalaryProcessingTOs, \"S\");\n\n //To Save The Details of The Employee Salary\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n HrSalaryProcessing hrSalProcessing = new HrSalaryProcessing();\n HrSalaryProcessingPK hrSalProcessPk = new HrSalaryProcessingPK();\n for (int i = 0; i < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); i++) {\n HrSalaryProcessingDtl hrSalDtl = new HrSalaryProcessingDtl();\n //HrSalaryProcessingDtlPK hrSalDtlPk = new HrSalaryProcessingDtlPK();\n\n// hrSalDtlPk.setRefNo(salaryProcessingTO.getRefNo());\n// hrSalDtlPk.setComponentType(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getComponentType());\n// hrSalDtlPk.setEmpCode(BigInteger.valueOf(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getEmpCode()));\n// hrSalDtlPk.setCompCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getCompCode());\n// hrSalDtl.setHrSalaryProcessingDtlPK(hrSalDtlPk);\n hrSalDtl.setRefNo(salaryProcessingTO.getRefNo());\n hrSalDtl.setComponentType(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getComponentType());\n hrSalDtl.setEmpCode(BigInteger.valueOf(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getEmpCode()));\n hrSalDtl.setCompCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getCompCode());\n\n hrSalDtl.setAmount((float) salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary());\n hrSalDtl.setDefaultComp(salaryProcessingTO.getDefaultComp());\n hrSalDtl.setDescShortCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getShCode());\n hrSalDtl.setPurposeCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getPurCode());\n hrSalDtl.setMonth(salaryProcessingTO.getHrSalaryProcessingPK().getMonths());\n hrSalDtl.setEnteredDate(new Date());\n hrSalDtl.setMonthStartDate(fstDt);\n hrSalDtl.setMonthLastDate(lastDt);\n\n hrSalDtl.setGlCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getGlCode());\n HrSalaryProcessingDtlDAO salarydtlDAO = new HrSalaryProcessingDtlDAO(em);\n salarydtlDAO.save(hrSalDtl);\n\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getShCode() == 1) {\n if (pfEmpCont == 1) {\n HrSalaryProcessingDtl hrSalDtl1 = new HrSalaryProcessingDtl();\n //HrSalaryProcessingDtlPK hrSalDtlPk1 = new HrSalaryProcessingDtlPK();\n\n// hrSalDtlPk1.setRefNo(salaryProcessingTO.getRefNo());\n// hrSalDtlPk1.setComponentType(\"EMPLOYER PF CONTRIBUTION \");\n// hrSalDtlPk1.setEmpCode(BigInteger.valueOf(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getEmpCode()));\n// hrSalDtlPk1.setCompCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getCompCode());\n// hrSalDtl1.setHrSalaryProcessingDtlPK(hrSalDtlPk1);\n hrSalDtl1.setRefNo(salaryProcessingTO.getRefNo());\n hrSalDtl1.setComponentType(\"EMPLOYER PF CONTRIBUTION \");\n hrSalDtl1.setEmpCode(BigInteger.valueOf(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getEmpCode()));\n hrSalDtl1.setCompCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getHrSalaryProcessingDetailPK().getCompCode());\n hrSalDtl1.setAmount((float) salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary());\n hrSalDtl1.setDefaultComp(salaryProcessingTO.getDefaultComp());\n hrSalDtl1.setDescShortCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getShCode());\n hrSalDtl1.setPurposeCode(\"PUR004\");\n hrSalDtl1.setMonth(salaryProcessingTO.getHrSalaryProcessingPK().getMonths());\n hrSalDtl1.setEnteredDate(new Date());\n hrSalDtl1.setMonthStartDate(fstDt);\n hrSalDtl1.setMonthLastDate(lastDt);\n\n hrSalDtl1.setGlCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getGlCode());\n HrSalaryProcessingDtlDAO salarydtlDAO1 = new HrSalaryProcessingDtlDAO(em);\n salarydtlDAO1.save(hrSalDtl1);\n\n pfTotAmt = pfTotAmt + salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary();\n }\n }\n dedTotAmt = dedTotAmt + salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary();\n }\n }\n\n hrSalProcessPk.setEmpCode(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(0).getHrSalaryProcessingDetailPK().getEmpCode());\n hrSalProcessPk.setMonths(salaryProcessingTO.getHrSalaryProcessingPK().getMonths());\n hrSalProcessPk.setCompCode(salaryProcessingTO.getHrSalaryProcessingPK().getCompCode());\n hrSalProcessPk.setCalDateFrom(salaryProcessingTO.getHrSalaryProcessingPK().getCalDateFrom());\n hrSalProcessPk.setCalDateTo(salaryProcessingTO.getHrSalaryProcessingPK().getCalDateTo());\n hrSalProcessing.setHrSalaryProcessingPK(hrSalProcessPk);\n hrSalProcessing.setAuthBy(salaryProcessingTO.getAuthBy());\n hrSalProcessing.setDeductiveTax(salaryProcessingTO.getDeductiveTax());\n hrSalProcessing.setDefaultComp(salaryProcessingTO.getDefaultComp());\n hrSalProcessing.setEnteredBy(salaryProcessingTO.getEnteredBy());\n hrSalProcessing.setGrossSalary(salaryProcessingTO.getGrossSalary());\n hrSalProcessing.setModDate(salaryProcessingTO.getModDate());\n hrSalProcessing.setPostFlag(salaryProcessingTO.getPostFlag());\n hrSalProcessing.setReceiptFlag(salaryProcessingTO.getReceiptFlag());\n hrSalProcessing.setRefNo(salaryProcessingTO.getRefNo());\n hrSalProcessing.setSalary(salaryProcessingTO.getSalary());\n hrSalProcessing.setStatFlag(salaryProcessingTO.getStatFlag());\n hrSalProcessing.setStatUpFlag(salaryProcessingTO.getStatUpFlag());\n\n HrSalaryProcessingDAO salaryDAO = new HrSalaryProcessingDAO(em);\n salaryDAO.save(hrSalProcessing);\n totDebitAmt = totDebitAmt + salaryProcessingTO.getGrossSalary();\n dedTotTax = dedTotTax + salaryProcessingTO.getDeductiveTax();\n }\n\n //TranDesc = 81\n float trsNo = ftsFacade.getTrsNo();\n String msg = \"\";\n\n //Map<Integer, List<String>> deductMap = new HashMap<Integer, List<String>>();\n Map<Integer, List<String>> deductMap = new ConcurrentHashMap<Integer, List<String>>();\n\n if (remoteIden.equalsIgnoreCase(\"TRUE\")) {\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n float recNo = ftsFacade.getRecNo();\n\n String appBranch = \"\";\n if (selectionCriteria.equalsIgnoreCase(\"BRN\")) {\n appBranch = selectedValues;\n } else {\n appBranch = salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch();\n }\n\n if (salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2).equalsIgnoreCase(appBranch)) {\n TransferSmsRequestTo to = new TransferSmsRequestTo();\n to.setAcno(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n to.setAmount(salaryProcessingTO.getSalary());\n smsList.add(to);\n\n msg = ibtFacade.cbsPostingCx(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 0, ymd.format(new Date()), salaryProcessingTO.getSalary(), 0.0, 2,\n \"Salary For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2), salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n } else {\n TransferSmsRequestTo to = new TransferSmsRequestTo();\n to.setAcno(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n to.setAmount(salaryProcessingTO.getSalary());\n smsList.add(to);\n\n msg = ibtFacade.cbsPostingSx(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 0, ymd.format(new Date()), salaryProcessingTO.getSalary(), 0.0, 2,\n \"Salary For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2),\n appBranch, salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + salaryProcessingTO.getSalary() + \",0,0,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','Salary Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n\n for (int m = 0; m < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); m++) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if (deductMap.containsKey(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode())) {\n for (Iterator it = deductMap.entrySet().iterator(); it.hasNext();) {\n Map.Entry entry = (Map.Entry) it.next();\n int sKey = (Integer) entry.getKey();\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode() == sKey) {\n List kLst = (List) entry.getValue();\n String sGl = kLst.get(0).toString();\n double nVal = Double.parseDouble(kLst.get(1).toString()) + salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getSalary();\n List glVal = new ArrayList();\n glVal.add(sGl);\n glVal.add(nVal);\n\n deductMap.remove(sKey);\n deductMap.put(sKey, glVal);\n }\n }\n } else {\n List glVal = new ArrayList();\n glVal.add(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getGlCode());\n glVal.add(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getSalary());\n deductMap.put(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode(), glVal);\n }\n }\n }\n }\n } else {\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n float recNo = ftsFacade.getRecNo();\n String acNature = ftsFacade.getAccountNature(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n\n TransferSmsRequestTo to = new TransferSmsRequestTo();\n to.setAcno(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n to.setAmount(salaryProcessingTO.getSalary());\n smsList.add(to);\n\n String lResult = ftsFacade.insertRecons(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), 0,\n salaryProcessingTO.getSalary(), ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Salary For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(), salaryProcessingTO.getEnteredBy(),\n trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch(), 0, null, \"\", \"\");\n if (lResult.equalsIgnoreCase(\"True\")) {\n msg = ftsFacade.updateBalance(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode(), salaryProcessingTO.getSalary(), 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"True\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + salaryProcessingTO.getSalary() + \",0,0,2,\"\n + \"\" + recNo + \",'',null,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','Salary Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n throw new Exception(msg);\n }\n\n for (int m = 0; m < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); m++) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if (deductMap.containsKey(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode())) {\n for (Iterator it = deductMap.entrySet().iterator(); it.hasNext();) {\n Map.Entry entry = (Map.Entry) it.next();\n int sKey = (Integer) entry.getKey();\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode() == sKey) {\n List kLst = (List) entry.getValue();\n String sGl = kLst.get(0).toString();\n double nVal = Double.parseDouble(kLst.get(1).toString()) + salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getSalary();\n List glVal = new ArrayList();\n glVal.add(sGl);\n glVal.add(nVal);\n\n deductMap.remove(sKey);\n deductMap.put(sKey, glVal);\n }\n }\n } else {\n List glVal = new ArrayList();\n glVal.add(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getGlCode());\n glVal.add(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getSalary());\n deductMap.put(salaryProcessingTO.getHrSalaryProcessingDetailTO().get(m).getShCode(), glVal);\n }\n }\n }\n } else {\n throw new Exception(lResult);\n }\n }\n }\n\n if (pfInGl == 0) {\n String remoteIdenP = remoteBranchIdentification(hrSalaryProcessingTOs, \"P\");\n\n if (remoteIdenP.equalsIgnoreCase(\"TRUE\")) {\n double pfAmt = 0d;\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n String appBranch = \"\";\n if (selectionCriteria.equalsIgnoreCase(\"BRN\")) {\n appBranch = selectedValues;\n } else {\n appBranch = salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch();\n }\n for (int i = 0; i < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); i++) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getShCode() == 1) {\n pfAmt = salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary();\n\n float recNo = ftsFacade.getRecNo();\n\n if (salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2).equalsIgnoreCase(appBranch)) {\n msg = ibtFacade.cbsPostingCx(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0, ymd.format(new Date()), pfAmt, 0.0, 2,\n \"PF For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2), salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n } else {\n msg = ibtFacade.cbsPostingSx(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0, ymd.format(new Date()), pfAmt, 0.0, 2,\n \"PF For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n appBranch, salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + pfAmt + \",0,0,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n\n if (pfEmpCont == 1) {\n recNo = ftsFacade.getRecNo();\n\n if (salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2).equalsIgnoreCase(appBranch)) {\n msg = ibtFacade.cbsPostingCx(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0, ymd.format(new Date()), pfAmt, 0.0, 2,\n \"PF Employer Contribution For The Month\" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2), salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n } else {\n msg = ibtFacade.cbsPostingSx(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0, ymd.format(new Date()), pfAmt, 0.0, 2,\n \"PF Employer Contribution For The Month\" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(),\n 0f, \"\", \"\", \"\", 3, 0f, recNo, 81, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n appBranch, salaryProcessingTO.getEnteredBy(),\n authBy, trsNo, \"0\", \"\");\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n }\n\n insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + pfAmt + \",0,0,2,\"\n + \"\" + recNo + \",'',NULL,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Employer Contribution For The Month Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n }\n }\n }\n }\n }\n } else {\n double pfAmt = 0d;\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n for (int i = 0; i < salaryProcessingTO.getHrSalaryProcessingDetailTO().size(); i++) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getPurCode().equalsIgnoreCase(\"PUR002\")) {\n if (salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getShCode() == 1) {\n pfAmt = salaryProcessingTO.getHrSalaryProcessingDetailTO().get(i).getSalary();\n\n float recNo = ftsFacade.getRecNo();\n String acNature = ftsFacade.getAccountNature(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount());\n\n String lResult = ftsFacade.insertRecons(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0,\n pfAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"PF For The Month \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(), salaryProcessingTO.getEnteredBy(),\n trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch(), 0, null, \"\", \"\");\n if (lResult.equalsIgnoreCase(\"True\")) {\n msg = ftsFacade.updateBalance(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), pfAmt, 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"True\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + pfAmt + \",0,0,2,\"\n + \"\" + recNo + \",'',null,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2) + \"',0,'','')\").executeUpdate();\n\n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n\n if (pfEmpCont == 1) {\n recNo = ftsFacade.getRecNo();\n acNature = ftsFacade.getAccountNature(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount());\n\n lResult = ftsFacade.insertRecons(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), 0,\n pfAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"PF Employer Contribution For The Month\" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(), salaryProcessingTO.getEnteredBy(),\n trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2),\n salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch(), 0, null, \"\", \"\");\n if (lResult.equalsIgnoreCase(\"True\")) {\n msg = ftsFacade.updateBalance(acNature, salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount(), pfAmt, 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"True\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount() + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount()) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + pfAmt + \",0,0,2,\"\n + \"\" + recNo + \",'',null,3,0,'Y','\" + salaryProcessingTO.getEnteredBy() + \"',\"\n + \"81 ,0,'A','PF Employer Contribution For The Month Posted','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,\"\n + \"'','\" + salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch() + \"',\"\n + \"'\" + salaryProcessingTO.getHrPersonnelDetailsTO().getPfAccount().substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n }\n }\n }\n }\n }\n }\n }\n\n float recNo = ftsFacade.getRecNo();\n\n String lResult = ftsFacade.insertRecons(\"PO\", debitGlSalary, 1, (totDebitAmt + dedTotAmt), ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Salary For The Month\", authBy, trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n debitGlSalary.substring(0, 2), debitGlSalary.substring(0, 2), 0, null, \"\", \"\");\n\n if (lResult.equalsIgnoreCase(\"true\")) {\n msg = ftsFacade.updateBalance(\"PO\", debitGlSalary, 0, totDebitAmt, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + debitGlSalary + \"','\" + ftsFacade.ftsGetCustName(debitGlSalary) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',0,\" + (totDebitAmt + dedTotAmt) + \",\"\n + \"1,2,\" + recNo + \",'',date_format(curdate(),'%Y%m%d'),3,0,'Y','\" + authBy + \"',81 ,0,'A',\"\n + \"'Salary Posting. Entry','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + debitGlSalary.substring(0, 2) + \"',\"\n + \"'\" + debitGlSalary.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + debitGlSalary);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n\n if (pfEmpCont == 1) {\n recNo = ftsFacade.getRecNo();\n\n lResult = ftsFacade.insertRecons(\"PO\", pfContHead, 1, pfTotAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Employer PF Contribution Entry\", authBy, trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n pfContHead.substring(0, 2), pfContHead.substring(0, 2), 0, null, \"\", \"\");\n\n if (lResult.equalsIgnoreCase(\"true\")) {\n msg = ftsFacade.updateBalance(\"PO\", pfContHead, 0, pfTotAmt, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + pfContHead + \"','\" + ftsFacade.ftsGetCustName(pfContHead) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',0,\" + pfTotAmt + \",\"\n + \"1,2,\" + recNo + \",'',date_format(curdate(),'%Y%m%d'),3,0,'Y','\" + authBy + \"',81 ,0,'A',\"\n + \"'Employer PF Contribution Entry','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + pfContHead.substring(0, 2) + \"',\"\n + \"'\" + pfContHead.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + pfContHead);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n }\n\n if (taxOnSal == 1) {\n recNo = ftsFacade.getRecNo();\n\n lResult = ftsFacade.insertRecons(\"PO\", taxGlHead, 0, dedTotTax, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Total Tds Entery On Salary\", authBy, trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n taxGlHead.substring(0, 2), taxGlHead.substring(0, 2), 0, null, \"\", \"\");\n\n if (lResult.equalsIgnoreCase(\"true\")) {\n msg = ftsFacade.updateBalance(\"PO\", taxGlHead, dedTotTax, 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + taxGlHead + \"','\" + ftsFacade.ftsGetCustName(taxGlHead) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',\" + dedTotTax + \",\"\n + \"0,0,2,\" + recNo + \",'',date_format(curdate(),'%Y%m%d'),3,0,'Y','\" + authBy + \"',81 ,0,'A',\"\n + \"'Total Tds Entery On Salary','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + taxGlHead.substring(0, 2) + \"',\"\n + \"'\" + taxGlHead.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + taxGlHead);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n }\n\n for (Iterator it = deductMap.entrySet().iterator(); it.hasNext();) {\n\n Map.Entry entry = (Map.Entry) it.next();\n List kLst = (List) entry.getValue();\n String sGl = kLst.get(0).toString();\n double nVal = Double.parseDouble(kLst.get(1).toString());\n int sKey = (Integer) entry.getKey();\n if (pfInGl == 1 && sKey == 1) {\n if ((sGl == null || sGl.equalsIgnoreCase(\"\"))) {\n throw new Exception(\"PF GL NOT DEFINED\");\n }\n nVal = nVal + pfTotAmt;\n }\n\n if (!(sGl == null || sGl.equalsIgnoreCase(\"\"))) {\n recNo = ftsFacade.getRecNo();\n\n if (selectionCriteria.equalsIgnoreCase(\"BRN\")) {\n sGl = selectedValues + sGl + \"01\";\n } else {\n String empBrn = \"\";\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n empBrn = salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch();\n }\n sGl = empBrn + sGl + \"01\";\n }\n\n lResult = ftsFacade.insertRecons(\"PO\", sGl, 0, nVal, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"Salary Deduction\", authBy, trsNo, null, recNo, \"Y\", authBy, 81, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n sGl.substring(0, 2), sGl.substring(0, 2), 0, null, \"\", \"\");\n\n if (lResult.equalsIgnoreCase(\"true\")) {\n msg = ftsFacade.updateBalance(\"PO\", sGl, nVal, 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + sGl + \"','\" + ftsFacade.ftsGetCustName(sGl) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',\" + nVal + \",\"\n + \"0,0,2,\" + recNo + \",'',date_format(curdate(),'%Y%m%d'),3,0,'Y','\" + authBy + \"',81 ,0,'A',\"\n + \"'Salary Deduction','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + sGl.substring(0, 2) + \"',\"\n + \"'\" + sGl.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + sGl);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(lResult);\n }\n }\n }\n\n if (loanRecInSal == 1) {\n String remoteIdenLoan = remoteLoanBranchIdentification(hrSalaryProcessingTOs, selectionCriteria, selectedValues);\n //float trsLoan = ftsFacade.getTrsNo();\n if (remoteIden.equalsIgnoreCase(\"False\") && remoteIdenLoan.equalsIgnoreCase(\"False\")) {\n String prevEmpId = \"\";\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n String empId = salaryProcessingTO.getHrPersonnelDetailsTO().getEmpId();\n if (!prevEmpId.equalsIgnoreCase(empId)) {\n prevEmpId = empId;\n String salAc = salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode();\n List acNoLst = getLoanAcList(salaryProcessingTO.getHrSalaryProcessingPK().getCompCode(), empId);\n if (!acNoLst.isEmpty()) {\n for (int l = 0; l < acNoLst.size(); l++) {\n Object[] lLsVec = (Object[]) acNoLst.get(l);\n String lAcNo = lLsVec[0].toString();\n double emiAmt = Double.parseDouble(lLsVec[1].toString());\n// String comType = lLsVec[2].toString();\n float lRecNo = ftsFacade.getRecNo();\n //String acNat = ftsFacade.getAccountNature(salAc);\n// String loanResult = ftsFacade.insertRecons(acNat, salAc, 1, emiAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n// \"Recovery for loan \" + lAcNo, authBy, trsNo, null, lRecNo, \"Y\", authBy, 0, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n// salAc.substring(0, 2), lAcNo.substring(0, 2), 0, null, \"\", \"\");\n// if (loanResult.equalsIgnoreCase(\"true\")) {\n// msg = ftsFacade.updateBalance(acNat, salAc, 0, emiAmt, \"Y\", \"Y\");\n// if (msg.equalsIgnoreCase(\"true\")) {\n// int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n// + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n// + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n// + \"adviceno,advicebrncode) values('\" + salAc + \"','\" + ftsFacade.ftsGetCustName(salAc) + \"',\"\n// + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',0,\" + emiAmt + \",\"\n// + \"0,2,\" + lRecNo + \",'',null,3,0,'Y','\" + authBy + \"',0 ,0,'A',\"\n// + \"'Recovery For Loan','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + salAc.substring(0, 2) + \"',\"\n// + \"'\" + lAcNo.substring(0, 2) + \"',0,'','')\").executeUpdate();\n//\n// if (insertResult <= 0) {\n// throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salAc);\n// }\n\n// lRecNo = ftsFacade.getRecNo();\n String lacNat = ftsFacade.getAccountNature(lAcNo);\n\n String loanResult = ftsFacade.insertRecons(lacNat, lAcNo, 0, emiAmt, ymd.format(new Date()), ymd.format(new Date()), 2,\n \"loan Recovery from salary\" + salAc, authBy, trsNo, null, lRecNo, \"Y\", authBy, 0, 3, \"\", null, 0f, null, \"A\", 1, null, 0f, null, null,\n salAc.substring(0, 2), lAcNo.substring(0, 2), 0, null, \"\", \"\");\n if (loanResult.equalsIgnoreCase(\"True\")) {\n msg = ftsFacade.updateBalance(lacNat, lAcNo, emiAmt, 0, \"Y\", \"Y\");\n if (msg.equalsIgnoreCase(\"true\")) {\n msg = ftsFacade.loanDisbursementInstallment(lAcNo, emiAmt, 0, authBy, ymd.format(new Date()), lRecNo, 0, \"\");\n if (msg.equalsIgnoreCase(\"true\")) {\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,tran_id,\"\n + \"adviceno,advicebrncode) values('\" + lAcNo + \"','\" + ftsFacade.ftsGetCustName(lAcNo) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"','\" + ymd.format(new Date()) + \"',\" + emiAmt + \",\"\n + \"0,0,2,\" + lRecNo + \",'',null,3,0,'Y','\" + authBy + \"',0 ,0,'A',\"\n + \"'Recovery For Loan','\" + authBy + \"',\" + trsNo + \",CURRENT_TIMESTAMP,'','\" + salAc.substring(0, 2) + \"',\"\n + \"'\" + lAcNo.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + lAcNo);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(msg);\n }\n } else {\n throw new Exception(loanResult);\n }\n// } else {\n// throw new Exception(msg);\n// }\n// } else {\n// throw new Exception(loanResult);\n// }\n }\n }\n }\n }\n } else {\n String prevEmpId = \"\";\n for (HrSalaryProcessingTO salaryProcessingTO : hrSalaryProcessingTOs) {\n String empId = salaryProcessingTO.getHrPersonnelDetailsTO().getEmpId();\n if (!prevEmpId.equalsIgnoreCase(empId)) {\n String salAc = salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode();\n List acNoLst = getLoanAcList(salaryProcessingTO.getHrSalaryProcessingPK().getCompCode(), empId);\n if (!acNoLst.isEmpty()) {\n for (int l = 0; l < acNoLst.size(); l++) {\n Object[] lLsVec = (Object[]) acNoLst.get(l);\n String lAcNo = lLsVec[0].toString();\n double emiAmt = Double.parseDouble(lLsVec[1].toString());\n String appBranch = \"\";\n if (selectionCriteria.equalsIgnoreCase(\"BRN\")) {\n appBranch = selectedValues;\n } else {\n appBranch = salaryProcessingTO.getHrPersonnelDetailsTO().getBaseBranch();\n }\n\n// recNo = ftsFacade.getRecNo();\n// if (appBranch.equalsIgnoreCase(salAc.substring(0, 2))) {\n// msg = ibtFacade.cbsPostingCx(salAc, 1, ymd.format(new Date()), emiAmt, emiAmt, 2, \"\", 0f, \"\", \"\",\n// null, 3, 0f, recNo, 0, salAc.substring(0, 2), salAc.substring(0, 2), authBy, authBy, trsNo, \"\", \"\");\n//\n// if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n// throw new Exception(msg);\n// }\n//\n// int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n// + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n// + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n// + \"tran_id,adviceno,advicebrncode) values('\" + salAc + \"',\"\n// + \"'\" + ftsFacade.ftsGetCustName(salAc) + \"','\" + ymd.format(new Date()) + \"',\"\n// + \"'\" + ymd.format(new Date()) + \"',0,\" + emiAmt + \",1,2,\" + recNo + \",'',null,3,0,'Y',\"\n// + \"'\" + authBy + \"',81 ,0,'A','EMI Recovered','\" + authBy + \"',\" + trsNo + \",\"\n// + \"CURRENT_TIMESTAMP,'','\" + salAc.substring(0, 2) + \"','\" + salAc.substring(0, 2) + \"',0,'','')\").executeUpdate();\n//\n// if (insertResult <= 0) {\n// throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n// }\n// } else {\n// msg = ibtFacade.cbsPostingSx(salAc, 1, ymd.format(new Date()), emiAmt, emiAmt, 2, \"\", 0f, \"\", \"\", null, 3, 0f,\n// recNo, 0, salAc.substring(0, 2), appBranch, authBy, authBy, trsNo, \"\", \"\");\n//\n// if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n// throw new Exception(msg);\n// }\n//\n// int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n// + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n// + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n// + \"tran_id,adviceno,advicebrncode) values('\" + salAc + \"',\"\n// + \"'\" + ftsFacade.ftsGetCustName(salAc) + \"','\" + ymd.format(new Date()) + \"',\"\n// + \"'\" + ymd.format(new Date()) + \"',0,\" + emiAmt + \",1,2,\" + recNo + \",'',null,3,0,'Y',\"\n// + \"'\" + authBy + \"',81 ,0,'A','EMI Recovered','\" + authBy + \"',\" + trsNo + \",\"\n// + \"CURRENT_TIMESTAMP,'','\" + appBranch + \"','\" + salAc.substring(0, 2) + \"',0,'','')\").executeUpdate();\n//\n// if (insertResult <= 0) {\n// throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n// }\n// }\n\n recNo = ftsFacade.getRecNo();\n if (appBranch.equalsIgnoreCase(lAcNo.substring(0, 2))) {\n msg = ibtFacade.cbsPostingCx(lAcNo, 0, ymd.format(new Date()), emiAmt, emiAmt, 2, \"Installment deduct from the salary for the \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(), 0f, \"\", \"\", null, 3,\n 0f, recNo, 0, lAcNo.substring(0, 2), lAcNo.substring(0, 2), authBy, authBy, trsNo, \"\", \"\");\n\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + lAcNo + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(lAcNo) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + emiAmt + \",0,0,2,\" + recNo + \",'',null,3,0,'Y',\"\n + \"'\" + authBy + \"',81 ,0,'A','EMI Recovered','\" + authBy + \"',\" + trsNo + \",\"\n + \"CURRENT_TIMESTAMP,'','\" + lAcNo.substring(0, 2) + \"','\" + lAcNo.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n } else {\n msg = ibtFacade.cbsPostingSx(lAcNo, 0, ymd.format(new Date()), emiAmt, emiAmt, 2, \"Installment deduct from the salary for the \" + salaryProcessingTO.getHrSalaryProcessingPK().getMonths(), 0f, \"\", \"\", null, 3, 0f,\n recNo, 0, lAcNo.substring(0, 2), appBranch, authBy, authBy, trsNo, \"\", \"\");\n\n if (!msg.substring(0, 4).equalsIgnoreCase(\"true\")) {\n throw new Exception(msg);\n }\n\n int insertResult = em.createNativeQuery(\"insert into recon_trf_d(acno,custname,dt,\"\n + \"valuedt,cramt,dramt,ty,trantype,recno,instno,instdt,payby,iy,auth,enterby,trandesc,\"\n + \"tokenno,subtokenno,details,authby,trsno,trantime,term_id,org_brnid,dest_brnid,\"\n + \"tran_id,adviceno,advicebrncode) values('\" + lAcNo + \"',\"\n + \"'\" + ftsFacade.ftsGetCustName(lAcNo) + \"','\" + ymd.format(new Date()) + \"',\"\n + \"'\" + ymd.format(new Date()) + \"',\" + emiAmt + \",0,0,2,\" + recNo + \",'',null,3,0,'Y',\"\n + \"'\" + authBy + \"',81 ,0,'A','EMI Recovered','\" + authBy + \"',\" + trsNo + \",\"\n + \"CURRENT_TIMESTAMP,'','\" + appBranch + \"','\" + lAcNo.substring(0, 2) + \"',0,'','')\").executeUpdate();\n \n if (insertResult <= 0) {\n throw new Exception(\"Data insertion problem in transfer scroll for account number: \" + salaryProcessingTO.getHrPersonnelDetailsTO().getBankAccountCode());\n }\n }\n }\n }\n }\n }\n }\n }\n }\n } catch (Exception e) {\n logger.error(\"Exception occured while executing method postSalaryProcessing()\", e);\n ut.rollback();\n throw new Exception(e.getMessage());\n }\n if (logger.isDebugEnabled()) {\n logger.debug(\"Execution time for postSalaryProcessing is \" + (System.nanoTime() - begin) * 0.000000001 + \" seconds\");\n }\n \n ut.commit();\n try {\n for (TransferSmsRequestTo to : smsList) {\n// System.out.println(\"Account No Is-->\" + to.getAcno());\n smsRemote.sendTransactionalSms(SmsType.SALARY_DEPOSIT, to.getAcno(), 2, 0, to.getAmount(), dmy.format(new Date()), \"\");\n }\n } catch (Exception ex) {\n System.out.println(\"Problem In Sending The Salary SMS For:-\");\n }\n \n //SMS sending of salary\n return \"True\";\n }", "public OrderPayments updateAdvPayment(OrderPayments payment, String companyId , String invoiceNo ) throws EntityException\n\t\t{\n\n\t\t\tDatastore ds = null;\n\t\t\tCompany cmp = null;\n\t\t\tInwardEntity invoice = null;\n\t\t\tObjectId oid = null;\n\t\t\tObjectId invoiceOid = null;\n\n\n\t\t\ttry\n\t\t\t{\n\t\t\t\tds = Morphiacxn.getInstance().getMORPHIADB(\"test\");\n\t\t\t\toid = new ObjectId(companyId);\n\t\t\t\tQuery<Company> query = ds.createQuery(Company.class).field(\"id\").equal(oid);\n\t\t\t\tcmp = query.get();\n\t\t\t\tif(cmp == null)\n\t\t\t\t\tthrow new EntityException(404, \"cmp not found\", null, null);\n\n\t\t\t\t//po and bill must be true\n\t\t\t\tinvoiceOid = new ObjectId(invoiceNo);\n\t\t\t\tQuery<InwardEntity> iQuery = ds.find(InwardEntity.class).filter(\"company\",cmp).filter(\"isEstimate\", true).filter(\"isInvoice\", true)\n\t\t\t\t\t\t.filter(\"id\", invoiceOid);\n\n\t\t\t\tinvoice = iQuery.get();\n\t\t\t\tif(invoice == null)\n\t\t\t\t\tthrow new EntityException(512, \"converted invoice not found\", null, null);\n\n\n\t\t\t\t//we need to sub old amt, and add new amt, so get old amt\n\n\t\t\t\tjava.math.BigDecimal prevAmt = null;\n\t\t\t\tboolean match = false;\n\t\t\t\t\n\t\t\t\t//all deleted in between - there are no adv payments now\n\t\t\t\tif(invoice.getEstimatePayments() == null)\n\t\t\t\t\tthrow new EntityException(513, \"payment not found\", null, null);\n\n\t\t\t\tfor(OrderPayments pay : invoice.getEstimatePayments())\n\t\t\t\t{\n\n\t\t\t\t\tif(pay.getId().toString().equals(payment.getId().toString()))\n\t\t\t\t\t{\n\t\t\t\t\t\tmatch = true;\n\t\t\t\t\t\tprevAmt = pay.getPaymentAmount();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t\tif(match == false)\n\t\t\t\t\tthrow new EntityException(513, \"payment not found\", null, null);\n\n\t\t\t\tjava.math.BigDecimal advanceTotal = invoice.getEstimateAdvancetotal().subtract(prevAmt).add(payment.getPaymentAmount());\n\t\t\t\tjava.math.BigDecimal invoiceAdvance =invoice.getInvoiceAdvancetotal().subtract(prevAmt).add(payment.getPaymentAmount());\n\n\t\t\t\t//as PO is converted, change only bill balance , PO balance does not get affected\n\n\t\t\t\tjava.math.BigDecimal balance = invoice.getInvoiceBalance().add(prevAmt).subtract(payment.getPaymentAmount());\n\n\n\t\t\t\t//if null then 0 \n\n\t\t\t\tif(payment.getTdsRate() == null)\n\t\t\t\t\tpayment.setTdsRate(new BigDecimal(0));\n\n\t\t\t\tif(payment.getTdsAmount() == null)\n\t\t\t\t\tpayment.setTdsAmount(new BigDecimal(0));\n\n\t\t\t\t//search for nested payment in the list\n\t\t\t\tiQuery = ds.createQuery(InwardEntity.class).disableValidation().filter(\"id\", invoiceOid).filter(\"estimatePayments.id\", new ObjectId(payment.getId().toString()));\n\n\t\t\t\tUpdateOperations<InwardEntity> ops = ds.createUpdateOperations(InwardEntity.class)\n\n\t\t\t\t\t\t.set(\"estimatePayments.$.paymentDate\", payment.getPaymentDate())\n\t\t\t\t\t\t.set(\"estimatePayments.$.paymentAmount\", payment.getPaymentAmount())\n\t\t\t\t\t\t.set(\"estimatePayments.$.purposeTitle\", payment.getPurposeTitle())\n\t\t\t\t\t\t.set(\"estimatePayments.$.purposeDescription\", payment.getPurposeDescription())\n\t\t\t\t\t\t.set(\"estimatePayments.$.paymentMode\", payment.getPaymentMode())\n\t\t\t\t\t\t.set(\"estimatePayments.$.paymentAccount\", payment.getPaymentAccount())\n\t\t\t\t\t\t.set(\"estimatePayments.$.tdsRate\", payment.getTdsRate())\n\t\t\t\t\t\t.set(\"estimatePayments.$.tdsAmount\", payment.getTdsAmount())\n\t\t\t\t\t\t.set(\"estimatePayments.$.isTdsReceived\", payment.isTdsReceived())\n\t\t\t\t\t\t.set(\"estimateAdvancetotal\",advanceTotal)\n\t\t\t\t\t\t.set(\"invoiceAdvancetotal\", invoiceAdvance)\n\t\t\t\t\t\t.set(\"invoiceBalance\", balance);\n\n\n\t\t\t\tUpdateResults result = ds.update(iQuery, ops, false);\n\n\t\t\t\tif(result.getUpdatedCount() == 0)\n\t\t\t\t\tthrow new EntityException(512, \"update failed\", null, null);\n\n\n\n\t\t\t}\n\t\t\tcatch(EntityException e)\n\t\t\t{\n\t\t\t\tthrow e;\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\tthrow new EntityException(500, null, e.getMessage(), null);\n\t\t\t}\n\t\t\treturn payment;\n\t\t}", "private double getExpenditureAmount(long startTimestamp, long endTimestamp) {\n Points p = getTransactions(startTimestamp, endTimestamp);\n if (p.x == -1 && p.y == -1)\n return 0;\n double total = 0;\n for (int i = p.x; i <= p.y; i++) {\n if (transactionList.get(i).transactionType == 0)\n total += transactionList.get(i).transactionAmount;\n }\n return total;\n }", "private boolean allocatePaySelection() {\n /**\n *\n * \t\tModificación para diferenciar\n *\tcobros/pagos en Consulta de Asignación\n *\n */\n MAllocationHdr alloc;\n\n if (isReceipt()) {\n alloc = new MAllocationHdr(getCtx(), false, getDateTrx(), getC_Currency_ID(),\n Msg.translate(getCtx(), \"IsReceipt\") + \": \" + getDocumentNo() + \" [n]\", get_TrxName());\n } else {\n alloc = new MAllocationHdr(getCtx(), false, getDateTrx(), getC_Currency_ID(),\n Msg.translate(getCtx(), \"C_Payment_ID\") + \": \" + getDocumentNo() + \" [n]\", get_TrxName());\n }\n alloc.setAD_Org_ID(getAD_Org_ID());\n\n String sql = \"SELECT psc.C_BPartner_ID, psl.C_Invoice_ID, psl.IsSOTrx, \" //\t1..3\n + \" psl.PayAmt, psl.DiscountAmt, psl.DifferenceAmt, psl.OpenAmt \"\n + \"FROM C_PaySelectionLine psl\"\n + \" INNER JOIN C_PaySelectionCheck psc ON (psl.C_PaySelectionCheck_ID=psc.C_PaySelectionCheck_ID) \"\n + \"WHERE psc.C_Payment_ID=?\";\n PreparedStatement pstmt = null;\n try {\n pstmt = DB.prepareStatement(sql, get_TrxName());\n pstmt.setInt(1, getC_Payment_ID());\n ResultSet rs = pstmt.executeQuery();\n while (rs.next()) {\n int C_BPartner_ID = rs.getInt(1);\n int C_Invoice_ID = rs.getInt(2);\n if (C_BPartner_ID == 0 && C_Invoice_ID == 0) {\n continue;\n }\n boolean isSOTrx = \"Y\".equals(rs.getString(3));\n BigDecimal PayAmt = rs.getBigDecimal(4);\n BigDecimal DiscountAmt = rs.getBigDecimal(5);\n BigDecimal WriteOffAmt = rs.getBigDecimal(6);\n BigDecimal OpenAmt = rs.getBigDecimal(7);\n BigDecimal OverUnderAmt = OpenAmt.subtract(PayAmt).subtract(DiscountAmt).subtract(WriteOffAmt);\n //\n if (alloc.get_ID() == 0 && !alloc.save(get_TrxName())) {\n log.log(Level.SEVERE, \"Could not create Allocation Hdr\");\n rs.close();\n pstmt.close();\n return false;\n }\n MAllocationLine aLine = null;\n if (isSOTrx) {\n aLine = new MAllocationLine(alloc, PayAmt,\n DiscountAmt, WriteOffAmt, OverUnderAmt);\n } else {\n aLine = new MAllocationLine(alloc, PayAmt.negate(),\n DiscountAmt.negate(), WriteOffAmt.negate(), OverUnderAmt.negate());\n }\n aLine.setDocInfo(C_BPartner_ID, 0, C_Invoice_ID);\n aLine.setC_Payment_ID(getC_Payment_ID());\n if (!aLine.save(get_TrxName())) {\n log.log(Level.SEVERE, \"Could not create Allocation Line\");\n }\n }\n rs.close();\n pstmt.close();\n pstmt = null;\n } catch (Exception e) {\n log.log(Level.SEVERE, \"allocatePaySelection\", e);\n }\n try {\n if (pstmt != null) {\n pstmt.close();\n }\n pstmt = null;\n } catch (Exception e) {\n pstmt = null;\n }\n\n //\tShould start WF\n boolean ok = true;\n if (alloc.get_ID() == 0) {\n log.fine(\"No Allocation created - C_Payment_ID=\"\n + getC_Payment_ID());\n ok = false;\n } else {\n alloc.processIt(DocAction.ACTION_Complete);\n ok = alloc.save(get_TrxName());\n m_processMsg = \"@C_AllocationHdr_ID@: \" + alloc.getDocumentNo();\n }\n return ok;\n }", "public int addPayment(int s_id,int c_id){\n\n if((!monthP.equals(\"\") )|| (c_id!=0)||(s_id!=0)) {\n if (classController.addPayment(s_id, c_id,monthP) == 1) {\n Toast.makeText(AddPaymentActivity.this, \"Payment added successfully.\", Toast.LENGTH_LONG).show();\n clearInterface();\n return 1;\n } else {\n Toast.makeText(AddPaymentActivity.this, \"Adding Payment failed.Try again.\", Toast.LENGTH_LONG).show();\n return 0;\n }\n }\n else {\n Toast.makeText(AddPaymentActivity.this, \"Missing data.please check again\", Toast.LENGTH_LONG).show();\n return 0;\n }\n\n }", "private void make_payment(int studentId)\n\t{\n\t\t\n\t\tdouble fee =0.0;\n\t\ttry\n\t\t{\n\t\t\tregistrationInterface.calculateFee(studentId);\n\t\t} \n\t\tcatch (SQLException e) \n\t\t{\n\n\t\t\tlogger.info(e.getMessage());\n\t\t}\n\n\t\tif(fee == 0.0)\n\t\t{\n\t\t\tlogger.info(\"You have not registered for any courses yet\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\t\n\t\t\tlogger.info(\"Your total fee = \" + fee);\n\t\t\tlogger.info(\"Want to continue Fee Payment(y/n)\");\n\t\t\tString ch = sc.next();\n\t\t\tif(ch.equals(\"y\"))\n\t\t\t{\n\t\t\t\tlogger.info(\"Select Mode of Payment:\");\n\t\t\t\t\n\t\t\t\tint index = 1;\n\t\t\t\tfor(ModeOfPayment mode : ModeOfPayment.values())\n\t\t\t\t{\n\t\t\t\t\tlogger.info(index + \" \" + mode);\n\t\t\t\t\tindex = index + 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tModeOfPayment mode = ModeOfPayment.getModeofPayment(sc.nextInt());\n\t\t\t\t\n\t\t\t\tif(mode == null)\n\t\t\t\t\tlogger.info(\"Invalid Input\");\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tNotification notify=null;\n\t\t\t\t\ttry \n\t\t\t\t\t{\n\t\t\t\t\t\tnotify = registrationInterface.payFee(studentId, mode,fee);\n\t\t\t\t\t}\n\t\t\t\t\tcatch (SQLException e) \n\t\t\t\t\t{\n\n\t\t\t\t\t\tlogger.info(e.getMessage());\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tlogger.info(\"Your Payment is successful\");\n\t\t\t\t\tlogger.info(\"Your transaction id : \" + notify.getReferenceId());\n\t\t\t\t}\n\t\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t}", "public int robTotal(int[] nums, int sums[],int start, int end) {\n\t\tfor (int i = start; i< end+1; i++) {\n\t\t\trobRecAtIndex(i, nums, sums);\n\t\t}\n\t\treturn sums[end];\n\t}", "public double pay(double amountPaid,String currency){\n \n saleDTO = sale.createSaleDTO();\n paymentDTO = new PaymentDTO(amountPaid,currency);\n double change = Math.round((paymentDTO.getAmountPaid() - saleDTO.getTotalPrice()) * 100.0) / 100.0;\n\n cashRegister.updateAmountInRegister(amountPaid - change);\n return change;\n\n }", "public double getTotalAmountPaid(){\n\t\tdouble amount = getAmountOfFixedPayments()*no_years*no_payments_yearly;\n\t\tdouble result = Math.round(amount*100.0) / 100.0;\n\t\treturn result;\n\t}", "public boolean checkoutBooking() {\r\n\t\tScanner scan = new Scanner(System.in);\r\n\t\tboolean bookUpdateSuccess = false;\r\n\r\n\t\t/**\r\n\t\t*\tSet the endTime as now\r\n\t\t*/\r\n\t\t/**\r\n\t\t*\tGet the number of milliSeconds from the system time and set it to the java.sql.Date\r\n\t\t*\tobject to create a booking number and also to set the start time.\r\n\t\t*/\r\n\t\tlong dateTimeMillis = System.currentTimeMillis();\r\n\t\t/**\r\n\t\t*\tThis date is for generating String bookingNo using the date and time values\r\n\t\t*/\r\n\t\tjava.util.Date date = new java.util.Date(dateTimeMillis);\r\n\t\t/**\r\n\t\t*\tPass the current date in sql.Timestamp object.\r\n\t\t*/\r\n\t\tendTime = new java.sql.Timestamp(date.getTime());\r\n\r\n\t\t/**\r\n\t\t*\tCalculate the cost base on the time elapsed between the start time and end time\r\n\t\t*\tdurationMinutes = (difference b/w end and start time) / 1000 to convert millis to seconds / 60 to convert seconds to minutes\r\n\t\t*/\r\n\t\tlong start = startTime.getTime();\r\n\t\tlong end = endTime.getTime();\r\n\t\tlong durationMinutes = (end - start)/60000;\r\n\r\n\t\t/**\r\n\t\t*\tThe cost is set as Rs. 1.27 per minuteand hence will be calulated using durationMinutes\r\n\t\t* The cost will be calculated according to absolute minutes and no decimals will be considered there\r\n\t\t*/\r\n\t\tcost = durationMinutes * 1.27;\r\n\r\n\t\t/**\r\n\t\t*\tShow the cost and confirm to checkout.\r\n\t\t*/\r\n\t\tSystem.out.print(\"\\n\\tTotal cost calculated: \" + cost + \"\\n\\n\\t1. Confirm Checkout\\n\\t2. Cancel\\n\\t\\t>> \");\r\n\t\tint opt = scan.nextInt();\r\n\r\n\t\tswitch (opt) {\r\n\t\t\tcase 1: {\t//confirm checkout\r\n\t\t\t\t//do nothing and move ahead towards the checkout procedure\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase 2: {\t//Cancel\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\tdefault: {\r\n\t\t\t\tSystem.out.println(\"Invalid Option\");\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t*\tSince connecting to database (DbConnection()) and updating data (executeUpdateParklot())\r\n\t\t* throw SQLException and throwing an exception from multiple levels again and again is not\r\n\t\t*\ta good way, so its is needed to catch the exception here.\r\n\t\t*/\r\n\t\ttry {\r\n\t\t\t/**\r\n\t\t\t*\tCreate a connection to the database\r\n\t\t\t*/\r\n\t\t\tDbConnection checkoutBookingConn = new DbConnection();\r\n\r\n\r\n\t\t\t/**\r\n\t\t\t*\tupdate the data in table\r\n\t\t\t*/\r\n\t\t\tbookUpdateSuccess = checkoutBookingConn.executeUpdateBooking(endTime, cost, bookingNo);\r\n\r\n\r\n\t\t} catch(SQLException SqlExcep) {\r\n\t\t\tSystem.out.println(\"No booking with the given booking number found.\");\r\n\t\t\t//SqlExcep.printStackTrace();\r\n\t\t} catch (ClassNotFoundException cnfExecp) {\r\n\t\t\tcnfExecp.printStackTrace();\r\n\t\t} finally {\r\n\t\t\t/*try {\r\n\t\t\t\t//validateConn.closeDbConnection();\r\n\t\t\t} catch(SQLException SqlExcep) {\r\n\t\t\t\tSqlExcep.printStackTrace();\r\n\t\t\t}*/\r\n\t\t}\r\n\t\treturn bookUpdateSuccess;\r\n\t}", "private void totalPrice() {\n double totalPrice;\n \n String stu = studentSubTotal.getText();\n stu = stu.substring(1);\n double stuTotal = Double.parseDouble(stu);\n\n String adult = adultSubTotal.getText();\n adult = adult.substring(1);\n double adultTotal = Double.parseDouble(adult);\n\n String senior = seniorSubTotal.getText();\n senior = senior.substring(1);\n double seniorTotal = Double.parseDouble(senior);\n\n totalPrice = stuTotal + adultTotal + seniorTotal;\n NumberFormat gbp = NumberFormat.getCurrencyInstance(Locale.UK);\n String totalStr = String.valueOf(gbp.format(totalPrice));\n totalPriceTextField.setText(totalStr);\n\n }", "@Test\n public void transactionSum() {\n final Transaction transaction1 = new Transaction(\"774cedda\", State.CANCELED, 1000L, new Date());\n final Account account1 = new Account(\"1001\", 0L, Collections.singletonList(transaction1));\n final Transaction transaction2 = new Transaction(\"337868a7\", State.FINISHED, 8000L, new Date());\n final Transaction transaction3 = new Transaction(\"f8047f86\", State.CANCELED, 10000L, new Date());\n final Account account2 = new Account(\"1002\", 8000L, Arrays.asList(transaction2, transaction3));\n\n final long actual = calcSumOfCancelledTransOnNonEmptyAccounts(Arrays.asList(account1, account2));\n\n Assert.assertEquals(actual, 10_000L);\n }", "private void modifyDepositDue(PrintItinerary itinerary, String xslFormat) {\n\t\tif (xslFormat.equalsIgnoreCase(\"CUSTOMERFORMATBOOKING\")) {\n\t\t\t// long datediff = DateUtils.dateDifferenceInDays(itinerary\n\t\t\t// .getBookingHeader().getBookingDate(), itinerary\n\t\t\t// .getBookingHeader().getDepartureDate());\n\t\t\t// if (datediff <= 45) { //CQ#8927 - Condition added for equal to 45\n\n\t\t\t// for Holiday period 60 days and non holdiday persion 45 scenarion\n\t\t\t// both opt date and finalpayment date will be same\n\t\t\t// according to kim\n\t\t\tlong datediff = DateUtils.dateDifferenceInDays(itinerary\n\t\t\t\t\t.getBookingHeader().getOptionDate(), itinerary\n\t\t\t\t\t.getBookingHeader().getFinalDueDate());\n\t\t\tif (datediff == 0) { // CQ#8927 - Condition added for equal to 45\n\t\t\t\titinerary.getBookingHeader().setMinimumAmount(\n\t\t\t\t\t\titinerary.getBookingHeader().getTourPrice()\n\t\t\t\t\t\t\t\t- itinerary.getBookingHeader().getAmountPaid());\n\t\t\t}\n\t\t\t// CQ#8955 - Added for displaying Gross balance Due in Agent\n\t\t} else if (xslFormat.equalsIgnoreCase(\"AGENTFORMATBOOKING\")) {\n\t\t\tlong datediff = DateUtils.dateDifferenceInDays(itinerary\n\t\t\t\t\t.getBookingHeader().getBookingDate(), itinerary\n\t\t\t\t\t.getBookingHeader().getDepartureDate());\n\t\t\t// if (datediff > 45) {\n\t\t\titinerary.getBookingHeader().setGrossBalanceDue(\n\t\t\t\t\titinerary.getBookingHeader().getTourPrice()\n\t\t\t\t\t\t\t- itinerary.getBookingHeader().getAmountPaid());\n\t\t\t// }\n\n\t\t}\n\t}", "@RequestMapping(path = \"staffs/{id}/revenue\", method = RequestMethod.GET)\n public double getRevenueByStaff(@PathVariable int id, @RequestParam String start, @RequestParam String end) {\n SimpleDateFormat format = new SimpleDateFormat(\"dd-MM-yyyy\");\n try {\n Date startDate = format.parse(start);\n Date endDate = format.parse(end);\n return staffService.getRevenueByStaff(id, startDate, endDate);\n } catch (ParseException e) {\n return 0;\n }\n }", "int getNumberPaymentReceipt();" ]
[ "0.57897377", "0.54541016", "0.54132026", "0.5238926", "0.5218244", "0.5189879", "0.5177861", "0.49713796", "0.49666646", "0.49303403", "0.48455447", "0.4843598", "0.4840077", "0.48147607", "0.48140857", "0.47951767", "0.4778936", "0.47420686", "0.4737789", "0.47345236", "0.47307453", "0.47283608", "0.47249067", "0.47118026", "0.4707731", "0.46821395", "0.46774858", "0.46700805", "0.46668756", "0.46499717", "0.46466717", "0.46463317", "0.46401834", "0.46399575", "0.4633865", "0.4631798", "0.4629451", "0.46244705", "0.46189958", "0.46111447", "0.4596906", "0.45944762", "0.45871985", "0.45797578", "0.45759636", "0.4572864", "0.454944", "0.4547508", "0.45327896", "0.45177287", "0.45110518", "0.45032385", "0.44995418", "0.44984418", "0.44871223", "0.44844878", "0.44840804", "0.44798297", "0.44760597", "0.44729105", "0.44649124", "0.4464819", "0.44605067", "0.44591242", "0.4451606", "0.44508484", "0.444988", "0.44447196", "0.44429845", "0.44405016", "0.44366166", "0.4436501", "0.44304675", "0.44271228", "0.44262537", "0.44257104", "0.44170028", "0.44149488", "0.44118428", "0.4410212", "0.4402674", "0.44002387", "0.44002387", "0.43999067", "0.43982336", "0.4395305", "0.43949276", "0.43920627", "0.43902552", "0.43839967", "0.43828583", "0.4381935", "0.4380843", "0.43761337", "0.43724784", "0.43682653", "0.43663156", "0.43645197", "0.43591884", "0.4355194" ]
0.7031286
0
Data Transfer Object (DTO) interface for service registry grouped.
@DtoReadableAs(JSON) @DtoWritableAs(JSON) public interface ServiceRegistryGrouped { AutoCompleteData autoCompleteData(); List<ServiceGroup> servicesGroupedByServiceDefinition(); List<SystemGroup> servicesGroupedBySystems(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface DeviceService {\n\n DataWrapper<DeviceGroupInfoEntity> addGroup(DeviceGroupInfoEntity deviceGroup);\n\n DataWrapper<Void> delete(int deviceGroupId);\n\n DataWrapper<DeviceEntity> update(DeviceGroupInfoEntity deviceGroup);\n\n DataWrapper<List<DeviceGroupInfoEntity>> groupList(Page page);\n\n DataWrapper<DeviceGroupInfoEntity> groupDetail(int groupId);\n\n DataWrapper<List<DeviceGroupTypeEntity>> groupType();\n\n}", "public interface IReglaUtilDTO {\n\n\t/**\n\t * To business.\n\t * \n\t * @param reglaDTO\n\t * the regla dto\n\t * @return the regla\n\t * @throws TransferObjectException\n\t * the transfer object exception\n\t */\n\tRegla toBusiness(ReglaDTO reglaDTO) throws TransferObjectException;\n\n\t/**\n\t * To rest.\n\t * \n\t * @param regla\n\t * the regla\n\t * @return the regla dto\n\t * @throws TransferObjectException\n\t * the transfer object exception\n\t */\n\tReglaDTO toRest(Regla regla) throws TransferObjectException;\n\n\t/**\n\t * To rest info.\n\t * \n\t * @param regla\n\t * the regla\n\t * @return the regla dto\n\t * @throws TransferObjectException\n\t * the transfer object exception\n\t */\n\tReglaDTO toRestInfo(Regla regla) throws TransferObjectException;\n}", "public GroupMappingService getGroupMapping();", "public GrupoDTO getDto() {\n\t\treturn this.dto;\n\t}", "public interface GroupService {\n}", "public interface GroupService {\n}", "public GrupoUsuarioDTO() {\n }", "public interface GroupService {\n\n ImGroup createGroup();\n\n}", "public interface GroupingService {\n Grouping getById(long id) throws ResourceNotFoundException;\n\n void create(Grouping grouping) throws InvalidDataProvidedException;\n\n void delete(Grouping grouping) throws ResourceNotFoundException;\n\n void update(Grouping grouping) throws InvalidDataProvidedException;\n\n List<Grouping> getByUser(User user);\n}", "public interface GroupService {\n\n @Headers({\n \"Accept: application/json\",\n \"Content-type: application/json\"\n })\n @POST(\"api/prode/group/add\")\n RestBodyCall<Group> add(@Body JsonObject params);\n\n @GET(\"api/prode/group/index\")\n RestBodyCall<ArrayList<Group>> list(@Query(\"access_token\") String accessToken);\n\n @GET(\"api/prode/group/remove-user\")\n RestBodyCall<Boolean> removeUser(@Query(\"access_token\") String accessToken, @Query(\"group_id\") int groupId, @Query(\"user_id\") int userId);\n\n @GET(\"api/prode/group/remove-user\")\n RestBodyCall<Boolean> removeUserById(@Query(\"access_token\") String accessToken, @Query(\"group_id\") int groupId, @Query(\"group_relation_id\") long groupRelationId);\n\n @GET(\"api/prode/group/leave\")\n RestBodyCall<Boolean> leave(@Query(\"access_token\") String accessToken, @Query(\"group_id\") int groupId);\n\n @Headers({\n \"Accept: application/json\",\n \"Content-type: application/json\"\n })\n @POST(\"api/prode/group/invitation\")\n RestBodyCall<Group> invitation(@Body JsonObject params);\n}", "public abstract DTO toDTO(M model);", "public interface GroupService {\n List<Group> groups();\n Group create(String name);\n Status update(Group group);\n Status delete(Integer groupId);\n}", "protected abstract void processDTO();", "private OfferedServiceDto convertToDto(OfferedService s) {\n\t\tif (s == null) {\n\t\t\tthrow new InvalidInputException(\"There is no such OfferedService!\");\n\t\t}\n\t\tOfferedServiceDto offerServiceDto = new OfferedServiceDto(s.getOfferedServiceId(), s.getPrice(),\n\t\t\t\ts.getName(),s.getDuration(), s.getReminderTime(),s.getReminderDate(), s.getDescription());\n\t\treturn offerServiceDto;\n\n\t}", "@Deprecated\n MerchandiseDTO() {\n }", "public interface FormGroupManager {\n\n /**\n * 添加拼团记录\n */\n Long addFormGroupProperty(FormGroupPropertyDTO formGroupPropertyDTO, String appKey) throws ServiceException;\n\n /**\n * 获取拼团记录\n */\n FormGroupPropertyDTO getFormGroupProperty(Long id,Long sellerId,String appKey) throws ServiceException;\n\n /**\n * 使拼团失效\n */\n Boolean invalidFormGroupProperty(Long formGroupPropertyId,Long sellerId,String appKey) throws ServiceException;\n\n /**\n * 更新拼团信息\n */\n Boolean updateFormGroupProperty(FormGroupPropertyDTO formGroupPropertyDTO,String appKey) throws ServiceException;\n\n\n /**\n * 查询拼团列表\n */\n PageDTO<List<FormGroupPropertyDTO>> queryFormGroupProperty(FormGroupPropertyQTO formGroupPropertyQTO, String appKey) throws ServiceException;\n\n\n /**\n * 查询拼团购买详情列表\n */\n PageDTO<List<FormGroupDTO>> queryFormGroupDetail(FormGroupDetailQTO formGroupDetailQTO, String appKey) throws ServiceException;\n\n /**\n * 根据订单id和sellerId查询拼团状态\n */\n FormGroupDTO getFormGroupByOrderId(Long orderId,Long sellerId,String appKey) throws ServiceException;\n\n}", "protected abstract ServiceRegistry getNewServiceRegistry();", "public ProductoDTO(){\r\n\t\t\r\n\t}", "public interface Group {\n\n void saveGroup(ServiceCallback<Group> callback);\n\n String getId();\n\n String getName();\n\n void setName(String name);\n\n String getCoverUrl();\n\n void setCoverImage(Bitmap bitmap);\n\n List<User> getUsers();\n\n void fetchUsers(ServiceCallback<Group> callback);\n\n List<User> getAdmins();\n\n void fetchAdmins(ServiceCallback<Group> callback);\n}", "public interface ProductParameterGroupService {\n //查询商品参数组\n List<ProductParameterGroup> queryParameterGroup();\n}", "public interface IGroupCodeService extends BaseService<GroupCode, Integer> {\r\n\r\n}", "@Mapper\npublic interface SeguridadDtoMap {\n SeguridadDtoMap INSTANCE = Mappers.getMapper( SeguridadDtoMap.class );\n\n GrupoDto grupoToGrupoDto(Grupo grupo);\n\n Grupo grupoDtoToGrupo(GrupoDto grupoDto);\n}", "public interface GroupRpcService {\n\n /**\n * 创建群组\n * @param name\n * @param description\n * @param userId\n * @return\n */\n int createGroup(String name, String description, int userId);\n\n /**\n * 修改群组名\n * @param groupId\n * @param groupName\n * @return\n */\n int modifyGroupName(int groupId, String groupName);\n\n /**\n * 修改群备注\n * @param groupId\n * @param description\n * @return\n */\n int modifyGroupDescription(int groupId, String description);\n\n /**\n * 解散群组\n * @param groupId\n * @param userId\n * @return\n */\n int disbandGroup(int groupId, int userId);\n\n /**\n * 查询我创建的群组\n * @param userId\n * @return\n */\n List<GroupListVo> findGroupsByUserId(int userId);\n\n /**\n * 查询我所有加入的群组\n * @param userId\n * @return\n */\n List<GroupListVo> findUserJoinedGroup(int userId);\n\n /**\n * 查询群组内所有用户信息\n * @param groupId\n * @return\n */\n List<GroupMemberListVo> findGroupMemberList(int groupId);\n\n /**\n * 查询群组详细信息\n * @param groupId\n * @return\n */\n GroupInfoVo findGroupInfo(int groupId);\n\n /**\n * 发送群信息\n * @param groupId\n * @param userId\n * @param content\n * @param chatImage\n * @return\n */\n int sendGroupMessage(int groupId, int userId, String content,String chatImage);\n\n /**\n * 查询群聊天内容\n * @param groupId\n * @param page\n * @param count\n * @return\n */\n List<GroupChatRecordListVo> findGroupChatRecordPage(int groupId, int page, int count);\n\n /**\n * 移出群成员\n * @param groupId\n * @param userId\n * @param memberId\n * @return\n */\n int removeGroupMember(int groupId, int userId,int memberId);\n\n /**\n * 调整群成员角色\n * @param groupId\n * @param userId\n * @param role\n * @param memberId\n * @return\n */\n int modifyPermission(int groupId, int userId, int role,int memberId);\n\n /**\n * 判断用户是否已在群内\n * @param userId\n * @param groupId\n * @return\n */\n int whetherInGroup(int userId, int groupId);\n\n /**\n * 申请进群\n * @param groupId\n * @param fromUid\n * @param remark\n * @return\n */\n int applyAddGroup(int groupId, int fromUid, String remark);\n\n /**\n * 邀请加群\n * @param groupId\n * @param fromUid\n * @param receiverUid\n * @return\n */\n int inviteAddGroup(int groupId, int fromUid, int receiverUid);\n\n /**\n * 查询群通知记录\n * @param userId\n * @param page\n * @param count\n * @return\n */\n List<GroupNoticeListVo> findGroupNoticePageList(int userId, int page, int count);\n\n /**\n * 审核群申请\n * @param noticeId\n * @param flag\n * @return\n */\n int reviewGroupApply(int noticeId, int flag);\n\n /**\n * 修改群头像\n * @param image\n * @param groupId\n * @return\n */\n int modifyImage(String image,int groupId);\n\n /**\n * 退群\n * @param userId\n * @param groupId\n * @return\n */\n int retreat(int userId,int groupId);\n\n}", "@Override\r\n\tpublic MainDTO toDTO() {\n\t\tFamiliaresDTO familiaresDTO = new FamiliaresDTO();\r\n\t\tDomicilioDTO domicilioDTO = null;\r\n\t\tfamiliaresDTO.setIdfamiliar(this.getIdFamiliar());\r\n\t\tfamiliaresDTO.setNombre(this.getNombre());\r\n\t\tfamiliaresDTO.setApellidoPaterno(this.getApellidoPaterno());\r\n\t\tfamiliaresDTO.setApellidoMaterno(this.getAppelidoMaterno());\r\n\t\tfamiliaresDTO.setDireccion(this.getDireccion());\r\n\t\tfamiliaresDTO.setIdpaciente(this.getIdpaciente());\r\n\t\tfamiliaresDTO.setDependencia(this.getDependencia());\r\n\t\tdomicilioDTO = (DomicilioDTO) this.getDomicilio().toDTO();\r\n\t\tfamiliaresDTO.setDomicilio(domicilioDTO);\r\n\t\treturn familiaresDTO;\r\n\t}", "RealtorProductDTO getrealtorProductDTO(int sr_no);", "public interface GroupDescription {\n /**\n * Types of the group supported by ONOS.\n */\n enum Type {\n /**\n * Load-balancing among different buckets in a group.\n */\n SELECT,\n /**\n * Single Bucket Group.\n */\n INDIRECT,\n /**\n * Multicast to all buckets in a group.\n */\n ALL,\n /**\n * Similar to {@link Type#ALL} but used for cloning of packets\n * independently of the egress decision (singleton treatment or other\n * group).\n */\n CLONE,\n /**\n * Uses the first live bucket in a group.\n */\n FAILOVER\n }\n\n /**\n * Returns type of a group object.\n *\n * @return GroupType group type\n */\n Type type();\n\n /**\n * Returns device identifier on which this group object is created.\n *\n * @return DeviceId device identifier\n */\n DeviceId deviceId();\n\n /**\n * Returns application identifier that has created this group object.\n *\n * @return ApplicationId application identifier\n */\n ApplicationId appId();\n\n /**\n * Returns application cookie associated with a group object.\n *\n * @return GroupKey application cookie\n */\n GroupKey appCookie();\n\n /**\n * Returns groupId passed in by caller.\n *\n * @return Integer group id passed in by caller. May be null if caller\n * passed in null to let groupService determine the group id.\n */\n Integer givenGroupId();\n\n /**\n * Returns group buckets of a group.\n *\n * @return GroupBuckets immutable list of group bucket\n */\n GroupBuckets buckets();\n}", "Map<String, Object> getServiceSpecificObjects();", "public ProdutoDTO()\n {\n super();\n }", "public interface ConsultarExpedienteService {\n \n DyctContribuyenteDTO buscarNumcontrol(String numControl); \n \n DeclaracionConsultarExpedienteVO buscarOrigenSaldo(String numControl); \n \n ExpedienteDTO buscarExpedienteNumControl(String noControl);\n \n TramiteCortoDTO buscaNumeroControl(String noControl, String rfc);\n \n TramiteCortoDTO buscaNumeroControl(String noControl);\n \n List<DocumentoReqDTO> buscaDocumentoRequerido (String numControl);\n \n List<SolicitudAdministrarSolVO> selecXNumControlEstAprobado(String numControl);\n\n void actualizarFolioNYVFechaNoti(String numControlDoc, String numControl, String folio, String fecha) throws SIATException;\n \n}", "public interface RegistryReplicationService extends RegistryService {\n\n GetServicesResponse getServices(GetServicesRequest request);\n\n}", "public interface DepartmentService {\n public Map<String,Object> departmentList();\n public Map<String,Object> departmentAdd(Map<String,Object> params);\n public Map<String,Object> departmentEdit(Map<String,Object> params);\n public Map<String,Object> departmentDelete(Map<String,Object> params);\n public Map<String,Object> departmentDeleteCascade(Map<String,Object> params);\n public Map<String,Object> departmentNewRoot();\n\n}", "public ExternalServicesDto getExternalServiceData();", "public interface Registry\n {\n /**\n * Collection ids start at 1.\n */\n public <T extends Collection<?>> Registry registerCollection(\n CollectionSchema.MessageFactory factory, int id);\n \n /**\n * Map ids start at 1.\n */\n public <T extends Map<?,?>> Registry registerMap(\n MapSchema.MessageFactory factory, int id);\n \n /**\n * Enum ids start at 1.\n */\n public <T extends Enum<T>> Registry registerEnum(Class<T> clazz, int id);\n \n /**\n * Enum ids start at 1.\n */\n public Registry registerEnum(EnumIO<?> eio, int id);\n \n /**\n * Pojo ids start at 1.\n */\n public <T> Registry registerPojo(Class<T> clazz, int id);\n \n /**\n * Pojo ids start at 1.\n */\n public <T> Registry registerPojo(Schema<T> schema, Pipe.Schema<T> pipeSchema, \n int id);\n \n /**\n * If you are sure that you are only using a single implementation of \n * your interface/abstract class, then it makes sense to map it directly \n * to its impl class to avoid writing the type.\n * \n * Note that the type is always written when your field is \n * {@link java.lang.Object}. \n * \n * Pojo ids start at 1.\n */\n public <T> Registry mapPojo(Class<? super T> baseClass, Class<T> implClass);\n \n /**\n * Register a {@link Delegate} and assign an id.\n * \n * Delegate ids start at 1.\n */\n public <T> Registry registerDelegate(Delegate<T> delegate, int id);\n }", "public GetAllCarsDTO() {\n }", "public interface MovimientoService {\n public static final String PROPERTY_ID = \"id\";\n public static final String PROPERTY_PARTIDO_ID = \"partidoId\";\n public static final String PROPERTY_TIEMPO_DES = \"tiempoDes\";\n public static final String PROPERTY_MINUTO = \"minuto\";\n public static final String PROPERTY_SEGUNDO = \"segundo\";\n public static final String PROPERTY_TIPO = \"tipo\";\n public static final String PROPERTY_ORIGEN = \"origen\";\n public static final String PROPERTY_ENTRA_ID = \"entraId\";\n public static final String PROPERTY_ENTRA_NOMBRE = \"entraNombre\";\n public static final String PROPERTY_SALE_ID = \"saleId\";\n public static final String PROPERTY_SALE_NOMBRE = \"saleNombre\";\n\n Map<String,Object> createMovimiento(Map<String, String> movimiento);\n\n void deleteMovimiento(Long idMovimiento);\n\n List<Map<String,Object>> movimientosByPartido(Long idPartido);\n}", "public interface PortPairGroupService extends ListenerService<PortPairGroupEvent, PortPairGroupListener> {\n\n /**\n * Returns if the port pair group is existed.\n *\n * @param portPairGroupId port pair group identifier\n * @return true or false if one with the given identifier exists.\n */\n boolean exists(PortPairGroupId portPairGroupId);\n\n /**\n * Returns the number of port pair groups known to the system.\n *\n * @return number of port pair groups.\n */\n int getPortPairGroupCount();\n\n /**\n * Returns an iterable collection of the currently known port pair groups.\n *\n * @return collection of port pair groups.\n */\n Iterable<PortPairGroup> getPortPairGroups();\n\n /**\n * Returns the portPairGroup with the given identifier.\n *\n * @param portPairGroupId port pair group identifier\n * @return PortPairGroup or null if port pair group with the given identifier is not\n * known.\n */\n PortPairGroup getPortPairGroup(PortPairGroupId portPairGroupId);\n\n /**\n * Creates a PortPairGroup in the store.\n *\n * @param portPairGroup the port pair group to create\n * @return true if given port pair group is created successfully.\n */\n boolean createPortPairGroup(PortPairGroup portPairGroup);\n\n /**\n * Updates the portPairGroup in the store.\n *\n * @param portPairGroup the port pair group to update\n * @return true if given port pair group is updated successfully.\n */\n boolean updatePortPairGroup(PortPairGroup portPairGroup);\n\n /**\n * Deletes portPairGroup by given portPairGroupId.\n *\n * @param portPairGroupId id of port pair group to remove\n * @return true if the give port pair group is deleted successfully.\n */\n boolean removePortPairGroup(PortPairGroupId portPairGroupId);\n}", "public SellerDTO() {\n\t\t\n\t}", "public interface IGroupService {\n Group findById(Long id);\n Group save(Group group);\n\n List<Group> findAll();\n}", "public TcUnidadEdoDTO() {\n }", "public interface ServiceGroupDao {\n\n\tpublic List<ServiceGroup> listAll() throws Exception;\n\t\n\t// Note that cid is the contactId, same as contactInfo from ServiceGroup.java\n\tpublic ServiceGroup create(String shortName, String title, int cid) throws Exception;\n\t\n\tpublic void delete(int sgid) throws Exception;\n\t\n\tpublic void update(int sgid, String shortName, String title, int cid) throws Exception;\n\t\n\tpublic ServiceGroup fetchServiceGroupById(int sgid) throws Exception;\n}", "Product registerProduct(ProductDTO productDTO);", "@Override\n\tpublic int addStationstoServices(Service serviceDTO) {\n\t\tcom.svecw.obtr.domain.Service serviceDomain = new com.svecw.obtr.domain.Service();\n\t\tserviceDomain.setSourceStationId(serviceDTO.getSourceStationId());\n\t\tserviceDomain.setDestinationStationId(serviceDTO.getDestinationStationId());\n\t\tserviceDomain.setServiceId(serviceDTO.getServiceId());\n\t\tSystem.out.println(serviceDTO.getServiceId());\n\t\t//System.out.println(serviceDTO.getDestinationStationId());\n\t\treturn iStationToService.addServiceToStation(serviceDomain);\n\t}", "@RequestMapping(\"kpis\")\n public ApplicationMetricsDto buildServiceMetrics() {\n return this.applicationMetricsService.buildMetrics();\n }", "public interface BusDistributorService extends Services<BusDistributor,Long> {\r\n}", "public interface PaymentGroupMapContainer extends Serializable\n{\n\n //-------------------------------------\n // Class version string\n //-------------------------------------\n\n public static String CLASS_VERSION = \"$Id: //product/DCS/version/10.0.3/Java/atg/commerce/order/purchase/PaymentGroupMapContainer.java#2 $$Change: 651448 $\";\n \n /**\n * The <code>getPaymentGroupMap</code> method returns the Map of payment names\n * to PaymentGroups.\n *\n * @return a <code>Map</code> value\n */\n public Map getPaymentGroupMap();\n\n /**\n * The <code>getPaymentGroup</code> method returns the PaymentGroup corresponding\n * to the supplied payment name.\n *\n * @param pPaymentGroupName a <code>String</code> value\n * @return a <code>PaymentGroup</code> value\n */\n public PaymentGroup getPaymentGroup(String pPaymentGroupName);\n \n /**\n * The <code>addPaymentGroup</code> method adds the supplied payment name\n * and PaymentGroup to the Map.\n *\n * @param pPaymentGroupName a <code>String</code> value\n * @param pPaymentGroup a <code>PaymentGroup</code> value\n */\n public void addPaymentGroup(String pPaymentGroupName, PaymentGroup pPaymentGroup);\n\n /**\n * The <code>removeAllPaymentGroups</code> method clears the Map.\n *\n */\n public void removeAllPaymentGroups();\n\n /**\n * The <code>removePaymentGroup</code> method removes the PaymentGroup corresponding\n * to the supplied payment name.\n *\n * @param pPaymentGroupName a <code>String</code> value\n */\n public void removePaymentGroup(String pPaymentGroupName);\n \n /**\n * The <code>setDefaultPaymentGroupName</code> method marks the name of the\n * default PaymentGroup.\n *\n * @param pDefaultPaymentGroupName a <code>String</code> value\n */\n public void setDefaultPaymentGroupName(String pDefaultPaymentGroupName);\n \n /**\n * The <code>getDefaultPaymentGroupName</code> method retrieves the name of the\n * default PaymentGroup.\n *\n * @return a <code>String</code> value\n */\n public String getDefaultPaymentGroupName();\n\n}", "public interface RepoTempHumService {\n\n Map<String, Object> selectById(Integer repositoryId,int offset, int limit) throws RepoTempHumServiceException;\n\n Map<String, Object> selectAll(int offset, int limit) throws RepoTempHumServiceException;\n\n boolean addRepoTempHumRecord(RepoTempHumDO repoTempHumDO) throws RepoTempHumServiceException;\n\n public File exportRecord(List<RepoTempHumDTO> rows);\n}", "interface SyncGroupsService {\n @Headers({ \"Content-Type: application/json; charset=utf-8\", \"x-ms-logging-context: com.microsoft.azure.management.storagesync.v2018_04_02.SyncGroups listByStorageSyncService\" })\n @GET(\"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups\")\n Observable<Response<ResponseBody>> listByStorageSyncService(@Path(\"subscriptionId\") String subscriptionId, @Path(\"resourceGroupName\") String resourceGroupName, @Path(\"storageSyncServiceName\") String storageSyncServiceName, @Query(\"api-version\") String apiVersion, @Header(\"accept-language\") String acceptLanguage, @Header(\"User-Agent\") String userAgent);\n\n @Headers({ \"Content-Type: application/json; charset=utf-8\", \"x-ms-logging-context: com.microsoft.azure.management.storagesync.v2018_04_02.SyncGroups create\" })\n @PUT(\"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}\")\n Observable<Response<ResponseBody>> create(@Path(\"subscriptionId\") String subscriptionId, @Path(\"resourceGroupName\") String resourceGroupName, @Path(\"storageSyncServiceName\") String storageSyncServiceName, @Path(\"syncGroupName\") String syncGroupName, @Query(\"api-version\") String apiVersion, @Header(\"accept-language\") String acceptLanguage, @Body SyncGroupInner parameters, @Header(\"User-Agent\") String userAgent);\n\n @Headers({ \"Content-Type: application/json; charset=utf-8\", \"x-ms-logging-context: com.microsoft.azure.management.storagesync.v2018_04_02.SyncGroups get\" })\n @GET(\"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}\")\n Observable<Response<ResponseBody>> get(@Path(\"subscriptionId\") String subscriptionId, @Path(\"resourceGroupName\") String resourceGroupName, @Path(\"storageSyncServiceName\") String storageSyncServiceName, @Path(\"syncGroupName\") String syncGroupName, @Query(\"api-version\") String apiVersion, @Header(\"accept-language\") String acceptLanguage, @Header(\"User-Agent\") String userAgent);\n\n @Headers({ \"Content-Type: application/json; charset=utf-8\", \"x-ms-logging-context: com.microsoft.azure.management.storagesync.v2018_04_02.SyncGroups delete\" })\n @HTTP(path = \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}\", method = \"DELETE\", hasBody = true)\n Observable<Response<ResponseBody>> delete(@Path(\"subscriptionId\") String subscriptionId, @Path(\"resourceGroupName\") String resourceGroupName, @Path(\"storageSyncServiceName\") String storageSyncServiceName, @Path(\"syncGroupName\") String syncGroupName, @Query(\"api-version\") String apiVersion, @Header(\"accept-language\") String acceptLanguage, @Header(\"User-Agent\") String userAgent);\n\n }", "D mapToDTO(E entity);", "public GroupResponse(){\n\t\t\n\t}", "public interface DeliveryService {\n\n public List<Delivery> listDelivery(int pageStart, int pageSize);\n\n public int countDelivery();\n\n public List<Delivery> listDeliveryByStock(int pageStart, int pageSize, String class_id, String entity_id, String stock_id, String officeId);\n\n public List<Delivery> listDeliveryByOffice(int pageStart, int pageSize,String stock_id);\n\n public List<Delivery> listDeliveryUNIONStorageByOffice(int pageStart, int pageSize, String stock_id);\n\n public Map<String, Object> addDelivery(Stock stock, Delivery delivery,String status);\n\n public Map<String, Object> addDelivery(Delivery delivery, String status);\n\n public boolean updateDeliveryStatus(String id);\n\n public Map<String, Object> deliveryReport(String startDate,String endDate);\n\n}", "public interface IGroupService<Group> extends GenericManager<Group> {\n\n}", "PersonaDTO PersonaToPersonaDTO(Persona persona);", "public GrupoCrearEditarBackingMB() {\n\t\tsuper();\n\t\tthis.dto = new GrupoDTO();\n\t}", "public TransportDTO makeDTO(ResultSet RS) {\n TransportDTO output = null;\n Connection conn = Repository.getInstance().connect();\n OrderDAO OrderDAO = new OrderDAO();\n try {\n String date = RS.getString(2);\n int weight = RS.getInt(1);\n String driverID = RS.getString(5);\n String Truckplate = RS.getString(4);\n int transportID = RS.getInt(3);\n List<OrderDTO> Orders = new ArrayList<OrderDTO>();\n boolean wasDel = RS.getString(6).equals(\"true\");\n ResultSet contractsRS = getWithInt(\"TransportsOrders\", \"TransportID\", transportID,conn);\n while (contractsRS.next()) {\n int OrderID = contractsRS.getInt(1);\n Orders.add(OrderDAO.get(OrderID));\n }\n output = new TransportDTO(date, weight, driverID, Truckplate, Orders, wasDel, transportID);\n } catch (Exception e) {\n output = null;\n }\n finally{\n Repository.getInstance().closeConnection(conn);\n }\n return output;\n }", "public interface MachineTypeService {\r\n\r\n\t/**\r\n\t * Abstract method to save Machine Type Details to the Database\r\n\t * \r\n\t * @param machineType\r\n\t * machineType DTO\r\n\t * \r\n\t * @return CodeAndLanguageCodeID returning code and language code\r\n\t * {@link CodeAndLanguageCodeID}\r\n\t * \r\n\t * @throws MasterDataServiceException\r\n\t * if any error occurred while saving Machine Type\r\n\t */\r\n\tpublic CodeAndLanguageCodeID createMachineType(RequestDto<MachineTypeDto> machineType);\r\n\r\n}", "public List<WorkGroupDTO> getWorkGroupToAgent();", "public Map getPaymentGroupMap();", "protected abstract ServiceObjectType getServiceObjectType();", "public PersonaDTO(){}", "public interface DeviceService extends BaseService<PDevice,String> {\n\n int checkDeviceName(String dname);\n List<String> getallIp();\n int count();\n String authDevice(String msg1);\n void updateDeviceCon(String eid,String conStatue);\n ReType showCon(PDevice pDevice, int page, int limit);\n\n\n List<PDevice> getAlldevice();\n\n void addDevice(PDevice pDevice);\n\n void updateDeviceIp(String eid, String inetAddress);\n\n PDevice selectDevicebyeid(String eid);\n\n JsonUtil deletebydeviceId(String eid, boolean flag);\n\n void updateDevice(PDevice pDevice);\n\n\n List<HashMap<String,String>> getDeviceConnect(List<String> deviceids);\n}", "public interface SerService {\n\n List<SService> findwithPageInfo(Integer pageNo, Integer pageSize);\n\n PageInfo<SService> getPageInfo(Integer pageSize);\n\n SService findById(Integer id);\n\n void modi(SService sService);\n\n void add(SService sService, String samePasswd);\n\n void setStateS(Integer id);\n\n void delS(Integer id);\n\n\n List<SService> findS(String osUsername, String unixHost, String status, Integer accountId);\n\n void updateCost(SService sService);\n}", "public CambioComplementariosDTO() { }", "public HostToGroupMapping() {\n }", "public ResponseEntity<List<GrupoDS>> buscarGrupos() {\n \tList<GrupoDS> lista = new ArrayList<>();\n \tfor (GrupoModel model : grupoRepository.findAll()) {\n \t\tlista.add(new GrupoDS(model));\n \t}\n return new ResponseEntity<List<GrupoDS>>(lista, HttpStatus.OK);\n }", "public interface IWebAuthorService {\n\n AdminDTO getAdminDTO();\n\n}", "@Mapper(componentModel = \"cdi\")\npublic interface ArchivoMapper {\n\n ArchivoDTO toDTO(Archivo source);\n List<ArchivoDTO> toDTOList(List<Archivo> sourceList);\n\n void updateFromDTO(ArchivoDTO source, @MappingTarget Archivo target);\n}", "@Override\n\tpublic int addService(Service serviceDTO) {\n\t\tcom.svecw.obtr.domain.Service serviceDomain = new com.svecw.obtr.domain.Service();\n\t\tserviceDomain.setSourceId(serviceDTO.getSourceId());\n\t\tserviceDomain.setDestinationId(serviceDTO.getDestinationId());\n\t\tserviceDomain.setNoOfSeats(serviceDTO.getNoOfSeats());\n\t\tserviceDomain.setFare(serviceDTO.getFare());\n\t\tserviceDomain.setDistance(serviceDTO.getDistance());\n\t\tserviceDomain.setJourneyDate(serviceDTO.getJourneyDate());\n\t\tserviceDomain.setArrivalTime(serviceDTO.getArrivalTime());\n\t\tserviceDomain.setDepartureTime(serviceDTO.getDepartureTime());\n\t\tserviceDomain.setStatus(serviceDTO.getStatus());\n\t\treturn iServiceDAO.addService(serviceDomain);\n\t}", "public interface RegisterIntegrationObjectService\n{\n\t/**\n\t * For the given ICC create the exposed destinations\n\t *\n\t * @param destinationTargets given destination targets\n\t * @param inboundChannelConfig given ICC\n\t * @param credential given credentials to be used for the exposed destination\n\t */\n\tvoid createExposedDestinations(List<DestinationTargetModel> destinationTargets,\n\t InboundChannelConfigurationModel inboundChannelConfig,\n\t AbstractCredentialModel credential);\n\n\t/**\n\t * Create exposed OAuth credential for the exposed destination\n\t *\n\t * @param integrationCCD given integration CCD\n\t */\n\tvoid createExposedOAuthCredential(IntegrationClientCredentialsDetailsModel integrationCCD);\n\n\t/**\n\t * Create basic credential based on the an existing employee\n\t *\n\t * @param username given employee ID\n\t * @param password given employee password\n\t * @return returns associated basic credential with the employee\n\t */\n\tAbstractCredentialModel createBasicCredential(String username, String password);\n\n\t/**\n\t * Create OAuth credential based on the an existing employee\n\t *\n\t * @param employee given employee\n\t * @return returns associated OAuth credential with the employee\n\t */\n\tAbstractCredentialModel createOAuthCredential(EmployeeModel employee);\n\n\t/**\n\t * Read destination targets\n\t *\n\t * @return destination targets\n\t */\n\tList<DestinationTargetModel> readDestinationTargets();\n\n\t/**\n\t * Read basic credentials\n\t *\n\t * @return basic credentials\n\t */\n\tList<BasicCredentialModel> readBasicCredentials();\n\n\t/**\n\t * Read exposed OAuth credentials\n\t *\n\t * @return exposed OAuth credentials\n\t */\n\tList<ExposedOAuthCredentialModel> readExposedOAuthCredentials();\n\n\t/**\n\t * Read employees\n\t *\n\t * @return employees\n\t */\n\tList<EmployeeModel> readEmployees();\n}", "public <T> T export(String serviceName, Object service, String serviceInterface) throws Exception\n {\n\t\n\tif(RemoteConstants.REMOTE_CONF.equals(StringUtil.nullToEmpty(beanAvailability).trim()))\n\t{\n\t if(RemoteConstants.RMI_REMOTING.equals(StringUtil.nullToEmpty(remoteTechnicque).trim())\n\t\t ||RemoteConstants.CLUSTER_RMI_REMOTING.equals(StringUtil.nullToEmpty(remoteTechnicque).trim()))\n\t {\n\t\tRmiServiceExporter rmiServiceExporter = new RmiServiceExporter();\n\t\trmiServiceExporter.setServiceName(serviceName);\n\t\trmiServiceExporter.setService(service);\n\t\trmiServiceExporter.setServiceInterface(Class.forName(serviceInterface));\n\t\trmiServiceExporter.setRegistry(pathRegistry);\n\t\trmiServiceExporter.setInterceptors(new Object[]{new PathRmiInterceptor()});\n\t\t// rmiServiceExporter.prepare();\n\t\t// no need to call afterPropertiesSet() because it will be implicitely called from RmiServiceExporter that implements the org.springframework.beans.factory.InitializingBean. when keeping it uncommented the afterPropertiesSet() will be called twice on server startup\n\t\t// rmiServiceExporter.afterPropertiesSet();\n\t\treturn getCastedObject(rmiServiceExporter);\n\t }\n\t else if(RemoteConstants.HESSIEN_REMOTING.equals(remoteTechnicque))\n\t {\n\t\tHessianServiceExporter hessianServiceExporter = new HessianServiceExporter();\n\t\thessianServiceExporter.setService(service);\n\t\thessianServiceExporter.setServiceInterface(Class.forName(serviceInterface));\n\t\t//hessianServiceExporter.prepare();\n\t\thessianServiceExporter.afterPropertiesSet();\n\t\treturn getCastedObject(hessianServiceExporter);\n\t }\n\t}\n\treturn null;\n }", "public interface FactoryOrderDetailService {\n\n List<SchedulingDomain> schedulingInfo(Integer factId,Integer soId);\n List<ProductionDetailDomain> productionDetailInfo(Integer factId,Integer soId);\n List<ProductionReportDomain> productionReportInfo(Integer factId,Integer soId);\n List<CompletionDomain> completionInfo(Integer factId,Integer soId);\n List<ProductionRecordDomain> productionRecordInfo();\n\n List<FactoryCapacityDomain> capaTypes();\n}", "public interface JSONRegistry<I extends Identifiable> extends Registry<I> {\r\n\t/**\r\n\t * @param json the JSON form of the object\r\n\t * @return the Object deserialized from JSON\r\n\t * @throws JsonParseException \r\n\t * @throws JsonMappingException \r\n\t * @throws IOException \r\n\t */\r\n\tpublic I fromJSON(String json) throws JsonParseException, JsonMappingException, IOException ;\r\n\t/**\r\n\t * @param toSerialise the object to serialize\r\n\t * @return the JSPM form of the object\r\n\t * @throws JsonGenerationException \r\n\t * @throws JsonMappingException \r\n\t * @throws IOException \r\n\t */\r\n\tpublic String toJSON(I toSerialise) throws JsonGenerationException, JsonMappingException, IOException;\r\n}", "public interface GroupService {\n Group save(Group group);\n Optional<Group> findById(long id);\n List<Group> findAll();\n void delete(Group group);\n void deleteById(long id);\n}", "public interface RegistrationService {\n UserDto registrationNewUser(String login, String password, String email);\n\n}", "public interface MaDeductionItemService extends Service<MaDeductionItem> {\n public List<MaDeductionItems> getMark(String domainUnid);\n}", "public interface NameIdListService {\n\n List<NameIdDTO> getNameIdList(DtoMapNameIdParams dtoMapNameIdParams) throws GobiiException;\n}", "public ProcessDataDTO buildDto(ProcessData grpc) throws JsonParseException, JsonMappingException, IOException {\n\t\tProcessDataDTO dto = new ProcessDataDTO();\n\t\tdto.setId(\"\".equals(grpc.getId()) ? null : grpc.getId());\n\t\tdto.setDataTypeId(grpc.getDataTypeId());\n\t\tdto.setThingGroupId(grpc.getThingGroupId());\n\t\tDate createdAt = new Date(grpc.getCreatedAt().getSeconds());\n\t\tdto.setCreatedAt(createdAt);\n\t\tdto.setPayload(grpc.getPayload());\n\t\t\n\t\treturn dto;\n\t}", "List<UserRegistrationDto> getAllRegistrations();", "public interface BtBookSerieNumberService {\n\n\tpublic BtBookSerieNumberDto createBtBookSerieNumber(BtBookSerieNumberDto serieDto);\n\t\n\tpublic BtBookSerieNumberDto getBtBookSerieNumber(Long id);\n\t\n\tpublic List<BtBookSerieNumberDto> getBtBookSerieNumbersList();\n\t\n\tpublic BtBookSerieNumberDto patchBtBookSerieNumber(BtBookSerieNumberDto serieDto);\n\t\n\tpublic void deleteBtBookSerieNumber(Long id);\n}", "private DTOFactory() {\r\n \t}", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public interface CodDataService {\n\n /**\n * 获取配置\n * @return 全部配置\n */\n Map<String, String> getConfig();\n\n /**\n * 获取数据\n */\n String getDataValue(String key);\n\n /**\n *\n * @param key\n * @return\n */\n CodDataConfigDto getData(String key);\n\n\n /**\n * 设置数据\n * @param key key\n * @param value value\n */\n void setData(String key, String value);\n\n /**\n * 设置数据\n * @param key key\n * @param value value\n * @param name 配置名称\n */\n void setData(String key, String value, String name);\n\n /**\n * 设置数据\n * @param key key\n * @param value value\n * @param name 配置名称\n * @param sort 序号\n */\n void setData(String key, String value, String name, String sort);\n\n /**\n * 设置数据\n * @param key key\n * @param value value\n * @param name 配置名称\n * @param sort 序号\n * @param desc 描述\n */\n void setData(String key, String value, String name, String desc, String sort);\n\n /**\n * 删除\n * @param key key\n */\n void delete(String key);\n\n}", "interface ServicesService {\n @Headers({ \"Content-Type: application/json; charset=utf-8\", \"x-ms-logging-context: com.microsoft.azure.management.databox.v2019_09_01.Services listAvailableSkus\" })\n @POST(\"subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/availableSkus\")\n Observable<Response<ResponseBody>> listAvailableSkus(@Path(\"subscriptionId\") String subscriptionId, @Path(\"location\") String location, @Query(\"api-version\") String apiVersion, @Body AvailableSkuRequest availableSkuRequest, @Header(\"accept-language\") String acceptLanguage, @Header(\"User-Agent\") String userAgent);\n\n @Headers({ \"Content-Type: application/json; charset=utf-8\", \"x-ms-logging-context: com.microsoft.azure.management.databox.v2019_09_01.Services listAvailableSkusByResourceGroup\" })\n @POST(\"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/availableSkus\")\n Observable<Response<ResponseBody>> listAvailableSkusByResourceGroup(@Path(\"subscriptionId\") String subscriptionId, @Path(\"resourceGroupName\") String resourceGroupName, @Path(\"location\") String location, @Query(\"api-version\") String apiVersion, @Body AvailableSkuRequest availableSkuRequest, @Header(\"accept-language\") String acceptLanguage, @Header(\"User-Agent\") String userAgent);\n\n @Headers({ \"Content-Type: application/json; charset=utf-8\", \"x-ms-logging-context: com.microsoft.azure.management.databox.v2019_09_01.Services validateAddressMethod\" })\n @POST(\"subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress\")\n Observable<Response<ResponseBody>> validateAddressMethod(@Path(\"subscriptionId\") String subscriptionId, @Path(\"location\") String location, @Query(\"api-version\") String apiVersion, @Body ValidateAddress validateAddress, @Header(\"accept-language\") String acceptLanguage, @Header(\"User-Agent\") String userAgent);\n\n @Headers({ \"Content-Type: application/json; charset=utf-8\", \"x-ms-logging-context: com.microsoft.azure.management.databox.v2019_09_01.Services validateInputsByResourceGroup\" })\n @POST(\"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/validateInputs\")\n Observable<Response<ResponseBody>> validateInputsByResourceGroup(@Path(\"subscriptionId\") String subscriptionId, @Path(\"resourceGroupName\") String resourceGroupName, @Path(\"location\") String location, @Query(\"api-version\") String apiVersion, @Body ValidationRequest validationRequest, @Header(\"accept-language\") String acceptLanguage, @Header(\"User-Agent\") String userAgent);\n\n @Headers({ \"Content-Type: application/json; charset=utf-8\", \"x-ms-logging-context: com.microsoft.azure.management.databox.v2019_09_01.Services validateInputs\" })\n @POST(\"subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateInputs\")\n Observable<Response<ResponseBody>> validateInputs(@Path(\"subscriptionId\") String subscriptionId, @Path(\"location\") String location, @Query(\"api-version\") String apiVersion, @Body ValidationRequest validationRequest, @Header(\"accept-language\") String acceptLanguage, @Header(\"User-Agent\") String userAgent);\n\n @Headers({ \"Content-Type: application/json; charset=utf-8\", \"x-ms-logging-context: com.microsoft.azure.management.databox.v2019_09_01.Services regionConfiguration\" })\n @POST(\"subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration\")\n Observable<Response<ResponseBody>> regionConfiguration(@Path(\"subscriptionId\") String subscriptionId, @Path(\"location\") String location, @Query(\"api-version\") String apiVersion, @Body RegionConfigurationRequest regionConfigurationRequest, @Header(\"accept-language\") String acceptLanguage, @Header(\"User-Agent\") String userAgent);\n\n @Headers({ \"Content-Type: application/json; charset=utf-8\", \"x-ms-logging-context: com.microsoft.azure.management.databox.v2019_09_01.Services listAvailableSkusNext\" })\n @GET\n Observable<Response<ResponseBody>> listAvailableSkusNext(@Url String nextUrl, @Header(\"accept-language\") String acceptLanguage, @Header(\"User-Agent\") String userAgent);\n\n @Headers({ \"Content-Type: application/json; charset=utf-8\", \"x-ms-logging-context: com.microsoft.azure.management.databox.v2019_09_01.Services listAvailableSkusByResourceGroupNext\" })\n @GET\n Observable<Response<ResponseBody>> listAvailableSkusByResourceGroupNext(@Url String nextUrl, @Header(\"accept-language\") String acceptLanguage, @Header(\"User-Agent\") String userAgent);\n\n }", "public interface RPCMallProductDimensionService {\n\n /**\n * list\n *\n * @param enable\n * @return\n */\n List<MallProductDimensionMapper> list(boolean enable);\n\n /**\n * 根据id获取\n *\n * @param id\n * @return\n */\n MallProductDimensionMapper getById(Long id);\n\n /**\n * 计算数量\n *\n * @return\n */\n long count();\n\n /**\n * 获取记录数\n *\n * @param from\n * @param pageSize\n * @return\n */\n List<MallProductDimensionMapper> list(int from, int pageSize);\n\n /**\n * 添加\n *\n * @param MallProductDimensionMapper\n * @return\n */\n MallProductDimensionMapper add(MallProductDimensionMapper mallProductDimensionMapper);\n\n /**\n * 更新\n *\n * @param MallProductDimensionMapper\n */\n void update(MallProductDimensionMapper mallProductDimensionMapper);\n\n}", "public void setDto(GrupoDTO dto) {\n\t\tthis.dto = dto;\n\t}", "public interface ExposedDTOAdaptersRegistrar extends DTOAdaptersRegistrar {\n\n /**\n * @return all converters.\n */\n Map<String, Object> getAdapters();\n\n}", "public void crearPersona(PersonaDTO personaDTO);", "com.bingo.server.msg.REQ.RegistryRequest getRegistry();", "public interface RoleService {\n /**\n * Method to be implemented to get all Roles\n * and convert to RoleDROs\n */\n List<RoleDTO> findAll();\n}", "ServicesPackage getServicesPackage();", "List<OrderDTO> getAllOrdersDTO();", "private Map<String, Object> getSubServiceMap() {\n\t\tlog.info(\"*****Inside getSubservice method **\");\n\t\tMap<String, Object> serviceMap = null;\n\n\t\ttry {\n\n\t\t\tserviceMap = new HashMap<String, Object>();\n\t\t\tserviceMap.put(ResourceResolverFactory.SUBSERVICE, \"sam\");\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\te.printStackTrace();\n\t\t\tStringWriter errors = new StringWriter();\n\t\t\te.printStackTrace(new PrintWriter(errors));\n\t\t\tlog.info(\"errors ***\" + errors.toString());\n\t\t}\n\t\tlog.info(\"*****getSubservice Method End**\");\n\t\t\n\t\treturn serviceMap;\n\n\t}", "public Dto() {\n \t\n }", "public interface AggregationService {\n\t/**\n\t * Constant used by services to specify their implementation in activator\n\t */\n\tpublic static final String TYPE = \"type\";\n\n\t/**\n\t * Add listener\n\t * @param listener The listener to add\n\t * @return The listener id\n\t */\n\tpublic int addListener(AggregationService.Listener listener);\n\t\n\t/**\n\t * Remove a listener\n\t * @param id The listener id\n\t */\n\tpublic void removeListener(int id);\n\t\n\t/**\n\t * This interface represents a listener for events\n\t */\n\tpublic interface Listener{\n\t\tpublic void notify(Map<String,Serializable> datas);\n\t}\n}", "public interface ContactGroupHistoryService extends GenericService<ContactGroupHistory, Long>{\n\n public UUID newVersion(ContactGroup contactGroup, Long groupId, UUID contactHistoryVersion, UUID version, boolean markAsDeleted);\n public Optional<ContactGroupHistory> getPreviousVersion(Long contactGroupId);\n public List<ContactGroup> getContactGroup(UUID contactGroupVersion) throws NotFoundException;\n\n\n}", "RunDTO toDto(Run run) {\n RunDTO result = new RunDTO();\n result.setId(0L);\n if (null != run) {\n this.fillDto(result, run);\n }\n return result;\n }", "public ProductGroup beProductGroup();", "public interface UserDtoIn extends Service<UserDto, Integer> {\n UserDto getByLogin(String login);\n\n UserDto removeById(Integer id);\n}", "com.bingo.server.msg.REQ.RegistryRequestOrBuilder getRegistryOrBuilder();", "public interface GroupService extends ForumService<GroupEntity> {\n}", "public interface CentralConfRegistryService {\n void set(String key, Object value) throws ServiceException;\n\n void set(String key, Object value, String description) throws ServiceException;\n\n Object get(String key) throws ServiceException;\n}" ]
[ "0.5976583", "0.59271884", "0.5911394", "0.58672273", "0.5801347", "0.5801347", "0.57264423", "0.5675933", "0.56402755", "0.5561464", "0.5517691", "0.55011064", "0.54983056", "0.5477082", "0.54174435", "0.53813744", "0.53479147", "0.5343281", "0.53382903", "0.5337174", "0.52832776", "0.527851", "0.527794", "0.52324325", "0.5227328", "0.522173", "0.52152735", "0.5212242", "0.5207043", "0.5198298", "0.5191299", "0.5184918", "0.51534295", "0.5144559", "0.51416445", "0.5133058", "0.51233006", "0.5122704", "0.51171076", "0.51152223", "0.5108869", "0.5108033", "0.50998414", "0.50914264", "0.5084324", "0.5079101", "0.50779474", "0.50744444", "0.5072026", "0.5066986", "0.5061394", "0.50597006", "0.5059486", "0.50545126", "0.50509256", "0.50476426", "0.5039642", "0.5039427", "0.50367296", "0.50274485", "0.5020139", "0.5019029", "0.5013737", "0.5002498", "0.49967948", "0.49954724", "0.49935988", "0.49802253", "0.4979933", "0.49794692", "0.49777427", "0.4974915", "0.4972844", "0.49645016", "0.4960014", "0.4959695", "0.495653", "0.4945611", "0.4943225", "0.4942935", "0.49416015", "0.4939398", "0.49392003", "0.4914345", "0.4911929", "0.49075606", "0.49047658", "0.49043664", "0.48992255", "0.48942652", "0.4893987", "0.48926368", "0.48894462", "0.4882883", "0.48754555", "0.4875234", "0.48731717", "0.48710614", "0.48699892", "0.48520055" ]
0.77338445
0
/ private List indexes; private List numbers; private int count;
public RandomGrid() { random = new Random(System.currentTimeMillis()); /* indexes = new LinkedList<>(); for (int i = 0; i < 81; i++) { indexes.add(i); } numbers = new ArrayList<>(9); for (int i = 1; i <= 9; i++) { numbers.add(i); } Collections.shuffle(indexes, random); */ grid = new int[9][9]; for (int i = 0; i < 9; i++) { for (int j = 0; j < 9; j++) { grid[i][j] = 0; } } subGrid = new SubGrid[3][3]; for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { subGrid[i][j] = new SubGrid(); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getBlockNumbers(int index);", "public abstract int getNumIndexes();", "int getIndexesCount();", "int getIndicesCount();", "int getBlockNums(int index);", "int getBlockNums(int index);", "java.util.List<java.lang.Integer> getBlockNumbersList();", "int getBlockNumbersCount();", "java.util.List<java.lang.Integer> getBlockNumsList();", "java.util.List<java.lang.Integer> getBlockNumsList();", "void createIndex(){\n int index=0;\n for(int i=0;i<ancogs.size();i++)\n if(!cogToIndex.containsKey(ancogs.get(i).getValue2()))\n cogToIndex.put(ancogs.get(i).getValue2(), index++);\n}", "long getIds(int index);", "public DDCountInversion(){\n\t\tnumeros = new ArrayList<Integer>();\n\t}", "Index getIndices(int index);", "BigInteger getNumIndexes() {\n\t\treturn numIndexes;\n\t}", "int getBlockNumsCount();", "int getBlockNumsCount();", "private static void findPermutations(int index, List<Integer> nums) {\n\n }", "@Override\n\tpublic int countIndex() {\n\t\treturn logoMapper.selectCountLogo()+headbannerMapper.selecCountHB()+succefulMapper.selecCountSucc()+solutionMapper.selecCountSolu();\n\t}", "List<Integer> getSelectedIndexes();", "public abstract long getIndex();", "void numberOfOpenMapInformation(int number, int pIndex);", "private void setComponentsOfIndex() {\n\t\tint t = this.numbersIdex + 1;\n\t\tif (t == NUMBEROFEACHCARD) {\n\t\t\tthis.numbersIdex = 0;\n\t\t\tsetColorIndex();\n\t\t} else {\n\t\t\tthis.numbersIdex = t;\n\t\t}\n\t}", "private List<Integer> createData() {\r\n\t\tList<Integer> data = new ArrayList<Integer>();\r\n\t\tfor (int i = 0; i < N; i++) {\r\n\t\t\tdata.add(i);\r\n\t\t}\r\n\t\treturn data;\r\n\t}", "public int listSize(){\r\n return counter;\r\n }", "public int getIndex()\n/* */ {\n/* 46 */ return this.index;\n/* */ }", "public List<Index> getIndexes();", "private void numberResults ()\r\n {\r\n int partIndex = 0;\r\n\r\n for (Result result : connection.getResultMap().keySet()) {\r\n ScorePart scorePart = (ScorePart) result.getUnderlyingObject();\r\n scorePart.setId(++partIndex);\r\n }\r\n }", "int fillCount();", "private int getIndex(int val){\n return val%bucket;\n }", "public abstract ArrayList<Integer> getSudokuNumbersList();", "long getUpdateCounts(int index);", "public int [] hotN(ArrayList<LottoDay> list)\n\t{ \n\t\tint high=0;//checks for the highest number\n\t\tint[] numF = new int [48];// stores the frequency of each number\n\t\tint[] highest= new int [5]; //stores the 5 highest numbers\n\t\tint counter =0;\n\t\t//hot numbers for 1-47\n\t\tfor(int i=0; i<list.size();i++)\n\t\t{\n\t\t\tone = list.get(i); //get object\n\t\t\thighest = one.getWNum(); //get the first 5 numbers only of that object store in the array\n\t\t\t//gets the frequency for the numbers 1-47\n\t\t\tfor(int j=0; j<numF.length;j++)\n\t\t\t{\n\t\t\t\tfor(int k =0; k<highest.length;k++)\n\t\t\t\t{\n\t\t\t\t\t//check the array of for the index\n\t\t\t\t\tif(highest[k]==j)\n\t\t\t\t\t{ \n\t\t\t\t\t\tcounter++; //add one to count\n\t\t\t\t\t\tnumF[j]=counter+numF[j]; //add to the count\n\t\t\t\t\t\tcounter=0; //set counter back to zero \n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//check for the highest number and store in highest array \n\t\tfor(int j=0; j<highest.length; j++)\n\t\t{\n\t\t\tfor(int i=0; i<numF.length;i++)\n\t\t\t{\n\t\t\t\t//if the occurrences beats high \n\t\t\t\tif(numF[i]>high)\n\t\t\t\t{\n\t\t\t\t\thigh = numF[i]; //new highest occurrence is stored\n\t\t\t\t\thighest[j]=i; //store the index in the array\n\t\t\t\t\tindex=i; //index equals i\n\t\t\t\t}\n\n\t\t\t}\n\t\t\thigh=0; //high goes back zero once through the entire list\n\t\t\tnumF[index]=0; //highest numbers occurrences is now set to zero\n\n\t\t}\n\n\t\treturn highest;//return the highest numbers in the list\n\t}", "public int getIndex() { return this.index; }", "public int getWrapperHits();", "public abstract int getNeighboursNumber(int index);", "private void getInventoryNumber(ArrayList list){}", "@Override\n public int getIndicesCount() {\n return indices_.size();\n }", "private void count(int[] counts , int index) {\n\n char color = light[index];\n\n if (color == '0') {\n counts[0]++;\n }\n else if (color == '1') {\n counts[1]++;\n }\n else if (color == '2') {\n counts[2]++;\n }\n else if (color == '3') {\n counts[3]++;\n }\n else if (color == '4') {\n counts[4]++;\n }\n else if (color == '5') {\n counts[5]++;\n }\n else if (color == '6') {\n counts[6]++;\n }\n else if (color == '7') {\n counts[7]++;\n }\n else if (color == '8') {\n counts[8]++;\n }\n else if (color == '9') {\n counts[9]++;\n }\n\n }", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getIndex();", "int getItems(int index);", "public NumberedList()\n {\n _init=1;\n }", "int getRequestedValues(int index);", "public int numItemInList() {\n return nextindex - startIndex;\n }", "public int getBlockNumbers(int index) {\n return blockNumbers_.get(index);\n }", "public void fill(ArrayList<LottoDay> list)\n\t{\n\t\tint[] numF = new int [48];//store occurrences for lotto numbers\n\t\tint [] megaF = new int [28]; //store occurrences for mega numbers\n\t\tint[] check = new int [5]; // stores each objects 5 numbers\n\t\tint counter =0; //counts occurrences\n\t\tfor(int i=0; i<list.size();i++)\n\t\t{\n\t\t\tone = list.get(i); //get object\n\t\t\tcheck = one.getWNum(); //gets 5 numbers of the object\n\t\t\tfor(int j=0; j<numF.length;j++)\n\t\t\t{\n\t\t\t\tfor(int k =0; k<check.length;k++)\n\t\t\t\t{\n\t\t\t\t\t//if number equals index\n\t\t\t\t\tif(check[k]==j)\n\t\t\t\t\t{\n\t\t\t\t\t\tcounter++; //add one to count\n\t\t\t\t\t\tnumF[j]=counter+numF[j]; //add one to occurrence\n\t\t\t\t\t\tcounter=0;//reset counter\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<list.size();i++)\n\t\t{\n\t\t\tone = list.get(i);//get object\n\t\t\tmega= one.getMega();//get mega number\n\t\t\tfor(int j=0; j<megaF.length;j++)\n\t\t\t{\n\t\t\t\t// if mega number equals index\n\t\t\t\tif(mega==j)\n\t\t\t\t{\n\t\t\t\t\tcounter++;//add one to count\n\t\t\t\t\tmegaF[j]=counter+megaF[j]; //add one to occurrence\n\t\t\t\t\tcounter=0;//reset counter\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\n\n\t\tfor(int i=0; i<numF.length; i++)\n\t\t{\n\t\t\tnumber.put(i,numF[i]);//put all lotto numbers with occurrences\n\n\t\t}\n\t\tfor(int i=0; i<megaF.length; i++)\n\t\t{\n\t\t\tmegaN.put(i, megaF[i]);//put all mega numbers with occurrences\n\t\t}\n\t}", "public List<Short> getNumbers() { return numbers; }", "java.util.List<Index>\n getIndicesList();", "int getInCount();", "List<Object> getCountList();", "public int getIndex();", "public int getIndex();", "public int getIndex();", "public ArrayList<Integer> localTops(List<Integer> list, int num){\n\n ArrayList<IndexHelperHelper> helperHelperList = new ArrayList();\n\n float[][] comps = this.reader.getSummary().getSentenceComparisons();\n List<IndexHelper> helperList = new ArrayList();\n for(Integer i : list){\n for(int j = 0; j < comps.length; j++){\n Float d = comps[i][j];\n if(i!=j && !list.contains(j) && d < .95)\n helperList.add(new IndexHelper(d,j));\n\n }\n helperHelperList.add(new IndexHelperHelper((ArrayList<IndexHelper>) helperList));\n\n }\n Collections.sort(helperHelperList);\n\n ArrayList<Integer> returnList = new ArrayList();\n \n try{\n while(returnList.size()<num){\n\n IndexHelperHelper h = (IndexHelperHelper) helperHelperList.get(0);\n\n Integer inte = h.getHelpers().get(0).getIndex();\n if(!returnList.contains(inte))\n returnList.add(inte);\n\n\n boolean b = h.remove(0); //remove first element in helper\n helperHelperList.remove(0);\n if(!b)\n helperHelperList.add(helperHelperList.size()-1, h);//replace first element with the new helper\n else\n helperHelperList.add(0,h);\n\n Collections.sort(helperHelperList);\n }\n }\n \n catch(IndexOutOfBoundsException e){\n System.err.println(\"IndexError, summary length: \" + list.size());\n }\n\n return returnList;\n\n }", "public int getNumRows() { return index.size(); }", "private List<Integer> vertices(int num) {\n List<Integer> list = new LinkedList<>();\n for (int i = 0; i < num; i++) {\n list.add(i);\n }\n return list;\n }", "int getListCount();", "int getIndex(){\r\n\t\treturn index;\r\n\t}", "public int index();", "private static void accessIndexInSet(Set<Integer> numbers) {\n int desiredIndex = 2;\n int currentIndex = 0;\n\n //iterate the HashSet\n Iterator<Integer> iterator = numbers.iterator();\n while (iterator.hasNext()) {\n\n if (currentIndex == desiredIndex)\n System.out.println(\"Element at index \" + desiredIndex + \" is: \" + iterator.next());\n iterator.next();\n currentIndex++;\n }\n\n // M2: convert it to list\n List<Integer> list = new ArrayList<Integer>(numbers);\n list.get(2);\n\n // M3: convert it to Array []\n Integer[] integers = numbers.toArray(new Integer[numbers.size()]);\n int i = integers[2];\n }", "private int getIndex() {\n\t\treturn this.index;\r\n\t}", "private ArrayList<Integer> cnvPoints2IndexList(ArrayList<Point> pts) {\n int width = layoutPanel.getLayoutSize().width;\n ArrayList<Integer> newNList = new ArrayList<Integer>();\n\n Iterator<Point> iter = pts.iterator();\n while (iter.hasNext()) {\n Point pt = iter.next();\n newNList.add(pt.y * width + pt.x);\n }\n Collections.sort(newNList);\n\n return newNList;\n }", "private int getIndex2(int val){\n return val/bucket;\n }", "@Test\n public void getCount() throws Exception {\n int[] a = new int[]{250, 501, 5000, 5, 4};\n\n Solution solution = new Solution();\n\n int c = solution.getCount(a, 0, 4, 0, 5);\n\n assertEquals(3, c);\n\n c = solution.getCount(a, 0, 4, 0, 10);\n\n assertEquals(2, c);\n\n c = solution.getCount(a, 0, 4, 2, 3);\n\n assertEquals(2, c);\n }", "int givePropNum(List<List<Integer[]>> allPropCoords) throws Exception;", "public int getIndex(){\r\n \treturn index;\r\n }", "public int[] numbers();", "public static void main(String[] args) {\n\n int n = 20;\n int[] input = {0, 6, 0, 6, 4, 0, 6, 0, 6, 0, 4, 3, 0, 1, 5, 1, 2, 4, 2, 4};\n String[] inStr = {\"ab\", \"cd\", \"ef\", \"gh\", \"ij\", \"ab\", \"cd\", \"ef\", \"gh\", \"ij\", \"that\", \"be\", \"to\", \"be\", \"question\", \"or\", \"not\", \"is\", \"to\", \"the\"};\n int[] count = new int[100];\n for (int i = 0; i < n; i++) {\n// String line = in.nextLine();\n// String[] elem = line.split(\"\\\\s\");\n// System.out.println(elem[0]+\" - \"+elem[1]);\n// input[i] = Integer.parseInt(elem[0]);\n// inStr[i] = elem[1];\n// count[input[i]] ++;\n }\n\n for (int i = n / 2; i < input.length; i++)\n count[input[i]]++;\n\n// for (int i = 0; i < count.length; i++)\n// System.out.print(count[i]);\n// System.out.println();\n\n int printed = 0;\n int i = 0;\n StringBuffer buffer = new StringBuffer();\n while (count[i] > 0){\n// for (int i = 0; i < count.length; i++) {\n// for (Integer st : findIndex(input, i,count[i])) {\n// System.out.print(findStr(inStr, st) + \" \");\n for (String st : findIndex(input,inStr, i,count[i])) {\n // System.out.print( st + \" \");\n buffer.append(st+\" \");\n printed++;\n }\n i++;\n }\n for (int idx = printed; idx<n;idx++)\n buffer.append(\"- \");\n // System.out.print(\"- \");\n System.out.println(buffer);\n\n\n }", "public int getIndex(){\n return index;\n }", "public int getIndex(){\n return index;\n }", "public static void main(String args[] ) throws Exception {\n Scanner s = new Scanner(System.in);\n String arrSizeAndNumber = s.nextLine();\n String number = arrSizeAndNumber.split(\" \")[1];\n\n List<String> numbers = Arrays.asList(s.nextLine().split(\" \"));\n\n AtomicInteger i= new AtomicInteger(1);\n AtomicInteger pos= new AtomicInteger(1);\n\n numbers.forEach((value)-> {\n if (value.equals(number))\n pos.set(i.get());\n i.getAndIncrement();\n });\n\n System.out.println(pos);\n }", "private ArrayList<Point> cnvIndexList2Points(ArrayList<Integer> nList) {\n ArrayList<Point> pts = new ArrayList<Point>();\n\n // convert index list to points array\n int width = layoutPanel.getLayoutSize().width;\n Iterator<Integer> iter = nList.iterator();\n while (iter.hasNext()) {\n int idx = iter.next();\n pts.add(new Point(idx % width, idx / width)); // Point(x, y)\n }\n\n return pts;\n }", "int index();", "protected HashMap<String, BPTree<Double, FoodItem>> getIndexes(){\n \treturn this.indexes;\n }", "public static List<Integer> posList() {\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tlist.add(1);\n\t\tlist.add(22);\n\t\tlist.add(93);\n\t\tlist.add(1002);\n\t\tlist.add(0);\n\t\treturn list;\n\t}", "public final List<Integer> getIndexList() {\r\n return this.indices;\r\n }", "Object getNumberMatched();", "public int getBlockNumbers(int index) {\n return blockNumbers_.get(index);\n }", "public static void main(String[] args) throws NumberFormatException, IOException {\n\r\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\r\n\t\tint T = Integer.parseInt(br.readLine());\r\n\t\tStringTokenizer st;\r\n\t\tfor (int test_case = 1; test_case <= T; test_case++) {\r\n\t\t\tst = new StringTokenizer(br.readLine());\r\n\t\t\tN = Integer.parseInt(st.nextToken());\r\n\t\t\tK = Integer.parseInt(st.nextToken());\r\n\t\t\tst = new StringTokenizer(br.readLine());\r\n\t\t\tlist = new ArrayList[N + 1];\r\n\t\t\tfor (int i = 1; i <= N; i++) {\r\n\t\t\t\tlist[i] = new ArrayList<Integer>();\r\n\t\t\t}\r\n\t\t\tfor (int i = 1; i <= N; i++) {\r\n\t\t\t\tint k = Integer.parseInt(st.nextToken());\r\n\t\t\t\tlist[k].add(i);\r\n\t\t\t}\r\n//\t\t\tfor (int i = 1; i <= N; i++) {\r\n//\t\t\t\tfor (int j = 0; j < list[i].size(); j++)\r\n//\t\t\t\t\tSystem.out.print(i + \", \" + list[i].get(j) + \" \");\r\n//\t\t\t}\r\n//\t\t\tSystem.out.println();\r\n\r\n\t\t\tQueue<Integer> q;\r\n//\t\t\tfor(int i = 1; i<=N;i++) {\r\n//\t\t\t\tif(list[i].size()==0) {\r\n//\t\t\t\t\tq.add(i);\r\n//\t\t\t\t}\r\n//\t\t\t}\r\n\t\t\tint visited[];\r\n\t\t\tint answer = 0;\r\n\t\t\tfor (int i = 1; i <= N; i++) {// 각 굴에 대해서 인원 센다\r\n\t\t\t\tq = new LinkedList<Integer>();\r\n\t\t\t\tvisited = new int[N + 1];\r\n\t\t\t\tint count = K;\r\n//\t\t\t\tfor (int j = 1; j < K; j++) {// 지날 수 있는 굴의 최대갯수 K\r\n\t\t\t\tif (list[i].size() < 1) {\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\tint idx;\r\n\t\t\t\tfor (int u = 0; u < list[i].size(); u++) {\r\n\t\t\t\t\tidx = list[i].get(u);\r\n\t\t\t\t\tq.add(idx);\r\n\t\t\t\t}\r\n\t\t\t\twhile (count > 0 && !q.isEmpty()) {\r\n\t\t\t\t\tidx = q.poll();\r\n\r\n\t\t\t\t\tfor (int m = 0; m < list[idx].size(); m++) {\r\n\r\n\t\t\t\t\t\tint dd = list[idx].get(m);\r\n\t\t\t\t\t\tif (visited[dd] == 0 && dd != i) {\r\n\t\t\t\t\t\t\tvisited[dd] = 1;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tq.add(list[idx].get(m));\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcount--;\r\n\r\n\t\t\t\t}\r\n//\t\t\t\t}\r\n\t\t\t\tfor (int e = 1; e <= N; e++) {\r\n\t\t\t\t\tif (visited[e] == 1)\r\n\t\t\t\t\t\tanswer++;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tSystem.out.println(\"#\" + test_case + \" \" + answer);\r\n\r\n\t\t}\r\n\r\n\t}", "public int count () throws IOException {\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tinit();\n\t\twhile(hasNext()) {\n\t\t\tElement el = nextElement();\n\t\t\tint hash = el.GetHash();\n\t\t\tint pos = locate (list, hash);\n\t\t\tif ((pos == list.size()) || (list.get(pos) != hash)) {\n\t\t\t\tlist.add(pos, hash);\n\t\t\t}\n\t\t\t/*for (i=0; i<list.size() && list.get(i)<hash; i++) {}\n\t\t\t\tif ((i==list.size()) || (list.get(i) != el.GetHash())) {\n\t\t\t\t\tlist.add(i, hash);\n\t\t\t\t}*/\n\t\t}\n\t\treturn list.size();\n\t}", "public abstract int getCount();", "@Override\r\n\tpublic void iterateCount() {\n\t\t\r\n\t}", "int getOtherIds(int index);", "private int getIndex(int... elements) {\n int index = 0;\n for (int i = 0; i < elements.length; i++) index += elements[i] * Math.pow(universeSize, i);\n return index;\n }", "public abstract int getIndex();", "public int getcount(List<Integer> numberList, int target) {\n\t\tint count = 0;\n\t\tfor (int i = 0; i < numberList.size(); i++) {\n\t\t\tfor (int j = i + 1; j < numberList.size(); j++) {\n\t\t\t\tif (numberList.get(i) + numberList.get(j) == target) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}", "private static int carCount(List<UsedCar> carList) {\n int i = 0;\n for (Car count : carList) {\n i++;\n }\n return i; // returns i+1 to accommodate for list starting at zero\n }", "@VTID(10)\n int getIndex();", "int mo1635a(long j, List list);" ]
[ "0.6845861", "0.68411624", "0.66323155", "0.64633155", "0.62941384", "0.62941384", "0.6149071", "0.60663015", "0.6058086", "0.6058086", "0.58472526", "0.58355963", "0.5832685", "0.581574", "0.5801147", "0.57479626", "0.57479626", "0.5747613", "0.56924015", "0.56588846", "0.5629419", "0.56084865", "0.5608178", "0.5607811", "0.5607666", "0.5603995", "0.5597517", "0.5585456", "0.5581719", "0.5580494", "0.55783635", "0.55743414", "0.5570796", "0.55660564", "0.5561498", "0.5558702", "0.5556622", "0.55475616", "0.55472976", "0.55453575", "0.55453575", "0.55453575", "0.55453575", "0.55453575", "0.55453575", "0.55453575", "0.55453575", "0.55453575", "0.55453575", "0.55453575", "0.55453575", "0.55453575", "0.5536649", "0.55294544", "0.5528857", "0.5523872", "0.55195093", "0.5515636", "0.55155647", "0.5511608", "0.5510851", "0.5507643", "0.5507203", "0.5507203", "0.5507203", "0.55044943", "0.54856557", "0.54848903", "0.54803485", "0.5480282", "0.5477601", "0.5477026", "0.5472686", "0.5470701", "0.54697585", "0.54689693", "0.54688615", "0.5459926", "0.5456688", "0.545162", "0.54440886", "0.54440886", "0.5440624", "0.5435164", "0.54244465", "0.5422385", "0.5413799", "0.54077226", "0.5397876", "0.5391207", "0.53852", "0.5383109", "0.53696495", "0.53675336", "0.5365367", "0.53570956", "0.53527176", "0.5342243", "0.5335727", "0.5335237", "0.53351873" ]
0.0
-1
/ Verifica che non ci siano duplicati nella stessa regione.
private boolean noConflictInSubgrid(int rowIndex, int columnIndex, int number) { /* * Siccome ci sono 9 sotto matrici, disposte su 3 righe e 3 colonne, questo metodo * calcola l'indice di riga e di colonna della sotto matrice. */ int r = rowIndex / 3; int c = columnIndex / 3; // questo indice diventa il moltiplicatore, per calcolare gli indici di riga // e di colonna reali della cella. int iStart = r * 3; int jStart = c * 3; for (int i = iStart; i < iStart + 3; i++) { for (int j = jStart; j < jStart + 3; j++) { if (grid[i][j] == number) { return false; } } } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test (timeout=180000)\n public void testDupeRegion() throws Exception {\n TableName table =\n TableName.valueOf(\"tableDupeRegion\");\n try {\n setupTable(table);\n assertNoErrors(doFsck(conf, false));\n assertEquals(ROWKEYS.length, countRows());\n\n // Now let's mess it up, by adding a region with a duplicate startkey\n HRegionInfo hriDupe =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"A\"), Bytes.toBytes(\"B\"));\n\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriDupe);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriDupe);\n ServerName server = regionStates.getRegionServerOfRegion(hriDupe);\n TEST_UTIL.assertRegionOnServer(hriDupe, server, REGION_ONLINE_TIMEOUT);\n\n // Yikes! The assignment manager can't tell between diff between two\n // different regions with the same start/endkeys since it doesn't\n // differentiate on ts/regionId! We actually need to recheck\n // deployments!\n while (findDeployedHSI(getDeployedHRIs((HBaseAdmin) admin), hriDupe) == null) {\n Thread.sleep(250);\n }\n\n LOG.debug(\"Finished assignment of dupe region\");\n\n // TODO why is dupe region different from dupe start keys?\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS});\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows()); // seems like the \"bigger\" region won.\n\n // fix the degenerate region.\n doFsck(conf,true);\n\n // check that the degenerate region is gone and no data loss\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "protected boolean isDuplicate(ELesxUseCase useCase) {\n return false;\n }", "@Test\n public void testHashAndEqualsCode() {\n ServerName hsa1 = ServerName.valueOf(\"localhost\", 1234, -1L);\n HRegionLocation hrl1 = new HRegionLocation(RegionInfoBuilder.FIRST_META_REGIONINFO, hsa1);\n HRegionLocation hrl2 = new HRegionLocation(RegionInfoBuilder.FIRST_META_REGIONINFO, hsa1);\n assertEquals(hrl1.hashCode(), hrl2.hashCode());\n assertTrue(hrl1.equals(hrl2));\n HRegionLocation hrl3 = new HRegionLocation(RegionInfoBuilder.FIRST_META_REGIONINFO, hsa1);\n assertNotSame(hrl1, hrl3);\n // They are equal because they have same location even though they are\n // carrying different regions or timestamp.\n assertTrue(hrl1.equals(hrl3));\n ServerName hsa2 = ServerName.valueOf(\"localhost\", 12345, -1L);\n HRegionLocation hrl4 = new HRegionLocation(RegionInfoBuilder.FIRST_META_REGIONINFO, hsa2);\n // These have same HRI but different locations so should be different.\n assertFalse(hrl3.equals(hrl4));\n HRegionLocation hrl5 =\n new HRegionLocation(hrl4.getRegion(), hrl4.getServerName(), hrl4.getSeqNum() + 1);\n assertTrue(hrl4.equals(hrl5));\n }", "public int[] isTripleCopy(Region r) {\n\t\tint[] res=new int[2];\n\t\tif (!nearlyEquals(this.sizeX, r.sizeX) && !nearlyEquals(this.sizeY, r.sizeY))\n\t\t\treturn res;\n\t\tRegion newr=this.generateEqual(new Pair(0,0));\n\t\tif (!nearlyEquals(this.sizeY, r.sizeY)) {\n\t\t\tif (this.sizeY<r.sizeY)\n\t\t\t\treturn res;\n\t\t\tnewr.cutRegion(r, 2);\n\t\t\tnewr.cutRegion(r, 3);\n\t\t\t\n\t\t\tint error=0;\n\t\t\tfor (int i=0;i<r.sizeX;i++) {\n\t\t\t\tfor (int j=0;j<r.sizeY;j++) {\n\t\t\t\t\tif (newr.get(i, (newr.sizeY-r.sizeY)/2+j)!=r.get(i, j))\n\t\t\t\t\t\terror++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (error<r.square/10) {\n\t\t\t\tres[0]=2;\n\t\t\t\tres[1]=(newr.sizeY-r.sizeY)/2;\n\t\t\t}\n\t\t\treturn res;\n\t\t} else if (!nearlyEquals(this.sizeX, r.sizeX)) {\n\t\t\tif (this.sizeX<r.sizeX)\n\t\t\t\treturn res;\n\t\t\tnewr.cutRegion(r, 0);\n\t\t\tnewr.cutRegion(r, 1);\n\t\t\t\n\t\t\tint error=0;\n\t\t\tfor (int i=0;i<r.sizeX;i++) {\n\t\t\t\tfor (int j=0;j<r.sizeY;j++) {\n\t\t\t\t\tif (newr.get((newr.sizeX-r.sizeX)/2+i, j)!=r.get(i, j))\n\t\t\t\t\t\terror++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (error<r.square/10) {\n\t\t\t\tres[0]=1;\n\t\t\t\tres[1]=(newr.sizeX-r.sizeX)/2;\n\t\t\t}\n\t\t\treturn res;\n\t\t} else\n\t\t\treturn res;\n\t}", "@Override\n public boolean equals(Object o) {\n if (this == o) {\n return true;\n }\n if (!(o instanceof GlobalRegion)) {\n return false;\n }\n return id != null && id.equals(((GlobalRegion) o).id);\n }", "public ProtectedCuboidRegion saveRegion() {\n\t\t\n\t\tcom.sk89q.worldedit.BlockVector pos1 = \n\t\t\t\tnew com.sk89q.worldedit.BlockVector(position1.getBlockX(), position1.getBlockY(), position1.getBlockZ());\n\t\tcom.sk89q.worldedit.BlockVector pos2 =\n\t\t\t\tnew com.sk89q.worldedit.BlockVector(position2.getBlockX(), position2.getBlockY(), position2.getBlockZ());\n\t\t\n\t\tplayer.sendMessage(\"\" + name + position1.toString() + position2.toString());\n\t\t\n\t\tProtectedCuboidRegion newPlotRegion = new ProtectedCuboidRegion(name, pos1, pos2);\n\t\t\n\t\tRegionManager regionManager = Mcc.worldGuard.getRegionManager(player.getWorld());\n\t\tregionManager.addRegion(newPlotRegion);\n\t\tnewPlotRegion = (ProtectedCuboidRegion) regionManager.getRegion(name);\n\t\t\n\t\tnewPlotRegion.setPriority(2);\n\t\ttry {\n\t\t\tregionManager.save();\n\t\t} catch (ProtectionDatabaseException e) {\n\t\t\tplayer.sendMessage(ChatColor.RED + \"Critical World Guard error! Notify Funonly\");\n\t\t}\n\t\t\n\t\treturn newPlotRegion;\n\t}", "void checkStationUIExists() {\n\n int recordCount = 9999;\n int duplicateCount = 0;\n\n String where = MrnStation.DATE_START + \"=\" +\n Tables.getDateFormat(station.getDateStart()) +\n \" and \" + MrnStation.LATITUDE +\n \" between \" + (station.getLatitude()-areaRangeVal) +\n \" and \" + (station.getLatitude()+areaRangeVal) +\n \" and \" + MrnStation.LONGITUDE +\n \" between \" + (station.getLongitude()-areaRangeVal) +\n \" and \" + (station.getLongitude()+areaRangeVal) ;\n if (dbg) System.out.println(\"<br>checkStationUIExists: where = \" + where);\n //outputDebug(\"checkStationUIExists: where = \" + where);\n\n MrnStation[] stns = new MrnStation().get(where);\n if (dbg) System.out.println(\"<br>checkStationUIExists: stns.length = \" + stns.length);\n //outputDebug(\"checkStationUIExists: number of stations found = \" + stns.length);\n\n String debugMessage = \"\\ncheckStationUIExists: duplicate UI check \\n \" +\n station.getDateStart(\"\").substring(0,10) +\n \", \" + ec.frm(station.getLatitude(),10,5) +\n \", \" + ec.frm(station.getLongitude(),10,5) +\n \", \" + station.getStnnam(\"\") +\n \" (\" + station.getStationId(\"\") + \")\";\n\n if (stns.length == 0) {\n outputDebug(debugMessage + \": duplicate UI not found\");\n } else {\n\n outputDebug(debugMessage);\n\n // check for duplicate station names (stnnam)\n while (recordCount > 0) {\n\n // count station names the same\n recordCount = 0;\n for (int i = 0; i < stns.length; i++) {\n if (stns[i].getStnnam(\"\").equals(station.getStnnam(\"\"))) {\n recordCount++;\n } // if (stns[i].getStnnam(\"\").equals(station.getStnnam(\"\")))\n } // for (int i = 0; i < stns.length; i++)\n\n if (dbg) System.out.println(\"<br>checkStationUIExists: recordCount = \" +\n recordCount + \", stnnam = \" + station.getStnnam(\"\"));\n\n debugMessage = \" \" + station.getStnnam(\"\") +\n \", recordCount (same stnnam) = \" + recordCount;\n\n if (recordCount > 0) {\n duplicateCount++;\n\n station.setStnnam(station.getStnnam(\"\") + duplicateCount);\n\n debugMessage += \" - new stnnam = \" +\n station.getStnnam(\"\");\n //outputDebug(debugMessage);\n if (dbg) System.out.println(\"checkStationUIExists: new stnnam = \" +\n station.getStnnam(\"\"));\n }// if (recordCount > 0)\n\n outputDebug(debugMessage);\n\n } // while (recordCount > 0)\n\n } // if (stns.length == 0)\n\n }", "public boolean isUnique();", "public void duplicate() {\n System.out.println(\"Je bent al in bezit van deze vragenlijst!\");\n }", "@objid (\"ef9777b4-ed2a-4341-bb22-67675cddb70a\")\n boolean isIsUnique();", "@Test (timeout=180000)\n public void testDegenerateRegions() throws Exception {\n TableName table = TableName.valueOf(\"tableDegenerateRegions\");\n try {\n setupTable(table);\n assertNoErrors(doFsck(conf,false));\n assertEquals(ROWKEYS.length, countRows());\n\n // Now let's mess it up, by adding a region with a duplicate startkey\n HRegionInfo hriDupe =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"B\"), Bytes.toBytes(\"B\"));\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriDupe);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriDupe);\n ServerName server = regionStates.getRegionServerOfRegion(hriDupe);\n TEST_UTIL.assertRegionOnServer(hriDupe, server, REGION_ONLINE_TIMEOUT);\n\n HBaseFsck hbck = doFsck(conf,false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.DEGENERATE_REGION, ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS });\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n\n // fix the degenerate region.\n doFsck(conf,true);\n\n // check that the degenerate region is gone and no data loss\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Regional)) {\n return false;\n }\n Regional other = (Regional) object;\n if ((this.codigoRegional == null && other.codigoRegional != null) || (this.codigoRegional != null && !this.codigoRegional.equals(other.codigoRegional))) {\n return false;\n }\n return true;\n }", "@Override\n\tpublic int hashCode() {\n\t\treturn loc.hashCode();\n\t}", "@Test\r\n\tpublic void testCloneEU() {\r\n\t\tExternUnit externu2 = externu1.clone();\r\n\t\tassertTrue(externu1.equals(externu2));\r\n\t}", "boolean isIsUnique();", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof CamRegion)) {\r\n return false;\r\n }\r\n CamRegion other = (CamRegion) object;\r\n if ((this.vertex == null && other.vertex != null) || (this.vertex != null && !this.vertex.equals(other.vertex))) {\r\n return false;\r\n }\r\n return true;\r\n }", "private boolean siteOverlapsPrevious(RegionSequenceData track, int start, int motiflength) {\n ArrayList<Region> regions=track.getOriginalRegions();\n int end=start+motiflength-1;\n if (regions.isEmpty()) return false;\n for (Region r:regions) {\n if (end<r.getRelativeStart() || start>r.getRelativeEnd()) continue;\n else return true; // overlaps with this region\n }\n return false;\n }", "boolean isUnique();", "private static boolean checkAndMapPointToExistingRegion(int row, int col, HashMap<Integer, ArrayList<String>> boundedRegions) {\n\t\t\n\t\tboolean found = false;\n \n\t\t// Iterate over the existing bounded regions and check if current point falls under adjacent point of any region\n for(Integer key : boundedRegions.keySet()) {\n ArrayList<String> boundedPointsPerRegionList = boundedRegions.get(key);\n \n if(boundedPointsPerRegionList != null) {\n \tlogDebug(\"checkAndMapPointToExistingRegion() | Is list contains -> \"+row + \":\" + col+\", \"+(row-1) + \":\" + col+\" OR \"+row + \":\" + (col-1));\n \t\n \t// If adjacent point, add into the list of same region otherwise create new region later. \t\n if(boundedPointsPerRegionList.contains(row + \":\" + (col-1)) || boundedPointsPerRegionList.contains((row-1) + \":\" + col)) {\n boundedPointsPerRegionList.add(row + \":\" + col);\n boundedRegions.put(key, boundedPointsPerRegionList);\n found = true;\n }\n } \n }\n \n return found;\n\t}", "@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(timeout=120000)\n public void testMissingFirstRegion() throws Exception {\n TableName table = TableName.valueOf(\"testMissingFirstRegion\");\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // Mess it up by leaving a hole in the assignment, meta, and hdfs data\n admin.disableTable(table);\n deleteRegion(conf, tbl.getTableDescriptor(), Bytes.toBytes(\"\"), Bytes.toBytes(\"A\"), true,\n true, true);\n admin.enableTable(table);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.FIRST_REGION_STARTKEY_NOT_EMPTY });\n // fix hole\n doFsck(conf, true);\n // check that hole fixed\n assertNoErrors(doFsck(conf, false));\n } finally {\n cleanupTable(table);\n }\n }", "public int getC_Region_ID();", "public void desactiveRegraJogadaDupla() {\n this.RegraJogadaDupla = true;\n }", "@Test\r\n\tpublic void testEqualsEU() {\r\n\t\tExternUnit externu2 = externu1.clone();\r\n\t\tassertTrue(externu1.equals(externu2));\r\n\t}", "private boolean checkDuplicate(int id) {\r\n boolean x = false;\r\n for (Registration registration : studentRegList) {\r\n if (id == registration.getCourseId()) {\r\n x = true;\r\n break;\r\n }\r\n x = false;\r\n }\r\n return x;\r\n }", "public boolean supportsUnique() {\n \t\treturn true;\n \t}", "public VNode duplicate() throws VlException\n\t{\n\t\tthrow new nl.uva.vlet.exception.NotImplementedException(\"Duplicate method not implemented\"); \n\t}", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof AfSeccionesUnidad)) {\r\n return false;\r\n }\r\n AfSeccionesUnidad other = (AfSeccionesUnidad) object;\r\n if ((this.idSeccion == null && other.idSeccion != null) || (this.idSeccion != null && !this.idSeccion.equals(other.idSeccion))) {\r\n return false;\r\n }\r\n return true;\r\n }", "public int isSymmetric(Region r) {\n\t\tif (!sizeEquals(r))\n\t\t\treturn 0;\n\t\t\n\t\tint res=0;\n\t\tfor (int i=0;i<Math.min(sizeX, r.sizeX);i++) {\n\t\t\tfor (int j=0;j<Math.min(sizeY, r.sizeY);j++) {\n\t\t\t\tif (this.get(i, j)!=r.get(r.sizeX-i-1, j))\n\t\t\t\t\tres++;\n\t\t\t}\n\t\t}\n\t\tif (res<square/10)\n\t\t\treturn 1;\n\t\t\n\t\tres=0;\n\t\tfor (int i=0;i<Math.min(sizeX, r.sizeX);i++) {\n\t\t\tfor (int j=0;j<Math.min(sizeY, r.sizeY);j++) {\n\t\t\t\tif (this.get(i, j)!=r.get(i, r.sizeY-j-1))\n\t\t\t\t\tres++;\n\t\t\t}\n\t\t}\n\t\tif (res<square/10)\n\t\t\treturn 2;\n\t\t\n\t\treturn 0;\n\t}", "Region region();", "Region region();", "Region region();", "Region region();", "public boolean verificaDuplicidade(String s) {\n\t\tfor (Compromisso c : this.compromisso) {\n\t\t\tif (c.getDataInicio().equals(s)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "private boolean isExists(City c){\r\n\t\tfor(City i:map.getVerteices()){\r\n\t\t\tif (i.equals(c)){\r\n\t\t\t\treturn true;\r\n\t\t\t}}\r\n\t\treturn false;\r\n\r\n\t}", "boolean checkIfValidToCreate(int start, int end) {\n return myMarkerTree.processOverlappingWith(start, end, region->{\n int rStart = region.getStartOffset();\n int rEnd = region.getEndOffset();\n if (rStart < start) {\n if (region.isValid() && start < rEnd && rEnd < end) {\n return false;\n }\n }\n else if (rStart == start) {\n if (rEnd == end) {\n return false;\n }\n }\n else {\n if (rStart > end) {\n return true;\n }\n if (region.isValid() && rStart < end && end < rEnd) {\n return false;\n }\n }\n return true;\n });\n }", "private Region creatRegion(String rName) {\n\t\tfor (Region region : listRegions) {\r\n\t\t\tif (region.getName().equals(rName)) {\r\n\t\t\t\treturn region;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof ZoneGeographique)) {\r\n return false;\r\n }\r\n ZoneGeographique other = (ZoneGeographique) object;\r\n if ((this.codeZoneGeo == null && other.codeZoneGeo != null) || (this.codeZoneGeo != null && !this.codeZoneGeo.equals(other.codeZoneGeo))) {\r\n return false;\r\n }\r\n return true;\r\n }", "void addRegion(Region region);", "public String getValidRegionDesc();", "public XnRegion sharedRegion(TracePosition trace) {\n\tthrow new SubclassResponsibilityException();\n/*\nudanax-top.st:9681:OrglRoot methodsFor: 'accessing'!\n{XnRegion} sharedRegion: trace {TracePosition}\n\t\"Return a region for all the stuff in this orgl that can backfollow to trace.\"\n\tself subclassResponsibility!\n*/\n}", "public boolean insert(String regionname, String regionid) {\r\n boolean result = false;\r\n int idRegion = Integer.valueOf(regionid);\r\n Region region = new Region(regionname, idRegion);\r\n result = rdao.insertRegion(region);\r\n return result;\r\n }", "@Test (timeout=180000)\n public void testContainedRegionOverlap() throws Exception {\n TableName table =\n TableName.valueOf(\"tableContainedRegionOverlap\");\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // Mess it up by creating an overlap in the metadata\n HRegionInfo hriOverlap =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"A2\"), Bytes.toBytes(\"B\"));\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriOverlap);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriOverlap);\n ServerName server = regionStates.getRegionServerOfRegion(hriOverlap);\n TEST_UTIL.assertRegionOnServer(hriOverlap, server, REGION_ONLINE_TIMEOUT);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.OVERLAP_IN_REGION_CHAIN });\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n\n // fix the problem.\n doFsck(conf, true);\n\n // verify that overlaps are fixed\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "@java.lang.Override\n public boolean hasRegionsCount() {\n return regionsCount_ != null;\n }", "@Test (timeout=180000)\n public void testDupeStartKey() throws Exception {\n TableName table =\n TableName.valueOf(\"tableDupeStartKey\");\n try {\n setupTable(table);\n assertNoErrors(doFsck(conf, false));\n assertEquals(ROWKEYS.length, countRows());\n\n // Now let's mess it up, by adding a region with a duplicate startkey\n HRegionInfo hriDupe =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"A\"), Bytes.toBytes(\"A2\"));\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriDupe);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriDupe);\n ServerName server = regionStates.getRegionServerOfRegion(hriDupe);\n TEST_UTIL.assertRegionOnServer(hriDupe, server, REGION_ONLINE_TIMEOUT);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS});\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows()); // seems like the \"bigger\" region won.\n\n // fix the degenerate region.\n doFsck(conf,true);\n\n // check that the degenerate region is gone and no data loss\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "@Test\r\n\t@Ignore\r\n\tpublic void shouldReturnLisOfBrokenByRegion() {\n\t}", "public boolean findRegionDesc(String regAux);", "@Override\n\t\tpublic int hashCode() {\n\t\t\treturn Integer.parseInt(lat.toString()) ^ Integer.parseInt(lng.toString());\n\t\t\t//return super.hashCode();\n\t\t}", "@Override public int hashCode() {\n return Objects.hash(city, country, subdivision, line1, line2, line3, line4, line5, postalCode);\n }", "boolean hasNextHopRegion();", "public boolean isRegionUpdated() {\n return REGIONUPDATED.equals(message);\n }", "public boolean checkUniqueIntersection(long intersectionId,double latitude,double longitude){\n boolean res=true;\n for(Intersection intersection:intersectionList){\n if( intersection.equals(new Intersection(intersectionId,latitude,longitude))){\n res=false;\n }\n }\n return res;\n }", "public void duplicateClubEvent() {\n \n boolean modOK = modIfChanged();\n \n if (modOK) {\n ClubEvent clubEvent = position.getClubEvent();\n ClubEvent newClubEvent = clubEvent.duplicate();\n newClubEvent.setWhat(clubEvent.getWhat() + \" copy\");\n newClubEvent.setId(\"\");\n position = new ClubEventPositioned();\n position.setIndex (clubEventList.size());\n position.setClubEvent(newClubEvent);\n position.setNewClubEvent(true);\n localPath = \"\";\n display();\n }\n }", "@Test (timeout=180000)\n public void testRegionHole() throws Exception {\n TableName table =\n TableName.valueOf(\"tableRegionHole\");\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // Mess it up by leaving a hole in the assignment, meta, and hdfs data\n admin.disableTable(table);\n deleteRegion(conf, tbl.getTableDescriptor(), Bytes.toBytes(\"B\"),\n Bytes.toBytes(\"C\"), true, true, true);\n admin.enableTable(table);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.HOLE_IN_REGION_CHAIN});\n // holes are separate from overlap groups\n assertEquals(0, hbck.getOverlapGroups(table).size());\n\n // fix hole\n doFsck(conf, true);\n\n // check that hole fixed\n assertNoErrors(doFsck(conf,false));\n assertEquals(ROWKEYS.length - 2 , countRows()); // lost a region so lost a row\n } finally {\n cleanupTable(table);\n }\n }", "@Override\n public String insert(Region region) {\n String result = \"\"; \n if (rdao.insertRegion(region)) {\n result = \"insert success\";\n }else {\n result = \"insert failed\";\n }\n return result;\n }", "private void cleanProblematicOverlappedRegions(RegionLocations locations) {\n RegionInfo region = locations.getRegionLocation().getRegion();\n\n boolean isLast = isEmptyStopRow(region.getEndKey());\n\n while (true) {\n Map.Entry<byte[], RegionLocations> overlap =\n isLast ? cache.lastEntry() : cache.lowerEntry(region.getEndKey());\n if (\n overlap == null || overlap.getValue() == locations\n || Bytes.equals(overlap.getKey(), region.getStartKey())\n ) {\n break;\n }\n\n if (LOG.isDebugEnabled()) {\n LOG.debug(\n \"Removing cached location {} (endKey={}) because it overlaps with \"\n + \"new location {} (endKey={})\",\n overlap.getValue(),\n Bytes.toStringBinary(overlap.getValue().getRegionLocation().getRegion().getEndKey()),\n locations, Bytes.toStringBinary(locations.getRegionLocation().getRegion().getEndKey()));\n }\n\n cache.remove(overlap.getKey());\n }\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 singleRegion(Square[][] square)\n {\n \tboolean rem = false;\n for(int i = 1; i <= 9; i++)\n {\n ArrayList<Integer> cols = new ArrayList<Integer>();\n for(int r = 0; r < 9; r++)\n {\n if(square[r][colNum].isPossible(i))\n \tcols.add(r);\n }\n \n boolean check = true;\n for(int n = 1; n < cols.size(); n++)\n {\n if((int)(cols.get(n - 1)/3) != (int)(cols.get(n)))\n check = false;\n }\n \n if(check && cols.size() > 0)\n {\n boolean now = processRegion(square, cols.get(0), i);\n if(now)\n \trem = true;\n }\n }\n return rem;\n }", "public void testGetRegion() {\r\n\t\tregionBuilder = getRegionTestBuilder();\r\n\t\ttry {\r\n\t\t\tRegion region = regionMgr.getRegion(RegionTestBuilder.REGION_ID_INDIA);\r\n\t\t\tassertTrue(\"Unable to get country list\", region.getName()\r\n\t\t\t\t\t.equalsIgnoreCase(\"India\"));\r\n\t\t} catch (Exception ex) {\r\n\t\t\tassertTrue(\"An excpetion has occured\", false);\r\n\t\t}\r\n\t}", "public void setRegionid(int newRegionid) {\n regionid = newRegionid;\n }", "public void save() {\n RegionOwn.saveRegionOwner(this);\n }", "public void activeRegraJogadaDupla() {\n this.RegraJogadaDupla = true;\n }", "private boolean isInConflict(String contentInCur,\n String contentInGiven, String contentInSp) {\n if (bothModified(contentInCur, contentInGiven, contentInSp)) {\n if (isDifferent(contentInGiven, contentInCur)) {\n return true;\n }\n }\n return false;\n }", "boolean isRegionCached(final byte[] tableName, final byte[] row) {\n HRegionLocation location = getCachedLocation(tableName, row);\n return location != null;\n }", "private boolean hasUniqueState()\n {\n return (getExternalArcState() == getMiddleArcState() && getExternalArcState() == getInternalArcState() && getExternalArcState() == getCircleState());\n }", "public Object _duplicate() {\n throw new NO_IMPLEMENT(reason);\n }", "private boolean isSameFaRegion( String areas ) {\n\t\t\n\t\treturn ( areas.equalsIgnoreCase( Gfa.BOS + \"-\" + Gfa.MIA ) ||\n\t\t\t\t areas.equalsIgnoreCase( Gfa.MIA + \"-\" + Gfa.BOS ) || \n\t\t\t\t areas.equalsIgnoreCase( Gfa.SLC + \"-\" + Gfa.SFO ) ||\n\t\t\t\t areas.equalsIgnoreCase( Gfa.SFO + \"-\" + Gfa.SLC ) || \n\t\t\t\t areas.equalsIgnoreCase( Gfa.CHI + \"-\" + Gfa.DFW ) ||\n\t\t\t\t areas.equalsIgnoreCase( Gfa.DFW + \"-\" + Gfa.CHI ) );\n\t}", "public boolean isConflicting(int org)\n\t{\n\t\treturn this.getEntryOrg(org).size() > 1;\n\t}", "public boolean doOverlapNew(VIntWritable[] e1, VIntWritable[] e2){\n\t\tSet<VIntWritable> intersection = new HashSet<>(Arrays.asList(e1));\t\t\t\t\n\t\tintersection.retainAll(Arrays.asList(e2));\t\t\n\t\t\n\t\t//System.out.println(\"overlap? \"+ (intersection.isEmpty() ? false : true));\n\t\treturn intersection.isEmpty() ? false : true;\n\t\t\n\t\t//SOLUTION 2: slower O(nlogn) but needs less space\n//\t\tArrays.sort(e1); //O(nlogn)\n//\t\tfor (VIntWritable tmp : e2) { //O(m)\n//\t\t\tif (Arrays.binarySearch(e1, tmp) == -1) //O(logm)\n//\t\t\t\treturn false;\n//\t\t}\n//\t\treturn true;\n\t\t\n\t\t\n\t\t\t\n\t}", "@Test (timeout=180000)\n public void testSidelineOverlapRegion() throws Exception {\n TableName table =\n TableName.valueOf(\"testSidelineOverlapRegion\");\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // Mess it up by creating an overlap\n MiniHBaseCluster cluster = TEST_UTIL.getHBaseCluster();\n HMaster master = cluster.getMaster();\n HRegionInfo hriOverlap1 =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"A\"), Bytes.toBytes(\"AB\"));\n master.assignRegion(hriOverlap1);\n master.getAssignmentManager().waitForAssignment(hriOverlap1);\n HRegionInfo hriOverlap2 =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"AB\"), Bytes.toBytes(\"B\"));\n master.assignRegion(hriOverlap2);\n master.getAssignmentManager().waitForAssignment(hriOverlap2);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS, ERROR_CODE.OVERLAP_IN_REGION_CHAIN});\n assertEquals(3, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n\n // mess around the overlapped regions, to trigger NotServingRegionException\n Multimap<byte[], HbckInfo> overlapGroups = hbck.getOverlapGroups(table);\n ServerName serverName = null;\n byte[] regionName = null;\n for (HbckInfo hbi: overlapGroups.values()) {\n if (\"A\".equals(Bytes.toString(hbi.getStartKey()))\n && \"B\".equals(Bytes.toString(hbi.getEndKey()))) {\n regionName = hbi.getRegionName();\n\n // get an RS not serving the region to force bad assignment info in to META.\n int k = cluster.getServerWith(regionName);\n for (int i = 0; i < 3; i++) {\n if (i != k) {\n HRegionServer rs = cluster.getRegionServer(i);\n serverName = rs.getServerName();\n break;\n }\n }\n\n HBaseFsckRepair.closeRegionSilentlyAndWait((HConnection) connection,\n cluster.getRegionServer(k).getServerName(), hbi.getHdfsHRI());\n admin.offline(regionName);\n break;\n }\n }\n\n assertNotNull(regionName);\n assertNotNull(serverName);\n try (Table meta = connection.getTable(TableName.META_TABLE_NAME, tableExecutorService)) {\n Put put = new Put(regionName);\n put.add(HConstants.CATALOG_FAMILY, HConstants.SERVER_QUALIFIER,\n Bytes.toBytes(serverName.getHostAndPort()));\n meta.put(put);\n }\n\n // fix the problem.\n HBaseFsck fsck = new HBaseFsck(conf, hbfsckExecutorService);\n fsck.connect();\n fsck.setDisplayFullReport(); // i.e. -details\n fsck.setTimeLag(0);\n fsck.setFixAssignments(true);\n fsck.setFixMeta(true);\n fsck.setFixHdfsHoles(true);\n fsck.setFixHdfsOverlaps(true);\n fsck.setFixHdfsOrphans(true);\n fsck.setFixVersionFile(true);\n fsck.setSidelineBigOverlaps(true);\n fsck.setMaxMerge(2);\n fsck.onlineHbck();\n fsck.close();\n\n // verify that overlaps are fixed, and there are less rows\n // since one region is sidelined.\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertTrue(ROWKEYS.length > countRows());\n } finally {\n cleanupTable(table);\n }\n }", "static void findDuplicate()\n\t{\n\n\t\tList<String> oList = null;\n\t\tSet<String> oSet = null;\n\t\ttry {\n\t\t\toList = new ArrayList<String>();\n\t\t\toList.add(\"Apple\");\n\t\t\toList.add(\"Boy\");\n\t\t\toList.add(\"Frog\");\n\t\t\toList.add(\"Dog\");\n\t\t\toList.add(\"Eagle\");\n\t\t\toList.add(\"Frog\");\n\t\t\toList.add(\"Apple\");\n\t\t\toList.add(\"Boy\");\n\t\t\toList.add(\"Apple\");\n\t\t\toList.add(\"Boy\");\n\t\t\tSystem.out.println(oList);\n\t\t\t\n\t\t\toSet = new TreeSet<>();\n\t\t\t\n\t\t\tString s = \"\";\n\t\t\tfor(int i=0;i<oList.size();i++)\n\t\t\t{\n\t\t\t\tif((oSet.add(oList.get(i))==false) && (!s.contains(oList.get(i))))\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"Duplicate: \"+oList.get(i));\n\t\t\t\t\ts+=oList.get(i);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}catch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\toList = null;\n\t\t\toSet = null;\n\t\t}\n\t}", "@Override\n public int hashCode() {\n return Objects.hash(latitude, longitude, altitude, dateTimeZone, datum);\n }", "public void setRegion(String region) {\n this.region = region;\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof RegionDataPK)) {\n return false;\n }\n RegionDataPK other = (RegionDataPK) object;\n if ((this.industry == null && other.industry != null) || (this.industry != null && !this.industry.equals(other.industry))) {\n return false;\n }\n if ((this.anzsco == null && other.anzsco != null) || (this.anzsco != null && !this.anzsco.equals(other.anzsco))) {\n return false;\n }\n if ((this.sa4code == null && other.sa4code != null) || (this.sa4code != null && !this.sa4code.equals(other.sa4code))) {\n return false;\n }\n return true;\n }", "@Test (timeout=180000)\n public void testOverlapAndOrphan() throws Exception {\n TableName table =\n TableName.valueOf(\"tableOverlapAndOrphan\");\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // Mess it up by creating an overlap in the metadata\n admin.disableTable(table);\n deleteRegion(conf, tbl.getTableDescriptor(), Bytes.toBytes(\"A\"),\n Bytes.toBytes(\"B\"), true, true, false, true, HRegionInfo.DEFAULT_REPLICA_ID);\n TEST_UTIL.getHBaseAdmin().enableTable(table);\n\n HRegionInfo hriOverlap =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"A2\"), Bytes.toBytes(\"B\"));\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriOverlap);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriOverlap);\n ServerName server = regionStates.getRegionServerOfRegion(hriOverlap);\n TEST_UTIL.assertRegionOnServer(hriOverlap, server, REGION_ONLINE_TIMEOUT);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.ORPHAN_HDFS_REGION, ERROR_CODE.NOT_IN_META_OR_DEPLOYED,\n ERROR_CODE.HOLE_IN_REGION_CHAIN});\n\n // fix the problem.\n doFsck(conf, true);\n\n // verify that overlaps are fixed\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "private void canCreateRegion(JsonNode json) {\n removeDynamicValues(json);\n assertThat(json, matchesSnapshot());\n }", "public boolean isDuplicate(IDecodedDeviceRequest<?> request) throws SiteWhereException;", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof GePecasAprovacao)) {\r\n return false;\r\n }\r\n GePecasAprovacao other = (GePecasAprovacao) object;\r\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\r\n return false;\r\n }\r\n return true;\r\n }", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof Semestre)) {\r\n return false;\r\n }\r\n Semestre other = (Semestre) object;\r\n if ((this.idsemestre == null && other.idsemestre != null) || (this.idsemestre != null && !this.idsemestre.equals(other.idsemestre))) {\r\n return false;\r\n }\r\n return true;\r\n }", "public void testGetParentRegion() {\r\n\t\tregionBuilder = getRegionTestBuilder();\r\n\t\ttry {\r\n\t\t\tRegion region = regionMgr\r\n\t\t\t\t\t.getParentRegion(RegionTestBuilder.REGION_ID_KARNATAKA);\r\n\t\t\t// assertTrue(\"Unable to get country list\", region.getRegionId() ==\r\n\t\t\t// regionBuilder.REGION_ID_INDIA);\r\n\t\t\tassertTrue(\"Unable to get country list\", region.getRegionId()\r\n\t\t\t\t\t.toString()\r\n\t\t\t\t\t.equals(RegionTestBuilder.REGION_ID_INDIA.toString()));\r\n\t\t} catch (Exception ex) {\r\n\t\t\tassertTrue(\"An excpetion has occured\", false);\r\n\t\t}\r\n\t}", "public Region(String n,Set<Territoire> lT,Boolean plusGRegion) {\n\t\tthis.nom=n;\n\t\tthis.listeTerritoire=lT;\n\t\tthis.plusGrandeRegion=plusGRegion;\n\t}", "public static boolean cloned (Session connect, String siteSource, String siteDestination)\n {\n\n SiteSMD all = SiteSMD.findByName (connect, siteSource);\n SiteSMD site = SiteSMD.findByName (connect, siteDestination);\n\n if (all == null || site == null) {\n return false;\n }\n for (OperationAbstract allOps : all.getOperations ()) {\n allOps.duplicateInBase (connect, site);\n }\n\n return true;\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof DisciplinaCurso)) {\n return false;\n }\n DisciplinaCurso other = (DisciplinaCurso) object;\n if ((this.disciplinaCursoPK == null && other.disciplinaCursoPK != null) || (this.disciplinaCursoPK != null && !this.disciplinaCursoPK.equals(other.disciplinaCursoPK))) {\n return false;\n }\n return true;\n }", "void scanunique() {\n\t\tint oldline, newline;\n\t\tnode psymbol;\n\n\t\tfor (newline = 1; newline <= newinfo.maxLine; newline++) {\n\t\t\tpsymbol = newinfo.symbol[newline];\n\t\t\tif (psymbol.symbolIsUnique()) { // 1 use in each file\n\t\t\t\toldline = psymbol.linenum;\n\t\t\t\tnewinfo.other[newline] = oldline; // record 1-1 map\n\t\t\t\toldinfo.other[oldline] = newline;\n\t\t\t}\n\t\t}\n\t\tnewinfo.other[0] = 0;\n\t\toldinfo.other[0] = 0;\n\t\tnewinfo.other[newinfo.maxLine + 1] = oldinfo.maxLine + 1;\n\t\toldinfo.other[oldinfo.maxLine + 1] = newinfo.maxLine + 1;\n\t}", "public void setRegion(String region);", "@java.lang.Override\n public boolean hasRegionLocationMatrix() {\n return regionLocationMatrix_ != null;\n }", "@Override\n public int hashCode() {\n int result = 31 * this.name.hashCode();\n result += 31 * this.getLocation().getLatitude();\n result += 31 * this.getLocation().getLongitude();\n return result;\n }", "@Override\n public int hashCode() {\n return 1;\n }", "public boolean addMember(GeneralRegion region) {\n\t\tList<String> members = getMembers();\n\t\tif(members.contains(region.getName())) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\tmembers.add(region.getName());\n\t\t\tsetSetting(\"regions\", members);\n\t\t\tthis.saveRequired();\n\t\t\treturn true;\n\t\t}\n\t}", "@Test(timeout=120000)\n public void testMissingLastRegion() throws Exception {\n TableName table =\n TableName.valueOf(\"testMissingLastRegion\");\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // Mess it up by leaving a hole in the assignment, meta, and hdfs data\n admin.disableTable(table);\n deleteRegion(conf, tbl.getTableDescriptor(), Bytes.toBytes(\"C\"), Bytes.toBytes(\"\"), true,\n true, true);\n admin.enableTable(table);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.LAST_REGION_ENDKEY_NOT_EMPTY });\n // fix hole\n doFsck(conf, true);\n // check that hole fixed\n assertNoErrors(doFsck(conf, false));\n } finally {\n cleanupTable(table);\n }\n }", "String regionName();", "String regionName();", "String regionName();", "String regionName();", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Semestre)) {\n return false;\n }\n Semestre other = (Semestre) object;\n if ((this.idsemestre == null && other.idsemestre != null) || (this.idsemestre != null && !this.idsemestre.equals(other.idsemestre))) {\n return false;\n }\n return true;\n }", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof CursoEstudiantes)) {\r\n return false;\r\n }\r\n CursoEstudiantes other = (CursoEstudiantes) object;\r\n if ((this.cursoEstudiantesPK == null && other.cursoEstudiantesPK != null) || (this.cursoEstudiantesPK != null && !this.cursoEstudiantesPK.equals(other.cursoEstudiantesPK))) {\r\n return false;\r\n }\r\n return true;\r\n }", "public synchronized boolean remove(HRegionLocation loc) {\n byte[] startKey = loc.getRegion().getStartKey();\n RegionLocations oldLocs = cache.get(startKey);\n if (oldLocs == null) {\n return false;\n }\n\n HRegionLocation oldLoc = oldLocs.getRegionLocation(loc.getRegion().getReplicaId());\n if (!canUpdateOnError(loc, oldLoc)) {\n return false;\n }\n\n RegionLocations newLocs = removeRegionLocation(oldLocs, loc.getRegion().getReplicaId());\n if (newLocs == null) {\n if (cache.remove(startKey, oldLocs)) {\n return true;\n }\n } else {\n cache.put(startKey, newLocs);\n return true;\n }\n return false;\n }", "private void fetchUnknownNUTSRegions(Session session) {\n QAQCMain.log.info(\"Getting sites with unknown NUTS regions\");\n DefaultTableModel model = (DefaultTableModel) tabDisplaySites.getModel();\n String refnutsTable = SDF_ManagerApp.isEmeraldMode() ? \"RefNutsEmerald\" : \"RefNuts\";\n String hql = \"select region.regionCode, region.site.siteCode from Region as region \"\n + \"where not exists (from \" + refnutsTable + \" as ref where ref.refNutsCode like region.regionCode) \"\n + \"order by region.regionCode ASC\";\n Query q = session.createQuery(hql);\n Iterator itr = q.iterate();\n int i = 0;\n while (itr.hasNext()) {\n Object[] tabRes = (Object[]) itr.next();\n Object[] tuple = {tabRes[1], tabRes[0]};\n model.insertRow(i, tuple);\n i++;\n }\n Object[] columnNames = {\"Site\", \"Regions\"};\n model.setColumnIdentifiers(columnNames);\n updateNumResults(i);\n }", "public String getRegion() {\r\n return region;\r\n }", "public String getRegion() {\r\n return region;\r\n }", "public String getRegion() {\r\n return region;\r\n }" ]
[ "0.6507908", "0.6089179", "0.5938182", "0.5897357", "0.5799882", "0.57974315", "0.5694268", "0.5658859", "0.5632121", "0.5623217", "0.5569758", "0.55621195", "0.55230445", "0.5514387", "0.5505289", "0.54918194", "0.547486", "0.5470325", "0.5454785", "0.5452212", "0.54233366", "0.5419576", "0.5402853", "0.5382874", "0.5372338", "0.5356951", "0.53250664", "0.5324216", "0.531227", "0.5310506", "0.5310506", "0.5310506", "0.5310506", "0.53091234", "0.5307969", "0.53075045", "0.52946645", "0.5291791", "0.52913034", "0.528193", "0.5281703", "0.5280202", "0.5273916", "0.5267958", "0.52567846", "0.5254821", "0.52503544", "0.52422154", "0.52366596", "0.5236386", "0.5236152", "0.5236096", "0.52352846", "0.5225973", "0.5217106", "0.52163124", "0.5213122", "0.5211397", "0.52095926", "0.5204529", "0.5200059", "0.519255", "0.518605", "0.5181408", "0.51766825", "0.5172545", "0.5161176", "0.51564616", "0.5154767", "0.5141326", "0.5139752", "0.51396227", "0.513859", "0.51328886", "0.5128782", "0.5122641", "0.51213914", "0.51179725", "0.5112006", "0.5110396", "0.5108528", "0.51012206", "0.51003766", "0.5098225", "0.509366", "0.5092431", "0.5090117", "0.507917", "0.50675017", "0.5064601", "0.50584763", "0.50584763", "0.50584763", "0.50584763", "0.50557667", "0.50556844", "0.5052539", "0.5049892", "0.50467336", "0.50467336", "0.50467336" ]
0.0
-1
/ Restituisce un numero casuale compreso tra 0 e 80 (estremi inclusi). Questo numero identifica univocamente le 81 celle della griglia. Attenzione, il metodo restituisce un numero diverso ad ogni chiamata.
private int newIndex() { //return indexes.remove(0); return random.nextInt(81); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public int Div(int num){\n\tint count01 ;\n\tint count02 ;\n\tint aux03 ;\n\n\tcount01 = 0 ;\n\tcount02 = 0 ;\n\taux03 = num - 1 ;\n\twhile (count02 < aux03) {\n\t count01 = count01 + 1 ;\n\t count02 = count02 + 2 ;\n\t}\n\treturn count01 ;\t\n }", "public void ex() {\n int inches = 86; \n int pie = 12; //1 pie = 12 inches \n //Operaciones para obtener la cantidad de pies e inches\n int cant = inches / pie; \n int res = inches % pie;\n //Muestra de resultados\n System.out.println(inches + \" pulgadas es equivalente a\\n \" + \n cant + \" pies \\n \" + res + \" pulgadas \");\n }", "public static void main(String[] args) {\n long number = 6857;\n long i = 2;\n while ((number / i != 1) || (number % i != 0)) {\n if (number % i == 0) {\n number = number / i;\n } else {\n i++;\n }\n }\n System.out.println(i);\n\n }", "private static void helloHelloModulo() {\n int a = 1;\n int b = 10;\n int c = 1 / 10;\n\n int d = 1 % 10;\n\n\n System.out.println(\" Result deleniya \" + c);\n System.out.println(\" Result deleniya \" + d);\n\n\n int делимое = 75;\n int делитель = 13;\n int f = делимое % делитель;\n\n int остаток = делимое - (делимое / делитель) * делитель;\n int j = 7 % 2;\n\n System.out.println(f);\n System.out.println(остаток);\n\n\n }", "public static void calcIntegersDivBy()\r\n\t{\r\n\t\tint x = 5;\r\n\t\tint y = 20;\r\n\t\tint p = 3;\r\n\t\tint result = 0;\r\n\t\tif (x % p == 0)\r\n\t\t\tresult = (y / p - x / p + 1);\r\n\t\telse\r\n\t\t\tresult = (y / p - x / p);\r\n\t\tSystem.out.println(result);\r\n\t}", "private int pasarMilisegundoASegundo( long milisegundos )\n {\n return (int)(milisegundos/MILISEGUNDOS_EN_SEGUNDO);\n }", "@Override\r\n\tpublic int div() {\n\t\treturn 0;\r\n\t}", "public void contarDigitos(int numero) { //recibe como parametro un valor entero\r\n while (numero > 0) {\r\n numero = numero / 10; //se divide entre 10 el numero ingresado y luego este ocupa su lugar\r\n contador++; //cada vez que se divida entre 10 se aumenta en 1 el contador, el cual\r\n //indica los digitos que tiene el numero ingresado\r\n }\r\n }", "public static void main(String[] args) {\n int v1[] = new int[50];\r\n int v2[] = new int[50];\r\n int posicao_v2 = 0;\r\n int quantidade_divisores = 0;\r\n //preenche o vetor de 1 a 50 \r\n for (int i = 0; i < 50; i++) {\r\n v1[i] = i + 1;\r\n\r\n }\r\n \r\n \r\n //procura numero primos no vetor\r\n for (int i = 0; i < v1.length; i++) {\r\n //testar se v1[i] e um numero primo\r\n //Um número é divisível por outro quando o resto da divisão entre os dois é igual a zero\r\n quantidade_divisores = 0;\r\n //calcula a quatidade de divisores\r\n for (int j = 0; j < v1[i]; j++) {\r\n if (v1[i] % v1[j] == 0) {\r\n quantidade_divisores++;\r\n //sera divisivel\r\n }\r\n }\r\n if (quantidade_divisores == 2 ){\r\n //e primo \r\n v2[posicao_v2] = v1[i];\r\n posicao_v2++;\r\n }\r\n \r\n \r\n \r\n\r\n }\r\n for (int i = 0; i < 50; i++) {\r\n System.out.print(v1[i]+\" \");\r\n \r\n }\r\n System.out.println();\r\n for (int i = 0; i < 50; i++) {\r\n if (v2[i] > 0) {\r\n System.out.print(\"v1{\");\r\n System.out.print(v2[i]+\" , }\");\r\n }\r\n \r\n \r\n \r\n }\r\n \r\n System.out.println();\r\n }", "protected final int calculateInterst1(int pr){\n\t\t return pr*10*1/100;\n\t }", "public static int gcf(int num1, int num2) {\r\n\t\tint maxNumber = max(num1, num2);\r\n\t\tint minNumber = min(num1, num2);\r\n\t\tif (minNumber == 0) \r\n\t\t\treturn maxNumber;\r\n\t\tif (minNumber < 0)\r\n\t\t\tminNumber *= -1;\r\n\t\tSystem.out.println(maxNumber + \" \" + minNumber);\r\n\t\tfor (int i = minNumber; i > 0; i--) {\r\n\t\t\tboolean a = isDivisibleBy(maxNumber, i);\r\n\t\t\tboolean b = isDivisibleBy(minNumber, i);\r\n\t\t\tif (a == true && b == true) {\r\n\t\t\t\treturn i;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn 1;\r\n\t}", "@Test\n\tpublic void gcdOfFiboNumsTest() {\n\n\t\tAssert.assertTrue(ifn.gcdOfFiboNums(3, 12) == 2);\n\t}", "public static void Ejemplo2() {\n System.out.println(\"Introduzca el numero de valores a leer\");\r\n Scanner sc = new Scanner(System.in);\r\n int num = sc.nextInt();\r\n int[] frecuencias = new int[101];\r\n\r\n int numero;\r\n for (int i = 0; i < num; i++) {\r\n\r\n System.out.println(\"Introduzca un numero:\");\r\n boolean correcto;\r\n do {\r\n numero = sc.nextInt();\r\n\r\n if (numero < 1 || numero > 100) {\r\n System.out.println(\"Error el numero introducido tiene que pertencer al intervalo (0,100)\");\r\n correcto = false;\r\n } else {\r\n correcto = true;\r\n }\r\n } while (!correcto);\r\n\r\n frecuencias[numero]++;\r\n }\r\n\r\n for (int i = 0; i <= 100; i++) {\r\n if (frecuencias[i] != 0) {\r\n System.out.print(i + \" : \");\r\n for (int j = 0; j < frecuencias[i]; j++) {\r\n System.out.print(\"*\");\r\n }\r\n System.out.println(\"\");\r\n }\r\n }\r\n }", "public String run() {\r\n\t// divisorSum[n] is the sum of all the proper divisors of n\r\n int divisorSum[]= new int[LIMIT+1];\r\n for(int i=1;i<=LIMIT;i++)\r\n {\r\n for(int j=i+i;j<=LIMIT;j+=i)\r\n divisorSum[j]+=i;\r\n }\r\n // Analyze the amicable chain length for each number in ascending order\r\n int maxChainLen=0;\r\n int minChainElem=-1;\r\n for(int i=0;i<=LIMIT;i++){\r\n Set<Integer> visited=new HashSet<>();\r\n for(int count=1,cur=i;;count++){\r\n visited.add(cur);\r\n int next=divisorSum[cur];\r\n if(next==i)\r\n {\r\n if(count>maxChainLen){\r\n minChainElem=i;\r\n maxChainLen=count;\r\n \r\n }\r\n break;\r\n }\r\n // Exceeds limit or not a chain (a rho shape instead)\r\n else if(next>LIMIT || visited.contains(next))\r\n break;\r\n else\r\n cur=next;\r\n }\r\n }\r\n return Integer.toString(minChainElem);\r\n }", "private RunGreatestCommonDivisor() {\r\n\t}", "public static void main(String[] args) {\n\t\tint a=ArithmeticUtils.gcd(361,285);\n\t\tSystem.out.println(a);\n\t}", "int compFunction(int code) {\n return Math.abs(((3 * code + 8) % largePrime) % buckets.length);\n }", "public static void main(String[] args) {\n int digito = 3;\n int numeroDigitos = 0;\n if (digito <= 0) {\n System.out.println(\"Ingrese como parámetro, un numero de digitos correcto (mayor que 0): \");\n }\n for (int i = 1; i <= 99999; i++) {\n int aux = i;\n\n int contador = 0;\n\n numeroDigitos = devolverContador(aux, contador);\n\n if (numeroDigitos == digito) {\n if (i < 4) {\n primo = true;\n } else {\n if (i % 2 == 0) {\n primo = false;\n } else {\n int contador1 = 0;\n int i1 = 1;\n int k = (i - 1) / 2;\n if (k % 2 == 0) {\n k--;\n }\n\n contador1 = primoDivisible(i1, k, i, contador1);\n\n if (contador1 == 1) {\n primo = true;\n }\n }\n }\n\n if (primo == true) {\n System.out.println(i);\n }\n }\n }\n }", "@Test\n\tpublic void intersection() {\n\n\t\tlong n = 105;\n\t\tlong m = 100;\n\t\tfor(long i = n - 1; i > 1; i--){\n\t\t\tn = n * i;\n\t\t\tfor(long j = getZero(n); j > 0; j--){\n\t\t\t\tm = m * 10;\n\t\t\t}\n\t\t\tn = n % m;\n\t\t\tm = 100;\n\n\t\t\tSystem.out.println(n+\" \"+i);\n\n\t\t}\n\n\n\n\n\n\t}", "public static void Promedio(){\n int ISumaNotas=0;\n int IFila=0,ICol=0;\n int INota;\n float FltPromedio;\n for(IFila=0;IFila<10;IFila++)\n {\n ISumaNotas+=Integer.parseInt(StrNotas[IFila][1]);\n }\n FltPromedio=ISumaNotas/10;\n System.out.println(\"El promedio de la clase es:\"+FltPromedio);\n }", "public static void main(String[] args) {\n int primeiroNumero = 10; // Armazena o valor 10 para o primeiro número\n int segundoNumero = 2; // Armazena o valor 10 para o segundo número\n int resultado = 0; // Armazena do resultado da operação\n \n // Forma de adição\n resultado = primeiroNumero + segundoNumero;\n \n //Apresenta o resultado da adição\n System.out.printf(\"Resultado da adição = %d\\n\", resultado);\n \n \n // Forma de subtração\n resultado = primeiroNumero - segundoNumero;\n \n //Apresenta o resultado da subtração\n System.out.printf(\"Resultado da subtração = %d\\n\", resultado);\n \n \n // Forma de multiplicação\n resultado = primeiroNumero * segundoNumero;\n \n //Apresenta o resultado da multiplicação\n System.out.printf(\"Resultado da multiplicação = %d\\n\", resultado);\n \n \n // Forma de divisão\n resultado = primeiroNumero / segundoNumero;\n \n //Apresenta o resultado da divisão\n System.out.printf(\"Resultado da divisão = %d\\n\", resultado);\n \n \n // Forma de resto\n resultado = primeiroNumero % segundoNumero;\n \n //Apresenta o resultado do resto da divisão\n System.out.printf(\"Resultado do resto da divisão = %d\\n\", resultado);\n \n }", "static int hcf(int num1, int num2){\n int i = 1;\n int hcf = 0;\n\n while(i<=num1 || i<=num2){\n if (num1%i == 0 && num2%i==0){\n hcf = i;\n }\n i++;\n }\n return hcf;\n }", "private int getLCD(int a, int b){\n return ( (a * b) / getGCD(a, b) ); \n }", "public static String div(String bytes,int size, int value) throws MultDivException {\n if(value<=1||size<1||size>bytes.length()||(!Cript2010x8b.USEDIVMULT)) return bytes; \n value=Math.abs(value);\n\n size=Operations.multAndDivFixer(size);\n \n String out=\"\"; \n int max=bytes.length()/size; \n if(bytes.length()%size!=0) \n max++; \n for(int i=0;i<max;i++){ \n String subStr=\"\"; \n for(int l=0;l<size;l++) \n try{ \n subStr+=bytes.charAt(i*size+(size-l-1)); \n }catch(Exception e){ \n String bug=bytes.substring(i*size); \n bug=addLong(bug,1,value); \n return out+bug; \n } \n BigInteger current=strToBInt(subStr); \n int n=0;int MAX=151;\n while(n<MAX&&current.mod(BigInteger.valueOf(value)).compareTo(BigInteger.ZERO)!=0){ \n current=current.add(BigInteger.valueOf(2).pow(8*size)); n++;\n } \n if(n>=MAX){\n throw new MultDivException(\"Erro while(true) Via:Div\");\n }\n current=current.divide(BigInteger.valueOf(value)); \n while(current.compareTo(BigInteger.valueOf(2).pow(8*size))>0)current=current.add(BigInteger.valueOf(2).pow(8*size).negate()); \n while(current.compareTo(BigInteger.ZERO)<0)current=current.add(BigInteger.valueOf(2).pow(8*size)); \n \n out+=BintToStr(current,size); \n } \n return out; \n }", "public static void promedio(int [] Grado1, int NNEstudent){\nint aux=0;\nfor(int i=0;i<NNEstudent;i++){\naux=Grado1[i]+aux;}\nint promedio;\npromedio=aux/NNEstudent;\nSystem.out.println(aux);\nSystem.out.println(\"el promedio de las edades es:\");\nSystem.out.println(promedio);\n}", "public int Promedio(List<Integer>num){\n \n Iterator i = num.iterator();\n int suma = 0;\n int conteo = 0;\n int promedio;\n \n while(i.hasNext()){\n suma += (int)i.next();\n conteo++;\n }\n promedio = suma/conteo;\n return promedio;\n }" ]
[ "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.63415724", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6340672", "0.6169455", "0.60554165", "0.60150033", "0.5853136", "0.57910156", "0.5761623", "0.5741787", "0.5734224", "0.5691948", "0.5665502", "0.5663663", "0.56045055", "0.5603229", "0.5594333", "0.55882573", "0.5545404", "0.5530773", "0.55176383", "0.551203", "0.550514", "0.54891044", "0.54692125", "0.54689676", "0.545956", "0.5454091" ]
0.0
-1
/ Calcola l'indice di riga dal numero intero.
private int getRow(int number) { return number / 9; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getIncrementoInteligencia() {\n\t\treturn incrementoInteligencia;\n\t}", "public void calcularIndicePlasticidad(){\r\n\t\tindicePlasticidad = limiteLiquido - limitePlastico;\r\n\t}", "public int alturaInterativa() {\n if (this.esArbolVacio()) {\n return 0;\n }\n int alturaDelArbol = 0;\n Queue<NodoBinario<T>> colaDeNodos = new LinkedList<>();\n colaDeNodos.offer(raiz);\n while (!colaDeNodos.isEmpty()) {\n int nroDeNodosDelNivel = colaDeNodos.size();\n while (nroDeNodosDelNivel > 0) {\n NodoBinario<T> nodoActual = colaDeNodos.poll();\n if (!nodoActual.esHijoIzquiedoVacio()) {\n colaDeNodos.offer(nodoActual.getHijoIzquierdo());\n }\n if (!nodoActual.esHijoDerechoVacio()) {\n colaDeNodos.offer(nodoActual.getHijoDerecho());\n }\n nroDeNodosDelNivel--;\n }\n alturaDelArbol++;\n }\n return alturaDelArbol; //Altura total del arbol\n }", "public Number getIdbultoOri()\n {\n return (Number)getAttributeInternal(IDBULTOORI);\n }", "public int getIndice() {\n\t\treturn this.indice;\n\t}", "public int gradoEntrada() {\n \tint[] cont = new int[numV];//crear e inicializar el array de contadores\n \tfor(int i = 0; i<numV; i++) {\n \t\t//actualizaar el contador del grado de Entrada de cada vertice\n \t\t//de la lista adyacenteDe(i)\n \t\tListaConPI<Adyacente> a = elArray[i];\n \t\tfor(a.inicio(); !a.esFin(); a.siguiente()) {\n \t\tcont[a.recuperar().getDestino()]++;\n \t\t}\n \t}\n \treturn maximo(cont);\n }", "public int rekisteroi() {\n this.tunnusNro = seuraavaNro;\n Tuote.seuraavaNro++;\n return tunnusNro;\n }", "public static int altura(Arvore no) \n { \n if (no == null) \n return 0; \n else\n { \n /* Calcula a altura de cada subarvore */\n int alturaEsq = altura(no.esquerda); \n int alturaDir = altura(no.direita); \n \n /* usa a altura maior */\n if (alturaEsq > alturaDir) \n return(alturaEsq+1); \n else \n return(alturaDir+1); \n } \n }", "public int gradoEntrada(int i) {\n \tint grado = 0;\n \tfor(int j = 0; j < numV; j++) {\n \t\tif(existeArista(j, i)) grado ++;\n \t}\n \treturn grado; //el grado es el valor del grado de entrada de i\n }", "public int getNumeroInicial()\r\n/* 180: */ {\r\n/* 181:194 */ return this.numeroInicial;\r\n/* 182: */ }", "public static int ottieniNumeroRighe(File fileDaLeggere){\r\n\t\t//Creo e inizializzo la variabile che contiene il numero degli alunni\r\n\t\tint numeroAlunni = 0;\r\n\r\n\t\ttry {\r\n\t\t\t//Inizializzo i controlli\r\n\t\t\tFileInputStream lettoreIniziale = new FileInputStream(fileDaLeggere);\r\n\t\t\tBufferedReader lettoreFinale = new BufferedReader(new InputStreamReader(lettoreIniziale));\r\n\r\n\t\t\t//Creo e inizializzo la variabile che controlla se la linea è piena o vuota\r\n\t\t\tString lineaPienaVuota;\r\n\r\n\t\t\twhile(true){\r\n\t\t\t\tlineaPienaVuota = lettoreFinale.readLine();\r\n\t\t\t\tif (lineaPienaVuota != null){\r\n\t\t\t\t\tnumeroAlunni++;\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tlettoreFinale.close();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (IOException Errore) {\r\n\t\t\tJOptionPane.showMessageDialog(null, \"Impossibile interagire con il file \" + fileDaLeggere + \". Errore: \\n\" + Errore);\r\n\t\t}\r\n\t\treturn numeroAlunni;\r\n\t}", "public int rekisteroi() {\r\n alId = seuraavaNro;\r\n seuraavaNro++;\r\n\r\n return seuraavaNro;\r\n }", "public int getNumero() {\n return dado1;\n }", "public int obtenerSegundo() { return segundo; }", "public static int valorInteiro(int[] binario) {\n \n // Calcula o valor inteiro absoluto do binario \n int potencia = 1;\n int valor = 0;\n for(int i = binario.length - 1; i >= 0; i--) {\n valor += potencia * binario[i];\n potencia *= 2;\n }\n \n return valor;\n }", "@Override\n public void calcularIntGanado() {\n intGanado = saldo;\n for(int i = 0; i < plazoInv; i++){\n intGanado += inve * 12;\n intGanado += intGanado * (intAnual / 100);\n }\n intGanado = intGanado - (inve + saldo);\n }", "public void venceuRodada () {\n this.pontuacaoPartida++;\n }", "public int recuperar() {\r\n\t if (raiz == null)\r\n\t return -99999;\r\n\t ;\r\n\t int x = raiz.dato;\r\n\t raiz = raiz.sig;\r\n\t return x;\r\n\t }", "public int getAtaque() {\r\n\t\treturn this.unidad.getAtaque() + INCREMENTO_ATAQUE;\r\n\t}", "private int getNumero() {\n\t\treturn numero;\n\t}", "public int getNumero() { return this.numero; }", "public int getNunFigli() {\n\t\tint numFigli = 0;\n\t\tfor (Nodo_m_ario figlio : figli) {\n\t\t\tif (figlio != null) {\n\t\t\t\tnumFigli += 1;\n\t\t\t}\n\t\t}\n\t\treturn numFigli;\n\t}", "public int getAnnoIscrizione() {\n\t\treturn annoIscrizione;\n\t}", "public int intip() {\r\n return elemen[ukuran - 1];\r\n }", "@Override\r\n\tpublic int buscarIndice(String nomeEmpresa) {\n\t\treturn 0;\r\n\t}", "public int getDineroRecaudadoPorMaquina1()\n {\n return maquina1.getTotal();\n }", "public void iniciarNovaPartida(Integer posicao);", "public int getNumeroAnterior()\r\n/* 200: */ {\r\n/* 201:210 */ return this.numeroAnterior;\r\n/* 202: */ }", "public int lancia() {\r\n\t\tlancio = dado.tiraDado();\r\n\t\tthis.numLanci++;\r\n\t\treturn lancio;\r\n\t}", "public int getNumero(int index){\r\n\t\treturn numeros.get(index);\r\n\t}", "public int getNumero()\r\n/* 190: */ {\r\n/* 191:202 */ return this.numero;\r\n/* 192: */ }", "public int esquinas(){\n int v=0;\n if (fila==0 && columna==0){\n if(automata.getElemento(fila,columna+1)!=null && automata.getElemento(fila,columna+1).isVivo()){v++;}\n if(automata.getElemento(fila+1,columna+1)!=null && automata.getElemento(fila+1,columna+1).isVivo()){v++;}\n if(automata.getElemento(fila+1,columna)!=null && automata.getElemento(fila+1,columna).isVivo()){v++;}\n }\n else if(fila==0 && columna==15){\n if(automata.getElemento(fila,columna-1)!=null && automata.getElemento(fila,columna-1).isVivo()){v++;}\n if(automata.getElemento(fila+1,columna-1)!=null && automata.getElemento(fila+1,columna-1).isVivo()){v++;}\n if(automata.getElemento(fila+1,columna)!=null && automata.getElemento(fila+1,columna).isVivo()){v++;}\n }\n else if(fila==15 && columna==0){\n if(automata.getElemento(fila-1,columna)!=null && automata.getElemento(fila-1,columna).isVivo()){v++;}\n if(automata.getElemento(fila-1,columna+1)!=null && automata.getElemento(fila-1,columna+1).isVivo()){v++;}\n if(automata.getElemento(fila,columna+1)!=null && automata.getElemento(fila,columna+1).isVivo()){v++;}\n }\n else if(fila==15 && columna==15){\n if(automata.getElemento(fila-1,columna)!=null && automata.getElemento(fila-1,columna).isVivo()){v++;}\n if(automata.getElemento(fila-1,columna-1)!=null && automata.getElemento(fila-1,columna-1).isVivo()){v++;}\n if(automata.getElemento(fila,columna-1)!=null && automata.getElemento(fila,columna-1).isVivo()){v++;}\n }\n return v;\n }", "protected int obtenerIndice(int fil, int col) {\n\t\tint indiceVector;\n\t\tif (fil > col) {\n\t\t\tint auxiliar = col;\n\t\t\tcol = fil;\n\t\t\tfil = auxiliar;\n\t\t}\n\t\tindiceVector = fil * gradoMat + col - (fil * fil + 3 * fil + 2) / 2;\n\t\tif(fil == col) {\n\t\t\tindiceVector = 0;\n\t\t}\n\t\treturn indiceVector; \n\t}", "public int EliminarNodo() {\r\n int auxiliar = UltimoValorIngresado.informacion;\r\n UltimoValorIngresado = UltimoValorIngresado.siguiente;\r\n tamaño--;\r\n return auxiliar;\r\n }", "public int vecinos(){\n int v=0;\n if(fila<15 && columna<15 && fila>0 && columna>0){\n if(automata.getElemento(fila,columna-1)!=null && automata.getElemento(fila,columna-1).isVivo()){v++;}\n if(automata.getElemento(fila+1,columna-1)!=null && automata.getElemento(fila+1,columna-1).isVivo()){v++;}\n if(automata.getElemento(fila+1,columna)!=null && automata.getElemento(fila+1,columna).isVivo()){v++;} \n if(automata.getElemento(fila+1,columna+1)!=null && automata.getElemento(fila+1,columna+1).isVivo()){v++;}\n if(automata.getElemento(fila,columna+1)!=null && automata.getElemento(fila,columna+1).isVivo()){v++;}\n if(automata.getElemento(fila-1,columna+1)!=null && automata.getElemento(fila-1,columna+1).isVivo()){v++;}\n if(automata.getElemento(fila-1,columna)!=null && automata.getElemento(fila-1,columna).isVivo()){v++;}\n if(automata.getElemento(fila-1,columna-1)!=null && automata.getElemento(fila-1,columna-1).isVivo()){v++;}\n }\n else{v=limitesX();}\n return v;\n }", "public int getNumero(int index){\n\t\treturn numeros.get(index);\n\t}", "public int getNUMARGEO() {\n return numargeo;\n }", "public void cambiaRitmo(int valor){\r\n\t\t\r\n\t}", "public int getNumeroGiocatori() {\n return 0;\r\n }", "public static int calcolaAngolo(final DatiGenerazione data) {\n\t\t\t\t\n\t\t\t\tfinal int angle=calcolaAngolo(data.getMonitorSize(),data.getDimensione(),data.getXBar(),data.getDistSchermo()/10);\n\t\t\t\tdata.setAngolo(angle);\n\t\t\t\treturn angle;\n\t}", "private int getBinI(Location l)\r\n {\r\n return (int)((l.getX()-bl.getX())/di);\r\n }", "public Integer gerarSequencialContaBoleto() throws ErroRepositorioException ;", "public int obtenerSiguienteNumeroOrden() {\n try {\n controlOC = new ControlOrdenCompra();\n bitacora.info(\"Registro OrdenCompra Iniciado correctamente\");\n } catch (IOException ex) {\n bitacora.error(\"No se pudo iniciar el registro OrdenCompra por \" + ex.getMessage());\n }\n return controlOC.obtenerSiguienteNumeroOrden();\n }", "private int procurarIndice(String cpf){\n\t\t\n\t\t//posição = -1 é uma situação impossivel para esse caso, \n\t\t//serve para caso não se encontre um cliente no array.\n\t\tint posicao = -1;\n\t\t\n\t\t//percorrendo o array ate o indice que é o ultimo cliente added\n\t\tfor(int i = 0; i < indice; i++){\n\t\t\t\n\t\t\tif(clientes[i].getCpf().equals(cpf)){\n\t\t\t\tposicao = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn posicao;\n\t}", "public int getNumOrdine() {\n\t\t\treturn numOrdine;\n\t\t}", "public int elimiarAlInicio(){\n int edad = inicio.edad;\n if(inicio==fin){\n inicio=fin=null;\n }else{\n inicio=inicio.siguiente;\n }\n return edad;\n }", "public int promedio() {\r\n // calculo y redondeo del promedio\r\n promedio = Math.round(nota1B+nota2B);\r\n // paso de Double a Int\r\n return (int) promedio;\r\n }", "public int numAristas() { return numA; }", "public int getIva() {\n\t\treturn producto.getIva();\n\t}", "private int pasarMilisegundoASegundo( long milisegundos )\n {\n return (int)(milisegundos/MILISEGUNDOS_EN_SEGUNDO);\n }", "public int getNumero() {\n\t\tif (logger.isDebugEnabled()) {\n\t\t\tlogger.debug(\"getNumero() - start\");\n\t\t}\n\n\t\tif (logger.isDebugEnabled()) {\n\t\t\tlogger.debug(\"getNumero() - end\");\n\t\t}\n\t\treturn numero;\n\t}", "public void aumentarAciertos() {\r\n this.aciertos += 1;\r\n this.intentos += 1; \r\n }", "public int AmbosHijosR() { //Hecho por mi\n return AmbosHijosR(raiz);\n }", "void recorridoCero(){\n \n for(int i=0;i<8;i++)\n\t\t\tfor(int j=0;j<8;j++)\n\t\t\t\t{\n\t\t\t\t\t//marcar con cero todas las posiciones\n\t\t\t\t\trecorrido[i][j]=0;\n\t\t\t\t}\n }", "static int obtenerValor(int arreglo[],int i)\n\t\t{\n\t\t\treturn arreglo[i];\n\t\t}", "public void setIncrementoInteligencia(int incrementoInteligencia) {\n\t\tthis.incrementoInteligencia = incrementoInteligencia;\n\t}", "public int puntoUno() {\n int contador = 0;\n for (int i = 0; i < jugadores.length; i++) {\n if (jugadores[i] != null && jugadores[i].getCantPartidosJugados() > 10) {\n contador++;\n }\n }\n return contador;\n }", "public int pegaIndicePosicao(PosicaoMapa posicao) \n\t{\n\t\treturn posicoes.indexOf(posicao);\n\t}", "public int getOcena() {\n return ocena;\n }", "public int orientaceGrafu(){\n\t\tint poc = 0;\n\t\tfor(int i = 0 ; i < hrana.length ; i++){\n\t\t\tif(!oriNeboNeoriHrana(hrana[i].zacatek,hrana[i].konec))\n\t\t\t poc++;\n\t\t}\n\t\tif(poc == 0 )\n\t\t\treturn 0;\n\t\t\n\t\tif(poc == pocetHr)\n\t\t\treturn 1;\n\t\t\n\t\t\n\t\t\treturn 2;\n\t\t \n\t\t\n\t\t\t\t\t\n\t}", "public void setNUMARGEO(int value) {\n this.numargeo = value;\n }", "static void PrintRecorrido(int ini, int fin) {\n\n //System.out.println(\"Recorrido de nodos para llegar de nodo \" + ini + \" a \" + fin);\n List<Integer> path = new ArrayList<Integer>();\n int total=0;\n for (;;) { //infinite loop\n\n path.add(fin);\n if (prev[fin] == -1) {//si se llegó al inicio\n break;\n }\n total+=pesos[fin];//va sumando los pesos \n fin = prev[fin]; //\n }\n\n for (int i = path.size() - 1, k = 0; i >= 0; --i) {//se recorre de atrás para adelante printing los valores\n if (k != 0) {\n System.out.print(\" \");\n }\n System.out.print(path.get(i));//muestra el valor en posicion i (ultimo)\n k = 1;\n }\n System.out.print(\" Total:\"+total);\n System.out.println();\n }", "public String getPremierNumeroLibre() {\n\t\tString requete_s = \"SELECT id from LIVRES\";\n\t\tint i = 0;\n\t\tboolean egalite = true;\n\t\t\n\t\ttry{\n\t\t\trequete.execute(requete_s);\n\t\t\t\n\t\t\tResultSet rs = requete.getResultSet();\n\t\t\t\n\t\t\tdo{\n\t\t\t\ti++;\n\t\t\t\trs.next();\n\t\t\t\tegalite = (i ==((Integer) rs.getObject(1)));\n\t\t\t}while(egalite);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tString s = \"\" + i;\n\t\t\n\t\treturn s;\n\t}", "Integer getNLNDreu();", "public int getNumNudo() {\n return numNudo;\n }", "public int getNOficina ()\r\n {\r\n return this.nOficina;\r\n }", "public int getAngulo(){\n\t\treturn this.angulo_final;\n\t}", "private void aumentarPilha() {\n this.pilhaMovimentos++;\n }", "private int incrementarNumReg() throws BaseDeDatosExcepcion, ConexionExcepcion {\n\t\tif (logger.isDebugEnabled()) {\n\t\t\tlogger.debug(\"incrementarNumReg() - start\");\n\t\t}\n\n\t\tnumRegistro++;\n\t\tMediadorBD.actualizarRegistroCaja(numRegistro);\n\n\t\tif (logger.isDebugEnabled()) {\n\t\t\tlogger.debug(\"incrementarNumReg() - end\");\n\t\t}\n\t\treturn numRegistro;\n\t}", "private int obtenerCodigoPieza() {\n\t\tint resultado = 1;\n\t\ttry {\n\t\t\tXPathQueryService consulta = \n\t\t\t\t\t(XPathQueryService) \n\t\t\t\t\tcol.getService(\"XPathQueryService\", \"1.0\");\n\t\t\tResourceSet r = consulta.query(\"string(/piezas/pieza[last()]/@codigo)\");\n\t\t\tResourceIterator i = r.getIterator();\n\t\t\tif(i.hasMoreResources()) {\n\t\t\t\tString numero =i.nextResource().getContent().toString();\n\t\t\t\tif(!numero.equals(\"\"))\n\t\t\t\t\tresultado = Integer.parseInt(numero)+1;\n\t\t\t}\n\t\t} catch (XMLDBException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn resultado;\n\t}", "public Integer countReceitaLiquidaIndiretaDeAguaEEsgoto() \n\t\t\tthrows ErroRepositorioException;", "public void statoIniziale()\n {\n int r, c;\n for (r=0; r<DIM_LATO; r++)\n for (c=0; c<DIM_LATO; c++)\n {\n if (eNera(r,c))\n {\n if (r<3) // le tre righe in alto\n contenutoCaselle[r][c] = PEDINA_NERA;\n else if (r>4) // le tre righe in basso\n contenutoCaselle[r][c] = PEDINA_BIANCA;\n else contenutoCaselle[r][c] = VUOTA; // le 2 righe centrali\n }\n else contenutoCaselle[r][c] = VUOTA; // caselle bianche\n }\n }", "public static void Promedio(){\n int ISumaNotas=0;\n int IFila=0,ICol=0;\n int INota;\n float FltPromedio;\n for(IFila=0;IFila<10;IFila++)\n {\n ISumaNotas+=Integer.parseInt(StrNotas[IFila][1]);\n }\n FltPromedio=ISumaNotas/10;\n System.out.println(\"El promedio de la clase es:\"+FltPromedio);\n }", "public int getNumero() {\n return numero;\n }", "public int masVendido(int cantidad){\r\n \r\n return cantidad;\r\n }", "public int eleminardelInicio(){\n int elemento=inicio.dato;\n if(inicio==fin){\n inicio=fin=null;\n }else{\n inicio=inicio.siguiente;\n inicio.anterior=null; \n }\n return elemento;\n }", "@Override\r\n public void ingresarCapacidad(){\r\n double capacidad = Math.pow(alto, 3);\r\n int capacidadInt = Double.valueOf(capacidad).intValue();\r\n super.capacidad = capacidadInt;\r\n super.cantidadRestante = capacidadInt;\r\n System.out.println(capacidadInt);\r\n }", "int funkcjaRynkuGetIndex(float cena)\n\t{\n\t\tArrayList<Point> L1 =listaFunkcjiUzytecznosci.get(0);\n\n\t\tint a=0;\n\t\twhile (cena>L1.get(a).getPrice())\n\t\t{\n\t\t\ta++;\n\t\t}\n\t\t\n\t\tif(a>0)\n\t\t{\n\t\t\ta--;\n\t\t}\n\t\t\n\t\tif (a==L1.size())\n\t\t{\n\t\t\ta--;\t\n\t\t}\n\t\t\n\t\t\n\t\t//getInput(\"funkcjaRynkuGetIndex \"+a+\" cena \"+ cena);\n\t\t\t\n\t\treturn a;\n\t}", "public int obtenirLigne() {\n return this.ligne;\n }", "private int getNumeroCaras(View btn) {\n int caras = btn.getId();\n switch (caras) {\n case R.id.buttond2:\n caras=2;\n break;\n case R.id.buttond3:\n caras=3;\n break;\n case R.id.buttond4:\n caras=4;\n break;\n case R.id.buttond6:\n caras=6;\n break;\n case R.id.buttond8:\n caras=8;\n break;\n case R.id.buttond10:\n caras=10;\n break;\n case R.id.buttond12:\n caras=12;\n break;\n case R.id.buttond20:\n caras=20;\n break;\n case R.id.buttond24:\n caras=24;\n break;\n case R.id.buttond100:\n caras=100;\n break;\n }\n return caras;\n }", "public int getAnnoCorso() {\r\n return this.annoCorso;\r\n }", "BigInteger getNumRegistro();", "public double calcularIncremento(){\n double incremento=0.0;\n \n if (this.edad>=18&&this.edad<50){\n incremento=this.salario*0.05;\n }\n if (this.edad>=50&&this.edad<60){\n incremento=this.salario*0.10;\n }\n if (this.edad>=60){\n incremento=this.salario*0.15;\n }\n return incremento;\n }", "public int getIncrementoFuerza() {\n\t\treturn incrementoFuerza;\n\t}", "public int getNiveau() {\r\n return niveau;\r\n }", "public int getCurrRuptures();", "@Override\n\tpublic int sacameVida(ElementoPiedra a) {\n\t\treturn 20;\n\t}", "@Transient\n\tpublic String getNumerosREcibos(){\n\t\tString numerosrecibos=\" \";\n\t\n\t\tfor (ReciboDocumentoFiscal recibo : documento.getRecibos()) {\n\t numerosrecibos= numerosrecibos+recibo.getRecibo().getControl()+\" / \";\t\t\n\t\t}\n\t\treturn numerosrecibos;\n\t}", "int getSumaAdunata();", "public void regolaOrdineInMenu(int codRiga) {\n\n /** variabili e costanti locali di lavoro */\n Modulo moduloPiatto = null;\n Modulo moduloRighe = null;\n\n Campo campoOrdineRiga = null;\n\n int codPiatto = 0;\n int codiceMenu = 0;\n int codiceCategoria = 0;\n\n Filtro filtro = null;\n\n int ordineMassimo = 0;\n Integer nuovoOrdine = null;\n int valoreOrdine = 0;\n Integer valoreNuovo = null;\n\n Object valore = null;\n int[] chiavi = null;\n int chiave = 0;\n\n try { // prova ad eseguire il codice\n\n /* regolazione variabili di lavoro */\n moduloRighe = this.getModulo();\n moduloPiatto = this.getModuloPiatto();\n campoOrdineRiga = this.getModulo().getCampoOrdine();\n\n /* recupera il codice del piatto dalla riga */\n valore = moduloRighe.query().valoreCampo(RMP.CAMPO_PIATTO, codRiga);\n codPiatto = Libreria.objToInt(valore);\n\n /* recupera il codice del menu dalla riga */\n valore = moduloRighe.query().valoreCampo(RMP.CAMPO_MENU, codRiga);\n codiceMenu = Libreria.objToInt(valore);\n\n /* recupera il codice categoria dal piatto */\n valore = moduloPiatto.query().valoreCampo(Piatto.CAMPO_CATEGORIA, codPiatto);\n codiceCategoria = Libreria.objToInt(valore);\n\n /* crea un filtro per ottenere tutte le righe comandabili di\n * questa categoria esistenti nel menu */\n filtro = this.filtroRigheCategoriaComandabili(codiceMenu, codiceCategoria);\n\n /* aggiunge un filtro per escludere la riga corrente */\n filtro.add(this.filtroEscludiRiga(codRiga));\n\n /* determina il massimo numero d'ordine tra le righe selezionate dal filtro */\n ordineMassimo = this.getModulo().query().valoreMassimo(campoOrdineRiga, filtro);\n\n /* determina il nuovo numero d'ordine da assegnare alla riga */\n if (ordineMassimo != 0) {\n nuovoOrdine = new Integer(ordineMassimo + 1);\n } else {\n nuovoOrdine = new Integer(1);\n } /* fine del blocco if-else */\n\n /* apre un \"buco\" nella categoria spostando verso il basso di una\n * posizione tutte le righe di questa categoria che hanno un numero\n * d'ordine uguale o superiore al numero d'ordine della nuova riga\n * (sono le righe non comandabili) */\n\n /* crea un filtro per selezionare le righe non comandabili della categoria */\n filtro = filtroRigheCategoriaNonComandabili(codiceMenu, codiceCategoria);\n\n /* aggiunge un filtro per escludere la riga corrente */\n filtro.add(this.filtroEscludiRiga(codRiga));\n\n /* recupera le chiavi dei record selezionati dal filtro */\n chiavi = this.getModulo().query().valoriChiave(filtro);\n\n /* spazzola le chiavi */\n for (int k = 0; k < chiavi.length; k++) {\n chiave = chiavi[k];\n valore = this.getModulo().query().valoreCampo(campoOrdineRiga, chiave);\n valoreOrdine = Libreria.objToInt(valore);\n valoreNuovo = new Integer(valoreOrdine + 1);\n this.getModulo().query().registraRecordValore(chiave, campoOrdineRiga, valoreNuovo);\n } // fine del ciclo for\n\n /* assegna il nuovo ordine alla riga mettendola nel buco */\n this.getModulo().query().registraRecordValore(codRiga, campoOrdineRiga, nuovoOrdine);\n\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n }", "@Override\n\tpublic List<IIndividuo> cruce(IIndividuo ind1, IIndividuo ind2) throws CruceNuloException {\n\t\tList<IIndividuo> result = new ArrayList<>();\n\t\tint a = Individuo.aleatNum(0, ind1.getNumeroNodos()-1);\n\t\tint b = Individuo.aleatNum(0, ind2.getNumeroNodos()-1);\n\t\t\n\t\t/* TODO Descomentar para la entrega. Lo quitamos para acelerar las pruebas.\n\t\t * if(a == 0 && b == 0) {\n\t\t\tthrow new CruceNuloException();\n\t\t}*/\n\t\t\n\t\twhile(a == 0 && b == 0) {\n\t\t\ta = Individuo.aleatNum(0, ind1.getNumeroNodos()-1);\n\t\t\tb = Individuo.aleatNum(0, ind2.getNumeroNodos()-1);\n\t\t}\n\t\t\n\t\t/*Copiamos los individuos, pues no podemos devolver el mismo.\n\t\t * Una vez copiados, los etiquetamos, pues durante la copia no\n\t\t * copiamos las etiquetas. Así, si los individuos iniciales estaban\n\t\t * etiquetados, no habrá ningun problema, seran iguales, y si no estaban\n\t\t * etiquetados, el algoritmo seguira funcionando.*/\n\t\tIIndividuo copia1 = new Individuo();\n\t\tcopia1.setFitness(ind1.getFitness());\n\t\tcopia1.setExpresion(ind1.getExpresion().copy());\n\t\tcopia1.etiquetaNodos();\n\t\t\n\t\tIIndividuo copia2 = new Individuo();\n\t\tcopia2.setFitness(ind2.getFitness());\n\t\tcopia2.setExpresion(ind2.getExpresion().copy());\n\t\tcopia2.etiquetaNodos();\n\t\t\n\t\t/*Cogemos enconces los Nodos que queremos intercambiar entre ambos arboles.\n\t\t * En este caso, dado nuestro algoritmo de etiquetacion y nuestra forma de \n\t\t * generar los numeros aleatorios, sabemos que dicho nodo siempre va a estar,\n\t\t * y por tanto, no hace falta que nos aseguremos de que la funcion buscarNodo\n\t\t * no devuelva null.*/\n\t\t\n\t\tINodo nodo1 = copia1.getExpresion().buscarNodo(a);\n\t\tINodo nodo2 = copia2.getExpresion().buscarNodo(b);\n\t\t\n\t\tcopia1.getExpresion().reemplazarNodo(a, nodo2);\n\t\tcopia2.getExpresion().reemplazarNodo(b, nodo1);\n\t\tcopia1.etiquetaNodos();\n\t\tcopia2.etiquetaNodos();\n\t\t\n\t\tresult.add(copia1);\n\t\tresult.add(copia2);\n\t\treturn result;\n\t}", "public void setIndice(){\n txtIndice.setText(String.valueOf(indice));\n }", "public void setIdbultoOri(Number value)\n {\n setAttributeInternal(IDBULTOORI, value);\n }", "private int obstaculos() {\n\t\treturn this.quadricula.length * this.quadricula[0].length - \n\t\t\t\tthis.ardiveis();\n\t}", "int getNombreLignesPlateau();", "static int [] GerarAleatorio()\n {\n Random gerar = new Random();\n int [] Aleatorio = new int [pergu]; // Cria um Vetor com o tamanho de quantidade de perguntas\n \n \n int pos1, pos2, auxilio; \n \n for (int i = 0; i < Aleatorio.length; i++) \n {\n Aleatorio[i] = i ; // preenche o vetor\n }\n \n for (int i = 0; i < 1000; i++) //Quantidade de vezes que as perguntas serão embaralhadas \n {\n pos1 = gerar.nextInt(Aleatorio.length);\n pos2 = gerar.nextInt(Aleatorio.length);\n //troca \n auxilio = Aleatorio[pos1]; //guarda o valor da posição 1\n \n Aleatorio [pos1] = Aleatorio[pos2]; //troca o valor de 1 para 2\n Aleatorio[pos2] = auxilio; //troca o valor de 2 para o valor que estava na 1\n }\n \n \n return Aleatorio; \n }", "public int getX_indice() {\n\t\treturn x_indice;\n\t}", "public int obtenerDatos() {\n codigo =Integer.parseInt(modelo.getValueAt(fila,0).toString());\n return codigo;\n }", "@Override\n\tpublic int resid() {\n\t\tfinal float rate = mProgress/mPeroid;\n\t\tint index = (int)(rate-(int)rate)*mArry.length;\n\t\tif(index >= mArry.length){\n\t\t\treturn mArry.length-1;\n\t\t}\n\t\treturn index;\n\t}", "public double Baricentro() {\n if (puntos.size() <= 2) {\n return 0;\n } else {\n // Inicializacion de las areas\n double areaPonderada = 0;\n double areaTotal = 0;\n double areaLocal;\n // Recorrer la lista conservando 2 puntos\n Punto2D antiguoPt = null;\n for (Punto2D pt : puntos) {\n if (antiguoPt != null) {\n // Cálculo deñ baricentro local\n if (antiguoPt.y == pt.y) {\n // Es un rectángulo, el baricentro esta en\n // centro\n areaLocal = pt.y * (pt.x - antiguoPt.x);\n areaTotal += areaLocal;\n areaPonderada += areaLocal * ((pt.x - antiguoPt.x) / 2.0 + antiguoPt.x);\n } else {\n // Es un trapecio, que podemos descomponer en\n // un reactangulo con un triangulo\n // rectangulo adicional\n // Separamos ambas formas\n // Primer tiempo: rectangulo\n areaLocal = Math.min(pt.y, antiguoPt.y) + (pt.x - antiguoPt.x);\n areaTotal += areaLocal;\n areaPonderada += areaLocal * ((pt.x - antiguoPt.x) / 2.0 + antiguoPt.x);\n //Segundo tiempo: triangulo rectangulo\n areaLocal = (pt.x - antiguoPt.x) * Math.abs(pt.y - antiguoPt.y) / 2.0;\n areaTotal += areaLocal;\n if (pt.y > antiguoPt.y) {\n // Baricentro a 1/3 del lado pt\n areaPonderada += areaLocal * (2.0 / 3.0 * (pt.x - antiguoPt.x) + antiguoPt.x);\n } else {\n // Baricentro a 1/3 dek lado antiguoPt\n areaPonderada += areaLocal * (1.0 / 3.0 * (pt.x - antiguoPt.x) + antiguoPt.x);\n }\n }\n }\n antiguoPt = pt;\n }\n // Devolvemos las coordenadas del baricentro\n return areaPonderada / areaTotal;\n }\n }", "public int getNumero() {\n\t\treturn numero;\n\t}" ]
[ "0.6420427", "0.6287661", "0.62576663", "0.6229318", "0.61437637", "0.6137264", "0.6086055", "0.6077776", "0.60749686", "0.60444313", "0.6023242", "0.60168046", "0.6000662", "0.59905547", "0.59823734", "0.5979952", "0.5974237", "0.5969399", "0.593398", "0.5901794", "0.58906716", "0.58804953", "0.5879805", "0.58739454", "0.58724666", "0.5851285", "0.58388406", "0.58326435", "0.5828392", "0.5826728", "0.5821559", "0.5820356", "0.5818649", "0.5805565", "0.580071", "0.5798785", "0.5785633", "0.5775295", "0.57708836", "0.5766801", "0.57575035", "0.57484746", "0.5747493", "0.57294184", "0.5726787", "0.5723783", "0.5721623", "0.5716136", "0.5714825", "0.57115245", "0.5701316", "0.56732076", "0.56671876", "0.5657227", "0.5642338", "0.56320745", "0.5629216", "0.5628677", "0.5628666", "0.5627465", "0.5616864", "0.5616167", "0.5612214", "0.56101805", "0.560822", "0.5601192", "0.5597659", "0.5595467", "0.5595309", "0.55910236", "0.55880266", "0.5584575", "0.5576148", "0.55724347", "0.55723697", "0.55661154", "0.55642056", "0.5562527", "0.55584246", "0.55549425", "0.5553741", "0.5547784", "0.5547191", "0.55387604", "0.5536798", "0.55364764", "0.5530251", "0.55292493", "0.5523078", "0.55207396", "0.55179155", "0.55175984", "0.5515429", "0.5512136", "0.5511742", "0.55116653", "0.5510155", "0.5507503", "0.5502146", "0.54941463", "0.5490152" ]
0.0
-1
/ Calcola l'indice di colonna dal numero intero.
private int getColumn(int number) { return number % 9; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int obtenirColonne() {\n return this.colonne;\n }", "int getNombreColonnesPlateau();", "int nbColonnes();", "public Coup(int ligne, int colonne) {\n this.ligne = ligne;\n this.colonne = colonne;\n }", "public int intip() {\r\n return elemen[ukuran - 1];\r\n }", "private void configurarNumeros(int i, int j) {\n\t\tlblNumeros[i][j].setText(Integer.toString(this.mapa.getCelula(i, j).getQtdBombasVizinhas()));\r\n\t\tswitch (this.mapa.getCelula(i, j).getQtdBombasVizinhas()) {\r\n\t\tcase 1:\r\n\t\t\tlblNumeros[i][j].setForeground(Color.BLUE.brighter().brighter());\r\n\t\t\tbreak;\r\n\t\tcase 2:\r\n\t\t\tlblNumeros[i][j].setForeground(Color.GREEN.darker());\r\n\t\t\tbreak;\r\n\t\tcase 3:\r\n\t\t\tlblNumeros[i][j].setForeground(Color.RED);\r\n\t\t\tbreak;\r\n\t\tcase 4:\r\n\t\t\tlblNumeros[i][j].setForeground(Color.BLUE.darker().darker());\r\n\t\t\tbreak;\r\n\t\tcase 5:\r\n\t\t\tlblNumeros[i][j].setForeground(Color.RED.darker());\r\n\t\t\tbreak;\r\n\t\tcase 6:\r\n\t\t\tlblNumeros[i][j].setForeground(Color.MAGENTA);\r\n\t\t\tbreak;\r\n\t\tcase 7:\r\n\t\t\tlblNumeros[i][j].setForeground(Color.YELLOW);\r\n\t\t\tbreak;\r\n\t\tcase 8:\r\n\t\t\tlblNumeros[i][j].setForeground(Color.CYAN);\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}", "@Override\r\n\tpublic int buscarIndice(String nomeEmpresa) {\n\t\treturn 0;\r\n\t}", "private int getEthIdx() {\n return this.colStartOffset + 3;\n }", "@Override\n public String getNossoNumeroFormatted() {\n return \"24\" + boleto.getNossoNumero();\n }", "private int separarCoordenadasCol(String[] pCasilla){\n\t\treturn Integer.parseInt(pCasilla[1]);\n\t}", "public int getLine_number_display_digits() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readInt(__io__address + 40);\n\t\t} else {\n\t\t\treturn __io__block.readInt(__io__address + 40);\n\t\t}\n\t}", "private int getLine ( String toSearch , int elsegmento )\r\n\t{\r\n\t\tfor ( int i = 0 ; i < cont[elsegmento] ; i++ )\r\n\t\t{\r\n\t\t\tStringTokenizer st = new StringTokenizer ( segmento[elsegmento][i],\":\" );\r\n\t\t\tif ( st.countTokens() > 1 )\r\n\t\t\t{\r\n\t\t\t\tString label = st.nextToken().trim();\r\n\t\t\t\tif ( label.equalsIgnoreCase(toSearch) ) return i;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn -1;\r\n\t}", "public void statoIniziale()\n {\n int r, c;\n for (r=0; r<DIM_LATO; r++)\n for (c=0; c<DIM_LATO; c++)\n {\n if (eNera(r,c))\n {\n if (r<3) // le tre righe in alto\n contenutoCaselle[r][c] = PEDINA_NERA;\n else if (r>4) // le tre righe in basso\n contenutoCaselle[r][c] = PEDINA_BIANCA;\n else contenutoCaselle[r][c] = VUOTA; // le 2 righe centrali\n }\n else contenutoCaselle[r][c] = VUOTA; // caselle bianche\n }\n }", "private void montarLabelNumeros() {\n\r\n\t\tlblNumeros = new JLabel[this.dificuldade.getValor()][this.dificuldade.getValor()];\r\n\r\n\t\tBorder borda = BorderFactory.createLineBorder(Color.BLACK, 2);\r\n\r\n\t\tfor (int i = 0; i < lblNumeros.length; i++) {\r\n\t\t\tfor (int j = 0; j < lblNumeros.length; j++) {\r\n\t\t\t\tlblNumeros[i][j] = new JLabel(\"\", SwingConstants.CENTER);\r\n\t\t\t\tlblNumeros[i][j].setVisible(true);\r\n\r\n\t\t\t\tconfiguraFonteNumeros(lblNumeros[i][j]);//CHAMA PRA CONFIGURAR A FONTE BASEADO NA DIFICULDADE\r\n\r\n\t\t\t\tthis.painelJogo2.add(lblNumeros[i][j]);//ADICIONA NO PAINEL\r\n\t\t\t\tif (this.mapa.getCelula(i, j).isBomba() == false) {//\r\n\t\t\t\t\tif (this.mapa.getCelula(i, j).isEmBranco() == false) {//SE NAO FOR BOMBA NEM EM BRANCO CONFIGURA OS NUMEROS DAQUELE LABEL\r\n\t\t\t\t\t\tconfigurarNumeros(i, j);\r\n\t\t\t\t\t} \r\n\t\t\t\t} else {//SE FOR BOMBA, DEIXA OPACO, DEIXA O BACKGROUND VERMELHO E COLOCA O ICONE\r\n\t\t\t\t\tlblNumeros[i][j].setOpaque(true);\r\n\t\t\t\t\tlblNumeros[i][j].setBackground(Color.RED);\r\n\t\t\t\t\tlblNumeros[i][j].setIcon(iconBomba);\r\n\t\t\t\t}\r\n\t\t\t\tlblNumeros[i][j].setBorder(borda);//COLOCA UMA BORDA NO LABEL\r\n\t\t\t\tlblNumeros[i][j].setVisible(false);//DEIXA INVISIVEL, SO FICA VISIVEL QND O BOTAO DA MESMA POSICAO EH ABERTO\r\n\t\t\t}\r\n\t\t}\r\n\t}", "@Override\n\tpublic int calcolo2(int i, int x) {\n\t\treturn 0;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn super.toString() + \" Corrente :\"+ super.getNumero();\n\t}", "public List<EntitaConsultabileDataWrapper> getElencoIntestazioniColonne(TipoEntitaConsultabile tipoEntitaConsultabile){\n\t\tfinal String methodName = \"getElencoIntestazioniColonne\";\n\t\tif(tipoEntitaConsultabile == null){\n\t\t\tlog.debug(methodName, \"TipoEntitaConsultabile non presente\");\n\t\t\treturn new ArrayList<EntitaConsultabileDataWrapper>();\t\n\t\t}\n\t\tEntitaConsultabileDataAdapter columnAdapter = dataAdapterFactory.init(tipoEntitaConsultabile);\n\t\treturn columnAdapter.getListaIntestazioneColonneTabella();\n\t}", "public int getAtaque() {\r\n\t\treturn this.unidad.getAtaque() + INCREMENTO_ATAQUE;\r\n\t}", "public int contenuto(Casella cas)\n { return contenutoCaselle[cas.riga][cas.colonna]; }", "private int procurarIndice(String cpf){\n\t\t\n\t\t//posição = -1 é uma situação impossivel para esse caso, \n\t\t//serve para caso não se encontre um cliente no array.\n\t\tint posicao = -1;\n\t\t\n\t\t//percorrendo o array ate o indice que é o ultimo cliente added\n\t\tfor(int i = 0; i < indice; i++){\n\t\t\t\n\t\t\tif(clientes[i].getCpf().equals(cpf)){\n\t\t\t\tposicao = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn posicao;\n\t}", "public int getIndice() {\n\t\treturn this.indice;\n\t}", "public int contaPercorre() {\n\t\tint contaM = 0;\n\t\tCampusModel aux = inicio;\n\t\tString r = \" \";\n\t\twhile (aux != null) {\n\t\t\tr = r + \"\\n\" + aux.getNomeCampus();\n\t\t\taux = aux.getProx();\n\t\t\tcontaM++;\n\t\t}\n\t\treturn contaM;\n\t}", "public static int diagonale(int [][]plateau, int colonne, int ligne, final int Joueur)\r\n\t{\r\n\t\tint compteurBG = diagonaleC(plateau, colonne, ligne, Joueur, -1, 1);\r\n\t\tint compteurHD = diagonaleC(plateau, colonne, ligne, Joueur, 1, -1);\r\n\t\t// Pour avoir les mêmes chiffres de victoire dans tous les cas de victoire, je n'ai pas compter le jeton poser donc soustrait par 2\r\n\t\tint compteurBGHD = compteurBG + compteurHD-2;\r\n\t\t\r\n\t\tint compteurHG = diagonaleC(plateau, colonne, ligne, Joueur, -1, -1);\r\n\t\tint compteurBD = diagonaleC(plateau, colonne, ligne, Joueur, 1, 1);\r\n\r\n\t\tint compteurHGBD = compteurHG + compteurBD-2;\r\n\r\n\t\tif (compteurHGBD >= compteurBGHD)\r\n\t\t\treturn compteurHGBD;\r\n\t\telse\r\n\t\t\treturn compteurBGHD;\r\n\t}", "public int getNumMaille(float i, float j) {\n\n\t\tint deltai=(int) (this.mailleobservateur_i-i);\n\t\tint deltaj=(int) (this.mailleobservateur_j-j); \n\t\t\n\t\tint pos_reli = this.centre_relatif + deltai;\n\t\tint pos_relj = this.centre_relatif + deltaj;\nSystem.out.println(mailleobservateur_i +\" \"+ mailleobservateur_j +\" / \"+ deltai +\" \"+ deltaj);\t\t\t\nSystem.out.println(\" i-j: \"+ i + \" \"+ j);\n\nSystem.out.println(\" crel: \"+ centre_relatif);\n\nSystem.out.println(pos_reli +\" \"+ pos_relj);\t\t\t\n\t\tint nummaille = matrice_indexation[pos_reli][pos_relj];\nSystem.out.println(\"nummaille=\"+nummaille);\n\t\n\t\treturn nummaille;\n\t}", "private int Dataposi(String cadena,int posicion){\r\n\t\tif(cadena.length() > posicion && posicion >= 0)\r\n\t\t\treturn cadena.charAt(cadena.length()-posicion-1)-48;\r\n\t\treturn 0;\r\n\t}", "@Override\n\tpublic int getColumnCount()\n\t{\n\t\treturn nomColonnes.length;\n\t}", "private int obstaculos() {\n\t\treturn this.quadricula.length * this.quadricula[0].length - \n\t\t\t\tthis.ardiveis();\n\t}", "@Override\n\tpublic int calcolo1(int i, int x) {\n\t\treturn 0;\n\t}", "public int idade() {\n\t\treturn 2020 - anoNascimento;\n\t}", "private void MembentukListHuruf(){\n for(int i = 0; i < Panjang; i ++){\n Huruf Hrf = new Huruf();\n Hrf.CurrHrf = Kata.charAt(i);\n if(!IsVertikal){\n //horizontal\n Hrf.IdX = StartIdxX;\n Hrf.IdY = StartIdxY+i;\n }else{\n Hrf.IdX = StartIdxX+i;\n Hrf.IdY = StartIdxY;\n }\n // System.out.println(\"iniii \"+Hrf.IdX+\" \"+Hrf.IdY+\" \"+Hrf.CurrHrf+\" \"+NoSoal);\n TTS.Kolom[Hrf.IdX][Hrf.IdY].AddNoSoal(NoSoal);\n TTS.Kolom[Hrf.IdX][Hrf.IdY].Huruf=Hrf.CurrHrf;\n \n }\n }", "public void ukloniHranu() {\n\t\tthis.tabla[iHrana][jHrana] = '.';\t\t\n\t}", "public int calcola_num_assegnamenti(String id_autista,Calendar cal){\n\t AssegnamentiDao ass=new AssegnamentiDao(); //gią assegnati all'autista per scegliere\n\t int n=ass.get_num_assegnamenti(id_autista,cal); //l'ora del prossimo assegnamento \n\t if(n>4)\n\t\t n++; //CONTA L'ORA DI SPACCO\n\t return n;\n }", "public void displayColonies() {\r\n\t\tchar[][] temp;\r\n\t\tint count;\r\n\r\n\t\tfor (int row = 0; row < slideData.length; row++) {\r\n \t\t\tfor (int col = 0; col < slideData[0].length; col++) {\r\n \t\t\tif (slideData[row][col] == COLONY) {\r\n \t\t \t\tcount = collectCells(row, col);\r\n \t\t\tSystem.out.println(\"Colony at (\" + row + \",\" + col + \") with size \" + count);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "@Override\n\tpublic int calcolo3(int i, int x) {\n\t\treturn 0;\n\t}", "public int getVonalAzonosito()\r\n\t{\r\n\t\treturn vonalAzonosito;\r\n\t}", "public void Mostrar() {\n \n for (int i=0;i<3;i++) {\n System.out.print(\"Torre \"+i+\": \");\n for (Iterator it = columnas[i].iterator(); it.hasNext();) {\n int n = (int) it.next();\n System.out.print(n+\"[\"+\"]\");\n longitud++;\n }\n System.out.println(\"\");\n \n }\n }", "@Override\n\tpublic int getNotaFiscal(Ingresso ingresso) throws DBException {\n\t\treturn 0;\n\t}", "public char controlloVerticale(char[][] scacchiera)\n {\n for (int w=0;w<3;w++)\n {\n if (scacchiera[0][w]==scacchiera[1][w]&&scacchiera[1][w]==scacchiera[2][w]) return scacchiera[0][w];\n }\n return ' ';\n }", "private void pintar_cuadrantes() {\tfor (int f = 0; f < 3; f++)\n//\t\t\tfor (int c = 0; c < 3; c++)\n//\t\t\t\ttablero[f][c].setBorder(new LineBorder(Color.DARK_GRAY, 2));\n//\n//\t\tfor (int f = 0; f < 3; f++)\n//\t\t\tfor (int c = 6; c < 9; c++)\n//\t\t\t\ttablero[f][c].setBorder(new LineBorder(Color.DARK_GRAY, 2));\n//\n//\t\tfor (int f = 3; f < 6; f++)\n//\t\t\tfor (int c = 3; c < 6; c++)\n//\t\t\t\ttablero[f][c].setBorder(new LineBorder(Color.DARK_GRAY, 2));\n//\n//\t\tfor (int f = 6; f < 9; f++)\n//\t\t\tfor (int c = 0; c < 3; c++)\n//\t\t\t\ttablero[f][c].setBorder(new LineBorder(Color.DARK_GRAY, 2));\n//\n//\t\tfor (int f = 6; f < 9; f++)\n//\t\t\tfor (int c = 6; c < 9; c++)\n//\t\t\t\ttablero[f][c].setBorder(new LineBorder(Color.DARK_GRAY, 2));\n//\t\n\t\t\n\t\t}", "public int getNumOrdine() {\n\t\t\treturn numOrdine;\n\t\t}", "public int getNumero() {\n return dado1;\n }", "public boolean colonne(int c){\n\tint l=0;\n\tboolean trouve=false;\n\tObject tmp='@';\n\twhile(l<5 && !trouve){\n\t\tif(gc[l][c]==tmp)\n\t\t\ttrouve=true;\n\t\telse\n\t\t\tl++;\n\t}\n\treturn trouve;\n}", "private int obtemIndiceColuna(String colunaNome, String nomeTabela) {\n WebElement tabela = obtemTabela(nomeTabela);\n List<WebElement> colunas = tabela.findElements(By.xpath(\".//th\"));\n int idColuna = -1;\n for(int i=0;i<colunas.size();i++) {\n if(colunas.get(i).getText().equals(colunaNome)) {\n idColuna = i+1;\n break;\n }\n }\n\n return idColuna;\n }", "public String toString(){\n\t\tString maChaineRetour=\"\";\n\t\t\n\t\tfor(Cristal[] ligne: tabCristaux){\n\t\t\tfor(Cristal colonne: ligne){\n\t\t\t\tif(colonne == null)\n\t\t\t\t\tmaChaineRetour = maChaineRetour + \"0\" ;\n\t\t\t\telse\n\t\t\t\t\tmaChaineRetour = maChaineRetour + colonne.toString();\n\t\t\t}\n\t\t\tmaChaineRetour = maChaineRetour + \"\\n\";\n\t\t}\n\t\treturn maChaineRetour;\n\t}", "public void afegirPosicio() {\n\t\tfor(int i=0; i<cal.length; ++i){\n\t\t\tcal[i] = new Dia(false);\n\t\t\tfor(int j=0; j<3; ++j) cal[i].getTorns()[j].setPosicio(i);\n\t\t}\n\t}", "public int getNumero()\r\n/* 190: */ {\r\n/* 191:202 */ return this.numero;\r\n/* 192: */ }", "public static int datoint(){\n \n try {\n return(Integer.parseInt(dato()));\n } catch (NumberFormatException error) {\n return (Integer.MIN_VALUE);\n }\n \n }", "public void setIndice(){\n txtIndice.setText(String.valueOf(indice));\n }", "@Override\n\tpublic long getNumeroContrato() {\n\t\t// TODO Auto-generated method stub\n\t\treturn super.getNumeroContrato();\n\t}", "public static void laukiHorizontalaIrudikatu(int neurria, char ikurra) {\n int altuera=neurria/2;\n int zabalera=neurria;\n for(int i=1; i<=altuera; i++){//altuera\n System.out.println(\" \");\n \n \n for(int j=1; j<=zabalera; j++){//zabalera\n \n System.out.print(ikurra);\n }\n\n}\n }", "public int getNumeroInicial()\r\n/* 180: */ {\r\n/* 181:194 */ return this.numeroInicial;\r\n/* 182: */ }", "@Override\n public String toString() {\n int numeritosY = 0;\n int numeritosX = 0;\n StringBuilder datos = new StringBuilder(\" \");\n\n //Imprime los numeros de arriba\n for (int x = 0; x < casillas.length; x++) {\n datos.append(\" \").append(numeritosX);\n numeritosX++;\n }\n datos.append(\"\\n \");\n //Imprime la primera linea que corresponde con la parte superior del tablero.\n for (int x = 0; x < casillas.length; x++) {\n datos.append(\"\\033[33m\"+\"+----\"+\"\\033[0m\");\n }\n datos.append(\"\\033[33m\"+\"+\"+\"\\033[0m\");\n datos.append(\"\\n\");\n //Imprime el resto del tablero.\n for (int y = 0; y < casillas.length; y++) {\n datos.append(numeritosY).append(\"\\033[33m\"+\" | \"+\"\\033[0m\");\n for (int x = 0; x < casillas[y].length; x++) {\n datos.append(casillas[y][x].toString());\n }\n datos.append(\"\\n\");\n datos.append(\" \");\n for (int i = 0; i < casillas[y].length; i++) {\n datos.append(\"\\033[33m\"+\"+----\"+\"\\033[0m\");\n }\n datos.append(\"\\033[33m\"+\"+\"+\"\\033[0m\");\n datos.append(\"\\n\");\n numeritosY++;\n }\n return datos.toString();\n }", "private static void myLine(int zahl) {\n\n for (int i = 7; i < zahl; i += 7) {\n System.out.print(i + \" \");\n }\n }", "@Override\n\tpublic int horas_trabajo() {\n\t\treturn 1000;\n\t}", "public void calcularIndicePlasticidad(){\r\n\t\tindicePlasticidad = limiteLiquido - limitePlastico;\r\n\t}", "public static String toStringWithZeros(final Hidato hidato) {\n StringBuilder ret = new StringBuilder();\n ret.append(\" \");\n for (int i = 0; i < hidato.getSizeY(); i += 1) {\n ret.append(\"____ \");\n }\n ret.append(\"\\n\");\n for (int i = 0; i < hidato.getSizeX(); i += 1) {\n for (int j = 0; j < hidato.getSizeY(); j += 1) {\n ret.append(\"|\");\n int val = Utils.toIntZero(hidato.getCell(i, j));\n if (hidato.getCell(i, j).getType() == Type.GIVEN) {\n ret.append(String.format(\"%3d \", val));\n } else if (hidato.getCell(i, j).getType() == Type.BLANK) {\n ret.append(\"____\");\n } else {\n ret.append(\"####\");\n }\n }\n ret.append(\"|\\n\");\n }\n return ret.toString();\n }", "private static Text createOffset(int line) {\n String offset = Integer.toHexString(line * 16);\n StringBuilder stringBuilder = new StringBuilder();\n for (int j = 0; j < (8 - offset.length()); j++) {\n stringBuilder.append(0);\n }\n stringBuilder.append(offset).append(' ');\n Text result = new Text(stringBuilder.toString());\n //noinspection HardCodedStringLiteral\n result.getStyleClass().add(\"normal\");\n return result;\n }", "public int getHoras() {\r\n\t\treturn super.getHoras()*2;\r\n\t}", "int getLabelOffset();", "public int getIncline() { return incline; }", "private int getNIdx() {\n return this.colStartOffset + 7;\n }", "public void printNo(String numar)\r\n {\r\n //toate verificarile posibile pentru a afisa ce trebuie\r\n //mi-e lene sa scriu la fiecare in parte, daca vrei ti le explic la telefon\r\n if(Character.getNumericValue(numar.charAt(0)) ==0 && Character.getNumericValue(numar.charAt(1)) == 0){\r\n System.out.print(v[Character.getNumericValue(numar.charAt(2))] + \" \");\r\n }\r\n else{\r\n if(Character.getNumericValue(numar.charAt(0)) > 0){\r\n System.out.print(v[Character.getNumericValue(numar.charAt(0))] + \" hundread \");\r\n }\r\n if(Character.getNumericValue(numar.charAt(1)) == 1){\r\n System.out.print(v1[Character.getNumericValue(numar.charAt(2))] + \" \");\r\n }\r\n else if (Character.getNumericValue(numar.charAt(1)) > 1 && Character.getNumericValue(numar.charAt(2)) > 0){\r\n System.out.print(v2[Character.getNumericValue(numar.charAt(1)) - 2] + v[Character.getNumericValue(numar.charAt(2))] + \" \");\r\n }\r\n else if(Character.getNumericValue(numar.charAt(2)) == 0 && Character.getNumericValue(numar.charAt(1)) > 1){\r\n System.out.print(v2[Character.getNumericValue(numar.charAt(1)) - 2] + \" \");\r\n }\r\n if(Character.getNumericValue(numar.charAt(1)) == 0 && Character.getNumericValue(numar.charAt(2)) > 0){\r\n System.out.print(v[Character.getNumericValue(numar.charAt(2))] + \" \");\r\n }\r\n }\r\n }", "public int getLeading() {\n return 0;\n }", "public static void Promedio(){\n int ISumaNotas=0;\n int IFila=0,ICol=0;\n int INota;\n float FltPromedio;\n for(IFila=0;IFila<10;IFila++)\n {\n ISumaNotas+=Integer.parseInt(StrNotas[IFila][1]);\n }\n FltPromedio=ISumaNotas/10;\n System.out.println(\"El promedio de la clase es:\"+FltPromedio);\n }", "public void print2DUtil(Nodo raiz, int espacio) \r\n\t { \r\n\t // caso base \r\n\t if (raiz== null) \r\n\t return; \r\n\t \r\n\t // Distancia entre niveles\r\n\t espacio+= 8; \r\n\t \r\n\t // nodo derecho primero\r\n\t print2DUtil(raiz.getRight(), espacio); \r\n\t \r\n\t // imprime el nodo actual \r\n\t for (int i = 8; i < espacio; i++) \r\n\t System.out.print(\" \"); \r\n\t System.out.print(raiz.getClave() + \"\\n\"); \r\n\t \r\n\t // luego izquierdo\r\n\t print2DUtil(raiz.getLeft(), espacio); \r\n\t }", "int getNombreLignesPlateau();", "private String cacViTri(int i) {\n\t\tString gio = \"\";\n\t\tfor (int j = 0; j < arrInt.length; j++) {\n\t\t\tif (this.arrInt[j] == i) {\n\t\t\t\tgio += j + \" \";\n\t\t\t}\n\t\t}\n\t\treturn gio;\n\t}", "public int getNumNudo() {\n return numNudo;\n }", "private String createNumberLine(){\n StringBuilder numberLine = new StringBuilder();\n for(int i = 0; i < this.columns; i++){\n numberLine.append(i + 1).append(\" \");\n }\n return numberLine.toString();\n }", "int getSegment();", "void recorridoCero(){\n \n for(int i=0;i<8;i++)\n\t\t\tfor(int j=0;j<8;j++)\n\t\t\t\t{\n\t\t\t\t\t//marcar con cero todas las posiciones\n\t\t\t\t\trecorrido[i][j]=0;\n\t\t\t\t}\n }", "public int getDesplaceOffsetX(){\n\t\tif(style==Style.ROUTES){\r\n\t\t\treturn -10;\r\n\t\t}else{\r\n\t\t\treturn -6;\r\n\t\t}\r\n\t}", "public int getNumeroAnterior()\r\n/* 200: */ {\r\n/* 201:210 */ return this.numeroAnterior;\r\n/* 202: */ }", "private int terminalLocation(){\n int answer = 0;\n for(int ii = 0; ii < (currentIm.getRows() * currentIm.getCols()); ii = ii + 1){\n if(126 == getHidden(ii)){\n return answer = ii;\n }\n }\n \n return answer;\n }", "@Override\n\tpublic String getInformeVendedor() {\n\t\treturn \"Informe trimestre 3\";\n\t}", "private void createCentipede() {\n\t\tcentipede = new ArrayList<>();\n\t\tfor(int i = 0; i < centipedeSize; i ++) {\n\t\t\tcentipede.add(new Segment(304 + 16 * i, 0));\n\t\t}\n\t}", "@Override\n\tpublic String getColumnName(int col)\n\t{\n\t\treturn nomColonnes[col];\n\t}", "public int pegaIndicePosicao(PosicaoMapa posicao) \n\t{\n\t\treturn posicoes.indexOf(posicao);\n\t}", "private float measureLineNumber(){\n mPaint.setTypeface(mTypefaceLineNumber);\n int count = 0;\n int lineCount = getLineCount();\n while(lineCount > 0){\n count++;\n lineCount /= 10;\n }\n float single = mPaint.measureText(\"0\");\n return single * count * 1.01f;\n }", "public int getNumEspacios() {\r\n\t\treturn numEspacios;\r\n\t}", "public String determinarNombrePosicion(int num){\r\n String atributo = \"\";\r\n switch(num){\r\n case 0:\r\n atributo = \"cantidad\";\r\n break;\r\n case 1:\r\n atributo = \"fuerza\";\r\n break;\r\n case 2:\r\n atributo = \"infanteria\";\r\n break;\r\n case 3:\r\n atributo = \"lado oscuro\";\r\n break;\r\n case 4:\r\n atributo = \"riqueza\";\r\n break;\r\n case 5:\r\n atributo = \"sigilo\";\r\n break;\r\n case 6:\r\n atributo = \"tecnologia\";\r\n break;\r\n case 7:\r\n atributo = \"velocidad\";\r\n break;\r\n }\r\n return atributo;\r\n }", "public static void pocetniMeni() {\r\n\t\tSystem.out\r\n\t\t\t\t.println(\"***********************************************\\n\"\r\n\t\t\t\t\t\t+ \"Unesite 1 ako zelite vidjeti kalendar(za dati mjesec i godinu)\\n\"\r\n\t\t\t\t\t\t+ \"Unesite 2 za pregled podsjetnika za dati mjesec i godinu\\n\"\r\n\t\t\t\t\t\t+ \"Unesite 3 da pregledate podsjetnik za datu godinu\\n\"\r\n\t\t\t\t\t\t+ \"Unesite 4 ako zelite da pogledate sve podsjetnike!\\n\"\r\n\t\t\t\t\t\t+ \"Unesite 5 ako zelite da upisete neki podsjetnik!\\n\"\r\n\t\t\t\t\t\t+ \":::::::::::::::::::::::::::::::::::::::::::::::\");\r\n\t}", "protected int obtenerIndice(int fil, int col) {\n\t\tint indiceVector;\n\t\tif (fil > col) {\n\t\t\tint auxiliar = col;\n\t\t\tcol = fil;\n\t\t\tfil = auxiliar;\n\t\t}\n\t\tindiceVector = fil * gradoMat + col - (fil * fil + 3 * fil + 2) / 2;\n\t\tif(fil == col) {\n\t\t\tindiceVector = 0;\n\t\t}\n\t\treturn indiceVector; \n\t}", "public int getNunFigli() {\n\t\tint numFigli = 0;\n\t\tfor (Nodo_m_ario figlio : figli) {\n\t\t\tif (figlio != null) {\n\t\t\t\tnumFigli += 1;\n\t\t\t}\n\t\t}\n\t\treturn numFigli;\n\t}", "public int getNorth() {\n return north;\n }", "List<Integer> lineOffsets();", "public void addCenter(int i){\n\tsynchroCenters.add(new Integer(i));\n }", "@Override\n\tpublic double calculaTributos() {\n\t\treturn numeroDePacientes * 10;\n\t}", "public int getNumero() { return this.numero; }", "public static String POS(int n, int m) {\n return CSI + n +\";\" + m +\"H\";\n }", "public String toString( )\n\t{\n\t\treturn marca + \" \" + modelo + \" - \" + placa + \" \" + horaIngreso + \":00\";\n\t}", "boolean verifColonne(int j,int num) { \r\n for (int i = 0; i<N; i++) \r\n if (tab[i][j] == num) \r\n return false; \r\n return true; \r\n }", "public int lancia() {\r\n\t\tlancio = dado.tiraDado();\r\n\t\tthis.numLanci++;\r\n\t\treturn lancio;\r\n\t}", "public Nodo_m_ario getPadre() {\n\t\treturn padre;\n\t}", "public void showPosicoes() {\n this.print(\"\\n\");\n for (int i = 0; i < listaJogadores.size(); i++) {\n // System.out.print(posicoes[i] + \"\\t\");\n }\n }", "public int nun_entidade_bd() {\r\n return 12;\r\n }", "@Override public int conocerMonto(){\n\treturn 120;\n }", "private int separarCoordenadasFil(String[] pCasilla){\n\t\treturn Integer.parseInt(pCasilla[0]);\n\t}", "public int getCiclo() { return this.ciclo; }", "public static int offset_entries_id(int index1) {\n int offset = 0;\n if (index1 < 0 || index1 >= 11) throw new ArrayIndexOutOfBoundsException();\n offset += 80 + index1 * 16;\n return (offset / 8);\n }", "public static int offset_counter() {\n return (8 / 8);\n }" ]
[ "0.6984189", "0.6604831", "0.6290538", "0.5914201", "0.5662446", "0.55756783", "0.55476856", "0.544035", "0.54236746", "0.54021674", "0.53840786", "0.5378635", "0.5370725", "0.53403425", "0.5339859", "0.53320163", "0.5305849", "0.52953357", "0.52727103", "0.52690357", "0.52431065", "0.52422136", "0.52257323", "0.5209805", "0.5198753", "0.519428", "0.5184835", "0.5148742", "0.5148154", "0.51368153", "0.5123974", "0.5113293", "0.5113047", "0.5104074", "0.5098036", "0.50949425", "0.5063075", "0.5058556", "0.5048571", "0.504625", "0.5044511", "0.50410897", "0.50410014", "0.5030519", "0.5016379", "0.50123346", "0.5006841", "0.50049603", "0.49961987", "0.49951866", "0.4979543", "0.49681062", "0.4963159", "0.49608105", "0.49537146", "0.49483165", "0.49452418", "0.49362192", "0.49341032", "0.4933084", "0.49287578", "0.4915403", "0.4913829", "0.4911036", "0.49093956", "0.4909212", "0.49065202", "0.49037775", "0.49023694", "0.49001968", "0.48993993", "0.48973417", "0.48946053", "0.48916304", "0.48851284", "0.48841983", "0.4882642", "0.487921", "0.48789293", "0.4872894", "0.486881", "0.48683888", "0.4868043", "0.48676407", "0.48627707", "0.48548895", "0.4853973", "0.4853146", "0.48502868", "0.4844698", "0.48367414", "0.4833552", "0.48332712", "0.4829495", "0.4827525", "0.48271352", "0.48203975", "0.480454", "0.48037913", "0.4803353", "0.48013163" ]
0.0
-1
/ Verifica che non ci siano duplicati nella stessa riga.
private boolean noConflictInRow(int rowIndex, int number) { for (int i = 0; i < 9; i++) { if (grid[rowIndex][i] == number) { return false; } } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void duplicate() {\n System.out.println(\"Je bent al in bezit van deze vragenlijst!\");\n }", "public boolean isUnique();", "protected boolean isDuplicate(ELesxUseCase useCase) {\n return false;\n }", "@objid (\"ef9777b4-ed2a-4341-bb22-67675cddb70a\")\n boolean isIsUnique();", "static void findDuplicate()\n\t{\n\n\t\tList<String> oList = null;\n\t\tSet<String> oSet = null;\n\t\ttry {\n\t\t\toList = new ArrayList<String>();\n\t\t\toList.add(\"Apple\");\n\t\t\toList.add(\"Boy\");\n\t\t\toList.add(\"Frog\");\n\t\t\toList.add(\"Dog\");\n\t\t\toList.add(\"Eagle\");\n\t\t\toList.add(\"Frog\");\n\t\t\toList.add(\"Apple\");\n\t\t\toList.add(\"Boy\");\n\t\t\toList.add(\"Apple\");\n\t\t\toList.add(\"Boy\");\n\t\t\tSystem.out.println(oList);\n\t\t\t\n\t\t\toSet = new TreeSet<>();\n\t\t\t\n\t\t\tString s = \"\";\n\t\t\tfor(int i=0;i<oList.size();i++)\n\t\t\t{\n\t\t\t\tif((oSet.add(oList.get(i))==false) && (!s.contains(oList.get(i))))\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"Duplicate: \"+oList.get(i));\n\t\t\t\t\ts+=oList.get(i);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}catch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\toList = null;\n\t\t\toSet = null;\n\t\t}\n\t}", "@SuppressWarnings({ \"unchecked\", \"static-access\" })\r\n\tpublic boolean checkArticleIsDuplicated(){\r\n\t\r\n\t\tnum_DupInDBLP = 0;\r\n\t\t\t\t\r\n\t\tCheckExist check = new CheckExist();\r\n\t\t\r\n\t\tnumberArray = (ArrayList<Integer>) check.CheckTitleSignaturePublications(dbsaPublicationCheckList).clone();\r\n\t\tduplicateNumber = numberArray.size();\r\n\t\t\r\n\t\tduplicationArtilce = false;\r\n\t\tif(numberArray.size() > 0){\r\n\t\t\tfor(int i = 0; i < numberArray.size(); i++)\r\n\t\t\t{\t\r\n\t\t\t\tmodel.setValueAt(true, numberArray.get(i), 8);\r\n\t\t\t\tresultsJTable.addRowToPaint(numberArray.get(i), Color.red);\r\n\t\t\t\tduplicationArtilce = true;\r\n\t\t\t\t\r\n\t\t\t\tnum_DupInDBLP ++;\r\n\t\t\t}\r\n\t\t}\r\n\t\tgetFetcherInfo();\r\n\t\t//System.out.println(num_DupInDBLP);\r\n\t\tcheckDuplicateJButton.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));\r\n\t\tDBSAApplication.statisticPanel.updateStatistic(num_Total);\r\n\t\treturn duplicationArtilce;\r\n\t}", "boolean isIsUnique();", "boolean isUnique();", "public void desactiveRegraJogadaDupla() {\n this.RegraJogadaDupla = true;\n }", "public boolean verificaDuplicidade(String s) {\n\t\tfor (Compromisso c : this.compromisso) {\n\t\t\tif (c.getDataInicio().equals(s)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public VNode duplicate() throws VlException\n\t{\n\t\tthrow new nl.uva.vlet.exception.NotImplementedException(\"Duplicate method not implemented\"); \n\t}", "private void HaveDuplicate() {\n haveDuplicate = false;\n duplicateCounter = 0;\n try {\n query=\"SELECT * FROM category WHERE category_id = '\"+ txtCategoryNo.getText() +\"' OR category_name = '\"+\n txtCategoryName.getText() + \"'\";\n rset = connection.createStatement().executeQuery(query);\n while (rset.next()) {\n haveDuplicate = true;\n duplicateCounter++;\n }\n\n } catch (SQLException throwables) {\n throwables.printStackTrace();\n }\n\n }", "public boolean getDuplicateSuppression() {\n return duplicate_suppression;\n }", "public boolean supportsUnique() {\n \t\treturn true;\n \t}", "private boolean checkDuplicate(int id) {\r\n boolean x = false;\r\n for (Registration registration : studentRegList) {\r\n if (id == registration.getCourseId()) {\r\n x = true;\r\n break;\r\n }\r\n x = false;\r\n }\r\n return x;\r\n }", "public Object _duplicate() {\n throw new NO_IMPLEMENT(reason);\n }", "public void activeRegraJogadaDupla() {\n this.RegraJogadaDupla = true;\n }", "public static void incrDuplicates() { ++duplicates; }", "@Override\n public int hashCode() {\n return 1;\n }", "@Test\n\tpublic void addSameValueTwice() {\n\t\tXSet xset = new XSet(3);\n\t\txset.add(1);\n\t\txset.add(1);\n\t\tassertTrue(xset.getSize() == 1);\n\t}", "@Override\r\n\tpublic boolean isExisting() {\n\t\treturn false;\r\n\t}", "public void duplicateClubEvent() {\n \n boolean modOK = modIfChanged();\n \n if (modOK) {\n ClubEvent clubEvent = position.getClubEvent();\n ClubEvent newClubEvent = clubEvent.duplicate();\n newClubEvent.setWhat(clubEvent.getWhat() + \" copy\");\n newClubEvent.setId(\"\");\n position = new ClubEventPositioned();\n position.setIndex (clubEventList.size());\n position.setClubEvent(newClubEvent);\n position.setNewClubEvent(true);\n localPath = \"\";\n display();\n }\n }", "public boolean isUniqueA() {\n return true;\n }", "@Test\n public void addExactDupItemTest() {\n List<Item> items = itemSrv.getAllItems();\n Assert.assertNotNull(\"List of items is null\", items);\n\n Assert.assertEquals(\"Wrong initial size of the list, should be 0\", 0, items.size());\n\n final Item item = new Item(\"item1\", \"item1 description\");\n Assert.assertEquals(\"Item adding failure\", ErrCode.ADD_SUCCESS, itemSrv.addItem(item));\n\n items = itemSrv.getAllItems();\n Assert.assertEquals(\"Total item count should be 1\", 1, items.size());\n\n // Add same exact/original/duplicate item\n Assert.assertEquals(\"Duplicate item protection fails\", ErrCode.ADD_DUPLICATE_ITEM, itemSrv.addItem(item));\n Assert.assertEquals(\"Total item count should still be 1 after adding duplicate item\", 1, itemSrv.getAllItems().size());\n Assert.assertEquals(\"Retrieved item is not the same as original\", item, items.get(0));\n }", "public void testDuplicate() {\n System.out.println(\"duplicate\");\n BufferedCharSequence instance = null;\n BufferedCharSequence expResult = null;\n BufferedCharSequence result = instance.duplicate();\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 boolean isDuplicated(TreeNode selTreeNode) {\r\n TreePath duplicatedPath = findByName(sponsorHierarchyTree, selTreeNode.toString());\r\n int level = selectedNode.getLevel();\r\n if(duplicatedPath != null && selectedNode.getLevel()==((DefaultMutableTreeNode)duplicatedPath.getLastPathComponent()).getLevel() && \r\n selTreeNode.toString().equals(duplicatedPath.getLastPathComponent().toString()) && sponsorHierarchyTree.getRowForPath(duplicatedPath) != sponsorHierarchyTree.getRowForPath(selTreePath) ) {\r\n CoeusOptionPane.showInfoDialog(\"A group with name '\"+selTreeNode.toString()+\"' already exists for level \"+(level+1));\r\n return true;\r\n }\r\n return false;\r\n }", "@Test\n public void testDuplicate() throws Exception {\n\n UploadRequest uploadRequest = createRequest();\n\n // create upload - We still care about study ID and requestedOn for reporting, as well as dupe attributes.\n DynamoUpload2 upload = (DynamoUpload2) dao.createUpload(uploadRequest, TEST_STUDY, TEST_HEALTH_CODE,\n ORIGINAL_UPLOAD_ID);\n uploadIds.add(upload.getUploadId());\n assertEquals(ORIGINAL_UPLOAD_ID, upload.getDuplicateUploadId());\n assertEquals(UploadStatus.DUPLICATE, upload.getStatus());\n assertEquals(TEST_STUDY_IDENTIFIER, upload.getStudyId());\n assertEquals(MOCK_NOW.getMillis(), upload.getRequestedOn());\n\n // We don't call Upload Complete in this scenario.\n }", "@Override\r\n\tpublic int dupMovieChk(Search search) throws Exception {\n\t\treturn 0;\r\n\t}", "void scanunique() {\n\t\tint oldline, newline;\n\t\tnode psymbol;\n\n\t\tfor (newline = 1; newline <= newinfo.maxLine; newline++) {\n\t\t\tpsymbol = newinfo.symbol[newline];\n\t\t\tif (psymbol.symbolIsUnique()) { // 1 use in each file\n\t\t\t\toldline = psymbol.linenum;\n\t\t\t\tnewinfo.other[newline] = oldline; // record 1-1 map\n\t\t\t\toldinfo.other[oldline] = newline;\n\t\t\t}\n\t\t}\n\t\tnewinfo.other[0] = 0;\n\t\toldinfo.other[0] = 0;\n\t\tnewinfo.other[newinfo.maxLine + 1] = oldinfo.maxLine + 1;\n\t\toldinfo.other[oldinfo.maxLine + 1] = newinfo.maxLine + 1;\n\t}", "public boolean isDupe(T element);", "public void validateAdd(Stock s){\n Set<String> stock_symbols_set = new HashSet<>();\n for(Stock stock: stockList){\n stock_symbols_set.add(stock.getStockSymbol());\n }\n if(stock_symbols_set.contains(s.getStockSymbol())){\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setIcon(R.drawable.baseline_warning_black_36);\n builder.setMessage(\"Stock Symbol \" + s.getStockSymbol() + \" is already displayed. \");\n builder.setTitle(\"Duplicate Stock\");\n AlertDialog dialog = builder.create();\n dialog.show();\n }\n else{\n stockList.add(s);\n //keep the list in alphabetical order\n Collections.sort(stockList, new Comparator<Stock>() {\n @Override\n public int compare(Stock t1, Stock t2) {\n return t1.getStockSymbol().compareTo(t2.getStockSymbol());\n }\n });\n\n writeJSONData();\n myAdapter.notifyDataSetChanged();\n }\n }", "@Override\r\n\tpublic int checkIdDup(String id) {\n\t\treturn mDAO.checkIdDup(sqlSession, id);\r\n\t}", "static boolean isduplicate(int pos, int n) {\n for (int k=pos-1;k>=0;k--) { \n if(n==arr[k]){ //Compare already filled array elements\n return false;\n }\n }\n return true;\n }", "@Test\r\n public void testAddDuplicateRecipe() {\r\n coffeeMaker.addRecipe(recipe1);\r\n assertFalse(coffeeMaker.addRecipe(recipe1));\r\n }", "public static boolean isDuplicate(List list, int id)\r\n {\r\n for (int i = 0; i < list.size(); i++)\r\n {\r\n int dupID = ((Integer) list.get(i)).intValue();\r\n\r\n if (dupID == id)\r\n {\r\n //slist.remove(list.get(i));\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n }", "@Test\r\n\tpublic void test1() {\r\n\t\tint[] nums = {1,2,3,1,4};\r\n\t\tAssert.assertEquals(true, containsDuplicate(nums));\r\n\t}", "public void containsNoDuplicates() {\n List<Entry<T>> duplicates = Lists.newArrayList();\n for (Multiset.Entry<T> entry : LinkedHashMultiset.create(getSubject()).entrySet()) {\n if (entry.getCount() > 1) {\n duplicates.add(entry);\n }\n }\n if (!duplicates.isEmpty()) {\n failWithRawMessage(\"%s has the following duplicates: <%s>\", getDisplaySubject(), duplicates);\n }\n }", "public boolean isDuplicate(IDecodedDeviceRequest<?> request) throws SiteWhereException;", "public void checkDuplicate (ArrayList studentAnswer, int answer) {\r\n if (!studentAnswer.contains(answer)){\r\n studentAnswer.add(answer);\r\n }\r\n }", "@Override\n\tpublic int hashCode() {\n\t\tfinal int prime = 31;\n\t\tint result = 1;\n\t\tresult = prime * result + nomor;\n\t\treturn result;\n\t}", "public void addCount() {\n \t\tdupCount++;\n \t}", "void checkStationUIExists() {\n\n int recordCount = 9999;\n int duplicateCount = 0;\n\n String where = MrnStation.DATE_START + \"=\" +\n Tables.getDateFormat(station.getDateStart()) +\n \" and \" + MrnStation.LATITUDE +\n \" between \" + (station.getLatitude()-areaRangeVal) +\n \" and \" + (station.getLatitude()+areaRangeVal) +\n \" and \" + MrnStation.LONGITUDE +\n \" between \" + (station.getLongitude()-areaRangeVal) +\n \" and \" + (station.getLongitude()+areaRangeVal) ;\n if (dbg) System.out.println(\"<br>checkStationUIExists: where = \" + where);\n //outputDebug(\"checkStationUIExists: where = \" + where);\n\n MrnStation[] stns = new MrnStation().get(where);\n if (dbg) System.out.println(\"<br>checkStationUIExists: stns.length = \" + stns.length);\n //outputDebug(\"checkStationUIExists: number of stations found = \" + stns.length);\n\n String debugMessage = \"\\ncheckStationUIExists: duplicate UI check \\n \" +\n station.getDateStart(\"\").substring(0,10) +\n \", \" + ec.frm(station.getLatitude(),10,5) +\n \", \" + ec.frm(station.getLongitude(),10,5) +\n \", \" + station.getStnnam(\"\") +\n \" (\" + station.getStationId(\"\") + \")\";\n\n if (stns.length == 0) {\n outputDebug(debugMessage + \": duplicate UI not found\");\n } else {\n\n outputDebug(debugMessage);\n\n // check for duplicate station names (stnnam)\n while (recordCount > 0) {\n\n // count station names the same\n recordCount = 0;\n for (int i = 0; i < stns.length; i++) {\n if (stns[i].getStnnam(\"\").equals(station.getStnnam(\"\"))) {\n recordCount++;\n } // if (stns[i].getStnnam(\"\").equals(station.getStnnam(\"\")))\n } // for (int i = 0; i < stns.length; i++)\n\n if (dbg) System.out.println(\"<br>checkStationUIExists: recordCount = \" +\n recordCount + \", stnnam = \" + station.getStnnam(\"\"));\n\n debugMessage = \" \" + station.getStnnam(\"\") +\n \", recordCount (same stnnam) = \" + recordCount;\n\n if (recordCount > 0) {\n duplicateCount++;\n\n station.setStnnam(station.getStnnam(\"\") + duplicateCount);\n\n debugMessage += \" - new stnnam = \" +\n station.getStnnam(\"\");\n //outputDebug(debugMessage);\n if (dbg) System.out.println(\"checkStationUIExists: new stnnam = \" +\n station.getStnnam(\"\"));\n }// if (recordCount > 0)\n\n outputDebug(debugMessage);\n\n } // while (recordCount > 0)\n\n } // if (stns.length == 0)\n\n }", "@Test\r\n public void testCreateTourWithoutDuplicates_MultipleDups() {\r\n Tour tour = new Tour(new int[][]{{1, 1}, {2, 2}, {1, 1}, {3, 3}, {1, 1}, {1, 1}});\r\n Tour result = tour.createTourWithoutDuplicates();\r\n Tour expected = new Tour(new int[][]{{1, 1}, {2, 2}, {3, 3}});\r\n assertTrue(result.toString(), expected.isEqual(result));\r\n }", "public boolean checkDuplicates() {\n List<Booking> dupbookings = new ArrayList<>();\n try {\n dupbookings = bookingHelper.checkDuplicates(b_facility.getId(), b_evdate, b_startTime, b_endTime);\n } catch (Exception e) {\n //facesMessage(\"No other bookings found for the day and time\");\n }\n return dupbookings.size() > 0;\n }", "private boolean isUniqueEntity(Entity newEnt, int layerId) {\n for (Entity ent: getList(layerId)){\n if (ent.get_uid().equals(newEnt.get_uid())){\n return false;\n }\n }\n return true;\n }", "public boolean findAndRemoveDuplicates() {\n return mFindAndRemoveDuplicates;\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}", "private static boolean deduplica(Session ses, IstanzeAbbonamenti ia, List<EvasioniArticoli> eaList) \n\t\t\tthrows HibernateException {\n\t\tList<EvasioniArticoli> filteredList = new ArrayList<EvasioniArticoli>();\n\t\tfor (EvasioniArticoli ea:eaList) {\n\t\t\tif (ea.getDataInvio() == null) filteredList.add(ea);\n\t\t}\n\t\tif (filteredList.size() > 0) {\n\t\t\t//Elimina i duplicati non spediti\n\t\t\tEvasioniArticoli eaExtra = null;\n\t\t\tfor (EvasioniArticoli ea:filteredList) {\n\t\t\t\tif (eaExtra == null) eaExtra=ea;\n\t\t\t}\n\t\t\tLOG.info(ia.getAbbonamento().getCodiceAbbonamento()+\" deduplica di \"+eaExtra.getArticolo().getCodiceMeccanografico()+\" del \"+eaExtra.getDataCreazione());\n\t\t\tGenericDao.deleteGeneric(ses, eaExtra.getId(), eaExtra);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public String checkDuplicates(String path)\n\t{\n\t\tFile file = new File(path);\n\n\t\t//If this file has already been created\n\t\tif(duplicates.containsKey(file))\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tint append = duplicates.get(file).size();\n\t\n\t\t\t\tLinkedList<File> newVal = duplicates.get(file);\n\n\t\t\t\t//create new filename\n\t\t\t\tFile newFile = File.createTempFile(file.getName().substring(0, file.getName().length()-4), \".csv\", new File(aida.getConfigValue(\"aida_dir\")));\n\t\t\t\tnewFile.deleteOnExit();\n\t\n\t\t\t\tnewVal.add(newFile);\n\t\n\t\t\t\t//store record of this file in the duplicates hashmap\n\t\t\t\tduplicates.put(file, newVal);\n\t\t\t\t\n\t\t\t\tfile = newFile;\n\t\t\t}\n\t\t\tcatch(IOException e)\n\t\t\t{\n\t\t\t\taida.logAdd(\"!Duplicate file could not be created\");\n\t\t\t\taida.logAdd(\"!\"+e.getMessage());\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tduplicates.put(file, new LinkedList<File>());\n\t\t}\n\n\t\t//return the (possibly renamed) filename\n\t\treturn file.getAbsolutePath();\n\t}", "public void testFindDuplicates() {\r\n System.out.println(\"findDuplicates\");\r\n \r\n List<String> elements = new ArrayList<>();\r\n elements.add(\"foo\");\r\n elements.add(\"bar\");\r\n elements.add(\"abc\");\r\n elements.add(\"foo\");\r\n elements.add(\"cde\");\r\n elements.add(\"cde\");\r\n elements.add(\"efg\");\r\n elements.add(\"cde\");\r\n \r\n Set<String> expResult = new LinkedHashSet<>();\r\n expResult.add(\"foo\");\r\n \r\n LexicalChecker instance = new LexicalChecker();\r\n Set<String> result = instance.findDuplicates(elements);\r\n \r\n assertNotSame(expResult, result);\r\n \r\n expResult.add(\"cde\");\r\n assertEquals(expResult, result);\r\n }", "protected void repeatedFoundWhenInsert(CntAVLTreeNode node) {\n System.out.println(\"添加失败:不允许添加相同的节点!\");\n }", "public boolean checkDuplicate(ResultSet rsData, ResultSet rsWareHouse) {\n\t\ttry {\n\n\t\t\tint count = 0;\n\t\t\tfor (int i = 1; i <= number_colum; i++) {\n\t\t\t\ttry {\n//\t\t\t\t\tSystem.out.println(rsData.getString(i));\n//\t\t\t\t\tSystem.out.println(rsWareHouse.getObject(i + 1));\n\t\t\t\t\tif (!rsData.getString(i).equals(rsWareHouse.getObject(i + 1).toString())) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t} catch (NullPointerException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (count > 2) {\n\t\t\t\treturn false;\n\t\t\t} else {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn false;\n\n\t}", "boolean duplicatedUsername(String username);", "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}", "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}", "private Node removeDuplicate() {\n ArrayList<Integer> values = new ArrayList<Integer>();\n int len = this.getlength();\n Node result = this;\n\n if (len == 1) {\n System.out.println(\"only one element can't duplicate\");\n return result;\n } else {\n Node current = result;\n\n for (int i = 0; i < len; i++) {\n if (values.contains(current.value)) {\n result = result.remove(i);\n len = result.getlength();\n i--; // reset the loop back\n current = current.nextNode;\n } else {\n values.add(current.value);\n current = current.nextNode;\n }\n }\n return result;\n }\n }", "@Override\r\n public int hashCode() {\r\n return nome.hashCode();\r\n }", "@Override\n\tpublic void deleteDuplicate(byte[] hash, long start, int len)\n\t\t\tthrows IOException {\n\n\t}", "static boolean isDuplicated(String mac) {\n for (DeviceDetail detail : deviceDetails) {\n if (detail.macAddress.equals(mac)) {\n return true;\n }\n }\n return false;\n }", "protected void paramDuplicate(){\n List<StatementParse> parameters = this.node.getChildren().get(0).getChildren();\n for (StatementParse x: parameters){\n int count = 0;\n for (StatementParse y: parameters){\n if (x.getName().equals(y.getName())){\n count++;\n }\n }\n if (count > 1) throw new DuplicateParam();\n }\n }", "@Override\n\tpublic void test00400Add_DuplicateRecord() throws Exception\n\t{\n\t\t// This method will not fail with Generate card numbers set to Y\n\t}", "@Override\n public boolean hasDuplicates() {\n ArrayList<String> itemList = new ArrayList(Arrays.asList(\"\"));\n Node currNode = this.head;\n while(true){\n if(itemList.contains(currNode.getItem())){ // need to edit\n return true;\n }else{\n itemList.add(currNode.getItem());\n }\n if(currNode.getNextNode() == null){\n break;\n }\n currNode = currNode.getNextNode();\n }\n return false;\n }", "public boolean isExisting() throws Exception\r\n\t\t{\r\n\t\tRouteGroup myR = (RouteGroup) myRouteGroup.get();\r\n\t\tthis.UUID = myR.getUUID();\r\n\t\t\r\n\t\tVariables.getLogger().debug(\"Item \"+this.name+\" already exist in the CUCM\");\r\n\t\treturn true;\r\n\t\t}", "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}", "@SuppressWarnings(\"unchecked\")\n\t@Override\n\tpublic boolean equals(Object H) {\n\t\tboolean retVal = false;\n\t\tif (this.element.equals(((HashObject<E>) H).getKey())) {\n\t\t\tthis.duplicateCount++;\n\t\t\tretVal = true;\n\t\t}\n\t\treturn retVal;\n\t}", "public boolean checkForDuplicates(StockId stock_key) {\n\t\treturn stockRepo.findById(stock_key).isPresent();\n\t}", "protected void removeDuplicates() {\n log.trace(\"Removing duplicated\");\n long startTime = System.currentTimeMillis();\n int initial = size();\n E last = null;\n int index = 0;\n while (index < size()) {\n E current = get(index);\n if (last != null && last.equals(current)) {\n if (log.isTraceEnabled()) {\n log.trace(\"Removing duplicate '\" + current + \"'\");\n }\n remove(index);\n } else {\n index++;\n }\n last = current;\n }\n log.debug(String.format(\"Removed %d duplicates from a total of %d values in %dms\",\n initial - size(), initial, System.currentTimeMillis() - startTime));\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof ComprasSri)) {\n return false;\n }\n ComprasSri other = (ComprasSri) object;\n if ((this.idCompSri == null && other.idCompSri != null) || (this.idCompSri != null && !this.idCompSri.equals(other.idCompSri))) {\n return false;\n }\n return true;\n }", "@Test\n public void testEquals() {\n \t\n \t//create data set\n \tString strJava = \"java\";\n \tString strScala = \"scala\";\n \tString strPhp = \"php\";\n \t\n \tfinal LastWriteWinSet<String> lastWriteWinSet1 = new LastWriteWinSet<>();\n\n \tlastWriteWinSet1.add(time1, strJava);\n \tlastWriteWinSet1.add(time1, strScala);\n \tlastWriteWinSet1.add(time1, strPhp);\n\n \tlastWriteWinSet1.delete(time2, strJava);\n \n final LastWriteWinSet<String> lastWriteWinSet2 = new LastWriteWinSet<>();\n\n lastWriteWinSet2.add(time1, strJava);\n lastWriteWinSet2.add(time1, strScala);\n lastWriteWinSet2.add(time1, strPhp);\n\n lastWriteWinSet2.delete(time2, strJava);\n \n final LastWriteWinSet<String> lastWriteWinSet3 = lastWriteWinSet2;\n \t\n assertTrue(lastWriteWinSet1.equals(lastWriteWinSet2));\n assertTrue(lastWriteWinSet3.equals(lastWriteWinSet2));\n assertTrue(lastWriteWinSet1.equals(lastWriteWinSet1));\n assertTrue(!lastWriteWinSet1.equals(null));\n }", "public void setDuplicateSuppression(boolean duplicate_suppression) {\n this.duplicate_suppression = duplicate_suppression;\n }", "public void duplicateCard(Card originalCard)\n\t{\n\t\tint index = cards.indexOf(originalCard);\n\t\t\n\t\t// If it's found, add it again at that index\n\t\tif(index >= 0) {\n\t\t\t\n\t\t\taddCard(index, new Card(originalCard));\n\t\t\t\n\t\t\t// Remove and re-add all cards\n\t\t\tsyncCardsWithViews();\n\t\t\t\n\t\t}\n\t\t\n\t}", "public boolean isUnique(String id) {\n Objects.requireNonNull(id, \"ID is required\");\n // this set returns false when a value is inserted\n return setOnDisk.add(id);\n }", "public void testCreateGame_GameDuplicated() throws Exception {\n try {\n long ballid = FailureTestHelper.getId(\"ball_color\");\n GameImpl game = new GameImpl(\n new Long(1),\n new BallColorImpl(new Long(ballid), \"test\", 1),\n 1, new Date(10), new Date(100), new HostingBlock[0], 1, 2, 3);\n Game g = dao.createGame(game);\n dao.createGame(g);\n fail(\"DuplicateEntryException expected.\");\n } catch (DuplicateEntryException e) {\n // should land here\n }\n }", "public void containsDuplicates(String debugString) {\n\t\tfor(int i = 0; i < this.solutionLength; i++) {\n\t\t\tif(this.getSolutionRepresentation().lastIndexOf(this.getSolutionRepresentation().get(i)) != i && this.getSolutionRepresentation().lastIndexOf(this.getSolutionRepresentation().get(i)) != -1) {\n\t\t\t\tSystem.out.println(\"[WARNING] - solution contains duplicates. DS: \" + debugString);\n\t\t\t}\n\t\t}\n\t}", "public ImageData duplicate() {\r\n\t\treturn new ImageData(imageProcessor.duplicate(), label);\r\n\t}", "static void FindDuplicate(String[] strArray){\n\t\t\n\t\tHashSet<String> set = new HashSet<String>();\n\t\t\n\t\tfor(String arrayElement : strArray){\n\t\t\tif(!set.add(arrayElement))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Duplicate Element is: \"+ arrayElement);\n\t\t\t}\n\t\t}\n\t}", "@Override\n\tpublic boolean pathUnique(String path) {\n\t\treturn false;\n\t}", "@Test\n public void testHasDups() {\n var arg = new String[] {\"a\",\"b\",\"c\"};\n Sequence instance = new Sequence();\n boolean expResult = false;\n boolean result = instance.hasDups(arg);\n assertEquals(expResult, result);\n }", "@Override\n public boolean exists()\n {\n return orig.exists();\n }", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof OHigieneOralSimplificada)) {\r\n return false;\r\n }\r\n OHigieneOralSimplificada other = (OHigieneOralSimplificada) object;\r\n if ((this.hosId == null && other.hosId != null) || (this.hosId != null && !this.hosId.equals(other.hosId))) {\r\n return false;\r\n }\r\n return true;\r\n }", "@Test\n\tpublic void testRepeatedInsert() {\n\t\tSetADT<String> items = new JavaSet<>();\n\t\titems.insert(\"A\");\n\t\titems.insert(\"B\");\n\t\titems.insert(\"C\");\n\t\titems.insert(\"C\");\n\t\t\n\t\t// No matter what, \"C\" can't be added twice.\n\t\titems.insert(\"C\");\n\t\tassertEquals(3, items.size());\n\t\t\n\t\t//double checking - same as for loop\n\t\titems.insert(\"C\");\n\t\tassertEquals(3, items.size());\n\t\t\n\t\tassertEquals(3, items.size());\n\t\tassertEquals(true, items.contains(\"A\"));\n\t\tassertEquals(true, items.contains(\"B\"));\n\t\tassertEquals(true, items.contains(\"C\"));\n\t\t\n\t}", "private static boolean duplicateSetName(String setName){\n boolean duplicate = false;\n for (Set set : SetManager.getInstance().getSets()) {\n if (set.getName() != null) {\n if (set.getName().equals(setName)) {\n duplicate = true;\n }\n }\n }\n return duplicate;\n }", "public void testValidateSubjectPrimaryAssociationsDuplicate() throws Exception {\n positionWrapperBean.addNewSubjectPrimaryAssociation();\n positionWrapperBean.addNewSubjectPrimaryAssociation();\n List subjectPrimaryAssociations = positionWrapperBean.getSubjectPrimaryAssociations();\n for (int i = 0; i < subjectPrimaryAssociations.size(); i++) {\n ArtefactAssociationWrapperBean artefactAssociationWrapperBean = (ArtefactAssociationWrapperBean) subjectPrimaryAssociations.get(i);\n artefactAssociationWrapperBean.setSourceId(new Long(12));\n artefactAssociationWrapperBean.setQualifierId(new Long(399));\n }\n // should produce a duplicate assocition error\n DataBinder binder = new DataBinder(positionWrapperBean, ZynapDefaultFormController.DEFAULT_COMMAND_NAME);\n Errors errors = binder.getBindingResult();\n positionValidator.validateSubjectPrimaryAssociations(positionWrapperBean, errors);\n assertEquals(1, errors.getErrorCount());\n FieldError error = errors.getFieldError(FIRST_PRIMARY_ASSOCIATION_SOURCE_FIELD);\n assertEquals(\"error.association.target.unique.required\", error.getCode());\n }", "@Override\n public int hashCode() {\n return 0;\n }", "public boolean isDuplicateName(String name) {\n return presenter.isDuplicateName(name);\n }", "@Override\n\tpublic int hashCode() {\n\t\treturn Objects.hash(sigla);\n\t}", "public void carroNoEncontrado(){\n System.out.println(\"Su carro no fue removido porque no fue encontrado en el registro\");\n }", "public void checkNewAdded(Instance add) {\n List<Instance> keySet = new LinkedList<Instance>();\n keySet.addAll(backRelation.keySet());\n Boolean added = false;\n for (Instance inst : keySet) {\n if (inst.getName().equals(add.getName()) || inst.getMd5().equals(add.getMd5())) {\n added = true;\n ArrayList<Instance> tmp = backRelation.get(inst);\n tmp.add(add);\n backRelation.remove(inst);\n backRelation.put(inst, tmp);\n if (relatedInstances.containsKey(inst)) {\n ArrayList<Instance> tmpRI = relatedInstances.get(add);\n tmpRI.add(inst);\n relatedInstances.remove(add);\n relatedInstances.put(add, tmpRI);\n\n } else {\n ArrayList<Instance> tmpRI = new ArrayList<Instance>();\n tmpRI.add(inst);\n relatedInstances.put(add, tmpRI);\n }\n\n }\n }\n if (added) {\n instances.add(add);\n }\n }", "@Override\r\n\t\tpublic int hashCode() {\n\t\t\treturn 0;\r\n\t\t}", "public boolean isRepeated() {\n\t\treturn repeated;\n\t}", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof SicRecurso)) {\n return false;\n }\n SicRecurso other = (SicRecurso) object;\n if ((this.idSicRecurso == null && other.idSicRecurso != null) || (this.idSicRecurso != null && !this.idSicRecurso.equals(other.idSicRecurso))) {\n return false;\n }\n return true;\n }", "public void onDuplicate() {\n }", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof Seguimiento)) {\r\n return false;\r\n }\r\n Seguimiento other = (Seguimiento) object;\r\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\r\n return false;\r\n }\r\n return true;\r\n }", "public static void main(String[] args) {\nLinkedHashSet<String> name_set=new LinkedHashSet<String>();\nname_set.add(\"John\");\nname_set.add(\"Fletcher\");\nname_set.add(\"Kirill\");\nname_set.add(\"Kowing\");\n//Adding same Record again to Linked Hash Set , will not add duplicate record\nname_set.add(\"John\");\nSystem.out.println(\" Record Set\"+name_set);\nSystem.out.println(\"Size of the Set: \"+name_set.size());\nSystem.out.println(\"Set Contains Kirill: \"+name_set.contains(\"Kirill\"));\nSystem.out.println(\"Set Contains Johncena : \"+name_set.contains(\"Johncena\"));\nname_set.remove(\"Kowing\");\nSystem.out.println(\"-----------------------------------------------\");\n\nSystem.out.println(\"Updated Record Set: \"+name_set);\nSystem.out.println(\"Size of the Set: \"+name_set.size());\nSystem.out.println(\"Set Contains Kirill: \"+name_set.contains(\"Kirill\"));\nSystem.out.println(\"Set Contains Kowing : \"+name_set.contains(\"Kowing\"));\n\n\t}", "void setDupOfSeqObj(List<SeqInfo> seqObjList) {\n\t\tboolean desc=false;\n\t\tCollections.sort(seqObjList, new SeqInfo.CompSeqEncode(desc));\n\t\t//System.out.println(\"Sorted reads: \"+seqObjList.size());\n\t\t//timeStamp=new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(Calendar.getInstance().getTime());\n\t\t//System.out.println(\"time: \"+timeStamp);\n\t \n\t\tSeqInfo seqObj;\n\t\tSeqInfo seqObj_r0 = null;\n\t\tSeqInfo currSeqObj;\n\t\tSeqInfo currSeqObj2; \n\t List<SeqInfo> querySeqObjList; \n\t\t\n\t int i=0; \n\t int r=0;\n\t //int m=1;\n\t\tfor(int s=0;s<seqObjList.size();s++){\n\t\t currSeqObj=seqObjList.get(s);\t\n\t\t if(!currSeqObj.isDup && currSeqObj.dupNum<0){\n\t\t\t /*\n\t\t\t if((s+1)/500000==m) {\n\t\t\t\ttimeStamp=new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(Calendar.getInstance().getTime());\n\t\t\t\tSystem.out.println((s+1)+\" time: \"+timeStamp);\n\t\t\t\tm++;\n\t\t\t }\t\n\t\t\t */\n\t\t\t querySeqObjList=SeqOperation.findSeqObjOfSameEncode(seqObjList,currSeqObj);\n\t\t\t if(querySeqObjList.size()==1) {\n\t\t\t\tcurrSeqObj.isDup=false;\n\t\t\t\tcurrSeqObj.dupNum=0; \n\t\t\t }else if(querySeqObjList.size()>1){\n\t\t\t currSeqObj2=currSeqObj;\n\t\t\t while(currSeqObj2!=null){\t\t \n\t\t\t currSeqObj2=null;\n\t\t\t\t r=0;\n\t\t\t\t i=0;\n\t\t\t\t while(i<querySeqObjList.size()) {\t\n\t\t\t\t seqObj=querySeqObjList.get(i);\t\t \n\t\t\t\t if(seqObj.seq.equalsIgnoreCase(currSeqObj.seq)){\t\t\t\t\n\t\t\t\t\t if(r==0) { \t\t\t\n\t\t\t\t\t seqObj_r0=seqObj;\n\t\t\t\t\t seqObj_r0.isDup=false;\n\t\t\t\t\t }if(r>0) {\t\t\t\t \n\t\t\t\t\t seqObj.isDup=true;\n\t\t\t\t\t seqObj.dupNum=r;\t\n\t\t\t\t\t }\n\t\t\t\t\t seqObj_r0.dupNum=r;\n\t\t\t\t\t querySeqObjList.remove(seqObj);\n\t\t\t\t\t r++;\n\t\t\t\t }else{\n\t\t\t\t\t currSeqObj2=seqObj;\t\n\t\t\t\t\t i++;\t\t\n\t\t\t\t } \t\t \n\t\t\t\t }// while query\n\t\t\t\t if(currSeqObj2!=null) currSeqObj=currSeqObj2;\n\t\t\t }\n\t\t\t }\n\t\t\t querySeqObjList=null;\t \n\t\t }\t \n\t\t}\n\t\t\n\t Collections.sort(seqObjList, new SeqInfo.CompSeqID(desc));\t\n }", "private boolean idSaoIguais(Service servico, Service servicoAComparar) {\n return servico.getId() == servicoAComparar.getId();\n }", "@Test\n public void newDeviceDuplicateTest() {\n DatabaseTest.setupDevice();\n Device newDevice = newDevice(DatabaseTest.DEVICE_ID);\n\n assertNull(newDevice);\n DatabaseTest.cleanDatabase();\n }", "public boolean ifDuplicated(String other, String[] temporary) {\n\t\tfor (String s : temporary) {\n\t\t\tif (s != null && s.equals(other)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "private List<CustStmtRecord> validateDuplicate (final List<CustStmtRecord> custStmtRecords) {\n\t\tlog.info(\"Entering {}.{}\", getClass().getName(), \"validateDuplicate()\");\n\t\tfinal List<CustStmtRecord> duplicateReference = custStmtRecords\n\t\t\t\t.parallelStream()\n\t\t\t\t\t.filter(e -> Collections.frequency(custStmtRecords, e) > 1)\n\t\t\t\t\t.collect(Collectors.toList());\n\t\t\t\t\t;\n\t\t\t\n\t\tlog.info(\"duplicateReference {}\", duplicateReference);\n\t\t\t\n\t\tlog.info(\"Exiting {}.{}\", getClass().getName(), \"validateDuplicate()\");\n\t\treturn duplicateReference;\n\t}", "@Test(expected=DuplicateKeyException.class)\n\t\tpublic void testSave3()\n\t\t{\n\n\t\t\tChObject cho = repoTest.get(\"68268301\");\n\n\t\t\trepoTest.save(cho);\t\t\t//add chObject to repo\n\t\t\trepoTest.save(cho);\t\t\t//add duplicate record (not allowed...should throw exception)\n\t\t}", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof Surenchere)) {\r\n return false;\r\n }\r\n Surenchere other = (Surenchere) object;\r\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\r\n return false;\r\n }\r\n return true;\r\n }" ]
[ "0.6953723", "0.67356616", "0.6706715", "0.67039746", "0.66582596", "0.64683133", "0.6442203", "0.64135593", "0.6411177", "0.6403151", "0.6374651", "0.632027", "0.6239048", "0.6222856", "0.6182953", "0.618277", "0.6141363", "0.61088246", "0.60379714", "0.60159975", "0.59927595", "0.5971528", "0.59657913", "0.59590477", "0.59350824", "0.5926039", "0.59061635", "0.5904543", "0.58640355", "0.5852982", "0.5845104", "0.5810458", "0.58083713", "0.58016926", "0.5800407", "0.5796149", "0.5792208", "0.57898724", "0.5766438", "0.57495683", "0.5739329", "0.5726852", "0.5724385", "0.5723979", "0.5716593", "0.57057375", "0.56873876", "0.5685333", "0.56779194", "0.56714517", "0.56711394", "0.56702965", "0.5669423", "0.566578", "0.5660998", "0.5657756", "0.5647966", "0.56455326", "0.5641302", "0.5637299", "0.5625959", "0.5625925", "0.5605407", "0.5601387", "0.5600713", "0.55978036", "0.55907905", "0.5587729", "0.55876553", "0.55759794", "0.5569968", "0.5562993", "0.5561229", "0.5542247", "0.5542072", "0.55405825", "0.5533376", "0.5530502", "0.5523079", "0.55218965", "0.55201024", "0.5512059", "0.5510698", "0.5506726", "0.549206", "0.5491813", "0.5490115", "0.54888517", "0.54886484", "0.5477357", "0.5476676", "0.54755276", "0.5470796", "0.5467388", "0.5460685", "0.5459713", "0.54541045", "0.5454046", "0.5453999", "0.5449668", "0.544564" ]
0.0
-1
/ Verifica che non ci siano duplicati nella stessa colonna.
private boolean noConflictInColumn(int columnIndex, int number) { for (int i = 0; i < 9; i++) { if (grid[i][columnIndex] == number) { return false; } } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void duplicate() {\n System.out.println(\"Je bent al in bezit van deze vragenlijst!\");\n }", "public boolean colonne(int c){\n\tint l=0;\n\tboolean trouve=false;\n\tObject tmp='@';\n\twhile(l<5 && !trouve){\n\t\tif(gc[l][c]==tmp)\n\t\t\ttrouve=true;\n\t\telse\n\t\t\tl++;\n\t}\n\treturn trouve;\n}", "public boolean verificaDuplicidade(String s) {\n\t\tfor (Compromisso c : this.compromisso) {\n\t\t\tif (c.getDataInicio().equals(s)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "static boolean isDuplicated(String mac) {\n for (DeviceDetail detail : deviceDetails) {\n if (detail.macAddress.equals(mac)) {\n return true;\n }\n }\n return false;\n }", "void checkStationUIExists() {\n\n int recordCount = 9999;\n int duplicateCount = 0;\n\n String where = MrnStation.DATE_START + \"=\" +\n Tables.getDateFormat(station.getDateStart()) +\n \" and \" + MrnStation.LATITUDE +\n \" between \" + (station.getLatitude()-areaRangeVal) +\n \" and \" + (station.getLatitude()+areaRangeVal) +\n \" and \" + MrnStation.LONGITUDE +\n \" between \" + (station.getLongitude()-areaRangeVal) +\n \" and \" + (station.getLongitude()+areaRangeVal) ;\n if (dbg) System.out.println(\"<br>checkStationUIExists: where = \" + where);\n //outputDebug(\"checkStationUIExists: where = \" + where);\n\n MrnStation[] stns = new MrnStation().get(where);\n if (dbg) System.out.println(\"<br>checkStationUIExists: stns.length = \" + stns.length);\n //outputDebug(\"checkStationUIExists: number of stations found = \" + stns.length);\n\n String debugMessage = \"\\ncheckStationUIExists: duplicate UI check \\n \" +\n station.getDateStart(\"\").substring(0,10) +\n \", \" + ec.frm(station.getLatitude(),10,5) +\n \", \" + ec.frm(station.getLongitude(),10,5) +\n \", \" + station.getStnnam(\"\") +\n \" (\" + station.getStationId(\"\") + \")\";\n\n if (stns.length == 0) {\n outputDebug(debugMessage + \": duplicate UI not found\");\n } else {\n\n outputDebug(debugMessage);\n\n // check for duplicate station names (stnnam)\n while (recordCount > 0) {\n\n // count station names the same\n recordCount = 0;\n for (int i = 0; i < stns.length; i++) {\n if (stns[i].getStnnam(\"\").equals(station.getStnnam(\"\"))) {\n recordCount++;\n } // if (stns[i].getStnnam(\"\").equals(station.getStnnam(\"\")))\n } // for (int i = 0; i < stns.length; i++)\n\n if (dbg) System.out.println(\"<br>checkStationUIExists: recordCount = \" +\n recordCount + \", stnnam = \" + station.getStnnam(\"\"));\n\n debugMessage = \" \" + station.getStnnam(\"\") +\n \", recordCount (same stnnam) = \" + recordCount;\n\n if (recordCount > 0) {\n duplicateCount++;\n\n station.setStnnam(station.getStnnam(\"\") + duplicateCount);\n\n debugMessage += \" - new stnnam = \" +\n station.getStnnam(\"\");\n //outputDebug(debugMessage);\n if (dbg) System.out.println(\"checkStationUIExists: new stnnam = \" +\n station.getStnnam(\"\"));\n }// if (recordCount > 0)\n\n outputDebug(debugMessage);\n\n } // while (recordCount > 0)\n\n } // if (stns.length == 0)\n\n }", "public boolean isRepeated()\n {\n return start != end;\n }", "protected boolean isDuplicate(ELesxUseCase useCase) {\n return false;\n }", "boolean checkNoDuplicateFields() {\n\t if (duplicateNames == null | duplicateNames.isEmpty())\n\t return true;\n\t Iterator iter = duplicateNames.iterator();\n\t String names = \"\";\n\t while (iter.hasNext()) {\n\t names = names + iter.next(); \n\t }\n\t cat.error(loc,DUPLICATE_COLUMN_NAMES,new Object[] {names});\n\t return false;\n\t }", "@objid (\"ef9777b4-ed2a-4341-bb22-67675cddb70a\")\n boolean isIsUnique();", "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}", "@SuppressWarnings({ \"unchecked\", \"static-access\" })\r\n\tpublic boolean checkArticleIsDuplicated(){\r\n\t\r\n\t\tnum_DupInDBLP = 0;\r\n\t\t\t\t\r\n\t\tCheckExist check = new CheckExist();\r\n\t\t\r\n\t\tnumberArray = (ArrayList<Integer>) check.CheckTitleSignaturePublications(dbsaPublicationCheckList).clone();\r\n\t\tduplicateNumber = numberArray.size();\r\n\t\t\r\n\t\tduplicationArtilce = false;\r\n\t\tif(numberArray.size() > 0){\r\n\t\t\tfor(int i = 0; i < numberArray.size(); i++)\r\n\t\t\t{\t\r\n\t\t\t\tmodel.setValueAt(true, numberArray.get(i), 8);\r\n\t\t\t\tresultsJTable.addRowToPaint(numberArray.get(i), Color.red);\r\n\t\t\t\tduplicationArtilce = true;\r\n\t\t\t\t\r\n\t\t\t\tnum_DupInDBLP ++;\r\n\t\t\t}\r\n\t\t}\r\n\t\tgetFetcherInfo();\r\n\t\t//System.out.println(num_DupInDBLP);\r\n\t\tcheckDuplicateJButton.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));\r\n\t\tDBSAApplication.statisticPanel.updateStatistic(num_Total);\r\n\t\treturn duplicationArtilce;\r\n\t}", "public boolean isUnique();", "private static boolean isNewSection(String line) {\n String trimLine = line.trim();\n return trimLine.contains(\": \") || trimLine.endsWith(\":\");\n }", "void showsame() {\n\t\tint count;\n\t\tprintstatus = idle;\n\t\tif (newinfo.other[printnewline] != printoldline) {\n\t\t\tSystem.err.println(\"BUG IN LINE REFERENCING\");\n\t\t\tSystem.exit(1);\n\t\t}\n\t\tcount = blocklen[printoldline];\n\t\tprintoldline += count;\n\t\tprintnewline += count;\n\t}", "private boolean checkDuplicate(String macAddress) {\n\t\tfor (int i=0; i<bluetoothDevices.size(); i++) {\n\t\t\tif (macAddress.equals(bluetoothDevices.get(i).macAddress)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean getDuplicateSuppression() {\n return duplicate_suppression;\n }", "static void findDuplicate()\n\t{\n\n\t\tList<String> oList = null;\n\t\tSet<String> oSet = null;\n\t\ttry {\n\t\t\toList = new ArrayList<String>();\n\t\t\toList.add(\"Apple\");\n\t\t\toList.add(\"Boy\");\n\t\t\toList.add(\"Frog\");\n\t\t\toList.add(\"Dog\");\n\t\t\toList.add(\"Eagle\");\n\t\t\toList.add(\"Frog\");\n\t\t\toList.add(\"Apple\");\n\t\t\toList.add(\"Boy\");\n\t\t\toList.add(\"Apple\");\n\t\t\toList.add(\"Boy\");\n\t\t\tSystem.out.println(oList);\n\t\t\t\n\t\t\toSet = new TreeSet<>();\n\t\t\t\n\t\t\tString s = \"\";\n\t\t\tfor(int i=0;i<oList.size();i++)\n\t\t\t{\n\t\t\t\tif((oSet.add(oList.get(i))==false) && (!s.contains(oList.get(i))))\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"Duplicate: \"+oList.get(i));\n\t\t\t\t\ts+=oList.get(i);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}catch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\toList = null;\n\t\t\toSet = null;\n\t\t}\n\t}", "private void HaveDuplicate() {\n haveDuplicate = false;\n duplicateCounter = 0;\n try {\n query=\"SELECT * FROM category WHERE category_id = '\"+ txtCategoryNo.getText() +\"' OR category_name = '\"+\n txtCategoryName.getText() + \"'\";\n rset = connection.createStatement().executeQuery(query);\n while (rset.next()) {\n haveDuplicate = true;\n duplicateCounter++;\n }\n\n } catch (SQLException throwables) {\n throwables.printStackTrace();\n }\n\n }", "public boolean spacingExist(Spacing s) {\n for (Spacing spac : spacings) {\n if (spac.getGame1() == s.getGame1() && spac.getGame2() == s.getGame2())\n return true;\n }\n return false;\n }", "@Test\r\n public void testCreateTourWithoutDuplicates_DupAtEnd() {\r\n Tour tour = new Tour(new int[][]{{1, 1}, {2, 2}, {1, 1}});\r\n Tour result = tour.createTourWithoutDuplicates();\r\n Tour expected = new Tour(new int[][]{{1, 1}, {2, 2}});\r\n assertTrue(result.toString(), expected.isEqual(result));\r\n }", "public void desactiveRegraJogadaDupla() {\n this.RegraJogadaDupla = true;\n }", "public void containsDuplicates(String debugString) {\n\t\tfor(int i = 0; i < this.solutionLength; i++) {\n\t\t\tif(this.getSolutionRepresentation().lastIndexOf(this.getSolutionRepresentation().get(i)) != i && this.getSolutionRepresentation().lastIndexOf(this.getSolutionRepresentation().get(i)) != -1) {\n\t\t\t\tSystem.out.println(\"[WARNING] - solution contains duplicates. DS: \" + debugString);\n\t\t\t}\n\t\t}\n\t}", "private static Boolean deplacementL(int initialLigne, int initialColonne, int destinationLigne, int destinationColonne) {\n return ((Math.abs(initialLigne - destinationLigne) == 2 && Math.abs(initialColonne - destinationColonne) == 1) || (Math.abs(initialLigne - destinationLigne) == 1 && Math.abs(initialColonne - destinationColonne) == 2));\n }", "public void duplicateClubEvent() {\n \n boolean modOK = modIfChanged();\n \n if (modOK) {\n ClubEvent clubEvent = position.getClubEvent();\n ClubEvent newClubEvent = clubEvent.duplicate();\n newClubEvent.setWhat(clubEvent.getWhat() + \" copy\");\n newClubEvent.setId(\"\");\n position = new ClubEventPositioned();\n position.setIndex (clubEventList.size());\n position.setClubEvent(newClubEvent);\n position.setNewClubEvent(true);\n localPath = \"\";\n display();\n }\n }", "boolean isIsUnique();", "private void displayDuplicateInputError(){\n\t\tAlert alert = new Alert(Alert.AlertType.INFORMATION);\n\t\talert.setTitle(\"Duplicate Letter Dialog\");\n\t\talert.setHeaderText(\"Pay Attention!\");\n\t\talert.setContentText(\"You have already tried that letter, please try again\");\n\t\talert.showAndWait();\n\t}", "void scanunique() {\n\t\tint oldline, newline;\n\t\tnode psymbol;\n\n\t\tfor (newline = 1; newline <= newinfo.maxLine; newline++) {\n\t\t\tpsymbol = newinfo.symbol[newline];\n\t\t\tif (psymbol.symbolIsUnique()) { // 1 use in each file\n\t\t\t\toldline = psymbol.linenum;\n\t\t\t\tnewinfo.other[newline] = oldline; // record 1-1 map\n\t\t\t\toldinfo.other[oldline] = newline;\n\t\t\t}\n\t\t}\n\t\tnewinfo.other[0] = 0;\n\t\toldinfo.other[0] = 0;\n\t\tnewinfo.other[newinfo.maxLine + 1] = oldinfo.maxLine + 1;\n\t\toldinfo.other[oldinfo.maxLine + 1] = newinfo.maxLine + 1;\n\t}", "public void testDuplicate() {\n System.out.println(\"duplicate\");\n BufferedCharSequence instance = null;\n BufferedCharSequence expResult = null;\n BufferedCharSequence result = instance.duplicate();\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 static void incrDuplicates() { ++duplicates; }", "@Test\n public void testGetDuplicateTranslationKeysWithEmptyLine() throws Exception {\n final File testFile = getTestFile(\"messages.properties\");\n FileUtils.writeLines(testFile, Arrays.asList(\"emptyline.dup=foo\", \"emptyline.not.dup=bar\", \" \", \"emptyline.dup=fizzbuzz\"));\n assertThat(parser.getDuplicateTranslationKeys(testFile)).hasSize(1).contains(\"emptyline.dup\");\n }", "boolean verifColonne(int j,int num) { \r\n for (int i = 0; i<N; i++) \r\n if (tab[i][j] == num) \r\n return false; \r\n return true; \r\n }", "protected void repeatedFoundWhenInsert(CntAVLTreeNode node) {\n System.out.println(\"添加失败:不允许添加相同的节点!\");\n }", "private boolean hasNomeRepetido(String[] listaNomes) {\n for (int i = 0; i < listaNomes.length; i++) {\n for (int j = 0; j < listaNomes.length; j++) {\n if ((i != j) && (listaNomes[i].equals(listaNomes[j]))) {\n return true;\n }\n }\n }\n\n return false;\n }", "@Test\r\n public void testCreateTourWithoutDuplicates_MultipleDups() {\r\n Tour tour = new Tour(new int[][]{{1, 1}, {2, 2}, {1, 1}, {3, 3}, {1, 1}, {1, 1}});\r\n Tour result = tour.createTourWithoutDuplicates();\r\n Tour expected = new Tour(new int[][]{{1, 1}, {2, 2}, {3, 3}});\r\n assertTrue(result.toString(), expected.isEqual(result));\r\n }", "public boolean checkDuplicate(ResultSet rsData, ResultSet rsWareHouse) {\n\t\ttry {\n\n\t\t\tint count = 0;\n\t\t\tfor (int i = 1; i <= number_colum; i++) {\n\t\t\t\ttry {\n//\t\t\t\t\tSystem.out.println(rsData.getString(i));\n//\t\t\t\t\tSystem.out.println(rsWareHouse.getObject(i + 1));\n\t\t\t\t\tif (!rsData.getString(i).equals(rsWareHouse.getObject(i + 1).toString())) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t} catch (NullPointerException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (count > 2) {\n\t\t\t\treturn false;\n\t\t\t} else {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn false;\n\n\t}", "public boolean isRepeated() {\n\t\treturn repeated;\n\t}", "static boolean areIdentical(Line l1, Line l2) {\n return areParallel(l1, l2) && (Math.abs(l1.c - l2.c) < EPS);\n }", "public boolean isDuplicateNumber(String t){\n\t\tfor(ChildMessage c : cMessages)\n\t\t\tif(c.containsNumber(t))\n\t\t\t\treturn true;\n\t\treturn false;\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 }", "@Test\n\tpublic void addSameValueTwice() {\n\t\tXSet xset = new XSet(3);\n\t\txset.add(1);\n\t\txset.add(1);\n\t\tassertTrue(xset.getSize() == 1);\n\t}", "private boolean uniqueAddress(NetworkAddr nA) {\n\t\tif(nA.nodeId() == 0 && nA.networkId() == getAddr().networkId())\n\t\t\treturn false;\n\t\tfor(RouteTableEntry addr : _routingTable)\n\t\t{\n\t\t\tif(addr == null)\n\t\t\t\tcontinue;\n\t\t\t\n\t\t\tif(addr.networkAddress.SameAddress(nA))\n\t\t\t\treturn false;\n\t\t}\n\t\t\n\t\treturn true;\n\t}", "public boolean isADuplicate(){\n\t\treturn testBitwiseFlag(1024);\n\t}", "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 noConflictInSubgrid(int rowIndex, int columnIndex, int number) {\n /*\n * Siccome ci sono 9 sotto matrici, disposte su 3 righe e 3 colonne, questo metodo\n * calcola l'indice di riga e di colonna della sotto matrice.\n */\n int r = rowIndex / 3;\n int c = columnIndex / 3;\n // questo indice diventa il moltiplicatore, per calcolare gli indici di riga\n // e di colonna reali della cella.\n int iStart = r * 3;\n int jStart = c * 3;\n for (int i = iStart; i < iStart + 3; i++) {\n for (int j = jStart; j < jStart + 3; j++) {\n if (grid[i][j] == number) {\n return false;\n }\n }\n }\n return true;\n }", "boolean isUnique();", "boolean alreadyAdded(char c) {\n for (char x :_chars) {\n if (x == c) {\n return true;\n }\n }\n return false;\n }", "public void activeRegraJogadaDupla() {\n this.RegraJogadaDupla = true;\n }", "static boolean isduplicate(int pos, int n) {\n for (int k=pos-1;k>=0;k--) { \n if(n==arr[k]){ //Compare already filled array elements\n return false;\n }\n }\n return true;\n }", "private static boolean deduplica(Session ses, IstanzeAbbonamenti ia, List<EvasioniArticoli> eaList) \n\t\t\tthrows HibernateException {\n\t\tList<EvasioniArticoli> filteredList = new ArrayList<EvasioniArticoli>();\n\t\tfor (EvasioniArticoli ea:eaList) {\n\t\t\tif (ea.getDataInvio() == null) filteredList.add(ea);\n\t\t}\n\t\tif (filteredList.size() > 0) {\n\t\t\t//Elimina i duplicati non spediti\n\t\t\tEvasioniArticoli eaExtra = null;\n\t\t\tfor (EvasioniArticoli ea:filteredList) {\n\t\t\t\tif (eaExtra == null) eaExtra=ea;\n\t\t\t}\n\t\t\tLOG.info(ia.getAbbonamento().getCodiceAbbonamento()+\" deduplica di \"+eaExtra.getArticolo().getCodiceMeccanografico()+\" del \"+eaExtra.getDataCreazione());\n\t\t\tGenericDao.deleteGeneric(ses, eaExtra.getId(), eaExtra);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public boolean checkDuplicates(String chars) {\n char[] check = chars.toCharArray();\n for (int i = 0; i < chars.length(); i++) {\n for (int j = i + 1; j < chars.length(); j++) {\n if (check[i] == check[j]) {\n return true;\n }\n }\n }\n return false;\n }", "private void checkIfDuplicateKey(String recordKey) {\n if (this.records.containsKey(recordKey)) {\n System.out.println(duplicateKey);\n throw new IllegalArgumentException();\n }\n }", "public boolean isUniqueA() {\n return true;\n }", "public void ValidateDuplicateMessage() {\n\t\tAssert.assertEquals(NEVERMIND_OPTION.getText(), \"Nevermind\", \"Wrong page!!!\");\n\n\t}", "private static boolean sameDestination(Reservation a, Reservation b){\n\t\tif( (a.seatOwner() == b.seatOwner() ) && ( a.seatDestination() == b.seatDestination() ) ){\n\t\t\treturn true;\n\t\t}else{\n\t\t\treturn false;\n\t\t}\n\t}", "private boolean antiDuplicate(HashMap<String, Integer> check, String description, int days) {\n Iterator it = check.entrySet().iterator();\n while (it.hasNext()) {\n HashMap.Entry pair = (HashMap.Entry) it.next();\n if (pair.getKey().equals(description) && (int) pair.getValue() == days) {\n return false;\n }\n }\n return true;\n }", "private boolean noRepeatedNumbersInColumns() {\n return !this.hasAnyRepeatedInColumn();\n }", "public boolean supportsUnique() {\n \t\treturn true;\n \t}", "public static boolean uniqueCharStringNoDS(String s){\r\n for (int i = 0; i < s.length(); i++){\r\n for (int j = i+1; j < s.length(); j++){\r\n char temp = s.charAt(i);\r\n if (temp == s.charAt(j)){\r\n return false;\r\n }\r\n }\r\n }\r\n return true;\r\n }", "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 }", "@Test (timeout=180000)\n public void testDupeStartKey() throws Exception {\n TableName table =\n TableName.valueOf(\"tableDupeStartKey\");\n try {\n setupTable(table);\n assertNoErrors(doFsck(conf, false));\n assertEquals(ROWKEYS.length, countRows());\n\n // Now let's mess it up, by adding a region with a duplicate startkey\n HRegionInfo hriDupe =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"A\"), Bytes.toBytes(\"A2\"));\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriDupe);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriDupe);\n ServerName server = regionStates.getRegionServerOfRegion(hriDupe);\n TEST_UTIL.assertRegionOnServer(hriDupe, server, REGION_ONLINE_TIMEOUT);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS});\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows()); // seems like the \"bigger\" region won.\n\n // fix the degenerate region.\n doFsck(conf,true);\n\n // check that the degenerate region is gone and no data loss\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof OHigieneOralSimplificada)) {\r\n return false;\r\n }\r\n OHigieneOralSimplificada other = (OHigieneOralSimplificada) object;\r\n if ((this.hosId == null && other.hosId != null) || (this.hosId != null && !this.hosId.equals(other.hosId))) {\r\n return false;\r\n }\r\n return true;\r\n }", "private boolean isOneSpace(final String message) {\n\t\treturn message.contains(\"1 space\"); //$NON-NLS-1$\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}", "boolean duplicatedUsername(String username);", "public boolean cellAlreadyExists(Cell c) {\r\n for (Cell cell : cells) {\r\n if (Arrays.equals(c.getShape().xpoints, cell.getShape().xpoints)) { // && Arrays.equals(c.getShape().ypoints, cell.getShape().ypoints)) {\r\n\r\n return true;\r\n }\r\n }\r\n return false;\r\n\r\n }", "public void testNameDuplicate( ) throws Exception\n \t{\t\n \t\tccName = new String[] { \"col0Addcol1\", \"col0Addcol1\" };\n \t\tccExpr = new String[] { \"row.COL0+row.COL1\",\n \t\t\t\t\"row.COL0*row.COL1\" };\n \t\tfor (int i = 0; i < ccName.length; i++) {\n \t\t\tComputedColumn computedColumn = new ComputedColumn(ccName[i],\n \t\t\t\t\tccExpr[i], DataType.INTEGER_TYPE);\n \t\t\t((BaseDataSetDesign) this.dataSet)\n \t\t\t\t\t.addComputedColumn(computedColumn);\n \t\t}\n \n \t\ttry\n \t\t{\n \t\t\tdoTest( );\n \t\t\tfail( \"Expecting exception due to duplicate field names.\" );\n \t\t}\n \t\tcatch ( DataException e )\n \t\t{\n \t\t}\n \t}", "public void setDuplicateSuppression(boolean duplicate_suppression) {\n this.duplicate_suppression = duplicate_suppression;\n }", "public VNode duplicate() throws VlException\n\t{\n\t\tthrow new nl.uva.vlet.exception.NotImplementedException(\"Duplicate method not implemented\"); \n\t}", "private boolean noConflictInRow(int rowIndex, int number) {\n for (int i = 0; i < 9; i++) {\n if (grid[rowIndex][i] == number) {\n return false;\n }\n }\n return true;\n }", "public boolean checkDuplicates() {\n List<Booking> dupbookings = new ArrayList<>();\n try {\n dupbookings = bookingHelper.checkDuplicates(b_facility.getId(), b_evdate, b_startTime, b_endTime);\n } catch (Exception e) {\n //facesMessage(\"No other bookings found for the day and time\");\n }\n return dupbookings.size() > 0;\n }", "@Override\n public int hashCode() {\n return Integer.parseInt(this.getPawnOne().getPositionNr() + \"\" + this.getPawnTwo().getPositionNr());\n }", "@Override\r\n public int hashCode() {\r\n return nome.hashCode();\r\n }", "private static boolean duplicateSetName(String setName){\n boolean duplicate = false;\n for (Set set : SetManager.getInstance().getSets()) {\n if (set.getName() != null) {\n if (set.getName().equals(setName)) {\n duplicate = true;\n }\n }\n }\n return duplicate;\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 }", "@Override\n public boolean collided() {\n return false;\n }", "@Test\r\n\tpublic void test1() {\r\n\t\tint[] nums = {1,2,3,1,4};\r\n\t\tAssert.assertEquals(true, containsDuplicate(nums));\r\n\t}", "protected void paramDuplicate(){\n List<StatementParse> parameters = this.node.getChildren().get(0).getChildren();\n for (StatementParse x: parameters){\n int count = 0;\n for (StatementParse y: parameters){\n if (x.getName().equals(y.getName())){\n count++;\n }\n }\n if (count > 1) throw new DuplicateParam();\n }\n }", "public boolean isDuplicateName(String name) {\n return presenter.isDuplicateName(name);\n }", "public boolean insertCuadrante(Cuadrante c) {\r\n\t\tint i=0;\r\n\t\twhile (i<cuadrantes.size()){\r\n\t\t\tif (cuadrantes.get(i).getMes()==c.getMes() && cuadrantes.get(i).getAnio()==c.getAnio())\r\n\t\t\t\tcuadrantes.remove(i);\r\n\t\t\telse\r\n\t\t\t\ti++;\r\n\t\t}\r\n\t\tcuadrantes.add(c);\r\n\t\tinsertCache(c, \"Cuadrante\");\r\n\t\treturn true;\r\n\t}", "public boolean equals(Line other) {\r\n // exactly the same line\r\n if (this.start.equals(other.start) && this.end.equals(other.end)) {\r\n return true;\r\n }\r\n // opossite lines\r\n if (this.start().equals(other.end) && this.end().equals(other.start)) {\r\n return true;\r\n }\r\n return false;\r\n }", "public static boolean isDuplicate(List list, int id)\r\n {\r\n for (int i = 0; i < list.size(); i++)\r\n {\r\n int dupID = ((Integer) list.get(i)).intValue();\r\n\r\n if (dupID == id)\r\n {\r\n //slist.remove(list.get(i));\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n }", "public boolean canBeCollidedWith() {\n return false;\n }", "public void testValidateSubjectPrimaryAssociationsDuplicate() throws Exception {\n positionWrapperBean.addNewSubjectPrimaryAssociation();\n positionWrapperBean.addNewSubjectPrimaryAssociation();\n List subjectPrimaryAssociations = positionWrapperBean.getSubjectPrimaryAssociations();\n for (int i = 0; i < subjectPrimaryAssociations.size(); i++) {\n ArtefactAssociationWrapperBean artefactAssociationWrapperBean = (ArtefactAssociationWrapperBean) subjectPrimaryAssociations.get(i);\n artefactAssociationWrapperBean.setSourceId(new Long(12));\n artefactAssociationWrapperBean.setQualifierId(new Long(399));\n }\n // should produce a duplicate assocition error\n DataBinder binder = new DataBinder(positionWrapperBean, ZynapDefaultFormController.DEFAULT_COMMAND_NAME);\n Errors errors = binder.getBindingResult();\n positionValidator.validateSubjectPrimaryAssociations(positionWrapperBean, errors);\n assertEquals(1, errors.getErrorCount());\n FieldError error = errors.getFieldError(FIRST_PRIMARY_ASSOCIATION_SOURCE_FIELD);\n assertEquals(\"error.association.target.unique.required\", error.getCode());\n }", "private boolean checkGap() { //Checks if any gap due to previously deleted resv\n\t\tif (numOfReservation == 0)\n\t\t\treturn false;\n\t\telse\n\t\t\treturn !(rList.get(rList.size()-1).getResvNo() == numOfReservation);\n\t}", "void checkStationId(int lineCount, String testStationId) {\n if (!stationId.equals(testStationId)) {\n outputError(lineCount + \" - Fatal - \" +\n \"Station Id does not match previous station record \" +\n stationId + \": \" + testStationId);\n } // if (!stationId.equals(station.getStationId(\"\")))\n }", "public static boolean hasDuplicates(String s) {\n\t\tif (StringUtils.isEmpty(s)) {\n\t\t\treturn false;\n\t\t}\n\t\tchar[] c = s.toCharArray();\n\t\tArrays.sort(c);\n\t\tfor (int i = 0; i < c.length - 1; i++) {\n\t\t\tif (c[i] == c[i+1]) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "private void correctSerialNumber() {\n\t\tfor (int i = 0; i < wsArr.length; i++) {\n\t\t\tfor (int j = i + 1; j < wsArr.length; j++) {\n\t\t\t\tif (wsArr[j].getSerialNumber() == wsArr[i].getSerialNumber()) {\n\t\t\t\t\twhile (true) {\n\t\t\t\t\t\tSystem.out.println(\"Duplicate serial number \" + wsArr[j].getSerialNumber() + \" detected in record # \" + (j + 1) + \".\");\n\t\t\t\t\t\tlong serialNumber = this.getNewSerialNumber();\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tthis.verifyDuplication(j, serialNumber);\n\t\t\t\t\t\t\twsArr[j].setSerialNumber(serialNumber);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t} catch (DuplicateSerialNumberException e) {\n\t\t\t\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "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 void trimDuplicatedNewline() {\n Utils.limitNewline(builder, 1);\n }", "public IllegalGuessException(boolean dup)\n\t{\n\t\tif(dup)\n\t\t{\n\t\t\tJOptionPane.showMessageDialog(null, \"You have already guessed this code. Guess again.\", \"INVALID GUESS\", JOptionPane.ERROR_MESSAGE);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tJOptionPane.showMessageDialog(null, \"Guess again.\", \"INVALID GUESS\", JOptionPane.ERROR_MESSAGE);\n\t\t}\n\t}", "@Test\n public void testEquals() {\n \t\n \t//create data set\n \tString strJava = \"java\";\n \tString strScala = \"scala\";\n \tString strPhp = \"php\";\n \t\n \tfinal LastWriteWinSet<String> lastWriteWinSet1 = new LastWriteWinSet<>();\n\n \tlastWriteWinSet1.add(time1, strJava);\n \tlastWriteWinSet1.add(time1, strScala);\n \tlastWriteWinSet1.add(time1, strPhp);\n\n \tlastWriteWinSet1.delete(time2, strJava);\n \n final LastWriteWinSet<String> lastWriteWinSet2 = new LastWriteWinSet<>();\n\n lastWriteWinSet2.add(time1, strJava);\n lastWriteWinSet2.add(time1, strScala);\n lastWriteWinSet2.add(time1, strPhp);\n\n lastWriteWinSet2.delete(time2, strJava);\n \n final LastWriteWinSet<String> lastWriteWinSet3 = lastWriteWinSet2;\n \t\n assertTrue(lastWriteWinSet1.equals(lastWriteWinSet2));\n assertTrue(lastWriteWinSet3.equals(lastWriteWinSet2));\n assertTrue(lastWriteWinSet1.equals(lastWriteWinSet1));\n assertTrue(!lastWriteWinSet1.equals(null));\n }", "private boolean sameGroup(RowMetaInterface rowMeta, Object[] previous, Object[] rowData) throws KettleValueException\n\t{\n\t\treturn rowMeta.compare(previous, rowData, data.groupnrs)==0;\n\t}", "public void addCount() {\n \t\tdupCount++;\n \t}", "static boolean isLocalUnique(String s) {\n\t\tboolean result = false;\n\t\tif (s != null && s.length() > 8) {\n\t\t\tresult = true;\n\t\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\t\tchar c = s.charAt(i);\n\t\t\t\tif (isHex(c) == false) {\n\t\t\t\t\tresult = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "private static void test1() {\n HashSet<Contact> contacts = new HashSet<>();\n\n Contact contact1 = new Contact(123, \"Vasiliy\", \"+380681234136\");\n\n contacts.add(contact1);\n\n\n //------------------------------------------\n\n\n Contact contact2 = new Contact(123, \"Vasiliy\", \"+380689876543\");\n\n contacts.remove(contact2);\n contacts.add(contact2);\n\n printCollection(contacts);\n }", "public void ordenarXNombreInsercion() {\r\n\t\tfor (int i = 1; i < datos.size(); i++) {\r\n\t\t\tfor (int j = i; j>0 && ( (datos.get(j-1).compare(datos.get(j-1), datos.get(j)))==(1) ); j--) {\r\n\t\t\t\tJugador temp = datos.get(j);\r\n\t\t\t\tdatos.set(j, datos.get(j-1));\r\n\t\t\t\tdatos.set(j-1, temp);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public boolean checkDuplicates(String tempName)\n\t{\n\t\tif (!hasPermission(\"staff\")\n\t\t\t&& !Moban.hasMatch(\"multok\", tempName, connSocket.getInetAddress().getHostName()))\n\t\t\tfor (UserCon cs : conns)\n\t\t\t{\n\t\t\t\tif (cs.hasPermission(\"staff\"))\n\t\t\t\t\tcontinue;\n\t\t\t\tif (cs.host1.equals(connSocket.getInetAddress().getHostName())\n\t\t\t\t\t&& !cs.ch.name.equalsIgnoreCase(tempName)\n\t\t\t\t\t&& !Moban.hasMatch(\"multok\", cs.ch.name, cs.host1)\n\t\t\t\t\t&& !cs.hasPermission(\"staff\"))\n\t\t\t\t{\n\t\t\t\t\tsendln(\"Another character is already logged in from the same connection you're using.\");\n\t\t\t\t\tsendln(\"If you were playing on a character but were disconnected or did not quit using\");\n\t\t\t\t\tsendln(\"the 'quit' command, please log back on to that character and 'quit' before\");\n\t\t\t\t\tsendln(\"logging on with a different character.\");\n\t\t\t\t\tsendln(\"\");\n\t\t\t\t\tsendln(\"Note that multiplaying (using multiple characters at the same time) is not\");\n\t\t\t\t\tsendln(\"permitted on Agape. If there is more than one person at your connection who\");\n\t\t\t\t\tsendln(\"would like the play the game, please speak with a staff member.\");\n\t\t\t\t\tcloseSocket();\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\tfor (UserCon cs : conns)\n\t\t\tif (cs.ch.name.equalsIgnoreCase(tempName) && cs != this)\n\t\t\t{\n\t\t\t\tconns.remove(cs);\n\t\t\t\twriting = cs.writing;\n\t\t\t\tch = cs.ch;\n\t\t\t\tch.conn = this;\n\t\t\t\tcs.sendln(\"This character has been logged on from a different connection.\");\n\t\t\t\tcs.sendln(\"If this message appears after no action on your part, you may\");\n\t\t\t\tcs.sendln(\"wish to change your password to prevent hacking attempts.\");\n\t\t\t\tsysLog(\"connections\", \"New connection for \"+tempName+\": Booting old connection.\");\n\t\t\t\tcs.closeSocket();\n\t\t\t\tbreak;\n\t\t\t}\n\t\treturn false;\n\t}", "public void containsNoDuplicates() {\n List<Entry<T>> duplicates = Lists.newArrayList();\n for (Multiset.Entry<T> entry : LinkedHashMultiset.create(getSubject()).entrySet()) {\n if (entry.getCount() > 1) {\n duplicates.add(entry);\n }\n }\n if (!duplicates.isEmpty()) {\n failWithRawMessage(\"%s has the following duplicates: <%s>\", getDisplaySubject(), duplicates);\n }\n }", "private boolean validateForDuplicateItemField(OleDiscoveryExportProfile oleDiscoveryExportProfile) {\n List<String> MARCItemlist = new ArrayList<String>();\n for (int i = 0; i < oleDiscoveryExportProfile.getOleDiscoveryExportMappingFields().size(); i++) {\n MARCItemlist.add(oleDiscoveryExportProfile.getOleDiscoveryExportMappingFields().get(i).getItemField());\n }\n for (int j = 0; j < oleDiscoveryExportProfile.getOleDiscoveryExportMappingFields().size(); j++) {\n int count = 0;\n for (int k = 0; k < MARCItemlist.size(); k++) {\n if (oleDiscoveryExportProfile.getOleDiscoveryExportMappingFields().get(j).getItemField().equalsIgnoreCase(MARCItemlist.get(k))) {\n count++;\n }\n }\n if (count > 1) {\n this.putFieldError(OLEConstants.OleDiscoveryExportProfile.OLE_EXP_ITEM_FIELD, OLEConstants.OleDiscoveryExportProfile.OLE_EXP_ITEM_DUPLICATE_ERROR);\n return false;\n }\n }\n return true;\n }", "public void duplicateCard(Card originalCard)\n\t{\n\t\tint index = cards.indexOf(originalCard);\n\t\t\n\t\t// If it's found, add it again at that index\n\t\tif(index >= 0) {\n\t\t\t\n\t\t\taddCard(index, new Card(originalCard));\n\t\t\t\n\t\t\t// Remove and re-add all cards\n\t\t\tsyncCardsWithViews();\n\t\t\t\n\t\t}\n\t\t\n\t}", "@Override\n\tpublic void test00400Add_DuplicateRecord() throws Exception\n\t{\n\t\t// This method will not fail with Generate card numbers set to Y\n\t}" ]
[ "0.613315", "0.59352165", "0.58287925", "0.56951255", "0.560655", "0.55390614", "0.5495393", "0.5490162", "0.54494566", "0.54217345", "0.54182655", "0.5338787", "0.5330687", "0.5326944", "0.5318223", "0.53112435", "0.5282022", "0.52698004", "0.5260429", "0.5259285", "0.52428985", "0.5241251", "0.52252454", "0.52229357", "0.5199301", "0.5194146", "0.51661044", "0.5144084", "0.5142433", "0.51396143", "0.51383454", "0.5126119", "0.51219404", "0.51188654", "0.511767", "0.5111926", "0.5111519", "0.51075244", "0.50710005", "0.5063705", "0.505994", "0.5054938", "0.5046645", "0.50419533", "0.5034758", "0.5025776", "0.5008642", "0.50042063", "0.50038415", "0.49984732", "0.4989037", "0.49878383", "0.49856132", "0.49728057", "0.49726215", "0.49707422", "0.4960298", "0.49597886", "0.4957371", "0.495002", "0.4945048", "0.49370745", "0.49348688", "0.49315715", "0.49259144", "0.4925199", "0.49250853", "0.49162015", "0.49150214", "0.49087024", "0.49083185", "0.49034977", "0.48911822", "0.48888794", "0.48884502", "0.48797292", "0.48739743", "0.48738453", "0.4873516", "0.48657724", "0.48497063", "0.48452032", "0.48430225", "0.48396254", "0.48379436", "0.48312706", "0.48290214", "0.48288304", "0.4822947", "0.4820312", "0.4818215", "0.48172614", "0.48155618", "0.48143595", "0.4807337", "0.48050925", "0.48009124", "0.47963244", "0.47938097", "0.47916156", "0.47890258" ]
0.0
-1
Returns an iterator for all serializable fields for some class
public Iterator serializableFieldsFor(Class cls) { return buildMap(cls, true).values().iterator(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Iterator serializableFieldsFor(Class cls) {\n return buildMap(cls, true).values().iterator();\n }", "public Iterator<Field> iterator()\n\t{\n\t\treturn fieldList.iterator();\n\t}", "private void findFields() {\n for(Class<?> clazz=getObject().getClass();clazz != null; clazz=clazz.getSuperclass()) {\r\n\r\n Field[] fields=clazz.getDeclaredFields();\r\n for(Field field:fields) {\r\n ManagedAttribute attr=field.getAnnotation(ManagedAttribute.class);\r\n Property prop=field.getAnnotation(Property.class);\r\n boolean expose_prop=prop != null && prop.exposeAsManagedAttribute();\r\n boolean expose=attr != null || expose_prop;\r\n\r\n if(expose) {\r\n String fieldName = Util.attributeNameToMethodName(field.getName());\r\n String descr=attr != null? attr.description() : prop.description();\r\n boolean writable=attr != null? attr.writable() : prop.writable();\r\n\r\n MBeanAttributeInfo info=new MBeanAttributeInfo(fieldName,\r\n field.getType().getCanonicalName(),\r\n descr,\r\n true,\r\n !Modifier.isFinal(field.getModifiers()) && writable,\r\n false);\r\n\r\n atts.put(fieldName, new FieldAttributeEntry(info, field));\r\n }\r\n }\r\n }\r\n }", "private static HashSet<Field> getAllFields(Class<?> cls) {\n // First, let's get all the super classes.\n HashSet<Class<?>> ancestors = getInstrumentedAncestors(cls);\n\n // Then, let's get all the fields of these classes.\n HashSet<Field> allFields = new HashSet<>();\n for (Class<?> ancestor : ancestors) {\n Collections.addAll(allFields, ancestor.getDeclaredFields());\n }\n return allFields;\n }", "public static Iterator getVersionables(Object o) {\r\n checkVersionable(o);\r\n Collection c = new ArrayList();\r\n Field[] fields = o.getClass().getFields();\r\n for (int i = 0; i < fields.length; i++) {\r\n Field field = fields[i];\r\n if (field.getName().equals(Instrumentor.VERSIONFIELD) ||\r\n field.getType().isPrimitive())\r\n continue;\r\n Object fieldObject;\r\n try {\r\n fieldObject = field.get(o);\r\n } catch (Exception e) {\r\n continue;\r\n }\r\n if (isVersionable(fieldObject)) {\r\n c.add(fieldObject);\r\n }\r\n }\r\n return c.iterator();\r\n }", "private Map<String,Field> getAllFields(Class clazz) {\n return this.getAllFields(clazz, false);\n }", "public List<Field> iterateThroughAllFields() {\n\n List<Field> listOfFields = new ArrayList<Field>(fields.length * fields.length);\n // TODO: n**m complexity\n for (int i = 0; i < this.fields.length; i++) {\n for (int j = 0; j < this.fields.length; j++) {\n listOfFields.add(this.fields[i][j]);\n }\n }\n return listOfFields;\n }", "List<FieldNode> getFields() {\n return this.classNode.fields;\n }", "@SuppressWarnings(\"rawtypes\")\n\tpublic List getFields(){\n\t\treturn targetClass.fields;\n\t}", "public static Field[] getAllFields(Class forClass) {\r\n\t\tfinal List<Field> fields = new ArrayList<Field>();\r\n\t\tClass aktClass = forClass;\r\n\t\twhile (!aktClass.equals(Object.class)) {\r\n\t\t\tField[] tmp = aktClass.getDeclaredFields();\r\n\t\t\tfor (Field akt : tmp) {\r\n\t\t\t\tfields.add(akt);\r\n\t\t\t}\r\n\t\t\taktClass = aktClass.getSuperclass();\r\n\t\t}\r\n\t\treturn fields.toArray(new Field[fields.size()]);\r\n\t}", "public Set<Field> getFields() {\r\n \t\t// We will only consider private fields in the declared class\r\n \t\tif (forceAccess)\r\n \t\t\treturn setUnion(source.getDeclaredFields(), source.getFields());\r\n \t\telse\r\n \t\t\treturn setUnion(source.getFields());\r\n \t}", "@SuppressWarnings(\"unchecked\")\n\tprivate Set<Field> getPersistenceFields(Class<?> clz) {\n\t\tSet fields = new HashSet();\n\t\tfor (Field f : clz.getDeclaredFields()) {\n\t\t\tif (f.isAnnotationPresent(Persistence.class)) {\n\t\t\t\tf.setAccessible(true);\n\t\t\t\tfields.add(f);\n\t\t\t}\n\t\t}\n\t\treturn fields;\n\t}", "public static List<String> fieldsIn(Class<?> class1) {\n List<String> strings = new LinkedList<String>();\n for (Field f : class1.getDeclaredFields()) {\n try {\n strings.add(f.getName() + \" = \" + f.get(null));\n } catch (IllegalArgumentException e) {\n e.printStackTrace();\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n }\n }\n return strings;\n }", "public FieldDeclaration[] getFields() {\n return m_classBuilder.getFields();\n }", "@Override\n\t\t\tpublic Iterator<T> iterator() {\n\t\t\t\treturn convertData(data.iterator(), targetClass);\n\t\t\t}", "public Set<FieldInfo> getFieldInfos() {\n return new LinkedHashSet<FieldInfo>(_atts);\n }", "public Iterator<String> fieldIterator() { return flds_lu.keySet().iterator(); }", "private <T> Map<String, Field> getFields(final Class<T> destinationClass) {\n final Map<String, Field> mappedFields = new HashMap<>();\n logger.trace(\"Retrieving all declared fields for class: {}\", destinationClass);\n final List<Field> declaredFields = getFields(new ArrayList<>(), destinationClass);\n\n for (Field field : declaredFields) {\n if (!field.isAnnotationPresent(Ignore.class)) {\n mapFieldName(mappedFields, field);\n }\n }\n\n return mappedFields;\n }", "List<Field> getFields();", "public Enumeration getFields()\n {\n ensureLoaded();\n return m_tblField.elements();\n }", "@Override\n public <T> Iterator<Entry<T>> typedIterator(Class<T> clazz) {\n List<Entry<T>> entries = new ArrayList();\n for (Iterator<Entry> it = this.iterator(); it.hasNext(); ) {\n final Entry e = it.next();\n if (e.getKey().valueType.equals(clazz)) {\n entries.add(e);\n }\n }\n return entries.iterator();\n }", "public List<ResolvedFieldDeclaration> getAllFieldsVisibleToInheritors() {\n List<ResolvedFieldDeclaration> res = new LinkedList<>(this.getDeclaredFields().stream().filter(f -> f.accessSpecifier() != AccessSpecifier.PRIVATE).collect(Collectors.toList()));\n getDirectAncestors().forEach(a -> res.addAll(a.getAllFieldsVisibleToInheritors()));\n return res;\n }", "public List<Field<T>> getFields()\r\n/* 63: */ {\r\n/* 64:84 */ return this.fields;\r\n/* 65: */ }", "public abstract Set<ResolvedFieldDeclaration> getDeclaredFields();", "protected java.util.Vector getFieldVector() throws Exception {\n java.util.Vector fieldVector = new java.util.Vector();\n Class c = getClass();\n while (c != Class.forName(\"java.lang.Object\")) {\n Field[] fields = c.getDeclaredFields();\n for (int i = fields.length - 1; i >= 0; i--) {\n fieldVector.add(0, fields[i]);\n }\n c = c.getSuperclass();\n }\n return fieldVector;\n }", "public static List<Field> getAllFieldsFromAncestor(Class<?> clazz) {\n List<Field> fields = new ArrayList<>();\n for(Class<?> now = clazz; null != now; now = now.getSuperclass()) {\n Field[] nowFields = now.getDeclaredFields();\n // add from last to head\n for(int i = nowFields.length - 1; i >= 0; i--) {\n fields.add(nowFields[i]);\n }\n }\n // remember to reverse the fields got\n Collections.reverse(fields);\n return fields;\n }", "public static Field[] getFields (Class<?> clazz)\n {\n ArrayList<Field> list = new ArrayList<Field>();\n getFields(clazz, list);\n return list.toArray(new Field[list.size()]);\n }", "public List<FieldObject> getFieldObjects() {\n return _fieldObjects;\n }", "@Override\n public ArrayList<Object> getFieldsAsList() {\n if (!getParsed()) {\n parse();\n }\n if (cachedList == null) {\n cachedList = new ArrayList<Object>();\n } else {\n cachedList.clear();\n }\n for (int i = 0; i < getFields().length; i++) {\n cachedList.add(uncheckedGetField(i));\n }\n return cachedList;\n }", "private List getMappingFieldsInternal() {\n if (fields == null) {\n fields = new ArrayList();\n }\n\n return fields;\n }", "private void readFields() throws IOException, ClassFormatException {\n final int fields_count = dataInputStream.readUnsignedShort();\n fields = new Field[fields_count];\n for (int i = 0; i < fields_count; i++) {\n fields[i] = new Field(dataInputStream, constant_pool);\n }\n }", "synchronized public Set<String> getFields() {\n return Collections.unmodifiableSet(new HashSet<>(fields));\n }", "@VTID(11)\r\n java.util.Iterator<Com4jObject> iterator();", "@VTID(14)\n java.util.Iterator<Com4jObject> iterator();", "public static Field[] getFieldsInClassHierarchy(Class<?> clazz) {\n Field[] fields = {};\n while (clazz != null) {\n fields = (Field[]) ArrayUtils.addAll(fields, clazz.getDeclaredFields());\n clazz = clazz.getSuperclass();\n }\n return fields;\n }", "public <T> Iterator<T> asIterator(){\n return new NextIterator<T>() {\n @Override\n public T getNext() {\n try{\n return readObject();\n }catch(Exception eof){\n if(eof instanceof EOFException){\n finished = true ;\n }\n return null;\n }\n }\n\n @Override\n protected void close() {\n DeserializationStream.this.close();\n }\n };\n }", "public DbIterator iterator() {\n\t\tif(gbfield==-1)\n\t\t\treturn new AggregateIterator(false);\n\t\treturn new AggregateIterator(true);\n\t}", "public List<Fw> getAllFields(final Class<?> aClass) {\n\t\tList<Fw> result = new ArrayList<>();\n\t\tresult.addAll(this.getSpecialFields(aClass));\n\t\tList<Field> classFields = Arrays.asList(aClass.getDeclaredFields());\n\t\tfor (Field fld : this.getAllTheFields(aClass)) {\n\t\t\tboolean isSuperField = !classFields.contains(fld);\n\t\t\tresult.add(this.makeFw(fld, aClass, isSuperField));\n\t\t}\n\n\t\tthis.removeDoubleIdField(result);\n\t\treturn this.sortAllFields(result);\n\t}", "protected Vector collectFields() {\n Vector fields = new Vector(1);\n fields.addElement(this.getField());\n return fields;\n }", "public SerialFieldTag[] serialFieldTags() {\n return getComment().serialFieldTags();\n }", "@Override\n public java.util.List<Field> getFieldsList() {\n return fields_;\n }", "EmulatedFieldsForDumping(ObjectStreamClass streamClass) {\n super();\n emulatedFields = new EmulatedFields(streamClass.fields(),\n (ObjectStreamField[]) null);\n }", "public ListIterator<T> getAllByColumnsIterator() {\n\t\tAllByColumnsIterator it = new AllByColumnsIterator();\n\t\treturn it;\n\t}", "protected Vector getUnmappedFields() {\r\n Vector fields = new Vector(1);\r\n if (isStoredInCache()) {\r\n fields.addElement(getWriteLockField());\r\n }\r\n return fields;\r\n }", "public UnmodifiableIterator<Entry<K, V>> iterator() {\n return mo8403b().iterator();\n }", "public Iterator<String> listAllandAnonClasses()\r\n\t{\r\n\t\treturn new ToStringIterator<String>(ONT_MODEL.listClasses());\r\n\t}", "public static Field[] getAllFields (Class c)\n\t{\n\t\tList l = new ArrayList();\n\t\taddDeclaredFields(l, c);\n\t\t\n\t\tField[] fields = new Field[l.size()];\n\t\tfields = (Field[]) l.toArray(fields);\n\t\treturn fields;\n\t}", "public static void getSuperFields(Class<?> clazz, ArrayList<Field> all_fields) {\n\t\tif (clazz == Object.class)\n\t\t\treturn;\n\t\t\n\t\t//Field [] element_fields_ = clazz.getFields();\n\t\tField [] element_fields = clazz.getDeclaredFields(); //clazz.getFields();\n\t\tfor (Field f: element_fields) {\n\t\t\tall_fields.add(f);\n\t\t}\n\t\tgetSuperFields(clazz.getSuperclass(), all_fields);\n\t\t\n\t\treturn;\n\t}", "private static List<AccessibleObject> getAnnotatedFields(\n Class<? extends Annotation> annotationClass,\n Object obj,\n int maxPerClass) {\n ImmutableList.Builder<AccessibleObject> attrs = ImmutableList.builder();\n\n // Fields\n Class<?> objClass = obj.getClass();\n for (Field field : objClass.getDeclaredFields()) {\n Object annotation = field.getAnnotation(annotationClass);\n if (annotation != null) {\n if (!field.isAccessible()) {\n field.setAccessible(true);\n }\n attrs.add(field);\n }\n }\n\n // Methods\n for (Method method : objClass.getDeclaredMethods()) {\n Object annotation = method.getAnnotation(annotationClass);\n if (annotation != null) {\n if (!method.isAccessible()) {\n method.setAccessible(true);\n }\n attrs.add(method);\n }\n }\n\n // Verify limit\n List<AccessibleObject> attrList = attrs.build();\n if (attrList.size() > maxPerClass) {\n throw new IllegalArgumentException(String.format(\n \"class %s has %d attributes annotated with %s\",\n obj.getClass().getCanonicalName(),\n attrList.size(),\n annotationClass.getCanonicalName()));\n }\n return attrList;\n }", "ISourceField[] getFields();", "private static void getAllFields(Class<?> clazz, ArrayList<Field> all_fields, ArrayList<Class<?>> all_classes) {\n\t\tif (clazz == Object.class)\n\t\t\treturn;\n\t\tall_classes.add(clazz);\n\t\t//Field [] element_fields_ = clazz.getFields();\n\t\tField [] element_fields = clazz.getDeclaredFields(); //clazz.getFields();\n\t\tfor (Field f: element_fields) {\n\t\t\tall_fields.add(f);\n\t\t}\n\t\tgetAllFields(clazz.getSuperclass(), all_fields, all_classes);\n\t\t\n\t\treturn;\n\t}", "Iterator<Column> nonPrimaryKeyBaseColumns();", "java.util.List<Field>\n getFieldsList();", "Collection<FieldType> getFieldTypes() throws TypeException, InterruptedException;", "public static List<Field> getInheritedPrivateFields(Class<?> type)\r\n {\r\n List<Field> result = new ArrayList<Field>();\r\n \r\n Class<?> i = type;\r\n while (i != null && i != Object.class) {\r\n for (Field field : i.getDeclaredFields()) {\r\n if (!field.isSynthetic()) {\r\n result.add(field);\r\n }\r\n }\r\n i = i.getSuperclass();\r\n }\r\n \r\n return result;\r\n }", "@DISPID(-4) //= 0xfffffffc. The runtime will prefer the VTID if present\r\n @VTID(22)\r\n java.util.Iterator<Com4jObject> iterator();", "public ArrayList<GOlrField> getFields() {\n\n ArrayList<GOlrField> collection = new ArrayList<GOlrField>();\n\n // Plonk them all in to our bookkeeping.\n for (GOlrField field : unique_fields.values()) {\n collection.add(field);\n }\n\n return collection;\n }", "public String getSearchFields(Class<?>[] cs){\r\n\t\tStringBuffer fields=new StringBuffer();\r\n\t\tSet<String> list=new HashSet<String>();\r\n\t\tfor (Class<?> c:cs){\r\n\t\t\tList<java.lang.reflect.Field> map = ReflectUtil.getFieldMap(c);\r\n\t\t\tfor (java.lang.reflect.Field fld: map) {\r\n\t\t\t\tString name=getFieldName(fld);\r\n\t\t\t\tif (name==null) continue;\r\n\t\t\t\tif ((fld.getModifiers()&128)!=0) continue; //transient\r\n\t\t\t\tif (!list.contains(name)) list.add(name);\r\n\t\t\t}\r\n\t\t\t//System.out.println(\"SEARCHFIELD c=\"+c.getName()+\" fields=\"+list);\r\n\t\t}\r\n\t\tfor (String s:list){\r\n\t\t\tif (fields.length()>0) fields.append(\",\");\r\n\t\t\tfields.append(s);\r\n\t\t}\r\n\t\t\r\n\t\treturn fields.toString();\r\n\t}", "Class<F> getFieldsClass();", "com.google.protobuf.ByteString\n getFieldsBytes();", "@Override\n protected List<FieldInfo> getListData()\n {\n // if is an array (we potentially will compress the array if it is\n // large)\n if (obj.isArray()) {\n return compressArrayList(obj);\n }\n else {\n List<DebuggerField> fields = obj.getFields();\n List<FieldInfo> fieldInfos = new ArrayList<FieldInfo>(fields.size());\n for (DebuggerField field : fields) {\n if (! Modifier.isStatic(field.getModifiers())) {\n String desc = Inspector.fieldToString(field);\n String value = field.getValueString();\n fieldInfos.add(new FieldInfo(desc, value));\n }\n }\n return fieldInfos;\n }\n }", "@Override\n public Iterator<Value> iterator()\n {\n return values.iterator();\n }", "public List<String> showFields() {\n Client client = new Client();\n Class<?> objFields = client.getClass();\n List<String> list = new ArrayList<>();\n for (Field field : objFields.getDeclaredFields()) {\n list.add(field.getName());\n }\n return list;\n }", "private List<Object> serializeActualCollectionMembers(AbstractPersistentCollection collection)\r\n\t{\r\n\t\tList<Object> result = new ArrayList<Object>();\r\n\t\tif (!collection.wasInitialized())\r\n\t\t{\r\n\t\t\tcollection.forceInitialization();\r\n\t\t}\r\n\t\tIterator<Object> itr = collection.entries(null);\r\n\t\twhile (itr.hasNext())\r\n\t\t{\r\n\t\t\tObject next = itr.next();\r\n\t\t\tObject newObj = serialize(next);\r\n\t\t\tresult.add(newObj);\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "@Override\n public List<MappedField<?>> getAttributes() {\n return attributes;\n }", "@Override\n public Field getFields(int index) {\n return fields_.get(index);\n }", "public Set<FieldInfo> getKeyFieldInfos() {\n return new LinkedHashSet<FieldInfo>(_keys);\n }", "@DISPID(-4)\n @PropGet\n java.util.Iterator<Com4jObject> iterator();", "public Iterator<JacksonJrValue> elements() {\n return _values.iterator();\n }", "public Iterator<V> values();", "public Iterator<V> values();", "public Iterator getIterator() {\n return myElements.iterator();\n }", "Serializable retrieveAllData();", "@Override public Iterator<MetaExample<L>> iterator();", "public String[] getAllFilledAnnotationFields();", "public Iterator<OpenERPRecord> iterator() {\r\n\t\treturn records.iterator();\r\n\t}", "java.util.List<? extends com.sagas.meta.model.MetaFieldDataOrBuilder> \n getFieldsOrBuilderList();", "public Iterator<Entry<Integer, HashMap<String, Double>>> iterator() {\r\n\t\treturn structure.entrySet().iterator();\r\n\t}", "@Override\r\n\tpublic Iterator<TableEntry<K, V>> iterator() {\r\n\t\treturn new IteratorImpl();\r\n\t}", "private static void introspectFields(BeanScanner introspector, Class<?> clazz) {\n if (clazz.getModule() != BeanScanner.JAVA_BASE_MODULE) {\n // Recursively call into superclass, before processing own fields\n introspectFields(introspector, clazz.getSuperclass());\n\n // We are never going to sort here. It only makes sense\n // to sort fields that have hooks\n\n // Iterate over all declared fields\n for (Field field : clazz.getDeclaredFields()) {\n FieldScan.introspectField(introspector, field);\n }\n\n // Maybe store things directly in BeanScannerExtension\n }\n }", "List<Pair<String, Value>> fields();", "public native IterableIterator<V> values();", "default <T> T getAllFields(T object) {\n Field[] fields = object.getClass().getDeclaredFields();\n\n for (Field field : fields) {\n field.setAccessible(true);\n\n if (Modifier.isStatic(field.getModifiers())) continue;\n if (Modifier.isTransient(field.getModifiers())) continue;\n\n if (!contains(field.getName())) continue;\n\n try {\n if (field.getType().equals(double.class)) {\n if (!isNumber(field.getName())) continue;\n field.setDouble(object, getDouble(field.getName()));\n } else if (field.getType().equals(float.class)) {\n if (!isNumber(field.getName())) continue;\n field.setFloat(object, (float) getDouble(field.getName()));\n } else if (field.getType().equals(int.class)) {\n if (!isNumber(field.getName())) continue;\n field.setInt(object, getInt(field.getName()));\n } else if (field.getType().equals(boolean.class)) {\n if (!isBoolean(field.getName())) continue;\n field.setBoolean(object, getBoolean(field.getName()));\n } else if (field.getType().equals(long.class)) {\n if (!isNumber(field.getName())) continue;\n field.setLong(object, getLong(field.getName()));\n } else if (field.getType().equals(short.class)) {\n if (!isNumber(field.getName())) continue;\n field.setShort(object, (short) getInt(field.getName()));\n } else if (field.getType().equals(byte.class)) {\n if (!isNumber(field.getName())) continue;\n field.setByte(object, (byte) getInt(field.getName()));\n } else {\n Object newValue = getType(field.getName(), field.getType());\n if (newValue == null) continue;\n\n field.set(object, newValue);\n }\n\n } catch (IllegalAccessException e) {\n //This should not happen hopefully.\n e.printStackTrace();\n }\n }\n\n return object;\n }", "public List<Field> getAllTheFields(Class<?> aSourceClass) {\n\t\tList<Field> result = new ArrayList<Field>();\n\t\tthis.getAllFields(aSourceClass, result);\n\t\treturn result;\n\t}", "public final Iterator<PropertyDeclaration> getDeclarationIterator()\n {\n final Type superType = getSuperClass();\n\n return new FilterIterator(declarations.values().iterator(), new Predicate()\n {\n public boolean evaluate(Object object)\n {\n return superType.getProperty(((PropertyDeclaration)object).getName()) == null;\n }\n });\n }", "Field getFields(int index);", "public Iterable<E> getData(){\n return new Iterable<E>(){\n @Override\n public Iterator<E> iterator() {\n return structure.iterator();\n }\n };\n }", "java.lang.String getFields();", "protected Collection<Field> getAnnotatedFields(Class<?> clazz, Class<? extends Annotation> annotationType) {\n\t\tMap<String, Field> fields = new TreeMap<String, Field>();\n\t\tfor(Field f: clazz.getFields()) {\n\t\t\tAnnotation ann = f.getAnnotation(annotationType);\n\t\t\tif(ann==null) continue;\n\t\t\tfields.put(getFieldDescriptor(f), f);\n\t\t}\n\t\tfor(Field f: clazz.getDeclaredFields()) {\n\t\t\tAnnotation ann = f.getAnnotation(annotationType);\n\t\t\tif(ann==null) continue;\n\t\t\tfields.put(getFieldDescriptor(f), f);\t\t\t\n\t\t}\n\t\treturn fields.values();\n\t}", "java.util.List<com.sagas.meta.model.MetaFieldData> \n getFieldsList();", "Fields fields();", "public FieldDescriptor[] getFields() {\n int size = attributeDescriptors.size();\n size += elementDescriptors.size();\n if (contentDescriptor != null) ++size;\n\n FieldDescriptor[] fields = new FieldDescriptor[size];\n int c = 0;\n for (int i = 0; i < attributeDescriptors.size(); i++)\n fields[c++] = (FieldDescriptor) attributeDescriptors.get(i);\n\n for (int i = 0; i < elementDescriptors.size(); i++)\n fields[c++] = (FieldDescriptor) elementDescriptors.get(i);\n\n if (contentDescriptor != null)\n fields[c] = contentDescriptor;\n\n return fields;\n }", "@Override\n public List<BaiseeClazz> findAllClazzInfo() {\n return claMapper.findAllClazzInfo();\n }", "public Iterator<String> getProperties() {\n List<String> list = Collections.emptyList();\n return list.iterator();\n }", "public static Field[] getInstanceVariables(Class<?> cls) {\n List<Field> accum = new LinkedList<>();\n while (cls != null) {\n Field[] fields = cls.getDeclaredFields();\n for (Field field : fields) {\n if (!Modifier.isStatic(field.getModifiers())) {\n accum.add(field);\n }\n }\n cls = cls.getSuperclass();\n }\n Field[] retvalue = new Field[accum.size()];\n return accum.toArray(retvalue);\n }", "public Vector<Object> getFieldContents(String fieldname) {\r\n\t\treturn getFieldContents(fieldname, false);\r\n\t}", "com.sagas.meta.model.MetaFieldData getFields(int index);", "@SuppressWarnings(\"unchecked\")\r\n public Iterator<Tuple<T>> iterator() {\n Iterator<Tuple<T>> fi = (Iterator<Tuple<T>>) new FilteredIterator<T>(resultTable.iterator(), filterOn);\r\n return fi;\r\n }", "public Iterator<String> listProperties(String ontClass)\r\n\t{\r\n\t\tOntClass ontR = obtainOntClass(ontClass);\r\n\t\treturn new ToStringIterator<String>(ontR.listDeclaredProperties());\r\n\t}", "public Iterable<MapElement> elements() {\n return new MapIterator() {\n\n @Override\n public MapElement next() {\n return findNext(true);\n }\n \n };\n }" ]
[ "0.8220291", "0.6680851", "0.6071511", "0.5996325", "0.5936199", "0.58033603", "0.56604564", "0.5647544", "0.5631141", "0.5621958", "0.56143576", "0.56098723", "0.5590536", "0.55677783", "0.5533479", "0.55255663", "0.547447", "0.54624015", "0.54413235", "0.54089355", "0.5387019", "0.5367717", "0.5357452", "0.53498644", "0.53293115", "0.5325287", "0.5320401", "0.5305238", "0.5304402", "0.5302404", "0.529521", "0.5280183", "0.5263026", "0.52305514", "0.52297896", "0.52134925", "0.52058786", "0.519008", "0.5184115", "0.51746583", "0.5162139", "0.5152948", "0.51498467", "0.5138893", "0.5134829", "0.5129255", "0.51206756", "0.51202965", "0.5115566", "0.510491", "0.5104256", "0.5094146", "0.50907296", "0.5090469", "0.5090448", "0.5090346", "0.5085123", "0.50731325", "0.5051576", "0.50442815", "0.50423646", "0.5026401", "0.50167185", "0.5008253", "0.50067353", "0.50051475", "0.50037813", "0.49994352", "0.4992377", "0.49904275", "0.49904275", "0.49899176", "0.49837923", "0.49798447", "0.4978097", "0.49765232", "0.49726933", "0.4969432", "0.4968332", "0.49658617", "0.49628776", "0.4958298", "0.4956324", "0.49546334", "0.49505988", "0.49466968", "0.4943828", "0.49408072", "0.4938137", "0.4935346", "0.4934211", "0.49165857", "0.49111775", "0.49098974", "0.49093646", "0.49027824", "0.48946217", "0.4893866", "0.48874268", "0.48850614" ]
0.82130384
1
Returns an specific field of some class. If definedIn is null, it searchs for the field named 'name' inside the class cls. If definedIn is different than null, tries to find the specified field name in the specified class cls which should be defined in class definedIn (either equals cls or a one of it's superclasses)
public Field field(Class cls, String name, Class definedIn) { Map fields = buildMap(cls, definedIn != null); Field field = (Field) fields.get(definedIn != null ? (Object) new FieldKey(name, definedIn, 0) : (Object) name); if (field == null) { throw new ObjectAccessException("No such field " + cls.getName() + "." + name); } else { return field; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Field field(Class cls, String name, Class definedIn) {\n Map fields = buildMap(cls, definedIn != null);\n Field field = (Field)fields.get(definedIn != null ? (Object)new FieldKey(\n name, definedIn, 0) : (Object)name);\n if (field == null) {\n throw new ObjectAccessException(\"No such field \" + cls.getName() + \".\" + name);\n } else {\n return field;\n }\n }", "private static Field getField(Class<?> clazz, String fieldToFind)\n throws SecurityException, NoSuchFieldException {\n Class<?> type = clazz;\n Field field = null;\n do {\n Field[] fields = type.getDeclaredFields();\n for (Field f : fields) {\n boolean isFieldFound = f.getName().equals(fieldToFind);\n if (isFieldFound) {\n field = type.getDeclaredField(fieldToFind);\n break;\n }\n }\n if (field == null) {\n type = type.getSuperclass();\n if (type == null) {\n throw new NoSuchFieldException(fieldToFind\n + \" not found in Class \" + clazz.getCanonicalName());\n }\n }\n } while (field == null);\n return field;\n }", "public static Field findField(Class<?> cls, String name) throws NoSuchFieldException {\n if (cls != null) {\n try {\n return cls.getDeclaredField(name);\n } catch (NoSuchFieldException e) {\n return findField(cls.getSuperclass(), name);\n }\n } else {\n throw new NoSuchFieldException();\n }\n }", "public static Field getField(Class<?> clazz, String name) {\n if (clazz != null) {\n Field field = null;\n try {\n field = clazz.getDeclaredField(name);\n } catch (Exception e) {}\n\n if (field == null) {\n clazz = clazz.getSuperclass();\n if (Object.class != clazz) {\n return getField(clazz, name);\n }\n }\n return field;\n } else {\n return null;\n }\n }", "public Field findField(Inspector insp, Class<?> clazz, String fieldName)\n\t\t\tthrows FieldNotFoundException, InvalidOptionException {\n\t\tMap<String, Field> fields = ReflectionHelper.findAllFields(clazz,\n\t\t\t\tfieldName);\n\t\tField field;\n\t\tif (fields.size() == 0) {\n\t\t\tthrow new FieldNotFoundException(fieldName);\n\t\t} else if (fields.size() == 1) {\n\t\t\t// get the only element of the map\n\t\t\tfield = fields.values().iterator().next();\n\t\t} else {\n\t\t\t// ask user to chose the which shadowed field is to be inspected\n\t\t\tfield = this.askFieldFromUser(insp, fields);\n\t\t}\n\t\treturn field;\n\t}", "public static Field getField (Class c, String name)\n\t\tthrows NoSuchFieldException\n\t{\n\t\tField f = null;\n\t\t\n\t\twhile (null != c && null == f)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tf = c.getDeclaredField(name);\n\t\t\t}\n\t\t\tcatch (NoSuchFieldException e)\n\t\t\t{\n\t\t\t\tc = c.getSuperclass();\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (null == f)\n\t\t{\n\t\t\tthrow new NoSuchFieldException (\n\t\t\t\t\"Could not find field \" + name\n\t\t\t);\n\t\t}\n\t\t\n\t\treturn f;\n\t}", "public Fw getFieldByName(Class<?> aClass, String aFieldname) {\n\t\tList<Field> classFields = Arrays.asList(aClass.getDeclaredFields());\n\t\tfor (Field fld : this.getAllTheFields(aClass)) {\n\t\t\tif (fld.getName().equals(aFieldname))\n\t\t\t\treturn this.makeFw(fld, aClass, !classFields.contains(fld));\n\t\t}\n\t\treturn null;\n\t}", "@SuppressWarnings(\"unchecked\")\n public static Optional<FieldInfo> findField(ClassPath path,\n ClassDescriptor clazz,\n BiPredicate<ClassNode, FieldNode> condition) {\n return find(path,\n path.findClass(clazz).get(),\n cn -> ((List<FieldNode>) cn.fields)\n .stream()\n .filter(fn -> condition.test(cn, fn))\n .map(fn -> new FieldInfo(new ClassDescriptor(cn.name),\n FieldDescriptor.create(fn.name, fn.desc)))\n .findFirst());\n }", "private static Field getField(final Class clazz, final String fieldName) {\n try {\n return clazz.getDeclaredField(fieldName);\n } catch (NoSuchFieldException e) {\n if (clazz != Object.class) {\n return getField(clazz.getSuperclass(), fieldName);\n }\n fail(\"Field [\" + fieldName + \"] does not exist.\");\n }\n return null;\n }", "public String getField(String className, String fieldName, String fieldDescriptor) {\n if (!classFilter.contains(className)) return null;\n\n // Don't remap inherited fields, their name is inherited from the parent's mapping\n for (String superclass : inheritanceProvider.getAllSuperclasses(className)) {\n if (inheritanceProvider.getInheritableFields(superclass).contains(new MemberRef(fieldName, fieldDescriptor))) {\n return null;\n }\n }\n\n String result = super.getField(className, fieldName, fieldDescriptor);\n if (result == null) {\n result = \"field\" + fieldIndex++;\n addField(className, fieldName, fieldDescriptor, result);\n }\n return result;\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "@SuppressWarnings(\"ConstantConditions\")\n public static <T> FieldAccessor<T> getField(Class<?> target, String name)\n {\n return getField(target, name, true);\n }", "public static _Fields findByName(java.lang.String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }" ]
[ "0.7747627", "0.6291131", "0.6193785", "0.61877984", "0.5832251", "0.57991177", "0.57859343", "0.570936", "0.5689922", "0.5644339", "0.5632895", "0.5632895", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.55703837", "0.5569003", "0.55522656", "0.55484", "0.55484", "0.55484", "0.55484", "0.55484", "0.55484", "0.55484", "0.55484", "0.55484", "0.55484", "0.55484", "0.55484" ]
0.77354455
1
init the drive sdk witch application Context and HwId Account info(uid,countryCode,at), register a AccessMethod to get a new accessToken while accessToken is expired.
public int init(String unionID, String at, DriveCredential.AccessMethod refreshAT) { if (StringUtils.isNullOrEmpty(unionID) || StringUtils.isNullOrEmpty(at)) { return DriveCode.ERROR; } DriveCredential.Builder builder = new DriveCredential.Builder(unionID, refreshAT); mCredential = builder.build().setAccessToken(at); return DriveCode.SUCCESS; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Drive authentication() throws IOException {\n\t\t// Request a new access token using the refresh token.\n\t\tGoogleCredential credential = new GoogleCredential.Builder()\n\t\t\t\t.setTransport(HTTP_TRANSPORT)\n\t\t\t\t.setJsonFactory(JSON_FACTORY)\n\t\t\t\t.setClientSecrets(CLIENT_ID, CLIENT_SECRET).build()\n\t\t\t\t.setFromTokenResponse(new TokenResponse().setRefreshToken(REFRESH_TOKEN));\n\t\tcredential.refreshToken();\n\t\treturn new Drive.Builder(HTTP_TRANSPORT, JSON_FACTORY, credential)\n\t\t\t\t.setApplicationName(\"tp3\").build();\n\t}", "public GoogleAuthHelper() {\n\t\t\n\t\tLoadType<ClientCredentials> credentials = ofy().load().type(ClientCredentials.class);\n\t\t\n\t\tfor(ClientCredentials credential : credentials) {\n\t\t\t// static ClientCredentials credentials = new ClientCredentials();\n\t\t\tCALLBACK_URI = credential.getCallBackUri();\n\t\t\tCLIENT_ID = credential.getclientId();\n\t\t\tCLIENT_SECRET = credential.getClientSecret();\n\t\t}\n\t\t\n\t\tflow = new GoogleAuthorizationCodeFlow.Builder(HTTP_TRANSPORT,\n\t\t\t\tJSON_FACTORY, CLIENT_ID, CLIENT_SECRET, SCOPE).setAccessType(\n\t\t\t\t\"offline\").build();\n\t\tgenerateStateToken();\n\t}", "private void retrieveAccessToken() {\n Log.d(TAG, \"at retreiveAccessToken\");\n String accessURL = TWILIO_ACCESS_TOKEN_SERVER_URL + \"&identity=\" + \"1234\" + \"a\";\n Log.d(TAG, \"accessURL \" + accessURL);\n Ion.with(this).load(accessURL).asString().setCallback(new FutureCallback<String>() {\n @Override\n public void onCompleted(Exception e, String accessToken) {\n if (e == null) {\n Log.d(TAG, \"Access token: \" + accessToken);\n MainActivity.this.accessToken = accessToken;\n registerForCallInvites();\n } else {\n Toast.makeText(MainActivity.this,\n \"Error retrieving access token. Unable to make calls\",\n Toast.LENGTH_LONG).show();\n Log.d(TAG, e.toString());\n }\n }\n });\n }", "private void initializeHERESDK() {\n String accessKeyID = \"YOUR_ACCESS_KEY_ID\";\n String accessKeySecret = \"YOUR_ACCESS_KEY_SECRET\";\n SDKOptions options = new SDKOptions(accessKeyID, accessKeySecret);\n try {\n Context context = getApplicationContext();\n SDKNativeEngine.makeSharedInstance(context, options);\n } catch (InstantiationErrorException e) {\n throw new RuntimeException(\"Initialization of HERE SDK failed: \" + e.error.name());\n }\n }", "@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)\n @Override\n public void authenticate() throws CloudStorageAuthenticationError {\n final AccountManager am = AccountManager.get(context);\n\n if (am == null) {\n System.err.println(\"Could not retrieve Google Drive Account manager\");\n throw new CloudStorageAuthenticationError();\n }\n\n //find the account by name\n Account acf = null;\n for (Account acc : am.getAccounts()) {\n if (acc.name.equals(accountName)) {\n acf = acc;\n break;\n }\n }\n final Account account = acf;\n\n if (acf == null) {\n System.err.println(\"No Google account \" + accountName + \" found\");\n throw new CloudStorageAuthenticationError();\n } else {\n Thread thread = new Thread(new Runnable() {\n @Override\n public void run() {\n try {\n final String token = am.blockingGetAuthToken(account, //get the first available google account\n \"oauth2:\" + DriveScopes.DRIVE, true);\n\n HttpTransport httpTransport = new NetHttpTransport();\n JacksonFactory jsonFactory = new JacksonFactory();\n Drive.Builder b = new Drive.Builder(httpTransport, jsonFactory, null);\n b.setDriveRequestInitializer(new DriveRequestInitializer() {\n @Override\n public void initializeDriveRequest(DriveRequest request) throws IOException {\n DriveRequest driveRequest = request;\n driveRequest.setPrettyPrint(true);\n driveRequest.setKey(APP_KEY);\n driveRequest.setOauthToken(token);\n }\n });\n\n drive = b.build();\n } catch (OperationCanceledException e) {\n drive = null;\n System.err.println(\"Could not complete operation\");\n } catch (IOException e) {\n drive = null;\n System.err.println(\"I/O exception\");\n } catch (AuthenticatorException e) {\n drive = null;\n System.err.println(\"Could not authenticate\");\n }\n\n synchronized (authenticationComplete) {\n authenticationComplete.notify();\n }\n }\n });\n //start the authentication thread\n thread.start();\n\n //wait for the authentication to complete\n synchronized (authenticationComplete) {\n try {\n authenticationComplete.wait();\n } catch (InterruptedException e) {\n }\n }\n\n }\n\n }", "@Override\r\n\tpublic void initSDK(Context _in_context, String _in_data) {\n\t\tTypeSDKLogger.e(\"initSDK\");\r\n\t\tappContext = _in_context;\r\n\t\tappActivity = (Activity) appContext;\r\n\t\tif (isInit) {\r\n\t\t\tTypeSDKLogger.e(\"sdk is already init\");\r\n\t\t\tTypeSDKNotify_youku notify = new TypeSDKNotify_youku();\r\n\t\t\tnotify.Init();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.youkuInit();\r\n\t\t\r\n\t}", "void setAccessToken(String accessToken);", "@Override\n public void authenticate() throws IOException, BadAccessIdOrKeyException {\n try{\n HttpPost post = new HttpPost(Constants.FRGXAPI_TOKEN);\n List<NameValuePair> params = new ArrayList<>();\n params.add(new BasicNameValuePair(\"grant_type\", \"apiAccessKey\"));\n params.add(new BasicNameValuePair(\"apiAccessId\", accessId));\n params.add(new BasicNameValuePair(\"apiAccessKey\", accessKey));\n post.setEntity(new UrlEncodedFormEntity(params, \"UTF-8\"));\n\n HttpResponse response = client.execute(post);\n String a = response.getStatusLine().toString();\n\n if(a.equals(\"HTTP/1.1 400 Bad Request\")){\n throw (new BadAccessIdOrKeyException(\"Bad Access Id Or Key\"));\n }\n HttpEntity entity = response.getEntity();\n String responseString = EntityUtils.toString(response.getEntity());\n\n JsonParser jsonParser = new JsonParser();\n JsonObject jo = (JsonObject) jsonParser.parse(responseString);\n if(jo.get(\"access_token\") == null){\n throw new NullResponseException(\"The Access Token you get is null.\");\n }\n String accessToken = jo.get(\"access_token\").getAsString();\n List<Header> headers = new ArrayList<>();\n headers.add(new BasicHeader(HttpHeaders.CONTENT_TYPE, \"application/json\"));\n headers.add(new BasicHeader(\"Authorization\", \"Bearer \" + accessToken));\n\n client = HttpClients.custom().setDefaultHeaders(headers).build();\n } catch (NullResponseException e) {\n System.out.println(e.getMsg());\n }\n }", "private void requestToken(){\n APIAuth auth = new APIAuth(this.prefs.getString(\"email\", \"\"), this.prefs.getString(\"password\", \"\"), this.prefs.getString(\"fname\", \"\") + \" \" +this.prefs.getString(\"lname\", \"\"), this.prefs, null);\n auth.authenticate();\n }", "public void retrieveAccessToken(Context context) {\n PBookAuth mPBookAuth = mApplicationPreferences.getPBookAuth();\n if (mPBookAuth == null || TextUtils.isEmpty(mPBookAuth.getClientName())) {\n view.onReturnAccessToken(null, false);\n return;\n }\n Ion.with(context).load(ACCESS_TOKEN_SERVICE_URL).setBodyParameter(\"client\", mPBookAuth.getClientName()).setBodyParameter(\"phoneNumber\", mPBookAuth.getPhoneNumber()).setBodyParameter(\"platform\", PLATFORM_KEY).asString().setCallback(new FutureCallback<String>() {\n @Override\n public void onCompleted(Exception e, String accessToken) {\n if (e == null || !TextUtils.isEmpty(accessToken)) {\n mApplicationPreferences.setTwilioToken(accessToken);\n view.onReturnAccessToken(accessToken, true);\n } else {\n view.onReturnAccessToken(accessToken, false);\n }\n }\n });\n }", "@Override\n\tpublic void initApp() throws IOException {\n\t\tdepositAccountInitService.initConfigData();\n\t}", "private void initializeAuthorizationData() {\n\t\tOAuthDesktopMobileAuthCodeGrant oAuthDesktopMobileAuthCodeGrant = new OAuthDesktopMobileAuthCodeGrant(adsProperties.getProperty(\"api.bing.clientId\", ClientId));\r\n\t\toAuthDesktopMobileAuthCodeGrant.requestAccessAndRefreshTokens(adsProperties.getProperty(\"api.bing.refreshToken\"));\r\n\t\tauthorizationData = new AuthorizationData();\r\n\t\tauthorizationData.setDeveloperToken(adsProperties.getProperty(\"api.bing.developerToken\", DeveloperToken));\r\n\t\tauthorizationData.setAuthentication(oAuthDesktopMobileAuthCodeGrant);\r\n\t\tString customerId = adsProperties.getProperty(\"api.bing.customerId\", CustomerId);\r\n\t\tauthorizationData.setCustomerId(Long.parseLong(customerId));\r\n\t\tString accountId = adsProperties.getProperty(\"api.bing.accountId\", AccountId);\r\n\t\tauthorizationData.setAccountId(Long.parseLong(accountId));\r\n\t}", "@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tgetAccessTokenFromGoogle(code);\n\t\t\t\t\t}", "public static void setAccessToken(String accessToken) {\n }", "@Override\n public void onCreate() {\n super.onCreate();\n //是不是第一次打开此app\n// initSplashed();\n //缓存文件\n// initCache();\n\n// initUser();\n\n// initAccessToken();\n }", "public static void init() {\n client = new OkHttpClient();\n\n //Construct a HTTP builder\n retrofit = new Retrofit.Builder()\n .client(client)\n .baseUrl(apiAddress)\n .addConverterFactory(GsonConverterFactory.create())\n .build();\n\n //Form an API to receive a token\n kedronService = retrofit.create(IKedronService.class);\n }", "@Override\r\n\tpublic void initSDK(Context _in_context, String _in_data) {\n\t\tTypeSDKLogger.e( \"initSDK\");\r\n\t\tappContext = _in_context;\r\n\t\tappActivity = (Activity) appContext;\r\n\t\t\r\n\t\tBundle bundle = new Bundle();\r\n\t\tIntent intent = new Intent();\r\n\r\n\t\tintent.setClass(_in_context, TypeSDKSplash.class);\r\n\t\tintent.putExtras(bundle);\r\n\t\t_in_context.startActivity(intent);\r\n\t\t\r\n\t\tif(TypeSDKTool.isScreenOriatationPortrait(appContext)){\r\n\t\t\tisLandscape = false;\r\n\t\t}\r\n\t\t\r\n\t\tisDebug = TypeSDKTool.isPayDebug;\r\n\t\tif (isInit) {\r\n\t\t\tTypeSDKLogger.e( \"sdk is already init\");\r\n\t\t\tTypeSDKNotify_haima notify = new TypeSDKNotify_haima();\r\n\t\t\tnotify.Init();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.haimaInit();\r\n\t\t\r\n\t}", "@Override\n\tpublic void run() {\n\t\ttry {\n\t\t\tAccountService accountService = (AccountService)BeanUtil.getBeanByName(\"accountService\");\n\t\t} catch (Exception e2) {\n\t\t\t\n\t\t\te2.printStackTrace();\n\t\t}\n\t\t//获取不了accountService\n\t\ttry {\n\t\t\t\n\t\t\tAccount account = new Account();\n\t\t\t\n\t\t\taccount.setAppId(Keys.APP_ID);\n\t\t\taccount.setAppSecret(Keys.APP_SECRET);\n\t\t\taccount.setName(\"中国好电工\");\n\t\t\tAccessToken accessToken = new AccessToken();\n\t\t\tint count = 0;\n\t\t\twhile (true) {\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\taccessToken = WeChatUtil.createAccessToKen(account.getAppId(), account.getAppSecret());\n\t\t\t\tif(!\"\".equals(accessToken.getAccessToken()) && accessToken.getAccessToken()!= null )\n\t\t\t\t{\n\t\t\t\t\tString ticket=\"\";\n\t\t\t\t\tString url2 = \"https://api.weixin.qq.com/cgi-bin/ticket/getticket\";//请求URL\n\t\t\t\t\tString data2 = \"access_token=\"+accessToken.getAccessToken()+\"&type=jsapi\";//设置参数\n\t\t\t\t\tJSONObject jsonObject2 = WeChatUtil.httpRequest(url2, data2);\n\t\t\t\t\tif(\"ok\".equals(jsonObject2.getString(\"errmsg\"))){\n\t\t\t\t\t\tticket=jsonObject2.getString(\"ticket\");\n\t\t\t\t\t}\n\t\t\t\t\tWeChatUtil.updateAccessToKen(account.getAppId(), account.getAppSecret());\n\t\t\t\t\t////System.out.println(\"公众账号: \"+account.getName()+\" 获取access_token成功,有效时长秒 token:\"+ accessToken.getExpiresIn());\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\t//System.out.println(\"TokenThread 获取access_token失败!\");\n\t\t\t\t}\n\t\t\t\n\t\t\tThread.sleep(7200 * 1000);\n\t\t\t////System.out.println(\"重新获取access_token!\");\n\t\t\t\t\t\t\n\t\t\t}\t\n\t\t\t\t\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tThread.sleep(50 * 1000);\n\t\t\t\t\t} catch (InterruptedException e1) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//System.out.println(\"error\"+ e);\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} \n\t\t\n\t}", "void setOAuthAccessToken(AccessToken accessToken);", "@Override\n protected Void doInBackground(Void... _) {\n Bundle appActivities = new Bundle();\n String scopes = \"oauth2:email profile\";\n Context cxt = DSUAccountAuthActivity.this;\n try {\n String accountName = Plus.AccountApi.getAccountName(mGoogleApiClient);\n String googleAccessToken = GoogleAuthUtil.getToken(\n DSUAccountAuthActivity.this, // Context context\n accountName, // String accountName\n scopes, // String scope\n appActivities // Bundle bundle\n );\n Bundle options = DSUAccountAuthActivity.this.getIntent().getBundleExtra(\"options\");\n DSUClient client = DSUClient.getDSUClientFromOptions(options, DSUAccountAuthActivity.this);\n\n Response response = client.signin(googleAccessToken);\n // clear token and default account from cache immediately to avoid stable state in the future\n GoogleAuthUtil.clearToken(DSUAccountAuthActivity.this, googleAccessToken);\n Plus.AccountApi.clearDefaultAccount(mGoogleApiClient);\n\n String responseBody = \"\";\n if (response != null && response.isSuccessful()) {\n try {\n responseBody = response.body().string();\n // use the google access token to sign in the dsu\n JSONObject token = new JSONObject(responseBody);\n final String accessToken = token.getString(DSUAuth.ACCESS_TOKEN_TYPE);\n final String refreshToken = token.getString(DSUAuth.REFRESH_TOKEN_TYPE);\n // Get an instance of the Android account manager\n AccountManager accountManager = (AccountManager) getSystemService(ACCOUNT_SERVICE);\n final Account account = DSUAuth.getDefaultAccount(cxt);\n // set options bundle as the userdata\n accountManager.addAccountExplicitly(account, null, options);\n\n // make the account syncable and automatically synced\n // TODO JARED: this is only used to access the SyncAdapter. Do we want to make it generic?\n // TODO ANDY: I make authorities to be string value in the xml configuration\n String providerAuthorities = DSUAuth.getDSUProviderAuthorities(cxt);\n ContentResolver.setIsSyncable(account, providerAuthorities, 1);\n ContentResolver.setSyncAutomatically(account, providerAuthorities, true);\n ContentResolver.setMasterSyncAutomatically(true);\n\n accountManager.setAuthToken(account, DSUAuth.ACCESS_TOKEN_TYPE, accessToken);\n accountManager.setAuthToken(account, DSUAuth.REFRESH_TOKEN_TYPE, refreshToken);\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Intent i = new Intent();\n i.putExtra(AccountManager.KEY_ACCOUNT_NAME, account.name);\n i.putExtra(AccountManager.KEY_ACCOUNT_TYPE, account.type);\n DSUAccountAuthActivity.this.setAccountAuthenticatorResult(i.getExtras());\n setResult(RESULT_OK);\n finish();\n }\n });\n } catch (JSONException e) {\n Log.e(TAG, \"Fail to parse response from google-sign-in endpoint:\" + responseBody, e);\n onDsuAuthFailed(INVALID_ACCESS_TOKEN);\n }\n } else {\n Log.e(TAG, \"Failed to sign in: \" + responseBody);\n onDsuAuthFailed(FAILED_TO_SIGN_IN);\n }\n\n // ** Step 3. Check Returned Access Tokens **\n\n } catch (UserRecoverableAuthException e) {\n // Requesting an authorization code will always throw\n // UserRecoverableAuthException on the first call to GoogleAuthUtil.getToken\n // because the user must consent to offline access to their data. After\n // consent is granted control is returned to your activity in onActivityResult\n // and the second call to GoogleAuthUtil.getToken will succeed.\n DSUAccountAuthActivity.this.startActivityForResult(e.getIntent(), AUTH_CODE_REQUEST_CODE);\n\n } catch (Exception e) {\n Log.e(TAG, \"Failed to sign in\", e);\n onDsuAuthFailed(FAILED_TO_SIGN_IN);\n }\n return null;\n }", "private AppAuth() {\n }", "private static String getAccessToken() throws IOException {\n\t\t \t\n\t\t GoogleCredential googleCredential = GoogleCredential\n\t .fromStream(new FileInputStream(path))\n\t .createScoped(Arrays.asList(SCOPES));\n\t\t \tgoogleCredential.refreshToken();\n\t\t \treturn googleCredential.getAccessToken();\n\t}", "private void connectToApp(Business business){\n\n HashMap<String, String> connect = new HashMap<>();\n connect.put(\"email\",business.getEmail()) ;\n connect.put(\"password\",business.getPassword());\n Call<String[]> call = rtfBase.connect(connect); //we get token and id\n call.enqueue(new Callback<String[]>() {\n @Override\n public void onResponse(Call<String[]> call, Response<String[]> response) {\n if(response.code() == 200)\n {\n assert response.body() != null;\n // business.setToken(response.body()[0]);\n // business.setId(response.body()[1]);\n\n TOKEN=response.body()[0];\n ID=response.body()[1];\n Toast.makeText(RegisterNewBusiness.this, \"registered successfully\",Toast.LENGTH_LONG).show();\n\n GetUser();\n\n\n }\n if(response.code() == 400)\n {\n Toast.makeText(RegisterNewBusiness.this, \"fail to connect\",Toast.LENGTH_LONG).show();\n\n }\n if(response.code() == 401)\n {\n Toast.makeText(RegisterNewBusiness.this, \"Email or password invalid\",Toast.LENGTH_LONG).show();\n\n }\n }\n\n @Override\n public void onFailure(Call<String[]> call, Throwable t) {\n Toast.makeText(RegisterNewBusiness.this,t.getMessage(),Toast.LENGTH_LONG).show();\n\n }\n });\n\n }", "@Override\n public OAuthApplicationInfo mapOAuthApplication(OAuthAppRequest appInfoRequest)\n throws APIManagementException {\n\n //initiate OAuthApplicationInfo\n OAuthApplicationInfo oAuthApplicationInfo = appInfoRequest.getOAuthApplicationInfo();\n\n String consumerKey = oAuthApplicationInfo.getClientId();\n String tokenScope = (String) oAuthApplicationInfo.getParameter(\"tokenScope\");\n String[] tokenScopes = new String[1];\n tokenScopes[0] = tokenScope;\n String clientSecret = (String) oAuthApplicationInfo.getParameter(\"client_secret\");\n oAuthApplicationInfo.setClientSecret(clientSecret);\n //for the first time we set default time period.\n oAuthApplicationInfo.addParameter(ApplicationConstants.VALIDITY_PERIOD,\n getConfigurationParamValue(APIConstants.IDENTITY_OAUTH2_FIELD_VALIDITY_PERIOD));\n\n\n //check whether given consumer key and secret match or not. If it does not match throw an exception.\n org.wso2.carbon.apimgt.api.model.xsd.OAuthApplicationInfo info = null;\n try {\n info = getOAuthApplication(oAuthApplicationInfo.getClientId());\n if (!clientSecret.equals(info.getClientSecret())) {\n throw new APIManagementException(\"The secret key is wrong for the given consumer key \" + consumerKey);\n }\n\n } catch (Exception e) {\n handleException(\"Some thing went wrong while getting OAuth application for given consumer key \" +\n oAuthApplicationInfo.getClientId(), e);\n } \n if (info != null && info.getClientId() == null) {\n return null;\n }\n\n oAuthApplicationInfo.addParameter(\"tokenScope\", tokenScopes);\n oAuthApplicationInfo.setClientName(info.getClientName());\n oAuthApplicationInfo.setClientId(info.getClientId());\n oAuthApplicationInfo.setCallBackURL(info.getCallBackURL());\n oAuthApplicationInfo.setClientSecret(info.getClientSecret());\n oAuthApplicationInfo.setIsSaasApplication(info.getIsSaasApplication());\n\n try {\n JSONObject jsonObject = new JSONObject(info.getJsonString());\n\n if (jsonObject.has(ApplicationConstants.\n OAUTH_REDIRECT_URIS)) {\n oAuthApplicationInfo.addParameter(ApplicationConstants.\n OAUTH_REDIRECT_URIS, jsonObject.get(ApplicationConstants.OAUTH_REDIRECT_URIS));\n }\n\n if (jsonObject.has(ApplicationConstants.OAUTH_CLIENT_NAME)) {\n oAuthApplicationInfo.addParameter(ApplicationConstants.\n OAUTH_CLIENT_NAME, jsonObject.get(ApplicationConstants.OAUTH_CLIENT_NAME));\n }\n\n if (jsonObject.has(ApplicationConstants.OAUTH_CLIENT_GRANT)) {\n oAuthApplicationInfo.addParameter(ApplicationConstants.\n OAUTH_CLIENT_GRANT, jsonObject.get(ApplicationConstants.OAUTH_CLIENT_GRANT));\n }\n } catch (JSONException e) {\n handleException(\"Can not read information from the retrieved OAuth application\", e);\n }\n\n if (log.isDebugEnabled()) {\n log.debug(\"Creating semi-manual application for consumer id : \" + oAuthApplicationInfo.getClientId());\n }\n\n\n return oAuthApplicationInfo;\n }", "@Override\n protected void onResume() {\n super.onResume();\n if (mGoogleApiClient == null) {\n\n /**\n * Create the API client and bind it to an instance variable.\n * We use this instance as the callback for connection and connection failures.\n * Since no account name is passed, the user is prompted to choose.\n */\n mGoogleApiClient = new GoogleApiClient.Builder(this)\n .addApi(Drive.API)\n .addScope(Drive.SCOPE_FILE)\n .addConnectionCallbacks(this)\n .addOnConnectionFailedListener(this)\n .build();\n }\n\n mGoogleApiClient.connect();\n }", "void start(SignedObject accessToken) throws RemoteException, AuthenticationException;", "private void refreshAccessToken() throws IOException {\n\n if (clientId == null) fetchOauthProperties();\n\n URL url = new URL(tokenURI);\n\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"refresh_token\", refreshToken);\n params.put(\"client_id\", clientId);\n params.put(\"client_secret\", clientSecret);\n params.put(\"grant_type\", \"refresh_token\");\n\n String response = HttpUtils.getInstance().doPost(url, params);\n JsonParser parser = new JsonParser();\n JsonObject obj = parser.parse(response).getAsJsonObject();\n\n JsonPrimitive atprim = obj.getAsJsonPrimitive(\"access_token\");\n if (atprim != null) {\n accessToken = obj.getAsJsonPrimitive(\"access_token\").getAsString();\n expirationTime = System.currentTimeMillis() + (obj.getAsJsonPrimitive(\"expires_in\").getAsInt() * 1000);\n fetchUserProfile();\n } else {\n // Refresh token has failed, reauthorize from scratch\n reauthorize();\n }\n\n }", "void createExposedOAuthCredential(IntegrationClientCredentialsDetailsModel integrationCCD);", "void init() {\n CometUtils.printCometSdkVersion();\n validateInitialParams();\n this.connection = ConnectionInitializer.initConnection(\n this.apiKey, this.baseUrl, this.maxAuthRetries, this.getLogger());\n this.restApiClient = new RestApiClient(this.connection);\n // mark as initialized\n this.alive = true;\n }", "private static com.google.api.services.calendar.Calendar getCalendarService() throws IOException\n{\n Credential cred = authorize();\n com.google.api.services.calendar.Calendar.Builder bldr =\n new com.google.api.services.calendar.Calendar.Builder(HTTP_TRANSPORT,JSON_FACTORY,cred);\n bldr.setApplicationName(APPLICATION_NAME);\n\n com.google.api.services.calendar.Calendar cal = bldr.build();\n\n return cal;\n}", "public static void initialize(Context context) throws LogonCoreException {\n appContext = context;\n try {\n createOnlineManager(context);\n } catch (LogonCoreException e) {\n e.printStackTrace();\n }\n getTheData();\n }", "GoogleAuthenticatorKey createCredentials();", "void authorizeApplication(@Nullable String scope, @Nullable ResponseCallback<ApplicationAccessToken> callback);", "Lock getComponentAccessTokenLock();", "public void authorize(Context context, final VoidOperationCallback callback) {\n InstagramDialog.OAuthDialogListener listener = new InstagramDialog.OAuthDialogListener() {\n @Override\n public void onComplete(String code) {\n getAccessToken(code, new OperationCallback<User>() {\n @Override\n protected void onCompleted(User result) {\n // Store access token and user data\n mSession.storeAccessToken(result.getAccessToken(), result.getId(), result.getUsername(),\n result.getFullName());\n \n // Notify caller application\n callback.notifyCompleted();\n }\n \n @Override\n protected void onError(Exception error) {\n callback.notifyError(error);\n }\n });\n }\n \n @Override\n public void onError(String error) {\n callback.notifyError(new Exception(error));\n }\n };\n \n InstagramDialog dialog = new InstagramDialog(context, mAuthUrl, listener);\n dialog.show();\n }", "void initCognito() {\n Auth.Builder builder = new Auth.Builder().setAppClientId(getString(R.string.cognito_client_id))\n .setAppClientSecret(getString(R.string.cognito_client_secret))\n .setAppCognitoWebDomain(getString(R.string.cognito_web_domain))\n .setApplicationContext(getApplicationContext())\n .setAuthHandler(new callback())\n .setSignInRedirect(getString(R.string.app_redirect))\n .setSignOutRedirect(getString(R.string.app_redirect));\n this.auth = builder.build();\n appRedirect = Uri.parse(getString(R.string.app_redirect));\n }", "protected void initialize() {\n drivebase.engageOmni();\n }", "@Override\n public OAuthApplicationInfo createApplication(OAuthAppRequest oauthAppRequest) throws APIManagementException {\n OAuthApplicationInfo oAuthApplicationInfo = oauthAppRequest.getOAuthApplicationInfo();\n\n // Subscriber's name should be passed as a parameter, since it's under the subscriber the OAuth App is created.\n String userId = (String) oAuthApplicationInfo.getParameter(ApplicationConstants.\n OAUTH_CLIENT_USERNAME);\n String applicationName = oAuthApplicationInfo.getClientName();\n String keyType = (String) oAuthApplicationInfo.getParameter(ApplicationConstants.APP_KEY_TYPE);\n String callBackURL = (String) oAuthApplicationInfo.getParameter(ApplicationConstants.APP_CALLBACK_URL);\n if (keyType != null) {\n applicationName = applicationName + '_' + keyType;\n }\n\n if (log.isDebugEnabled()) {\n log.debug(\"Trying to create OAuth application :\" + applicationName);\n }\n\n String tokenScope = (String) oAuthApplicationInfo.getParameter(\"tokenScope\");\n String[] tokenScopes = new String[1];\n tokenScopes[0] = tokenScope;\n\n org.wso2.carbon.apimgt.api.model.xsd.OAuthApplicationInfo info = null;\n\n try {\n org.wso2.carbon.apimgt.api.model.xsd.OAuthApplicationInfo applicationToCreate =\n new org.wso2.carbon.apimgt.api.model.xsd.OAuthApplicationInfo();\n applicationToCreate.setIsSaasApplication(oAuthApplicationInfo.getIsSaasApplication());\n applicationToCreate.setCallBackURL(callBackURL);\n applicationToCreate.setClientName(applicationName);\n applicationToCreate.setAppOwner(userId);\n applicationToCreate.setJsonString(oAuthApplicationInfo.getJsonString());\n applicationToCreate.setTokenType(oAuthApplicationInfo.getTokenType());\n info = createOAuthApplicationbyApplicationInfo(applicationToCreate);\n } catch (Exception e) {\n handleException(\"Can not create OAuth application : \" + applicationName, e);\n } \n\n if (info == null || info.getJsonString() == null) {\n handleException(\"OAuth app does not contains required data : \" + applicationName,\n new APIManagementException(\"OAuth app does not contains required data\"));\n }\n\n oAuthApplicationInfo.addParameter(\"tokenScope\", tokenScopes);\n oAuthApplicationInfo.setClientName(info.getClientName());\n oAuthApplicationInfo.setClientId(info.getClientId());\n oAuthApplicationInfo.setCallBackURL(info.getCallBackURL());\n oAuthApplicationInfo.setClientSecret(info.getClientSecret());\n oAuthApplicationInfo.setIsSaasApplication(info.getIsSaasApplication());\n\n try {\n JSONObject jsonObject = new JSONObject(info.getJsonString());\n\n if (jsonObject.has(ApplicationConstants.\n OAUTH_REDIRECT_URIS)) {\n oAuthApplicationInfo.addParameter(ApplicationConstants.\n OAUTH_REDIRECT_URIS, jsonObject.get(ApplicationConstants.OAUTH_REDIRECT_URIS));\n }\n\n if (jsonObject.has(ApplicationConstants.OAUTH_CLIENT_NAME)) {\n oAuthApplicationInfo.addParameter(ApplicationConstants.\n OAUTH_CLIENT_NAME, jsonObject.get(ApplicationConstants.OAUTH_CLIENT_NAME));\n }\n\n if (jsonObject.has(ApplicationConstants.OAUTH_CLIENT_GRANT)) {\n oAuthApplicationInfo.addParameter(ApplicationConstants.\n OAUTH_CLIENT_GRANT, jsonObject.get(ApplicationConstants.OAUTH_CLIENT_GRANT));\n }\n } catch (JSONException e) {\n handleException(\"Can not retrieve information of the created OAuth application\", e);\n }\n\n return oAuthApplicationInfo;\n\n }", "public static Credential authorize() throws IOException {\n // Load client secrets.\n InputStream in =\n Quickstart2.class.getResourceAsStream(\"/client_secret.json\");\n GoogleClientSecrets clientSecrets =\n GoogleClientSecrets.load(JSON_FACTORY, new InputStreamReader(in));\n\n // Build flow and trigger user authorization request.\n GoogleAuthorizationCodeFlow flow =\n new GoogleAuthorizationCodeFlow.Builder(HTTP_TRANSPORT, JSON_FACTORY, clientSecrets, SCOPES)\n .setDataStoreFactory(DATA_STORE_FACTORY)\n .setAccessType(\"offline\")\n .build();\n \n Credential credential = new AuthorizationCodeInstalledApp(flow, new LocalServerReceiver()).authorize(\"user\");\n \n System.out.println(\"Credentials saved to \" + DATA_STORE_DIR.getAbsolutePath());\n return credential;\n }", "public TAppAccess() {\n\t}", "public YelpAPI() {\n\t\tgetAccessToken();\n\t}", "private void refreshGoogleCalendarToken() {\n this.getGoogleToken();\n }", "public ApiService(String accessToken) {\n\t\tthis.marshallerService = new DefaultMarshallerService();\n\t\tthis.accessToken = accessToken;\n\t\tthis.appConfig = new AppConfig();\n\t}", "public MSACWrapperSdk() {}", "public static Credential authorize() throws IOException \n\t {\n\t // Load client secrets.\n\t InputStream in = YouTubeDownloader.class.getResourceAsStream(\"/youtube/downloader/resources/clients_secrets.json\");\n\t GoogleClientSecrets clientSecrets = GoogleClientSecrets.load(JSON_FACTORY, new InputStreamReader( in ));\n\n\t // Build flow and trigger user authorization request.\n\t GoogleAuthorizationCodeFlow flow = new GoogleAuthorizationCodeFlow.Builder(\n\t HTTP_TRANSPORT, JSON_FACTORY, clientSecrets, SCOPES)\n\t .setDataStoreFactory(DATA_STORE_FACTORY)\n\t .setAccessType(\"offline\")\n\t .build();\n\t Credential credential = new AuthorizationCodeInstalledApp(flow, new LocalServerReceiver()).authorize(\"user\");\n\t System.out.println(\"Credentials saved to \" + DATA_STORE_DIR.getAbsolutePath());\n\t return credential;\n\t }", "public synchronized static void init(Context ctx) {\n context = ctx;\n prefs = context.getSharedPreferences(APP, Context.MODE_PRIVATE);\n editor = prefs.edit();\n }", "public static void initialize() {\n Security.addProvider(new OAuth2Provider());\n }", "private CredentialManager(Context context) {\n appDb = AppDB.getInstance(context);\n mContext = context;\n }", "private void init(){\n if(!initializing) {\n Initializer init = new Initializer();\n InitializationDetails initializationDetails = new InitializationDetails(url, download, reset, deviceID, this);\n init.execute(initializationDetails);\n initializing = true;\n }\n }", "public static void init(Context context, DbxClientV2 dbxClient) {\n\n }", "private void buildGoogleApiClient() {\n if (googleApiClient == null) {\n googleApiClient = new GoogleApiClient.Builder(this)\n .addApi(Drive.API)\n .addScope(Drive.SCOPE_FILE)\n .addConnectionCallbacks(this)\n .addOnConnectionFailedListener(this)\n .build();\n }\n }", "@Override\n protected String doInBackground(Void... params) {\n credential = GoogleAccountCredential.usingOAuth2(activity,\n Collections.singleton(CalendarScopes.CALENDAR));\n SharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(activity);\n Log.d(tag, \"Google account name: \" + sharedPref.getString(activity.getString(R.string.pref_key_google_account_name),\n null));\n credential.setSelectedAccountName(sharedPref.getString(activity.getString(R.string.pref_key_google_account_name),\n null));\n\n /* Getting Google Calendar client */\n com.google.api.services.calendar.Calendar client =\n new com.google.api.services.calendar.Calendar.Builder(transport, jsonFactory,\n credential).setApplicationName(activity.getString(R.string.app_name)).build();\n\n /* Asking user for choosing Google account */\n if (credential.getSelectedAccountName() == null) {\n activity.startActivityForResult(credential.newChooseAccountIntent(),\n ACCOUNT_REQUEST_CODE);\n retry = true;\n return null;\n }\n\n /* Asking user for permission if needed */\n try {\n Log.d(tag, \"Token: \" + GoogleAuthUtil.getToken(activity.getApplicationContext(),\n credential.getSelectedAccount(), credential.getScope()));\n } catch (IOException e) {\n e.printStackTrace();\n return null;\n } catch (UserRecoverableAuthException e) {\n Log.d(tag, \"Need permission\");\n activity.startActivityForResult(e.getIntent(),PERMISSION_REQUEST_CODE);\n retry = true;\n return null;\n } catch (GoogleAuthException e) {\n e.printStackTrace();\n return null;\n }\n Log.d(tag, \"Permission OK\");\n\n Event event = new Event()\n .setSummary(meeting.name)\n .setLocation(meeting.location)\n .setDescription(meeting.notes);\n\n /* Parsing the meeting date */\n SimpleDateFormat dateFormatter = new SimpleDateFormat(\"MM/dd/yyyy-HH:mm\", Locale.ENGLISH);\n DateTime startDateTime;\n try {\n startDateTime = new DateTime(dateFormatter.parse(meeting.date\n + \"-\" + meeting.time).getTime());\n } catch (ParseException e) {\n e.printStackTrace();\n return null;\n }\n Log.d(tag, \"Parsing meeting date OK\");\n\n EventDateTime start = new EventDateTime()\n .setDateTime(startDateTime);\n event.setStart(start);\n\n EventDateTime end = new EventDateTime()\n .setDateTime(startDateTime);\n event.setEnd(end);\n\n /* Setting attendees list */\n ArrayList<Integer> ids = attendToRepo.getAttendeeIDs(meeting.meeting_ID);\n ArrayList<EventAttendee> attendees = new ArrayList<>();\n for (int id : ids){\n Attendee attendee = attendeeRepo.getAttendeeById(id);\n EventAttendee eventAttendee = new EventAttendee();\n eventAttendee.setDisplayName(attendee.name);\n\n /* Email is mandatory for the API request */\n eventAttendee.setEmail(attendee.name + activity.getString(R.string.google_calendar_email_example));\n attendees.add(eventAttendee);\n Log.d(tag, \"GoogleCalendarTask \" + attendee.name + \" added to attendees\");\n }\n event.setAttendees(attendees);\n\n EventReminder[] reminderOverrides = new EventReminder[] {\n new EventReminder().setMethod(\"popup\").setMinutes(10),\n };\n Event.Reminders reminders = new Event.Reminders()\n .setUseDefault(false)\n .setOverrides(Arrays.asList(reminderOverrides));\n event.setReminders(reminders);\n\n String calendarId = \"primary\";\n try {\n event = client.events().insert(calendarId, event).execute();\n } catch (IOException e) {\n e.printStackTrace();\n }\n Log.d(tag, \"Event created link: \" + event.getHtmlLink());\n\n return event.getHtmlLink();\n }", "public void setDriveClientSecret(String secret) {this.databaseConfig.setProperty(\"driveClientSecret\", secret);}", "public APIToken() {\n super();\n }", "void preTokenRequest() throws MsalUiRequiredException, MsalUserCancelException,\n MsalServiceException, MsalClientException {\n mAuthRequestParameters.getAuthority().resolveEndpoints(\n mAuthRequestParameters.getRequestContext(),\n mAuthRequestParameters.getLoginHint()\n );\n }", "public abstract void createAccessPoints(IApplicationContext context);", "private String getToken() {\n String keyFilePath = System.getenv(\"APE_API_KEY\");\n if (Strings.isNullOrEmpty(keyFilePath)) {\n File globalKeyFile = GlobalConfiguration.getInstance().getHostOptions().\n getServiceAccountJsonKeyFiles().get(GLOBAL_APE_API_KEY);\n if (globalKeyFile == null || !globalKeyFile.exists()) {\n CLog.d(\"Unable to fetch the service key because neither environment variable \" +\n \"APE_API_KEY is set nor the key file is dynamically downloaded.\");\n return null;\n }\n keyFilePath = globalKeyFile.getAbsolutePath();\n }\n if (Strings.isNullOrEmpty(mApiScope)) {\n CLog.d(\"API scope not set, use flag --business-logic-api-scope.\");\n return null;\n }\n try {\n Credential credential = GoogleCredential.fromStream(new FileInputStream(keyFilePath))\n .createScoped(Collections.singleton(mApiScope));\n credential.refreshToken();\n return credential.getAccessToken();\n } catch (FileNotFoundException e) {\n CLog.e(String.format(\"Service key file %s doesn't exist.\", keyFilePath));\n } catch (IOException e) {\n CLog.e(String.format(\"Can't read the service key file, %s\", keyFilePath));\n }\n return null;\n }", "private void setAttributes() {\n mAuth = ServerData.getInstance().getMAuth();\n user = ServerData.getInstance().getUser();\n sharedpreferences = getSharedPreferences(GOOGLE_CALENDAR_SHARED_PREFERENCES, Context.MODE_PRIVATE);\n walkingSharedPreferences = getSharedPreferences(ACTUAL_WALK, Context.MODE_PRIVATE);\n\n notificationId = 0;\n requestCode = 0;\n fragmentManager = getSupportFragmentManager();\n\n context = this;\n }", "public String getAccessToken();", "public YelpFusionApi initClient() {\n try {\n YelpFusionApiFactory yelpBuild = new YelpFusionApiFactory();\n YelpFusionApi yelpClient = yelpBuild.createAPI(CONFIG.yelpClientID, CONFIG.yelpSecret);\n return yelpClient;\n }\n catch(IOException e) {\n Log.v(\"yelpClient\", e.getStackTrace().toString());\n return null;\n }\n }", "public void initOkGo() throws IOException {\r\n mSPCookieStore = new SPCookieStore(this);\r\n HttpHeaders headers = new HttpHeaders();\r\n if (new SPCookieStore(this).getAllCookie().size() != 0) {\r\n headers.put(\r\n \"Set-Cookie\",\r\n String.valueOf(mSPCookieStore.getCookie(HttpUrl.parse(BaseUrl.HTTP_Get_code_auth))));\r\n }\r\n headers.put(\"version\", \"3.0\");\r\n headers.put(\"uid\", \"6f1a8e0eb24afb7ddc829f96f9f74e9d\");\r\n\r\n OkHttpClient.Builder builder = new OkHttpClient.Builder();\r\n // log相关\r\n HttpLoggingInterceptor loggingInterceptor = new HttpLoggingInterceptor(\"OkHttp\");\r\n loggingInterceptor.setPrintLevel(HttpLoggingInterceptor.Level.BODY); // log打印级别,决定了log显示的详细程度\r\n loggingInterceptor.setColorLevel(Level.INFO); // log颜色级别,决定了log在控制台显示的颜色\r\n builder.addInterceptor(loggingInterceptor); // 添加OkGo默认debug日志\r\n // 超时时间设置\r\n builder.readTimeout(10000, TimeUnit.MILLISECONDS); // 全局的读取超时时间\r\n builder.writeTimeout(10000, TimeUnit.MILLISECONDS); // 全局的写入超时时间\r\n builder.connectTimeout(10000, TimeUnit.MILLISECONDS); // 全局的连接超时时间\r\n builder.cookieJar(new CookieJarImpl(mSPCookieStore)); // 使用sp保持cookie,如果cookie不过期,则一直有效\r\n\r\n HttpsUtils.SSLParams sslParams = HttpsUtils.getSslSocketFactory(getAssets().open(\"server.cer\"));\r\n builder.sslSocketFactory(sslParams.sSLSocketFactory, sslParams.trustManager);\r\n // //配置https的域名匹配规则,使用不当会导致https握手失败\r\n builder.hostnameVerifier(HttpsUtils.UnSafeHostnameVerifier);\r\n\r\n // 其他统一的配置\r\n OkGo.getInstance()\r\n .init(this.getApplication()) // 必须调用初始化\r\n .setOkHttpClient(builder.build()) // 必须设置OkHttpClient\r\n .setCacheMode(CacheMode.NO_CACHE) // 全局统一缓存模式,默认不使用缓存,可以不传\r\n .setCacheTime(CacheEntity.CACHE_NEVER_EXPIRE) // 全局统一缓存时间,默认永不过期,可以不传\r\n .setRetryCount(3) // 全局统一超时重连次数,默认为三次,那么最差的情况会请求4次(一次原始请求,三次重连请求),不需要可以设置为0\r\n .addCommonHeaders(headers); // 全局公共头\r\n }", "public GoogleAuthenticatorAccount() {\n }", "@Override\n public void onCreate() {\n super.onCreate();\n\n\n\n try {\n MultiDex.install(this);\n mContext = getApplicationContext();\n sharePrefrences = new SharePrefrences(App.this);\n\n\n getFont_Regular();\n getFont_Bold();\n createAppFolder();\n\n\n Realm.init(this);\n Fabric.with(this, new Crashlytics());\n realmConfiguration = getRealmConfiguration();\n\n\n\n //startService(new Intent(this, LoginSessionService.class));\n SendBird.init(APP_ID_SENDBIRD, mContext);\n\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "private void getAccessToken() {\n\n\t\tMediaType mediaType = MediaType.parse(\"application/x-www-form-urlencoded\");\n\t\tRequestBody body = RequestBody.create(mediaType,\n\t\t\t\t\"client_id=\" + CONSUMER_KEY + \"&client_secret=\" + CONSUMER_SECRET + \"&grant_type=client_credentials\");\n\t\tRequest request = new Request.Builder().url(\"https://api.yelp.com/oauth2/token\").post(body)\n\t\t\t\t.addHeader(\"cache-control\", \"no-cache\").build();\n\n\t\ttry {\n\t\t\tokhttp3.Response response = client.newCall(request).execute();\n\t\t\tString respbody = response.body().string().trim();\n\t\t\tJSONParser parser = new JSONParser();\n\t\t\tJSONObject json = (JSONObject) parser.parse(respbody);\n\t\t\taccessToken = (String) json.get(\"access_token\");\n\t\t} catch (IOException | ParseException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "private static OkHttpClient initializeRetrofitClients() {\n OkHttpClient.Builder okHttpBuilder = new OkHttpClient().newBuilder();\n okHttpBuilder.interceptors().add(new Interceptor() {\n @Override\n public okhttp3.Response intercept(@NonNull Chain chain) throws IOException {\n Request originalRequest = chain.request();\n\n // Nothing to add to intercepted request if:\n // a) Authorization value is empty because user is not logged in yet\n // b) There is already a header with updated Authorization value\n if (authorizationTokenIsEmpty() || alreadyHasAuthorizationHeader(originalRequest)) {\n return chain.proceed(originalRequest);\n }\n\n // Add authorization header with updated authorization value to intercepted request\n Request authorisedRequest = originalRequest.newBuilder()\n .header(\"Authorization\", \"Bearer \" + accessToken)\n .build();\n return chain.proceed(authorisedRequest);\n }\n });\n okHttpBuilder.authenticator(new Authenticator() {\n @Nullable\n @Override\n public Request authenticate(@NonNull Route route, @NonNull okhttp3.Response response) throws IOException {\n // Refresh your access_token using a synchronous api request\n ABBYYLingvoAPI abbyyLingvoAPI = getApi();\n\n Call<ResponseBody> myCall = abbyyLingvoAPI.getBasicToken();\n Response<ResponseBody> response1;\n try {\n response1 = myCall.execute();\n if (response1.isSuccessful()) {\n accessToken = response1.body().string();\n Log.d(Constants.LOG_TAG, \"basic response is success, got accessToken\");\n } else {\n Log.e(Constants.LOG_TAG, \"basic response isn't successful, response code is: \" + response1.code());\n }\n } catch (IOException e) {\n Log.e(Constants.LOG_TAG, \"basic response isn't successful cause error: \" + e.toString());\n }\n\n // Add new header to rejected request and retry it\n accessTokenRequest = response.request().newBuilder()\n .addHeader(\"Authorization\", \"Bearer \" + accessToken)\n .build();\n\n return accessTokenRequest;\n }\n });\n\n try {\n // Create a trust manager that does not validate certificate chains\n final TrustManager[] trustAllCerts = new TrustManager[]{\n new X509TrustManager() {\n @Override\n public void checkClientTrusted(java.security.cert.X509Certificate[] chain, String authType) throws CertificateException {\n }\n\n @Override\n public void checkServerTrusted(java.security.cert.X509Certificate[] chain, String authType) throws CertificateException {\n }\n\n @Override\n public java.security.cert.X509Certificate[] getAcceptedIssuers() {\n return new java.security.cert.X509Certificate[]{};\n }\n }\n };\n\n // Install the all-trusting trust manager\n final SSLContext sslContext = SSLContext.getInstance(\"SSL\");\n sslContext.init(null, trustAllCerts, new java.security.SecureRandom());\n // Create an ssl socket factory with our all-trusting manager\n final SSLSocketFactory sslSocketFactory = sslContext.getSocketFactory();\n\n okHttpBuilder.sslSocketFactory(sslSocketFactory);\n okHttpBuilder.hostnameVerifier(new HostnameVerifier() {\n @Override\n public boolean verify(String hostname, SSLSession session) {\n return true;\n }\n });\n\n return okHttpBuilder.build();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }", "private void initChatbot(){\n final AIConfiguration config = new AIConfiguration(dialogFlowKey,\n AIConfiguration.SupportedLanguages.English,AIConfiguration.RecognitionEngine.System);\n aiDataService = new AIDataService(getActivity(),config);\n customAIServiceContext = AIServiceContextBuilder.buildFromSessionId(uuid);\n aiRequest = new AIRequest();\n\n }", "private void initFBGoogleSignIn() {\n GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)\n .requestIdToken(WEB_CLIENT_ID)\n .requestEmail()\n .build();\n\n Context context = getContext();\n mGoogleApiClient = new GoogleApiClient.Builder(context)\n .enableAutoManage(getActivity(), new GoogleApiClient.OnConnectionFailedListener() {\n @Override\n public void onConnectionFailed(@NonNull ConnectionResult connectionResult) {\n mGoogleSignInTextView.setText(connectionResult.getErrorMessage());\n }\n }).addApi(Auth.GOOGLE_SIGN_IN_API, gso).build();\n }", "protected abstract void requestAuth(@NonNull Activity activity, int requestCode);", "String getAccessToken();", "String getAccessToken();", "private void getAccessToken(final String code, final OperationCallback<User> callback) {\n \n new Thread() {\n @Override\n public void run() {\n Log.i(TAG, \"Getting access token\");\n try {\n String postData = \"client_id=\" + CLIENT_ID + \"&client_secret=\" + CLIENT_SECRET +\n \"&grant_type=authorization_code\" + \"&redirect_uri=\" + CALLBACK_URL + \"&code=\" + code;\n String response = postRequest(TOKEN_URL, postData);\n \n Log.i(TAG, \"response \" + response);\n JSONObject jsonObj = (JSONObject) new JSONTokener(response).nextValue();\n \n mAccessToken = jsonObj.getString(\"access_token\");\n Log.i(TAG, \"Got access token: \" + mAccessToken);\n \n Gson gson = new Gson();\n User user = gson.fromJson(jsonObj.getJSONObject(\"user\").toString(), User.class);\n user.setAccessToken(mAccessToken);\n \n callback.notifyCompleted(user);\n } catch (Exception ex) {\n callback.notifyError(ex);\n Log.e(TAG, \"Error getting access token\", ex);\n }\n \n }\n }.start();\n }", "@Override\n public void initialize() {\n\n drivetrain = Drivetrain.getInstance();\n \n \n\n }", "public void setDriveClientId(String id) {this.databaseConfig.setProperty(\"driveClientId\", id);}", "private void initThings() {\n\t\tmyApp = (MyApp) getApplicationContext();\n\t\tnextIntent = new Intent(this, AnimActivity2.class);\n\t\t// nextIntent = new Intent(this, SelectEventActivity.class);\n\t\tnextIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK\n\t\t\t\t| Intent.FLAG_ACTIVITY_CLEAR_TASK);\n\t\tuserDAO = new UserDAO(this);\n\t\tdialog = new CreateDialog(this);\n\t\tprogressDialog = dialog.createProgressDialog(null, \"Logging In\", false,\n\t\t\t\tnull, false);\n\t\ttypeface = myApp.getTypefaceRegular();\n\n\t\t// <<<<<<< HEAD\n\t\t//\n\t\t// GsonBuilder builder = new GsonBuilder();\n\t\t// gson = builder.create();\n\t\t//\n\t\t// queue = Volley.newRequestQueue(this);\n\t\t// =======\n\t\t// >>>>>>> parent of 48afbfc... setup android again\n\t}", "private void initialize() {\n\t\tservice = KCSClient.getInstance(this.getApplicationContext(), new KinveySettings(APP_KEY, APP_SECRET));\n\n BaseKinveyDataSource.setKinveyClient(service);\n }", "public static void initializeWithContextAndKey(Context context, String apiKey) {\n /*if(ZeTarget.isDebuggingOn()){\n Log.d(TAG, \"initializeWithContextAndKey() called\");\n }*/\n initialize(context, apiKey,null);\n }", "public void authenticate() throws Exception {\n try {\n\n // Build the form body\n final FormBody.Builder formBodyBuilder = new FormBody.Builder().add(\"scope\", \"api-tenant\");\n\n // Has username/password\n if (appProps.getFodGrantType().equals(VulnerabilityReportConstants.GRANT_TYPE_PASSWORD)) {\n formBodyBuilder.add(\"grant_type\", VulnerabilityReportConstants.GRANT_TYPE_PASSWORD)\n .add(\"username\", appProps.getFodTenantId() + \"\\\\\" + appProps.getFodUsername())\n .add(\"password\", appProps.getFodPassword());\n } else // Has api key/secret\n {\n formBodyBuilder.add(\"grant_type\", VulnerabilityReportConstants.GRANT_TYPE_CLIENT_CREDENTIALS)\n .add(\"client_id\", appProps.getFodClientId())\n .add(\"client_secret\", appProps.getFodClientSecret());\n\n }\n final RequestBody formBody = formBodyBuilder.build();\n\n final Request request = new Request.Builder()\n .url(appProps.getFodAPIBaseURL() + \"/oauth/token\")\n .post(formBody)\n .build();\n final Response response = client.newCall(request).execute();\n \n if (!response.isSuccessful()) {\n \tlogger.debug(\"response::\" + response.message() + \", \" + response.code() + \", \" + response.toString());\n throw new FoDConnectionException(\"Unexpected code \" + response);\n }\n\n logger.info(\"Successful connection to Fortify On Demand!\");\n \n final String content = IOUtils.toString(response.body().byteStream(), \"utf-8\");\n response.body().close();\n\n // Parse the Response\n final JsonParser parser = new JsonParser();\n final JsonObject obj = parser.parse(content).getAsJsonObject();\n this.token = obj.get(\"access_token\").getAsString();\n\n } catch (final FoDConnectionException fce) {\n if (fce.getMessage().contains(VulnerabilityReportConstants.FOD_UNAUTORIZED)) {\n logger.error(\"FoD CONNECTION FAILED. Please check the FoD URL, username, tenant, and password and try again.\");\n logger.info(\"FoD URL=\" + appProps.getFodAPIBaseURL());\n logger.info(\"FoD GrantType=\" + appProps.getFodGrantType());\n logger.info(\"FoD client Id=\" + appProps.getFodClientId());\n logger.info(\"FoD username=\" + appProps.getFodUsername());\n logger.info(\"FoD tennant=\" + appProps.getFodTenantId());\n } else {\n logger.error(\"FoD Response was not successful with message: \" + fce.getMessage());\n }\n throw fce;\n }\n\n catch (final UnknownHostException uhe) {\n logger.error(\"Unknown Host Error. Are you connected to the internet?\");\n uhe.printStackTrace();\n throw uhe;\n }\n\n catch (final Exception e) {\n logger.error(\"Authentication to FoD failed. Connection seems OK.\");\n e.printStackTrace();\n throw e;\n }\n }", "@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n if(requestCode==request_Code){\n AuthenticationResponse response = AuthenticationClient.getResponse(resultCode,data);\n if(response.getType()==AuthenticationResponse.Type.TOKEN){\n accessToken = response.getAccessToken();\n }else{\n }\n }\n new SpotifyNewRelease(accessToken).execute();\n }", "@Override\n\tpublic void onWLInitCompleted(Bundle savedInstanceState){\n\t\tsuper.loadUrl(getWebMainFilePath());\n\t\ttry {\n\t\t\tMaaS360SDK.initSDK(MainApplication.getApplication(), \"appKey\", \"licenseKey\", \n\t\t\t MainApplication.getApplication().getSDKListener(), PolicyAutoEnforceInfo.getInstance());\n\t\t} catch (MaaS360SDKInitializationException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t// Add custom initialization code after this line\n\t}", "@MainThread\n void getAccessToken(Account account, String scope, GetAccessTokenCallback callback) {\n ConnectionRetry.runAuthTask(new AuthTask<AccessTokenData>() {\n @Override\n public AccessTokenData run() throws AuthException {\n return mAccountManagerFacade.getAccessToken(account, scope);\n }\n @Override\n public void onSuccess(AccessTokenData token) {\n callback.onGetTokenSuccess(token);\n }\n @Override\n public void onFailure(boolean isTransientError) {\n callback.onGetTokenFailure(isTransientError);\n }\n });\n }", "private GetAccount()\r\n/* 19: */ {\r\n/* 20:18 */ super(new APITag[] { APITag.ACCOUNTS }, new String[] { \"account\" });\r\n/* 21: */ }", "private GoogleUtils() {\n try {\n readClientConfig();\n readRefreshToken();\n httpTransport = GoogleNetHttpTransport.newTrustedTransport();\n jsonFactory = JacksonFactory.getDefaultInstance();\n driveService = this.getDriveService();\n noteList = new LinkedHashMap<>();\n imageList = new LinkedHashMap<>();\n retrieveData(Extension.note, Parameter.LimitDriveNotes.getValueInt());\n retrieveData(Extension.jpg, Parameter.LimitDriveNotes.getValueInt());\n } catch (GeneralSecurityException | IOException e) {\n e.printStackTrace();\n }\n }", "public interface GoogleAccountDataClient {\n AccountNameCheckResponse checkAccountName(AccountNameCheckRequest accountNameCheckRequest) throws ;\n\n CheckFactoryResetPolicyComplianceResponse checkFactoryResetPolicyCompliance(CheckFactoryResetPolicyComplianceRequest checkFactoryResetPolicyComplianceRequest) throws ;\n\n PasswordCheckResponse checkPassword(PasswordCheckRequest passwordCheckRequest) throws ;\n\n CheckRealNameResponse checkRealName(CheckRealNameRequest checkRealNameRequest) throws ;\n\n void clearFactoryResetChallenges() throws ;\n\n ClearTokenResponse clearToken(ClearTokenRequest clearTokenRequest) throws ;\n\n boolean clearWorkAccountAppWhitelist() throws ;\n\n TokenResponse confirmCredentials(ConfirmCredentialsRequest confirmCredentialsRequest) throws ;\n\n TokenResponse createAccount(GoogleAccountSetupRequest googleAccountSetupRequest) throws ;\n\n TokenResponse createPlusProfile(GoogleAccountSetupRequest googleAccountSetupRequest) throws ;\n\n @Deprecated\n GoogleAccountData getAccountData(@Deprecated String str) throws ;\n\n Bundle getAccountExportData(String str) throws ;\n\n String getAccountId(String str) throws ;\n\n AccountRecoveryData getAccountRecoveryCountryInfo() throws ;\n\n AccountRecoveryData getAccountRecoveryData(AccountRecoveryDataRequest accountRecoveryDataRequest) throws ;\n\n AccountRecoveryGuidance getAccountRecoveryGuidance(AccountRecoveryGuidanceRequest accountRecoveryGuidanceRequest) throws ;\n\n GetAndAdvanceOtpCounterResponse getAndAdvanceOtpCounter(String str) throws ;\n\n GoogleAccountData getGoogleAccountData(Account account) throws ;\n\n String getGoogleAccountId(Account account) throws ;\n\n GplusInfoResponse getGplusInfo(GplusInfoRequest gplusInfoRequest) throws ;\n\n OtpResponse getOtp(OtpRequest otpRequest) throws ;\n\n TokenResponse getToken(TokenRequest tokenRequest) throws ;\n\n boolean installAccountFromExportData(String str, Bundle bundle) throws ;\n\n AccountRemovalResponse removeAccount(AccountRemovalRequest accountRemovalRequest) throws ;\n\n boolean setWorkAccountAppWhitelistFingerprint(String str, String str2) throws ;\n\n TokenResponse signIn(AccountSignInRequest accountSignInRequest) throws ;\n\n AccountRecoveryUpdateResult updateAccountRecoveryData(AccountRecoveryUpdateRequest accountRecoveryUpdateRequest) throws ;\n\n TokenResponse updateCredentials(UpdateCredentialsRequest updateCredentialsRequest) throws ;\n\n ValidateAccountCredentialsResponse validateAccountCredentials(AccountCredentials accountCredentials) throws ;\n}", "@Override\n public void onCreate(){\n super.onCreate();\n createGoogleAPIClient();\n Log.i(TAG, \"On Create\");\n }", "public AuthenticationService()\n\t\t\tthrows StorageInitException, AuthConfigurationException {\n\t\tquietLogger();\n\t\tfinal AuthConfig c = new KBaseAuthConfig();\n\t\tlogger = c.getLogger();\n\t\ttry {\n\t\t\tbuildApp(c);\n\t\t} catch (StorageInitException e) {\n\t\t\tLoggerFactory.getLogger(getClass()).error(\n\t\t\t\t\t\"Failed to initialize storage engine: \" + e.getMessage(),\n\t\t\t\t\te);\n\t\t\tthrow e;\n\t\t} catch (AuthConfigurationException e) {\n\t\t\tLoggerFactory.getLogger(getClass()).error(\n\t\t\t\t\t\"Invalid configuration: \" + e.getMessage(), e);\n\t\t\tthrow e;\n\t\t}\n\t}", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n loadMainActivity = (ProgressBar) findViewById(R.id.load_mainactivity);\n recyclerView = (RecyclerView)findViewById(R.id.recyclerview_for_main_activity);\n toolbar_main_activity = (Toolbar) findViewById(R.id.activity_main_toolbar);\n setSupportActionBar(toolbar_main_activity);\n AuthenticationRequest.Builder builder = new AuthenticationRequest.Builder\n (clientId, AuthenticationResponse.Type.TOKEN, redirectUri);\n AuthenticationRequest request = builder.build();\n AuthenticationClient.openLoginActivity(this, request_Code, request);\n }", "@Transactional\n\tprivate void saveOrUpdateAccessToken() {\n\t\tString tfw = null;\n\t\ttry {\n\t\t\ttfw = this.getAccessTokenFromWechatServer();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tif (tokenConstant == null) {\n\t\t\ttokenConstant = new AccessToken();\n//\t\t\tconstant.setKey(Consts.access_token_key_in_db);\n//\t\t\tconstant.setValue(tfw);\n//\t\t\ttokenConstant.setUpdateTime(new Date());\n//\n//\t\t\tthis.tokenConstant = constant;\n//\t\t\tthis.constantMapper.insert(constant);\n\t\t\tlog.info(\"第一次获取accessToken\");\n\t\t}\n//\t\telse {\n//\t\t\tconstant.setValue(tfw);\n//\t\t\tconstant.setUpdateTime(new Date());\n//\n//\t\t\tthis.tokenConstant = constant;\n//\t\t\tthis.constantMapper.updateAccessToken(constant);\n//\t\t\tlog.info(\"accessToken已经更新\");\n//\t\t}\n\t\tWechatConsts.param_access_token=tfw;\n\t\t\n\t\ttokenConstant.setAccess_token(tfw);\n\t\ttokenConstant.setUpdateTime(new Date());\n\t}", "void updateComponentAccessToken(WxOpenComponentAccessToken componentAccessToken);", "void expireComponentAccessToken();", "@Override\n protected void onCurrentAccessTokenChanged(AccessToken oldAccessToken, AccessToken currentAccessToken) {\n useLoginInformation(currentAccessToken);\n }", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n\n FacebookSdk.sdkInitialize(context);\n callbackManager = CallbackManager.Factory.create();\n\n try {\n\n GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)\n .requestEmail()\n .build();\n\n/* GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)\n .requestScopes(new Scope(Scopes.EMAIL))\n .requestIdToken(getString(R.string.server_client_id))\n .requestEmail()\n .build();*/\n\n /* GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)\n .requestIdToken(this.getResources().getString(R.string.server_client_id))\n .requestEmail().build();*/\n\n mGoogleApiClient = new GoogleApiClient.Builder(context)\n .enableAutoManage(getActivity(), this)\n .addApi(Auth.GOOGLE_SIGN_IN_API, gso)\n .build();\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "default void generateAzureAccessToken(\n com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request,\n io.grpc.stub.StreamObserver<\n com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse>\n responseObserver) {\n io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(\n getGenerateAzureAccessTokenMethod(), responseObserver);\n }", "public static Credential authorize() throws IOException {\n\t\t// Load client secrets.\n\t\tInputStream in = GmailDownloader.class.getResourceAsStream(\"/client_secret.json\");\n\t\tGoogleClientSecrets clientSecrets = GoogleClientSecrets.load(JSON_FACTORY, new InputStreamReader(in));\n\n\t\t// Build flow and trigger user authorization request.\n\t\tGoogleAuthorizationCodeFlow flow = new GoogleAuthorizationCodeFlow.Builder(HTTP_TRANSPORT, JSON_FACTORY,\n\t\t\t\tclientSecrets, SCOPES).setDataStoreFactory(DATA_STORE_FACTORY).setAccessType(\"offline\").build();\n\t\tCredential credential = new AuthorizationCodeInstalledApp(flow, new LocalServerReceiver()).authorize(\"user\");\n\t\tSystem.out.println(\"Credentials saved to \" + DATA_STORE_DIR.getAbsolutePath());\n\t\treturn credential;\n\t}", "private void initializeAndConnectGoogleApi() {\n if (googleApiClient != null) {\n googleApiClient.stopAutoManage(this);\n googleApiClient.disconnect();\n }\n googleApiClient = new GoogleApiClient\n .Builder(this)\n .enableAutoManage(this, 0, this)\n .addApi(Places.GEO_DATA_API)\n .addApi(Places.PLACE_DETECTION_API)\n .addConnectionCallbacks(this)\n .addOnConnectionFailedListener(this)\n .build();\n // Connect if it's not\n if (!googleApiClient.isConnected()) {\n googleApiClient.connect();\n }\n }", "public static AccessToken getAccessToken(String path, Configuration config) {\n AccessToken at = null;\n\n String token = \"325878645-W8s04eclPdOy1QOjyh4WTcdHkeCNttPYTiUIDlAZ\";\n String tokenSecret = \"3M0lrV45DRqZCd5BxCrDHEik5wThOLmkrhc7yqWZYjs\";\n\n at = new AccessToken(token, tokenSecret);\n\n if (at == null) {\n try {\n Twitter tw = new TwitterFactory(config).getInstance();\n RequestToken requestToken = tw.getOAuthRequestToken();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while (at == null) {\n\n\n // pop up a dialog box to give the URL and wait for the PIN\n JFrame frame = new JFrame(\"Twitter Authorisation\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n frame.setLayout(new GridLayout(5, 1));\n JTextField textField = new JTextField(10);\n textField.setText(requestToken.getAuthorizationURL());\n JLabel l1 = new JLabel(\"Open the following URL and grant access to your account:\");\n l1.setLabelFor(textField);\n frame.add(l1);\n frame.add(textField);\n JTextField textField2 = new JTextField(10);\n JLabel l2 = new JLabel(\"Enter the PIN here and press RETURN:\");\n l2.setLabelFor(textField2);\n frame.add(l2);\n frame.add(textField2);\n textField2.addActionListener(new ActionListener() {\n\n public void actionPerformed(ActionEvent e) {\n Twitter4JTools.setPin(e.getActionCommand());\n }\n });\n // Display the window.\n frame.pack();\n frame.setVisible(true);\n\n while (pin == null) {\n // wait ...\n Thread.sleep(1);\n }\n\n try {\n if (pin.length() > 0) {\n at = tw.getOAuthAccessToken(requestToken, pin);\n } else {\n at = tw.getOAuthAccessToken();\n }\n } catch (TwitterException te) {\n if (401 == te.getStatusCode()) {\n System.out.println(\"Unable to get the access token.\");\n } else {\n te.printStackTrace();\n }\n }\n }\n /*\n // write to file\n BufferedWriter bw = new BufferedWriter(new FileWriter(tokenFile));\n bw.write(at.getToken() + \"\\n\");\n bw.write(at.getTokenSecret() + \"\\n\");\n bw.close();*/\n } catch (Exception e) {\n // couldn't write file? die\n e.printStackTrace();\n System.exit(0);\n }\n }\n return at;\n }", "protected AccessToken getAccessToken() \n\t{\n\t\treturn accessToken;\n\t}", "String getAuthorizerAccessToken(String appId);", "@Override\n public void onHuaweiLogoClick() {\n// HuaweiIdAuthParams authParams= new HuaweiIdAuthParamsHelper(HuaweiIdAuthParams.DEFAULT_AUTH_REQUEST_PARAM).setAccessToken().createParams();\n// HuaweiIdAuthService service = HuaweiIdAuthManager.getService (MainActivity.this, authParams);\n// startActivityForResult(service.getSignInIntent(), AppConstants.REQUEST_SIGN_IN_LOGIN_CODE);\n\n// if (AGConnectAuth.getInstance().getCurrentUser() != null) {\n// onLoginCorrect();\n// }\n\n HuaweiIdAuthParamsHelper huaweiIdAuthParamsHelper = new HuaweiIdAuthParamsHelper(HuaweiIdAuthParams.DEFAULT_AUTH_REQUEST_PARAM);\n HuaweiIdAuthParams authParams = huaweiIdAuthParamsHelper.setAccessToken().createParams();\n service = HuaweiIdAuthManager.getService(MainActivity.this, authParams);\n startActivityForResult(service.getSignInIntent(), AppConstants.REQUEST_SIGN_IN_LOGIN_CODE);\n }", "private AuthenticationCallback getAuthInteractiveCallback() {\n return new AuthenticationCallback() {\n\n @Override\n public void onSuccess(IAuthenticationResult authenticationResult) {\n /* Successfully got a token, use it to call a protected resource - MSGraph */\n Log.d(TAG, \"Successfully authenticated\");\n Log.d(TAG, \"ID Token: \" + authenticationResult.getAccount().getClaims().get(\"id_token\"));\n\n /* Update account */\n mAccount = authenticationResult.getAccount();\n updateUI();\n\n /* call graph */\n callGraphAPI(authenticationResult);\n }\n\n @Override\n public void onError(MsalException exception) {\n /* Failed to acquireToken */\n Log.d(TAG, \"Authentication failed: \" + exception.toString());\n displayError(exception);\n\n if (exception instanceof MsalClientException) {\n /* Exception inside MSAL, more info inside MsalError.java */\n } else if (exception instanceof MsalServiceException) {\n /* Exception when communicating with the STS, likely config issue */\n }\n }\n\n @Override\n public void onCancel() {\n /* User canceled the authentication */\n Log.d(TAG, \"User cancelled login.\");\n }\n };\n }", "@Override\n public void run() {\n String email = etEditMail.getText().toString(); // get email\n String password = etEditPassword.getText().toString(); // get password\n String loginTime = LOGIN_TIME_FORMAT.format(new Date());\n String md5Password = AppUtils.md5PasswordLogin(password, loginTime); // encode password\n // create credential object\n Credential credential = new Credential(email, md5Password, loginTime);\n // perform send credential\n DataExchange login = new DataExchange();\n String responseLoginFormatString = login.sendCredential(credential.exportStringFormatJson());\n final LoginResponse loginResponse = new LoginResponse(responseLoginFormatString);\n loginResponse.analysis();\n if (loginResponse.getSuccess()) {\n Hawk.put(Constants.Password, AppUtils.md5PasswordRegister(password)); // save password\n // perform get user' profile\n DataExchange getUserProfile = new DataExchange();\n String userProfileResponse = getUserProfile.getUserProfile(loginResponse.getToken()); // get token\n GetProfileResponse userProfile = new GetProfileResponse(userProfileResponse);\n userProfile.analysis();\n // save user's profile\n mLastUser = userProfile.getMobileUser();\n mLastUser.setLastLogin(System.currentTimeMillis());\n mLastUser.setToken(loginResponse.getToken()); // save token\n Hawk.put(email, mLastUser);\n Hawk.put(LAST_USER, mLastUser);\n // switch to the main screen\n Intent intent = new Intent(getApplicationContext(), MainActivity.class);\n startActivity(intent);\n } else {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Toast.makeText(getApplicationContext(), loginResponse.getMessage() , Toast.LENGTH_LONG).show();\n }\n });\n progressDialog.dismiss();\n }\n }" ]
[ "0.6239601", "0.58521", "0.5705975", "0.53912824", "0.53596514", "0.5258948", "0.5246383", "0.52323234", "0.5213994", "0.52012545", "0.51980615", "0.51916194", "0.51906127", "0.5187923", "0.5186814", "0.5157621", "0.5137095", "0.51338035", "0.51293665", "0.5119494", "0.51064354", "0.50849575", "0.50658584", "0.505758", "0.5057225", "0.5049019", "0.50205255", "0.50193965", "0.50024277", "0.5002273", "0.49757096", "0.49695393", "0.49672484", "0.49606302", "0.49555486", "0.4947699", "0.49428573", "0.49386543", "0.49347743", "0.491785", "0.490697", "0.48978198", "0.4894478", "0.4894227", "0.48837203", "0.48805195", "0.48434588", "0.484127", "0.48398754", "0.48313528", "0.4825691", "0.48244295", "0.48225176", "0.48223543", "0.4817312", "0.4810121", "0.48086694", "0.48029873", "0.47975332", "0.47940758", "0.47907978", "0.47901145", "0.47785035", "0.47766933", "0.47728837", "0.47699085", "0.47651595", "0.47586572", "0.47461173", "0.47461173", "0.4741867", "0.47404176", "0.47336063", "0.4727659", "0.47271478", "0.4720967", "0.47157842", "0.47141656", "0.47043595", "0.47027385", "0.47016805", "0.47014388", "0.46959484", "0.4695163", "0.46816412", "0.4669178", "0.46666315", "0.46656698", "0.46647388", "0.4663069", "0.4662193", "0.4655241", "0.4655119", "0.4652766", "0.4651187", "0.46511737", "0.4650797", "0.46480995", "0.46340355", "0.46226162" ]
0.5558477
3
Exit the Drive and clear all cache information during Drive usage.
public void exit(Context context) { // clear cache deleteFile(context.getCacheDir()); deleteFile(context.getFilesDir()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void exit() {\n\t\tRobot.SUB_DRIVE.setDriveValue(0, 0);\r\n\t}", "public void clearDiskCache()\n {\n clearCache(cacheDirectory);\n }", "public void shutdown()\n {\n valid = false;\n quitSafely();\n\n synchronized (loading) {\n loading.clear();\n }\n synchronized (toLoad) {\n toLoad.clear();\n }\n synchronized (tilesByFetchRequest) {\n tilesByFetchRequest.clear();\n }\n }", "public static void exit() {\n\t\t\n\t\t//\tlog out\n\t\tlogout();\n\t\t\n\t\t//\tclean up\n\t\taccountNames.clear();\n\t\taccountsByName.clear();\n\t\tdataProvider = null;\n\t\trememberedUserNames = null;\n\t}", "@Programmatic\n public void shutdown() {\n LOG.info(\"shutting down {}\", this);\n\n cache.clear();\n }", "protected void end() {\n\t\tdrive.setBoth(0);\n\t}", "public void end() {\n\t\tdrivetrain.stopDrive();\n\t}", "public void cleanup() {\n endtracking();\n\n //sends data to UI\n MainActivity.trackingservicerunning = false;\n MainActivity.servicestopped();\n\n //stops\n stopSelf();\n }", "private static void exit() {\n dvm.exit();\n stop = true;\n }", "public void end () {\n drive.driveStop();\n }", "protected void end() {\n \tRobot.drive.stop();\n }", "public void exit() {\n\t\tnextPlace = exitName;\n\t\tOrganizer.getOrganizer().deleteSuspended();\n\t\texit(Values.LANDSCAPE);\n\t}", "protected void end() {\n \tRobot.driveSubsystem.stopDrivingNow();\n }", "@Override\n public synchronized void runOnce() {\n Drive.getInstance().EndPath(true);\n }", "protected void end() {\r\n Robot.drive.stop();\r\n\r\n }", "public static void flush() {\n try {\n sDiskLruCache.flush();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "@After\n public void tearDown()\n {\n drive.quit();\n }", "public void clearCache() {\n\n\t\t// clearing form soft reference\n\t\tif (softCache != null) {\n\t\t\tsoftCache.clear();\n\t\t}\n\n\t\t// clearing from cache directory\n\t\tdeleteCacheFiles();\n\n\t}", "void exit() {\n\t\tfor (ScopedProvider<?> e : scopedProviders.keySet()) {\n\t\t\tsynchronized(e) {\n\t\t\t\te.values.clear();\n\t\t\t}\n\t\t}\n\t}", "public void stop() {\n\t\tdrive.tankDrive(0, 0);\n\t}", "@Override\n\tprotected void end() {\n\t\tRobot.drive.stop();\n\t}", "protected void end() {\n\t\tRobot.Drivetrain.drive(0,0);\n\t}", "public static void close() {\n try {\n sDiskLruCache.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public static void clear() {\n\t\tmemoryCache.clear();\n\n\t\t// Remove everything from file cache\n\t\tFile cachedFileDir = new File(diskCachePath);\n\t\tif (cachedFileDir.exists() && cachedFileDir.isDirectory()) {\n\t\t\tFile[] cachedFiles = cachedFileDir.listFiles();\n\t\t\tfor (File f : cachedFiles) {\n\t\t\t\tif (f.exists() && f.isFile()) {\n\t\t\t\t\tf.delete();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "@Override\n public int clear() {\n return deleteContents(getCacheDir());\n }", "public void cleanDescriptorCache() {\n _descriptorCache = new DescriptorCacheImpl();\n }", "void destroy() {\n destroyCache();\n }", "@Override\n protected void doStop() throws Exception {\n trunkStore();\n cache.clear();\n init.set(false);\n }", "public static void exitScheduledClear() {\n stopAutoClear();\n }", "public void reset()\n {\n \tthis.heapFiles.clear();\n }", "@Override\n\tpublic synchronized void clear() {\n\t\tFile[] files = mRootDirectory.listFiles();\n\t\tif (files != null) {\n\t\t\tfor (File file : files) {\n\t\t\t\tfile.delete();\n\t\t\t}\n\t\t}\n\t\tmEntries.clear();\n\t\tmTotalSize = 0;\n\t\tVolleyLog.d(\"Cache cleared.\");\n\t}", "private void exit() {\n dispose();\r\n }", "public static void shutdown() {\n resetCache();\n listeningForChanges = false;\n }", "void exitSession()\n\t{\n\t\t// clear out our watchpoint list and displays\n\t\t// keep breakpoints around so that we can try to reapply them if we reconnect\n\t\tm_displays.clear();\n\t\tm_watchpoints.clear();\n\n\t\tif (m_fileInfo != null)\n\t\t\tm_fileInfo.unbind();\n\n\t\tif (m_session != null)\n\t\t\tm_session.terminate();\n\n\t\tm_session = null;\n\t\tm_fileInfo = null;\n\t}", "public final void destroy() {\n requestExit();\n }", "private void exit() {\n this.isRunning = false;\n }", "private void reset()\r\n {\r\n log.info(\"{0}: Resetting cache\", logCacheName);\r\n\r\n try\r\n {\r\n storageLock.writeLock().lock();\r\n\r\n if (dataFile != null)\r\n {\r\n dataFile.close();\r\n }\r\n\r\n final File dataFileTemp = new File(rafDir, fileName + \".data\");\r\n Files.delete(dataFileTemp.toPath());\r\n\r\n if (keyFile != null)\r\n {\r\n keyFile.close();\r\n }\r\n final File keyFileTemp = new File(rafDir, fileName + \".key\");\r\n Files.delete(keyFileTemp.toPath());\r\n\r\n dataFile = new IndexedDisk(dataFileTemp, getElementSerializer());\r\n keyFile = new IndexedDisk(keyFileTemp, getElementSerializer());\r\n\r\n this.recycle.clear();\r\n this.keyHash.clear();\r\n }\r\n catch (final IOException e)\r\n {\r\n log.error(\"{0}: Failure resetting state\", logCacheName, e);\r\n }\r\n finally\r\n {\r\n storageLock.writeLock().unlock();\r\n }\r\n }", "protected void end() {\n drivetrain.tankDrive(0, 0);\n }", "public void clear()\n {\n pages.stream().forEach((page) -> {\n page.clearCache();\n });\n\n pages.clear();\n listeners.clear();\n occupiedEntries.clear();\n }", "public void shutdown() {\n\t\tInput.cleanUp();\n\t\tVAO.cleanUp();\n\t\tTexture2D.cleanUp();\n\t\tResourceLoader.cleanUp();\n\t}", "@Override\n protected void end() {\n Robot.drive_subsystem.drive(0);\n }", "public void exit() {\n\tif (hasPlayed) {\n\t hasPlayed = false;\n\t lastExit = System.currentTimeMillis(); // note the time of exit\n\t}\n }", "protected void exit() throws IOException {\r\n\t\tstop();\r\n\t\tkeepRunning = false;\r\n\t}", "protected void end() {\n \tRobot.driveBase.stopDead();\n }", "protected void end() {\n \tRobot.DRIVE_SUBSYSTEM.stop();\n }", "@Override\n\tpublic void shutDown() {\n\t\tSystem.out.println(\"disk shutdown!\");\n\t}", "protected void reset()\n {\n this.shapeDataCache.removeAllEntries();\n this.sector = null;\n }", "protected void end() {\n\t\tRobot.drivetrain.tankDrive(0, 0);\n\t}", "public void shutdown() {\n // From this point forward, only return a poison pill for this retrieval\n // manager, which will cause threads attempting to receive bandwidth\n // allocations to die\n this.shutdown = true;\n }", "@Override\n\tpublic void onExit() {\n\t\tlabelHelp = null;\n\t\tlayer_force = null;\n\t\tmSoundBtn = null;\n\t\tboxMessage = null;\n\n\t\tSystem.gc();\n\t\tsuper.onExit();\n\t}", "public void destroy() throws Exception {\n\t\tICache cache = getCache ();\n\t\tif(cache!=null) cache.shutdown ();\n\t}", "protected void interrupted() {\n\t\tdrive.setBoth(0);\n\t}", "private static void exit(){\n\t\t\n\t\tMain.run=false;\n\t\t\n\t}", "public void clearCache() {\n\tmyCachedCrum = null;\n\tmyCachedRoot = null;\n\tmyCachedPath = MuSet.make();\n/*\nudanax-top.st:13116:CanopyCache methodsFor: 'operations'!\n{void} clearCache\n\t\"Clear the cache because the canopy has\n\t changed. This ought to destroy the cachedPath. \n\t This must be cleared after every episode!!!!!!\"\n\tmyCachedCrum _ NULL.\n\tmyCachedRoot _ NULL.\n\tmyCachedPath _ MuSet make.!\n*/\n}", "private void cleanup() throws RemoteException {\n log.info(\"GP run complete.\");\n running = false;\n\n log.info(\"Releasing clients.\");\n for (IClient client : clients)\n client.release();\n clients.clear();\n\n writeCheckpoint(\"final_generation\");\n }", "protected void exit() {\n\t\tSystem.exit(0);\n\t}", "protected void clearCaches() {\n DescriptorFactory.clearInstance();\n ObjectTypeFactory.clearInstance();\n TypeQualifierApplications.clearInstance();\n TypeQualifierAnnotation.clearInstance();\n TypeQualifierValue.clearInstance();\n // Make sure the codebases on the classpath are closed\n AnalysisContext.removeCurrentAnalysisContext();\n Global.removeAnalysisCacheForCurrentThread();\n MethodInfo.clearCaches();\n if (classPath != null) {\n classPath.close();\n }\n }", "public void clear() {\n cache.clear();\n }", "private void flushCache()\n {\n cachedDecomposition = null;\n cachedCentroid = null;\n cachedBounds = null;\n }", "public void unload() {\n releasePressureToReturn();\n releasePressureToShooter();\n latch(false);\n// reloaded = false;\n }", "public void Exit() {\n\t\tif(currentCar == null)\n\t\t\treturn;\n\n\t\tcurrentCar.setRoad(roads.get(nextDir));\n\t\tRoad nextRoad = roads.get(nextDir);\n\t\tif(currentCar != null){\n\t\t\tnextRoad.Enter(currentCar);\n\t\t\tcurrentCar = null;\n\t\t}\n\n\t\t//currentCar.curVelocity = 0;\n\t}", "public void shutdown() {\n try {\n infoServer.stop();\n } catch (Exception e) {\n }\n this.shouldRun = false;\n ((DataXceiveServer) this.dataXceiveServer.getRunnable()).kill();\n try {\n this.storage.closeAll();\n } catch (IOException ie) {\n }\n }", "public void exitAfterTransfers() {\n /*\n * Note: on Windows, this is called from the Windows system tray\n * handler thread (created in the Windows DLL), and not from the\n * Swing Event handler thread. It is unsafe to call\n * GUIMediator.shutdownAfterTransfers();\n * directly as Swing is not synchronized!\n * Instead, we should create an AWT Event and post it to the\n * default Toookit's EventQueue, and the application should\n * implement a Listener for that Event.\n */\n SwingUtilities.invokeLater(\n new Runnable() {\n public void run() {\n GUIMediator.shutdownAfterTransfers();\n }\n });\n }", "public void Exit(){\n\t\t\t\tclose();\n\t\t\t}", "public void Clean()\n\t{\n\t\tstorage.clear();\n\t}", "public void abort() {\n reservedSpace.clear();\n this.abortRequested = true;\n stop();\n }", "public void exit() {\r\n\t\tdispose();\r\n\t}", "public void cleanup()\n {\n CogTool.delayedWorkMgr.doDelayedWork(true);\n }", "public void exitMoreStorage(){\r\n\t\t/*\r\n\t\ttry {\r\n\t\t\ts.click(sys.WindowsExit);\r\n\t\t\t\r\n\t\t\tif(utilities.ExistVerify(sys.WindowsExit)){\r\n\t\t\t\tresultado.addMensagens(\"Windows 7 Browser\");\r\n\t\t\t\tlistaResultados.add(resultado);\r\n\t\t\t} else if (utilities.ExistVerify(sys.WindowExitw8)){\r\n\t\t\t\tresultado.addMensagens(\"Windows 8 Browser\");\r\n\t\t\t\tlistaResultados.add(resultado);\r\n\t\t\t}\r\n\t\t} catch (FindFailed e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t\tresultado.addMensagens(sys.ImageError);\r\n\t\t}\r\n\t\t*/\r\n\t\t\r\n\t\t\r\n\t\ttry {\r\n\t\t\t//resultado = new ResultExec(\"LSC initialization\");\t\t\t\t\t\t\t\r\n\t\t\tRuntime.getRuntime().exec(\"taskkill.exe /IM iexplore.exe /F\"); \r\n\t\t\t//resultado.addMensagens(\"Passed\");\r\n\t\t}catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\t//resultado.addMensagens(sys.ImageError);\r\n\t\t}\r\n\t}", "@Override\n protected void end() {\n Robot.m_drive.SetPower(0);\n }", "public void exit() {\n loader.getApplet().stop();\n loader.getApplet().destroy();\n }", "public void destroy() {\n processeddatasetDataProvider_tier.close();\n filebranchDataProvider_search.close();\n storageelementDataProvider_search.close();\n runsDataProvider_search.close();\n primarydatasetDataProvider_saerch.close();\n datatierDataProvider_search.close();\n algorithmconfigDataProvider_search.close();\n }", "protected void invalidateCache() {\r\n\tcurrentFilesFresh = false;\r\n }", "private void clearResetCache() {\n for(IoBuffer buf : resetCache) {\n buf.free();\n }\n resetCache = null;\n }", "public void clear() {\n\t\tthis.cache.clear();\n\t}", "protected void terminate(){\r\n\t\tsetTerminate(true);\r\n\t\tHolder holder = this.getDirectHolder();\r\n\t\tsetHolder(null);\r\n\t\tholder.removeItem(this);\r\n\t}", "public void deleteStorage() {\n deleteReportDir(reportDir_);\n reportDir_ = null;\n deleteReportDir(leftoverDir_);\n leftoverDir_ = null;\n }", "@Override\n public void end(boolean interrupted) {\n drivetrain.stopDrive();\n }", "public void shutdown() {\r\n System.exit(0);\r\n }", "public synchronized void shutdown() {\n try {\n stop();\n } catch (Exception ex) {\n }\n \n try {\n cleanup();\n } catch (Exception ex) {\n }\n }", "protected void disposeInternal()\r\n {\r\n if (!isAlive())\r\n {\r\n log.error(\"{0}: Not alive and dispose was called, filename: {1}\",\r\n logCacheName, fileName);\r\n return;\r\n }\r\n\r\n // Prevents any interaction with the cache while we're shutting down.\r\n setAlive(false);\r\n\r\n final Thread optimizationThread = currentOptimizationThread;\r\n if (isRealTimeOptimizationEnabled && optimizationThread != null)\r\n {\r\n // Join with the current optimization thread.\r\n log.debug(\"{0}: In dispose, optimization already in progress; waiting for completion.\",\r\n logCacheName);\r\n\r\n try\r\n {\r\n optimizationThread.join();\r\n }\r\n catch (final InterruptedException e)\r\n {\r\n log.error(\"{0}: Unable to join current optimization thread.\",\r\n logCacheName, e);\r\n }\r\n }\r\n else if (isShutdownOptimizationEnabled && this.getBytesFree() > 0)\r\n {\r\n optimizeFile();\r\n }\r\n\r\n saveKeys();\r\n\r\n try\r\n {\r\n log.debug(\"{0}: Closing files, base filename: {1}\", logCacheName,\r\n fileName);\r\n dataFile.close();\r\n dataFile = null;\r\n keyFile.close();\r\n keyFile = null;\r\n }\r\n catch (final IOException e)\r\n {\r\n log.error(\"{0}: Failure closing files in dispose, filename: {1}\",\r\n logCacheName, fileName, e);\r\n }\r\n\r\n log.info(\"{0}: Shutdown complete.\", logCacheName);\r\n }", "public static void clearAllCache() {\n try {\n sLruCache.evictAll();\n sDiskLruCache.delete();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public void stop() {\n\t\tserver.saveObjectToFile(offlineMessagesFileName, _offlineMessages);\n\t\tserver.saveObjectToFile(onlineClientsFileName, _onlineClients);\n\t\tserver.saveObjectToFile(clientFriendsFileName, _clientFriends);\n\t\t_offlineMessages.clear();\n\t\t_onlineClients.clear();\n\t\t_clientFriends.clear();\n\t\tserver.stop();\n\t}", "public void exit() {\n\t\tSystem.exit(0);\n\t}", "public void exit() {\n\t\tSystem.exit(0);\n\t}", "static void clearCache() {\n CONFIG_VALUES = null;\n RUN_MODE = null;\n }", "public void clear() {\n this.cache.clear();\n }", "public void destroy() {\n\t\texcludeItem = null;\r\n\t\tloginPage=null;\r\n\t\tloaginAction=null;\r\n\t\tauthority = null;\r\n\t}", "@Override\n public void onClick() {\n DataCleanManager2.clearAllCache(SetupActivity.this);\n //重置Acache\n ACache.get(SetupActivity.this);\n //new ThreadDaoImpl(SetupActivity.this).clearTable(\"period_info\");\n FileUtils.DeleteFolder(ConfigPath.downLoadPath);\n FileUtils.DeleteFolder(ConfigAppPath.downLoadPath);\n FileUtils.DeleteFolder(ConfigPath.downloadImagePath);\n FileUtils.DeleteFolder(AppConfig.PICTURE_PATH);\n initCacheSize();\n AppContext.showToast(\"已清除缓存\");\n //updateDialog.dismiss();\n\n }", "protected void end() {\n \tRobot.telemetry.setAutonomousStatus(\"Finishing \" + commandName + \": \" + distance);\n Robot.driveDistancePID.disable();\n \tRobot.drivetrain.arcadeDrive(0.0, 0.0);\n }", "public void exit() {\n try {\n synchronized (this.mSync) {\n if (this.mRunning) {\n this.mRunning = false;\n this.mSync.wait();\n }\n }\n } catch (Throwable ex) {\n /**NON BLOCK**/\n }\n }", "protected void end() {\n \tRobot.drive.brake();\n }", "public void clear() {\n helpers.clear();\n islandKeysCache.clear();\n setDirty();\n }", "public void uncStop() {\n\n new Thread(new Runnable() {\n\n @Override\n public void run() {\n int time = 7;\n if (ACTUAL_DIFICULTY == EASY)\n time = 7;\n if (ACTUAL_DIFICULTY == MEDIUM)\n time = 12;\n if (ACTUAL_DIFICULTY == HARD)\n time = 16;\n int count = 0;\n while (count < time) {\n drive_control.stopDriving();\n try {\n Thread.sleep(100);\n } catch (InterruptedException e) {\n\n }\n count++;\n }\n restoreValues();\n }\n }).start();\n }", "private void exit() {\n if (otherCost != null) {\n otherCost = null;\n }\n this.dispose();\n }", "protected void end() {\n drivebase.setArcade(0, 0);\n drivebase.disableTurnController();\n }", "public final void clear() {\r\n variablesCache.clear();\r\n }", "@Override\n public void end(boolean interrupted) {\n drivetrain.set(0, 0);\n }", "public void finalize() {\r\n byteBuffer2 = null;\r\n byteBuffer4 = null;\r\n byteBuffer8 = null;\r\n progressBar = null;\r\n tagBuffer = null;\r\n\r\n if (raFile != null) {\r\n\r\n try {\r\n raFile.close();\r\n } catch (final IOException ioe) {\r\n // Do nothing\r\n }\r\n }\r\n\r\n raFile = null;\r\n }", "void clearCache();" ]
[ "0.6852799", "0.6615086", "0.64498514", "0.6435805", "0.63149846", "0.6274767", "0.61769176", "0.61135507", "0.6063187", "0.6058047", "0.6035547", "0.6017455", "0.60108", "0.5990274", "0.5977717", "0.5971577", "0.59694093", "0.5947134", "0.59441787", "0.59146976", "0.58983153", "0.5860289", "0.583796", "0.5819412", "0.58076584", "0.5794785", "0.57936203", "0.57863015", "0.5784201", "0.5781933", "0.57448745", "0.57418555", "0.5740716", "0.5725469", "0.57143897", "0.5705435", "0.5688339", "0.5678863", "0.567718", "0.56730443", "0.56718403", "0.5668019", "0.56651396", "0.5649189", "0.56286997", "0.5625714", "0.56241", "0.56160766", "0.561445", "0.5613023", "0.5611576", "0.5610346", "0.5608855", "0.560738", "0.5596942", "0.5592379", "0.5588089", "0.55809027", "0.5580535", "0.5580503", "0.55691326", "0.55650336", "0.5545187", "0.5541451", "0.55411506", "0.5538668", "0.5534917", "0.55245084", "0.5521607", "0.5520995", "0.5513173", "0.5509029", "0.55049956", "0.54942477", "0.5483434", "0.54795116", "0.54770386", "0.5472521", "0.5470173", "0.5463823", "0.5463594", "0.5461204", "0.54599273", "0.54581666", "0.54581666", "0.5450684", "0.54487675", "0.5446732", "0.5439598", "0.54332477", "0.54264766", "0.5424744", "0.5419046", "0.5418934", "0.54170024", "0.54076266", "0.5403947", "0.5398633", "0.5394969", "0.53932375" ]
0.6060253
9
The method to simulate the corresponding method in the view.
@Override public void showMultiPlayerGame() { calledMethods.add("showMultiPlayerGame"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo8519a(View view);", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "public abstract View mo2155b();", "void mo12147a(View view);", "public abstract void viewRun();", "public void execute(VirtualView virtualView){\n //method in virtualView\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "View mo73990a(View view);", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "void view();", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "@Override\n\tpublic void staticFindViewByView() {\n\t\t\n\t}", "protected ReliedOnView() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "@Override\n\tpublic void action() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void mo1637a(View view) {\n }", "public abstract String getView();", "void mo6505cu(View view);", "@Override // kotlin.jvm.functions.Function0\n public Unit invoke() {\n AdvertDetailsAutotekaViewImpl.access$getListener$p(this.a).onClickGetAutotekaReport();\n return Unit.INSTANCE;\n }", "public View invoke() {\n return this.f64323a.findViewById(R.id.bt0);\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public static void testShowTodoView(){\n }", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void in_macha(View view) {\n }", "protected void render() {\n\t\tString accion = Thread.currentThread().getStackTrace()[2].getMethodName();\n\t\trender(accion);\n\t}", "public void action() {\n }", "@Override\n\tpublic void doYouWantTo() {\n\n\t}", "@Override\n\tpublic void call() {\n\t\t\n\t}", "public View invoke() {\n return this.f64321a.findViewById(R.id.am1);\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}", "@Override\n protected String getMethodName() {\n return suitename() + \"-\" + super.getMethodName();\n }", "@Override\n\tpublic void some() {\n\t\t\n\t}", "public void callmetoo(){\r\n\tSystem.out.println(\"This is a concrete method\");\r\n\t}", "public void doSomething() {\n \n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public abstract void pageDisplayed();", "public View getContent() {\n/* 238 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface BaseView {\n\n /**\n * 返回请求信息\n * @param value\n */\n void showReqResult(String value);\n\n}", "public abstract View a(Object obj);", "@Override\n\tpublic void doIt() {\n\t\t\n\t}", "public void testSetViews() {\n }", "@Override\n public void test() {\n \n }", "@Override\n\t\tpublic String getMethod() {\n\t\t\treturn null;\n\t\t}", "protected abstract MethodDescription accessorMethod();", "@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void ClickAceptar(View view){\n\n }", "protected void doSomethingElse()\r\n {\r\n \r\n }", "@Override\n\t\t\t\t\tpublic Method handleSimpleMethod(Element parent, FMethod src) {\n\t\t\t\t\t\treturn super.handleSimpleMethod(parent, src);\n\t\t\t\t\t}", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public String getView();", "public String getView();", "@Override\r\n\tpublic void simulate() {\n\t\t\r\n\t}", "@Override\n\tpublic void randomMethod(String name) {\n\t\t\n\t}", "public interface IFormulaView extends IBaseView {\n void submitSuccess(PlanDetailsEntity2 planDetailsEntity);\n}", "@Override\r\n\tpublic Response invoke() {\n\t\treturn null;\r\n\t}", "public View invoke() {\n return this.f64322a.findViewById(R.id.am2);\n }", "public void execute(View view){\n //method in view to show the choice\n }", "public abstract String showDetails();", "public abstract String display();", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "public void displayData(View view) {\n\n }", "Object getViewDetails();", "public Object caseView(View object) {\r\n\t\treturn null;\r\n\t}", "public abstract void mo2152a(View view);", "@Override\n\tpublic void function() {\n\t\t\n\t}", "@Override\n\tpublic void setView(Resultado resultado, HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "public View getHandle() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface EmptyViewMethodAccessor {\n\n\t/**\n\t * Calls upto AdapterView.setEmptyView()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyViewInternal(View emptyView);\n\n\t/**\n\t * Should call PullToRefreshBase.setEmptyView() which will then\n\t * automatically call through to setEmptyViewInternal()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyView(View emptyView);\n\n}", "@Override\n\tpublic void viewPrice() {\n\t\t\n\t}", "@Override\n public Matcher way() {\n return withView(getElementView(this));\n }", "@Override\n protected void doAct() {\n }", "@Override\n public void onClick(View theView) {\n setUp();\n\n\n }", "protected abstract void onPresenter();", "@RequestMapping(\"/editRepPage\")\r\n\tpublic String callEditRep(){\r\n\t\treturn \"editRepPage\";\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "interface View extends BaseView {\n //specific methods for each view\n void onTranslation(Sentence sentence);\n }", "public interface View_1 extends BaseView {\n\n void viewCall(String result);\n}", "protected void render(){}", "protected abstract void bindingView();", "public interface ICalcView {\n\n // 문자를 입력 받는다\n void append(String factor);\n\n // 결과를 출력한다\n String showresult(String result);\n // 식을 분리하는 메서드\n\n // 입력된 값을 넘겨주는 메서드\n String transferSentece();\n\n}", "protected abstract String display();", "protected abstract void populateView(View v, T model);", "public interface View {\n\t\n\tpublic DifferenceOperators getOperator();\n\tpublic double getUtility(DistanceMetric distanceMetric);\n\tpublic double getUtility(DistanceMetric distanceMetric,\n\t\t\tboolean normalizeDistributions);\n //Added by Himos\n public double getUtilitywithfunc(DistanceMetric distanceMetric, Constants.AggregateFunctions AGF,\n\t\t\tboolean normalizeDistributions);\n\tpublic List<View> constituentViews();\n \n // public String getHighFunction(); \n\t//public View getTopDifferent();\n\n}", "protected void display() {\n\r\n\t}", "android.view.View mo12148b();", "public interface TypeView extends BaseView {\n void getNewListEnd();\n\n void getNewListSuccess(List<New> news, int page);\n\n void getNewListError(String message, int page);\n}", "@Override\n public void showLoginView() {\n calledMethods.add(\"showLoginView\");\n }", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "public abstract void action();", "public abstract void action();" ]
[ "0.65891445", "0.6542304", "0.6511353", "0.6436543", "0.6384433", "0.635176", "0.62377805", "0.6196423", "0.6196423", "0.6196423", "0.6159732", "0.61458987", "0.61458987", "0.60510576", "0.6040804", "0.59966624", "0.59754556", "0.5973136", "0.594647", "0.5939329", "0.59389347", "0.59158397", "0.5856169", "0.585537", "0.58513504", "0.582815", "0.5804428", "0.57995176", "0.5774015", "0.57652426", "0.5758997", "0.5752617", "0.57512987", "0.5718392", "0.5681182", "0.56788087", "0.56747705", "0.56635976", "0.566114", "0.5650952", "0.5647677", "0.5643839", "0.564016", "0.5633525", "0.5632016", "0.56307995", "0.56306964", "0.56306267", "0.56201196", "0.5603982", "0.5601986", "0.559086", "0.55873764", "0.5586221", "0.5576363", "0.5572567", "0.5569882", "0.5569362", "0.55683845", "0.5555825", "0.5555825", "0.55501044", "0.55428594", "0.5542822", "0.5541642", "0.5538857", "0.55076855", "0.5494063", "0.5493318", "0.54922724", "0.54908144", "0.5487111", "0.54802084", "0.5479881", "0.54779184", "0.5477055", "0.5476851", "0.5475432", "0.5459498", "0.5444267", "0.54403126", "0.5438782", "0.5437144", "0.54351586", "0.5431865", "0.54316777", "0.54248977", "0.5421853", "0.54214036", "0.54093885", "0.5398136", "0.53929555", "0.5390341", "0.538675", "0.53859216", "0.53855646", "0.5385398", "0.5383096", "0.53824794", "0.53802586", "0.53802586" ]
0.0
-1
The method to simulate the corresponding method in the view.
@Override public void showSinglePlayerGame() { calledMethods.add("showSinglePlayerGame"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo8519a(View view);", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "public abstract View mo2155b();", "void mo12147a(View view);", "public abstract void viewRun();", "public void execute(VirtualView virtualView){\n //method in virtualView\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "View mo73990a(View view);", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "void view();", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "@Override\n\tpublic void staticFindViewByView() {\n\t\t\n\t}", "protected ReliedOnView() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "@Override\n\tpublic void action() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void mo1637a(View view) {\n }", "public abstract String getView();", "void mo6505cu(View view);", "@Override // kotlin.jvm.functions.Function0\n public Unit invoke() {\n AdvertDetailsAutotekaViewImpl.access$getListener$p(this.a).onClickGetAutotekaReport();\n return Unit.INSTANCE;\n }", "public View invoke() {\n return this.f64323a.findViewById(R.id.bt0);\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public static void testShowTodoView(){\n }", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void in_macha(View view) {\n }", "protected void render() {\n\t\tString accion = Thread.currentThread().getStackTrace()[2].getMethodName();\n\t\trender(accion);\n\t}", "public void action() {\n }", "@Override\n\tpublic void doYouWantTo() {\n\n\t}", "@Override\n\tpublic void call() {\n\t\t\n\t}", "public View invoke() {\n return this.f64321a.findViewById(R.id.am1);\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}", "@Override\n protected String getMethodName() {\n return suitename() + \"-\" + super.getMethodName();\n }", "@Override\n\tpublic void some() {\n\t\t\n\t}", "public void callmetoo(){\r\n\tSystem.out.println(\"This is a concrete method\");\r\n\t}", "public void doSomething() {\n \n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public abstract void pageDisplayed();", "public View getContent() {\n/* 238 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface BaseView {\n\n /**\n * 返回请求信息\n * @param value\n */\n void showReqResult(String value);\n\n}", "public abstract View a(Object obj);", "@Override\n\tpublic void doIt() {\n\t\t\n\t}", "public void testSetViews() {\n }", "@Override\n public void test() {\n \n }", "@Override\n\t\tpublic String getMethod() {\n\t\t\treturn null;\n\t\t}", "protected abstract MethodDescription accessorMethod();", "@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void ClickAceptar(View view){\n\n }", "protected void doSomethingElse()\r\n {\r\n \r\n }", "@Override\n\t\t\t\t\tpublic Method handleSimpleMethod(Element parent, FMethod src) {\n\t\t\t\t\t\treturn super.handleSimpleMethod(parent, src);\n\t\t\t\t\t}", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public String getView();", "public String getView();", "@Override\r\n\tpublic void simulate() {\n\t\t\r\n\t}", "@Override\n\tpublic void randomMethod(String name) {\n\t\t\n\t}", "public interface IFormulaView extends IBaseView {\n void submitSuccess(PlanDetailsEntity2 planDetailsEntity);\n}", "@Override\r\n\tpublic Response invoke() {\n\t\treturn null;\r\n\t}", "public View invoke() {\n return this.f64322a.findViewById(R.id.am2);\n }", "public void execute(View view){\n //method in view to show the choice\n }", "public abstract String showDetails();", "public abstract String display();", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "public void displayData(View view) {\n\n }", "Object getViewDetails();", "public Object caseView(View object) {\r\n\t\treturn null;\r\n\t}", "public abstract void mo2152a(View view);", "@Override\n\tpublic void function() {\n\t\t\n\t}", "@Override\n\tpublic void setView(Resultado resultado, HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "public View getHandle() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface EmptyViewMethodAccessor {\n\n\t/**\n\t * Calls upto AdapterView.setEmptyView()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyViewInternal(View emptyView);\n\n\t/**\n\t * Should call PullToRefreshBase.setEmptyView() which will then\n\t * automatically call through to setEmptyViewInternal()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyView(View emptyView);\n\n}", "@Override\n\tpublic void viewPrice() {\n\t\t\n\t}", "@Override\n public Matcher way() {\n return withView(getElementView(this));\n }", "@Override\n protected void doAct() {\n }", "@Override\n public void onClick(View theView) {\n setUp();\n\n\n }", "protected abstract void onPresenter();", "@RequestMapping(\"/editRepPage\")\r\n\tpublic String callEditRep(){\r\n\t\treturn \"editRepPage\";\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "interface View extends BaseView {\n //specific methods for each view\n void onTranslation(Sentence sentence);\n }", "public interface View_1 extends BaseView {\n\n void viewCall(String result);\n}", "protected void render(){}", "protected abstract void bindingView();", "public interface ICalcView {\n\n // 문자를 입력 받는다\n void append(String factor);\n\n // 결과를 출력한다\n String showresult(String result);\n // 식을 분리하는 메서드\n\n // 입력된 값을 넘겨주는 메서드\n String transferSentece();\n\n}", "protected abstract String display();", "protected abstract void populateView(View v, T model);", "public interface View {\n\t\n\tpublic DifferenceOperators getOperator();\n\tpublic double getUtility(DistanceMetric distanceMetric);\n\tpublic double getUtility(DistanceMetric distanceMetric,\n\t\t\tboolean normalizeDistributions);\n //Added by Himos\n public double getUtilitywithfunc(DistanceMetric distanceMetric, Constants.AggregateFunctions AGF,\n\t\t\tboolean normalizeDistributions);\n\tpublic List<View> constituentViews();\n \n // public String getHighFunction(); \n\t//public View getTopDifferent();\n\n}", "protected void display() {\n\r\n\t}", "android.view.View mo12148b();", "public interface TypeView extends BaseView {\n void getNewListEnd();\n\n void getNewListSuccess(List<New> news, int page);\n\n void getNewListError(String message, int page);\n}", "@Override\n public void showLoginView() {\n calledMethods.add(\"showLoginView\");\n }", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "public abstract void action();", "public abstract void action();" ]
[ "0.65891445", "0.6542304", "0.6511353", "0.6436543", "0.6384433", "0.635176", "0.62377805", "0.6196423", "0.6196423", "0.6196423", "0.6159732", "0.61458987", "0.61458987", "0.60510576", "0.6040804", "0.59966624", "0.59754556", "0.5973136", "0.594647", "0.5939329", "0.59389347", "0.59158397", "0.5856169", "0.585537", "0.58513504", "0.582815", "0.5804428", "0.57995176", "0.5774015", "0.57652426", "0.5758997", "0.5752617", "0.57512987", "0.5718392", "0.5681182", "0.56788087", "0.56747705", "0.56635976", "0.566114", "0.5650952", "0.5647677", "0.5643839", "0.564016", "0.5633525", "0.5632016", "0.56307995", "0.56306964", "0.56306267", "0.56201196", "0.5603982", "0.5601986", "0.559086", "0.55873764", "0.5586221", "0.5576363", "0.5572567", "0.5569882", "0.5569362", "0.55683845", "0.5555825", "0.5555825", "0.55501044", "0.55428594", "0.5542822", "0.5541642", "0.5538857", "0.55076855", "0.5494063", "0.5493318", "0.54922724", "0.54908144", "0.5487111", "0.54802084", "0.5479881", "0.54779184", "0.5477055", "0.5476851", "0.5475432", "0.5459498", "0.5444267", "0.54403126", "0.5438782", "0.5437144", "0.54351586", "0.5431865", "0.54316777", "0.54248977", "0.5421853", "0.54214036", "0.54093885", "0.5398136", "0.53929555", "0.5390341", "0.538675", "0.53859216", "0.53855646", "0.5385398", "0.5383096", "0.53824794", "0.53802586", "0.53802586" ]
0.0
-1
The method to simulate the corresponding method in the view.
@Override public void showError(String error) { calledMethods.add("showError: " + error); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo8519a(View view);", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "public abstract View mo2155b();", "void mo12147a(View view);", "public abstract void viewRun();", "public void execute(VirtualView virtualView){\n //method in virtualView\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "View mo73990a(View view);", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "void view();", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "@Override\n\tpublic void staticFindViewByView() {\n\t\t\n\t}", "protected ReliedOnView() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "@Override\n\tpublic void action() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void mo1637a(View view) {\n }", "public abstract String getView();", "void mo6505cu(View view);", "@Override // kotlin.jvm.functions.Function0\n public Unit invoke() {\n AdvertDetailsAutotekaViewImpl.access$getListener$p(this.a).onClickGetAutotekaReport();\n return Unit.INSTANCE;\n }", "public View invoke() {\n return this.f64323a.findViewById(R.id.bt0);\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public static void testShowTodoView(){\n }", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void in_macha(View view) {\n }", "protected void render() {\n\t\tString accion = Thread.currentThread().getStackTrace()[2].getMethodName();\n\t\trender(accion);\n\t}", "public void action() {\n }", "@Override\n\tpublic void doYouWantTo() {\n\n\t}", "@Override\n\tpublic void call() {\n\t\t\n\t}", "public View invoke() {\n return this.f64321a.findViewById(R.id.am1);\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}", "@Override\n protected String getMethodName() {\n return suitename() + \"-\" + super.getMethodName();\n }", "@Override\n\tpublic void some() {\n\t\t\n\t}", "public void callmetoo(){\r\n\tSystem.out.println(\"This is a concrete method\");\r\n\t}", "public void doSomething() {\n \n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public abstract void pageDisplayed();", "public View getContent() {\n/* 238 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface BaseView {\n\n /**\n * 返回请求信息\n * @param value\n */\n void showReqResult(String value);\n\n}", "public abstract View a(Object obj);", "@Override\n\tpublic void doIt() {\n\t\t\n\t}", "public void testSetViews() {\n }", "@Override\n public void test() {\n \n }", "@Override\n\t\tpublic String getMethod() {\n\t\t\treturn null;\n\t\t}", "protected abstract MethodDescription accessorMethod();", "@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void ClickAceptar(View view){\n\n }", "protected void doSomethingElse()\r\n {\r\n \r\n }", "@Override\n\t\t\t\t\tpublic Method handleSimpleMethod(Element parent, FMethod src) {\n\t\t\t\t\t\treturn super.handleSimpleMethod(parent, src);\n\t\t\t\t\t}", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public String getView();", "public String getView();", "@Override\r\n\tpublic void simulate() {\n\t\t\r\n\t}", "@Override\n\tpublic void randomMethod(String name) {\n\t\t\n\t}", "public interface IFormulaView extends IBaseView {\n void submitSuccess(PlanDetailsEntity2 planDetailsEntity);\n}", "@Override\r\n\tpublic Response invoke() {\n\t\treturn null;\r\n\t}", "public View invoke() {\n return this.f64322a.findViewById(R.id.am2);\n }", "public void execute(View view){\n //method in view to show the choice\n }", "public abstract String showDetails();", "public abstract String display();", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "public void displayData(View view) {\n\n }", "Object getViewDetails();", "public Object caseView(View object) {\r\n\t\treturn null;\r\n\t}", "public abstract void mo2152a(View view);", "@Override\n\tpublic void function() {\n\t\t\n\t}", "@Override\n\tpublic void setView(Resultado resultado, HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "public View getHandle() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface EmptyViewMethodAccessor {\n\n\t/**\n\t * Calls upto AdapterView.setEmptyView()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyViewInternal(View emptyView);\n\n\t/**\n\t * Should call PullToRefreshBase.setEmptyView() which will then\n\t * automatically call through to setEmptyViewInternal()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyView(View emptyView);\n\n}", "@Override\n\tpublic void viewPrice() {\n\t\t\n\t}", "@Override\n public Matcher way() {\n return withView(getElementView(this));\n }", "@Override\n protected void doAct() {\n }", "@Override\n public void onClick(View theView) {\n setUp();\n\n\n }", "protected abstract void onPresenter();", "@RequestMapping(\"/editRepPage\")\r\n\tpublic String callEditRep(){\r\n\t\treturn \"editRepPage\";\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "interface View extends BaseView {\n //specific methods for each view\n void onTranslation(Sentence sentence);\n }", "public interface View_1 extends BaseView {\n\n void viewCall(String result);\n}", "protected void render(){}", "protected abstract void bindingView();", "public interface ICalcView {\n\n // 문자를 입력 받는다\n void append(String factor);\n\n // 결과를 출력한다\n String showresult(String result);\n // 식을 분리하는 메서드\n\n // 입력된 값을 넘겨주는 메서드\n String transferSentece();\n\n}", "protected abstract String display();", "protected abstract void populateView(View v, T model);", "public interface View {\n\t\n\tpublic DifferenceOperators getOperator();\n\tpublic double getUtility(DistanceMetric distanceMetric);\n\tpublic double getUtility(DistanceMetric distanceMetric,\n\t\t\tboolean normalizeDistributions);\n //Added by Himos\n public double getUtilitywithfunc(DistanceMetric distanceMetric, Constants.AggregateFunctions AGF,\n\t\t\tboolean normalizeDistributions);\n\tpublic List<View> constituentViews();\n \n // public String getHighFunction(); \n\t//public View getTopDifferent();\n\n}", "protected void display() {\n\r\n\t}", "android.view.View mo12148b();", "public interface TypeView extends BaseView {\n void getNewListEnd();\n\n void getNewListSuccess(List<New> news, int page);\n\n void getNewListError(String message, int page);\n}", "@Override\n public void showLoginView() {\n calledMethods.add(\"showLoginView\");\n }", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "public abstract void action();", "public abstract void action();" ]
[ "0.65891445", "0.6542304", "0.6511353", "0.6436543", "0.6384433", "0.635176", "0.62377805", "0.6196423", "0.6196423", "0.6196423", "0.6159732", "0.61458987", "0.61458987", "0.60510576", "0.6040804", "0.59966624", "0.59754556", "0.5973136", "0.594647", "0.5939329", "0.59389347", "0.59158397", "0.5856169", "0.585537", "0.58513504", "0.582815", "0.5804428", "0.57995176", "0.5774015", "0.57652426", "0.5758997", "0.5752617", "0.57512987", "0.5718392", "0.5681182", "0.56788087", "0.56747705", "0.56635976", "0.566114", "0.5650952", "0.5647677", "0.5643839", "0.564016", "0.5633525", "0.5632016", "0.56307995", "0.56306964", "0.56306267", "0.56201196", "0.5603982", "0.5601986", "0.559086", "0.55873764", "0.5586221", "0.5576363", "0.5572567", "0.5569882", "0.5569362", "0.55683845", "0.5555825", "0.5555825", "0.55501044", "0.55428594", "0.5542822", "0.5541642", "0.5538857", "0.55076855", "0.5494063", "0.5493318", "0.54922724", "0.54908144", "0.5487111", "0.54802084", "0.5479881", "0.54779184", "0.5477055", "0.5476851", "0.5475432", "0.5459498", "0.5444267", "0.54403126", "0.5438782", "0.5437144", "0.54351586", "0.5431865", "0.54316777", "0.54248977", "0.5421853", "0.54214036", "0.54093885", "0.5398136", "0.53929555", "0.5390341", "0.538675", "0.53859216", "0.53855646", "0.5385398", "0.5383096", "0.53824794", "0.53802586", "0.53802586" ]
0.0
-1
The method to simulate the corresponding method in the view.
@Override public void showPatternSelection() { calledMethods.add("showPatternSelection"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo8519a(View view);", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "public abstract View mo2155b();", "void mo12147a(View view);", "public abstract void viewRun();", "public void execute(VirtualView virtualView){\n //method in virtualView\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "View mo73990a(View view);", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "void view();", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "@Override\n\tpublic void staticFindViewByView() {\n\t\t\n\t}", "protected ReliedOnView() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "@Override\n\tpublic void action() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void mo1637a(View view) {\n }", "public abstract String getView();", "void mo6505cu(View view);", "@Override // kotlin.jvm.functions.Function0\n public Unit invoke() {\n AdvertDetailsAutotekaViewImpl.access$getListener$p(this.a).onClickGetAutotekaReport();\n return Unit.INSTANCE;\n }", "public View invoke() {\n return this.f64323a.findViewById(R.id.bt0);\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public static void testShowTodoView(){\n }", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void in_macha(View view) {\n }", "protected void render() {\n\t\tString accion = Thread.currentThread().getStackTrace()[2].getMethodName();\n\t\trender(accion);\n\t}", "public void action() {\n }", "@Override\n\tpublic void doYouWantTo() {\n\n\t}", "@Override\n\tpublic void call() {\n\t\t\n\t}", "public View invoke() {\n return this.f64321a.findViewById(R.id.am1);\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}", "@Override\n protected String getMethodName() {\n return suitename() + \"-\" + super.getMethodName();\n }", "@Override\n\tpublic void some() {\n\t\t\n\t}", "public void callmetoo(){\r\n\tSystem.out.println(\"This is a concrete method\");\r\n\t}", "public void doSomething() {\n \n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public abstract void pageDisplayed();", "public View getContent() {\n/* 238 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "@Override\n\tpublic void doIt() {\n\t\t\n\t}", "public interface BaseView {\n\n /**\n * 返回请求信息\n * @param value\n */\n void showReqResult(String value);\n\n}", "public abstract View a(Object obj);", "public void testSetViews() {\n }", "@Override\n public void test() {\n \n }", "@Override\n\t\tpublic String getMethod() {\n\t\t\treturn null;\n\t\t}", "protected abstract MethodDescription accessorMethod();", "@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void ClickAceptar(View view){\n\n }", "@Override\n\t\t\t\t\tpublic Method handleSimpleMethod(Element parent, FMethod src) {\n\t\t\t\t\t\treturn super.handleSimpleMethod(parent, src);\n\t\t\t\t\t}", "protected void doSomethingElse()\r\n {\r\n \r\n }", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public String getView();", "public String getView();", "@Override\r\n\tpublic void simulate() {\n\t\t\r\n\t}", "@Override\n\tpublic void randomMethod(String name) {\n\t\t\n\t}", "@Override\r\n\tpublic Response invoke() {\n\t\treturn null;\r\n\t}", "public interface IFormulaView extends IBaseView {\n void submitSuccess(PlanDetailsEntity2 planDetailsEntity);\n}", "public View invoke() {\n return this.f64322a.findViewById(R.id.am2);\n }", "public void execute(View view){\n //method in view to show the choice\n }", "public abstract String showDetails();", "public abstract String display();", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "public void displayData(View view) {\n\n }", "Object getViewDetails();", "public abstract void mo2152a(View view);", "public Object caseView(View object) {\r\n\t\treturn null;\r\n\t}", "@Override\n\tpublic void function() {\n\t\t\n\t}", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "@Override\n\tpublic void setView(Resultado resultado, HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "public View getHandle() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface EmptyViewMethodAccessor {\n\n\t/**\n\t * Calls upto AdapterView.setEmptyView()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyViewInternal(View emptyView);\n\n\t/**\n\t * Should call PullToRefreshBase.setEmptyView() which will then\n\t * automatically call through to setEmptyViewInternal()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyView(View emptyView);\n\n}", "@Override\n\tpublic void viewPrice() {\n\t\t\n\t}", "@Override\n public Matcher way() {\n return withView(getElementView(this));\n }", "@Override\n protected void doAct() {\n }", "@Override\n public void onClick(View theView) {\n setUp();\n\n\n }", "protected abstract void onPresenter();", "@RequestMapping(\"/editRepPage\")\r\n\tpublic String callEditRep(){\r\n\t\treturn \"editRepPage\";\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "interface View extends BaseView {\n //specific methods for each view\n void onTranslation(Sentence sentence);\n }", "public interface View_1 extends BaseView {\n\n void viewCall(String result);\n}", "protected void render(){}", "protected abstract void bindingView();", "public interface ICalcView {\n\n // 문자를 입력 받는다\n void append(String factor);\n\n // 결과를 출력한다\n String showresult(String result);\n // 식을 분리하는 메서드\n\n // 입력된 값을 넘겨주는 메서드\n String transferSentece();\n\n}", "protected abstract String display();", "protected abstract void populateView(View v, T model);", "public interface View {\n\t\n\tpublic DifferenceOperators getOperator();\n\tpublic double getUtility(DistanceMetric distanceMetric);\n\tpublic double getUtility(DistanceMetric distanceMetric,\n\t\t\tboolean normalizeDistributions);\n //Added by Himos\n public double getUtilitywithfunc(DistanceMetric distanceMetric, Constants.AggregateFunctions AGF,\n\t\t\tboolean normalizeDistributions);\n\tpublic List<View> constituentViews();\n \n // public String getHighFunction(); \n\t//public View getTopDifferent();\n\n}", "protected void display() {\n\r\n\t}", "android.view.View mo12148b();", "public interface TypeView extends BaseView {\n void getNewListEnd();\n\n void getNewListSuccess(List<New> news, int page);\n\n void getNewListError(String message, int page);\n}", "@Override\n public void showLoginView() {\n calledMethods.add(\"showLoginView\");\n }", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "public abstract void action();", "public abstract void action();" ]
[ "0.6588587", "0.65418404", "0.651035", "0.6435849", "0.6384111", "0.6352338", "0.623875", "0.61960214", "0.61960214", "0.61960214", "0.6159557", "0.6144661", "0.6144661", "0.6050728", "0.6040395", "0.59969884", "0.5974605", "0.59723383", "0.59453255", "0.5939047", "0.59387976", "0.5914609", "0.58574843", "0.5854961", "0.5850764", "0.5828257", "0.5805117", "0.58000475", "0.5774433", "0.57661474", "0.5760453", "0.5752092", "0.57514435", "0.5718576", "0.56809133", "0.56786776", "0.5674546", "0.566439", "0.5661825", "0.5651152", "0.5648217", "0.56440187", "0.56397706", "0.56338143", "0.56321275", "0.56308544", "0.56300575", "0.5629982", "0.5620505", "0.5604478", "0.56017804", "0.55912435", "0.55873567", "0.55861986", "0.55761546", "0.55725086", "0.55699724", "0.556996", "0.5568921", "0.55551785", "0.55551785", "0.5551075", "0.5543079", "0.5542382", "0.5541899", "0.553847", "0.5507822", "0.54938895", "0.54926336", "0.54912674", "0.548996", "0.54862547", "0.5479798", "0.54796267", "0.5477134", "0.5476555", "0.547634", "0.5475759", "0.54597807", "0.54436564", "0.54400164", "0.54390246", "0.543709", "0.54350704", "0.5432407", "0.5430556", "0.54236066", "0.5421186", "0.5420124", "0.5407707", "0.5397283", "0.5392088", "0.538957", "0.53851795", "0.53850466", "0.5385008", "0.5383961", "0.53830695", "0.5382251", "0.5380787", "0.5380787" ]
0.0
-1
The method to simulate the corresponding method in the view.
@Override public void showPrivateObjectiveSelection() { calledMethods.add("showPrivateObjectiveSelection"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo8519a(View view);", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "public abstract View mo2155b();", "void mo12147a(View view);", "public abstract void viewRun();", "public void execute(VirtualView virtualView){\n //method in virtualView\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "View mo73990a(View view);", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "void view();", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "@Override\n\tpublic void staticFindViewByView() {\n\t\t\n\t}", "protected ReliedOnView() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "@Override\n\tpublic void action() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void mo1637a(View view) {\n }", "public abstract String getView();", "void mo6505cu(View view);", "@Override // kotlin.jvm.functions.Function0\n public Unit invoke() {\n AdvertDetailsAutotekaViewImpl.access$getListener$p(this.a).onClickGetAutotekaReport();\n return Unit.INSTANCE;\n }", "public View invoke() {\n return this.f64323a.findViewById(R.id.bt0);\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public static void testShowTodoView(){\n }", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void in_macha(View view) {\n }", "protected void render() {\n\t\tString accion = Thread.currentThread().getStackTrace()[2].getMethodName();\n\t\trender(accion);\n\t}", "public void action() {\n }", "@Override\n\tpublic void doYouWantTo() {\n\n\t}", "@Override\n\tpublic void call() {\n\t\t\n\t}", "public View invoke() {\n return this.f64321a.findViewById(R.id.am1);\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}", "@Override\n protected String getMethodName() {\n return suitename() + \"-\" + super.getMethodName();\n }", "@Override\n\tpublic void some() {\n\t\t\n\t}", "public void callmetoo(){\r\n\tSystem.out.println(\"This is a concrete method\");\r\n\t}", "public void doSomething() {\n \n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public abstract void pageDisplayed();", "public View getContent() {\n/* 238 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface BaseView {\n\n /**\n * 返回请求信息\n * @param value\n */\n void showReqResult(String value);\n\n}", "public abstract View a(Object obj);", "@Override\n\tpublic void doIt() {\n\t\t\n\t}", "public void testSetViews() {\n }", "@Override\n public void test() {\n \n }", "@Override\n\t\tpublic String getMethod() {\n\t\t\treturn null;\n\t\t}", "protected abstract MethodDescription accessorMethod();", "@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void ClickAceptar(View view){\n\n }", "protected void doSomethingElse()\r\n {\r\n \r\n }", "@Override\n\t\t\t\t\tpublic Method handleSimpleMethod(Element parent, FMethod src) {\n\t\t\t\t\t\treturn super.handleSimpleMethod(parent, src);\n\t\t\t\t\t}", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public String getView();", "public String getView();", "@Override\r\n\tpublic void simulate() {\n\t\t\r\n\t}", "@Override\n\tpublic void randomMethod(String name) {\n\t\t\n\t}", "public interface IFormulaView extends IBaseView {\n void submitSuccess(PlanDetailsEntity2 planDetailsEntity);\n}", "@Override\r\n\tpublic Response invoke() {\n\t\treturn null;\r\n\t}", "public View invoke() {\n return this.f64322a.findViewById(R.id.am2);\n }", "public void execute(View view){\n //method in view to show the choice\n }", "public abstract String showDetails();", "public abstract String display();", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "public void displayData(View view) {\n\n }", "Object getViewDetails();", "public Object caseView(View object) {\r\n\t\treturn null;\r\n\t}", "public abstract void mo2152a(View view);", "@Override\n\tpublic void function() {\n\t\t\n\t}", "@Override\n\tpublic void setView(Resultado resultado, HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "public View getHandle() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface EmptyViewMethodAccessor {\n\n\t/**\n\t * Calls upto AdapterView.setEmptyView()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyViewInternal(View emptyView);\n\n\t/**\n\t * Should call PullToRefreshBase.setEmptyView() which will then\n\t * automatically call through to setEmptyViewInternal()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyView(View emptyView);\n\n}", "@Override\n\tpublic void viewPrice() {\n\t\t\n\t}", "@Override\n public Matcher way() {\n return withView(getElementView(this));\n }", "@Override\n protected void doAct() {\n }", "@Override\n public void onClick(View theView) {\n setUp();\n\n\n }", "protected abstract void onPresenter();", "@RequestMapping(\"/editRepPage\")\r\n\tpublic String callEditRep(){\r\n\t\treturn \"editRepPage\";\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "interface View extends BaseView {\n //specific methods for each view\n void onTranslation(Sentence sentence);\n }", "public interface View_1 extends BaseView {\n\n void viewCall(String result);\n}", "protected void render(){}", "protected abstract void bindingView();", "public interface ICalcView {\n\n // 문자를 입력 받는다\n void append(String factor);\n\n // 결과를 출력한다\n String showresult(String result);\n // 식을 분리하는 메서드\n\n // 입력된 값을 넘겨주는 메서드\n String transferSentece();\n\n}", "protected abstract String display();", "protected abstract void populateView(View v, T model);", "public interface View {\n\t\n\tpublic DifferenceOperators getOperator();\n\tpublic double getUtility(DistanceMetric distanceMetric);\n\tpublic double getUtility(DistanceMetric distanceMetric,\n\t\t\tboolean normalizeDistributions);\n //Added by Himos\n public double getUtilitywithfunc(DistanceMetric distanceMetric, Constants.AggregateFunctions AGF,\n\t\t\tboolean normalizeDistributions);\n\tpublic List<View> constituentViews();\n \n // public String getHighFunction(); \n\t//public View getTopDifferent();\n\n}", "protected void display() {\n\r\n\t}", "android.view.View mo12148b();", "public interface TypeView extends BaseView {\n void getNewListEnd();\n\n void getNewListSuccess(List<New> news, int page);\n\n void getNewListError(String message, int page);\n}", "@Override\n public void showLoginView() {\n calledMethods.add(\"showLoginView\");\n }", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "public abstract void action();", "public abstract void action();" ]
[ "0.65891445", "0.6542304", "0.6511353", "0.6436543", "0.6384433", "0.635176", "0.62377805", "0.6196423", "0.6196423", "0.6196423", "0.6159732", "0.61458987", "0.61458987", "0.60510576", "0.6040804", "0.59966624", "0.59754556", "0.5973136", "0.594647", "0.5939329", "0.59389347", "0.59158397", "0.5856169", "0.585537", "0.58513504", "0.582815", "0.5804428", "0.57995176", "0.5774015", "0.57652426", "0.5758997", "0.5752617", "0.57512987", "0.5718392", "0.5681182", "0.56788087", "0.56747705", "0.56635976", "0.566114", "0.5650952", "0.5647677", "0.5643839", "0.564016", "0.5633525", "0.5632016", "0.56307995", "0.56306964", "0.56306267", "0.56201196", "0.5603982", "0.5601986", "0.559086", "0.55873764", "0.5586221", "0.5576363", "0.5572567", "0.5569882", "0.5569362", "0.55683845", "0.5555825", "0.5555825", "0.55501044", "0.55428594", "0.5542822", "0.5541642", "0.5538857", "0.55076855", "0.5494063", "0.5493318", "0.54922724", "0.54908144", "0.5487111", "0.54802084", "0.5479881", "0.54779184", "0.5477055", "0.5476851", "0.5475432", "0.5459498", "0.5444267", "0.54403126", "0.5438782", "0.5437144", "0.54351586", "0.5431865", "0.54316777", "0.54248977", "0.5421853", "0.54214036", "0.54093885", "0.5398136", "0.53929555", "0.5390341", "0.538675", "0.53859216", "0.53855646", "0.5385398", "0.5383096", "0.53824794", "0.53802586", "0.53802586" ]
0.0
-1
The method to simulate the corresponding method in the view.
@Override public void showScoreBoard() { calledMethods.add("showScoreBoard"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo8519a(View view);", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "public abstract View mo2155b();", "void mo12147a(View view);", "public abstract void viewRun();", "public void execute(VirtualView virtualView){\n //method in virtualView\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "View mo73990a(View view);", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "void view();", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "@Override\n\tpublic void staticFindViewByView() {\n\t\t\n\t}", "protected ReliedOnView() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "@Override\n\tpublic void action() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void mo1637a(View view) {\n }", "public abstract String getView();", "void mo6505cu(View view);", "@Override // kotlin.jvm.functions.Function0\n public Unit invoke() {\n AdvertDetailsAutotekaViewImpl.access$getListener$p(this.a).onClickGetAutotekaReport();\n return Unit.INSTANCE;\n }", "public View invoke() {\n return this.f64323a.findViewById(R.id.bt0);\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public static void testShowTodoView(){\n }", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void in_macha(View view) {\n }", "protected void render() {\n\t\tString accion = Thread.currentThread().getStackTrace()[2].getMethodName();\n\t\trender(accion);\n\t}", "public void action() {\n }", "@Override\n\tpublic void doYouWantTo() {\n\n\t}", "@Override\n\tpublic void call() {\n\t\t\n\t}", "public View invoke() {\n return this.f64321a.findViewById(R.id.am1);\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}", "@Override\n protected String getMethodName() {\n return suitename() + \"-\" + super.getMethodName();\n }", "@Override\n\tpublic void some() {\n\t\t\n\t}", "public void callmetoo(){\r\n\tSystem.out.println(\"This is a concrete method\");\r\n\t}", "public void doSomething() {\n \n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public abstract void pageDisplayed();", "public View getContent() {\n/* 238 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface BaseView {\n\n /**\n * 返回请求信息\n * @param value\n */\n void showReqResult(String value);\n\n}", "public abstract View a(Object obj);", "@Override\n\tpublic void doIt() {\n\t\t\n\t}", "public void testSetViews() {\n }", "@Override\n public void test() {\n \n }", "@Override\n\t\tpublic String getMethod() {\n\t\t\treturn null;\n\t\t}", "protected abstract MethodDescription accessorMethod();", "@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void ClickAceptar(View view){\n\n }", "protected void doSomethingElse()\r\n {\r\n \r\n }", "@Override\n\t\t\t\t\tpublic Method handleSimpleMethod(Element parent, FMethod src) {\n\t\t\t\t\t\treturn super.handleSimpleMethod(parent, src);\n\t\t\t\t\t}", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public String getView();", "public String getView();", "@Override\r\n\tpublic void simulate() {\n\t\t\r\n\t}", "@Override\n\tpublic void randomMethod(String name) {\n\t\t\n\t}", "public interface IFormulaView extends IBaseView {\n void submitSuccess(PlanDetailsEntity2 planDetailsEntity);\n}", "@Override\r\n\tpublic Response invoke() {\n\t\treturn null;\r\n\t}", "public View invoke() {\n return this.f64322a.findViewById(R.id.am2);\n }", "public void execute(View view){\n //method in view to show the choice\n }", "public abstract String showDetails();", "public abstract String display();", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "public void displayData(View view) {\n\n }", "Object getViewDetails();", "public Object caseView(View object) {\r\n\t\treturn null;\r\n\t}", "public abstract void mo2152a(View view);", "@Override\n\tpublic void function() {\n\t\t\n\t}", "@Override\n\tpublic void setView(Resultado resultado, HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "public View getHandle() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface EmptyViewMethodAccessor {\n\n\t/**\n\t * Calls upto AdapterView.setEmptyView()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyViewInternal(View emptyView);\n\n\t/**\n\t * Should call PullToRefreshBase.setEmptyView() which will then\n\t * automatically call through to setEmptyViewInternal()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyView(View emptyView);\n\n}", "@Override\n\tpublic void viewPrice() {\n\t\t\n\t}", "@Override\n public Matcher way() {\n return withView(getElementView(this));\n }", "@Override\n protected void doAct() {\n }", "@Override\n public void onClick(View theView) {\n setUp();\n\n\n }", "protected abstract void onPresenter();", "@RequestMapping(\"/editRepPage\")\r\n\tpublic String callEditRep(){\r\n\t\treturn \"editRepPage\";\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "interface View extends BaseView {\n //specific methods for each view\n void onTranslation(Sentence sentence);\n }", "public interface View_1 extends BaseView {\n\n void viewCall(String result);\n}", "protected void render(){}", "protected abstract void bindingView();", "public interface ICalcView {\n\n // 문자를 입력 받는다\n void append(String factor);\n\n // 결과를 출력한다\n String showresult(String result);\n // 식을 분리하는 메서드\n\n // 입력된 값을 넘겨주는 메서드\n String transferSentece();\n\n}", "protected abstract String display();", "protected abstract void populateView(View v, T model);", "public interface View {\n\t\n\tpublic DifferenceOperators getOperator();\n\tpublic double getUtility(DistanceMetric distanceMetric);\n\tpublic double getUtility(DistanceMetric distanceMetric,\n\t\t\tboolean normalizeDistributions);\n //Added by Himos\n public double getUtilitywithfunc(DistanceMetric distanceMetric, Constants.AggregateFunctions AGF,\n\t\t\tboolean normalizeDistributions);\n\tpublic List<View> constituentViews();\n \n // public String getHighFunction(); \n\t//public View getTopDifferent();\n\n}", "protected void display() {\n\r\n\t}", "android.view.View mo12148b();", "public interface TypeView extends BaseView {\n void getNewListEnd();\n\n void getNewListSuccess(List<New> news, int page);\n\n void getNewListError(String message, int page);\n}", "@Override\n public void showLoginView() {\n calledMethods.add(\"showLoginView\");\n }", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "public abstract void action();", "public abstract void action();" ]
[ "0.65891445", "0.6542304", "0.6511353", "0.6436543", "0.6384433", "0.635176", "0.62377805", "0.6196423", "0.6196423", "0.6196423", "0.6159732", "0.61458987", "0.61458987", "0.60510576", "0.6040804", "0.59966624", "0.59754556", "0.5973136", "0.594647", "0.5939329", "0.59389347", "0.59158397", "0.5856169", "0.585537", "0.58513504", "0.582815", "0.5804428", "0.57995176", "0.5774015", "0.57652426", "0.5758997", "0.5752617", "0.57512987", "0.5718392", "0.5681182", "0.56788087", "0.56747705", "0.56635976", "0.566114", "0.5650952", "0.5647677", "0.5643839", "0.564016", "0.5633525", "0.5632016", "0.56307995", "0.56306964", "0.56306267", "0.56201196", "0.5603982", "0.5601986", "0.559086", "0.55873764", "0.5586221", "0.5576363", "0.5572567", "0.5569882", "0.5569362", "0.55683845", "0.5555825", "0.5555825", "0.55501044", "0.55428594", "0.5542822", "0.5541642", "0.5538857", "0.55076855", "0.5494063", "0.5493318", "0.54922724", "0.54908144", "0.5487111", "0.54802084", "0.5479881", "0.54779184", "0.5477055", "0.5476851", "0.5475432", "0.5459498", "0.5444267", "0.54403126", "0.5438782", "0.5437144", "0.54351586", "0.5431865", "0.54316777", "0.54248977", "0.5421853", "0.54214036", "0.54093885", "0.5398136", "0.53929555", "0.5390341", "0.538675", "0.53859216", "0.53855646", "0.5385398", "0.5383096", "0.53824794", "0.53802586", "0.53802586" ]
0.0
-1
The method to simulate the corresponding method in the view.
@Override public void showDieSelection() { calledMethods.add("showDieSelection"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo8519a(View view);", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "public abstract View mo2155b();", "void mo12147a(View view);", "public abstract void viewRun();", "public void execute(VirtualView virtualView){\n //method in virtualView\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "View mo73990a(View view);", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "void view();", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "@Override\n\tpublic void staticFindViewByView() {\n\t\t\n\t}", "protected ReliedOnView() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "@Override\n\tpublic void action() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void mo1637a(View view) {\n }", "public abstract String getView();", "void mo6505cu(View view);", "@Override // kotlin.jvm.functions.Function0\n public Unit invoke() {\n AdvertDetailsAutotekaViewImpl.access$getListener$p(this.a).onClickGetAutotekaReport();\n return Unit.INSTANCE;\n }", "public View invoke() {\n return this.f64323a.findViewById(R.id.bt0);\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public static void testShowTodoView(){\n }", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void in_macha(View view) {\n }", "protected void render() {\n\t\tString accion = Thread.currentThread().getStackTrace()[2].getMethodName();\n\t\trender(accion);\n\t}", "public void action() {\n }", "@Override\n\tpublic void doYouWantTo() {\n\n\t}", "@Override\n\tpublic void call() {\n\t\t\n\t}", "public View invoke() {\n return this.f64321a.findViewById(R.id.am1);\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}", "@Override\n protected String getMethodName() {\n return suitename() + \"-\" + super.getMethodName();\n }", "@Override\n\tpublic void some() {\n\t\t\n\t}", "public void callmetoo(){\r\n\tSystem.out.println(\"This is a concrete method\");\r\n\t}", "public void doSomething() {\n \n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public abstract void pageDisplayed();", "public View getContent() {\n/* 238 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface BaseView {\n\n /**\n * 返回请求信息\n * @param value\n */\n void showReqResult(String value);\n\n}", "public abstract View a(Object obj);", "@Override\n\tpublic void doIt() {\n\t\t\n\t}", "public void testSetViews() {\n }", "@Override\n public void test() {\n \n }", "@Override\n\t\tpublic String getMethod() {\n\t\t\treturn null;\n\t\t}", "protected abstract MethodDescription accessorMethod();", "@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void ClickAceptar(View view){\n\n }", "protected void doSomethingElse()\r\n {\r\n \r\n }", "@Override\n\t\t\t\t\tpublic Method handleSimpleMethod(Element parent, FMethod src) {\n\t\t\t\t\t\treturn super.handleSimpleMethod(parent, src);\n\t\t\t\t\t}", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public String getView();", "public String getView();", "@Override\r\n\tpublic void simulate() {\n\t\t\r\n\t}", "@Override\n\tpublic void randomMethod(String name) {\n\t\t\n\t}", "public interface IFormulaView extends IBaseView {\n void submitSuccess(PlanDetailsEntity2 planDetailsEntity);\n}", "@Override\r\n\tpublic Response invoke() {\n\t\treturn null;\r\n\t}", "public View invoke() {\n return this.f64322a.findViewById(R.id.am2);\n }", "public void execute(View view){\n //method in view to show the choice\n }", "public abstract String showDetails();", "public abstract String display();", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "public void displayData(View view) {\n\n }", "Object getViewDetails();", "public Object caseView(View object) {\r\n\t\treturn null;\r\n\t}", "public abstract void mo2152a(View view);", "@Override\n\tpublic void function() {\n\t\t\n\t}", "@Override\n\tpublic void setView(Resultado resultado, HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "public View getHandle() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface EmptyViewMethodAccessor {\n\n\t/**\n\t * Calls upto AdapterView.setEmptyView()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyViewInternal(View emptyView);\n\n\t/**\n\t * Should call PullToRefreshBase.setEmptyView() which will then\n\t * automatically call through to setEmptyViewInternal()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyView(View emptyView);\n\n}", "@Override\n\tpublic void viewPrice() {\n\t\t\n\t}", "@Override\n public Matcher way() {\n return withView(getElementView(this));\n }", "@Override\n protected void doAct() {\n }", "@Override\n public void onClick(View theView) {\n setUp();\n\n\n }", "protected abstract void onPresenter();", "@RequestMapping(\"/editRepPage\")\r\n\tpublic String callEditRep(){\r\n\t\treturn \"editRepPage\";\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "interface View extends BaseView {\n //specific methods for each view\n void onTranslation(Sentence sentence);\n }", "public interface View_1 extends BaseView {\n\n void viewCall(String result);\n}", "protected void render(){}", "protected abstract void bindingView();", "public interface ICalcView {\n\n // 문자를 입력 받는다\n void append(String factor);\n\n // 결과를 출력한다\n String showresult(String result);\n // 식을 분리하는 메서드\n\n // 입력된 값을 넘겨주는 메서드\n String transferSentece();\n\n}", "protected abstract String display();", "protected abstract void populateView(View v, T model);", "public interface View {\n\t\n\tpublic DifferenceOperators getOperator();\n\tpublic double getUtility(DistanceMetric distanceMetric);\n\tpublic double getUtility(DistanceMetric distanceMetric,\n\t\t\tboolean normalizeDistributions);\n //Added by Himos\n public double getUtilitywithfunc(DistanceMetric distanceMetric, Constants.AggregateFunctions AGF,\n\t\t\tboolean normalizeDistributions);\n\tpublic List<View> constituentViews();\n \n // public String getHighFunction(); \n\t//public View getTopDifferent();\n\n}", "protected void display() {\n\r\n\t}", "android.view.View mo12148b();", "public interface TypeView extends BaseView {\n void getNewListEnd();\n\n void getNewListSuccess(List<New> news, int page);\n\n void getNewListError(String message, int page);\n}", "@Override\n public void showLoginView() {\n calledMethods.add(\"showLoginView\");\n }", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "public abstract void action();", "public abstract void action();" ]
[ "0.65891445", "0.6542304", "0.6511353", "0.6436543", "0.6384433", "0.635176", "0.62377805", "0.6196423", "0.6196423", "0.6196423", "0.6159732", "0.61458987", "0.61458987", "0.60510576", "0.6040804", "0.59966624", "0.59754556", "0.5973136", "0.594647", "0.5939329", "0.59389347", "0.59158397", "0.5856169", "0.585537", "0.58513504", "0.582815", "0.5804428", "0.57995176", "0.5774015", "0.57652426", "0.5758997", "0.5752617", "0.57512987", "0.5718392", "0.5681182", "0.56788087", "0.56747705", "0.56635976", "0.566114", "0.5650952", "0.5647677", "0.5643839", "0.564016", "0.5633525", "0.5632016", "0.56307995", "0.56306964", "0.56306267", "0.56201196", "0.5603982", "0.5601986", "0.559086", "0.55873764", "0.5586221", "0.5576363", "0.5572567", "0.5569882", "0.5569362", "0.55683845", "0.5555825", "0.5555825", "0.55501044", "0.55428594", "0.5542822", "0.5541642", "0.5538857", "0.55076855", "0.5494063", "0.5493318", "0.54922724", "0.54908144", "0.5487111", "0.54802084", "0.5479881", "0.54779184", "0.5477055", "0.5476851", "0.5475432", "0.5459498", "0.5444267", "0.54403126", "0.5438782", "0.5437144", "0.54351586", "0.5431865", "0.54316777", "0.54248977", "0.5421853", "0.54214036", "0.54093885", "0.5398136", "0.53929555", "0.5390341", "0.538675", "0.53859216", "0.53855646", "0.5385398", "0.5383096", "0.53824794", "0.53802586", "0.53802586" ]
0.0
-1
The method to simulate the corresponding method in the view.
@Override public void showMoveSelection(int amount) { calledMethods.add("showMoveSelection" + amount); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo8519a(View view);", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "public abstract View mo2155b();", "void mo12147a(View view);", "public abstract void viewRun();", "public void execute(VirtualView virtualView){\n //method in virtualView\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "View mo73990a(View view);", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "void view();", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "@Override\n\tpublic void staticFindViewByView() {\n\t\t\n\t}", "protected ReliedOnView() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "@Override\n\tpublic void action() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void mo1637a(View view) {\n }", "public abstract String getView();", "void mo6505cu(View view);", "@Override // kotlin.jvm.functions.Function0\n public Unit invoke() {\n AdvertDetailsAutotekaViewImpl.access$getListener$p(this.a).onClickGetAutotekaReport();\n return Unit.INSTANCE;\n }", "public View invoke() {\n return this.f64323a.findViewById(R.id.bt0);\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public static void testShowTodoView(){\n }", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void in_macha(View view) {\n }", "protected void render() {\n\t\tString accion = Thread.currentThread().getStackTrace()[2].getMethodName();\n\t\trender(accion);\n\t}", "public void action() {\n }", "@Override\n\tpublic void doYouWantTo() {\n\n\t}", "@Override\n\tpublic void call() {\n\t\t\n\t}", "public View invoke() {\n return this.f64321a.findViewById(R.id.am1);\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}", "@Override\n protected String getMethodName() {\n return suitename() + \"-\" + super.getMethodName();\n }", "@Override\n\tpublic void some() {\n\t\t\n\t}", "public void callmetoo(){\r\n\tSystem.out.println(\"This is a concrete method\");\r\n\t}", "public void doSomething() {\n \n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public abstract void pageDisplayed();", "public View getContent() {\n/* 238 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "@Override\n\tpublic void doIt() {\n\t\t\n\t}", "public interface BaseView {\n\n /**\n * 返回请求信息\n * @param value\n */\n void showReqResult(String value);\n\n}", "public abstract View a(Object obj);", "public void testSetViews() {\n }", "@Override\n public void test() {\n \n }", "@Override\n\t\tpublic String getMethod() {\n\t\t\treturn null;\n\t\t}", "protected abstract MethodDescription accessorMethod();", "@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void ClickAceptar(View view){\n\n }", "@Override\n\t\t\t\t\tpublic Method handleSimpleMethod(Element parent, FMethod src) {\n\t\t\t\t\t\treturn super.handleSimpleMethod(parent, src);\n\t\t\t\t\t}", "protected void doSomethingElse()\r\n {\r\n \r\n }", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public String getView();", "public String getView();", "@Override\r\n\tpublic void simulate() {\n\t\t\r\n\t}", "@Override\n\tpublic void randomMethod(String name) {\n\t\t\n\t}", "@Override\r\n\tpublic Response invoke() {\n\t\treturn null;\r\n\t}", "public interface IFormulaView extends IBaseView {\n void submitSuccess(PlanDetailsEntity2 planDetailsEntity);\n}", "public View invoke() {\n return this.f64322a.findViewById(R.id.am2);\n }", "public void execute(View view){\n //method in view to show the choice\n }", "public abstract String showDetails();", "public abstract String display();", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "public void displayData(View view) {\n\n }", "Object getViewDetails();", "public abstract void mo2152a(View view);", "public Object caseView(View object) {\r\n\t\treturn null;\r\n\t}", "@Override\n\tpublic void function() {\n\t\t\n\t}", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "@Override\n\tpublic void setView(Resultado resultado, HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "public View getHandle() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface EmptyViewMethodAccessor {\n\n\t/**\n\t * Calls upto AdapterView.setEmptyView()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyViewInternal(View emptyView);\n\n\t/**\n\t * Should call PullToRefreshBase.setEmptyView() which will then\n\t * automatically call through to setEmptyViewInternal()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyView(View emptyView);\n\n}", "@Override\n\tpublic void viewPrice() {\n\t\t\n\t}", "@Override\n public Matcher way() {\n return withView(getElementView(this));\n }", "@Override\n protected void doAct() {\n }", "@Override\n public void onClick(View theView) {\n setUp();\n\n\n }", "protected abstract void onPresenter();", "@RequestMapping(\"/editRepPage\")\r\n\tpublic String callEditRep(){\r\n\t\treturn \"editRepPage\";\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "interface View extends BaseView {\n //specific methods for each view\n void onTranslation(Sentence sentence);\n }", "public interface View_1 extends BaseView {\n\n void viewCall(String result);\n}", "protected void render(){}", "protected abstract void bindingView();", "public interface ICalcView {\n\n // 문자를 입력 받는다\n void append(String factor);\n\n // 결과를 출력한다\n String showresult(String result);\n // 식을 분리하는 메서드\n\n // 입력된 값을 넘겨주는 메서드\n String transferSentece();\n\n}", "protected abstract String display();", "protected abstract void populateView(View v, T model);", "public interface View {\n\t\n\tpublic DifferenceOperators getOperator();\n\tpublic double getUtility(DistanceMetric distanceMetric);\n\tpublic double getUtility(DistanceMetric distanceMetric,\n\t\t\tboolean normalizeDistributions);\n //Added by Himos\n public double getUtilitywithfunc(DistanceMetric distanceMetric, Constants.AggregateFunctions AGF,\n\t\t\tboolean normalizeDistributions);\n\tpublic List<View> constituentViews();\n \n // public String getHighFunction(); \n\t//public View getTopDifferent();\n\n}", "protected void display() {\n\r\n\t}", "android.view.View mo12148b();", "public interface TypeView extends BaseView {\n void getNewListEnd();\n\n void getNewListSuccess(List<New> news, int page);\n\n void getNewListError(String message, int page);\n}", "@Override\n public void showLoginView() {\n calledMethods.add(\"showLoginView\");\n }", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "public abstract void action();", "public abstract void action();" ]
[ "0.6588587", "0.65418404", "0.651035", "0.6435849", "0.6384111", "0.6352338", "0.623875", "0.61960214", "0.61960214", "0.61960214", "0.6159557", "0.6144661", "0.6144661", "0.6050728", "0.6040395", "0.59969884", "0.5974605", "0.59723383", "0.59453255", "0.5939047", "0.59387976", "0.5914609", "0.58574843", "0.5854961", "0.5850764", "0.5828257", "0.5805117", "0.58000475", "0.5774433", "0.57661474", "0.5760453", "0.5752092", "0.57514435", "0.5718576", "0.56809133", "0.56786776", "0.5674546", "0.566439", "0.5661825", "0.5651152", "0.5648217", "0.56440187", "0.56397706", "0.56338143", "0.56321275", "0.56308544", "0.56300575", "0.5629982", "0.5620505", "0.5604478", "0.56017804", "0.55912435", "0.55873567", "0.55861986", "0.55761546", "0.55725086", "0.55699724", "0.556996", "0.5568921", "0.55551785", "0.55551785", "0.5551075", "0.5543079", "0.5542382", "0.5541899", "0.553847", "0.5507822", "0.54938895", "0.54926336", "0.54912674", "0.548996", "0.54862547", "0.5479798", "0.54796267", "0.5477134", "0.5476555", "0.547634", "0.5475759", "0.54597807", "0.54436564", "0.54400164", "0.54390246", "0.543709", "0.54350704", "0.5432407", "0.5430556", "0.54236066", "0.5421186", "0.5420124", "0.5407707", "0.5397283", "0.5392088", "0.538957", "0.53851795", "0.53850466", "0.5385008", "0.5383961", "0.53830695", "0.5382251", "0.5380787", "0.5380787" ]
0.0
-1
The method to simulate the corresponding method in the view.
@Override public void showDifficultySelection() { calledMethods.add("showDifficultySelection"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo8519a(View view);", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "public abstract View mo2155b();", "void mo12147a(View view);", "public abstract void viewRun();", "public void execute(VirtualView virtualView){\n //method in virtualView\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "View mo73990a(View view);", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "void view();", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "@Override\n\tpublic void staticFindViewByView() {\n\t\t\n\t}", "protected ReliedOnView() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "@Override\n\tpublic void action() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void mo1637a(View view) {\n }", "public abstract String getView();", "void mo6505cu(View view);", "@Override // kotlin.jvm.functions.Function0\n public Unit invoke() {\n AdvertDetailsAutotekaViewImpl.access$getListener$p(this.a).onClickGetAutotekaReport();\n return Unit.INSTANCE;\n }", "public View invoke() {\n return this.f64323a.findViewById(R.id.bt0);\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public static void testShowTodoView(){\n }", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void in_macha(View view) {\n }", "protected void render() {\n\t\tString accion = Thread.currentThread().getStackTrace()[2].getMethodName();\n\t\trender(accion);\n\t}", "public void action() {\n }", "@Override\n\tpublic void doYouWantTo() {\n\n\t}", "@Override\n\tpublic void call() {\n\t\t\n\t}", "public View invoke() {\n return this.f64321a.findViewById(R.id.am1);\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}", "@Override\n protected String getMethodName() {\n return suitename() + \"-\" + super.getMethodName();\n }", "@Override\n\tpublic void some() {\n\t\t\n\t}", "public void callmetoo(){\r\n\tSystem.out.println(\"This is a concrete method\");\r\n\t}", "public void doSomething() {\n \n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public abstract void pageDisplayed();", "public View getContent() {\n/* 238 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface BaseView {\n\n /**\n * 返回请求信息\n * @param value\n */\n void showReqResult(String value);\n\n}", "public abstract View a(Object obj);", "@Override\n\tpublic void doIt() {\n\t\t\n\t}", "public void testSetViews() {\n }", "@Override\n public void test() {\n \n }", "@Override\n\t\tpublic String getMethod() {\n\t\t\treturn null;\n\t\t}", "protected abstract MethodDescription accessorMethod();", "@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void ClickAceptar(View view){\n\n }", "protected void doSomethingElse()\r\n {\r\n \r\n }", "@Override\n\t\t\t\t\tpublic Method handleSimpleMethod(Element parent, FMethod src) {\n\t\t\t\t\t\treturn super.handleSimpleMethod(parent, src);\n\t\t\t\t\t}", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public String getView();", "public String getView();", "@Override\r\n\tpublic void simulate() {\n\t\t\r\n\t}", "@Override\n\tpublic void randomMethod(String name) {\n\t\t\n\t}", "public interface IFormulaView extends IBaseView {\n void submitSuccess(PlanDetailsEntity2 planDetailsEntity);\n}", "@Override\r\n\tpublic Response invoke() {\n\t\treturn null;\r\n\t}", "public View invoke() {\n return this.f64322a.findViewById(R.id.am2);\n }", "public void execute(View view){\n //method in view to show the choice\n }", "public abstract String showDetails();", "public abstract String display();", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "public void displayData(View view) {\n\n }", "Object getViewDetails();", "public Object caseView(View object) {\r\n\t\treturn null;\r\n\t}", "public abstract void mo2152a(View view);", "@Override\n\tpublic void function() {\n\t\t\n\t}", "@Override\n\tpublic void setView(Resultado resultado, HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "public View getHandle() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface EmptyViewMethodAccessor {\n\n\t/**\n\t * Calls upto AdapterView.setEmptyView()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyViewInternal(View emptyView);\n\n\t/**\n\t * Should call PullToRefreshBase.setEmptyView() which will then\n\t * automatically call through to setEmptyViewInternal()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyView(View emptyView);\n\n}", "@Override\n\tpublic void viewPrice() {\n\t\t\n\t}", "@Override\n public Matcher way() {\n return withView(getElementView(this));\n }", "@Override\n protected void doAct() {\n }", "@Override\n public void onClick(View theView) {\n setUp();\n\n\n }", "protected abstract void onPresenter();", "@RequestMapping(\"/editRepPage\")\r\n\tpublic String callEditRep(){\r\n\t\treturn \"editRepPage\";\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "interface View extends BaseView {\n //specific methods for each view\n void onTranslation(Sentence sentence);\n }", "public interface View_1 extends BaseView {\n\n void viewCall(String result);\n}", "protected void render(){}", "protected abstract void bindingView();", "public interface ICalcView {\n\n // 문자를 입력 받는다\n void append(String factor);\n\n // 결과를 출력한다\n String showresult(String result);\n // 식을 분리하는 메서드\n\n // 입력된 값을 넘겨주는 메서드\n String transferSentece();\n\n}", "protected abstract String display();", "protected abstract void populateView(View v, T model);", "public interface View {\n\t\n\tpublic DifferenceOperators getOperator();\n\tpublic double getUtility(DistanceMetric distanceMetric);\n\tpublic double getUtility(DistanceMetric distanceMetric,\n\t\t\tboolean normalizeDistributions);\n //Added by Himos\n public double getUtilitywithfunc(DistanceMetric distanceMetric, Constants.AggregateFunctions AGF,\n\t\t\tboolean normalizeDistributions);\n\tpublic List<View> constituentViews();\n \n // public String getHighFunction(); \n\t//public View getTopDifferent();\n\n}", "protected void display() {\n\r\n\t}", "android.view.View mo12148b();", "public interface TypeView extends BaseView {\n void getNewListEnd();\n\n void getNewListSuccess(List<New> news, int page);\n\n void getNewListError(String message, int page);\n}", "@Override\n public void showLoginView() {\n calledMethods.add(\"showLoginView\");\n }", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "public abstract void action();", "public abstract void action();" ]
[ "0.65891445", "0.6542304", "0.6511353", "0.6436543", "0.6384433", "0.635176", "0.62377805", "0.6196423", "0.6196423", "0.6196423", "0.6159732", "0.61458987", "0.61458987", "0.60510576", "0.6040804", "0.59966624", "0.59754556", "0.5973136", "0.594647", "0.5939329", "0.59389347", "0.59158397", "0.5856169", "0.585537", "0.58513504", "0.582815", "0.5804428", "0.57995176", "0.5774015", "0.57652426", "0.5758997", "0.5752617", "0.57512987", "0.5718392", "0.5681182", "0.56788087", "0.56747705", "0.56635976", "0.566114", "0.5650952", "0.5647677", "0.5643839", "0.564016", "0.5633525", "0.5632016", "0.56307995", "0.56306964", "0.56306267", "0.56201196", "0.5603982", "0.5601986", "0.559086", "0.55873764", "0.5586221", "0.5576363", "0.5572567", "0.5569882", "0.5569362", "0.55683845", "0.5555825", "0.5555825", "0.55501044", "0.55428594", "0.5542822", "0.5541642", "0.5538857", "0.55076855", "0.5494063", "0.5493318", "0.54922724", "0.54908144", "0.5487111", "0.54802084", "0.5479881", "0.54779184", "0.5477055", "0.5476851", "0.5475432", "0.5459498", "0.5444267", "0.54403126", "0.5438782", "0.5437144", "0.54351586", "0.5431865", "0.54316777", "0.54248977", "0.5421853", "0.54214036", "0.54093885", "0.5398136", "0.53929555", "0.5390341", "0.538675", "0.53859216", "0.53855646", "0.5385398", "0.5383096", "0.53824794", "0.53802586", "0.53802586" ]
0.0
-1
The method to simulate the corresponding method in the view.
@Override public void showLensCutterSelection() { calledMethods.add("showLensCutterSelection"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo8519a(View view);", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "public abstract View mo2155b();", "void mo12147a(View view);", "public abstract void viewRun();", "public void execute(VirtualView virtualView){\n //method in virtualView\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "View mo73990a(View view);", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "void view();", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "@Override\n\tpublic void staticFindViewByView() {\n\t\t\n\t}", "protected ReliedOnView() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "@Override\n\tpublic void action() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void mo1637a(View view) {\n }", "public abstract String getView();", "void mo6505cu(View view);", "@Override // kotlin.jvm.functions.Function0\n public Unit invoke() {\n AdvertDetailsAutotekaViewImpl.access$getListener$p(this.a).onClickGetAutotekaReport();\n return Unit.INSTANCE;\n }", "public View invoke() {\n return this.f64323a.findViewById(R.id.bt0);\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public static void testShowTodoView(){\n }", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void in_macha(View view) {\n }", "protected void render() {\n\t\tString accion = Thread.currentThread().getStackTrace()[2].getMethodName();\n\t\trender(accion);\n\t}", "public void action() {\n }", "@Override\n\tpublic void doYouWantTo() {\n\n\t}", "@Override\n\tpublic void call() {\n\t\t\n\t}", "public View invoke() {\n return this.f64321a.findViewById(R.id.am1);\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}", "@Override\n protected String getMethodName() {\n return suitename() + \"-\" + super.getMethodName();\n }", "@Override\n\tpublic void some() {\n\t\t\n\t}", "public void callmetoo(){\r\n\tSystem.out.println(\"This is a concrete method\");\r\n\t}", "public void doSomething() {\n \n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public abstract void pageDisplayed();", "public View getContent() {\n/* 238 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface BaseView {\n\n /**\n * 返回请求信息\n * @param value\n */\n void showReqResult(String value);\n\n}", "public abstract View a(Object obj);", "@Override\n\tpublic void doIt() {\n\t\t\n\t}", "public void testSetViews() {\n }", "@Override\n public void test() {\n \n }", "@Override\n\t\tpublic String getMethod() {\n\t\t\treturn null;\n\t\t}", "protected abstract MethodDescription accessorMethod();", "@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void ClickAceptar(View view){\n\n }", "protected void doSomethingElse()\r\n {\r\n \r\n }", "@Override\n\t\t\t\t\tpublic Method handleSimpleMethod(Element parent, FMethod src) {\n\t\t\t\t\t\treturn super.handleSimpleMethod(parent, src);\n\t\t\t\t\t}", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public String getView();", "public String getView();", "@Override\r\n\tpublic void simulate() {\n\t\t\r\n\t}", "@Override\n\tpublic void randomMethod(String name) {\n\t\t\n\t}", "public interface IFormulaView extends IBaseView {\n void submitSuccess(PlanDetailsEntity2 planDetailsEntity);\n}", "@Override\r\n\tpublic Response invoke() {\n\t\treturn null;\r\n\t}", "public View invoke() {\n return this.f64322a.findViewById(R.id.am2);\n }", "public void execute(View view){\n //method in view to show the choice\n }", "public abstract String showDetails();", "public abstract String display();", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "public void displayData(View view) {\n\n }", "Object getViewDetails();", "public Object caseView(View object) {\r\n\t\treturn null;\r\n\t}", "public abstract void mo2152a(View view);", "@Override\n\tpublic void function() {\n\t\t\n\t}", "@Override\n\tpublic void setView(Resultado resultado, HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "public View getHandle() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface EmptyViewMethodAccessor {\n\n\t/**\n\t * Calls upto AdapterView.setEmptyView()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyViewInternal(View emptyView);\n\n\t/**\n\t * Should call PullToRefreshBase.setEmptyView() which will then\n\t * automatically call through to setEmptyViewInternal()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyView(View emptyView);\n\n}", "@Override\n\tpublic void viewPrice() {\n\t\t\n\t}", "@Override\n public Matcher way() {\n return withView(getElementView(this));\n }", "@Override\n protected void doAct() {\n }", "@Override\n public void onClick(View theView) {\n setUp();\n\n\n }", "protected abstract void onPresenter();", "@RequestMapping(\"/editRepPage\")\r\n\tpublic String callEditRep(){\r\n\t\treturn \"editRepPage\";\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "interface View extends BaseView {\n //specific methods for each view\n void onTranslation(Sentence sentence);\n }", "public interface View_1 extends BaseView {\n\n void viewCall(String result);\n}", "protected void render(){}", "protected abstract void bindingView();", "public interface ICalcView {\n\n // 문자를 입력 받는다\n void append(String factor);\n\n // 결과를 출력한다\n String showresult(String result);\n // 식을 분리하는 메서드\n\n // 입력된 값을 넘겨주는 메서드\n String transferSentece();\n\n}", "protected abstract String display();", "protected abstract void populateView(View v, T model);", "public interface View {\n\t\n\tpublic DifferenceOperators getOperator();\n\tpublic double getUtility(DistanceMetric distanceMetric);\n\tpublic double getUtility(DistanceMetric distanceMetric,\n\t\t\tboolean normalizeDistributions);\n //Added by Himos\n public double getUtilitywithfunc(DistanceMetric distanceMetric, Constants.AggregateFunctions AGF,\n\t\t\tboolean normalizeDistributions);\n\tpublic List<View> constituentViews();\n \n // public String getHighFunction(); \n\t//public View getTopDifferent();\n\n}", "protected void display() {\n\r\n\t}", "android.view.View mo12148b();", "public interface TypeView extends BaseView {\n void getNewListEnd();\n\n void getNewListSuccess(List<New> news, int page);\n\n void getNewListError(String message, int page);\n}", "@Override\n public void showLoginView() {\n calledMethods.add(\"showLoginView\");\n }", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "public abstract void action();", "public abstract void action();" ]
[ "0.65891445", "0.6542304", "0.6511353", "0.6436543", "0.6384433", "0.635176", "0.62377805", "0.6196423", "0.6196423", "0.6196423", "0.6159732", "0.61458987", "0.61458987", "0.60510576", "0.6040804", "0.59966624", "0.59754556", "0.5973136", "0.594647", "0.5939329", "0.59389347", "0.59158397", "0.5856169", "0.585537", "0.58513504", "0.582815", "0.5804428", "0.57995176", "0.5774015", "0.57652426", "0.5758997", "0.5752617", "0.57512987", "0.5718392", "0.5681182", "0.56788087", "0.56747705", "0.56635976", "0.566114", "0.5650952", "0.5647677", "0.5643839", "0.564016", "0.5633525", "0.5632016", "0.56307995", "0.56306964", "0.56306267", "0.56201196", "0.5603982", "0.5601986", "0.559086", "0.55873764", "0.5586221", "0.5576363", "0.5572567", "0.5569882", "0.5569362", "0.55683845", "0.5555825", "0.5555825", "0.55501044", "0.55428594", "0.5542822", "0.5541642", "0.5538857", "0.55076855", "0.5494063", "0.5493318", "0.54922724", "0.54908144", "0.5487111", "0.54802084", "0.5479881", "0.54779184", "0.5477055", "0.5476851", "0.5475432", "0.5459498", "0.5444267", "0.54403126", "0.5438782", "0.5437144", "0.54351586", "0.5431865", "0.54316777", "0.54248977", "0.5421853", "0.54214036", "0.54093885", "0.5398136", "0.53929555", "0.5390341", "0.538675", "0.53859216", "0.53855646", "0.5385398", "0.5383096", "0.53824794", "0.53802586", "0.53802586" ]
0.0
-1
The method to simulate the corresponding method in the view.
@Override public void showValueDestinationSelection() { calledMethods.add("showValueDestinationSelection"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo8519a(View view);", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "public abstract View mo2155b();", "void mo12147a(View view);", "public abstract void viewRun();", "public void execute(VirtualView virtualView){\n //method in virtualView\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "View mo73990a(View view);", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "void view();", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "@Override\n\tpublic void staticFindViewByView() {\n\t\t\n\t}", "protected ReliedOnView() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "@Override\n\tpublic void action() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void mo1637a(View view) {\n }", "public abstract String getView();", "void mo6505cu(View view);", "@Override // kotlin.jvm.functions.Function0\n public Unit invoke() {\n AdvertDetailsAutotekaViewImpl.access$getListener$p(this.a).onClickGetAutotekaReport();\n return Unit.INSTANCE;\n }", "public View invoke() {\n return this.f64323a.findViewById(R.id.bt0);\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public static void testShowTodoView(){\n }", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void in_macha(View view) {\n }", "protected void render() {\n\t\tString accion = Thread.currentThread().getStackTrace()[2].getMethodName();\n\t\trender(accion);\n\t}", "public void action() {\n }", "@Override\n\tpublic void doYouWantTo() {\n\n\t}", "@Override\n\tpublic void call() {\n\t\t\n\t}", "public View invoke() {\n return this.f64321a.findViewById(R.id.am1);\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}", "@Override\n protected String getMethodName() {\n return suitename() + \"-\" + super.getMethodName();\n }", "@Override\n\tpublic void some() {\n\t\t\n\t}", "public void callmetoo(){\r\n\tSystem.out.println(\"This is a concrete method\");\r\n\t}", "public void doSomething() {\n \n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public abstract void pageDisplayed();", "public View getContent() {\n/* 238 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface BaseView {\n\n /**\n * 返回请求信息\n * @param value\n */\n void showReqResult(String value);\n\n}", "public abstract View a(Object obj);", "@Override\n\tpublic void doIt() {\n\t\t\n\t}", "public void testSetViews() {\n }", "@Override\n public void test() {\n \n }", "@Override\n\t\tpublic String getMethod() {\n\t\t\treturn null;\n\t\t}", "protected abstract MethodDescription accessorMethod();", "@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void ClickAceptar(View view){\n\n }", "protected void doSomethingElse()\r\n {\r\n \r\n }", "@Override\n\t\t\t\t\tpublic Method handleSimpleMethod(Element parent, FMethod src) {\n\t\t\t\t\t\treturn super.handleSimpleMethod(parent, src);\n\t\t\t\t\t}", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public String getView();", "public String getView();", "@Override\r\n\tpublic void simulate() {\n\t\t\r\n\t}", "@Override\n\tpublic void randomMethod(String name) {\n\t\t\n\t}", "public interface IFormulaView extends IBaseView {\n void submitSuccess(PlanDetailsEntity2 planDetailsEntity);\n}", "@Override\r\n\tpublic Response invoke() {\n\t\treturn null;\r\n\t}", "public View invoke() {\n return this.f64322a.findViewById(R.id.am2);\n }", "public void execute(View view){\n //method in view to show the choice\n }", "public abstract String showDetails();", "public abstract String display();", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "public void displayData(View view) {\n\n }", "Object getViewDetails();", "public Object caseView(View object) {\r\n\t\treturn null;\r\n\t}", "public abstract void mo2152a(View view);", "@Override\n\tpublic void function() {\n\t\t\n\t}", "@Override\n\tpublic void setView(Resultado resultado, HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "public View getHandle() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface EmptyViewMethodAccessor {\n\n\t/**\n\t * Calls upto AdapterView.setEmptyView()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyViewInternal(View emptyView);\n\n\t/**\n\t * Should call PullToRefreshBase.setEmptyView() which will then\n\t * automatically call through to setEmptyViewInternal()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyView(View emptyView);\n\n}", "@Override\n\tpublic void viewPrice() {\n\t\t\n\t}", "@Override\n public Matcher way() {\n return withView(getElementView(this));\n }", "@Override\n protected void doAct() {\n }", "@Override\n public void onClick(View theView) {\n setUp();\n\n\n }", "protected abstract void onPresenter();", "@RequestMapping(\"/editRepPage\")\r\n\tpublic String callEditRep(){\r\n\t\treturn \"editRepPage\";\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "interface View extends BaseView {\n //specific methods for each view\n void onTranslation(Sentence sentence);\n }", "public interface View_1 extends BaseView {\n\n void viewCall(String result);\n}", "protected void render(){}", "protected abstract void bindingView();", "public interface ICalcView {\n\n // 문자를 입력 받는다\n void append(String factor);\n\n // 결과를 출력한다\n String showresult(String result);\n // 식을 분리하는 메서드\n\n // 입력된 값을 넘겨주는 메서드\n String transferSentece();\n\n}", "protected abstract String display();", "protected abstract void populateView(View v, T model);", "public interface View {\n\t\n\tpublic DifferenceOperators getOperator();\n\tpublic double getUtility(DistanceMetric distanceMetric);\n\tpublic double getUtility(DistanceMetric distanceMetric,\n\t\t\tboolean normalizeDistributions);\n //Added by Himos\n public double getUtilitywithfunc(DistanceMetric distanceMetric, Constants.AggregateFunctions AGF,\n\t\t\tboolean normalizeDistributions);\n\tpublic List<View> constituentViews();\n \n // public String getHighFunction(); \n\t//public View getTopDifferent();\n\n}", "protected void display() {\n\r\n\t}", "android.view.View mo12148b();", "public interface TypeView extends BaseView {\n void getNewListEnd();\n\n void getNewListSuccess(List<New> news, int page);\n\n void getNewListError(String message, int page);\n}", "@Override\n public void showLoginView() {\n calledMethods.add(\"showLoginView\");\n }", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "public abstract void action();", "public abstract void action();" ]
[ "0.65891445", "0.6542304", "0.6511353", "0.6436543", "0.6384433", "0.635176", "0.62377805", "0.6196423", "0.6196423", "0.6196423", "0.6159732", "0.61458987", "0.61458987", "0.60510576", "0.6040804", "0.59966624", "0.59754556", "0.5973136", "0.594647", "0.5939329", "0.59389347", "0.59158397", "0.5856169", "0.585537", "0.58513504", "0.582815", "0.5804428", "0.57995176", "0.5774015", "0.57652426", "0.5758997", "0.5752617", "0.57512987", "0.5718392", "0.5681182", "0.56788087", "0.56747705", "0.56635976", "0.566114", "0.5650952", "0.5647677", "0.5643839", "0.564016", "0.5633525", "0.5632016", "0.56307995", "0.56306964", "0.56306267", "0.56201196", "0.5603982", "0.5601986", "0.559086", "0.55873764", "0.5586221", "0.5576363", "0.5572567", "0.5569882", "0.5569362", "0.55683845", "0.5555825", "0.5555825", "0.55501044", "0.55428594", "0.5542822", "0.5541642", "0.5538857", "0.55076855", "0.5494063", "0.5493318", "0.54922724", "0.54908144", "0.5487111", "0.54802084", "0.5479881", "0.54779184", "0.5477055", "0.5476851", "0.5475432", "0.5459498", "0.5444267", "0.54403126", "0.5438782", "0.5437144", "0.54351586", "0.5431865", "0.54316777", "0.54248977", "0.5421853", "0.54214036", "0.54093885", "0.5398136", "0.53929555", "0.5390341", "0.538675", "0.53859216", "0.53855646", "0.5385398", "0.5383096", "0.53824794", "0.53802586", "0.53802586" ]
0.0
-1
The method to simulate the corresponding method in the view.
@Override public void showPlaceDie() { calledMethods.add("showPlaceDie"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo8519a(View view);", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "public abstract View mo2155b();", "void mo12147a(View view);", "public abstract void viewRun();", "public void execute(VirtualView virtualView){\n //method in virtualView\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "View mo73990a(View view);", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "void view();", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "@Override\n\tpublic void staticFindViewByView() {\n\t\t\n\t}", "protected ReliedOnView() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "@Override\n\tpublic void action() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void mo1637a(View view) {\n }", "public abstract String getView();", "void mo6505cu(View view);", "@Override // kotlin.jvm.functions.Function0\n public Unit invoke() {\n AdvertDetailsAutotekaViewImpl.access$getListener$p(this.a).onClickGetAutotekaReport();\n return Unit.INSTANCE;\n }", "public View invoke() {\n return this.f64323a.findViewById(R.id.bt0);\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public static void testShowTodoView(){\n }", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void in_macha(View view) {\n }", "protected void render() {\n\t\tString accion = Thread.currentThread().getStackTrace()[2].getMethodName();\n\t\trender(accion);\n\t}", "public void action() {\n }", "@Override\n\tpublic void doYouWantTo() {\n\n\t}", "@Override\n\tpublic void call() {\n\t\t\n\t}", "public View invoke() {\n return this.f64321a.findViewById(R.id.am1);\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}", "@Override\n protected String getMethodName() {\n return suitename() + \"-\" + super.getMethodName();\n }", "@Override\n\tpublic void some() {\n\t\t\n\t}", "public void callmetoo(){\r\n\tSystem.out.println(\"This is a concrete method\");\r\n\t}", "public void doSomething() {\n \n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public abstract void pageDisplayed();", "public View getContent() {\n/* 238 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "@Override\n\tpublic void doIt() {\n\t\t\n\t}", "public interface BaseView {\n\n /**\n * 返回请求信息\n * @param value\n */\n void showReqResult(String value);\n\n}", "public abstract View a(Object obj);", "public void testSetViews() {\n }", "@Override\n public void test() {\n \n }", "@Override\n\t\tpublic String getMethod() {\n\t\t\treturn null;\n\t\t}", "protected abstract MethodDescription accessorMethod();", "@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void ClickAceptar(View view){\n\n }", "@Override\n\t\t\t\t\tpublic Method handleSimpleMethod(Element parent, FMethod src) {\n\t\t\t\t\t\treturn super.handleSimpleMethod(parent, src);\n\t\t\t\t\t}", "protected void doSomethingElse()\r\n {\r\n \r\n }", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public String getView();", "public String getView();", "@Override\r\n\tpublic void simulate() {\n\t\t\r\n\t}", "@Override\n\tpublic void randomMethod(String name) {\n\t\t\n\t}", "@Override\r\n\tpublic Response invoke() {\n\t\treturn null;\r\n\t}", "public interface IFormulaView extends IBaseView {\n void submitSuccess(PlanDetailsEntity2 planDetailsEntity);\n}", "public View invoke() {\n return this.f64322a.findViewById(R.id.am2);\n }", "public void execute(View view){\n //method in view to show the choice\n }", "public abstract String showDetails();", "public abstract String display();", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "public void displayData(View view) {\n\n }", "Object getViewDetails();", "public abstract void mo2152a(View view);", "public Object caseView(View object) {\r\n\t\treturn null;\r\n\t}", "@Override\n\tpublic void function() {\n\t\t\n\t}", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "@Override\n\tpublic void setView(Resultado resultado, HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "public View getHandle() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface EmptyViewMethodAccessor {\n\n\t/**\n\t * Calls upto AdapterView.setEmptyView()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyViewInternal(View emptyView);\n\n\t/**\n\t * Should call PullToRefreshBase.setEmptyView() which will then\n\t * automatically call through to setEmptyViewInternal()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyView(View emptyView);\n\n}", "@Override\n\tpublic void viewPrice() {\n\t\t\n\t}", "@Override\n public Matcher way() {\n return withView(getElementView(this));\n }", "@Override\n protected void doAct() {\n }", "@Override\n public void onClick(View theView) {\n setUp();\n\n\n }", "protected abstract void onPresenter();", "@RequestMapping(\"/editRepPage\")\r\n\tpublic String callEditRep(){\r\n\t\treturn \"editRepPage\";\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "interface View extends BaseView {\n //specific methods for each view\n void onTranslation(Sentence sentence);\n }", "public interface View_1 extends BaseView {\n\n void viewCall(String result);\n}", "protected void render(){}", "protected abstract void bindingView();", "public interface ICalcView {\n\n // 문자를 입력 받는다\n void append(String factor);\n\n // 결과를 출력한다\n String showresult(String result);\n // 식을 분리하는 메서드\n\n // 입력된 값을 넘겨주는 메서드\n String transferSentece();\n\n}", "protected abstract String display();", "protected abstract void populateView(View v, T model);", "public interface View {\n\t\n\tpublic DifferenceOperators getOperator();\n\tpublic double getUtility(DistanceMetric distanceMetric);\n\tpublic double getUtility(DistanceMetric distanceMetric,\n\t\t\tboolean normalizeDistributions);\n //Added by Himos\n public double getUtilitywithfunc(DistanceMetric distanceMetric, Constants.AggregateFunctions AGF,\n\t\t\tboolean normalizeDistributions);\n\tpublic List<View> constituentViews();\n \n // public String getHighFunction(); \n\t//public View getTopDifferent();\n\n}", "protected void display() {\n\r\n\t}", "android.view.View mo12148b();", "public interface TypeView extends BaseView {\n void getNewListEnd();\n\n void getNewListSuccess(List<New> news, int page);\n\n void getNewListError(String message, int page);\n}", "@Override\n public void showLoginView() {\n calledMethods.add(\"showLoginView\");\n }", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "public abstract void action();", "public abstract void action();" ]
[ "0.6588587", "0.65418404", "0.651035", "0.6435849", "0.6384111", "0.6352338", "0.623875", "0.61960214", "0.61960214", "0.61960214", "0.6159557", "0.6144661", "0.6144661", "0.6050728", "0.6040395", "0.59969884", "0.5974605", "0.59723383", "0.59453255", "0.5939047", "0.59387976", "0.5914609", "0.58574843", "0.5854961", "0.5850764", "0.5828257", "0.5805117", "0.58000475", "0.5774433", "0.57661474", "0.5760453", "0.5752092", "0.57514435", "0.5718576", "0.56809133", "0.56786776", "0.5674546", "0.566439", "0.5661825", "0.5651152", "0.5648217", "0.56440187", "0.56397706", "0.56338143", "0.56321275", "0.56308544", "0.56300575", "0.5629982", "0.5620505", "0.5604478", "0.56017804", "0.55912435", "0.55873567", "0.55861986", "0.55761546", "0.55725086", "0.55699724", "0.556996", "0.5568921", "0.55551785", "0.55551785", "0.5551075", "0.5543079", "0.5542382", "0.5541899", "0.553847", "0.5507822", "0.54938895", "0.54926336", "0.54912674", "0.548996", "0.54862547", "0.5479798", "0.54796267", "0.5477134", "0.5476555", "0.547634", "0.5475759", "0.54597807", "0.54436564", "0.54400164", "0.54390246", "0.543709", "0.54350704", "0.5432407", "0.5430556", "0.54236066", "0.5421186", "0.5420124", "0.5407707", "0.5397283", "0.5392088", "0.538957", "0.53851795", "0.53850466", "0.5385008", "0.5383961", "0.53830695", "0.5382251", "0.5380787", "0.5380787" ]
0.0
-1
The method to simulate the corresponding method in the view.
@Override public void showConfirm() { calledMethods.add("showConfirm"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo8519a(View view);", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "public abstract View mo2155b();", "void mo12147a(View view);", "public abstract void viewRun();", "public void execute(VirtualView virtualView){\n //method in virtualView\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "View mo73990a(View view);", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "void view();", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "@Override\n\tpublic void staticFindViewByView() {\n\t\t\n\t}", "protected ReliedOnView() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "@Override\n\tpublic void action() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void mo1637a(View view) {\n }", "public abstract String getView();", "void mo6505cu(View view);", "@Override // kotlin.jvm.functions.Function0\n public Unit invoke() {\n AdvertDetailsAutotekaViewImpl.access$getListener$p(this.a).onClickGetAutotekaReport();\n return Unit.INSTANCE;\n }", "public View invoke() {\n return this.f64323a.findViewById(R.id.bt0);\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public static void testShowTodoView(){\n }", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void in_macha(View view) {\n }", "protected void render() {\n\t\tString accion = Thread.currentThread().getStackTrace()[2].getMethodName();\n\t\trender(accion);\n\t}", "public void action() {\n }", "@Override\n\tpublic void doYouWantTo() {\n\n\t}", "@Override\n\tpublic void call() {\n\t\t\n\t}", "public View invoke() {\n return this.f64321a.findViewById(R.id.am1);\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}", "@Override\n protected String getMethodName() {\n return suitename() + \"-\" + super.getMethodName();\n }", "@Override\n\tpublic void some() {\n\t\t\n\t}", "public void callmetoo(){\r\n\tSystem.out.println(\"This is a concrete method\");\r\n\t}", "public void doSomething() {\n \n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public abstract void pageDisplayed();", "public View getContent() {\n/* 238 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface BaseView {\n\n /**\n * 返回请求信息\n * @param value\n */\n void showReqResult(String value);\n\n}", "public abstract View a(Object obj);", "@Override\n\tpublic void doIt() {\n\t\t\n\t}", "public void testSetViews() {\n }", "@Override\n public void test() {\n \n }", "@Override\n\t\tpublic String getMethod() {\n\t\t\treturn null;\n\t\t}", "protected abstract MethodDescription accessorMethod();", "@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void ClickAceptar(View view){\n\n }", "protected void doSomethingElse()\r\n {\r\n \r\n }", "@Override\n\t\t\t\t\tpublic Method handleSimpleMethod(Element parent, FMethod src) {\n\t\t\t\t\t\treturn super.handleSimpleMethod(parent, src);\n\t\t\t\t\t}", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public String getView();", "public String getView();", "@Override\r\n\tpublic void simulate() {\n\t\t\r\n\t}", "@Override\n\tpublic void randomMethod(String name) {\n\t\t\n\t}", "public interface IFormulaView extends IBaseView {\n void submitSuccess(PlanDetailsEntity2 planDetailsEntity);\n}", "@Override\r\n\tpublic Response invoke() {\n\t\treturn null;\r\n\t}", "public View invoke() {\n return this.f64322a.findViewById(R.id.am2);\n }", "public void execute(View view){\n //method in view to show the choice\n }", "public abstract String showDetails();", "public abstract String display();", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "public void displayData(View view) {\n\n }", "Object getViewDetails();", "public Object caseView(View object) {\r\n\t\treturn null;\r\n\t}", "public abstract void mo2152a(View view);", "@Override\n\tpublic void function() {\n\t\t\n\t}", "@Override\n\tpublic void setView(Resultado resultado, HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "public View getHandle() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface EmptyViewMethodAccessor {\n\n\t/**\n\t * Calls upto AdapterView.setEmptyView()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyViewInternal(View emptyView);\n\n\t/**\n\t * Should call PullToRefreshBase.setEmptyView() which will then\n\t * automatically call through to setEmptyViewInternal()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyView(View emptyView);\n\n}", "@Override\n\tpublic void viewPrice() {\n\t\t\n\t}", "@Override\n public Matcher way() {\n return withView(getElementView(this));\n }", "@Override\n protected void doAct() {\n }", "@Override\n public void onClick(View theView) {\n setUp();\n\n\n }", "protected abstract void onPresenter();", "@RequestMapping(\"/editRepPage\")\r\n\tpublic String callEditRep(){\r\n\t\treturn \"editRepPage\";\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "interface View extends BaseView {\n //specific methods for each view\n void onTranslation(Sentence sentence);\n }", "public interface View_1 extends BaseView {\n\n void viewCall(String result);\n}", "protected void render(){}", "protected abstract void bindingView();", "public interface ICalcView {\n\n // 문자를 입력 받는다\n void append(String factor);\n\n // 결과를 출력한다\n String showresult(String result);\n // 식을 분리하는 메서드\n\n // 입력된 값을 넘겨주는 메서드\n String transferSentece();\n\n}", "protected abstract String display();", "protected abstract void populateView(View v, T model);", "public interface View {\n\t\n\tpublic DifferenceOperators getOperator();\n\tpublic double getUtility(DistanceMetric distanceMetric);\n\tpublic double getUtility(DistanceMetric distanceMetric,\n\t\t\tboolean normalizeDistributions);\n //Added by Himos\n public double getUtilitywithfunc(DistanceMetric distanceMetric, Constants.AggregateFunctions AGF,\n\t\t\tboolean normalizeDistributions);\n\tpublic List<View> constituentViews();\n \n // public String getHighFunction(); \n\t//public View getTopDifferent();\n\n}", "protected void display() {\n\r\n\t}", "android.view.View mo12148b();", "public interface TypeView extends BaseView {\n void getNewListEnd();\n\n void getNewListSuccess(List<New> news, int page);\n\n void getNewListError(String message, int page);\n}", "@Override\n public void showLoginView() {\n calledMethods.add(\"showLoginView\");\n }", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "public abstract void action();", "public abstract void action();" ]
[ "0.65891445", "0.6542304", "0.6511353", "0.6436543", "0.6384433", "0.635176", "0.62377805", "0.6196423", "0.6196423", "0.6196423", "0.6159732", "0.61458987", "0.61458987", "0.60510576", "0.6040804", "0.59966624", "0.59754556", "0.5973136", "0.594647", "0.5939329", "0.59389347", "0.59158397", "0.5856169", "0.585537", "0.58513504", "0.582815", "0.5804428", "0.57995176", "0.5774015", "0.57652426", "0.5758997", "0.5752617", "0.57512987", "0.5718392", "0.5681182", "0.56788087", "0.56747705", "0.56635976", "0.566114", "0.5650952", "0.5647677", "0.5643839", "0.564016", "0.5633525", "0.5632016", "0.56307995", "0.56306964", "0.56306267", "0.56201196", "0.5603982", "0.5601986", "0.559086", "0.55873764", "0.5586221", "0.5576363", "0.5572567", "0.5569882", "0.5569362", "0.55683845", "0.5555825", "0.5555825", "0.55501044", "0.55428594", "0.5542822", "0.5541642", "0.5538857", "0.55076855", "0.5494063", "0.5493318", "0.54922724", "0.54908144", "0.5487111", "0.54802084", "0.5479881", "0.54779184", "0.5477055", "0.5476851", "0.5475432", "0.5459498", "0.5444267", "0.54403126", "0.5438782", "0.5437144", "0.54351586", "0.5431865", "0.54316777", "0.54248977", "0.5421853", "0.54214036", "0.54093885", "0.5398136", "0.53929555", "0.5390341", "0.538675", "0.53859216", "0.53855646", "0.5385398", "0.5383096", "0.53824794", "0.53802586", "0.53802586" ]
0.0
-1
The method to simulate the corresponding method in the view.
@Override public void showLoginView() { calledMethods.add("showLoginView"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo8519a(View view);", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "public abstract View mo2155b();", "void mo12147a(View view);", "public abstract void viewRun();", "public void execute(VirtualView virtualView){\n //method in virtualView\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "View mo73990a(View view);", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "void view();", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "@Override\n\tpublic void staticFindViewByView() {\n\t\t\n\t}", "protected ReliedOnView() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "@Override\n\tpublic void action() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void mo1637a(View view) {\n }", "public abstract String getView();", "void mo6505cu(View view);", "@Override // kotlin.jvm.functions.Function0\n public Unit invoke() {\n AdvertDetailsAutotekaViewImpl.access$getListener$p(this.a).onClickGetAutotekaReport();\n return Unit.INSTANCE;\n }", "public View invoke() {\n return this.f64323a.findViewById(R.id.bt0);\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public static void testShowTodoView(){\n }", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void in_macha(View view) {\n }", "protected void render() {\n\t\tString accion = Thread.currentThread().getStackTrace()[2].getMethodName();\n\t\trender(accion);\n\t}", "public void action() {\n }", "@Override\n\tpublic void doYouWantTo() {\n\n\t}", "@Override\n\tpublic void call() {\n\t\t\n\t}", "public View invoke() {\n return this.f64321a.findViewById(R.id.am1);\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}", "@Override\n protected String getMethodName() {\n return suitename() + \"-\" + super.getMethodName();\n }", "@Override\n\tpublic void some() {\n\t\t\n\t}", "public void callmetoo(){\r\n\tSystem.out.println(\"This is a concrete method\");\r\n\t}", "public void doSomething() {\n \n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public abstract void pageDisplayed();", "public View getContent() {\n/* 238 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface BaseView {\n\n /**\n * 返回请求信息\n * @param value\n */\n void showReqResult(String value);\n\n}", "public abstract View a(Object obj);", "@Override\n\tpublic void doIt() {\n\t\t\n\t}", "public void testSetViews() {\n }", "@Override\n public void test() {\n \n }", "@Override\n\t\tpublic String getMethod() {\n\t\t\treturn null;\n\t\t}", "protected abstract MethodDescription accessorMethod();", "@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void ClickAceptar(View view){\n\n }", "protected void doSomethingElse()\r\n {\r\n \r\n }", "@Override\n\t\t\t\t\tpublic Method handleSimpleMethod(Element parent, FMethod src) {\n\t\t\t\t\t\treturn super.handleSimpleMethod(parent, src);\n\t\t\t\t\t}", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public String getView();", "public String getView();", "@Override\r\n\tpublic void simulate() {\n\t\t\r\n\t}", "@Override\n\tpublic void randomMethod(String name) {\n\t\t\n\t}", "public interface IFormulaView extends IBaseView {\n void submitSuccess(PlanDetailsEntity2 planDetailsEntity);\n}", "@Override\r\n\tpublic Response invoke() {\n\t\treturn null;\r\n\t}", "public View invoke() {\n return this.f64322a.findViewById(R.id.am2);\n }", "public void execute(View view){\n //method in view to show the choice\n }", "public abstract String showDetails();", "public abstract String display();", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "public void displayData(View view) {\n\n }", "Object getViewDetails();", "public Object caseView(View object) {\r\n\t\treturn null;\r\n\t}", "public abstract void mo2152a(View view);", "@Override\n\tpublic void function() {\n\t\t\n\t}", "@Override\n\tpublic void setView(Resultado resultado, HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "public View getHandle() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface EmptyViewMethodAccessor {\n\n\t/**\n\t * Calls upto AdapterView.setEmptyView()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyViewInternal(View emptyView);\n\n\t/**\n\t * Should call PullToRefreshBase.setEmptyView() which will then\n\t * automatically call through to setEmptyViewInternal()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyView(View emptyView);\n\n}", "@Override\n\tpublic void viewPrice() {\n\t\t\n\t}", "@Override\n public Matcher way() {\n return withView(getElementView(this));\n }", "@Override\n protected void doAct() {\n }", "@Override\n public void onClick(View theView) {\n setUp();\n\n\n }", "protected abstract void onPresenter();", "@RequestMapping(\"/editRepPage\")\r\n\tpublic String callEditRep(){\r\n\t\treturn \"editRepPage\";\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "interface View extends BaseView {\n //specific methods for each view\n void onTranslation(Sentence sentence);\n }", "public interface View_1 extends BaseView {\n\n void viewCall(String result);\n}", "protected void render(){}", "protected abstract void bindingView();", "public interface ICalcView {\n\n // 문자를 입력 받는다\n void append(String factor);\n\n // 결과를 출력한다\n String showresult(String result);\n // 식을 분리하는 메서드\n\n // 입력된 값을 넘겨주는 메서드\n String transferSentece();\n\n}", "protected abstract String display();", "protected abstract void populateView(View v, T model);", "public interface View {\n\t\n\tpublic DifferenceOperators getOperator();\n\tpublic double getUtility(DistanceMetric distanceMetric);\n\tpublic double getUtility(DistanceMetric distanceMetric,\n\t\t\tboolean normalizeDistributions);\n //Added by Himos\n public double getUtilitywithfunc(DistanceMetric distanceMetric, Constants.AggregateFunctions AGF,\n\t\t\tboolean normalizeDistributions);\n\tpublic List<View> constituentViews();\n \n // public String getHighFunction(); \n\t//public View getTopDifferent();\n\n}", "protected void display() {\n\r\n\t}", "android.view.View mo12148b();", "public interface TypeView extends BaseView {\n void getNewListEnd();\n\n void getNewListSuccess(List<New> news, int page);\n\n void getNewListError(String message, int page);\n}", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "public abstract void action();", "public abstract void action();" ]
[ "0.65891445", "0.6542304", "0.6511353", "0.6436543", "0.6384433", "0.635176", "0.62377805", "0.6196423", "0.6196423", "0.6196423", "0.6159732", "0.61458987", "0.61458987", "0.60510576", "0.6040804", "0.59966624", "0.59754556", "0.5973136", "0.594647", "0.5939329", "0.59389347", "0.59158397", "0.5856169", "0.585537", "0.58513504", "0.582815", "0.5804428", "0.57995176", "0.5774015", "0.57652426", "0.5758997", "0.5752617", "0.57512987", "0.5718392", "0.5681182", "0.56788087", "0.56747705", "0.56635976", "0.566114", "0.5650952", "0.5647677", "0.5643839", "0.564016", "0.5633525", "0.5632016", "0.56307995", "0.56306964", "0.56306267", "0.56201196", "0.5603982", "0.5601986", "0.559086", "0.55873764", "0.5586221", "0.5576363", "0.5572567", "0.5569882", "0.5569362", "0.55683845", "0.5555825", "0.5555825", "0.55501044", "0.55428594", "0.5542822", "0.5541642", "0.5538857", "0.55076855", "0.5494063", "0.5493318", "0.54922724", "0.54908144", "0.5487111", "0.54802084", "0.5479881", "0.54779184", "0.5477055", "0.5476851", "0.5475432", "0.5459498", "0.5444267", "0.54403126", "0.5438782", "0.5437144", "0.54351586", "0.5431865", "0.54316777", "0.54248977", "0.5421853", "0.54214036", "0.54093885", "0.5398136", "0.53929555", "0.5390341", "0.538675", "0.53859216", "0.53855646", "0.5385398", "0.53824794", "0.53802586", "0.53802586" ]
0.5383096
97
The method to simulate the corresponding method in the view.
@Override public void update(ModelUpdate message) { calledMethods.add("update: " + message.getEventType()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void mo8519a(View view);", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "public abstract View mo2155b();", "void mo12147a(View view);", "public abstract void viewRun();", "public void execute(VirtualView virtualView){\n //method in virtualView\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "View mo73990a(View view);", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "void view();", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "@Override\n\tpublic void staticFindViewByView() {\n\t\t\n\t}", "protected ReliedOnView() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "@Override\n\tpublic void action() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void mo1637a(View view) {\n }", "public abstract String getView();", "void mo6505cu(View view);", "@Override // kotlin.jvm.functions.Function0\n public Unit invoke() {\n AdvertDetailsAutotekaViewImpl.access$getListener$p(this.a).onClickGetAutotekaReport();\n return Unit.INSTANCE;\n }", "public View invoke() {\n return this.f64323a.findViewById(R.id.bt0);\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public static void testShowTodoView(){\n }", "@Override // kotlin.jvm.functions.Function1\n public /* bridge */ /* synthetic */ Unit invoke(View view) {\n invoke(view);\n return Unit.INSTANCE;\n }", "public void in_macha(View view) {\n }", "protected void render() {\n\t\tString accion = Thread.currentThread().getStackTrace()[2].getMethodName();\n\t\trender(accion);\n\t}", "public void action() {\n }", "@Override\n\tpublic void doYouWantTo() {\n\n\t}", "@Override\n\tpublic void call() {\n\t\t\n\t}", "public View invoke() {\n return this.f64321a.findViewById(R.id.am1);\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}", "@Override\n protected String getMethodName() {\n return suitename() + \"-\" + super.getMethodName();\n }", "@Override\n\tpublic void some() {\n\t\t\n\t}", "public void callmetoo(){\r\n\tSystem.out.println(\"This is a concrete method\");\r\n\t}", "public void doSomething() {\n \n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public abstract void pageDisplayed();", "public View getContent() {\n/* 238 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface BaseView {\n\n /**\n * 返回请求信息\n * @param value\n */\n void showReqResult(String value);\n\n}", "public abstract View a(Object obj);", "@Override\n\tpublic void doIt() {\n\t\t\n\t}", "public void testSetViews() {\n }", "@Override\n public void test() {\n \n }", "@Override\n\t\tpublic String getMethod() {\n\t\t\treturn null;\n\t\t}", "protected abstract MethodDescription accessorMethod();", "@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void ClickAceptar(View view){\n\n }", "protected void doSomethingElse()\r\n {\r\n \r\n }", "@Override\n\t\t\t\t\tpublic Method handleSimpleMethod(Element parent, FMethod src) {\n\t\t\t\t\t\treturn super.handleSimpleMethod(parent, src);\n\t\t\t\t\t}", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public String getView();", "public String getView();", "@Override\r\n\tpublic void simulate() {\n\t\t\r\n\t}", "@Override\n\tpublic void randomMethod(String name) {\n\t\t\n\t}", "public interface IFormulaView extends IBaseView {\n void submitSuccess(PlanDetailsEntity2 planDetailsEntity);\n}", "@Override\r\n\tpublic Response invoke() {\n\t\treturn null;\r\n\t}", "public View invoke() {\n return this.f64322a.findViewById(R.id.am2);\n }", "public void execute(View view){\n //method in view to show the choice\n }", "public abstract String showDetails();", "public abstract String display();", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "public void displayData(View view) {\n\n }", "Object getViewDetails();", "public Object caseView(View object) {\r\n\t\treturn null;\r\n\t}", "public abstract void mo2152a(View view);", "@Override\n\tpublic void function() {\n\t\t\n\t}", "@Override\n\tpublic void setView(Resultado resultado, HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "public View getHandle() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public interface EmptyViewMethodAccessor {\n\n\t/**\n\t * Calls upto AdapterView.setEmptyView()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyViewInternal(View emptyView);\n\n\t/**\n\t * Should call PullToRefreshBase.setEmptyView() which will then\n\t * automatically call through to setEmptyViewInternal()\n\t * \n\t * @param emptyView - to set as Empty View\n\t */\n\tpublic void setEmptyView(View emptyView);\n\n}", "@Override\n\tpublic void viewPrice() {\n\t\t\n\t}", "@Override\n public Matcher way() {\n return withView(getElementView(this));\n }", "@Override\n protected void doAct() {\n }", "@Override\n public void onClick(View theView) {\n setUp();\n\n\n }", "protected abstract void onPresenter();", "@RequestMapping(\"/editRepPage\")\r\n\tpublic String callEditRep(){\r\n\t\treturn \"editRepPage\";\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "interface View extends BaseView {\n //specific methods for each view\n void onTranslation(Sentence sentence);\n }", "public interface View_1 extends BaseView {\n\n void viewCall(String result);\n}", "protected void render(){}", "protected abstract void bindingView();", "public interface ICalcView {\n\n // 문자를 입력 받는다\n void append(String factor);\n\n // 결과를 출력한다\n String showresult(String result);\n // 식을 분리하는 메서드\n\n // 입력된 값을 넘겨주는 메서드\n String transferSentece();\n\n}", "protected abstract String display();", "protected abstract void populateView(View v, T model);", "public interface View {\n\t\n\tpublic DifferenceOperators getOperator();\n\tpublic double getUtility(DistanceMetric distanceMetric);\n\tpublic double getUtility(DistanceMetric distanceMetric,\n\t\t\tboolean normalizeDistributions);\n //Added by Himos\n public double getUtilitywithfunc(DistanceMetric distanceMetric, Constants.AggregateFunctions AGF,\n\t\t\tboolean normalizeDistributions);\n\tpublic List<View> constituentViews();\n \n // public String getHighFunction(); \n\t//public View getTopDifferent();\n\n}", "protected void display() {\n\r\n\t}", "android.view.View mo12148b();", "public interface TypeView extends BaseView {\n void getNewListEnd();\n\n void getNewListSuccess(List<New> news, int page);\n\n void getNewListError(String message, int page);\n}", "@Override\n public void showLoginView() {\n calledMethods.add(\"showLoginView\");\n }", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "public abstract void action();", "public abstract void action();" ]
[ "0.65891445", "0.6542304", "0.6511353", "0.6436543", "0.6384433", "0.635176", "0.62377805", "0.6196423", "0.6196423", "0.6196423", "0.6159732", "0.61458987", "0.61458987", "0.60510576", "0.6040804", "0.59966624", "0.59754556", "0.5973136", "0.594647", "0.5939329", "0.59389347", "0.59158397", "0.5856169", "0.585537", "0.58513504", "0.582815", "0.5804428", "0.57995176", "0.5774015", "0.57652426", "0.5758997", "0.5752617", "0.57512987", "0.5718392", "0.5681182", "0.56788087", "0.56747705", "0.56635976", "0.566114", "0.5650952", "0.5647677", "0.5643839", "0.564016", "0.5633525", "0.5632016", "0.56307995", "0.56306964", "0.56306267", "0.56201196", "0.5603982", "0.5601986", "0.559086", "0.55873764", "0.5586221", "0.5576363", "0.5572567", "0.5569882", "0.5569362", "0.55683845", "0.5555825", "0.5555825", "0.55501044", "0.55428594", "0.5542822", "0.5541642", "0.5538857", "0.55076855", "0.5494063", "0.5493318", "0.54922724", "0.54908144", "0.5487111", "0.54802084", "0.5479881", "0.54779184", "0.5477055", "0.5476851", "0.5475432", "0.5459498", "0.5444267", "0.54403126", "0.5438782", "0.5437144", "0.54351586", "0.5431865", "0.54316777", "0.54248977", "0.5421853", "0.54214036", "0.54093885", "0.5398136", "0.53929555", "0.5390341", "0.538675", "0.53859216", "0.53855646", "0.5385398", "0.5383096", "0.53824794", "0.53802586", "0.53802586" ]
0.0
-1
Creates new form mitigacao
public mitigacao() { initComponents(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "FORM createFORM();", "public static Result newForm() {\n return ok(newForm.render(palletForm, setOfArticleForm));\n }", "public static void create(Formulario form){\n daoFormulario.create(form);\n }", "public String nuevo() {\n\n\t\tLOG.info(\"Submitado formulario, accion nuevo\");\n\t\tString view = \"/alumno/form\";\n\n\t\t// las validaciones son correctas, por lo cual los datos del formulario estan en\n\t\t// el atributo alumno\n\n\t\t// TODO simular index de la bbdd\n\t\tint id = this.alumnos.size();\n\t\tthis.alumno.setId(id);\n\n\t\tLOG.debug(\"alumno: \" + this.alumno);\n\n\t\t// TODO comprobar edad y fecha\n\n\t\talumnos.add(alumno);\n\t\tview = VIEW_LISTADO;\n\t\tmockAlumno();\n\n\t\t// mensaje flash\n\t\tFacesContext facesContext = FacesContext.getCurrentInstance();\n\t\tExternalContext externalContext = facesContext.getExternalContext();\n\t\texternalContext.getFlash().put(\"alertTipo\", \"success\");\n\t\texternalContext.getFlash().put(\"alertMensaje\", \"Alumno \" + this.alumno.getNombre() + \" creado con exito\");\n\n\t\treturn view + \"?faces-redirect=true\";\n\t}", "public FormInserir() {\n initComponents();\n }", "public SalidaCajaForm() {\n\t\tinicializarComponentes();\n }", "@RequestMapping(method = RequestMethod.GET)\n \tpublic String createForm(Model model, ForgotLoginForm form) {\n \t\tmodel.addAttribute(\"form\", form);\n \t\treturn \"forgotlogin/index\";\n \t}", "@GetMapping(value = \"/create\") // https://localhost:8080/etiquetasTipoDisenio/create\n\tpublic String create(Model model) {\n\t\tetiquetasTipoDisenio etiquetasTipoDisenio = new etiquetasTipoDisenio();\n\t\tmodel.addAttribute(\"title\", \"Registro de una nuev entrega\");\n\t\tmodel.addAttribute(\"etiquetasTipoDisenio\", etiquetasTipoDisenio); // similar al ViewBag\n\t\treturn \"etiquetasTipoDisenio/form\"; // la ubicacion de la vista\n\t}", "public creacionempresa() {\n initComponents();\n mostrardatos();\n }", "public frm_tutor_subida_prueba() {\n }", "@Command\n\tpublic void nuevoAnalista(){\n\t\tMap<String, Object> parametros = new HashMap<String, Object>();\n\n\t\t//parametros.put(\"recordMode\", \"NEW\");\n\t\tllamarFormulario(\"formularioAnalistas.zul\", null);\n\t}", "public FormFuncionario(FormMenu telaPai) {\n initComponents();\n this.telaPai = telaPai;\n\n txtNome.setText(\"Nome\");\n lblNome.setVisible(false);\n txtSobrenome.setText(\"Sobrenome\");\n lblSobrenome.setVisible(false);\n campoMensagem.setVisible(false);\n lblMensagem.setVisible(false);\n\n }", "private void azzeraInsertForm() {\n\t\tviewInserimento.getCmbbxTipologia().setSelectedIndex(-1);\n\t\tviewInserimento.getTxtFieldDataI().setText(\"\");\n\t\tviewInserimento.getTxtFieldValore().setText(\"\");\n\t\tviewInserimento.getTxtFieldDataI().setBackground(Color.white);\n\t\tviewInserimento.getTxtFieldValore().setBackground(Color.white);\n\t}", "@Override\n\tpublic void create(CreateCoinForm form) throws Exception {\n\t}", "public FormUtama() {\n initComponents();\n }", "@RequestMapping(params = \"new\", method = RequestMethod.GET)\n\t@PreAuthorize(\"hasRole('ADMIN')\")\n\tpublic String createProductForm(Model model) { \t\n \t\n\t\t//Security information\n\t\tmodel.addAttribute(\"admin\",security.isAdmin()); \n\t\tmodel.addAttribute(\"loggedUser\", security.getLoggedInUser());\n\t\t\n\t model.addAttribute(\"product\", new Product());\n\t return \"products/newProduct\";\n\t}", "public Form_soal() {\n initComponents();\n tampil_soal();\n }", "public FormCadastroAutomovel() {\n initComponents();\n }", "public void registrarMateria() {\n materia.setIdDepartamento(departamento);\n ejbFacade.create(materia);\n RequestContext requestContext = RequestContext.getCurrentInstance();\n requestContext.execute(\"PF('MateriaCreateDialog').hide()\");\n items = ejbFacade.findAll();\n departamento = new Departamento();\n materia = new Materia();\n\n FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_INFO, \"Información\", \"La materia se registró con éxito\");\n FacesContext.getCurrentInstance().addMessage(null, msg);\n requestContext.update(\"msg\");//Actualiza la etiqueta growl para que el mensaje pueda ser mostrado\n\n requestContext.update(\"MateriaListForm\");\n requestContext.update(\"MateriaCreateForm\");\n }", "protected void nuevo(){\n wp = new frmEspacioTrabajo();\n System.runFinalization();\n inicializar();\n }", "public Formulario() {\n initComponents();\n }", "public static Result startNewForm() {\r\n\t\tString formName = ChangeOrderForm.NAME;\r\n\t\tDecision firstDecision = CMSGuidedFormFill.startNewForm(formName,\r\n\t\t\t\tCMSSession.getEmployeeName(), CMSSession.getEmployeeId());\r\n\t\treturn ok(backdrop.render(firstDecision));\r\n\t}", "@GetMapping(\"/producto/nuevo\")\n\tpublic String nuevoProductoForm(Model model) {\n\t\tmodel.addAttribute(\"producto\", new Producto());\n\t\treturn \"app/producto/form\";\n\t}", "@GetMapping(\"/create\")\n public ModelAndView create(@ModelAttribute(\"form\") final CardCreateForm form) {\n return getCreateForm(form);\n }", "@_esCocinero\n public Result crearPaso() {\n Form<Paso> frm = frmFactory.form(Paso.class).bindFromRequest();\n\n // Comprobación de errores\n if (frm.hasErrors()) {\n return status(409, frm.errorsAsJson());\n }\n\n Paso nuevoPaso = frm.get();\n\n // Comprobar autor\n String key = request().getQueryString(\"apikey\");\n if (!SeguridadFunctions.esAutorReceta(nuevoPaso.p_receta.getId(), key))\n return Results.badRequest();\n\n // Checkeamos y guardamos\n if (nuevoPaso.checkAndCreate()) {\n Cachefunctions.vaciarCacheListas(\"pasos\", Paso.numPasos(), cache);\n Cachefunctions.vaciarCacheListas(\"recetas\", Receta.numRecetas(), cache);\n return Results.created();\n } else {\n return Results.badRequest();\n }\n\n }", "@Override\n\tpublic void createForm(ERForm form) {\n\t\t\tString sql = \"insert into project1.reimbursementInfo (userName, fullName, thedate, eventstartdate, thelocation, description, thecost, gradingformat, passingpercentage, eventtype, filename,status,reason) values (?,?,?,?,?,?,?,?,?,?,?,?,?);\";\n\t\t\ttry {PreparedStatement stmt = conn.prepareCall(sql);\n\t\t\t//RID should auto increment, so this isnt necessary\n\t\t\t\n\t\t\tstmt.setString(1, form.getUserName());\n\t\t\tstmt.setString(2, form.getFullName());\n\t\t\tstmt.setDate(3, Date.valueOf(form.getTheDate()));\n\t\t\tstmt.setDate(4, Date.valueOf(form.getEventStartDate()));\n\t\t\tstmt.setString(5, form.getTheLocation());\n\t\t\tstmt.setString(6, form.getDescription());\n\t\t\tstmt.setDouble(7, form.getTheCost());\n\t\t\tstmt.setString(8, form.getGradingFormat());\n\t\t\tstmt.setString(9, form.getPassingPercentage());\n\t\t\tstmt.setString(10, form.getEventType());\n\t\t\tstmt.setString(11, form.getFileName());\n\t\t\tstmt.setString(12, \"pending\");\n\t\t\tstmt.setString(13, \"\");\n\t\t\tstmt.executeUpdate();\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public void createAd(/*Should be a form*/){\n Ad ad = new Ad();\n User owner = this.user;\n Vehicle vehicle = this.vehicle;\n String \n// //ADICIONAR\n ad.setOwner();\n ad.setVehicle();\n ad.setDescription();\n ad.setPics();\n ad.setMain_pic();\n }", "public frmAfiliado() {\n initComponents();\n \n }", "@GetMapping(\"/createRegistro\")\n\tpublic String crearValidacion(Model model) {\n\t\tList<Barrio> localidades = barrioService.obtenerBarrios();\n\t\tmodel.addAttribute(\"localidades\",localidades);\n\t\tmodel.addAttribute(\"persona\",persona);\n\t\tmodel.addAttribute(\"validacion\",validacion);\n\t\tmodel.addAttribute(\"registro\",registro);\n\t\tmodel.addAttribute(\"barrio\",barrio);\n\t\treturn \"RegistroForm\";\n\t}", "public TorneoForm() {\n initComponents();\n }", "public Ventaform() {\n initComponents();\n }", "public void CrearNew(ActionEvent e) {\n List<Pensum> R = ejbFacade.existePensumID(super.getSelected().getIdpensum());\n if(R.isEmpty()){\n super.saveNew(e);\n }else{\n new Auxiliares().setMsj(3,\"PENSUM ID YA EXISTE\");\n }\n }", "protected RespostaFormularioPreenchido() {\n // for ORM\n }", "public static AssessmentCreationForm openFillCreationForm(Assessment assm) {\n openCreationSearchForm(Roles.STAFF, WingsTopMenu.WingsStaffMenuItem.P_ASSESSMENTS, Popup.Create);\n\n Logger.getInstance().info(\"Fill out the required fields with valid data\");\n AssessmentCreationForm creationForm = new AssessmentCreationForm();\n creationForm.fillAssessmentInformation(new User(Roles.STAFF), assm);\n\n return new AssessmentCreationForm();\n }", "public Form getCreationForm() throws ProcessManagerException {\r\n try {\r\n Action creation = processModel.getCreateAction();\r\n return processModel.getPublicationForm(creation.getName(), currentRole,\r\n getLanguage());\r\n } catch (WorkflowException e) {\r\n throw new ProcessManagerException(\"SessionController\",\r\n \"processManager.ERR_NO_CREATION_FORM\", e);\r\n }\r\n }", "public TransferOfFundsForm() {\n super();\n }", "private void nuevaLiga() {\r\n\t\tif(Gestion.isModificado()){\r\n\t\t\tint opcion = JOptionPane.showOptionDialog(null, \"¿Desea guardar los cambios?\", \"Nueva Liga\", JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null,null, null);\r\n\t\t\tswitch(opcion){\r\n\t\t\tcase JOptionPane.YES_OPTION:\r\n\t\t\t\tguardar();\r\n\t\t\t\tbreak;\r\n\t\t\tcase JOptionPane.NO_OPTION:\r\n\t\t\t\tGestion.reset();\r\n\t\t\t\tbreak;\r\n\t\t\tcase JOptionPane.CANCEL_OPTION:\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\telse\r\n\t\t\tGestion.reset();\r\n\t\tfrmLigaDeFtbol.setTitle(\"Liga de Fútbol\");\r\n\t}", "public FormularioPregunta() {\n initComponents();\n \n setLocationRelativeTo(this);\n }", "Compuesta createCompuesta();", "@GetMapping(\"/addPharmacist\")\n public String pharmacistForm(Model model) {\n model.addAttribute(\"pharmacist\", new Pharmacist());\n return \"addPharmacist\";\n }", "@Override\n\tpublic void onFormCreate(AbstractForm arg0, DataMsgBus arg1) {\n\t}", "private void initFormulario() {\n btnCadastro = findViewById(R.id.btnCadastro);\n editNome = findViewById(R.id.editNome);\n editEmail = findViewById(R.id.editEmail);\n editSenhaA = findViewById(R.id.editSenha);\n editSenhaB = findViewById(R.id.editSenhaB);\n chTermo = findViewById(R.id.chTermos);\n isFormOk = false;\n }", "public CrearPedidos() {\n initComponents();\n }", "public ServerskaForma() {\n initComponents();\n \n \n \n }", "@RequestMapping(value={\"/projects/add\"}, method= RequestMethod.GET)\r\n\tpublic String createProjectForm(Model model) {\r\n\t\tUser loggedUser= sessionData.getLoggedUser();\r\n\t\tmodel.addAttribute(\"loggedUser\", loggedUser);\r\n\t\tmodel.addAttribute(\"projectForm\", new Project());\r\n\t\treturn \"addProject\";\r\n\t}", "@Override\r\n\tpublic void crearVehiculo() {\n\t\t\r\n\t}", "public MechanicForm() {\n initComponents();\n }", "private void creerMethode() {\n if (estValide()) {\n methode = new Methode();\n methode.setNom(textFieldNom.getText());\n methode.setVisibilite(comboBoxVisibilite.getValue());\n methode.setType(comboBoxType.getValue());\n ArrayList<Parametre> temp = new ArrayList<>();\n for (Parametre parametre : parametreListView.getItems())\n temp.add(parametre);\n methode.setParametres(temp);\n close();\n }\n }", "public String crea() {\n c.setId(0);\n clienteDAO.crea(c); \n //Post-Redirect-Get\n return \"visualiza?faces-redirect=true&id=\"+c.getId();\n }", "@GetMapping(\"/students/new\")\r\n\tpublic String createStudentForm(Model model) {\n\t\tStudent student =new Student();\r\n\t\tmodel.addAttribute(\"student\",student);\r\n\t\treturn \"create_student\";\r\n\t}", "@RequestMapping(method = RequestMethod.POST, value = {\"\",\"/\"})\r\n\tpublic ResponseEntity<FormularioDTO> add(@RequestBody @Valid Formulario formulario) throws AuthenticationException {\r\n\t\tformulario.setInstituicao(new Instituicao(authService.getDados().getInstituicaoId()));\r\n\t\treturn new ResponseEntity<>(formularioService.create(formulario), HttpStatus.CREATED);\r\n\t}", "public FormularioCliente() {\n initComponents();\n }", "public Form(){ \n\t\tsuper(tag(Form.class)); \n\t}", "@RequestMapping(\"enviar\")\n\tpublic String abrirForm() {\n\t\treturn \"contato/form\";\n\t}", "public GestaoFormando() {\n \n initComponents();\n listarEquipamentos();\n listarmapainscritos();\n }", "public frmAddIncidencias() {\n initComponents();\n }", "public FrmInsertar() {\n initComponents();\n }", "public FormularioP() {\n initComponents();\n }", "public ProfilsFIForm() {\r\n\t\tsuper();\r\n\t}", "public void createPersonalInfos(JFrame jFrame, ControllerAdmin controllerAdminPersonalInfos){\n JLabel jLabelAcount = new JLabel(\"Compte\");\n jLabelAcount.setBounds(20, 20, 100, 28);\n\n JLabel jLabelId = new JLabel(\"Identifiant :\");\n jLabelId.setBounds(40, 50, 300, 28);\n JTextField jTextFieldId = new JTextField(controllerAdminPersonalInfos.getUser().getId());\n jTextFieldId.setBounds(40, 80, 300, 28);\n\n JLabel jLabelLastName = new JLabel(\"Nom :\");\n jLabelLastName.setBounds(40, 110, 300, 28);\n JTextField jTextFieldLastName = new JTextField(controllerAdminPersonalInfos.getUser().getLastName());\n jTextFieldLastName.setBounds(40, 140, 300, 28);\n\n JLabel jLabelFirstName = new JLabel(\"Prenom :\");\n jLabelFirstName.setBounds(40, 170, 300, 28);\n JTextField jTextFieldFirstName = new JTextField(controllerAdminPersonalInfos.getUser().getFirstName());\n jTextFieldFirstName.setBounds(40, 200, 300, 28);\n\n JLabel jLabelEmail = new JLabel(\"Email :\");\n jLabelEmail.setBounds(40, 230, 300, 28);\n JTextField jTextFieldEmail = new JTextField(controllerAdminPersonalInfos.getUser().getEmail());\n jTextFieldEmail.setBounds(40, 260, 300, 28);\n\n JLabel jLabelPassword = new JLabel(\"Mot de passe :\");\n jLabelPassword.setBounds(40, 290, 300, 28);\n JPasswordField jPasswordFieldPassword = new JPasswordField(controllerAdminPersonalInfos.getUser().getPassword());\n jPasswordFieldPassword.setBounds(40, 320, 300, 28);\n\n JButton jButtonModifPassword = new JButton(\"Modifier le mot de passe\");\n jButtonModifPassword.setBounds(350, 320, 200, 28);\n\n //set editabilite\n jTextFieldId.setEditable(false);\n jTextFieldLastName.setEditable(false);\n jTextFieldFirstName.setEditable(false);\n jTextFieldEmail.setEditable(false);\n jPasswordFieldPassword.setEditable(false);\n\n // Ajout des element à la JFrame\n jFrame.add(jLabelAcount);\n jFrame.add(jLabelId);\n jFrame.add(jTextFieldId);\n jFrame.add(jLabelLastName);\n jFrame.add(jTextFieldLastName);\n jFrame.add(jLabelFirstName);\n jFrame.add(jTextFieldFirstName);\n jFrame.add(jLabelEmail);\n jFrame.add(jTextFieldEmail);\n jFrame.add(jLabelPassword);\n jFrame.add(jButtonModifPassword);\n jFrame.add(jPasswordFieldPassword);\n\n jButtonModifPassword.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n createModifPassword(jFrame, controllerAdminPersonalInfos);\n jFrame.repaint();\n }\n });\n\n jFrame.setLayout(null);\n jFrame.setVisible(true);\n }", "public Form(){\n\t\ttypeOfLicenseApp = new TypeOfLicencsApplication();\n\t\toccupationalTrainingList = new ArrayList<OccupationalTraining>();\n\t\taffiadavit = new Affidavit();\n\t\tapplicationForReciprocity = new ApplicationForReciprocity();\n\t\teducationBackground = new EducationBackground();\n\t\toccupationalLicenses = new OccupationalLicenses();\n\t\tofficeUseOnlyInfo = new OfficeUseOnlyInfo();\n\t}", "private void submitForm(){\n String toast_message;\n\n int time = getValueOfField(R.id.at_editTextNumberSigned_timeValue);\n int easyNumber = getValueOfField(R.id.at_editTextNumberSigned_levelEasyValue);\n int mediumNumber = getValueOfField(R.id.at_editTextNumberSigned_levelMiddleValue);\n int highNumber = getValueOfField(R.id.at_editTextNumberSigned_levelHighValue);\n int hardcoreNumber = getValueOfField(R.id.at_editTextNumberSigned_levelExpertValue);\n\n // if time is between 0 and 1440 min\n if (time > 0){\n if(time < 24*60){\n // if numbers are positives\n if (easyNumber >= 0 && mediumNumber >= 0 && highNumber >= 0 && hardcoreNumber >= 0){\n\n // save data\n int id = this.controller.getLastIdTraining() + 1;\n\n ArrayList<Level> listLevel = new ArrayList<>();\n listLevel.add(new Level(\"EASY\", easyNumber));\n listLevel.add(new Level(\"MEDIUM\", mediumNumber));\n listLevel.add(new Level(\"HIGHT\", highNumber));\n listLevel.add(new Level(\"HARDCORE\", hardcoreNumber));\n\n Training training = new Training(id, inputCalendar.getTime(), time, listLevel);\n\n this.controller.AddTraining(training);\n\n // init values of Form\n initForm(null);\n\n // redirection to stats page\n Navigation.findNavController(getActivity(),\n R.id.nav_host_fragment).navigate(R.id.navigation_list_training);\n\n toast_message = \"L'entrainement a bien été ajouté !\";\n }else toast_message = \"Erreur:\\nToutes les valeurs de voies ne sont pas positive !\";\n }else toast_message = \"La durée ne doit pas exceder 1440 min.\";\n }else toast_message = \"La durée doit être supérieur à 0 min.\\n\";\n\n // Send alert\n Toast.makeText(getContext(), toast_message, Toast.LENGTH_LONG).show();\n }", "public CadastroProdutoNew() {\n initComponents();\n }", "public frmPrincipal() {\n initComponents(); \n inicializar();\n \n }", "public KorisnikForma() {\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\t\tsetBounds(100, 100, 629, 613);\n\t\tcontentPane = new JPanel();\n\t\tcontentPane.setBorder(new EmptyBorder(5, 5, 5, 5));\n\t\tsetContentPane(contentPane);\n\t\tcontentPane.setLayout(null);\n\t\t\n\t\tJLabel lblRegistracija = new JLabel(\"Registracija !!!\");\n\t\tlblRegistracija.setFont(new Font(\"Tahoma\", Font.BOLD, 26));\n\t\tlblRegistracija.setBounds(189, 35, 306, 36);\n\t\tcontentPane.add(lblRegistracija);\n\t\t\n\t\ttfImePrezime = new JTextField();\n\t\ttfImePrezime.setBounds(425, 143, 153, 20);\n\t\tcontentPane.add(tfImePrezime);\n\t\ttfImePrezime.setColumns(10);\n\t\t\n\t\ttfUser = new JTextField();\n\t\ttfUser.setBounds(425, 207, 153, 20);\n\t\tcontentPane.add(tfUser);\n\t\ttfUser.setColumns(10);\n\t\t\n\t\ttfPass = new JTextField();\n\t\ttfPass.setBounds(425, 267, 153, 20);\n\t\tcontentPane.add(tfPass);\n\t\ttfPass.setColumns(10);\n\t\t\n\t\ttfTelefon = new JTextField();\n\t\ttfTelefon.setBounds(425, 382, 153, 20);\n\t\tcontentPane.add(tfTelefon);\n\t\ttfTelefon.setColumns(10);\n\t\tImage img2= new ImageIcon(this.getClass().getResource(\"/download.png\")).getImage();\n\t\t\n\t\tJLabel lblImePrezime = new JLabel(\"Ime i prezime :\");\n\t\tlblImePrezime.setFont(new Font(\"Tahoma\", Font.PLAIN, 14));\n\t\tlblImePrezime.setBounds(273, 143, 89, 17);\n\t\tcontentPane.add(lblImePrezime);\n\t\t\n\t\tJLabel lblzvezda = new JLabel(\"*\");\n\t\tlblzvezda.setForeground(Color.RED);\n\t\tlblzvezda.setFont(new Font(\"Tahoma\", Font.PLAIN, 14));\n\t\tlblzvezda.setBounds(396, 144, 19, 14);\n\t\tcontentPane.add(lblzvezda);\n\t\t\n\t\tJLabel label = new JLabel(\"*\");\n\t\tlabel.setForeground(Color.RED);\n\t\tlabel.setFont(new Font(\"Tahoma\", Font.PLAIN, 14));\n\t\tlabel.setBounds(396, 208, 19, 14);\n\t\tcontentPane.add(label);\n\t\t\n\t\tJLabel label_1 = new JLabel(\"*\");\n\t\tlabel_1.setForeground(Color.RED);\n\t\tlabel_1.setFont(new Font(\"Tahoma\", Font.PLAIN, 14));\n\t\tlabel_1.setBounds(396, 268, 19, 14);\n\t\tcontentPane.add(label_1);\n\t\t\n\t\tJLabel label_2 = new JLabel(\"*\");\n\t\tlabel_2.setForeground(Color.RED);\n\t\tlabel_2.setBackground(Color.WHITE);\n\t\tlabel_2.setFont(new Font(\"Tahoma\", Font.PLAIN, 14));\n\t\tlabel_2.setBounds(396, 325, 19, 14);\n\t\tcontentPane.add(label_2);\n\t\t\n\t\tJLabel label_3 = new JLabel(\"*\");\n\t\tlabel_3.setForeground(Color.RED);\n\t\tlabel_3.setFont(new Font(\"Tahoma\", Font.PLAIN, 14));\n\t\tlabel_3.setBounds(396, 383, 19, 14);\n\t\tcontentPane.add(label_3);\n\t\t\n\t\tJLabel lblUserName = new JLabel(\"Username : \");\n\t\tlblUserName.setFont(new Font(\"Tahoma\", Font.PLAIN, 14));\n\t\tlblUserName.setBounds(273, 207, 89, 17);\n\t\tcontentPane.add(lblUserName);\n\t\t\n\t\tJLabel lblNewLabel = new JLabel(\"* Obavezna polja za unos ! \");\n\t\tlblNewLabel.setForeground(Color.RED);\n\t\tlblNewLabel.setFont(new Font(\"Tahoma\", Font.BOLD | Font.ITALIC, 14));\n\t\tlblNewLabel.setBounds(375, 523, 211, 23);\n\t\tcontentPane.add(lblNewLabel);\n\t\t\n\t\tJLabel lblPass = new JLabel(\"Password :\");\n\t\tlblPass.setFont(new Font(\"Tahoma\", Font.PLAIN, 14));\n\t\tlblPass.setBounds(273, 267, 89, 17);\n\t\tcontentPane.add(lblPass);\n\t\t\n\t\tJLabel lblDate = new JLabel(\"Datum rodjenja : \");\n\t\tlblDate.setFont(new Font(\"Tahoma\", Font.PLAIN, 14));\n\t\tlblDate.setBounds(273, 324, 113, 17);\n\t\tcontentPane.add(lblDate);\n\t\t\n\t\tJLabel lblNewLabel_2 = new JLabel(\"Telefon :\");\n\t\tlblNewLabel_2.setFont(new Font(\"Tahoma\", Font.PLAIN, 14));\n\t\tlblNewLabel_2.setBounds(273, 382, 100, 17);\n\t\tcontentPane.add(lblNewLabel_2);\n\t\t\n\t\tJLabel lblImage = new JLabel(\"\");\n\t\tImage img3 = new ImageIcon(this.getClass().getResource(\"/admin.png\")).getImage();\n\t\tlblImage.setIcon(new ImageIcon(img3));\n\t\tlblImage.setBounds(38, 82, 170, 357);\n\t\tcontentPane.add(lblImage);\n\t\t\n\t\tJButton btnSacuvaj = new JButton(\"Sacuvaj\");\n\t\tbtnSacuvaj.setFont(new Font(\"Tahoma\", Font.BOLD, 14));\n\t\tImage img4 = new ImageIcon(this.getClass().getResource(\"/download.png\")).getImage();\n\t\tbtnSacuvaj.setIcon(new ImageIcon(img4));\n\t\tbtnSacuvaj.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\n\t\t\t\tDateFormat df= new SimpleDateFormat(\"yyyy-MM-dd\");\n\t\t\t\t\n\t\t\t\t if(tfImePrezime.getText().length()==0) // Checking for empty field\n\t\t\t\t JOptionPane.showMessageDialog(null, \"NEKO POLJE JE OSTALO PRAZNO,POPUNITE GA ZA NASTAVAK !\");\n\t\t\t\t else if(tfUser.getText().length ()==0) // Checking for empty field\n\t\t\t\t JOptionPane.showMessageDialog(null, \"NEKO POLJE JE OSTALO PRAZNO,POPUNITE GA ZA NASTAVAK !\");\n\t\t\t\t else if(tfPass.getText().length()==0) // Checking for empty field\n\t\t\t\t JOptionPane.showMessageDialog(null, \"NEKO POLJE JE OSTALO PRAZNO,POPUNITE GA ZA NASTAVAK !\");\n\t\t\t\t else if(dcDatum.getDate() == null) // Checking for empty field\n\t\t\t\t JOptionPane.showMessageDialog(null, \"NEKO POLJE JE OSTALO PRAZNO,POPUNITE GA ZA NASTAVAK !\");\n\t\t\t\t else if(tfTelefon.getText().length ()==0) // Checking for empty field\n\t\t\t\t\t JOptionPane.showMessageDialog(null, \"NEKO POLJE JE OSTALO PRAZNO,POPUNITE GA ZA NASTAVAK !\");\n\t\t\t\t else{\n\t\t\t\ttry {\n\t\t\t\tString imePrezime = tfImePrezime.getText().toString();\n\t\t\t\tString userName = tfUser.getText().toString();\n\t\t\t\tString password = tfPass.getText().toString();\n\t\t\t\tString date =df.format(dcDatum.getDate());\n\t\t\t\tString telefon = tfTelefon.getText().toString();\n\t\t\t\t\n\t\t\t\tKontroler.getInstanca().upisiKorisnika(imePrezime,userName,password,date,telefon);\n\t\t\t\tJOptionPane.showMessageDialog(null,\"Uspesna registracija\");\n\t\t\t\t\n\t\t\t\t}catch(Exception e1) {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\t}\n\t\t});\n\t\tbtnSacuvaj.setBounds(450, 451, 128, 23);\n\t\tcontentPane.add(btnSacuvaj);\n\t\t\n\t\tJButton btnNazad = new JButton(\"Nazad\");\n\t\tImage img5 = new ImageIcon(this.getClass().getResource(\"/nazad1.png\")).getImage();\n\t\tbtnNazad.setIcon(new ImageIcon(img5));\n\t\tbtnNazad.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\n\t\t\t\tLogovanje l = new Logovanje();\n\t\t\t\tl.setVisible(true);\n\t\t\t\tdispose();\n\t\t\t}\n\t\t});\n\t\tbtnNazad.setBounds(10, 11, 105, 23);\n\t\tcontentPane.add(btnNazad);\n\t\t\n\t\tdcDatum = new JDateChooser();\n\t\tdcDatum.setBounds(425, 319, 153, 20);\n\t\tcontentPane.add(dcDatum);\n\t\t\n\t\n\t\t\n\t}", "public FormPemilihan() {\n initComponents();\n }", "public void createAgendamento() {\n\n if (tbagendamento.getTmdataagendamento().after(TimeControl.getDateIni())) {\n if (agendamentoLogic.createTbagendamento(tbagendamento)) {\n AbstractFacesContextUtils.redirectPage(PagesUrl.URL_AGENDAMENTO_LIST);\n AbstractFacesContextUtils.addMessageInfo(\"Agendamento cadastrado com sucesso.\");\n } else {\n AbstractFacesContextUtils.addMessageWarn(\"Falhar ao realizado cadastro do agendamento.\");\n }\n } else {\n AbstractFacesContextUtils.addMessageWarn(\"verifique se a data de agendamento esta correta.\");\n }\n }", "@Override\r\n protected void createDbContentCreateEdit() {\n DbContentCreateEdit dbContentCreateEdit = new DbContentCreateEdit();\r\n dbContentCreateEdit.init(null);\r\n form.getModelObject().setDbContentCreateEdit(dbContentCreateEdit);\r\n dbContentCreateEdit.setParent(form.getModelObject());\r\n ruServiceHelper.updateDbEntity(form.getModelObject()); \r\n }", "public String create() {\n\n if (log.isDebugEnabled()) {\n log.debug(\"create()\");\n }\n FacesContext context = FacesContext.getCurrentInstance();\n StringBuffer sb = registration(context);\n sb.append(\"?action=Create\");\n forward(context, sb.toString());\n return (null);\n\n }", "public Result inicioGenerarLibro(){\n ContabilidadDTO dto = new ContabilidadDTO();\n dto.tipoLibro = new Parametro(\"\",\"LVEN\",\"\");\n //dto.tipoLibro.id.codigo =\"LVEN\";\n dto.anio = new Parametro(\"\",\"2018\",\"\");\n //dto.anio.id.codigo =\"2018\";\n dto.mes = new Parametro(\"\",\"3\",\"\");\n //dto.mes.id.codigo =\"3\"; //Simpre debe ser el mes anterior al actual\n\n Form<ContabilidadDTO> contabilidadDTOForm = formFactory.form(ContabilidadDTO.class).fill(dto);\n\n/*\n EbeanServer db = DBConnectionUtil.getDBServerFacturador();\n List<BandejaFactura> lista = db.find(BandejaFactura.class).findList();; //BandejaFactura.find.all();//obtenerTodos();\n for (BandejaFactura x:lista) {\n System.out.println(x);\n }\n*/\n/*\n EbeanServer db = DBConnectionUtil.getDBServerSGV();\n List<ControlVenta> lista = db.find(ControlVenta.class)\n .where().ilike(\"CVNT_NUM_DOCUMENTO\", \"F002-00000213\")\n .findList();\n for (ControlVenta x:lista) {\n System.out.println(\"*********** \"+x);\n }\n*/\n/*\n EbeanServer db = DBConnectionUtil.getDBServerSGV();\n List<ControlVenta> lista = db.find(ControlVenta.class).findList();; //BandejaFactura.find.all();//obtenerTodos();\n for (ControlVenta x:lista) {\n System.out.println(x);\n }\n*/\n\n return ok(generadorLibrosContables.render(contabilidadDTOForm));\n }", "public FGlavna() {\n initComponents();\n pripremiFormu();\n }", "private void criaInterface() {\n\t\tColor azul = new Color(212, 212, 240);\n\n\t\tpainelMetadado.setLayout(null);\n\t\tpainelMetadado.setBackground(azul);\n\n\t\tmetadadoLabel = FactoryInterface.createJLabel(10, 3, 157, 30);\n\t\tpainelMetadado.add(metadadoLabel);\n\n\t\tbotaoAdicionar = FactoryInterface.createJButton(520, 3, 30, 30);\n\t\tbotaoAdicionar.setIcon(FactoryInterface.criarImageIcon(Imagem.ADICIONAR));\n\t\tbotaoAdicionar.setToolTipText(Sap.ADICIONAR.get(Sap.TERMO.get()));\n\t\tpainelMetadado.add(botaoAdicionar);\n\n\t\tbotaoEscolha = FactoryInterface.createJButton(560, 3, 30, 30);\n\t\tbotaoEscolha.setIcon(FactoryInterface.criarImageIcon(Imagem.VOLTAR_PRETO));\n\t\tbotaoEscolha.setToolTipText(Sap.ESCOLHER.get(Sap.TERMO.get()));\n\t\tbotaoEscolha.setEnabled(false);\n\t\tpainelMetadado.add(botaoEscolha);\n\n\t\talterarModo(false);\n\t\tatribuirAcoes();\n\t}", "public formPrincipal() {\n initComponents();\n }", "public Crear() {\n initComponents();\n \n \n this.getContentPane().setBackground(Color.WHITE);\n txtaPR.setEnabled(false); \n txtFNocmbre.requestFocus();\n \n \n }", "public void crearDisco( ){\r\n boolean parameter = true;\r\n String artista = panelDatos.darArtista( );\r\n String titulo = panelDatos.darTitulo( );\r\n String genero = panelDatos.darGenero( );\r\n String imagen = panelDatos.darImagen( );\r\n\r\n if( ( artista.equals( \"\" ) || titulo.equals( \"\" ) ) || ( genero.equals( \"\" ) || imagen.equals( \"\" ) ) ) {\r\n parameter = false;\r\n JOptionPane.showMessageDialog( this, \"Todos los campos deben ser llenados para crear el disco\" );\r\n }\r\n if( parameter){\r\n boolean ok = principal.crearDisco( titulo, artista, genero, imagen );\r\n if( ok )\r\n dispose( );\r\n }\r\n }", "Motivo create(Motivo motivo);", "@FXML\r\n private void crearSolicitud() {\r\n try {\r\n //Carga la vista de crear solicitud rma\r\n FXMLLoader loader = new FXMLLoader();\r\n loader.setLocation(Principal.class.getResource(\"/vista/CrearSolicitud.fxml\"));\r\n BorderPane vistaCrear = (BorderPane) loader.load();\r\n\r\n //Crea un dialogo para mostrar la vista\r\n Stage dialogo = new Stage();\r\n dialogo.setTitle(\"Solicitud RMA\");\r\n dialogo.initModality(Modality.WINDOW_MODAL);\r\n dialogo.initOwner(primerStage);\r\n Scene escena = new Scene(vistaCrear);\r\n dialogo.setScene(escena);\r\n\r\n //Annadir controlador y datos\r\n ControladorCrearSolicitud controlador = loader.getController();\r\n controlador.setDialog(dialogo, primerStage);\r\n\r\n //Carga el numero de Referencia\r\n int numReferencia = DAORma.crearReferencia();\r\n\r\n //Modifica el dialogo para que no se pueda cambiar el tamaño y lo muestra\r\n dialogo.setResizable(false);\r\n dialogo.showAndWait();\r\n\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }", "@RequestMapping(\"/recipe/new\")\n public String newRecipe(Model model){\n model.addAttribute(\"recipe\", new RecipeCommand());\n \n return \"recipe/recipeForm\";\n }", "public FormPermisos() {\n initComponents();\n setLocationRelativeTo(null);\n setTitle(\"INTERFACE-PERMISOS\");\n }", "public void crearDialogo() {\r\n final PantallaCompletaDialog a2 = PantallaCompletaDialog.a(getString(R.string.hubo_error), getString(R.string.no_hay_internet), getString(R.string.cerrar).toUpperCase(), R.drawable.ic_error);\r\n a2.f4589b = new a() {\r\n public void onClick(View view) {\r\n a2.dismiss();\r\n }\r\n };\r\n a2.show(getParentFragmentManager(), \"TAG\");\r\n }", "public ViewCreatePagamento() {\n initComponents();\n clientesDAO cDAO = DaoFactory.createClientesDao(); \n matriculaDAO mDAO = DaoFactory.createMatriculaDao();\n \n cmbIDClientes.addItem(null);\n cDAO.findAll().forEach((p) -> {\n cmbIDClientes.addItem(p.getNome());\n });\n \n \n txtDataAtual.setText(DateFormat.getDateInstance().format(new Date()));\n }", "@RequestMapping(value = \"/newrecipe\", method = RequestMethod.GET)\n\tpublic String newRecipeForm(Model model) {\n\t\tmodel.addAttribute(\"recipe\", new Recipe()); //empty recipe object\n\t\tmodel.addAttribute(\"categories\", CatRepo.findAll());\n\t\treturn \"newrecipe\";\n\t}", "@GetMapping(\"/add\")\n public String showSocioForm(Model model, Persona persona) {\n List<Cargo> cargos = cargoService.getCargos();\n model.addAttribute(\"cargos\", cargos);\n return \"/backoffice/socioForm\";\n }", "@GetMapping(path = \"/realizar\")\n public ModelAndView getForm(){\n\n return new ModelAndView(ViewConstant.MANTCOMPRASMINO).addObject(\"compraMinorista\", new CompraMinorista());\n }", "@RequestMapping(value=\"/formpaciente\")\r\n\tpublic String crearPaciente(Map<String, Object> model) {\t\t\r\n\t\t\r\n\t\tPaciente paciente = new Paciente();\r\n\t\tmodel.put(\"paciente\", paciente);\r\n\t\tmodel.put(\"obrasociales\",obraSocialService.findAll());\r\n\t\t//model.put(\"obrasPlanesForm\", new ObrasPlanesForm());\r\n\t\t//model.put(\"planes\", planService.findAll());\r\n\t\tmodel.put(\"titulo\", \"Formulario de Alta de Paciente\");\r\n\t\t\r\n\t\treturn \"formpaciente\";\r\n\t}", "private void createBtnActionPerformed(java.awt.event.ActionEvent evt) {\n\n staff.setName(regName.getText());\n staff.setID(regID.getText());\n staff.setPassword(regPwd.getText());\n staff.setPosition(regPos.getSelectedItem().toString());\n staff.setGender(regGender.getSelectedItem().toString());\n staff.setEmail(regEmail.getText());\n staff.setPhoneNo(regPhone.getText());\n staff.addStaff();\n if (staff.getPosition().equals(\"Vet\")) {\n Vet vet = new Vet();\n vet.setExpertise(regExp.getSelectedItem().toString());\n vet.setExpertise_2(regExp2.getSelectedItem().toString());\n vet.addExpertise(staff.getID());\n }\n JOptionPane.showMessageDialog(null, \"User added to database\");\n updateJTable();\n }", "@Override protected void cadastroAction() {\n try {\n // JOptionPane.showMessageDialog(this, codigoTxtField.getText() +\n // descricaoTextArea.getText() + capacidadeTxtField.getText(),\n // \"teste\", JOptionPane.INFORMATION_MESSAGE, null);\n MaintainRoom.getInstance().insertRooms(codigoTxtField.getText(), descricaoTextArea.getText(), capacidadeTxtField.getText());\n\n JOptionPane.showMessageDialog(this, \"Sala Cadastrada com sucesso\", \"Sucesso\", JOptionPane.INFORMATION_MESSAGE, null);\n this.setVisible(false);\n\n } catch (PatrimonyException ex) {\n JOptionPane.showMessageDialog(this, ex.getMessage(), \"Erro\", JOptionPane.ERROR_MESSAGE, null);\n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(this, ex.getSQLState() + \"\\n\" + ex.getMessage(), \"Erro\", JOptionPane.ERROR_MESSAGE, null);\n }\n\n }", "@RequestMapping(value = { \"/new\"}, method = RequestMethod.GET)\n\tpublic String newEntity(ModelMap model) {\n\t\tENTITY entity = createEntity();\n\n\t\tmodel.addAttribute(\"entity\", entity);\n\t\tmodel.addAttribute(\"edit\", false);\n\t\tmodel.addAttribute(\"loggedinuser\", getPrincipal());\n\t\treturn viewBaseLocation + \"/form\";\n\t}", "public FrmCrearFotoEmpresa() {\n initComponents();\n }", "public FormPpal() {\n initComponents();\n setIconImage(Toolkit.getDefaultToolkit().getImage(this.getClass().getResource(\"Imagenes/icon.png\")));\n setLocationRelativeTo(null);\n setTitle(\"Men\\372 principal\");\n setResizable(false);\n formBackUp = null;\n formBuscador = null;\n fb1 = null;\n fb2 = null;\n formListado = null;\n conn = new Conn();\n pacientesCumpleanos = new LinkedList();\n pacientesControl = new LinkedList();\n cargarCumpleanos();\n cargarControlesHoy();\n }", "@GetMapping(\"/new\")\n public ModelAndView addAttributesForm() {\n return new ModelAndView(\"/sessions/session-create.html\");\n }", "public frmPessoa() {\n initComponents();\n }", "Negacion createNegacion();", "public Gui_lectura_consumo() {\n initComponents();\n centrarform();\n consumo_capturado.setEditable(false);\n limpiarCajas();\n \n \n }", "public String newBoleta() {\n\t\tresetForm();\n\t\treturn \"/boleta/insert.xhtml\";\n\t}", "public frmCadastrarProduto() {\n initComponents();\n\n this.cmbCategoria.setEnabled(false);\n this.cmbFornecedor.setEnabled(false);\n this.txtNome.setEnabled(false);\n this.txtDescricao.setEnabled(false);\n this.txtEstoque.setEnabled(false);\n this.txtId.setEnabled(false);\n this.txtPreco.setEnabled(false);\n this.txtPrecoCusto.setEnabled(false);\n this.txtCodBarras.setEnabled(false);\n\n }", "@Command\n public void nuevaMateria() {\n\t\t\n\t\tWindow window = (Window)Executions.createComponents(\n \"/WEB-INF/include/Mantenimiento/Materias/vtnMaterias.zul\", null, null);\n window.doModal();\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel7 = new javax.swing.JLabel();\n jPanel1 = new javax.swing.JPanel();\n jLabel8 = new javax.swing.JLabel();\n jLabel9 = new javax.swing.JLabel();\n jLabel1 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jLabel5 = new javax.swing.JLabel();\n jLabel6 = new javax.swing.JLabel();\n jLabel10 = new javax.swing.JLabel();\n jLabel11 = new javax.swing.JLabel();\n jButton1 = new javax.swing.JButton();\n BTNDarseDeBaja = new javax.swing.JButton();\n jDCDate = new com.toedter.calendar.JDateChooser();\n TFAddPassword = new javax.swing.JTextField();\n LabelLevel = new javax.swing.JLabel();\n TFAddAltEmail = new javax.swing.JTextField();\n TFAddPhoneNumber = new javax.swing.JTextField();\n BTNAddPhoto = new javax.swing.JButton();\n TFAddPhoto = new javax.swing.JTextField();\n ButtonExit = new javax.swing.JButton();\n\n jLabel7.setFont(new java.awt.Font(\"Castellar\", 1, 18)); // NOI18N\n jLabel7.setForeground(new java.awt.Color(237, 178, 0));\n jLabel7.setText(\"CREAR CUENTA\");\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(15, 0, 105));\n\n jPanel1.setBackground(new java.awt.Color(15, 0, 105));\n\n jLabel8.setForeground(new java.awt.Color(153, 153, 153));\n jLabel8.setText(\"____________________________\");\n\n jLabel9.setForeground(new java.awt.Color(153, 153, 153));\n jLabel9.setText(\"____________________________\");\n\n jLabel1.setForeground(new java.awt.Color(255, 255, 255));\n jLabel1.setText(\"Nueva contraseña\");\n\n jLabel3.setForeground(new java.awt.Color(255, 255, 255));\n jLabel3.setText(\"Nuevo correo alterno\");\n\n jLabel4.setForeground(new java.awt.Color(255, 255, 255));\n jLabel4.setText(\"Fecha de nacimiento\");\n\n jLabel5.setForeground(new java.awt.Color(255, 255, 255));\n jLabel5.setText(\"Nuevo teléfono\");\n\n jLabel6.setForeground(new java.awt.Color(255, 255, 255));\n jLabel6.setText(\"Nueva fotografía\");\n\n jLabel10.setForeground(new java.awt.Color(153, 153, 153));\n jLabel10.setText(\"o\");\n\n jLabel11.setFont(new java.awt.Font(\"Castellar\", 1, 18)); // NOI18N\n jLabel11.setForeground(new java.awt.Color(237, 178, 0));\n jLabel11.setText(\"Información de la cuenta\");\n\n jButton1.setBackground(new java.awt.Color(0, 153, 0));\n jButton1.setForeground(new java.awt.Color(255, 255, 255));\n jButton1.setText(\"Actualizar información\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n BTNDarseDeBaja.setBackground(new java.awt.Color(204, 0, 51));\n BTNDarseDeBaja.setForeground(new java.awt.Color(255, 255, 255));\n BTNDarseDeBaja.setText(\"Darse de baja\");\n BTNDarseDeBaja.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n BTNDarseDeBajaActionPerformed(evt);\n }\n });\n\n TFAddPassword.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n TFAddPasswordActionPerformed(evt);\n }\n });\n TFAddPassword.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyReleased(java.awt.event.KeyEvent evt) {\n TFAddPasswordKeyReleased(evt);\n }\n public void keyTyped(java.awt.event.KeyEvent evt) {\n TFAddPasswordKeyTyped(evt);\n }\n });\n\n LabelLevel.setForeground(new java.awt.Color(255, 0, 0));\n\n TFAddAltEmail.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n TFAddAltEmailFocusLost(evt);\n }\n });\n TFAddAltEmail.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n TFAddAltEmailKeyTyped(evt);\n }\n });\n\n TFAddPhoneNumber.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n TFAddPhoneNumberKeyTyped(evt);\n }\n });\n\n BTNAddPhoto.setBackground(new java.awt.Color(18, 30, 49));\n BTNAddPhoto.setText(\"...\");\n BTNAddPhoto.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n BTNAddPhotoActionPerformed(evt);\n }\n });\n\n TFAddPhoto.setText(\"Seleccionar archivo\");\n TFAddPhoto.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n TFAddPhotoKeyTyped(evt);\n }\n });\n\n ButtonExit.setBackground(new java.awt.Color(97, 0, 0));\n ButtonExit.setForeground(new java.awt.Color(255, 255, 255));\n ButtonExit.setText(\"Salir\");\n ButtonExit.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n ButtonExitActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(79, 79, 79)\n .addComponent(jLabel11)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(51, 51, 51)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(TFAddPhoneNumber, javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(TFAddAltEmail, javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jDCDate, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(TFAddPassword))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(LabelLevel, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(36, 36, 36))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(TFAddPhoto, javax.swing.GroupLayout.PREFERRED_SIZE, 255, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(BTNAddPhoto))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(24, 24, 24)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(6, 6, 6)\n .addComponent(BTNDarseDeBaja, javax.swing.GroupLayout.PREFERRED_SIZE, 167, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addComponent(jLabel9, javax.swing.GroupLayout.PREFERRED_SIZE, 192, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addGap(0, 27, Short.MAX_VALUE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel1)\n .addComponent(jLabel3)\n .addComponent(jLabel4)\n .addComponent(jLabel5)\n .addComponent(jLabel6)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(12, 12, 12)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jButton1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 168, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel8, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 180, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(210, 210, 210)\n .addComponent(ButtonExit)))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel11)\n .addGap(12, 12, 12)\n .addComponent(jLabel1)\n .addGap(4, 4, 4)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(LabelLevel, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(TFAddPassword, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jLabel3)\n .addGap(3, 3, 3)\n .addComponent(TFAddAltEmail, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jLabel4)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jDCDate, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(9, 9, 9)\n .addComponent(jLabel5)\n .addGap(7, 7, 7)\n .addComponent(TFAddPhoneNumber, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jLabel6)\n .addGap(8, 8, 8)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(TFAddPhoto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(BTNAddPhoto, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(42, 42, 42)\n .addComponent(jButton1)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel10)\n .addComponent(jLabel8)\n .addComponent(jLabel9))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(BTNDarseDeBaja)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 11, Short.MAX_VALUE)\n .addComponent(ButtonExit)\n .addContainerGap())))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addContainerGap())\n );\n\n pack();\n }", "@RequestMapping(value = { \"/new\" }, method = RequestMethod.POST)\n\tpublic String saveEntity(@Valid ENTITY tipoConsumo, BindingResult result, ModelMap model,\n\t\t\t@RequestParam(required = false) Integer idEstadia) {\n\t\ttry{\n\t\n\t\t\tif (result.hasErrors()) {\n\t\t\t\treturn viewBaseLocation + \"/form\";\n\t\t\t}\n\t\n\t\t\tabm.guardar(tipoConsumo);\n\t\n\t\t\tif(idEstadia != null){\n\t\t\t\tmodel.addAttribute(\"idEstadia\", idEstadia);\n\t\t\t}\n\t\n\t\t\tmodel.addAttribute(\"success\", \"La creaci&oacuten se realiz&oacute correctamente.\");\n\t\t\t\n\t\t} catch(Exception e) {\n\t\t\tmodel.addAttribute(\"success\", \"La creaci&oacuten no pudo realizarse.\");\n\t\t}\n\t\tmodel.addAttribute(\"loggedinuser\", getPrincipal());\n\t\treturn \"redirect:list\";\n\t}", "public FormImportar() {\n initComponents();\n }" ]
[ "0.73733664", "0.7132439", "0.68725705", "0.64955467", "0.6436376", "0.6412475", "0.63836294", "0.63783216", "0.63401854", "0.6309944", "0.62894976", "0.6224014", "0.6216153", "0.6213526", "0.6180426", "0.61456776", "0.6144596", "0.6097569", "0.6085108", "0.60631865", "0.6053503", "0.60529256", "0.6047887", "0.6039565", "0.6036095", "0.60185575", "0.60179305", "0.6009888", "0.60038763", "0.5998897", "0.59915185", "0.5990426", "0.5971153", "0.5941918", "0.5934779", "0.5929614", "0.5917087", "0.59139353", "0.58899766", "0.58833325", "0.5872698", "0.5868437", "0.58648914", "0.5861245", "0.5852373", "0.5833212", "0.5831345", "0.5829239", "0.58267635", "0.5796749", "0.57835364", "0.578309", "0.5781511", "0.57814974", "0.57714075", "0.576391", "0.575549", "0.57548624", "0.57518053", "0.5746743", "0.5733359", "0.57303435", "0.5726009", "0.57241243", "0.5717748", "0.5717148", "0.5716445", "0.57123977", "0.57104725", "0.57100886", "0.5708578", "0.5705305", "0.56999236", "0.56930286", "0.56833714", "0.567772", "0.56753653", "0.5673873", "0.5673644", "0.5673454", "0.56725574", "0.5670991", "0.56696", "0.56684554", "0.5666069", "0.56659895", "0.5664119", "0.5662739", "0.5662253", "0.5662226", "0.56583333", "0.56542516", "0.56501746", "0.56498325", "0.5647763", "0.5641325", "0.5637287", "0.5629994", "0.56289583", "0.5628648" ]
0.58025014
49
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() { jTextFieldNome = new javax.swing.JTextField(); jLabelNome = new javax.swing.JLabel(); jScrollPaneDescricao = new javax.swing.JScrollPane(); jTextAreaDescricao = new javax.swing.JTextArea(); jLabelDescricao = new javax.swing.JLabel(); jLabelRiscos = new javax.swing.JLabel(); jScrollPaneEficacias = new javax.swing.JScrollPane(); jTableEficacias = new javax.swing.JTable(); jButtonSalvar = new javax.swing.JButton(); jButtonVoltar = new javax.swing.JButton(); jButtonAdicionarEficacia = new javax.swing.JButton(); jButtonExcluirEficacia = new javax.swing.JButton(); jButtonExcluir = new javax.swing.JButton(); jScrollPaneMitigacoes = new javax.swing.JScrollPane(); jListMitigacoes = new javax.swing.JList<>(); jLabelMitigacoes = new javax.swing.JLabel(); jButtonEditarmitigacao = new javax.swing.JButton(); jButtonCriar = new javax.swing.JButton(); setMinimumSize(new java.awt.Dimension(800, 600)); setPreferredSize(new java.awt.Dimension(800, 600)); jTextFieldNome.addKeyListener(new java.awt.event.KeyAdapter() { public void keyPressed(java.awt.event.KeyEvent evt) { jTextFieldNomeKeyPressed(evt); } }); jLabelNome.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N jLabelNome.setText("Nome Mitigação"); jTextAreaDescricao.setColumns(20); jTextAreaDescricao.setRows(5); jScrollPaneDescricao.setViewportView(jTextAreaDescricao); jLabelDescricao.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N jLabelDescricao.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jLabelDescricao.setText("Descrição"); jLabelRiscos.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N jLabelRiscos.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jLabelRiscos.setText("Eficacia"); jTableEficacias.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { {null, null, null, null}, {null, null, null, null}, {null, null, null, null}, {null, null, null, null} }, new String [] { "Objeto", "Risco", "Relação OR", "Eficacia" } )); jTableEficacias.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); jScrollPaneEficacias.setViewportView(jTableEficacias); jButtonSalvar.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N jButtonSalvar.setText("Salvar"); jButtonSalvar.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButtonSalvarActionPerformed(evt); } }); jButtonVoltar.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N jButtonVoltar.setText("Voltar"); jButtonVoltar.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButtonVoltarActionPerformed(evt); } }); jButtonAdicionarEficacia.setText("Adicionar Eficacia"); jButtonAdicionarEficacia.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButtonAdicionarEficaciaActionPerformed(evt); } }); jButtonExcluirEficacia.setText("Excluir Eficacia"); jButtonExcluirEficacia.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButtonExcluirEficaciaActionPerformed(evt); } }); jButtonExcluir.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N jButtonExcluir.setText("Excluir"); jButtonExcluir.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButtonExcluirActionPerformed(evt); } }); jListMitigacoes.setModel(new javax.swing.AbstractListModel<String>() { String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" }; public int getSize() { return strings.length; } public String getElementAt(int i) { return strings[i]; } }); jListMitigacoes.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); jScrollPaneMitigacoes.setViewportView(jListMitigacoes); jLabelMitigacoes.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N jLabelMitigacoes.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jLabelMitigacoes.setText("Mitigações"); jButtonEditarmitigacao.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N jButtonEditarmitigacao.setText("Editar Mitigação"); jButtonEditarmitigacao.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButtonEditarmitigacaoActionPerformed(evt); } }); jButtonCriar.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N jButtonCriar.setText("Criar Mitigação"); jButtonCriar.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButtonCriarActionPerformed(evt); } }); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addContainerGap() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jScrollPaneMitigacoes) .addComponent(jLabelMitigacoes, javax.swing.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE)) .addGroup(layout.createSequentialGroup() .addGap(10, 10, 10) .addComponent(jButtonExcluir, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(61, 61, 61) .addComponent(jButtonEditarmitigacao)))) .addGroup(layout.createSequentialGroup() .addGap(90, 90, 90) .addComponent(jButtonVoltar, javax.swing.GroupLayout.PREFERRED_SIZE, 121, javax.swing.GroupLayout.PREFERRED_SIZE))) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jLabelNome, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jScrollPaneEficacias, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE) .addComponent(jScrollPaneDescricao, javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jTextFieldNome, javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabelDescricao, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabelRiscos, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGap(75, 75, 75) .addComponent(jButtonCriar, javax.swing.GroupLayout.PREFERRED_SIZE, 135, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(layout.createSequentialGroup() .addGap(90, 90, 90) .addComponent(jButtonExcluirEficacia, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE))) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 130, Short.MAX_VALUE) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jButtonAdicionarEficacia, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jButtonSalvar, javax.swing.GroupLayout.PREFERRED_SIZE, 135, javax.swing.GroupLayout.PREFERRED_SIZE)))) .addGap(15, 15, 15)) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() .addContainerGap(22, Short.MAX_VALUE) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addComponent(jLabelMitigacoes) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jScrollPaneMitigacoes, javax.swing.GroupLayout.PREFERRED_SIZE, 361, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jButtonExcluir) .addComponent(jButtonEditarmitigacao))) .addGroup(layout.createSequentialGroup() .addComponent(jLabelNome) .addGap(7, 7, 7) .addComponent(jTextFieldNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18) .addComponent(jLabelDescricao) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jScrollPaneDescricao, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18) .addComponent(jLabelRiscos) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jScrollPaneEficacias, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE))) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jButtonExcluirEficacia) .addComponent(jButtonAdicionarEficacia)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 73, Short.MAX_VALUE) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jButtonSalvar, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jButtonVoltar, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jButtonCriar, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(21, 21, 21)) ); }
{ "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
simple getter for dto.
public String getGebruikersnaam() { return gebruikersnaam; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PropertyDefDto getDto();", "private static String getStringValueFromGetter(Object dto, PropertyDescriptor propertyDescriptor) {\n Method method = propertyDescriptor.getReadMethod();\n String value = \"\";\n\n try {\n value = (String) method.invoke(dto, new Object[]{});\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n } catch (InvocationTargetException e) {\n e.printStackTrace();\n }\n return value;\n }", "public default D toDto(E entity) {\n\t\tif (entity == null) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\treturn DtoUtilService.staticDtoFromEntity(getDtoClass(), entity);\n\t\t}\n\t}", "public ModelDto getModelDto() {\r\n\t\tlog.debug(\" getter modelDto=\"+modelDto);\r\n\t\treturn modelDto;\r\n\t}", "public ConnectionDTO getDto() {\n return dto;\n }", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public abstract D convertToDto(T entity);", "V toDto(E entity);", "public MyNoteDto getCurrentMyNoteDto();", "public GrupoDTO getDto() {\n\t\treturn this.dto;\n\t}", "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "public DTOType getDTOType() {\n return DTO_TYPE;\n }", "public abstract T convertToEntity(D dto);", "@Override\n @Transactional\n public D getDtoById(D dto, E entity, Integer id) throws MedragServiceException {\n E entityById = null;\n try {\n entityById = entityDao.getEntityById(entity, id);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n return (D) new ModelMapper().map(entityById, dto.getClass());\n }", "D mapToDTO(E entity);", "public GetUsuarioDTO convierteDTO(Integer id){\n Optional<Usuario> usuario = usuarioRepository.findById(id);\n return usuario.map(usuarioDTOConverter::convertToDTO).orElseThrow(()->new UsuarioNotFoundException(id));\n }", "@Override\r\n\tpublic TableDTO getDTO(Table entity) {\n\t\treturn null;\r\n\t}", "public abstract DTO toDTO(M model);", "@Override\n\tpublic BaseFWDTOImpl toDTO() {\n\t\treturn null;\n\t}", "E mapToEntity(D dto);", "@Override\n @Transactional(readOnly = true)\n public Optional<DomainValueDTO> findOne(Long id) {\n log.debug(\"Request to get DomainValue : {}\", id);\n return domainValueRepository.findById(id)\n .map(domainValueMapper::toDto);\n }", "public Object decorate(Object dtoValue) {\r\n return dtoValue;\r\n }", "public PersonaDTO obtenerPersona(Long idPersona) throws CustomErrorException {\n\t\tPersonaDTO personaDTO = new PersonaDTO();\n\t\ttry {\n\t\t\tpersonaDTO = Converter.toDto((Persona) gPersona.getById(idPersona)); \n\t\t} catch (CustomErrorException cer) {\n\t\t\tthrow cer;\n\t\t} catch (Exception e) {\n\t\t\tthrow new CustomErrorException(CustomErrorException.ERROR_SERVICIO,this.getClass().getSimpleName(),e.getStackTrace());\n\t\t}\n\n\t\treturn personaDTO;\n\t}", "public abstract M toModel(DTO dto);", "public static EmployeeDTO valueOf(Employee employee){\n EmployeeDTO employeeDTO = new EmployeeDTO();\n BeanUtils.copyProperties(employee, employeeDTO);\n// employeeDto.setId( employee.getId() );\n// employeeDto.setFirstName( employee.getFirstName() );\n\n return employeeDTO;\n\n }", "@Override\n @Transactional\n public D getDtoByNaturalId(D dto, E entity, String id) throws MedragServiceException {\n E result = null;\n try {\n result = entityDao.getEntityByNaturalId(entity, id);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n if (result == null) {\n return null;\n } else {\n return (D) new ModelMapper().map(result, dto.getClass());\n }\n }", "public HojaDeVidaDTO getHojaDeVida() {return hojaDeVida;}", "public static CustomerDetailsDto getCustomerDetailsDto() {\n\t\treturn new CustomerDetailsDto();\n\t}", "public PageDto getPageDto() {\n return pageDto;\n }", "@Override\n\tpublic MemberDTO getMember(MemberDTO mdto) {\n\t\treturn mdao.getMember(mdto);\n\t}", "public DtoType getDto(EntityType entity, Class<DtoType> myClass) throws ClassNotFoundException, InstantiationException, IllegalAccessException;", "public DTO getInstanceDTO(M model, Class<DTO> dtoClass) {\n\n DTO modelDTO = null;\n\n EntityUtil entityUtil = new EntityUtil();\n\n try {\n\n modelDTO = entityUtil.copyEntity(model, dtoClass.getConstructor().newInstance());\n\n } catch (InstantiationException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (IllegalAccessException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (InvocationTargetException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (NoSuchMethodException e) {\n LogManager.getLog(this.getClass()).warn(e);\n }\n\n return modelDTO;\n }", "public final UnitDTO getDTO(Player player) {\n if (player == Player.SYSTEM || this.isDetected(player)) {\n return new UnitDTO(this.getId(),\n this.details.getId(),\n this.owner.getDTO(),\n this.currentHitPoints,\n this.details.getMaxHitPoints(),\n this.currentMovementAllowance,\n this.details.getMaxMovementAllowance(),\n this.isCloaked(),\n this.getUnitType());\n }\n return null;\n }", "E toEntity(V dto);", "@Override\n\tpublic UsersDto getData(String id) {\n\t\tUsersDto dto=session.selectOne(\"users.getData\",id);\n\t\treturn dto;\n\t}", "public void setDto(PropertyDefDto dto);", "@Transactional(readOnly = true)\n public Optional<DRkDTO> findOne(Long id) {\n log.debug(\"Request to get DRk : {}\", id);\n return dRkRepository.findById(id).map(dRkMapper::toDto);\n }", "public Dto() {\n \t\n }", "@Override\n public AlunoDTO findOne(String id) {\n log.debug(\"Request to get Aluno : {}\", id);\n Aluno aluno = alunoRepository.findOne(id);\n return alunoMapper.toDto(aluno);\n }", "@Transactional(readOnly = true)\n public Optional<GeoTypeCommuneDTO> findOne(Long id) {\n log.debug(\"Request to get GeoTypeCommune : {}\", id);\n return geoTypeCommuneRepository.findById(id)\n .map(geoTypeCommuneMapper::toDto);\n }", "public static UserDto getUserDtoById(Integer id) {\n\t\t// create a new UserDaoImpl\n\t\tud = new UserDaoImpl();\n\t\tlogger.info(\"UserDaoImpl created\");\n\n\t\t// get the record that with id as the primary key as a User Object\n\t\tUser user = ud.selectUserById(id);\n\t\tlogger.info(\"User selected from database\");\n\t\tlogger.debug(\"User: \" + user);\n\t\t// create the UserDto\n\t\tUserDto usr = new UserDto(user.getId(), user.getUsername(), user.getfName(), user.getlName(), user.getPriv(),\n\t\t\t\tuser.getActivation());\n\t\tlogger.info(\"UserDto created\");\n\t\tlogger.debug(\"UserDto: \" + usr);\n\t\tlogger.info(\"Returning UserDto\");\n\t\t// return the UserDto\n\t\treturn usr;\n\n\t}", "public static EtudiantDto toDto(Etudiant stud) {\n\t\tUserDto uDto = UserDto.toUserDto(stud.getUser());\n\t\tEtudiantDto studDto = new EtudiantDto(stud.getId(), stud.getNom(), stud.getPrenom(), stud.getEmail(), stud.getTel(), uDto);\n\t\treturn studDto;\n\t}", "public AtendimentoJuridicoDTO toDTO(AtendimentoJuridicoEntity entity){\n\t\tAtendimentoJuridicoDTO dto = new AtendimentoJuridicoDTO();\n\t\tBeanUtils.copyProperties(entity, dto); \n\t\treturn dto ;\n\t}", "@Override\r\n\tpublic PersonneDTO getOnePersonne(Long idPersonne) {\n\t\treturn daoPersonne.getOnePersonne(idPersonne);\r\n\t}", "private static PlayerDto getPlayerDto(Player player) {\n return player != null ? PlayerDto.builder()._id(player.get_id()).build() : null;\n }", "@Transactional(readOnly = true)\n public DeviceDTO findOne(Long id) {\n log.debug(\"Request to get Device : {}\", id);\n Device device = deviceRepository.findOne(id);\n DeviceDTO deviceDTO = deviceMapper.deviceToDeviceDTO(device);\n return deviceDTO;\n }", "@Override\n public Optional<DuLieuBaoCaoDTO> findOne(String id) {\n log.debug(\"Request to get DuLieuBaoCao : {}\", id);\n return duLieuBaoCaoRepository.findById(id)\n .map(duLieuBaoCaoMapper::toDto);\n }", "public Optional<PortDTO> findOne(Long id) {\n log.debug(\"Request to get Port : {}\", id);\n return Port.findByIdOptional(id)\n .map(port -> portMapper.toDto((Port) port)); \n }", "public static LandDetailsDto getLandDetailsDto() {\n\t\treturn new LandDetailsDto();\n\t}", "RunDTO toDto(Run run) {\n RunDTO result = new RunDTO();\n result.setId(0L);\n if (null != run) {\n this.fillDto(result, run);\n }\n return result;\n }", "public static ProductDetailsDto getProductDetailsDto() {\n\t\treturn new ProductDetailsDto();\n\t}", "public EntityType getCreateEntity(DtoType dto) throws ClassNotFoundException, InstantiationException, IllegalAccessException;", "public ch.ivyteam.ivy.scripting.objects.List<ch.ivyteam.ivy.admin.tool.security.UserDTO> getUserDTO()\n {\n return userDTO;\n }", "ClientDTO findOne(final Long id);", "@Override\n @Transactional(readOnly = true)\n public CostoDTO findOne(Long id) {\n log.debug(\"Request to get Costo : {}\", id);\n Costo costo = costoRepository.findOne(id);\n return costoMapper.toDto(costo);\n }", "@Transactional(readOnly = true)\n public Optional<DisabilityTypeDTO> findOne(Long id) {\n log.debug(\"Request to get DisabilityType : {}\", id);\n return disabilityTypeRepository.findById(id)\n .map(disabilityTypeMapper::toDto);\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<DqStandardDetailsEntityTimeDTO> findOne(Long id) {\n log.debug(\"Request to get DqStandardDetailsEntityTime : {}\", id);\n return dqStandardDetailsEntityTimeRepository.findById(id)\n .map(dqStandardDetailsEntityTimeMapper::toDto);\n }", "public MemberDto copyEntityToDto(Member entity, MemberDto dto) {\r\n reflectMemberIdToDto(entity, dto);\r\n reflectMemberNameToDto(entity, dto);\r\n reflectFormalizedDatetimeToDto(entity, dto);\r\n reflectUpdateDatetimeToDto(entity, dto);\r\n\r\n return dto;\r\n }", "public IBaseDTO getDepartment(String id) {\n\t\tIBaseDTO dto=new DynaBeanDTO();\n\t\tSysDepartment sd=(SysDepartment)dao.loadEntity(SysDepartment.class,id);\n\t\t\n\t\tdto.set(\"id\",sd.getId());\n\t\tdto.set(\"name\",sd.getName());\n\t\tdto.set(\"parentId\",sd.getParentId());\n\t\tdto.set(\"remark\",sd.getRemarks());\n\t\tdto.set(\"tagShow\",sd.getTagShow());\n\t\tdto.set(\"admin\",sd.getAdmin());\n\t\treturn dto;\n\t}", "@Override\n\tpublic MstCustomerDto getOne(String kdCustomer) {\n\t\tMstCustomerDto mstCustomerDto=new MstCustomerDto();\n\t\tMstCustomer mstCustomer = new MstCustomer();\n\t\tmstCustomer=mstCustomerDao.getOne(kdCustomer);\n\t\tmstCustomerDto = mapperFacade.map(mstCustomer, MstCustomerDto.class);\n\t\t\n\t\treturn mstCustomerDto;\n\t}", "public ConfigSimpleValueDTO getSimpleValueProperty(final String name) {\n \t\treturn simpleProperties.get(name);\n \t}", "private CategoryDTO getCategoryDto(){\n\t\tCategoryDTO category = new CategoryDTO(Long.valueOf(1L), \"categoryName\", \"categoryDesc\");\n\t\treturn category;\n\t}", "protected abstract void processDTO();", "default ShopDTO entityToDto(Shop entity) {\n ShopDTO dto = ShopDTO.builder()\n .productID(entity.getProductID())\n .product(entity.getProduct())\n .image(entity.getImage())\n .content(entity.getContent())\n .price(entity.getPrice())\n .count(entity.getCount())\n .regDate(entity.getRegDate())\n .modDate(entity.getModDate())\n .build();\n return dto;\n }", "StudentDTO toStudentDTO(Student student);", "public static RoomDTO newDTO() {\n\n RoomDTO roomDTO = new RoomDTO();\n return roomDTO;\n }", "public Member copyDtoToEntity(MemberDto dto, Member entity) {\r\n reflectFormalizedDatetimeToEntity(dto, entity);\r\n reflectMemberIdToEntity(dto, entity);\r\n reflectMemberNameToEntity(dto, entity);\r\n reflectUpdateDatetimeToEntity(dto, entity);\r\n\r\n return entity;\r\n }", "public static SystemDTO entityToDTO(final System entity){\n\t\tfinal SystemDTO result = new SystemDTO();\n\t\t\n\t\tresult.setCode(entity.getCode());\n\t\tresult.setName(entity.getName());\n\t\tresult.setId(entity.getId());\n\t\t\n\t\treturn result;\n\t}", "@Override\n protected E dtoToEntity( final D dto )\n {\n Objects.requireNonNull( dto, \"dto argument cannot be null\" );\n final E entity = super.dtoToEntity( dto );\n /*\n * Convert the notes source ID to UUID\n */\n if ( dto instanceof NotesSourceIdContainer &&\n entity instanceof NotesSourceUuidContainer )\n {\n final NotesSourceIdContainer notesSourceIdContainer = (NotesSourceIdContainer) dto;\n /*\n * Check for new sources\n */\n this.stockNoteSourceService.checkForNewSource( notesSourceIdContainer );\n final NotesSourceUuidContainer notesSourceUuidContainer = (NotesSourceUuidContainer)entity;\n /*\n * Convert the String UUID to a real uuid if present\n */\n if ( notesSourceIdContainer.getNotesSourceId() != null &&\n !notesSourceIdContainer.getNotesSourceId().isEmpty() )\n {\n final StockNoteSourceEntity stockNoteSourceEntity = this.stockNoteSourceService\n .getStockNoteSource( ((CustomerUuidContainer)entity).getCustomerUuid(),\n notesSourceIdContainer.getNotesSourceId() );\n notesSourceUuidContainer.setNotesSourceEntity( stockNoteSourceEntity );\n }\n }\n //logMethodEnd( methodName, entity );\n return entity;\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<DepositoryInfoDTO> findOne(Long id) {\n log.debug(\"Request to get DepositoryInfo : {}\", id);\n return depositoryInfoRepository.findById(id)\n .map(depositoryInfoMapper::toDto);\n }", "public static UserDTOEx getUserDTO(String username, Integer entityId)\r\n \t\t\tthrows NamingException, SessionInternalError {\r\n \r\n \t\tLOG.debug(\"getting the user \" + username);\r\n \r\n \t\tUserDTO user = new UserDAS().findByUserName(username, entityId);\r\n \t\tif (user == null)\r\n \t\t\treturn null;\r\n \t\treturn getUserDTOEx(user);\r\n \t}", "@Override\n public RecipeEntity getRecipeDto(long id)\n {\n return this.load(RecipeEntity.class, id);\n }", "@Override\n\tpublic List<PermissionDto> getPermission() {\n\t\tList<PermissionDto> dto = permissionRepository.findAll().stream().map(permission -> {\n\t\t\tPermissionDto permissionDto = new PermissionDto();\n\t\t\tBeanUtils.copyProperties(permission, permissionDto);\n\t\t\treturn permissionDto;\n\t\t}).collect(Collectors.toList());\n\t\treturn dto;\n\t}", "public Value makeGetter() {\n Value r = new Value(this);\n r.getters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "@Override\n @Transactional(readOnly = true)\n public JeuDTO findOne(Long id) {\n log.debug(\"Request to get Jeu : {}\", id);\n Jeu jeu = jeuRepository.findOne(id);\n return jeuMapper.toDto(jeu);\n }", "public static ReadingDTO mapToDTO(Reading reading) {\n if (Objects.isNull(reading)) {\n return null;\n }\n ReadingDTO dto = newReadingDTO();\n dto.setDateTime(reading.getDateTime());\n dto.setValue(reading.getValue());\n return dto;\n }", "Optional<VitalDTO> findOne(Long id);", "@Override\n @Transactional(readOnly = true)\n public Optional<FonctionsDTO> findOne(Long id) {\n log.debug(\"Request to get Fonctions : {}\", id);\n return fonctionsRepository.findById(id)\n .map(fonctionsMapper::toDto);\n }", "public PersonDto findById(String id) {\n Optional<Person> model = Optional.empty();\n return model\n .map(personMapper::toDto)\n .orElse(null);\n }", "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "PeopleDTO findOne(Long id);", "public synchronized StateDTO getStateDTOByStateID(int stateID)\n\t{\n\t\treturn StateDTOByStateID.get(stateID);\n\t}", "Optional<ChatDTO> findOne(Long id);", "public BUserDto convertEntityToDto(BUser entity){\n\t\tBUserDto dto = new BUserDto();\n\t\tif(entity!=null){\n\t\t\tdto.setId(entity.getId());\n\t\t\tdto.setUsername(entity.getUsername());\n\t\t}\n\t\treturn dto;\n\t}", "@Override\n public CategoryDTO get(Long id) {\n Category category = categoryRepository.findById(id).get();\n CategoryDTO result = categoryConverter.toDTO(category);\n return result;\n }", "@Override\n @Transactional\n public List<D> getDtoList(D dto, E entity, String... args) throws MedragServiceException {\n List<E> entityList;\n try {\n entityList = entityDao.getEntityList(entity, args);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n List<D> dtoList = new ArrayList<>();\n entityList.forEach(e -> dtoList.add((D) new ModelMapper().map(e, dto.getClass())));\n return dtoList;\n }", "@Override\n @Transactional(readOnly = true)\n public SintomaDTO findOne(Long id) {\n log.debug(\"Request to get Sintoma : {}\", id);\n Sintoma sintoma = sintomaRepository.findOne(id);\n return sintomaMapper.toDto(sintoma);\n }", "Optional<TypeBonDTO> findOne(Long id);", "PersonaDTO PersonaToPersonaDTO(Persona persona);", "@Override\n\tpublic ExamDTO toDto(Exam exam) {\n\t\treturn null;\n\t}", "@Deprecated\n CreatePdvDto(){}", "@Transactional(readOnly = true)\n public Optional<KohnegiDTO> findOne(Long id) {\n log.debug(\"Request to get Kohnegi : {}\", id);\n return kohnegiRepository.findById(id)\n .map(kohnegiMapper::toDto);\n }", "public PersonaDTO(){}", "Optional<ConsultationInfoDTO> findOne(Long id);", "@Override\n @Transactional(readOnly = true)\n public Optional<OrdreDTO> findOne(Long id) {\n log.debug(\"Request to get Ordre : {}\", id);\n return ordreRepository.findById(id)\n .map(ordreMapper::toDto);\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<StudenteDTO> findOne(Long id) {\n log.debug(\"Request to get Studente : {}\", id);\n return studenteRepository.findOneWithEagerRelationships(id)\n .map(studenteMapper::toDto);\n }", "public UserDto get(String username) {\n\t\tUser delcheck = userRepository.findByUname(username);\n\t\tif(delcheck.isDeleted() == true){\n\t\t\treturn null;\n\t\t} else {\n\t\treturn userMapper.toUserDto(userRepository.findByUname(username));\n\t\t}\n\t}", "@Override\n public MemberDTO findOne(@PathVariable(\"id\") Long id) {\n return MemberDTO.builder().build();\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<LinhvucDTO> findOne(Long id) {\n log.debug(\"Request to get Linhvuc : {}\", id);\n return linhvucRepository.findById(id)\n .map(linhvucMapper::toDto);\n }", "public static UserDTO getUserDTO(UserEntity userEntity) {\n\t\tUserDTO dto = null;\n\t\tif (userEntity != null) {\n\t\t\tdto = new UserDTO();\n\n\t\t\tdto.setUserId(userEntity.getUserId());\n\t\t\tdto.setInsertDate(userEntity.getInsertDate());\n\t\t\tdto.setUpdateDate(userEntity.getUpdateDate());\n\t\t\tdto.setName(userEntity.getUserName());\n\t\t\tdto.setEmail(userEntity.getUserEmail());\n\t\t\tdto.setPassword(userEntity.getUserPassword());\n\t\t\tdto.setIsActive(userEntity.getIsActive());\n\t\t\tdto.setLastLogin(userEntity.getLastLogin());\n\t\t}\n\t\treturn dto;\n\t}", "public ClientPropertyDto mapToDto(ClientProperty property)\r\n\t{\r\n\t\tClientPropertyDto dto = new ClientPropertyDto();\r\n\t\tdto.setKey(property.getKey());\r\n\t\tdto.setValue(property.getValue());\r\n\t\tdto.setId(property.getId());\r\n\t\tdto.setDelete(false);\r\n\t\tdto.setClient(clientMapper.mapToDto(property.getClient()));\r\n\r\n\t\treturn dto;\r\n\t}" ]
[ "0.750052", "0.6922713", "0.6722928", "0.6692394", "0.6610001", "0.6593924", "0.6535411", "0.64553237", "0.6443894", "0.64043105", "0.63509184", "0.63398", "0.630666", "0.62680525", "0.6221788", "0.6196468", "0.6168907", "0.61005807", "0.60247016", "0.6019676", "0.6016837", "0.59987855", "0.59814554", "0.59800965", "0.5976745", "0.59513575", "0.59479815", "0.5905277", "0.59033567", "0.5853992", "0.5812538", "0.58116066", "0.5805847", "0.5799475", "0.57918125", "0.57715493", "0.57642066", "0.576363", "0.5756595", "0.574824", "0.57472914", "0.57382715", "0.5730702", "0.5727574", "0.5724504", "0.5713369", "0.5707039", "0.5686385", "0.5686144", "0.5676745", "0.56740135", "0.5670403", "0.5670103", "0.5635526", "0.5632137", "0.56230634", "0.5621788", "0.561638", "0.56161183", "0.56120265", "0.56098706", "0.56070954", "0.56069803", "0.56022966", "0.55926025", "0.5590903", "0.55866116", "0.55840033", "0.5578609", "0.5577382", "0.55741215", "0.5569932", "0.5569236", "0.5568142", "0.5559612", "0.55547214", "0.55535096", "0.55525273", "0.5543926", "0.55357355", "0.55286044", "0.55230534", "0.552022", "0.55201566", "0.5517611", "0.55156547", "0.5502559", "0.55007815", "0.54981995", "0.549467", "0.5494148", "0.5493477", "0.54920584", "0.548396", "0.54831487", "0.54823476", "0.5482163", "0.5469235", "0.5465598", "0.54647005", "0.54638755" ]
0.0
-1
simple setter for dto.
public void setGebruikersnaam(String gebruikersnaam) { this.gebruikersnaam = gebruikersnaam; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDto(PropertyDefDto dto);", "D update(D dto);", "public void setDto(GrupoDTO dto) {\n\t\tthis.dto = dto;\n\t}", "public DTO(DTO other) {\n if (other.isSetDatas()) {\n Map<String,String> __this__datas = new HashMap<String,String>(other.datas);\n this.datas = __this__datas;\n }\n }", "@Override\n protected void set(org.tair.db.locusdetail.ILocusDetail dto) {\n locusLocus = dto;\n }", "public Object decorate(Object dtoValue) {\r\n return dtoValue;\r\n }", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public NameDTO() {\r\n this.firstName = \"\";\r\n this.lastName = \"\";\r\n }", "public PropertyDefDto getDto();", "public Value makeSetter() {\n Value r = new Value(this);\n r.setters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "public T set(T obj);", "protected void reflectFormalizedDatetimeToDto(Member entity, MemberDto dto) {\r\n dto.setFormalizedDatetime(extractFormalizedDatetimeFromEntity(entity));\r\n }", "public Dto() {\n \t\n }", "public AbstractEstProxy(Est dto) {\n super(dto);\n\n // Setter arrays\n readObjectSetters = new java.util.concurrent.CopyOnWriteArrayList<com.poesys.db.dto.ISet>();\n }", "public <T> void setProperty(String field, T value) {\n try {\n Field f = this.getClass().getDeclaredField(field); \n f.set(this, value);\n } catch (NoSuchFieldException ex) {\n System.out.println(\"Field no found...\");\n System.out.println(ex.getMessage());\n\n } catch (IllegalAccessException ex) {\n System.out.println(ex.getMessage());\n }\n }", "public abstract DTO toDTO(M model);", "void setDatty(Datty newDatty);", "public void setSelectedContactDTO(ContactDTO dto) {\n/*Generated! Do not modify!*/ replyDTO.getDTOsToSet().add(\"selectedContact\");\n/*Generated! Do not modify!*/ if (dto == null){\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().remove(\"selectedContact\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().put(\"selectedContact\", dto);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_DTO, \"setSelectedContactDTO(\", gson.toJson(dto), getClassName(dto));\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public void createValue() {\r\n value = new com.timeinc.tcs.epay2.EPay2DTO();\r\n }", "public static EmployeeDTO valueOf(Employee employee){\n EmployeeDTO employeeDTO = new EmployeeDTO();\n BeanUtils.copyProperties(employee, employeeDTO);\n// employeeDto.setId( employee.getId() );\n// employeeDto.setFirstName( employee.getFirstName() );\n\n return employeeDTO;\n\n }", "private CustomersDTO getDataFromInputToDTO(CustomersInputDTO inputCustomer, CustomersDTO dtoCustomer) {\n // set value for fields of DTO if input not null\n Arrays.asList(CustomersInputDTO.class.getDeclaredFields()).stream().forEach(field -> {\n if (field.getName().equals(ConstantsCustomers.FIELD_CUSTOMER_DATA)) {\n return;\n }\n String methodGet = METHOD_GET_PREFFIX\n .concat(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, field.getName()));\n String methodSet = METHOD_SET_PREFFIX\n .concat(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, field.getName()));\n try {\n Method inputMethod = CustomersInputDTO.class.getMethod(methodGet);\n if (inputMethod.invoke(inputCustomer) != null) {\n Method outMethod = CustomersDTO.class.getMethod(methodSet, inputMethod.getReturnType());\n outMethod.invoke(dtoCustomer, inputMethod.getReturnType().cast(inputMethod.invoke(inputCustomer)));\n }\n } catch (Exception e) {\n return;\n }\n });\n dtoCustomer.setUpdatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n return dtoCustomer;\n }", "public PersonaDTO(){}", "protected void reflectMemberIdToDto(Member entity, MemberDto dto) {\r\n dto.setMemberId(extractMemberIdFromEntity(entity));\r\n }", "private void copyDtoToEntity(UserDTO dto, User entity) {\n\t\tentity.setFullName(dto.getFullName());\n\t\tentity.setEmail(dto.getEmail());\n\t\tentity.setCpf(dto.getCpf());\n\t\tentity.setBirthDate(dto.getBirthDate());\n\t}", "public abstract T convertToEntity(D dto);", "@Test\n void fromDto() {\n\n final SomeDto dto = SomeDto.builder()\n .text(\"test\")\n .value(123)\n .build();\n\n final SomeMapper mapper = SomeMapper.INSTANCE;\n final SomeModel model = mapper.mapFrom(dto);\n final SomeModel bazModel = mapper.update(dto.withText(\"baz\"), model);\n\n assertThat(bazModel.getText()).isEqualTo(\"baz\");\n }", "public PasswordChangeDTO() {}", "public DomicilioDTO(DomicilioEntity domicilioEntity) {\r\n if (domicilioEntity != null) {\r\n this.id = domicilioEntity.getId();\r\n this.precio = domicilioEntity.getPrecio();\r\n this.idZona = domicilioEntity.getIdZona();\r\n \r\n }\r\n }", "protected void reflectUpdateDatetimeToDto(Member entity, MemberDto dto) {\r\n dto.setUpdateDatetime(extractUpdateDatetimeFromEntity(entity));\r\n }", "public void set(T t, Object obj) {\n try {\n this.field.set(t, obj);\n } catch (IllegalAccessException e) {\n throw new AssertionError(e);\n }\n }", "public ProdutoDTO()\n {\n super();\n }", "StudentDTO toStudentDTO(Student student);", "public Member copyDtoToEntity(MemberDto dto, Member entity) {\r\n reflectFormalizedDatetimeToEntity(dto, entity);\r\n reflectMemberIdToEntity(dto, entity);\r\n reflectMemberNameToEntity(dto, entity);\r\n reflectUpdateDatetimeToEntity(dto, entity);\r\n\r\n return entity;\r\n }", "public void setValue(Object value) { this.value = value; }", "@Override\n\tpublic void update(Object dto) throws Exception {\n\t\tpropertyConfigMapper.updateByPrimaryKeySelective(dto);\n\t}", "public void setPropertyWithAutoTypeCast(Object obj, Object value) {\n if(value==null) {\n setProperty(obj, value);\n return;\n }\n Class<?> propType = getPropertyType();\n if(propType.isAssignableFrom(value.getClass())) {\n setProperty(obj, value);\n return;\n }\n if(value instanceof Long && propType.equals(Integer.class)) {\n setProperty(obj, Integer.valueOf(value.toString()));\n return;\n }\n if(value instanceof Double || value instanceof Float || value instanceof BigDecimal) {\n if(propType.isAssignableFrom(Double.class)) {\n setProperty(obj, Double.valueOf(value.toString()));\n return;\n } else if(propType.isAssignableFrom(Float.class)) {\n setProperty(obj, Float.valueOf(value.toString()));\n return;\n } else if(propType.isAssignableFrom(BigDecimal.class)) {\n setProperty(obj, BigDecimal.valueOf(Double.valueOf(value.toString())));\n return;\n } else {\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }\n }\n if(value instanceof java.util.Date) {\n if(propType.isAssignableFrom(java.sql.Timestamp.class)) {\n setProperty(obj, new java.sql.Timestamp(((java.util.Date) value).getTime()));\n return;\n } else if(propType.isAssignableFrom(java.sql.Date.class)) {\n setProperty(obj, new java.sql.Date(((java.util.Date) value).getTime()));\n return;\n } else {\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }\n }\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }", "@Test\n public void testGettersSettersConstructors() {\n LevelReportDto body = new LevelReportDto(\"product-name\", \"key-obs\",\n ProductFamily.L0_REPORT);\n GenericMessageDto<LevelReportDto> dto =\n new GenericMessageDto<LevelReportDto>(123, \"input-key\", body);\n assertEquals(123, dto.getId());\n assertEquals(body, dto.getBody());\n assertEquals(\"input-key\", dto.getInputKey());\n\n dto = new GenericMessageDto<LevelReportDto>();\n dto.setId(321);\n dto.setBody(body);\n dto.setInputKey(\"othey-input\");\n assertEquals(321, dto.getId());\n assertEquals(body, dto.getBody());\n assertEquals(\"othey-input\", dto.getInputKey());\n }", "public abstract M toModel(DTO dto);", "public abstract D convertToDto(T entity);", "<T> Setter<R> set(Projection<T> projection, T value);", "<T> Setter<R> set(Projection<T> projection, T value);", "@Override\n\tpublic BaseFWDTOImpl toDTO() {\n\t\treturn null;\n\t}", "protected abstract void processDTO();", "public void set(String name, Object value) {\n }", "public LocusOtherNameProxy(LocusOtherName dto) {\n super(dto); \n }", "private <T> void setField(Field field, Object object, T fieldInstance) {\n try {\n field.setAccessible(true);\n field.set(object, fieldInstance);\n } catch (IllegalArgumentException ex) {\n Logger.getLogger(CDIC.class.getName()).log(Level.SEVERE, \"Feld \" + field.getName() + \" ist kein Objekt!\", ex);\n } catch (IllegalAccessException ex) {\n Logger.getLogger(CDIC.class.getName()).log(Level.SEVERE, \"Feld \" + field.getName() + \" ist nicht zugreifbar!\", ex);\n } finally {\n field.setAccessible(false);\n }\n }", "public void setValue(String fieldName, Object value) {\n try {\n Field field = FieldUtils.getField(object.getClass(), fieldName, true);\n if (field != null) {\n FieldUtils.writeField(field, object, value, true);\n } else {\n logger.error(\"Unable to set value on field because the field does not exits on class: \" + object.getClass());\n }\n } catch (IllegalAccessException e) {\n logger.error(e);\n }\n }", "protected void reflectFormalizedDatetimeToEntity(MemberDto dto, Member entity) {\r\n entity.setFormalizedDatetime(extractFormalizedDatetimeFromDto(dto));\r\n }", "E toEntity(V dto);", "@Deprecated\n CreatePdvDto(){}", "public MemberDto copyEntityToDto(Member entity, MemberDto dto) {\r\n reflectMemberIdToDto(entity, dto);\r\n reflectMemberNameToDto(entity, dto);\r\n reflectFormalizedDatetimeToDto(entity, dto);\r\n reflectUpdateDatetimeToDto(entity, dto);\r\n\r\n return dto;\r\n }", "public UserDto() {\n }", "@Test\n public void testSetCharterFileName() {\n System.out.println(\"setCharterFileName\");\n String charterFileName = \"\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setCharterFileName(charterFileName);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }", "@CheckReturnValue\n T setField(String field, @Nullable Object value);", "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "public Value restrictToGetterSetter() {\n checkNotPolymorphicOrUnknown();\n if (!isMaybePrimitive() && !isMaybeObjectOrSymbol())\n return this;\n Value r = new Value(this);\n r.flags &= ~PRIMITIVE;\n r.num = null;\n r.str = null;\n r.object_labels = null;\n r.excluded_strings = r.included_strings = null;\n return canonicalize(r);\n }", "public Userdto(User user) {\n\t\tthis.fname = user.getFirstname();\n\t\tthis.lname = user.getLastname();\n\t\tthis.email = user.getEmail();\n\t}", "@Override\n public void set(Object bean, Object value) throws IOException {\n _propertyMutator.longSetter(bean, ((Number) value).longValue());\n }", "@Test\n public void testSetId() {\n System.out.println(\"setId\");\n long id = 0L;\n DTO_Ride instance = dtoRide;\n instance.setId(id);\n long result = instance.getId();\n assertEquals(id, result);\n }", "@Deprecated\n MerchandiseDTO() {\n }", "protected void reset(Utente dto)\n\t{\n\t}", "public void set(Object requestor, String field);", "@CheckReturnValue\n default T setFieldIfPresent(String field, @Nullable Object value) {\n if (value != null) {\n //noinspection ResultOfMethodCallIgnored\n setField(field, value);\n }\n //noinspection unchecked\n return (T)this;\n }", "E mapToEntity(D dto);", "public ProductoDTO(){\r\n\t\t\r\n\t}", "@Override\n public void set(T value) throws Exception {\n _curator.setData().forPath(_zkPath, toZkBytes(value));\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 }", "private CustomersDTO buildDTOToCreate(CustomersDTO customerDto) {\n if (customerDto.getBusinessMainId() < 0) {\n customerDto.setBusinessMainId(0);\n }\n if (customerDto.getBusinessSubId() < 0) {\n customerDto.setBusinessSubId(0);\n }\n if (customerDto.getEmployeeId() == null) {\n customerDto.setEmployeeId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getDepartmentId() == null) {\n customerDto.setDepartmentId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getGroupId() == null) {\n customerDto.setGroupId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getScenarioId() == null) {\n customerDto.setScenarioId(ConstantsCustomers.LONG_VALUE_0L);\n }\n customerDto.setCreatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n customerDto.setUpdatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n return customerDto;\n }", "protected void setValue(T value) {\r\n this.value = value;\r\n }", "public void setValue(Object o){\n \tthis.value = o;\n }", "public void setData(D s){\n\t\tdata = s;\n\t}", "public void set(Coord dest) {\n x = dest.x;\n y = dest.y;\n }", "public void setHojaDeVida(HojaDeVidaDTO hojaDeVida) {\r\n this.hojaDeVida = hojaDeVida;\r\n }", "public void setContactsDTO(ContactListDTO dto) {\n/*Generated! Do not modify!*/ replyDTO.getDTOsToSet().add(\"contacts\");\n/*Generated! Do not modify!*/ if (dto == null){\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().remove(\"contacts\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().put(\"contacts\", dto);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_DTO, \"setContactsDTO(\", gson.toJson(dto), getClassName(dto));\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public PropertySellerDetailDTO() {\n\n\t}", "@JsonSetter(\"department\")\n public void setDepartment (String value) { \n this.department = value;\n notifyObservers(this.department);\n }", "@Test\n public void testSetNotesTaken() {\n System.out.println(\"setNotesTaken\");\n ArrayList<Note> notesTaken = new ArrayList<>();\n notesTaken.add(new Note());\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setNotesTaken(notesTaken);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }", "private SetProperty(Builder builder) {\n super(builder);\n }", "public void setValue(Object value);", "@Test\r\n public void testSetNewPassword() {\r\n System.out.println(\"setNewPassword\");\r\n String newPassword = \"\";\r\n ForgotPasswordDTO instance = new ForgotPasswordDTO();\r\n instance.setNewPassword(newPassword);\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 assertTrue(true);\r\n }", "@Override\n\tpublic void setValue(Object object) {\n\n\t}", "@Override\n public void setField (String fieldToModify, String value, Double duration) {\n\n }", "@Test\n public void testConvertComputerToComputerDTO() {\n ComputerDTO computerDTO = new ComputerDTO();\n computerDTO.setId(1);\n computerDTO.setName(\"test\");\n ComputerDTO computerResult = DTOMapper.fromComputer(new Computer.Builder(\"test\").id(1L).build());\n assertEquals(computerDTO, computerResult);\n }", "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "public void setValue(T value) {\n/* 134 */ this.value = value;\n/* */ }", "public static Object convertToDataTransferObject(Object dto, String prefix, Map<String, Object> record,\n Class<?> dtoType, String[] filter) {\n if (null != record && null != dtoType) {\n if (null == dto) {\n dto = newDataTransferObjectInstance(dtoType);\n }\n List<Field> dtoFields = ObjectUtils.getFields(dtoType, true);\n for (Field dtoField : dtoFields) {\n try {\n Object value = null;\n if (hasData(record, prefix, getEntityMappingFieldPath(dtoField))) {\n value = convertToFieldOfDataTransferObject(dto, prefix, record, dtoField, filter);\n }\n ObjectUtils.setValueForField(dto, dtoField.getName(), value, true);\n } catch (IllegalAccessException e) {\n throw new FieldInaccessibleException(\"Cannot set value for field \"\n + dtoType.getSimpleName() + \".\" + dtoField.getName(), e);\n }\n }\n }\n return dto;\n }", "@Test(expected=AssertionError.class)\n\tpublic void testPassInvalidToSettersAddress() {\n\t\tbeanTester.testSetterForField(\"invalid\");\n\t}", "@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}", "void setObjectValue(Object dataObject);", "@Test\n public void testSetTotalTime() {\n System.out.println(\"setTotalTime\");\n String totalTime = \"1234658878787\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setTotalTime(totalTime);\n\n String expResult = totalTime;\n String result = instance.getTotalTime();\n assertEquals(expResult, result);\n }", "public NullableResponse(T value) {\n\t\tthis.value = value;\n\t}", "@Test\n public void testSetPathHtml() {\n System.out.println(\"setPathHtml\");\n String pathHtml = \"www.google.com\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setPathHtml(pathHtml);\n String expResult = pathHtml;\n String result = instance.getPathHtml();\n assertEquals(expResult, result);\n }", "public void setValue(T value) {\n/* 89 */ this.value = value;\n/* */ }", "public void setValue(final Object value) { _value = value; }", "@Test\n public void testWebClientRegServerAccessParamsDtoSetterAndGetter()\n {\n RegServerAccessParamsDto regServerAccessParamsDto = new RegServerAccessParamsDto();\n regServerAccessParamsDto.setRegServerHost(WEB_SERVICE_HOSTNAME);\n regServerAccessParamsDto.setRegServerPort(WEB_SERVICE_HTTPS_PORT);\n regServerAccessParamsDto.setUseSsl(true);\n regServerAccessParamsDto.setUsername(WEB_SERVICE_HTTPS_USERNAME);\n regServerAccessParamsDto.setPassword(WEB_SERVICE_HTTPS_PASSWORD);\n\n // Set the DTO.\n downloaderWebClient.setRegServerAccessParamsDto(regServerAccessParamsDto);\n\n // Retrieve the DTO and validate the results.\n RegServerAccessParamsDto resultRegServerAccessParamsDto = downloaderWebClient.getRegServerAccessParamsDto();\n\n // validate the results.\n assertEquals(WEB_SERVICE_HOSTNAME, resultRegServerAccessParamsDto.getRegServerHost());\n assertEquals(WEB_SERVICE_HTTPS_PORT, resultRegServerAccessParamsDto.getRegServerPort());\n assertTrue(resultRegServerAccessParamsDto.getUseSsl());\n assertEquals(WEB_SERVICE_HTTPS_USERNAME, resultRegServerAccessParamsDto.getUsername());\n assertEquals(WEB_SERVICE_HTTPS_PASSWORD, resultRegServerAccessParamsDto.getPassword());\n }", "public void setValue(T value) {\n this.value = value;\n }", "public void setPageDto(PageDto pageDto) {\n this.pageDto=pageDto;\n }", "public void setValue(Object val);", "@Override\n\tpublic void setValue(Object object) {\n\t\t\n\t}", "void setValue(Object value);", "public Customer CopyDtoToEntity(CustomerInput userDto){\n Customer user = new Customer();\n user.setId(userDto.getId());\n user.setFirst_name(userDto.getFirst_name());\n user.setLast_name(userDto.getLast_name());\n user.setEmail(userDto.getEmail());\n user.setAddress_id(userDto.getAddress_id());\n user.setActive(userDto.getActive());\n user.setCreate_date(getCurrentDateTime());\n // user.setCreate_date(getCurrentDateTime());\n return user;\n }" ]
[ "0.76097155", "0.6409665", "0.6349789", "0.6288937", "0.62061846", "0.61044866", "0.59307814", "0.5894473", "0.5876073", "0.586646", "0.5820376", "0.5771962", "0.5750958", "0.5743785", "0.5733695", "0.5695782", "0.5687327", "0.564823", "0.56414926", "0.5637008", "0.5634989", "0.5606476", "0.56019545", "0.5599003", "0.5563539", "0.5540853", "0.5530488", "0.55179924", "0.55058", "0.5483048", "0.54818493", "0.54811716", "0.547967", "0.54793864", "0.54755473", "0.5469261", "0.5467988", "0.546757", "0.5460106", "0.54567236", "0.54567236", "0.5449294", "0.5448695", "0.5435095", "0.54350734", "0.54293376", "0.541372", "0.5404912", "0.5391896", "0.5390374", "0.5380379", "0.53704906", "0.5365583", "0.5363313", "0.53597784", "0.5344854", "0.53416336", "0.5336558", "0.5329327", "0.53266156", "0.5324959", "0.53066164", "0.5305869", "0.5304092", "0.5303049", "0.52852637", "0.5284331", "0.5283152", "0.52821666", "0.5278862", "0.52726316", "0.52659833", "0.5263813", "0.5244765", "0.52444303", "0.52377385", "0.52368546", "0.52359396", "0.52313673", "0.522693", "0.5226417", "0.52238697", "0.5221093", "0.52206826", "0.52206445", "0.52202016", "0.5213629", "0.52134234", "0.521211", "0.52072483", "0.5207097", "0.52059484", "0.5205658", "0.5202471", "0.5201445", "0.5201183", "0.51981664", "0.5191239", "0.5189275", "0.51845425", "0.51797605" ]
0.0
-1
simple setter for dto.
public void setOmschrijving(String omschrijving) { this.omschrijving = omschrijving; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDto(PropertyDefDto dto);", "D update(D dto);", "public void setDto(GrupoDTO dto) {\n\t\tthis.dto = dto;\n\t}", "public DTO(DTO other) {\n if (other.isSetDatas()) {\n Map<String,String> __this__datas = new HashMap<String,String>(other.datas);\n this.datas = __this__datas;\n }\n }", "@Override\n protected void set(org.tair.db.locusdetail.ILocusDetail dto) {\n locusLocus = dto;\n }", "public Object decorate(Object dtoValue) {\r\n return dtoValue;\r\n }", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public NameDTO() {\r\n this.firstName = \"\";\r\n this.lastName = \"\";\r\n }", "public PropertyDefDto getDto();", "public Value makeSetter() {\n Value r = new Value(this);\n r.setters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "public T set(T obj);", "protected void reflectFormalizedDatetimeToDto(Member entity, MemberDto dto) {\r\n dto.setFormalizedDatetime(extractFormalizedDatetimeFromEntity(entity));\r\n }", "public Dto() {\n \t\n }", "public AbstractEstProxy(Est dto) {\n super(dto);\n\n // Setter arrays\n readObjectSetters = new java.util.concurrent.CopyOnWriteArrayList<com.poesys.db.dto.ISet>();\n }", "public <T> void setProperty(String field, T value) {\n try {\n Field f = this.getClass().getDeclaredField(field); \n f.set(this, value);\n } catch (NoSuchFieldException ex) {\n System.out.println(\"Field no found...\");\n System.out.println(ex.getMessage());\n\n } catch (IllegalAccessException ex) {\n System.out.println(ex.getMessage());\n }\n }", "public abstract DTO toDTO(M model);", "void setDatty(Datty newDatty);", "public void setSelectedContactDTO(ContactDTO dto) {\n/*Generated! Do not modify!*/ replyDTO.getDTOsToSet().add(\"selectedContact\");\n/*Generated! Do not modify!*/ if (dto == null){\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().remove(\"selectedContact\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().put(\"selectedContact\", dto);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_DTO, \"setSelectedContactDTO(\", gson.toJson(dto), getClassName(dto));\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public void createValue() {\r\n value = new com.timeinc.tcs.epay2.EPay2DTO();\r\n }", "public static EmployeeDTO valueOf(Employee employee){\n EmployeeDTO employeeDTO = new EmployeeDTO();\n BeanUtils.copyProperties(employee, employeeDTO);\n// employeeDto.setId( employee.getId() );\n// employeeDto.setFirstName( employee.getFirstName() );\n\n return employeeDTO;\n\n }", "private CustomersDTO getDataFromInputToDTO(CustomersInputDTO inputCustomer, CustomersDTO dtoCustomer) {\n // set value for fields of DTO if input not null\n Arrays.asList(CustomersInputDTO.class.getDeclaredFields()).stream().forEach(field -> {\n if (field.getName().equals(ConstantsCustomers.FIELD_CUSTOMER_DATA)) {\n return;\n }\n String methodGet = METHOD_GET_PREFFIX\n .concat(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, field.getName()));\n String methodSet = METHOD_SET_PREFFIX\n .concat(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, field.getName()));\n try {\n Method inputMethod = CustomersInputDTO.class.getMethod(methodGet);\n if (inputMethod.invoke(inputCustomer) != null) {\n Method outMethod = CustomersDTO.class.getMethod(methodSet, inputMethod.getReturnType());\n outMethod.invoke(dtoCustomer, inputMethod.getReturnType().cast(inputMethod.invoke(inputCustomer)));\n }\n } catch (Exception e) {\n return;\n }\n });\n dtoCustomer.setUpdatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n return dtoCustomer;\n }", "public PersonaDTO(){}", "protected void reflectMemberIdToDto(Member entity, MemberDto dto) {\r\n dto.setMemberId(extractMemberIdFromEntity(entity));\r\n }", "private void copyDtoToEntity(UserDTO dto, User entity) {\n\t\tentity.setFullName(dto.getFullName());\n\t\tentity.setEmail(dto.getEmail());\n\t\tentity.setCpf(dto.getCpf());\n\t\tentity.setBirthDate(dto.getBirthDate());\n\t}", "public abstract T convertToEntity(D dto);", "@Test\n void fromDto() {\n\n final SomeDto dto = SomeDto.builder()\n .text(\"test\")\n .value(123)\n .build();\n\n final SomeMapper mapper = SomeMapper.INSTANCE;\n final SomeModel model = mapper.mapFrom(dto);\n final SomeModel bazModel = mapper.update(dto.withText(\"baz\"), model);\n\n assertThat(bazModel.getText()).isEqualTo(\"baz\");\n }", "public PasswordChangeDTO() {}", "public DomicilioDTO(DomicilioEntity domicilioEntity) {\r\n if (domicilioEntity != null) {\r\n this.id = domicilioEntity.getId();\r\n this.precio = domicilioEntity.getPrecio();\r\n this.idZona = domicilioEntity.getIdZona();\r\n \r\n }\r\n }", "protected void reflectUpdateDatetimeToDto(Member entity, MemberDto dto) {\r\n dto.setUpdateDatetime(extractUpdateDatetimeFromEntity(entity));\r\n }", "StudentDTO toStudentDTO(Student student);", "public ProdutoDTO()\n {\n super();\n }", "public Member copyDtoToEntity(MemberDto dto, Member entity) {\r\n reflectFormalizedDatetimeToEntity(dto, entity);\r\n reflectMemberIdToEntity(dto, entity);\r\n reflectMemberNameToEntity(dto, entity);\r\n reflectUpdateDatetimeToEntity(dto, entity);\r\n\r\n return entity;\r\n }", "public void set(T t, Object obj) {\n try {\n this.field.set(t, obj);\n } catch (IllegalAccessException e) {\n throw new AssertionError(e);\n }\n }", "@Override\n\tpublic void update(Object dto) throws Exception {\n\t\tpropertyConfigMapper.updateByPrimaryKeySelective(dto);\n\t}", "public void setValue(Object value) { this.value = value; }", "public abstract M toModel(DTO dto);", "@Test\n public void testGettersSettersConstructors() {\n LevelReportDto body = new LevelReportDto(\"product-name\", \"key-obs\",\n ProductFamily.L0_REPORT);\n GenericMessageDto<LevelReportDto> dto =\n new GenericMessageDto<LevelReportDto>(123, \"input-key\", body);\n assertEquals(123, dto.getId());\n assertEquals(body, dto.getBody());\n assertEquals(\"input-key\", dto.getInputKey());\n\n dto = new GenericMessageDto<LevelReportDto>();\n dto.setId(321);\n dto.setBody(body);\n dto.setInputKey(\"othey-input\");\n assertEquals(321, dto.getId());\n assertEquals(body, dto.getBody());\n assertEquals(\"othey-input\", dto.getInputKey());\n }", "public void setPropertyWithAutoTypeCast(Object obj, Object value) {\n if(value==null) {\n setProperty(obj, value);\n return;\n }\n Class<?> propType = getPropertyType();\n if(propType.isAssignableFrom(value.getClass())) {\n setProperty(obj, value);\n return;\n }\n if(value instanceof Long && propType.equals(Integer.class)) {\n setProperty(obj, Integer.valueOf(value.toString()));\n return;\n }\n if(value instanceof Double || value instanceof Float || value instanceof BigDecimal) {\n if(propType.isAssignableFrom(Double.class)) {\n setProperty(obj, Double.valueOf(value.toString()));\n return;\n } else if(propType.isAssignableFrom(Float.class)) {\n setProperty(obj, Float.valueOf(value.toString()));\n return;\n } else if(propType.isAssignableFrom(BigDecimal.class)) {\n setProperty(obj, BigDecimal.valueOf(Double.valueOf(value.toString())));\n return;\n } else {\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }\n }\n if(value instanceof java.util.Date) {\n if(propType.isAssignableFrom(java.sql.Timestamp.class)) {\n setProperty(obj, new java.sql.Timestamp(((java.util.Date) value).getTime()));\n return;\n } else if(propType.isAssignableFrom(java.sql.Date.class)) {\n setProperty(obj, new java.sql.Date(((java.util.Date) value).getTime()));\n return;\n } else {\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }\n }\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }", "public abstract D convertToDto(T entity);", "<T> Setter<R> set(Projection<T> projection, T value);", "<T> Setter<R> set(Projection<T> projection, T value);", "@Override\n\tpublic BaseFWDTOImpl toDTO() {\n\t\treturn null;\n\t}", "protected abstract void processDTO();", "public LocusOtherNameProxy(LocusOtherName dto) {\n super(dto); \n }", "public void set(String name, Object value) {\n }", "private <T> void setField(Field field, Object object, T fieldInstance) {\n try {\n field.setAccessible(true);\n field.set(object, fieldInstance);\n } catch (IllegalArgumentException ex) {\n Logger.getLogger(CDIC.class.getName()).log(Level.SEVERE, \"Feld \" + field.getName() + \" ist kein Objekt!\", ex);\n } catch (IllegalAccessException ex) {\n Logger.getLogger(CDIC.class.getName()).log(Level.SEVERE, \"Feld \" + field.getName() + \" ist nicht zugreifbar!\", ex);\n } finally {\n field.setAccessible(false);\n }\n }", "public void setValue(String fieldName, Object value) {\n try {\n Field field = FieldUtils.getField(object.getClass(), fieldName, true);\n if (field != null) {\n FieldUtils.writeField(field, object, value, true);\n } else {\n logger.error(\"Unable to set value on field because the field does not exits on class: \" + object.getClass());\n }\n } catch (IllegalAccessException e) {\n logger.error(e);\n }\n }", "protected void reflectFormalizedDatetimeToEntity(MemberDto dto, Member entity) {\r\n entity.setFormalizedDatetime(extractFormalizedDatetimeFromDto(dto));\r\n }", "E toEntity(V dto);", "@Deprecated\n CreatePdvDto(){}", "public MemberDto copyEntityToDto(Member entity, MemberDto dto) {\r\n reflectMemberIdToDto(entity, dto);\r\n reflectMemberNameToDto(entity, dto);\r\n reflectFormalizedDatetimeToDto(entity, dto);\r\n reflectUpdateDatetimeToDto(entity, dto);\r\n\r\n return dto;\r\n }", "public UserDto() {\n }", "@Test\n public void testSetCharterFileName() {\n System.out.println(\"setCharterFileName\");\n String charterFileName = \"\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setCharterFileName(charterFileName);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }", "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "@CheckReturnValue\n T setField(String field, @Nullable Object value);", "public Value restrictToGetterSetter() {\n checkNotPolymorphicOrUnknown();\n if (!isMaybePrimitive() && !isMaybeObjectOrSymbol())\n return this;\n Value r = new Value(this);\n r.flags &= ~PRIMITIVE;\n r.num = null;\n r.str = null;\n r.object_labels = null;\n r.excluded_strings = r.included_strings = null;\n return canonicalize(r);\n }", "public Userdto(User user) {\n\t\tthis.fname = user.getFirstname();\n\t\tthis.lname = user.getLastname();\n\t\tthis.email = user.getEmail();\n\t}", "@Override\n public void set(Object bean, Object value) throws IOException {\n _propertyMutator.longSetter(bean, ((Number) value).longValue());\n }", "@Test\n public void testSetId() {\n System.out.println(\"setId\");\n long id = 0L;\n DTO_Ride instance = dtoRide;\n instance.setId(id);\n long result = instance.getId();\n assertEquals(id, result);\n }", "protected void reset(Utente dto)\n\t{\n\t}", "@Deprecated\n MerchandiseDTO() {\n }", "E mapToEntity(D dto);", "public void set(Object requestor, String field);", "@CheckReturnValue\n default T setFieldIfPresent(String field, @Nullable Object value) {\n if (value != null) {\n //noinspection ResultOfMethodCallIgnored\n setField(field, value);\n }\n //noinspection unchecked\n return (T)this;\n }", "public ProductoDTO(){\r\n\t\t\r\n\t}", "private CustomersDTO buildDTOToCreate(CustomersDTO customerDto) {\n if (customerDto.getBusinessMainId() < 0) {\n customerDto.setBusinessMainId(0);\n }\n if (customerDto.getBusinessSubId() < 0) {\n customerDto.setBusinessSubId(0);\n }\n if (customerDto.getEmployeeId() == null) {\n customerDto.setEmployeeId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getDepartmentId() == null) {\n customerDto.setDepartmentId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getGroupId() == null) {\n customerDto.setGroupId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getScenarioId() == null) {\n customerDto.setScenarioId(ConstantsCustomers.LONG_VALUE_0L);\n }\n customerDto.setCreatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n customerDto.setUpdatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n return customerDto;\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 }", "@Override\n public void set(T value) throws Exception {\n _curator.setData().forPath(_zkPath, toZkBytes(value));\n }", "protected void setValue(T value) {\r\n this.value = value;\r\n }", "public void setValue(Object o){\n \tthis.value = o;\n }", "public void setData(D s){\n\t\tdata = s;\n\t}", "public void set(Coord dest) {\n x = dest.x;\n y = dest.y;\n }", "public void setHojaDeVida(HojaDeVidaDTO hojaDeVida) {\r\n this.hojaDeVida = hojaDeVida;\r\n }", "public void setContactsDTO(ContactListDTO dto) {\n/*Generated! Do not modify!*/ replyDTO.getDTOsToSet().add(\"contacts\");\n/*Generated! Do not modify!*/ if (dto == null){\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().remove(\"contacts\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().put(\"contacts\", dto);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_DTO, \"setContactsDTO(\", gson.toJson(dto), getClassName(dto));\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public PropertySellerDetailDTO() {\n\n\t}", "@Test\n public void testSetNotesTaken() {\n System.out.println(\"setNotesTaken\");\n ArrayList<Note> notesTaken = new ArrayList<>();\n notesTaken.add(new Note());\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setNotesTaken(notesTaken);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }", "@JsonSetter(\"department\")\n public void setDepartment (String value) { \n this.department = value;\n notifyObservers(this.department);\n }", "private SetProperty(Builder builder) {\n super(builder);\n }", "public void setValue(Object value);", "@Test\r\n public void testSetNewPassword() {\r\n System.out.println(\"setNewPassword\");\r\n String newPassword = \"\";\r\n ForgotPasswordDTO instance = new ForgotPasswordDTO();\r\n instance.setNewPassword(newPassword);\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 assertTrue(true);\r\n }", "@Override\n\tpublic void setValue(Object object) {\n\n\t}", "public static Object convertToDataTransferObject(Object dto, String prefix, Map<String, Object> record,\n Class<?> dtoType, String[] filter) {\n if (null != record && null != dtoType) {\n if (null == dto) {\n dto = newDataTransferObjectInstance(dtoType);\n }\n List<Field> dtoFields = ObjectUtils.getFields(dtoType, true);\n for (Field dtoField : dtoFields) {\n try {\n Object value = null;\n if (hasData(record, prefix, getEntityMappingFieldPath(dtoField))) {\n value = convertToFieldOfDataTransferObject(dto, prefix, record, dtoField, filter);\n }\n ObjectUtils.setValueForField(dto, dtoField.getName(), value, true);\n } catch (IllegalAccessException e) {\n throw new FieldInaccessibleException(\"Cannot set value for field \"\n + dtoType.getSimpleName() + \".\" + dtoField.getName(), e);\n }\n }\n }\n return dto;\n }", "@Test\n public void testConvertComputerToComputerDTO() {\n ComputerDTO computerDTO = new ComputerDTO();\n computerDTO.setId(1);\n computerDTO.setName(\"test\");\n ComputerDTO computerResult = DTOMapper.fromComputer(new Computer.Builder(\"test\").id(1L).build());\n assertEquals(computerDTO, computerResult);\n }", "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "@Override\n public void setField (String fieldToModify, String value, Double duration) {\n\n }", "public void setValue(T value) {\n/* 134 */ this.value = value;\n/* */ }", "@Test(expected=AssertionError.class)\n\tpublic void testPassInvalidToSettersAddress() {\n\t\tbeanTester.testSetterForField(\"invalid\");\n\t}", "void setObjectValue(Object dataObject);", "@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}", "@Test\n public void testSetTotalTime() {\n System.out.println(\"setTotalTime\");\n String totalTime = \"1234658878787\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setTotalTime(totalTime);\n\n String expResult = totalTime;\n String result = instance.getTotalTime();\n assertEquals(expResult, result);\n }", "public NullableResponse(T value) {\n\t\tthis.value = value;\n\t}", "@Test\n public void testSetPathHtml() {\n System.out.println(\"setPathHtml\");\n String pathHtml = \"www.google.com\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setPathHtml(pathHtml);\n String expResult = pathHtml;\n String result = instance.getPathHtml();\n assertEquals(expResult, result);\n }", "public void setValue(T value) {\n/* 89 */ this.value = value;\n/* */ }", "@Test\n public void testWebClientRegServerAccessParamsDtoSetterAndGetter()\n {\n RegServerAccessParamsDto regServerAccessParamsDto = new RegServerAccessParamsDto();\n regServerAccessParamsDto.setRegServerHost(WEB_SERVICE_HOSTNAME);\n regServerAccessParamsDto.setRegServerPort(WEB_SERVICE_HTTPS_PORT);\n regServerAccessParamsDto.setUseSsl(true);\n regServerAccessParamsDto.setUsername(WEB_SERVICE_HTTPS_USERNAME);\n regServerAccessParamsDto.setPassword(WEB_SERVICE_HTTPS_PASSWORD);\n\n // Set the DTO.\n downloaderWebClient.setRegServerAccessParamsDto(regServerAccessParamsDto);\n\n // Retrieve the DTO and validate the results.\n RegServerAccessParamsDto resultRegServerAccessParamsDto = downloaderWebClient.getRegServerAccessParamsDto();\n\n // validate the results.\n assertEquals(WEB_SERVICE_HOSTNAME, resultRegServerAccessParamsDto.getRegServerHost());\n assertEquals(WEB_SERVICE_HTTPS_PORT, resultRegServerAccessParamsDto.getRegServerPort());\n assertTrue(resultRegServerAccessParamsDto.getUseSsl());\n assertEquals(WEB_SERVICE_HTTPS_USERNAME, resultRegServerAccessParamsDto.getUsername());\n assertEquals(WEB_SERVICE_HTTPS_PASSWORD, resultRegServerAccessParamsDto.getPassword());\n }", "public void setValue(final Object value) { _value = value; }", "public void setPageDto(PageDto pageDto) {\n this.pageDto=pageDto;\n }", "public void setValue(T value) {\n this.value = value;\n }", "public void setValue(Object val);", "@Override\n\tpublic void setValue(Object object) {\n\t\t\n\t}", "void setValue(Object value);", "public Customer CopyDtoToEntity(CustomerInput userDto){\n Customer user = new Customer();\n user.setId(userDto.getId());\n user.setFirst_name(userDto.getFirst_name());\n user.setLast_name(userDto.getLast_name());\n user.setEmail(userDto.getEmail());\n user.setAddress_id(userDto.getAddress_id());\n user.setActive(userDto.getActive());\n user.setCreate_date(getCurrentDateTime());\n // user.setCreate_date(getCurrentDateTime());\n return user;\n }" ]
[ "0.76119417", "0.6410523", "0.6352329", "0.629028", "0.62071323", "0.61054677", "0.59315574", "0.5893746", "0.58781576", "0.5864869", "0.581781", "0.57737356", "0.575143", "0.5743864", "0.5732492", "0.5697433", "0.56856525", "0.565059", "0.5640107", "0.56378615", "0.5635913", "0.5607468", "0.560492", "0.56011105", "0.55651563", "0.5542655", "0.5531494", "0.55180573", "0.5507673", "0.5483516", "0.5482589", "0.54820436", "0.54817146", "0.5478189", "0.54760534", "0.5469793", "0.5468797", "0.5468721", "0.54621047", "0.54545695", "0.54545695", "0.5450647", "0.5450043", "0.5436933", "0.5431025", "0.5429107", "0.5412269", "0.5406071", "0.53924716", "0.53911424", "0.53834724", "0.53714645", "0.5364471", "0.5362364", "0.5360671", "0.53428006", "0.534253", "0.5335209", "0.53283393", "0.5326538", "0.5326372", "0.5305984", "0.53049344", "0.5304135", "0.5303342", "0.52849597", "0.5282564", "0.5281421", "0.5278851", "0.52765197", "0.5270475", "0.5265848", "0.52633905", "0.5246037", "0.524544", "0.5236387", "0.5235542", "0.5234721", "0.52280945", "0.5226567", "0.52242607", "0.52231866", "0.5223131", "0.52224356", "0.522169", "0.5217731", "0.5212784", "0.52104145", "0.52101886", "0.52057344", "0.5204444", "0.52038366", "0.5202655", "0.5200326", "0.5199515", "0.5198959", "0.51978165", "0.518835", "0.5187175", "0.51814926", "0.5181125" ]
0.0
-1
simple getter for dto.
public String getOmschrijving() { return omschrijving; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PropertyDefDto getDto();", "private static String getStringValueFromGetter(Object dto, PropertyDescriptor propertyDescriptor) {\n Method method = propertyDescriptor.getReadMethod();\n String value = \"\";\n\n try {\n value = (String) method.invoke(dto, new Object[]{});\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n } catch (InvocationTargetException e) {\n e.printStackTrace();\n }\n return value;\n }", "public default D toDto(E entity) {\n\t\tif (entity == null) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\treturn DtoUtilService.staticDtoFromEntity(getDtoClass(), entity);\n\t\t}\n\t}", "public ModelDto getModelDto() {\r\n\t\tlog.debug(\" getter modelDto=\"+modelDto);\r\n\t\treturn modelDto;\r\n\t}", "public ConnectionDTO getDto() {\n return dto;\n }", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public abstract D convertToDto(T entity);", "V toDto(E entity);", "public MyNoteDto getCurrentMyNoteDto();", "public GrupoDTO getDto() {\n\t\treturn this.dto;\n\t}", "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "public DTOType getDTOType() {\n return DTO_TYPE;\n }", "public abstract T convertToEntity(D dto);", "@Override\n @Transactional\n public D getDtoById(D dto, E entity, Integer id) throws MedragServiceException {\n E entityById = null;\n try {\n entityById = entityDao.getEntityById(entity, id);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n return (D) new ModelMapper().map(entityById, dto.getClass());\n }", "D mapToDTO(E entity);", "public GetUsuarioDTO convierteDTO(Integer id){\n Optional<Usuario> usuario = usuarioRepository.findById(id);\n return usuario.map(usuarioDTOConverter::convertToDTO).orElseThrow(()->new UsuarioNotFoundException(id));\n }", "@Override\r\n\tpublic TableDTO getDTO(Table entity) {\n\t\treturn null;\r\n\t}", "public abstract DTO toDTO(M model);", "@Override\n\tpublic BaseFWDTOImpl toDTO() {\n\t\treturn null;\n\t}", "E mapToEntity(D dto);", "@Override\n @Transactional(readOnly = true)\n public Optional<DomainValueDTO> findOne(Long id) {\n log.debug(\"Request to get DomainValue : {}\", id);\n return domainValueRepository.findById(id)\n .map(domainValueMapper::toDto);\n }", "public Object decorate(Object dtoValue) {\r\n return dtoValue;\r\n }", "public PersonaDTO obtenerPersona(Long idPersona) throws CustomErrorException {\n\t\tPersonaDTO personaDTO = new PersonaDTO();\n\t\ttry {\n\t\t\tpersonaDTO = Converter.toDto((Persona) gPersona.getById(idPersona)); \n\t\t} catch (CustomErrorException cer) {\n\t\t\tthrow cer;\n\t\t} catch (Exception e) {\n\t\t\tthrow new CustomErrorException(CustomErrorException.ERROR_SERVICIO,this.getClass().getSimpleName(),e.getStackTrace());\n\t\t}\n\n\t\treturn personaDTO;\n\t}", "public abstract M toModel(DTO dto);", "public static EmployeeDTO valueOf(Employee employee){\n EmployeeDTO employeeDTO = new EmployeeDTO();\n BeanUtils.copyProperties(employee, employeeDTO);\n// employeeDto.setId( employee.getId() );\n// employeeDto.setFirstName( employee.getFirstName() );\n\n return employeeDTO;\n\n }", "@Override\n @Transactional\n public D getDtoByNaturalId(D dto, E entity, String id) throws MedragServiceException {\n E result = null;\n try {\n result = entityDao.getEntityByNaturalId(entity, id);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n if (result == null) {\n return null;\n } else {\n return (D) new ModelMapper().map(result, dto.getClass());\n }\n }", "public HojaDeVidaDTO getHojaDeVida() {return hojaDeVida;}", "public static CustomerDetailsDto getCustomerDetailsDto() {\n\t\treturn new CustomerDetailsDto();\n\t}", "public PageDto getPageDto() {\n return pageDto;\n }", "@Override\n\tpublic MemberDTO getMember(MemberDTO mdto) {\n\t\treturn mdao.getMember(mdto);\n\t}", "public DtoType getDto(EntityType entity, Class<DtoType> myClass) throws ClassNotFoundException, InstantiationException, IllegalAccessException;", "public DTO getInstanceDTO(M model, Class<DTO> dtoClass) {\n\n DTO modelDTO = null;\n\n EntityUtil entityUtil = new EntityUtil();\n\n try {\n\n modelDTO = entityUtil.copyEntity(model, dtoClass.getConstructor().newInstance());\n\n } catch (InstantiationException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (IllegalAccessException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (InvocationTargetException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (NoSuchMethodException e) {\n LogManager.getLog(this.getClass()).warn(e);\n }\n\n return modelDTO;\n }", "public final UnitDTO getDTO(Player player) {\n if (player == Player.SYSTEM || this.isDetected(player)) {\n return new UnitDTO(this.getId(),\n this.details.getId(),\n this.owner.getDTO(),\n this.currentHitPoints,\n this.details.getMaxHitPoints(),\n this.currentMovementAllowance,\n this.details.getMaxMovementAllowance(),\n this.isCloaked(),\n this.getUnitType());\n }\n return null;\n }", "E toEntity(V dto);", "@Override\n\tpublic UsersDto getData(String id) {\n\t\tUsersDto dto=session.selectOne(\"users.getData\",id);\n\t\treturn dto;\n\t}", "public void setDto(PropertyDefDto dto);", "@Transactional(readOnly = true)\n public Optional<DRkDTO> findOne(Long id) {\n log.debug(\"Request to get DRk : {}\", id);\n return dRkRepository.findById(id).map(dRkMapper::toDto);\n }", "public Dto() {\n \t\n }", "@Override\n public AlunoDTO findOne(String id) {\n log.debug(\"Request to get Aluno : {}\", id);\n Aluno aluno = alunoRepository.findOne(id);\n return alunoMapper.toDto(aluno);\n }", "@Transactional(readOnly = true)\n public Optional<GeoTypeCommuneDTO> findOne(Long id) {\n log.debug(\"Request to get GeoTypeCommune : {}\", id);\n return geoTypeCommuneRepository.findById(id)\n .map(geoTypeCommuneMapper::toDto);\n }", "public static UserDto getUserDtoById(Integer id) {\n\t\t// create a new UserDaoImpl\n\t\tud = new UserDaoImpl();\n\t\tlogger.info(\"UserDaoImpl created\");\n\n\t\t// get the record that with id as the primary key as a User Object\n\t\tUser user = ud.selectUserById(id);\n\t\tlogger.info(\"User selected from database\");\n\t\tlogger.debug(\"User: \" + user);\n\t\t// create the UserDto\n\t\tUserDto usr = new UserDto(user.getId(), user.getUsername(), user.getfName(), user.getlName(), user.getPriv(),\n\t\t\t\tuser.getActivation());\n\t\tlogger.info(\"UserDto created\");\n\t\tlogger.debug(\"UserDto: \" + usr);\n\t\tlogger.info(\"Returning UserDto\");\n\t\t// return the UserDto\n\t\treturn usr;\n\n\t}", "public static EtudiantDto toDto(Etudiant stud) {\n\t\tUserDto uDto = UserDto.toUserDto(stud.getUser());\n\t\tEtudiantDto studDto = new EtudiantDto(stud.getId(), stud.getNom(), stud.getPrenom(), stud.getEmail(), stud.getTel(), uDto);\n\t\treturn studDto;\n\t}", "public AtendimentoJuridicoDTO toDTO(AtendimentoJuridicoEntity entity){\n\t\tAtendimentoJuridicoDTO dto = new AtendimentoJuridicoDTO();\n\t\tBeanUtils.copyProperties(entity, dto); \n\t\treturn dto ;\n\t}", "@Override\r\n\tpublic PersonneDTO getOnePersonne(Long idPersonne) {\n\t\treturn daoPersonne.getOnePersonne(idPersonne);\r\n\t}", "private static PlayerDto getPlayerDto(Player player) {\n return player != null ? PlayerDto.builder()._id(player.get_id()).build() : null;\n }", "@Transactional(readOnly = true)\n public DeviceDTO findOne(Long id) {\n log.debug(\"Request to get Device : {}\", id);\n Device device = deviceRepository.findOne(id);\n DeviceDTO deviceDTO = deviceMapper.deviceToDeviceDTO(device);\n return deviceDTO;\n }", "@Override\n public Optional<DuLieuBaoCaoDTO> findOne(String id) {\n log.debug(\"Request to get DuLieuBaoCao : {}\", id);\n return duLieuBaoCaoRepository.findById(id)\n .map(duLieuBaoCaoMapper::toDto);\n }", "public Optional<PortDTO> findOne(Long id) {\n log.debug(\"Request to get Port : {}\", id);\n return Port.findByIdOptional(id)\n .map(port -> portMapper.toDto((Port) port)); \n }", "public static LandDetailsDto getLandDetailsDto() {\n\t\treturn new LandDetailsDto();\n\t}", "RunDTO toDto(Run run) {\n RunDTO result = new RunDTO();\n result.setId(0L);\n if (null != run) {\n this.fillDto(result, run);\n }\n return result;\n }", "public static ProductDetailsDto getProductDetailsDto() {\n\t\treturn new ProductDetailsDto();\n\t}", "public EntityType getCreateEntity(DtoType dto) throws ClassNotFoundException, InstantiationException, IllegalAccessException;", "public ch.ivyteam.ivy.scripting.objects.List<ch.ivyteam.ivy.admin.tool.security.UserDTO> getUserDTO()\n {\n return userDTO;\n }", "ClientDTO findOne(final Long id);", "@Override\n @Transactional(readOnly = true)\n public CostoDTO findOne(Long id) {\n log.debug(\"Request to get Costo : {}\", id);\n Costo costo = costoRepository.findOne(id);\n return costoMapper.toDto(costo);\n }", "@Transactional(readOnly = true)\n public Optional<DisabilityTypeDTO> findOne(Long id) {\n log.debug(\"Request to get DisabilityType : {}\", id);\n return disabilityTypeRepository.findById(id)\n .map(disabilityTypeMapper::toDto);\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<DqStandardDetailsEntityTimeDTO> findOne(Long id) {\n log.debug(\"Request to get DqStandardDetailsEntityTime : {}\", id);\n return dqStandardDetailsEntityTimeRepository.findById(id)\n .map(dqStandardDetailsEntityTimeMapper::toDto);\n }", "public MemberDto copyEntityToDto(Member entity, MemberDto dto) {\r\n reflectMemberIdToDto(entity, dto);\r\n reflectMemberNameToDto(entity, dto);\r\n reflectFormalizedDatetimeToDto(entity, dto);\r\n reflectUpdateDatetimeToDto(entity, dto);\r\n\r\n return dto;\r\n }", "public IBaseDTO getDepartment(String id) {\n\t\tIBaseDTO dto=new DynaBeanDTO();\n\t\tSysDepartment sd=(SysDepartment)dao.loadEntity(SysDepartment.class,id);\n\t\t\n\t\tdto.set(\"id\",sd.getId());\n\t\tdto.set(\"name\",sd.getName());\n\t\tdto.set(\"parentId\",sd.getParentId());\n\t\tdto.set(\"remark\",sd.getRemarks());\n\t\tdto.set(\"tagShow\",sd.getTagShow());\n\t\tdto.set(\"admin\",sd.getAdmin());\n\t\treturn dto;\n\t}", "@Override\n\tpublic MstCustomerDto getOne(String kdCustomer) {\n\t\tMstCustomerDto mstCustomerDto=new MstCustomerDto();\n\t\tMstCustomer mstCustomer = new MstCustomer();\n\t\tmstCustomer=mstCustomerDao.getOne(kdCustomer);\n\t\tmstCustomerDto = mapperFacade.map(mstCustomer, MstCustomerDto.class);\n\t\t\n\t\treturn mstCustomerDto;\n\t}", "public ConfigSimpleValueDTO getSimpleValueProperty(final String name) {\n \t\treturn simpleProperties.get(name);\n \t}", "private CategoryDTO getCategoryDto(){\n\t\tCategoryDTO category = new CategoryDTO(Long.valueOf(1L), \"categoryName\", \"categoryDesc\");\n\t\treturn category;\n\t}", "protected abstract void processDTO();", "default ShopDTO entityToDto(Shop entity) {\n ShopDTO dto = ShopDTO.builder()\n .productID(entity.getProductID())\n .product(entity.getProduct())\n .image(entity.getImage())\n .content(entity.getContent())\n .price(entity.getPrice())\n .count(entity.getCount())\n .regDate(entity.getRegDate())\n .modDate(entity.getModDate())\n .build();\n return dto;\n }", "StudentDTO toStudentDTO(Student student);", "public static RoomDTO newDTO() {\n\n RoomDTO roomDTO = new RoomDTO();\n return roomDTO;\n }", "public Member copyDtoToEntity(MemberDto dto, Member entity) {\r\n reflectFormalizedDatetimeToEntity(dto, entity);\r\n reflectMemberIdToEntity(dto, entity);\r\n reflectMemberNameToEntity(dto, entity);\r\n reflectUpdateDatetimeToEntity(dto, entity);\r\n\r\n return entity;\r\n }", "public static SystemDTO entityToDTO(final System entity){\n\t\tfinal SystemDTO result = new SystemDTO();\n\t\t\n\t\tresult.setCode(entity.getCode());\n\t\tresult.setName(entity.getName());\n\t\tresult.setId(entity.getId());\n\t\t\n\t\treturn result;\n\t}", "@Override\n protected E dtoToEntity( final D dto )\n {\n Objects.requireNonNull( dto, \"dto argument cannot be null\" );\n final E entity = super.dtoToEntity( dto );\n /*\n * Convert the notes source ID to UUID\n */\n if ( dto instanceof NotesSourceIdContainer &&\n entity instanceof NotesSourceUuidContainer )\n {\n final NotesSourceIdContainer notesSourceIdContainer = (NotesSourceIdContainer) dto;\n /*\n * Check for new sources\n */\n this.stockNoteSourceService.checkForNewSource( notesSourceIdContainer );\n final NotesSourceUuidContainer notesSourceUuidContainer = (NotesSourceUuidContainer)entity;\n /*\n * Convert the String UUID to a real uuid if present\n */\n if ( notesSourceIdContainer.getNotesSourceId() != null &&\n !notesSourceIdContainer.getNotesSourceId().isEmpty() )\n {\n final StockNoteSourceEntity stockNoteSourceEntity = this.stockNoteSourceService\n .getStockNoteSource( ((CustomerUuidContainer)entity).getCustomerUuid(),\n notesSourceIdContainer.getNotesSourceId() );\n notesSourceUuidContainer.setNotesSourceEntity( stockNoteSourceEntity );\n }\n }\n //logMethodEnd( methodName, entity );\n return entity;\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<DepositoryInfoDTO> findOne(Long id) {\n log.debug(\"Request to get DepositoryInfo : {}\", id);\n return depositoryInfoRepository.findById(id)\n .map(depositoryInfoMapper::toDto);\n }", "public static UserDTOEx getUserDTO(String username, Integer entityId)\r\n \t\t\tthrows NamingException, SessionInternalError {\r\n \r\n \t\tLOG.debug(\"getting the user \" + username);\r\n \r\n \t\tUserDTO user = new UserDAS().findByUserName(username, entityId);\r\n \t\tif (user == null)\r\n \t\t\treturn null;\r\n \t\treturn getUserDTOEx(user);\r\n \t}", "@Override\n public RecipeEntity getRecipeDto(long id)\n {\n return this.load(RecipeEntity.class, id);\n }", "@Override\n\tpublic List<PermissionDto> getPermission() {\n\t\tList<PermissionDto> dto = permissionRepository.findAll().stream().map(permission -> {\n\t\t\tPermissionDto permissionDto = new PermissionDto();\n\t\t\tBeanUtils.copyProperties(permission, permissionDto);\n\t\t\treturn permissionDto;\n\t\t}).collect(Collectors.toList());\n\t\treturn dto;\n\t}", "public Value makeGetter() {\n Value r = new Value(this);\n r.getters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "@Override\n @Transactional(readOnly = true)\n public JeuDTO findOne(Long id) {\n log.debug(\"Request to get Jeu : {}\", id);\n Jeu jeu = jeuRepository.findOne(id);\n return jeuMapper.toDto(jeu);\n }", "public static ReadingDTO mapToDTO(Reading reading) {\n if (Objects.isNull(reading)) {\n return null;\n }\n ReadingDTO dto = newReadingDTO();\n dto.setDateTime(reading.getDateTime());\n dto.setValue(reading.getValue());\n return dto;\n }", "Optional<VitalDTO> findOne(Long id);", "@Override\n @Transactional(readOnly = true)\n public Optional<FonctionsDTO> findOne(Long id) {\n log.debug(\"Request to get Fonctions : {}\", id);\n return fonctionsRepository.findById(id)\n .map(fonctionsMapper::toDto);\n }", "public PersonDto findById(String id) {\n Optional<Person> model = Optional.empty();\n return model\n .map(personMapper::toDto)\n .orElse(null);\n }", "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "PeopleDTO findOne(Long id);", "public synchronized StateDTO getStateDTOByStateID(int stateID)\n\t{\n\t\treturn StateDTOByStateID.get(stateID);\n\t}", "Optional<ChatDTO> findOne(Long id);", "public BUserDto convertEntityToDto(BUser entity){\n\t\tBUserDto dto = new BUserDto();\n\t\tif(entity!=null){\n\t\t\tdto.setId(entity.getId());\n\t\t\tdto.setUsername(entity.getUsername());\n\t\t}\n\t\treturn dto;\n\t}", "@Override\n public CategoryDTO get(Long id) {\n Category category = categoryRepository.findById(id).get();\n CategoryDTO result = categoryConverter.toDTO(category);\n return result;\n }", "@Override\n @Transactional\n public List<D> getDtoList(D dto, E entity, String... args) throws MedragServiceException {\n List<E> entityList;\n try {\n entityList = entityDao.getEntityList(entity, args);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n List<D> dtoList = new ArrayList<>();\n entityList.forEach(e -> dtoList.add((D) new ModelMapper().map(e, dto.getClass())));\n return dtoList;\n }", "@Override\n @Transactional(readOnly = true)\n public SintomaDTO findOne(Long id) {\n log.debug(\"Request to get Sintoma : {}\", id);\n Sintoma sintoma = sintomaRepository.findOne(id);\n return sintomaMapper.toDto(sintoma);\n }", "Optional<TypeBonDTO> findOne(Long id);", "PersonaDTO PersonaToPersonaDTO(Persona persona);", "@Override\n\tpublic ExamDTO toDto(Exam exam) {\n\t\treturn null;\n\t}", "@Deprecated\n CreatePdvDto(){}", "@Transactional(readOnly = true)\n public Optional<KohnegiDTO> findOne(Long id) {\n log.debug(\"Request to get Kohnegi : {}\", id);\n return kohnegiRepository.findById(id)\n .map(kohnegiMapper::toDto);\n }", "public PersonaDTO(){}", "Optional<ConsultationInfoDTO> findOne(Long id);", "@Override\n @Transactional(readOnly = true)\n public Optional<OrdreDTO> findOne(Long id) {\n log.debug(\"Request to get Ordre : {}\", id);\n return ordreRepository.findById(id)\n .map(ordreMapper::toDto);\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<StudenteDTO> findOne(Long id) {\n log.debug(\"Request to get Studente : {}\", id);\n return studenteRepository.findOneWithEagerRelationships(id)\n .map(studenteMapper::toDto);\n }", "public UserDto get(String username) {\n\t\tUser delcheck = userRepository.findByUname(username);\n\t\tif(delcheck.isDeleted() == true){\n\t\t\treturn null;\n\t\t} else {\n\t\treturn userMapper.toUserDto(userRepository.findByUname(username));\n\t\t}\n\t}", "@Override\n public MemberDTO findOne(@PathVariable(\"id\") Long id) {\n return MemberDTO.builder().build();\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<LinhvucDTO> findOne(Long id) {\n log.debug(\"Request to get Linhvuc : {}\", id);\n return linhvucRepository.findById(id)\n .map(linhvucMapper::toDto);\n }", "public static UserDTO getUserDTO(UserEntity userEntity) {\n\t\tUserDTO dto = null;\n\t\tif (userEntity != null) {\n\t\t\tdto = new UserDTO();\n\n\t\t\tdto.setUserId(userEntity.getUserId());\n\t\t\tdto.setInsertDate(userEntity.getInsertDate());\n\t\t\tdto.setUpdateDate(userEntity.getUpdateDate());\n\t\t\tdto.setName(userEntity.getUserName());\n\t\t\tdto.setEmail(userEntity.getUserEmail());\n\t\t\tdto.setPassword(userEntity.getUserPassword());\n\t\t\tdto.setIsActive(userEntity.getIsActive());\n\t\t\tdto.setLastLogin(userEntity.getLastLogin());\n\t\t}\n\t\treturn dto;\n\t}", "public ClientPropertyDto mapToDto(ClientProperty property)\r\n\t{\r\n\t\tClientPropertyDto dto = new ClientPropertyDto();\r\n\t\tdto.setKey(property.getKey());\r\n\t\tdto.setValue(property.getValue());\r\n\t\tdto.setId(property.getId());\r\n\t\tdto.setDelete(false);\r\n\t\tdto.setClient(clientMapper.mapToDto(property.getClient()));\r\n\r\n\t\treturn dto;\r\n\t}" ]
[ "0.750052", "0.6922713", "0.6722928", "0.6692394", "0.6610001", "0.6593924", "0.6535411", "0.64553237", "0.6443894", "0.64043105", "0.63509184", "0.63398", "0.630666", "0.62680525", "0.6221788", "0.6196468", "0.6168907", "0.61005807", "0.60247016", "0.6019676", "0.6016837", "0.59987855", "0.59814554", "0.59800965", "0.5976745", "0.59513575", "0.59479815", "0.5905277", "0.59033567", "0.5853992", "0.5812538", "0.58116066", "0.5805847", "0.5799475", "0.57918125", "0.57715493", "0.57642066", "0.576363", "0.5756595", "0.574824", "0.57472914", "0.57382715", "0.5730702", "0.5727574", "0.5724504", "0.5713369", "0.5707039", "0.5686385", "0.5686144", "0.5676745", "0.56740135", "0.5670403", "0.5670103", "0.5635526", "0.5632137", "0.56230634", "0.5621788", "0.561638", "0.56161183", "0.56120265", "0.56098706", "0.56070954", "0.56069803", "0.56022966", "0.55926025", "0.5590903", "0.55866116", "0.55840033", "0.5578609", "0.5577382", "0.55741215", "0.5569932", "0.5569236", "0.5568142", "0.5559612", "0.55547214", "0.55535096", "0.55525273", "0.5543926", "0.55357355", "0.55286044", "0.55230534", "0.552022", "0.55201566", "0.5517611", "0.55156547", "0.5502559", "0.55007815", "0.54981995", "0.549467", "0.5494148", "0.5493477", "0.54920584", "0.548396", "0.54831487", "0.54823476", "0.5482163", "0.5469235", "0.5465598", "0.54647005", "0.54638755" ]
0.0
-1
simple getter for dto.
public Date getDatumOpladen() { if (datumOpladen != null) { return (Date) datumOpladen.clone(); } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PropertyDefDto getDto();", "private static String getStringValueFromGetter(Object dto, PropertyDescriptor propertyDescriptor) {\n Method method = propertyDescriptor.getReadMethod();\n String value = \"\";\n\n try {\n value = (String) method.invoke(dto, new Object[]{});\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n } catch (InvocationTargetException e) {\n e.printStackTrace();\n }\n return value;\n }", "public default D toDto(E entity) {\n\t\tif (entity == null) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\treturn DtoUtilService.staticDtoFromEntity(getDtoClass(), entity);\n\t\t}\n\t}", "public ModelDto getModelDto() {\r\n\t\tlog.debug(\" getter modelDto=\"+modelDto);\r\n\t\treturn modelDto;\r\n\t}", "public ConnectionDTO getDto() {\n return dto;\n }", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public abstract D convertToDto(T entity);", "V toDto(E entity);", "public MyNoteDto getCurrentMyNoteDto();", "public GrupoDTO getDto() {\n\t\treturn this.dto;\n\t}", "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "public DTOType getDTOType() {\n return DTO_TYPE;\n }", "public abstract T convertToEntity(D dto);", "@Override\n @Transactional\n public D getDtoById(D dto, E entity, Integer id) throws MedragServiceException {\n E entityById = null;\n try {\n entityById = entityDao.getEntityById(entity, id);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n return (D) new ModelMapper().map(entityById, dto.getClass());\n }", "D mapToDTO(E entity);", "public GetUsuarioDTO convierteDTO(Integer id){\n Optional<Usuario> usuario = usuarioRepository.findById(id);\n return usuario.map(usuarioDTOConverter::convertToDTO).orElseThrow(()->new UsuarioNotFoundException(id));\n }", "@Override\r\n\tpublic TableDTO getDTO(Table entity) {\n\t\treturn null;\r\n\t}", "public abstract DTO toDTO(M model);", "@Override\n\tpublic BaseFWDTOImpl toDTO() {\n\t\treturn null;\n\t}", "E mapToEntity(D dto);", "@Override\n @Transactional(readOnly = true)\n public Optional<DomainValueDTO> findOne(Long id) {\n log.debug(\"Request to get DomainValue : {}\", id);\n return domainValueRepository.findById(id)\n .map(domainValueMapper::toDto);\n }", "public Object decorate(Object dtoValue) {\r\n return dtoValue;\r\n }", "public PersonaDTO obtenerPersona(Long idPersona) throws CustomErrorException {\n\t\tPersonaDTO personaDTO = new PersonaDTO();\n\t\ttry {\n\t\t\tpersonaDTO = Converter.toDto((Persona) gPersona.getById(idPersona)); \n\t\t} catch (CustomErrorException cer) {\n\t\t\tthrow cer;\n\t\t} catch (Exception e) {\n\t\t\tthrow new CustomErrorException(CustomErrorException.ERROR_SERVICIO,this.getClass().getSimpleName(),e.getStackTrace());\n\t\t}\n\n\t\treturn personaDTO;\n\t}", "public abstract M toModel(DTO dto);", "public static EmployeeDTO valueOf(Employee employee){\n EmployeeDTO employeeDTO = new EmployeeDTO();\n BeanUtils.copyProperties(employee, employeeDTO);\n// employeeDto.setId( employee.getId() );\n// employeeDto.setFirstName( employee.getFirstName() );\n\n return employeeDTO;\n\n }", "@Override\n @Transactional\n public D getDtoByNaturalId(D dto, E entity, String id) throws MedragServiceException {\n E result = null;\n try {\n result = entityDao.getEntityByNaturalId(entity, id);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n if (result == null) {\n return null;\n } else {\n return (D) new ModelMapper().map(result, dto.getClass());\n }\n }", "public HojaDeVidaDTO getHojaDeVida() {return hojaDeVida;}", "public static CustomerDetailsDto getCustomerDetailsDto() {\n\t\treturn new CustomerDetailsDto();\n\t}", "public PageDto getPageDto() {\n return pageDto;\n }", "@Override\n\tpublic MemberDTO getMember(MemberDTO mdto) {\n\t\treturn mdao.getMember(mdto);\n\t}", "public DtoType getDto(EntityType entity, Class<DtoType> myClass) throws ClassNotFoundException, InstantiationException, IllegalAccessException;", "public DTO getInstanceDTO(M model, Class<DTO> dtoClass) {\n\n DTO modelDTO = null;\n\n EntityUtil entityUtil = new EntityUtil();\n\n try {\n\n modelDTO = entityUtil.copyEntity(model, dtoClass.getConstructor().newInstance());\n\n } catch (InstantiationException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (IllegalAccessException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (InvocationTargetException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (NoSuchMethodException e) {\n LogManager.getLog(this.getClass()).warn(e);\n }\n\n return modelDTO;\n }", "public final UnitDTO getDTO(Player player) {\n if (player == Player.SYSTEM || this.isDetected(player)) {\n return new UnitDTO(this.getId(),\n this.details.getId(),\n this.owner.getDTO(),\n this.currentHitPoints,\n this.details.getMaxHitPoints(),\n this.currentMovementAllowance,\n this.details.getMaxMovementAllowance(),\n this.isCloaked(),\n this.getUnitType());\n }\n return null;\n }", "E toEntity(V dto);", "@Override\n\tpublic UsersDto getData(String id) {\n\t\tUsersDto dto=session.selectOne(\"users.getData\",id);\n\t\treturn dto;\n\t}", "public void setDto(PropertyDefDto dto);", "@Transactional(readOnly = true)\n public Optional<DRkDTO> findOne(Long id) {\n log.debug(\"Request to get DRk : {}\", id);\n return dRkRepository.findById(id).map(dRkMapper::toDto);\n }", "public Dto() {\n \t\n }", "@Override\n public AlunoDTO findOne(String id) {\n log.debug(\"Request to get Aluno : {}\", id);\n Aluno aluno = alunoRepository.findOne(id);\n return alunoMapper.toDto(aluno);\n }", "@Transactional(readOnly = true)\n public Optional<GeoTypeCommuneDTO> findOne(Long id) {\n log.debug(\"Request to get GeoTypeCommune : {}\", id);\n return geoTypeCommuneRepository.findById(id)\n .map(geoTypeCommuneMapper::toDto);\n }", "public static UserDto getUserDtoById(Integer id) {\n\t\t// create a new UserDaoImpl\n\t\tud = new UserDaoImpl();\n\t\tlogger.info(\"UserDaoImpl created\");\n\n\t\t// get the record that with id as the primary key as a User Object\n\t\tUser user = ud.selectUserById(id);\n\t\tlogger.info(\"User selected from database\");\n\t\tlogger.debug(\"User: \" + user);\n\t\t// create the UserDto\n\t\tUserDto usr = new UserDto(user.getId(), user.getUsername(), user.getfName(), user.getlName(), user.getPriv(),\n\t\t\t\tuser.getActivation());\n\t\tlogger.info(\"UserDto created\");\n\t\tlogger.debug(\"UserDto: \" + usr);\n\t\tlogger.info(\"Returning UserDto\");\n\t\t// return the UserDto\n\t\treturn usr;\n\n\t}", "public static EtudiantDto toDto(Etudiant stud) {\n\t\tUserDto uDto = UserDto.toUserDto(stud.getUser());\n\t\tEtudiantDto studDto = new EtudiantDto(stud.getId(), stud.getNom(), stud.getPrenom(), stud.getEmail(), stud.getTel(), uDto);\n\t\treturn studDto;\n\t}", "public AtendimentoJuridicoDTO toDTO(AtendimentoJuridicoEntity entity){\n\t\tAtendimentoJuridicoDTO dto = new AtendimentoJuridicoDTO();\n\t\tBeanUtils.copyProperties(entity, dto); \n\t\treturn dto ;\n\t}", "@Override\r\n\tpublic PersonneDTO getOnePersonne(Long idPersonne) {\n\t\treturn daoPersonne.getOnePersonne(idPersonne);\r\n\t}", "private static PlayerDto getPlayerDto(Player player) {\n return player != null ? PlayerDto.builder()._id(player.get_id()).build() : null;\n }", "@Transactional(readOnly = true)\n public DeviceDTO findOne(Long id) {\n log.debug(\"Request to get Device : {}\", id);\n Device device = deviceRepository.findOne(id);\n DeviceDTO deviceDTO = deviceMapper.deviceToDeviceDTO(device);\n return deviceDTO;\n }", "@Override\n public Optional<DuLieuBaoCaoDTO> findOne(String id) {\n log.debug(\"Request to get DuLieuBaoCao : {}\", id);\n return duLieuBaoCaoRepository.findById(id)\n .map(duLieuBaoCaoMapper::toDto);\n }", "public Optional<PortDTO> findOne(Long id) {\n log.debug(\"Request to get Port : {}\", id);\n return Port.findByIdOptional(id)\n .map(port -> portMapper.toDto((Port) port)); \n }", "public static LandDetailsDto getLandDetailsDto() {\n\t\treturn new LandDetailsDto();\n\t}", "RunDTO toDto(Run run) {\n RunDTO result = new RunDTO();\n result.setId(0L);\n if (null != run) {\n this.fillDto(result, run);\n }\n return result;\n }", "public static ProductDetailsDto getProductDetailsDto() {\n\t\treturn new ProductDetailsDto();\n\t}", "public EntityType getCreateEntity(DtoType dto) throws ClassNotFoundException, InstantiationException, IllegalAccessException;", "public ch.ivyteam.ivy.scripting.objects.List<ch.ivyteam.ivy.admin.tool.security.UserDTO> getUserDTO()\n {\n return userDTO;\n }", "ClientDTO findOne(final Long id);", "@Override\n @Transactional(readOnly = true)\n public CostoDTO findOne(Long id) {\n log.debug(\"Request to get Costo : {}\", id);\n Costo costo = costoRepository.findOne(id);\n return costoMapper.toDto(costo);\n }", "@Transactional(readOnly = true)\n public Optional<DisabilityTypeDTO> findOne(Long id) {\n log.debug(\"Request to get DisabilityType : {}\", id);\n return disabilityTypeRepository.findById(id)\n .map(disabilityTypeMapper::toDto);\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<DqStandardDetailsEntityTimeDTO> findOne(Long id) {\n log.debug(\"Request to get DqStandardDetailsEntityTime : {}\", id);\n return dqStandardDetailsEntityTimeRepository.findById(id)\n .map(dqStandardDetailsEntityTimeMapper::toDto);\n }", "public MemberDto copyEntityToDto(Member entity, MemberDto dto) {\r\n reflectMemberIdToDto(entity, dto);\r\n reflectMemberNameToDto(entity, dto);\r\n reflectFormalizedDatetimeToDto(entity, dto);\r\n reflectUpdateDatetimeToDto(entity, dto);\r\n\r\n return dto;\r\n }", "public IBaseDTO getDepartment(String id) {\n\t\tIBaseDTO dto=new DynaBeanDTO();\n\t\tSysDepartment sd=(SysDepartment)dao.loadEntity(SysDepartment.class,id);\n\t\t\n\t\tdto.set(\"id\",sd.getId());\n\t\tdto.set(\"name\",sd.getName());\n\t\tdto.set(\"parentId\",sd.getParentId());\n\t\tdto.set(\"remark\",sd.getRemarks());\n\t\tdto.set(\"tagShow\",sd.getTagShow());\n\t\tdto.set(\"admin\",sd.getAdmin());\n\t\treturn dto;\n\t}", "@Override\n\tpublic MstCustomerDto getOne(String kdCustomer) {\n\t\tMstCustomerDto mstCustomerDto=new MstCustomerDto();\n\t\tMstCustomer mstCustomer = new MstCustomer();\n\t\tmstCustomer=mstCustomerDao.getOne(kdCustomer);\n\t\tmstCustomerDto = mapperFacade.map(mstCustomer, MstCustomerDto.class);\n\t\t\n\t\treturn mstCustomerDto;\n\t}", "public ConfigSimpleValueDTO getSimpleValueProperty(final String name) {\n \t\treturn simpleProperties.get(name);\n \t}", "private CategoryDTO getCategoryDto(){\n\t\tCategoryDTO category = new CategoryDTO(Long.valueOf(1L), \"categoryName\", \"categoryDesc\");\n\t\treturn category;\n\t}", "protected abstract void processDTO();", "default ShopDTO entityToDto(Shop entity) {\n ShopDTO dto = ShopDTO.builder()\n .productID(entity.getProductID())\n .product(entity.getProduct())\n .image(entity.getImage())\n .content(entity.getContent())\n .price(entity.getPrice())\n .count(entity.getCount())\n .regDate(entity.getRegDate())\n .modDate(entity.getModDate())\n .build();\n return dto;\n }", "StudentDTO toStudentDTO(Student student);", "public static RoomDTO newDTO() {\n\n RoomDTO roomDTO = new RoomDTO();\n return roomDTO;\n }", "public Member copyDtoToEntity(MemberDto dto, Member entity) {\r\n reflectFormalizedDatetimeToEntity(dto, entity);\r\n reflectMemberIdToEntity(dto, entity);\r\n reflectMemberNameToEntity(dto, entity);\r\n reflectUpdateDatetimeToEntity(dto, entity);\r\n\r\n return entity;\r\n }", "public static SystemDTO entityToDTO(final System entity){\n\t\tfinal SystemDTO result = new SystemDTO();\n\t\t\n\t\tresult.setCode(entity.getCode());\n\t\tresult.setName(entity.getName());\n\t\tresult.setId(entity.getId());\n\t\t\n\t\treturn result;\n\t}", "@Override\n protected E dtoToEntity( final D dto )\n {\n Objects.requireNonNull( dto, \"dto argument cannot be null\" );\n final E entity = super.dtoToEntity( dto );\n /*\n * Convert the notes source ID to UUID\n */\n if ( dto instanceof NotesSourceIdContainer &&\n entity instanceof NotesSourceUuidContainer )\n {\n final NotesSourceIdContainer notesSourceIdContainer = (NotesSourceIdContainer) dto;\n /*\n * Check for new sources\n */\n this.stockNoteSourceService.checkForNewSource( notesSourceIdContainer );\n final NotesSourceUuidContainer notesSourceUuidContainer = (NotesSourceUuidContainer)entity;\n /*\n * Convert the String UUID to a real uuid if present\n */\n if ( notesSourceIdContainer.getNotesSourceId() != null &&\n !notesSourceIdContainer.getNotesSourceId().isEmpty() )\n {\n final StockNoteSourceEntity stockNoteSourceEntity = this.stockNoteSourceService\n .getStockNoteSource( ((CustomerUuidContainer)entity).getCustomerUuid(),\n notesSourceIdContainer.getNotesSourceId() );\n notesSourceUuidContainer.setNotesSourceEntity( stockNoteSourceEntity );\n }\n }\n //logMethodEnd( methodName, entity );\n return entity;\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<DepositoryInfoDTO> findOne(Long id) {\n log.debug(\"Request to get DepositoryInfo : {}\", id);\n return depositoryInfoRepository.findById(id)\n .map(depositoryInfoMapper::toDto);\n }", "public static UserDTOEx getUserDTO(String username, Integer entityId)\r\n \t\t\tthrows NamingException, SessionInternalError {\r\n \r\n \t\tLOG.debug(\"getting the user \" + username);\r\n \r\n \t\tUserDTO user = new UserDAS().findByUserName(username, entityId);\r\n \t\tif (user == null)\r\n \t\t\treturn null;\r\n \t\treturn getUserDTOEx(user);\r\n \t}", "@Override\n public RecipeEntity getRecipeDto(long id)\n {\n return this.load(RecipeEntity.class, id);\n }", "@Override\n\tpublic List<PermissionDto> getPermission() {\n\t\tList<PermissionDto> dto = permissionRepository.findAll().stream().map(permission -> {\n\t\t\tPermissionDto permissionDto = new PermissionDto();\n\t\t\tBeanUtils.copyProperties(permission, permissionDto);\n\t\t\treturn permissionDto;\n\t\t}).collect(Collectors.toList());\n\t\treturn dto;\n\t}", "public Value makeGetter() {\n Value r = new Value(this);\n r.getters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "@Override\n @Transactional(readOnly = true)\n public JeuDTO findOne(Long id) {\n log.debug(\"Request to get Jeu : {}\", id);\n Jeu jeu = jeuRepository.findOne(id);\n return jeuMapper.toDto(jeu);\n }", "public static ReadingDTO mapToDTO(Reading reading) {\n if (Objects.isNull(reading)) {\n return null;\n }\n ReadingDTO dto = newReadingDTO();\n dto.setDateTime(reading.getDateTime());\n dto.setValue(reading.getValue());\n return dto;\n }", "Optional<VitalDTO> findOne(Long id);", "@Override\n @Transactional(readOnly = true)\n public Optional<FonctionsDTO> findOne(Long id) {\n log.debug(\"Request to get Fonctions : {}\", id);\n return fonctionsRepository.findById(id)\n .map(fonctionsMapper::toDto);\n }", "public PersonDto findById(String id) {\n Optional<Person> model = Optional.empty();\n return model\n .map(personMapper::toDto)\n .orElse(null);\n }", "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "PeopleDTO findOne(Long id);", "public synchronized StateDTO getStateDTOByStateID(int stateID)\n\t{\n\t\treturn StateDTOByStateID.get(stateID);\n\t}", "Optional<ChatDTO> findOne(Long id);", "public BUserDto convertEntityToDto(BUser entity){\n\t\tBUserDto dto = new BUserDto();\n\t\tif(entity!=null){\n\t\t\tdto.setId(entity.getId());\n\t\t\tdto.setUsername(entity.getUsername());\n\t\t}\n\t\treturn dto;\n\t}", "@Override\n public CategoryDTO get(Long id) {\n Category category = categoryRepository.findById(id).get();\n CategoryDTO result = categoryConverter.toDTO(category);\n return result;\n }", "@Override\n @Transactional\n public List<D> getDtoList(D dto, E entity, String... args) throws MedragServiceException {\n List<E> entityList;\n try {\n entityList = entityDao.getEntityList(entity, args);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n List<D> dtoList = new ArrayList<>();\n entityList.forEach(e -> dtoList.add((D) new ModelMapper().map(e, dto.getClass())));\n return dtoList;\n }", "@Override\n @Transactional(readOnly = true)\n public SintomaDTO findOne(Long id) {\n log.debug(\"Request to get Sintoma : {}\", id);\n Sintoma sintoma = sintomaRepository.findOne(id);\n return sintomaMapper.toDto(sintoma);\n }", "Optional<TypeBonDTO> findOne(Long id);", "PersonaDTO PersonaToPersonaDTO(Persona persona);", "@Override\n\tpublic ExamDTO toDto(Exam exam) {\n\t\treturn null;\n\t}", "@Deprecated\n CreatePdvDto(){}", "@Transactional(readOnly = true)\n public Optional<KohnegiDTO> findOne(Long id) {\n log.debug(\"Request to get Kohnegi : {}\", id);\n return kohnegiRepository.findById(id)\n .map(kohnegiMapper::toDto);\n }", "public PersonaDTO(){}", "Optional<ConsultationInfoDTO> findOne(Long id);", "@Override\n @Transactional(readOnly = true)\n public Optional<OrdreDTO> findOne(Long id) {\n log.debug(\"Request to get Ordre : {}\", id);\n return ordreRepository.findById(id)\n .map(ordreMapper::toDto);\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<StudenteDTO> findOne(Long id) {\n log.debug(\"Request to get Studente : {}\", id);\n return studenteRepository.findOneWithEagerRelationships(id)\n .map(studenteMapper::toDto);\n }", "public UserDto get(String username) {\n\t\tUser delcheck = userRepository.findByUname(username);\n\t\tif(delcheck.isDeleted() == true){\n\t\t\treturn null;\n\t\t} else {\n\t\treturn userMapper.toUserDto(userRepository.findByUname(username));\n\t\t}\n\t}", "@Override\n public MemberDTO findOne(@PathVariable(\"id\") Long id) {\n return MemberDTO.builder().build();\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<LinhvucDTO> findOne(Long id) {\n log.debug(\"Request to get Linhvuc : {}\", id);\n return linhvucRepository.findById(id)\n .map(linhvucMapper::toDto);\n }", "public static UserDTO getUserDTO(UserEntity userEntity) {\n\t\tUserDTO dto = null;\n\t\tif (userEntity != null) {\n\t\t\tdto = new UserDTO();\n\n\t\t\tdto.setUserId(userEntity.getUserId());\n\t\t\tdto.setInsertDate(userEntity.getInsertDate());\n\t\t\tdto.setUpdateDate(userEntity.getUpdateDate());\n\t\t\tdto.setName(userEntity.getUserName());\n\t\t\tdto.setEmail(userEntity.getUserEmail());\n\t\t\tdto.setPassword(userEntity.getUserPassword());\n\t\t\tdto.setIsActive(userEntity.getIsActive());\n\t\t\tdto.setLastLogin(userEntity.getLastLogin());\n\t\t}\n\t\treturn dto;\n\t}", "public ClientPropertyDto mapToDto(ClientProperty property)\r\n\t{\r\n\t\tClientPropertyDto dto = new ClientPropertyDto();\r\n\t\tdto.setKey(property.getKey());\r\n\t\tdto.setValue(property.getValue());\r\n\t\tdto.setId(property.getId());\r\n\t\tdto.setDelete(false);\r\n\t\tdto.setClient(clientMapper.mapToDto(property.getClient()));\r\n\r\n\t\treturn dto;\r\n\t}" ]
[ "0.750052", "0.6922713", "0.6722928", "0.6692394", "0.6610001", "0.6593924", "0.6535411", "0.64553237", "0.6443894", "0.64043105", "0.63509184", "0.63398", "0.630666", "0.62680525", "0.6221788", "0.6196468", "0.6168907", "0.61005807", "0.60247016", "0.6019676", "0.6016837", "0.59987855", "0.59814554", "0.59800965", "0.5976745", "0.59513575", "0.59479815", "0.5905277", "0.59033567", "0.5853992", "0.5812538", "0.58116066", "0.5805847", "0.5799475", "0.57918125", "0.57715493", "0.57642066", "0.576363", "0.5756595", "0.574824", "0.57472914", "0.57382715", "0.5730702", "0.5727574", "0.5724504", "0.5713369", "0.5707039", "0.5686385", "0.5686144", "0.5676745", "0.56740135", "0.5670403", "0.5670103", "0.5635526", "0.5632137", "0.56230634", "0.5621788", "0.561638", "0.56161183", "0.56120265", "0.56098706", "0.56070954", "0.56069803", "0.56022966", "0.55926025", "0.5590903", "0.55866116", "0.55840033", "0.5578609", "0.5577382", "0.55741215", "0.5569932", "0.5569236", "0.5568142", "0.5559612", "0.55547214", "0.55535096", "0.55525273", "0.5543926", "0.55357355", "0.55286044", "0.55230534", "0.552022", "0.55201566", "0.5517611", "0.55156547", "0.5502559", "0.55007815", "0.54981995", "0.549467", "0.5494148", "0.5493477", "0.54920584", "0.548396", "0.54831487", "0.54823476", "0.5482163", "0.5469235", "0.5465598", "0.54647005", "0.54638755" ]
0.0
-1
simple setter for dto.
public void setDatumOpladen(Date datumOpladen) { this.datumOpladen = null; if (datumOpladen != null) { this.datumOpladen = (Date) datumOpladen.clone(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDto(PropertyDefDto dto);", "D update(D dto);", "public void setDto(GrupoDTO dto) {\n\t\tthis.dto = dto;\n\t}", "public DTO(DTO other) {\n if (other.isSetDatas()) {\n Map<String,String> __this__datas = new HashMap<String,String>(other.datas);\n this.datas = __this__datas;\n }\n }", "@Override\n protected void set(org.tair.db.locusdetail.ILocusDetail dto) {\n locusLocus = dto;\n }", "public Object decorate(Object dtoValue) {\r\n return dtoValue;\r\n }", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public NameDTO() {\r\n this.firstName = \"\";\r\n this.lastName = \"\";\r\n }", "public PropertyDefDto getDto();", "public Value makeSetter() {\n Value r = new Value(this);\n r.setters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "public T set(T obj);", "protected void reflectFormalizedDatetimeToDto(Member entity, MemberDto dto) {\r\n dto.setFormalizedDatetime(extractFormalizedDatetimeFromEntity(entity));\r\n }", "public Dto() {\n \t\n }", "public AbstractEstProxy(Est dto) {\n super(dto);\n\n // Setter arrays\n readObjectSetters = new java.util.concurrent.CopyOnWriteArrayList<com.poesys.db.dto.ISet>();\n }", "public <T> void setProperty(String field, T value) {\n try {\n Field f = this.getClass().getDeclaredField(field); \n f.set(this, value);\n } catch (NoSuchFieldException ex) {\n System.out.println(\"Field no found...\");\n System.out.println(ex.getMessage());\n\n } catch (IllegalAccessException ex) {\n System.out.println(ex.getMessage());\n }\n }", "public abstract DTO toDTO(M model);", "void setDatty(Datty newDatty);", "public void setSelectedContactDTO(ContactDTO dto) {\n/*Generated! Do not modify!*/ replyDTO.getDTOsToSet().add(\"selectedContact\");\n/*Generated! Do not modify!*/ if (dto == null){\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().remove(\"selectedContact\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().put(\"selectedContact\", dto);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_DTO, \"setSelectedContactDTO(\", gson.toJson(dto), getClassName(dto));\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public void createValue() {\r\n value = new com.timeinc.tcs.epay2.EPay2DTO();\r\n }", "public static EmployeeDTO valueOf(Employee employee){\n EmployeeDTO employeeDTO = new EmployeeDTO();\n BeanUtils.copyProperties(employee, employeeDTO);\n// employeeDto.setId( employee.getId() );\n// employeeDto.setFirstName( employee.getFirstName() );\n\n return employeeDTO;\n\n }", "private CustomersDTO getDataFromInputToDTO(CustomersInputDTO inputCustomer, CustomersDTO dtoCustomer) {\n // set value for fields of DTO if input not null\n Arrays.asList(CustomersInputDTO.class.getDeclaredFields()).stream().forEach(field -> {\n if (field.getName().equals(ConstantsCustomers.FIELD_CUSTOMER_DATA)) {\n return;\n }\n String methodGet = METHOD_GET_PREFFIX\n .concat(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, field.getName()));\n String methodSet = METHOD_SET_PREFFIX\n .concat(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, field.getName()));\n try {\n Method inputMethod = CustomersInputDTO.class.getMethod(methodGet);\n if (inputMethod.invoke(inputCustomer) != null) {\n Method outMethod = CustomersDTO.class.getMethod(methodSet, inputMethod.getReturnType());\n outMethod.invoke(dtoCustomer, inputMethod.getReturnType().cast(inputMethod.invoke(inputCustomer)));\n }\n } catch (Exception e) {\n return;\n }\n });\n dtoCustomer.setUpdatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n return dtoCustomer;\n }", "public PersonaDTO(){}", "protected void reflectMemberIdToDto(Member entity, MemberDto dto) {\r\n dto.setMemberId(extractMemberIdFromEntity(entity));\r\n }", "private void copyDtoToEntity(UserDTO dto, User entity) {\n\t\tentity.setFullName(dto.getFullName());\n\t\tentity.setEmail(dto.getEmail());\n\t\tentity.setCpf(dto.getCpf());\n\t\tentity.setBirthDate(dto.getBirthDate());\n\t}", "public abstract T convertToEntity(D dto);", "@Test\n void fromDto() {\n\n final SomeDto dto = SomeDto.builder()\n .text(\"test\")\n .value(123)\n .build();\n\n final SomeMapper mapper = SomeMapper.INSTANCE;\n final SomeModel model = mapper.mapFrom(dto);\n final SomeModel bazModel = mapper.update(dto.withText(\"baz\"), model);\n\n assertThat(bazModel.getText()).isEqualTo(\"baz\");\n }", "public PasswordChangeDTO() {}", "public DomicilioDTO(DomicilioEntity domicilioEntity) {\r\n if (domicilioEntity != null) {\r\n this.id = domicilioEntity.getId();\r\n this.precio = domicilioEntity.getPrecio();\r\n this.idZona = domicilioEntity.getIdZona();\r\n \r\n }\r\n }", "protected void reflectUpdateDatetimeToDto(Member entity, MemberDto dto) {\r\n dto.setUpdateDatetime(extractUpdateDatetimeFromEntity(entity));\r\n }", "public void set(T t, Object obj) {\n try {\n this.field.set(t, obj);\n } catch (IllegalAccessException e) {\n throw new AssertionError(e);\n }\n }", "public ProdutoDTO()\n {\n super();\n }", "StudentDTO toStudentDTO(Student student);", "public Member copyDtoToEntity(MemberDto dto, Member entity) {\r\n reflectFormalizedDatetimeToEntity(dto, entity);\r\n reflectMemberIdToEntity(dto, entity);\r\n reflectMemberNameToEntity(dto, entity);\r\n reflectUpdateDatetimeToEntity(dto, entity);\r\n\r\n return entity;\r\n }", "public void setValue(Object value) { this.value = value; }", "@Override\n\tpublic void update(Object dto) throws Exception {\n\t\tpropertyConfigMapper.updateByPrimaryKeySelective(dto);\n\t}", "public void setPropertyWithAutoTypeCast(Object obj, Object value) {\n if(value==null) {\n setProperty(obj, value);\n return;\n }\n Class<?> propType = getPropertyType();\n if(propType.isAssignableFrom(value.getClass())) {\n setProperty(obj, value);\n return;\n }\n if(value instanceof Long && propType.equals(Integer.class)) {\n setProperty(obj, Integer.valueOf(value.toString()));\n return;\n }\n if(value instanceof Double || value instanceof Float || value instanceof BigDecimal) {\n if(propType.isAssignableFrom(Double.class)) {\n setProperty(obj, Double.valueOf(value.toString()));\n return;\n } else if(propType.isAssignableFrom(Float.class)) {\n setProperty(obj, Float.valueOf(value.toString()));\n return;\n } else if(propType.isAssignableFrom(BigDecimal.class)) {\n setProperty(obj, BigDecimal.valueOf(Double.valueOf(value.toString())));\n return;\n } else {\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }\n }\n if(value instanceof java.util.Date) {\n if(propType.isAssignableFrom(java.sql.Timestamp.class)) {\n setProperty(obj, new java.sql.Timestamp(((java.util.Date) value).getTime()));\n return;\n } else if(propType.isAssignableFrom(java.sql.Date.class)) {\n setProperty(obj, new java.sql.Date(((java.util.Date) value).getTime()));\n return;\n } else {\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }\n }\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }", "@Test\n public void testGettersSettersConstructors() {\n LevelReportDto body = new LevelReportDto(\"product-name\", \"key-obs\",\n ProductFamily.L0_REPORT);\n GenericMessageDto<LevelReportDto> dto =\n new GenericMessageDto<LevelReportDto>(123, \"input-key\", body);\n assertEquals(123, dto.getId());\n assertEquals(body, dto.getBody());\n assertEquals(\"input-key\", dto.getInputKey());\n\n dto = new GenericMessageDto<LevelReportDto>();\n dto.setId(321);\n dto.setBody(body);\n dto.setInputKey(\"othey-input\");\n assertEquals(321, dto.getId());\n assertEquals(body, dto.getBody());\n assertEquals(\"othey-input\", dto.getInputKey());\n }", "public abstract M toModel(DTO dto);", "public abstract D convertToDto(T entity);", "<T> Setter<R> set(Projection<T> projection, T value);", "<T> Setter<R> set(Projection<T> projection, T value);", "@Override\n\tpublic BaseFWDTOImpl toDTO() {\n\t\treturn null;\n\t}", "protected abstract void processDTO();", "public void set(String name, Object value) {\n }", "public LocusOtherNameProxy(LocusOtherName dto) {\n super(dto); \n }", "private <T> void setField(Field field, Object object, T fieldInstance) {\n try {\n field.setAccessible(true);\n field.set(object, fieldInstance);\n } catch (IllegalArgumentException ex) {\n Logger.getLogger(CDIC.class.getName()).log(Level.SEVERE, \"Feld \" + field.getName() + \" ist kein Objekt!\", ex);\n } catch (IllegalAccessException ex) {\n Logger.getLogger(CDIC.class.getName()).log(Level.SEVERE, \"Feld \" + field.getName() + \" ist nicht zugreifbar!\", ex);\n } finally {\n field.setAccessible(false);\n }\n }", "public void setValue(String fieldName, Object value) {\n try {\n Field field = FieldUtils.getField(object.getClass(), fieldName, true);\n if (field != null) {\n FieldUtils.writeField(field, object, value, true);\n } else {\n logger.error(\"Unable to set value on field because the field does not exits on class: \" + object.getClass());\n }\n } catch (IllegalAccessException e) {\n logger.error(e);\n }\n }", "protected void reflectFormalizedDatetimeToEntity(MemberDto dto, Member entity) {\r\n entity.setFormalizedDatetime(extractFormalizedDatetimeFromDto(dto));\r\n }", "E toEntity(V dto);", "@Deprecated\n CreatePdvDto(){}", "public MemberDto copyEntityToDto(Member entity, MemberDto dto) {\r\n reflectMemberIdToDto(entity, dto);\r\n reflectMemberNameToDto(entity, dto);\r\n reflectFormalizedDatetimeToDto(entity, dto);\r\n reflectUpdateDatetimeToDto(entity, dto);\r\n\r\n return dto;\r\n }", "public UserDto() {\n }", "@Test\n public void testSetCharterFileName() {\n System.out.println(\"setCharterFileName\");\n String charterFileName = \"\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setCharterFileName(charterFileName);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }", "@CheckReturnValue\n T setField(String field, @Nullable Object value);", "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "public Value restrictToGetterSetter() {\n checkNotPolymorphicOrUnknown();\n if (!isMaybePrimitive() && !isMaybeObjectOrSymbol())\n return this;\n Value r = new Value(this);\n r.flags &= ~PRIMITIVE;\n r.num = null;\n r.str = null;\n r.object_labels = null;\n r.excluded_strings = r.included_strings = null;\n return canonicalize(r);\n }", "public Userdto(User user) {\n\t\tthis.fname = user.getFirstname();\n\t\tthis.lname = user.getLastname();\n\t\tthis.email = user.getEmail();\n\t}", "@Override\n public void set(Object bean, Object value) throws IOException {\n _propertyMutator.longSetter(bean, ((Number) value).longValue());\n }", "@Test\n public void testSetId() {\n System.out.println(\"setId\");\n long id = 0L;\n DTO_Ride instance = dtoRide;\n instance.setId(id);\n long result = instance.getId();\n assertEquals(id, result);\n }", "@Deprecated\n MerchandiseDTO() {\n }", "protected void reset(Utente dto)\n\t{\n\t}", "public void set(Object requestor, String field);", "@CheckReturnValue\n default T setFieldIfPresent(String field, @Nullable Object value) {\n if (value != null) {\n //noinspection ResultOfMethodCallIgnored\n setField(field, value);\n }\n //noinspection unchecked\n return (T)this;\n }", "E mapToEntity(D dto);", "public ProductoDTO(){\r\n\t\t\r\n\t}", "@Override\n public void set(T value) throws Exception {\n _curator.setData().forPath(_zkPath, toZkBytes(value));\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 }", "private CustomersDTO buildDTOToCreate(CustomersDTO customerDto) {\n if (customerDto.getBusinessMainId() < 0) {\n customerDto.setBusinessMainId(0);\n }\n if (customerDto.getBusinessSubId() < 0) {\n customerDto.setBusinessSubId(0);\n }\n if (customerDto.getEmployeeId() == null) {\n customerDto.setEmployeeId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getDepartmentId() == null) {\n customerDto.setDepartmentId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getGroupId() == null) {\n customerDto.setGroupId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getScenarioId() == null) {\n customerDto.setScenarioId(ConstantsCustomers.LONG_VALUE_0L);\n }\n customerDto.setCreatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n customerDto.setUpdatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n return customerDto;\n }", "protected void setValue(T value) {\r\n this.value = value;\r\n }", "public void setValue(Object o){\n \tthis.value = o;\n }", "public void setData(D s){\n\t\tdata = s;\n\t}", "public void set(Coord dest) {\n x = dest.x;\n y = dest.y;\n }", "public void setHojaDeVida(HojaDeVidaDTO hojaDeVida) {\r\n this.hojaDeVida = hojaDeVida;\r\n }", "public void setContactsDTO(ContactListDTO dto) {\n/*Generated! Do not modify!*/ replyDTO.getDTOsToSet().add(\"contacts\");\n/*Generated! Do not modify!*/ if (dto == null){\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().remove(\"contacts\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().put(\"contacts\", dto);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_DTO, \"setContactsDTO(\", gson.toJson(dto), getClassName(dto));\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public PropertySellerDetailDTO() {\n\n\t}", "@JsonSetter(\"department\")\n public void setDepartment (String value) { \n this.department = value;\n notifyObservers(this.department);\n }", "@Test\n public void testSetNotesTaken() {\n System.out.println(\"setNotesTaken\");\n ArrayList<Note> notesTaken = new ArrayList<>();\n notesTaken.add(new Note());\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setNotesTaken(notesTaken);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }", "private SetProperty(Builder builder) {\n super(builder);\n }", "public void setValue(Object value);", "@Test\r\n public void testSetNewPassword() {\r\n System.out.println(\"setNewPassword\");\r\n String newPassword = \"\";\r\n ForgotPasswordDTO instance = new ForgotPasswordDTO();\r\n instance.setNewPassword(newPassword);\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 assertTrue(true);\r\n }", "@Override\n\tpublic void setValue(Object object) {\n\n\t}", "@Override\n public void setField (String fieldToModify, String value, Double duration) {\n\n }", "@Test\n public void testConvertComputerToComputerDTO() {\n ComputerDTO computerDTO = new ComputerDTO();\n computerDTO.setId(1);\n computerDTO.setName(\"test\");\n ComputerDTO computerResult = DTOMapper.fromComputer(new Computer.Builder(\"test\").id(1L).build());\n assertEquals(computerDTO, computerResult);\n }", "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "public void setValue(T value) {\n/* 134 */ this.value = value;\n/* */ }", "public static Object convertToDataTransferObject(Object dto, String prefix, Map<String, Object> record,\n Class<?> dtoType, String[] filter) {\n if (null != record && null != dtoType) {\n if (null == dto) {\n dto = newDataTransferObjectInstance(dtoType);\n }\n List<Field> dtoFields = ObjectUtils.getFields(dtoType, true);\n for (Field dtoField : dtoFields) {\n try {\n Object value = null;\n if (hasData(record, prefix, getEntityMappingFieldPath(dtoField))) {\n value = convertToFieldOfDataTransferObject(dto, prefix, record, dtoField, filter);\n }\n ObjectUtils.setValueForField(dto, dtoField.getName(), value, true);\n } catch (IllegalAccessException e) {\n throw new FieldInaccessibleException(\"Cannot set value for field \"\n + dtoType.getSimpleName() + \".\" + dtoField.getName(), e);\n }\n }\n }\n return dto;\n }", "@Test(expected=AssertionError.class)\n\tpublic void testPassInvalidToSettersAddress() {\n\t\tbeanTester.testSetterForField(\"invalid\");\n\t}", "@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}", "void setObjectValue(Object dataObject);", "@Test\n public void testSetTotalTime() {\n System.out.println(\"setTotalTime\");\n String totalTime = \"1234658878787\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setTotalTime(totalTime);\n\n String expResult = totalTime;\n String result = instance.getTotalTime();\n assertEquals(expResult, result);\n }", "public NullableResponse(T value) {\n\t\tthis.value = value;\n\t}", "@Test\n public void testSetPathHtml() {\n System.out.println(\"setPathHtml\");\n String pathHtml = \"www.google.com\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setPathHtml(pathHtml);\n String expResult = pathHtml;\n String result = instance.getPathHtml();\n assertEquals(expResult, result);\n }", "public void setValue(T value) {\n/* 89 */ this.value = value;\n/* */ }", "public void setValue(final Object value) { _value = value; }", "@Test\n public void testWebClientRegServerAccessParamsDtoSetterAndGetter()\n {\n RegServerAccessParamsDto regServerAccessParamsDto = new RegServerAccessParamsDto();\n regServerAccessParamsDto.setRegServerHost(WEB_SERVICE_HOSTNAME);\n regServerAccessParamsDto.setRegServerPort(WEB_SERVICE_HTTPS_PORT);\n regServerAccessParamsDto.setUseSsl(true);\n regServerAccessParamsDto.setUsername(WEB_SERVICE_HTTPS_USERNAME);\n regServerAccessParamsDto.setPassword(WEB_SERVICE_HTTPS_PASSWORD);\n\n // Set the DTO.\n downloaderWebClient.setRegServerAccessParamsDto(regServerAccessParamsDto);\n\n // Retrieve the DTO and validate the results.\n RegServerAccessParamsDto resultRegServerAccessParamsDto = downloaderWebClient.getRegServerAccessParamsDto();\n\n // validate the results.\n assertEquals(WEB_SERVICE_HOSTNAME, resultRegServerAccessParamsDto.getRegServerHost());\n assertEquals(WEB_SERVICE_HTTPS_PORT, resultRegServerAccessParamsDto.getRegServerPort());\n assertTrue(resultRegServerAccessParamsDto.getUseSsl());\n assertEquals(WEB_SERVICE_HTTPS_USERNAME, resultRegServerAccessParamsDto.getUsername());\n assertEquals(WEB_SERVICE_HTTPS_PASSWORD, resultRegServerAccessParamsDto.getPassword());\n }", "public void setValue(T value) {\n this.value = value;\n }", "public void setPageDto(PageDto pageDto) {\n this.pageDto=pageDto;\n }", "public void setValue(Object val);", "@Override\n\tpublic void setValue(Object object) {\n\t\t\n\t}", "void setValue(Object value);", "public Customer CopyDtoToEntity(CustomerInput userDto){\n Customer user = new Customer();\n user.setId(userDto.getId());\n user.setFirst_name(userDto.getFirst_name());\n user.setLast_name(userDto.getLast_name());\n user.setEmail(userDto.getEmail());\n user.setAddress_id(userDto.getAddress_id());\n user.setActive(userDto.getActive());\n user.setCreate_date(getCurrentDateTime());\n // user.setCreate_date(getCurrentDateTime());\n return user;\n }" ]
[ "0.76097155", "0.6409665", "0.6349789", "0.6288937", "0.62061846", "0.61044866", "0.59307814", "0.5894473", "0.5876073", "0.586646", "0.5820376", "0.5771962", "0.5750958", "0.5743785", "0.5733695", "0.5695782", "0.5687327", "0.564823", "0.56414926", "0.5637008", "0.5634989", "0.5606476", "0.56019545", "0.5599003", "0.5563539", "0.5540853", "0.5530488", "0.55179924", "0.55058", "0.5483048", "0.54818493", "0.54811716", "0.547967", "0.54793864", "0.54755473", "0.5469261", "0.5467988", "0.546757", "0.5460106", "0.54567236", "0.54567236", "0.5449294", "0.5448695", "0.5435095", "0.54350734", "0.54293376", "0.541372", "0.5404912", "0.5391896", "0.5390374", "0.5380379", "0.53704906", "0.5365583", "0.5363313", "0.53597784", "0.5344854", "0.53416336", "0.5336558", "0.5329327", "0.53266156", "0.5324959", "0.53066164", "0.5305869", "0.5304092", "0.5303049", "0.52852637", "0.5284331", "0.5283152", "0.52821666", "0.5278862", "0.52726316", "0.52659833", "0.5263813", "0.5244765", "0.52444303", "0.52377385", "0.52368546", "0.52359396", "0.52313673", "0.522693", "0.5226417", "0.52238697", "0.5221093", "0.52206826", "0.52206445", "0.52202016", "0.5213629", "0.52134234", "0.521211", "0.52072483", "0.5207097", "0.52059484", "0.5205658", "0.5202471", "0.5201445", "0.5201183", "0.51981664", "0.5191239", "0.5189275", "0.51845425", "0.51797605" ]
0.0
-1
simple setter for dto.
public void setDatumProcessed(Date datumProcessed) { this.datumProcessed = null; if (datumProcessed != null) { this.datumProcessed = (Date) datumProcessed.clone(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDto(PropertyDefDto dto);", "D update(D dto);", "public void setDto(GrupoDTO dto) {\n\t\tthis.dto = dto;\n\t}", "public DTO(DTO other) {\n if (other.isSetDatas()) {\n Map<String,String> __this__datas = new HashMap<String,String>(other.datas);\n this.datas = __this__datas;\n }\n }", "@Override\n protected void set(org.tair.db.locusdetail.ILocusDetail dto) {\n locusLocus = dto;\n }", "public Object decorate(Object dtoValue) {\r\n return dtoValue;\r\n }", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public NameDTO() {\r\n this.firstName = \"\";\r\n this.lastName = \"\";\r\n }", "public PropertyDefDto getDto();", "public Value makeSetter() {\n Value r = new Value(this);\n r.setters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "public T set(T obj);", "protected void reflectFormalizedDatetimeToDto(Member entity, MemberDto dto) {\r\n dto.setFormalizedDatetime(extractFormalizedDatetimeFromEntity(entity));\r\n }", "public Dto() {\n \t\n }", "public AbstractEstProxy(Est dto) {\n super(dto);\n\n // Setter arrays\n readObjectSetters = new java.util.concurrent.CopyOnWriteArrayList<com.poesys.db.dto.ISet>();\n }", "public <T> void setProperty(String field, T value) {\n try {\n Field f = this.getClass().getDeclaredField(field); \n f.set(this, value);\n } catch (NoSuchFieldException ex) {\n System.out.println(\"Field no found...\");\n System.out.println(ex.getMessage());\n\n } catch (IllegalAccessException ex) {\n System.out.println(ex.getMessage());\n }\n }", "public abstract DTO toDTO(M model);", "void setDatty(Datty newDatty);", "public void setSelectedContactDTO(ContactDTO dto) {\n/*Generated! Do not modify!*/ replyDTO.getDTOsToSet().add(\"selectedContact\");\n/*Generated! Do not modify!*/ if (dto == null){\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().remove(\"selectedContact\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().put(\"selectedContact\", dto);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_DTO, \"setSelectedContactDTO(\", gson.toJson(dto), getClassName(dto));\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public void createValue() {\r\n value = new com.timeinc.tcs.epay2.EPay2DTO();\r\n }", "public static EmployeeDTO valueOf(Employee employee){\n EmployeeDTO employeeDTO = new EmployeeDTO();\n BeanUtils.copyProperties(employee, employeeDTO);\n// employeeDto.setId( employee.getId() );\n// employeeDto.setFirstName( employee.getFirstName() );\n\n return employeeDTO;\n\n }", "private CustomersDTO getDataFromInputToDTO(CustomersInputDTO inputCustomer, CustomersDTO dtoCustomer) {\n // set value for fields of DTO if input not null\n Arrays.asList(CustomersInputDTO.class.getDeclaredFields()).stream().forEach(field -> {\n if (field.getName().equals(ConstantsCustomers.FIELD_CUSTOMER_DATA)) {\n return;\n }\n String methodGet = METHOD_GET_PREFFIX\n .concat(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, field.getName()));\n String methodSet = METHOD_SET_PREFFIX\n .concat(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, field.getName()));\n try {\n Method inputMethod = CustomersInputDTO.class.getMethod(methodGet);\n if (inputMethod.invoke(inputCustomer) != null) {\n Method outMethod = CustomersDTO.class.getMethod(methodSet, inputMethod.getReturnType());\n outMethod.invoke(dtoCustomer, inputMethod.getReturnType().cast(inputMethod.invoke(inputCustomer)));\n }\n } catch (Exception e) {\n return;\n }\n });\n dtoCustomer.setUpdatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n return dtoCustomer;\n }", "public PersonaDTO(){}", "protected void reflectMemberIdToDto(Member entity, MemberDto dto) {\r\n dto.setMemberId(extractMemberIdFromEntity(entity));\r\n }", "private void copyDtoToEntity(UserDTO dto, User entity) {\n\t\tentity.setFullName(dto.getFullName());\n\t\tentity.setEmail(dto.getEmail());\n\t\tentity.setCpf(dto.getCpf());\n\t\tentity.setBirthDate(dto.getBirthDate());\n\t}", "public abstract T convertToEntity(D dto);", "@Test\n void fromDto() {\n\n final SomeDto dto = SomeDto.builder()\n .text(\"test\")\n .value(123)\n .build();\n\n final SomeMapper mapper = SomeMapper.INSTANCE;\n final SomeModel model = mapper.mapFrom(dto);\n final SomeModel bazModel = mapper.update(dto.withText(\"baz\"), model);\n\n assertThat(bazModel.getText()).isEqualTo(\"baz\");\n }", "public PasswordChangeDTO() {}", "public DomicilioDTO(DomicilioEntity domicilioEntity) {\r\n if (domicilioEntity != null) {\r\n this.id = domicilioEntity.getId();\r\n this.precio = domicilioEntity.getPrecio();\r\n this.idZona = domicilioEntity.getIdZona();\r\n \r\n }\r\n }", "protected void reflectUpdateDatetimeToDto(Member entity, MemberDto dto) {\r\n dto.setUpdateDatetime(extractUpdateDatetimeFromEntity(entity));\r\n }", "StudentDTO toStudentDTO(Student student);", "public ProdutoDTO()\n {\n super();\n }", "public Member copyDtoToEntity(MemberDto dto, Member entity) {\r\n reflectFormalizedDatetimeToEntity(dto, entity);\r\n reflectMemberIdToEntity(dto, entity);\r\n reflectMemberNameToEntity(dto, entity);\r\n reflectUpdateDatetimeToEntity(dto, entity);\r\n\r\n return entity;\r\n }", "public void set(T t, Object obj) {\n try {\n this.field.set(t, obj);\n } catch (IllegalAccessException e) {\n throw new AssertionError(e);\n }\n }", "@Override\n\tpublic void update(Object dto) throws Exception {\n\t\tpropertyConfigMapper.updateByPrimaryKeySelective(dto);\n\t}", "public void setValue(Object value) { this.value = value; }", "public abstract M toModel(DTO dto);", "@Test\n public void testGettersSettersConstructors() {\n LevelReportDto body = new LevelReportDto(\"product-name\", \"key-obs\",\n ProductFamily.L0_REPORT);\n GenericMessageDto<LevelReportDto> dto =\n new GenericMessageDto<LevelReportDto>(123, \"input-key\", body);\n assertEquals(123, dto.getId());\n assertEquals(body, dto.getBody());\n assertEquals(\"input-key\", dto.getInputKey());\n\n dto = new GenericMessageDto<LevelReportDto>();\n dto.setId(321);\n dto.setBody(body);\n dto.setInputKey(\"othey-input\");\n assertEquals(321, dto.getId());\n assertEquals(body, dto.getBody());\n assertEquals(\"othey-input\", dto.getInputKey());\n }", "public void setPropertyWithAutoTypeCast(Object obj, Object value) {\n if(value==null) {\n setProperty(obj, value);\n return;\n }\n Class<?> propType = getPropertyType();\n if(propType.isAssignableFrom(value.getClass())) {\n setProperty(obj, value);\n return;\n }\n if(value instanceof Long && propType.equals(Integer.class)) {\n setProperty(obj, Integer.valueOf(value.toString()));\n return;\n }\n if(value instanceof Double || value instanceof Float || value instanceof BigDecimal) {\n if(propType.isAssignableFrom(Double.class)) {\n setProperty(obj, Double.valueOf(value.toString()));\n return;\n } else if(propType.isAssignableFrom(Float.class)) {\n setProperty(obj, Float.valueOf(value.toString()));\n return;\n } else if(propType.isAssignableFrom(BigDecimal.class)) {\n setProperty(obj, BigDecimal.valueOf(Double.valueOf(value.toString())));\n return;\n } else {\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }\n }\n if(value instanceof java.util.Date) {\n if(propType.isAssignableFrom(java.sql.Timestamp.class)) {\n setProperty(obj, new java.sql.Timestamp(((java.util.Date) value).getTime()));\n return;\n } else if(propType.isAssignableFrom(java.sql.Date.class)) {\n setProperty(obj, new java.sql.Date(((java.util.Date) value).getTime()));\n return;\n } else {\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }\n }\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }", "public abstract D convertToDto(T entity);", "<T> Setter<R> set(Projection<T> projection, T value);", "<T> Setter<R> set(Projection<T> projection, T value);", "@Override\n\tpublic BaseFWDTOImpl toDTO() {\n\t\treturn null;\n\t}", "protected abstract void processDTO();", "public LocusOtherNameProxy(LocusOtherName dto) {\n super(dto); \n }", "public void set(String name, Object value) {\n }", "private <T> void setField(Field field, Object object, T fieldInstance) {\n try {\n field.setAccessible(true);\n field.set(object, fieldInstance);\n } catch (IllegalArgumentException ex) {\n Logger.getLogger(CDIC.class.getName()).log(Level.SEVERE, \"Feld \" + field.getName() + \" ist kein Objekt!\", ex);\n } catch (IllegalAccessException ex) {\n Logger.getLogger(CDIC.class.getName()).log(Level.SEVERE, \"Feld \" + field.getName() + \" ist nicht zugreifbar!\", ex);\n } finally {\n field.setAccessible(false);\n }\n }", "public void setValue(String fieldName, Object value) {\n try {\n Field field = FieldUtils.getField(object.getClass(), fieldName, true);\n if (field != null) {\n FieldUtils.writeField(field, object, value, true);\n } else {\n logger.error(\"Unable to set value on field because the field does not exits on class: \" + object.getClass());\n }\n } catch (IllegalAccessException e) {\n logger.error(e);\n }\n }", "protected void reflectFormalizedDatetimeToEntity(MemberDto dto, Member entity) {\r\n entity.setFormalizedDatetime(extractFormalizedDatetimeFromDto(dto));\r\n }", "E toEntity(V dto);", "@Deprecated\n CreatePdvDto(){}", "public MemberDto copyEntityToDto(Member entity, MemberDto dto) {\r\n reflectMemberIdToDto(entity, dto);\r\n reflectMemberNameToDto(entity, dto);\r\n reflectFormalizedDatetimeToDto(entity, dto);\r\n reflectUpdateDatetimeToDto(entity, dto);\r\n\r\n return dto;\r\n }", "public UserDto() {\n }", "@Test\n public void testSetCharterFileName() {\n System.out.println(\"setCharterFileName\");\n String charterFileName = \"\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setCharterFileName(charterFileName);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }", "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "@CheckReturnValue\n T setField(String field, @Nullable Object value);", "public Value restrictToGetterSetter() {\n checkNotPolymorphicOrUnknown();\n if (!isMaybePrimitive() && !isMaybeObjectOrSymbol())\n return this;\n Value r = new Value(this);\n r.flags &= ~PRIMITIVE;\n r.num = null;\n r.str = null;\n r.object_labels = null;\n r.excluded_strings = r.included_strings = null;\n return canonicalize(r);\n }", "public Userdto(User user) {\n\t\tthis.fname = user.getFirstname();\n\t\tthis.lname = user.getLastname();\n\t\tthis.email = user.getEmail();\n\t}", "@Override\n public void set(Object bean, Object value) throws IOException {\n _propertyMutator.longSetter(bean, ((Number) value).longValue());\n }", "@Test\n public void testSetId() {\n System.out.println(\"setId\");\n long id = 0L;\n DTO_Ride instance = dtoRide;\n instance.setId(id);\n long result = instance.getId();\n assertEquals(id, result);\n }", "protected void reset(Utente dto)\n\t{\n\t}", "@Deprecated\n MerchandiseDTO() {\n }", "E mapToEntity(D dto);", "public void set(Object requestor, String field);", "@CheckReturnValue\n default T setFieldIfPresent(String field, @Nullable Object value) {\n if (value != null) {\n //noinspection ResultOfMethodCallIgnored\n setField(field, value);\n }\n //noinspection unchecked\n return (T)this;\n }", "public ProductoDTO(){\r\n\t\t\r\n\t}", "private CustomersDTO buildDTOToCreate(CustomersDTO customerDto) {\n if (customerDto.getBusinessMainId() < 0) {\n customerDto.setBusinessMainId(0);\n }\n if (customerDto.getBusinessSubId() < 0) {\n customerDto.setBusinessSubId(0);\n }\n if (customerDto.getEmployeeId() == null) {\n customerDto.setEmployeeId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getDepartmentId() == null) {\n customerDto.setDepartmentId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getGroupId() == null) {\n customerDto.setGroupId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getScenarioId() == null) {\n customerDto.setScenarioId(ConstantsCustomers.LONG_VALUE_0L);\n }\n customerDto.setCreatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n customerDto.setUpdatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n return customerDto;\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 }", "@Override\n public void set(T value) throws Exception {\n _curator.setData().forPath(_zkPath, toZkBytes(value));\n }", "protected void setValue(T value) {\r\n this.value = value;\r\n }", "public void setValue(Object o){\n \tthis.value = o;\n }", "public void setData(D s){\n\t\tdata = s;\n\t}", "public void set(Coord dest) {\n x = dest.x;\n y = dest.y;\n }", "public void setHojaDeVida(HojaDeVidaDTO hojaDeVida) {\r\n this.hojaDeVida = hojaDeVida;\r\n }", "public void setContactsDTO(ContactListDTO dto) {\n/*Generated! Do not modify!*/ replyDTO.getDTOsToSet().add(\"contacts\");\n/*Generated! Do not modify!*/ if (dto == null){\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().remove(\"contacts\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().put(\"contacts\", dto);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_DTO, \"setContactsDTO(\", gson.toJson(dto), getClassName(dto));\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public PropertySellerDetailDTO() {\n\n\t}", "@Test\n public void testSetNotesTaken() {\n System.out.println(\"setNotesTaken\");\n ArrayList<Note> notesTaken = new ArrayList<>();\n notesTaken.add(new Note());\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setNotesTaken(notesTaken);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }", "@JsonSetter(\"department\")\n public void setDepartment (String value) { \n this.department = value;\n notifyObservers(this.department);\n }", "private SetProperty(Builder builder) {\n super(builder);\n }", "public void setValue(Object value);", "@Test\r\n public void testSetNewPassword() {\r\n System.out.println(\"setNewPassword\");\r\n String newPassword = \"\";\r\n ForgotPasswordDTO instance = new ForgotPasswordDTO();\r\n instance.setNewPassword(newPassword);\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 assertTrue(true);\r\n }", "@Override\n\tpublic void setValue(Object object) {\n\n\t}", "public static Object convertToDataTransferObject(Object dto, String prefix, Map<String, Object> record,\n Class<?> dtoType, String[] filter) {\n if (null != record && null != dtoType) {\n if (null == dto) {\n dto = newDataTransferObjectInstance(dtoType);\n }\n List<Field> dtoFields = ObjectUtils.getFields(dtoType, true);\n for (Field dtoField : dtoFields) {\n try {\n Object value = null;\n if (hasData(record, prefix, getEntityMappingFieldPath(dtoField))) {\n value = convertToFieldOfDataTransferObject(dto, prefix, record, dtoField, filter);\n }\n ObjectUtils.setValueForField(dto, dtoField.getName(), value, true);\n } catch (IllegalAccessException e) {\n throw new FieldInaccessibleException(\"Cannot set value for field \"\n + dtoType.getSimpleName() + \".\" + dtoField.getName(), e);\n }\n }\n }\n return dto;\n }", "@Test\n public void testConvertComputerToComputerDTO() {\n ComputerDTO computerDTO = new ComputerDTO();\n computerDTO.setId(1);\n computerDTO.setName(\"test\");\n ComputerDTO computerResult = DTOMapper.fromComputer(new Computer.Builder(\"test\").id(1L).build());\n assertEquals(computerDTO, computerResult);\n }", "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "@Override\n public void setField (String fieldToModify, String value, Double duration) {\n\n }", "public void setValue(T value) {\n/* 134 */ this.value = value;\n/* */ }", "@Test(expected=AssertionError.class)\n\tpublic void testPassInvalidToSettersAddress() {\n\t\tbeanTester.testSetterForField(\"invalid\");\n\t}", "void setObjectValue(Object dataObject);", "@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}", "@Test\n public void testSetTotalTime() {\n System.out.println(\"setTotalTime\");\n String totalTime = \"1234658878787\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setTotalTime(totalTime);\n\n String expResult = totalTime;\n String result = instance.getTotalTime();\n assertEquals(expResult, result);\n }", "public NullableResponse(T value) {\n\t\tthis.value = value;\n\t}", "@Test\n public void testSetPathHtml() {\n System.out.println(\"setPathHtml\");\n String pathHtml = \"www.google.com\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setPathHtml(pathHtml);\n String expResult = pathHtml;\n String result = instance.getPathHtml();\n assertEquals(expResult, result);\n }", "public void setValue(T value) {\n/* 89 */ this.value = value;\n/* */ }", "@Test\n public void testWebClientRegServerAccessParamsDtoSetterAndGetter()\n {\n RegServerAccessParamsDto regServerAccessParamsDto = new RegServerAccessParamsDto();\n regServerAccessParamsDto.setRegServerHost(WEB_SERVICE_HOSTNAME);\n regServerAccessParamsDto.setRegServerPort(WEB_SERVICE_HTTPS_PORT);\n regServerAccessParamsDto.setUseSsl(true);\n regServerAccessParamsDto.setUsername(WEB_SERVICE_HTTPS_USERNAME);\n regServerAccessParamsDto.setPassword(WEB_SERVICE_HTTPS_PASSWORD);\n\n // Set the DTO.\n downloaderWebClient.setRegServerAccessParamsDto(regServerAccessParamsDto);\n\n // Retrieve the DTO and validate the results.\n RegServerAccessParamsDto resultRegServerAccessParamsDto = downloaderWebClient.getRegServerAccessParamsDto();\n\n // validate the results.\n assertEquals(WEB_SERVICE_HOSTNAME, resultRegServerAccessParamsDto.getRegServerHost());\n assertEquals(WEB_SERVICE_HTTPS_PORT, resultRegServerAccessParamsDto.getRegServerPort());\n assertTrue(resultRegServerAccessParamsDto.getUseSsl());\n assertEquals(WEB_SERVICE_HTTPS_USERNAME, resultRegServerAccessParamsDto.getUsername());\n assertEquals(WEB_SERVICE_HTTPS_PASSWORD, resultRegServerAccessParamsDto.getPassword());\n }", "public void setValue(final Object value) { _value = value; }", "public void setPageDto(PageDto pageDto) {\n this.pageDto=pageDto;\n }", "public void setValue(T value) {\n this.value = value;\n }", "public void setValue(Object val);", "@Override\n\tpublic void setValue(Object object) {\n\t\t\n\t}", "void setValue(Object value);", "public Customer CopyDtoToEntity(CustomerInput userDto){\n Customer user = new Customer();\n user.setId(userDto.getId());\n user.setFirst_name(userDto.getFirst_name());\n user.setLast_name(userDto.getLast_name());\n user.setEmail(userDto.getEmail());\n user.setAddress_id(userDto.getAddress_id());\n user.setActive(userDto.getActive());\n user.setCreate_date(getCurrentDateTime());\n // user.setCreate_date(getCurrentDateTime());\n return user;\n }" ]
[ "0.76119417", "0.6410523", "0.6352329", "0.629028", "0.62071323", "0.61054677", "0.59315574", "0.5893746", "0.58781576", "0.5864869", "0.581781", "0.57737356", "0.575143", "0.5743864", "0.5732492", "0.5697433", "0.56856525", "0.565059", "0.5640107", "0.56378615", "0.5635913", "0.5607468", "0.560492", "0.56011105", "0.55651563", "0.5542655", "0.5531494", "0.55180573", "0.5507673", "0.5483516", "0.5482589", "0.54820436", "0.54817146", "0.5478189", "0.54760534", "0.5469793", "0.5468797", "0.5468721", "0.54621047", "0.54545695", "0.54545695", "0.5450647", "0.5450043", "0.5436933", "0.5431025", "0.5429107", "0.5412269", "0.5406071", "0.53924716", "0.53911424", "0.53834724", "0.53714645", "0.5364471", "0.5362364", "0.5360671", "0.53428006", "0.534253", "0.5335209", "0.53283393", "0.5326538", "0.5326372", "0.5305984", "0.53049344", "0.5304135", "0.5303342", "0.52849597", "0.5282564", "0.5281421", "0.5278851", "0.52765197", "0.5270475", "0.5265848", "0.52633905", "0.5246037", "0.524544", "0.5236387", "0.5235542", "0.5234721", "0.52280945", "0.5226567", "0.52242607", "0.52231866", "0.5223131", "0.52224356", "0.522169", "0.5217731", "0.5212784", "0.52104145", "0.52101886", "0.52057344", "0.5204444", "0.52038366", "0.5202655", "0.5200326", "0.5199515", "0.5198959", "0.51978165", "0.518835", "0.5187175", "0.51814926", "0.5181125" ]
0.0
-1
simple getter for dto.
public Date getDatumProcessed() { if (datumProcessed != null) { return (Date) datumProcessed.clone(); } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PropertyDefDto getDto();", "private static String getStringValueFromGetter(Object dto, PropertyDescriptor propertyDescriptor) {\n Method method = propertyDescriptor.getReadMethod();\n String value = \"\";\n\n try {\n value = (String) method.invoke(dto, new Object[]{});\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n } catch (InvocationTargetException e) {\n e.printStackTrace();\n }\n return value;\n }", "public default D toDto(E entity) {\n\t\tif (entity == null) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\treturn DtoUtilService.staticDtoFromEntity(getDtoClass(), entity);\n\t\t}\n\t}", "public ModelDto getModelDto() {\r\n\t\tlog.debug(\" getter modelDto=\"+modelDto);\r\n\t\treturn modelDto;\r\n\t}", "public ConnectionDTO getDto() {\n return dto;\n }", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public abstract D convertToDto(T entity);", "V toDto(E entity);", "public MyNoteDto getCurrentMyNoteDto();", "public GrupoDTO getDto() {\n\t\treturn this.dto;\n\t}", "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "public DTOType getDTOType() {\n return DTO_TYPE;\n }", "public abstract T convertToEntity(D dto);", "@Override\n @Transactional\n public D getDtoById(D dto, E entity, Integer id) throws MedragServiceException {\n E entityById = null;\n try {\n entityById = entityDao.getEntityById(entity, id);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n return (D) new ModelMapper().map(entityById, dto.getClass());\n }", "D mapToDTO(E entity);", "public GetUsuarioDTO convierteDTO(Integer id){\n Optional<Usuario> usuario = usuarioRepository.findById(id);\n return usuario.map(usuarioDTOConverter::convertToDTO).orElseThrow(()->new UsuarioNotFoundException(id));\n }", "@Override\r\n\tpublic TableDTO getDTO(Table entity) {\n\t\treturn null;\r\n\t}", "public abstract DTO toDTO(M model);", "@Override\n\tpublic BaseFWDTOImpl toDTO() {\n\t\treturn null;\n\t}", "E mapToEntity(D dto);", "@Override\n @Transactional(readOnly = true)\n public Optional<DomainValueDTO> findOne(Long id) {\n log.debug(\"Request to get DomainValue : {}\", id);\n return domainValueRepository.findById(id)\n .map(domainValueMapper::toDto);\n }", "public Object decorate(Object dtoValue) {\r\n return dtoValue;\r\n }", "public PersonaDTO obtenerPersona(Long idPersona) throws CustomErrorException {\n\t\tPersonaDTO personaDTO = new PersonaDTO();\n\t\ttry {\n\t\t\tpersonaDTO = Converter.toDto((Persona) gPersona.getById(idPersona)); \n\t\t} catch (CustomErrorException cer) {\n\t\t\tthrow cer;\n\t\t} catch (Exception e) {\n\t\t\tthrow new CustomErrorException(CustomErrorException.ERROR_SERVICIO,this.getClass().getSimpleName(),e.getStackTrace());\n\t\t}\n\n\t\treturn personaDTO;\n\t}", "public abstract M toModel(DTO dto);", "public static EmployeeDTO valueOf(Employee employee){\n EmployeeDTO employeeDTO = new EmployeeDTO();\n BeanUtils.copyProperties(employee, employeeDTO);\n// employeeDto.setId( employee.getId() );\n// employeeDto.setFirstName( employee.getFirstName() );\n\n return employeeDTO;\n\n }", "@Override\n @Transactional\n public D getDtoByNaturalId(D dto, E entity, String id) throws MedragServiceException {\n E result = null;\n try {\n result = entityDao.getEntityByNaturalId(entity, id);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n if (result == null) {\n return null;\n } else {\n return (D) new ModelMapper().map(result, dto.getClass());\n }\n }", "public HojaDeVidaDTO getHojaDeVida() {return hojaDeVida;}", "public static CustomerDetailsDto getCustomerDetailsDto() {\n\t\treturn new CustomerDetailsDto();\n\t}", "public PageDto getPageDto() {\n return pageDto;\n }", "@Override\n\tpublic MemberDTO getMember(MemberDTO mdto) {\n\t\treturn mdao.getMember(mdto);\n\t}", "public DtoType getDto(EntityType entity, Class<DtoType> myClass) throws ClassNotFoundException, InstantiationException, IllegalAccessException;", "public DTO getInstanceDTO(M model, Class<DTO> dtoClass) {\n\n DTO modelDTO = null;\n\n EntityUtil entityUtil = new EntityUtil();\n\n try {\n\n modelDTO = entityUtil.copyEntity(model, dtoClass.getConstructor().newInstance());\n\n } catch (InstantiationException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (IllegalAccessException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (InvocationTargetException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (NoSuchMethodException e) {\n LogManager.getLog(this.getClass()).warn(e);\n }\n\n return modelDTO;\n }", "public final UnitDTO getDTO(Player player) {\n if (player == Player.SYSTEM || this.isDetected(player)) {\n return new UnitDTO(this.getId(),\n this.details.getId(),\n this.owner.getDTO(),\n this.currentHitPoints,\n this.details.getMaxHitPoints(),\n this.currentMovementAllowance,\n this.details.getMaxMovementAllowance(),\n this.isCloaked(),\n this.getUnitType());\n }\n return null;\n }", "E toEntity(V dto);", "@Override\n\tpublic UsersDto getData(String id) {\n\t\tUsersDto dto=session.selectOne(\"users.getData\",id);\n\t\treturn dto;\n\t}", "public void setDto(PropertyDefDto dto);", "@Transactional(readOnly = true)\n public Optional<DRkDTO> findOne(Long id) {\n log.debug(\"Request to get DRk : {}\", id);\n return dRkRepository.findById(id).map(dRkMapper::toDto);\n }", "public Dto() {\n \t\n }", "@Override\n public AlunoDTO findOne(String id) {\n log.debug(\"Request to get Aluno : {}\", id);\n Aluno aluno = alunoRepository.findOne(id);\n return alunoMapper.toDto(aluno);\n }", "@Transactional(readOnly = true)\n public Optional<GeoTypeCommuneDTO> findOne(Long id) {\n log.debug(\"Request to get GeoTypeCommune : {}\", id);\n return geoTypeCommuneRepository.findById(id)\n .map(geoTypeCommuneMapper::toDto);\n }", "public static UserDto getUserDtoById(Integer id) {\n\t\t// create a new UserDaoImpl\n\t\tud = new UserDaoImpl();\n\t\tlogger.info(\"UserDaoImpl created\");\n\n\t\t// get the record that with id as the primary key as a User Object\n\t\tUser user = ud.selectUserById(id);\n\t\tlogger.info(\"User selected from database\");\n\t\tlogger.debug(\"User: \" + user);\n\t\t// create the UserDto\n\t\tUserDto usr = new UserDto(user.getId(), user.getUsername(), user.getfName(), user.getlName(), user.getPriv(),\n\t\t\t\tuser.getActivation());\n\t\tlogger.info(\"UserDto created\");\n\t\tlogger.debug(\"UserDto: \" + usr);\n\t\tlogger.info(\"Returning UserDto\");\n\t\t// return the UserDto\n\t\treturn usr;\n\n\t}", "public static EtudiantDto toDto(Etudiant stud) {\n\t\tUserDto uDto = UserDto.toUserDto(stud.getUser());\n\t\tEtudiantDto studDto = new EtudiantDto(stud.getId(), stud.getNom(), stud.getPrenom(), stud.getEmail(), stud.getTel(), uDto);\n\t\treturn studDto;\n\t}", "public AtendimentoJuridicoDTO toDTO(AtendimentoJuridicoEntity entity){\n\t\tAtendimentoJuridicoDTO dto = new AtendimentoJuridicoDTO();\n\t\tBeanUtils.copyProperties(entity, dto); \n\t\treturn dto ;\n\t}", "@Override\r\n\tpublic PersonneDTO getOnePersonne(Long idPersonne) {\n\t\treturn daoPersonne.getOnePersonne(idPersonne);\r\n\t}", "private static PlayerDto getPlayerDto(Player player) {\n return player != null ? PlayerDto.builder()._id(player.get_id()).build() : null;\n }", "@Transactional(readOnly = true)\n public DeviceDTO findOne(Long id) {\n log.debug(\"Request to get Device : {}\", id);\n Device device = deviceRepository.findOne(id);\n DeviceDTO deviceDTO = deviceMapper.deviceToDeviceDTO(device);\n return deviceDTO;\n }", "@Override\n public Optional<DuLieuBaoCaoDTO> findOne(String id) {\n log.debug(\"Request to get DuLieuBaoCao : {}\", id);\n return duLieuBaoCaoRepository.findById(id)\n .map(duLieuBaoCaoMapper::toDto);\n }", "public Optional<PortDTO> findOne(Long id) {\n log.debug(\"Request to get Port : {}\", id);\n return Port.findByIdOptional(id)\n .map(port -> portMapper.toDto((Port) port)); \n }", "public static LandDetailsDto getLandDetailsDto() {\n\t\treturn new LandDetailsDto();\n\t}", "RunDTO toDto(Run run) {\n RunDTO result = new RunDTO();\n result.setId(0L);\n if (null != run) {\n this.fillDto(result, run);\n }\n return result;\n }", "public static ProductDetailsDto getProductDetailsDto() {\n\t\treturn new ProductDetailsDto();\n\t}", "public EntityType getCreateEntity(DtoType dto) throws ClassNotFoundException, InstantiationException, IllegalAccessException;", "public ch.ivyteam.ivy.scripting.objects.List<ch.ivyteam.ivy.admin.tool.security.UserDTO> getUserDTO()\n {\n return userDTO;\n }", "ClientDTO findOne(final Long id);", "@Override\n @Transactional(readOnly = true)\n public CostoDTO findOne(Long id) {\n log.debug(\"Request to get Costo : {}\", id);\n Costo costo = costoRepository.findOne(id);\n return costoMapper.toDto(costo);\n }", "@Transactional(readOnly = true)\n public Optional<DisabilityTypeDTO> findOne(Long id) {\n log.debug(\"Request to get DisabilityType : {}\", id);\n return disabilityTypeRepository.findById(id)\n .map(disabilityTypeMapper::toDto);\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<DqStandardDetailsEntityTimeDTO> findOne(Long id) {\n log.debug(\"Request to get DqStandardDetailsEntityTime : {}\", id);\n return dqStandardDetailsEntityTimeRepository.findById(id)\n .map(dqStandardDetailsEntityTimeMapper::toDto);\n }", "public MemberDto copyEntityToDto(Member entity, MemberDto dto) {\r\n reflectMemberIdToDto(entity, dto);\r\n reflectMemberNameToDto(entity, dto);\r\n reflectFormalizedDatetimeToDto(entity, dto);\r\n reflectUpdateDatetimeToDto(entity, dto);\r\n\r\n return dto;\r\n }", "public IBaseDTO getDepartment(String id) {\n\t\tIBaseDTO dto=new DynaBeanDTO();\n\t\tSysDepartment sd=(SysDepartment)dao.loadEntity(SysDepartment.class,id);\n\t\t\n\t\tdto.set(\"id\",sd.getId());\n\t\tdto.set(\"name\",sd.getName());\n\t\tdto.set(\"parentId\",sd.getParentId());\n\t\tdto.set(\"remark\",sd.getRemarks());\n\t\tdto.set(\"tagShow\",sd.getTagShow());\n\t\tdto.set(\"admin\",sd.getAdmin());\n\t\treturn dto;\n\t}", "@Override\n\tpublic MstCustomerDto getOne(String kdCustomer) {\n\t\tMstCustomerDto mstCustomerDto=new MstCustomerDto();\n\t\tMstCustomer mstCustomer = new MstCustomer();\n\t\tmstCustomer=mstCustomerDao.getOne(kdCustomer);\n\t\tmstCustomerDto = mapperFacade.map(mstCustomer, MstCustomerDto.class);\n\t\t\n\t\treturn mstCustomerDto;\n\t}", "public ConfigSimpleValueDTO getSimpleValueProperty(final String name) {\n \t\treturn simpleProperties.get(name);\n \t}", "private CategoryDTO getCategoryDto(){\n\t\tCategoryDTO category = new CategoryDTO(Long.valueOf(1L), \"categoryName\", \"categoryDesc\");\n\t\treturn category;\n\t}", "protected abstract void processDTO();", "default ShopDTO entityToDto(Shop entity) {\n ShopDTO dto = ShopDTO.builder()\n .productID(entity.getProductID())\n .product(entity.getProduct())\n .image(entity.getImage())\n .content(entity.getContent())\n .price(entity.getPrice())\n .count(entity.getCount())\n .regDate(entity.getRegDate())\n .modDate(entity.getModDate())\n .build();\n return dto;\n }", "StudentDTO toStudentDTO(Student student);", "public static RoomDTO newDTO() {\n\n RoomDTO roomDTO = new RoomDTO();\n return roomDTO;\n }", "public Member copyDtoToEntity(MemberDto dto, Member entity) {\r\n reflectFormalizedDatetimeToEntity(dto, entity);\r\n reflectMemberIdToEntity(dto, entity);\r\n reflectMemberNameToEntity(dto, entity);\r\n reflectUpdateDatetimeToEntity(dto, entity);\r\n\r\n return entity;\r\n }", "public static SystemDTO entityToDTO(final System entity){\n\t\tfinal SystemDTO result = new SystemDTO();\n\t\t\n\t\tresult.setCode(entity.getCode());\n\t\tresult.setName(entity.getName());\n\t\tresult.setId(entity.getId());\n\t\t\n\t\treturn result;\n\t}", "@Override\n protected E dtoToEntity( final D dto )\n {\n Objects.requireNonNull( dto, \"dto argument cannot be null\" );\n final E entity = super.dtoToEntity( dto );\n /*\n * Convert the notes source ID to UUID\n */\n if ( dto instanceof NotesSourceIdContainer &&\n entity instanceof NotesSourceUuidContainer )\n {\n final NotesSourceIdContainer notesSourceIdContainer = (NotesSourceIdContainer) dto;\n /*\n * Check for new sources\n */\n this.stockNoteSourceService.checkForNewSource( notesSourceIdContainer );\n final NotesSourceUuidContainer notesSourceUuidContainer = (NotesSourceUuidContainer)entity;\n /*\n * Convert the String UUID to a real uuid if present\n */\n if ( notesSourceIdContainer.getNotesSourceId() != null &&\n !notesSourceIdContainer.getNotesSourceId().isEmpty() )\n {\n final StockNoteSourceEntity stockNoteSourceEntity = this.stockNoteSourceService\n .getStockNoteSource( ((CustomerUuidContainer)entity).getCustomerUuid(),\n notesSourceIdContainer.getNotesSourceId() );\n notesSourceUuidContainer.setNotesSourceEntity( stockNoteSourceEntity );\n }\n }\n //logMethodEnd( methodName, entity );\n return entity;\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<DepositoryInfoDTO> findOne(Long id) {\n log.debug(\"Request to get DepositoryInfo : {}\", id);\n return depositoryInfoRepository.findById(id)\n .map(depositoryInfoMapper::toDto);\n }", "public static UserDTOEx getUserDTO(String username, Integer entityId)\r\n \t\t\tthrows NamingException, SessionInternalError {\r\n \r\n \t\tLOG.debug(\"getting the user \" + username);\r\n \r\n \t\tUserDTO user = new UserDAS().findByUserName(username, entityId);\r\n \t\tif (user == null)\r\n \t\t\treturn null;\r\n \t\treturn getUserDTOEx(user);\r\n \t}", "@Override\n public RecipeEntity getRecipeDto(long id)\n {\n return this.load(RecipeEntity.class, id);\n }", "@Override\n\tpublic List<PermissionDto> getPermission() {\n\t\tList<PermissionDto> dto = permissionRepository.findAll().stream().map(permission -> {\n\t\t\tPermissionDto permissionDto = new PermissionDto();\n\t\t\tBeanUtils.copyProperties(permission, permissionDto);\n\t\t\treturn permissionDto;\n\t\t}).collect(Collectors.toList());\n\t\treturn dto;\n\t}", "public Value makeGetter() {\n Value r = new Value(this);\n r.getters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "@Override\n @Transactional(readOnly = true)\n public JeuDTO findOne(Long id) {\n log.debug(\"Request to get Jeu : {}\", id);\n Jeu jeu = jeuRepository.findOne(id);\n return jeuMapper.toDto(jeu);\n }", "public static ReadingDTO mapToDTO(Reading reading) {\n if (Objects.isNull(reading)) {\n return null;\n }\n ReadingDTO dto = newReadingDTO();\n dto.setDateTime(reading.getDateTime());\n dto.setValue(reading.getValue());\n return dto;\n }", "Optional<VitalDTO> findOne(Long id);", "@Override\n @Transactional(readOnly = true)\n public Optional<FonctionsDTO> findOne(Long id) {\n log.debug(\"Request to get Fonctions : {}\", id);\n return fonctionsRepository.findById(id)\n .map(fonctionsMapper::toDto);\n }", "public PersonDto findById(String id) {\n Optional<Person> model = Optional.empty();\n return model\n .map(personMapper::toDto)\n .orElse(null);\n }", "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "PeopleDTO findOne(Long id);", "public synchronized StateDTO getStateDTOByStateID(int stateID)\n\t{\n\t\treturn StateDTOByStateID.get(stateID);\n\t}", "Optional<ChatDTO> findOne(Long id);", "public BUserDto convertEntityToDto(BUser entity){\n\t\tBUserDto dto = new BUserDto();\n\t\tif(entity!=null){\n\t\t\tdto.setId(entity.getId());\n\t\t\tdto.setUsername(entity.getUsername());\n\t\t}\n\t\treturn dto;\n\t}", "@Override\n public CategoryDTO get(Long id) {\n Category category = categoryRepository.findById(id).get();\n CategoryDTO result = categoryConverter.toDTO(category);\n return result;\n }", "@Override\n @Transactional\n public List<D> getDtoList(D dto, E entity, String... args) throws MedragServiceException {\n List<E> entityList;\n try {\n entityList = entityDao.getEntityList(entity, args);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n List<D> dtoList = new ArrayList<>();\n entityList.forEach(e -> dtoList.add((D) new ModelMapper().map(e, dto.getClass())));\n return dtoList;\n }", "@Override\n @Transactional(readOnly = true)\n public SintomaDTO findOne(Long id) {\n log.debug(\"Request to get Sintoma : {}\", id);\n Sintoma sintoma = sintomaRepository.findOne(id);\n return sintomaMapper.toDto(sintoma);\n }", "Optional<TypeBonDTO> findOne(Long id);", "PersonaDTO PersonaToPersonaDTO(Persona persona);", "@Override\n\tpublic ExamDTO toDto(Exam exam) {\n\t\treturn null;\n\t}", "@Deprecated\n CreatePdvDto(){}", "@Transactional(readOnly = true)\n public Optional<KohnegiDTO> findOne(Long id) {\n log.debug(\"Request to get Kohnegi : {}\", id);\n return kohnegiRepository.findById(id)\n .map(kohnegiMapper::toDto);\n }", "public PersonaDTO(){}", "Optional<ConsultationInfoDTO> findOne(Long id);", "@Override\n @Transactional(readOnly = true)\n public Optional<OrdreDTO> findOne(Long id) {\n log.debug(\"Request to get Ordre : {}\", id);\n return ordreRepository.findById(id)\n .map(ordreMapper::toDto);\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<StudenteDTO> findOne(Long id) {\n log.debug(\"Request to get Studente : {}\", id);\n return studenteRepository.findOneWithEagerRelationships(id)\n .map(studenteMapper::toDto);\n }", "public UserDto get(String username) {\n\t\tUser delcheck = userRepository.findByUname(username);\n\t\tif(delcheck.isDeleted() == true){\n\t\t\treturn null;\n\t\t} else {\n\t\treturn userMapper.toUserDto(userRepository.findByUname(username));\n\t\t}\n\t}", "@Override\n public MemberDTO findOne(@PathVariable(\"id\") Long id) {\n return MemberDTO.builder().build();\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<LinhvucDTO> findOne(Long id) {\n log.debug(\"Request to get Linhvuc : {}\", id);\n return linhvucRepository.findById(id)\n .map(linhvucMapper::toDto);\n }", "public static UserDTO getUserDTO(UserEntity userEntity) {\n\t\tUserDTO dto = null;\n\t\tif (userEntity != null) {\n\t\t\tdto = new UserDTO();\n\n\t\t\tdto.setUserId(userEntity.getUserId());\n\t\t\tdto.setInsertDate(userEntity.getInsertDate());\n\t\t\tdto.setUpdateDate(userEntity.getUpdateDate());\n\t\t\tdto.setName(userEntity.getUserName());\n\t\t\tdto.setEmail(userEntity.getUserEmail());\n\t\t\tdto.setPassword(userEntity.getUserPassword());\n\t\t\tdto.setIsActive(userEntity.getIsActive());\n\t\t\tdto.setLastLogin(userEntity.getLastLogin());\n\t\t}\n\t\treturn dto;\n\t}", "public ClientPropertyDto mapToDto(ClientProperty property)\r\n\t{\r\n\t\tClientPropertyDto dto = new ClientPropertyDto();\r\n\t\tdto.setKey(property.getKey());\r\n\t\tdto.setValue(property.getValue());\r\n\t\tdto.setId(property.getId());\r\n\t\tdto.setDelete(false);\r\n\t\tdto.setClient(clientMapper.mapToDto(property.getClient()));\r\n\r\n\t\treturn dto;\r\n\t}" ]
[ "0.750052", "0.6922713", "0.6722928", "0.6692394", "0.6610001", "0.6593924", "0.6535411", "0.64553237", "0.6443894", "0.64043105", "0.63509184", "0.63398", "0.630666", "0.62680525", "0.6221788", "0.6196468", "0.6168907", "0.61005807", "0.60247016", "0.6019676", "0.6016837", "0.59987855", "0.59814554", "0.59800965", "0.5976745", "0.59513575", "0.59479815", "0.5905277", "0.59033567", "0.5853992", "0.5812538", "0.58116066", "0.5805847", "0.5799475", "0.57918125", "0.57715493", "0.57642066", "0.576363", "0.5756595", "0.574824", "0.57472914", "0.57382715", "0.5730702", "0.5727574", "0.5724504", "0.5713369", "0.5707039", "0.5686385", "0.5686144", "0.5676745", "0.56740135", "0.5670403", "0.5670103", "0.5635526", "0.5632137", "0.56230634", "0.5621788", "0.561638", "0.56161183", "0.56120265", "0.56098706", "0.56070954", "0.56069803", "0.56022966", "0.55926025", "0.5590903", "0.55866116", "0.55840033", "0.5578609", "0.5577382", "0.55741215", "0.5569932", "0.5569236", "0.5568142", "0.5559612", "0.55547214", "0.55535096", "0.55525273", "0.5543926", "0.55357355", "0.55286044", "0.55230534", "0.552022", "0.55201566", "0.5517611", "0.55156547", "0.5502559", "0.55007815", "0.54981995", "0.549467", "0.5494148", "0.5493477", "0.54920584", "0.548396", "0.54831487", "0.54823476", "0.5482163", "0.5469235", "0.5465598", "0.54647005", "0.54638755" ]
0.0
-1
simple getter for DTO.
public String getPartner() { return partner; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PropertyDefDto getDto();", "private static String getStringValueFromGetter(Object dto, PropertyDescriptor propertyDescriptor) {\n Method method = propertyDescriptor.getReadMethod();\n String value = \"\";\n\n try {\n value = (String) method.invoke(dto, new Object[]{});\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n } catch (InvocationTargetException e) {\n e.printStackTrace();\n }\n return value;\n }", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public default D toDto(E entity) {\n\t\tif (entity == null) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\treturn DtoUtilService.staticDtoFromEntity(getDtoClass(), entity);\n\t\t}\n\t}", "public ModelDto getModelDto() {\r\n\t\tlog.debug(\" getter modelDto=\"+modelDto);\r\n\t\treturn modelDto;\r\n\t}", "public GrupoDTO getDto() {\n\t\treturn this.dto;\n\t}", "public HojaDeVidaDTO getHojaDeVida() {return hojaDeVida;}", "public ConnectionDTO getDto() {\n return dto;\n }", "public DTOType getDTOType() {\n return DTO_TYPE;\n }", "@Override\r\n\tpublic TableDTO getDTO(Table entity) {\n\t\treturn null;\r\n\t}", "V toDto(E entity);", "D mapToDTO(E entity);", "public abstract D convertToDto(T entity);", "public PersonaDTO obtenerPersona(Long idPersona) throws CustomErrorException {\n\t\tPersonaDTO personaDTO = new PersonaDTO();\n\t\ttry {\n\t\t\tpersonaDTO = Converter.toDto((Persona) gPersona.getById(idPersona)); \n\t\t} catch (CustomErrorException cer) {\n\t\t\tthrow cer;\n\t\t} catch (Exception e) {\n\t\t\tthrow new CustomErrorException(CustomErrorException.ERROR_SERVICIO,this.getClass().getSimpleName(),e.getStackTrace());\n\t\t}\n\n\t\treturn personaDTO;\n\t}", "public GetUsuarioDTO convierteDTO(Integer id){\n Optional<Usuario> usuario = usuarioRepository.findById(id);\n return usuario.map(usuarioDTOConverter::convertToDTO).orElseThrow(()->new UsuarioNotFoundException(id));\n }", "public abstract T convertToEntity(D dto);", "public MyNoteDto getCurrentMyNoteDto();", "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "E mapToEntity(D dto);", "@Override\n @Transactional(readOnly = true)\n public Optional<DomainValueDTO> findOne(Long id) {\n log.debug(\"Request to get DomainValue : {}\", id);\n return domainValueRepository.findById(id)\n .map(domainValueMapper::toDto);\n }", "@Override\n @Transactional\n public D getDtoById(D dto, E entity, Integer id) throws MedragServiceException {\n E entityById = null;\n try {\n entityById = entityDao.getEntityById(entity, id);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n return (D) new ModelMapper().map(entityById, dto.getClass());\n }", "public static EmployeeDTO valueOf(Employee employee){\n EmployeeDTO employeeDTO = new EmployeeDTO();\n BeanUtils.copyProperties(employee, employeeDTO);\n// employeeDto.setId( employee.getId() );\n// employeeDto.setFirstName( employee.getFirstName() );\n\n return employeeDTO;\n\n }", "@Override\r\n\tpublic PersonneDTO getOnePersonne(Long idPersonne) {\n\t\treturn daoPersonne.getOnePersonne(idPersonne);\r\n\t}", "@Override\n\tpublic UsersDto getData(String id) {\n\t\tUsersDto dto=session.selectOne(\"users.getData\",id);\n\t\treturn dto;\n\t}", "public Dto() {\n \t\n }", "@Override\n\tpublic MemberDTO getMember(MemberDTO mdto) {\n\t\treturn mdao.getMember(mdto);\n\t}", "T getObject() {\n\t\t\treturn data;\n\t\t}", "public abstract DTO toDTO(M model);", "@Transactional(readOnly = true)\n public Optional<DRkDTO> findOne(Long id) {\n log.debug(\"Request to get DRk : {}\", id);\n return dRkRepository.findById(id).map(dRkMapper::toDto);\n }", "@Override\n public Optional<DuLieuBaoCaoDTO> findOne(String id) {\n log.debug(\"Request to get DuLieuBaoCao : {}\", id);\n return duLieuBaoCaoRepository.findById(id)\n .map(duLieuBaoCaoMapper::toDto);\n }", "@Override\n @Transactional\n public D getDtoByNaturalId(D dto, E entity, String id) throws MedragServiceException {\n E result = null;\n try {\n result = entityDao.getEntityByNaturalId(entity, id);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n if (result == null) {\n return null;\n } else {\n return (D) new ModelMapper().map(result, dto.getClass());\n }\n }", "@Override\r\n public ReactivoDTO obtener(Integer id) {\n return null;\r\n }", "@Override\n public AlunoDTO findOne(String id) {\n log.debug(\"Request to get Aluno : {}\", id);\n Aluno aluno = alunoRepository.findOne(id);\n return alunoMapper.toDto(aluno);\n }", "private static PlayerDto getPlayerDto(Player player) {\n return player != null ? PlayerDto.builder()._id(player.get_id()).build() : null;\n }", "@GetMapping(produces=MediaType.APPLICATION_JSON_VALUE)\n\tpublic Saludo consulta() {\n\t\treturn new Saludo(\"Hola\", \"!!!!\");\n\t}", "@Override\n\tpublic BaseFWDTOImpl toDTO() {\n\t\treturn null;\n\t}", "PeopleDTO findOne(Long id);", "public Value makeGetter() {\n Value r = new Value(this);\n r.getters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "public PageDto getPageDto() {\n return pageDto;\n }", "public Object getValue(Object obj) throws ReflectiveOperationException {\r\n return fieldAccess.get(obj);\r\n }", "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "public IBaseDTO getDepartment(String id) {\n\t\tIBaseDTO dto=new DynaBeanDTO();\n\t\tSysDepartment sd=(SysDepartment)dao.loadEntity(SysDepartment.class,id);\n\t\t\n\t\tdto.set(\"id\",sd.getId());\n\t\tdto.set(\"name\",sd.getName());\n\t\tdto.set(\"parentId\",sd.getParentId());\n\t\tdto.set(\"remark\",sd.getRemarks());\n\t\tdto.set(\"tagShow\",sd.getTagShow());\n\t\tdto.set(\"admin\",sd.getAdmin());\n\t\treturn dto;\n\t}", "public ch.ivyteam.ivy.scripting.objects.List<ch.ivyteam.ivy.admin.tool.security.UserDTO> getUserDTO()\n {\n return userDTO;\n }", "@Override\n public RecipeEntity getRecipeDto(long id)\n {\n return this.load(RecipeEntity.class, id);\n }", "public D getData() {\n return data;\n }", "public D getData() {\n return data;\n }", "Optional<VitalDTO> findOne(Long id);", "public static ProductDetailsDto getProductDetailsDto() {\n\t\treturn new ProductDetailsDto();\n\t}", "Object getObjectField();", "ClientDTO findOne(final Long id);", "StudentDTO toStudentDTO(Student student);", "public D getData(){\n\t\treturn data;\n\t}", "@Override\n public CategoryDTO get(Long id) {\n Category category = categoryRepository.findById(id).get();\n CategoryDTO result = categoryConverter.toDTO(category);\n return result;\n }", "@RequestMapping(value = \"/{id}\", \n\tmethod = RequestMethod.GET,\n\theaders ={\"Accept=application/json,application/xml\"},\n\tproduces={\"application/json\", \"application/xml\"})\n\tpublic @ResponseBody PersonDTO getPerson(@PathVariable(\"id\") int id){\n\t\tif(log.isDebugEnabled()){\n\t\t\tlog.debug(\"going to query person: \" + id );\n\t\t}\n\t\tPerson person = personService.getPerson(id);\n\t\tif(person == null){\n\t\t\tif(log.isDebugEnabled()){\n\t\t\t\tlog.debug(\"can't find person for : \" + id );\n\t\t\t}\n\t\t\tthrow new EntityNotFoundException(\"can't find person for : \" + id);\n\t\t}else{\n\t\t\treturn new PersonDTO(person);\n\t\t}\n\t}", "@Override\n public Person get(Object o) {\n return myPerson;\n }", "Optional<TypeBonDTO> findOne(Long id);", "PersonaDTO PersonaToPersonaDTO(Persona persona);", "public Optional<PortDTO> findOne(Long id) {\n log.debug(\"Request to get Port : {}\", id);\n return Port.findByIdOptional(id)\n .map(port -> portMapper.toDto((Port) port)); \n }", "List<D> getAllNonDeletedDto();", "public AtendimentoJuridicoDTO toDTO(AtendimentoJuridicoEntity entity){\n\t\tAtendimentoJuridicoDTO dto = new AtendimentoJuridicoDTO();\n\t\tBeanUtils.copyProperties(entity, dto); \n\t\treturn dto ;\n\t}", "@Override\n @Transactional(readOnly = true)\n public CostoDTO findOne(Long id) {\n log.debug(\"Request to get Costo : {}\", id);\n Costo costo = costoRepository.findOne(id);\n return costoMapper.toDto(costo);\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<OrdreDTO> findOne(Long id) {\n log.debug(\"Request to get Ordre : {}\", id);\n return ordreRepository.findById(id)\n .map(ordreMapper::toDto);\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<FonctionsDTO> findOne(Long id) {\n log.debug(\"Request to get Fonctions : {}\", id);\n return fonctionsRepository.findById(id)\n .map(fonctionsMapper::toDto);\n }", "@Override\n @Transactional(readOnly = true)\n public JeuDTO findOne(Long id) {\n log.debug(\"Request to get Jeu : {}\", id);\n Jeu jeu = jeuRepository.findOne(id);\n return jeuMapper.toDto(jeu);\n }", "public static CustomerDetailsDto getCustomerDetailsDto() {\n\t\treturn new CustomerDetailsDto();\n\t}", "@Override\n @Transactional(readOnly = true)\n public Optional<DepositoryInfoDTO> findOne(Long id) {\n log.debug(\"Request to get DepositoryInfo : {}\", id);\n return depositoryInfoRepository.findById(id)\n .map(depositoryInfoMapper::toDto);\n }", "public static UserDTOEx getUserDTO(String username, Integer entityId)\r\n \t\t\tthrows NamingException, SessionInternalError {\r\n \r\n \t\tLOG.debug(\"getting the user \" + username);\r\n \r\n \t\tUserDTO user = new UserDAS().findByUserName(username, entityId);\r\n \t\tif (user == null)\r\n \t\t\treturn null;\r\n \t\treturn getUserDTOEx(user);\r\n \t}", "E toEntity(V dto);", "public Object decorate(Object dtoValue) {\r\n return dtoValue;\r\n }", "public ItemTypeDTO findById(String id);", "@Transactional(readOnly = true)\n public Optional<DisabilityTypeDTO> findOne(Long id) {\n log.debug(\"Request to get DisabilityType : {}\", id);\n return disabilityTypeRepository.findById(id)\n .map(disabilityTypeMapper::toDto);\n }", "public static RoomDTO newDTO() {\n\n RoomDTO roomDTO = new RoomDTO();\n return roomDTO;\n }", "public abstract M toModel(DTO dto);", "public PersonaDTO(){}", "RealtorProductDTO getrealtorProductDTO(int sr_no);", "public EmployeeDto getEmployee(Long employeeId) throws ApiDemoBusinessException;", "Optional<ChatDTO> findOne(Long id);", "protected abstract void processDTO();", "T getData() {\n return this.data;\n }", "AttendanceDTO get(long id);", "@Transactional(readOnly = true)\n public Optional<GeoTypeCommuneDTO> findOne(Long id) {\n log.debug(\"Request to get GeoTypeCommune : {}\", id);\n return geoTypeCommuneRepository.findById(id)\n .map(geoTypeCommuneMapper::toDto);\n }", "public DtoType getDto(EntityType entity, Class<DtoType> myClass) throws ClassNotFoundException, InstantiationException, IllegalAccessException;", "Optional<ConsultationInfoDTO> findOne(Long id);", "@Transactional(readOnly = true)\n public Optional<KohnegiDTO> findOne(Long id) {\n log.debug(\"Request to get Kohnegi : {}\", id);\n return kohnegiRepository.findById(id)\n .map(kohnegiMapper::toDto);\n }", "@Override\n\tpublic List<PermissionDto> getPermission() {\n\t\tList<PermissionDto> dto = permissionRepository.findAll().stream().map(permission -> {\n\t\t\tPermissionDto permissionDto = new PermissionDto();\n\t\t\tBeanUtils.copyProperties(permission, permissionDto);\n\t\t\treturn permissionDto;\n\t\t}).collect(Collectors.toList());\n\t\treturn dto;\n\t}", "BeanPedido getPedido(UUID idPedido);", "public final UnitDTO getDTO(Player player) {\n if (player == Player.SYSTEM || this.isDetected(player)) {\n return new UnitDTO(this.getId(),\n this.details.getId(),\n this.owner.getDTO(),\n this.currentHitPoints,\n this.details.getMaxHitPoints(),\n this.currentMovementAllowance,\n this.details.getMaxMovementAllowance(),\n this.isCloaked(),\n this.getUnitType());\n }\n return null;\n }", "public UserTO getUser (String id);", "private CategoryDTO getCategoryDto(){\n\t\tCategoryDTO category = new CategoryDTO(Long.valueOf(1L), \"categoryName\", \"categoryDesc\");\n\t\treturn category;\n\t}", "public static UserDto getUserDtoById(Integer id) {\n\t\t// create a new UserDaoImpl\n\t\tud = new UserDaoImpl();\n\t\tlogger.info(\"UserDaoImpl created\");\n\n\t\t// get the record that with id as the primary key as a User Object\n\t\tUser user = ud.selectUserById(id);\n\t\tlogger.info(\"User selected from database\");\n\t\tlogger.debug(\"User: \" + user);\n\t\t// create the UserDto\n\t\tUserDto usr = new UserDto(user.getId(), user.getUsername(), user.getfName(), user.getlName(), user.getPriv(),\n\t\t\t\tuser.getActivation());\n\t\tlogger.info(\"UserDto created\");\n\t\tlogger.debug(\"UserDto: \" + usr);\n\t\tlogger.info(\"Returning UserDto\");\n\t\t// return the UserDto\n\t\treturn usr;\n\n\t}", "Optional<ServiceUserDTO> findOne(Long id);", "public UsuarioDTO consultarUsuario(String idUsuario);", "@Override\n @Transactional(readOnly = true)\n public Optional<OperationDTO> findOne(Long id) {\n log.debug(\"Request to get Operation : {}\", id);\n return operationRepository.findById(id)\n .map(operationMapper::toDto);\n }", "Optional<CardDTO> findOne(String id);", "public T get() {\n return object;\n }", "RocketDTO findRocketById(Long id);", "@Transactional(readOnly = true)\n public DeviceDTO findOne(Long id) {\n log.debug(\"Request to get Device : {}\", id);\n Device device = deviceRepository.findOne(id);\n DeviceDTO deviceDTO = deviceMapper.deviceToDeviceDTO(device);\n return deviceDTO;\n }", "D getById(K id);", "public UserDto get(String username) {\n\t\tUser delcheck = userRepository.findByUname(username);\n\t\tif(delcheck.isDeleted() == true){\n\t\t\treturn null;\n\t\t} else {\n\t\treturn userMapper.toUserDto(userRepository.findByUname(username));\n\t\t}\n\t}", "private DTOFactory() {\r\n \t}", "private Object getFieldValue(Field field){\n\t\tObject value = null;\n//\t\tPropertyDescriptor pd;\n//\t\ttry {\n//\t\t\t//to new a PropertyDescriptor, you MUST have getter and setter method in the class,\n//\t\t\t//otherwise it will throw out java.beans.IntrospectionException: Method not found: setId\n//\t\t\tpd = new PropertyDescriptor (field.getName(), getClass());\n//\t\t\tMethod getterMethod = pd.getReadMethod();\n//\t\t\tif(pd!=null){\n//\t\t\t\ttry {\n//\t\t\t\t\tvalue = getterMethod.invoke(this);\n//\t\t\t\t} catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {\n//\t\t\t\t\tlog.debug(\"Failed to get value for field '\"+field.getName()+\"'\",e);\n//\t\t\t\t\tfield.setAccessible(true);\n//\t\t\t\t\ttry {\n//\t\t\t\t\t\tvalue = field.get(this);\n//\t\t\t\t\t} catch (IllegalArgumentException | IllegalAccessException e1) {\n//\t\t\t\t\t\tlog.debug(\"Failed to get value for field '\"+field.getName()+\"'\",e1);\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t}\n//\t\t} catch (IntrospectionException e) {\n//\t\t\tlog.debug(\"Failed to get value for field '\"+field.getName()+\"'\",e);\n//\t\t}\n\t\ttry {\n\t\t\t//Firstly try to get it with getter method\n\t\t\t//PropertyUtils needs commons-beanutils.jar on the classpath, otherwise it throw out NoClassDefFoundError,\n\t\t\t//we catch NoClassDefFoundError and let java reflection to do the work\n\t\t\tvalue = PropertyUtils.getProperty(this, field.getName());\n\t\t} catch (IllegalAccessException | InvocationTargetException | NoSuchMethodException | java.lang.NoClassDefFoundError e) {\n\t\t\tlog.warn(\"Failed to get value for field '\"+field.getName()+\"'\",e);\n\t\t\tfield.setAccessible(true);\n\t\t\ttry {\n\t\t\t\t//try to get directly the field's value by java reflection\n\t\t\t\tvalue = field.get(this);\n\t\t\t} catch (IllegalArgumentException | IllegalAccessException e1) {\n\t\t\t\tlog.warn(\"Failed to get value for field '\"+field.getName()+\"'\",e1);\n\t\t\t}\n\t\t}\n\n\t\treturn value;\n\t}" ]
[ "0.7273436", "0.6823149", "0.65733296", "0.64949", "0.646124", "0.64104265", "0.6381595", "0.6373003", "0.635305", "0.63368684", "0.6306777", "0.63047284", "0.6297499", "0.629366", "0.62362283", "0.61922264", "0.6180639", "0.6154854", "0.61310494", "0.61082697", "0.6084742", "0.60793656", "0.6074092", "0.5996215", "0.5956206", "0.59438014", "0.59275436", "0.589868", "0.58948565", "0.58900154", "0.58753157", "0.5874572", "0.5863107", "0.5855713", "0.585366", "0.5807391", "0.5795188", "0.57942295", "0.5790951", "0.57877034", "0.57832086", "0.57726043", "0.5771136", "0.57689345", "0.57673126", "0.57673126", "0.57662165", "0.57413405", "0.5734677", "0.5731075", "0.5728412", "0.5726764", "0.5720396", "0.57182896", "0.57152486", "0.57092077", "0.57019323", "0.5701612", "0.5701157", "0.5699358", "0.56973904", "0.56954914", "0.56935436", "0.56926775", "0.56909883", "0.56887865", "0.5685703", "0.56835216", "0.5679242", "0.567621", "0.5670629", "0.5665958", "0.56649995", "0.5663608", "0.5656887", "0.56562334", "0.56467086", "0.5646189", "0.5640052", "0.56376", "0.56374395", "0.5636031", "0.5631389", "0.5629031", "0.56259656", "0.5625058", "0.56191814", "0.56153744", "0.5614024", "0.56135666", "0.56114686", "0.56088495", "0.5603129", "0.5599077", "0.5597363", "0.55898374", "0.55852723", "0.5584034", "0.5572638", "0.5562868", "0.55565965" ]
0.0
-1
simple getter for dto.
public int getAantalVerwerkt() { return aantalVerwerkt; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PropertyDefDto getDto();", "private static String getStringValueFromGetter(Object dto, PropertyDescriptor propertyDescriptor) {\n Method method = propertyDescriptor.getReadMethod();\n String value = \"\";\n\n try {\n value = (String) method.invoke(dto, new Object[]{});\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n } catch (InvocationTargetException e) {\n e.printStackTrace();\n }\n return value;\n }", "public default D toDto(E entity) {\n\t\tif (entity == null) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\treturn DtoUtilService.staticDtoFromEntity(getDtoClass(), entity);\n\t\t}\n\t}", "public ModelDto getModelDto() {\r\n\t\tlog.debug(\" getter modelDto=\"+modelDto);\r\n\t\treturn modelDto;\r\n\t}", "public ConnectionDTO getDto() {\n return dto;\n }", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public abstract D convertToDto(T entity);", "V toDto(E entity);", "public MyNoteDto getCurrentMyNoteDto();", "public GrupoDTO getDto() {\n\t\treturn this.dto;\n\t}", "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "public DTOType getDTOType() {\n return DTO_TYPE;\n }", "public abstract T convertToEntity(D dto);", "@Override\n @Transactional\n public D getDtoById(D dto, E entity, Integer id) throws MedragServiceException {\n E entityById = null;\n try {\n entityById = entityDao.getEntityById(entity, id);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n return (D) new ModelMapper().map(entityById, dto.getClass());\n }", "D mapToDTO(E entity);", "public GetUsuarioDTO convierteDTO(Integer id){\n Optional<Usuario> usuario = usuarioRepository.findById(id);\n return usuario.map(usuarioDTOConverter::convertToDTO).orElseThrow(()->new UsuarioNotFoundException(id));\n }", "@Override\r\n\tpublic TableDTO getDTO(Table entity) {\n\t\treturn null;\r\n\t}", "public abstract DTO toDTO(M model);", "@Override\n\tpublic BaseFWDTOImpl toDTO() {\n\t\treturn null;\n\t}", "E mapToEntity(D dto);", "@Override\n @Transactional(readOnly = true)\n public Optional<DomainValueDTO> findOne(Long id) {\n log.debug(\"Request to get DomainValue : {}\", id);\n return domainValueRepository.findById(id)\n .map(domainValueMapper::toDto);\n }", "public Object decorate(Object dtoValue) {\r\n return dtoValue;\r\n }", "public PersonaDTO obtenerPersona(Long idPersona) throws CustomErrorException {\n\t\tPersonaDTO personaDTO = new PersonaDTO();\n\t\ttry {\n\t\t\tpersonaDTO = Converter.toDto((Persona) gPersona.getById(idPersona)); \n\t\t} catch (CustomErrorException cer) {\n\t\t\tthrow cer;\n\t\t} catch (Exception e) {\n\t\t\tthrow new CustomErrorException(CustomErrorException.ERROR_SERVICIO,this.getClass().getSimpleName(),e.getStackTrace());\n\t\t}\n\n\t\treturn personaDTO;\n\t}", "public abstract M toModel(DTO dto);", "public static EmployeeDTO valueOf(Employee employee){\n EmployeeDTO employeeDTO = new EmployeeDTO();\n BeanUtils.copyProperties(employee, employeeDTO);\n// employeeDto.setId( employee.getId() );\n// employeeDto.setFirstName( employee.getFirstName() );\n\n return employeeDTO;\n\n }", "@Override\n @Transactional\n public D getDtoByNaturalId(D dto, E entity, String id) throws MedragServiceException {\n E result = null;\n try {\n result = entityDao.getEntityByNaturalId(entity, id);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n if (result == null) {\n return null;\n } else {\n return (D) new ModelMapper().map(result, dto.getClass());\n }\n }", "public HojaDeVidaDTO getHojaDeVida() {return hojaDeVida;}", "public static CustomerDetailsDto getCustomerDetailsDto() {\n\t\treturn new CustomerDetailsDto();\n\t}", "public PageDto getPageDto() {\n return pageDto;\n }", "@Override\n\tpublic MemberDTO getMember(MemberDTO mdto) {\n\t\treturn mdao.getMember(mdto);\n\t}", "public DtoType getDto(EntityType entity, Class<DtoType> myClass) throws ClassNotFoundException, InstantiationException, IllegalAccessException;", "public DTO getInstanceDTO(M model, Class<DTO> dtoClass) {\n\n DTO modelDTO = null;\n\n EntityUtil entityUtil = new EntityUtil();\n\n try {\n\n modelDTO = entityUtil.copyEntity(model, dtoClass.getConstructor().newInstance());\n\n } catch (InstantiationException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (IllegalAccessException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (InvocationTargetException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (NoSuchMethodException e) {\n LogManager.getLog(this.getClass()).warn(e);\n }\n\n return modelDTO;\n }", "public final UnitDTO getDTO(Player player) {\n if (player == Player.SYSTEM || this.isDetected(player)) {\n return new UnitDTO(this.getId(),\n this.details.getId(),\n this.owner.getDTO(),\n this.currentHitPoints,\n this.details.getMaxHitPoints(),\n this.currentMovementAllowance,\n this.details.getMaxMovementAllowance(),\n this.isCloaked(),\n this.getUnitType());\n }\n return null;\n }", "E toEntity(V dto);", "@Override\n\tpublic UsersDto getData(String id) {\n\t\tUsersDto dto=session.selectOne(\"users.getData\",id);\n\t\treturn dto;\n\t}", "public void setDto(PropertyDefDto dto);", "@Transactional(readOnly = true)\n public Optional<DRkDTO> findOne(Long id) {\n log.debug(\"Request to get DRk : {}\", id);\n return dRkRepository.findById(id).map(dRkMapper::toDto);\n }", "public Dto() {\n \t\n }", "@Override\n public AlunoDTO findOne(String id) {\n log.debug(\"Request to get Aluno : {}\", id);\n Aluno aluno = alunoRepository.findOne(id);\n return alunoMapper.toDto(aluno);\n }", "@Transactional(readOnly = true)\n public Optional<GeoTypeCommuneDTO> findOne(Long id) {\n log.debug(\"Request to get GeoTypeCommune : {}\", id);\n return geoTypeCommuneRepository.findById(id)\n .map(geoTypeCommuneMapper::toDto);\n }", "public static UserDto getUserDtoById(Integer id) {\n\t\t// create a new UserDaoImpl\n\t\tud = new UserDaoImpl();\n\t\tlogger.info(\"UserDaoImpl created\");\n\n\t\t// get the record that with id as the primary key as a User Object\n\t\tUser user = ud.selectUserById(id);\n\t\tlogger.info(\"User selected from database\");\n\t\tlogger.debug(\"User: \" + user);\n\t\t// create the UserDto\n\t\tUserDto usr = new UserDto(user.getId(), user.getUsername(), user.getfName(), user.getlName(), user.getPriv(),\n\t\t\t\tuser.getActivation());\n\t\tlogger.info(\"UserDto created\");\n\t\tlogger.debug(\"UserDto: \" + usr);\n\t\tlogger.info(\"Returning UserDto\");\n\t\t// return the UserDto\n\t\treturn usr;\n\n\t}", "public static EtudiantDto toDto(Etudiant stud) {\n\t\tUserDto uDto = UserDto.toUserDto(stud.getUser());\n\t\tEtudiantDto studDto = new EtudiantDto(stud.getId(), stud.getNom(), stud.getPrenom(), stud.getEmail(), stud.getTel(), uDto);\n\t\treturn studDto;\n\t}", "public AtendimentoJuridicoDTO toDTO(AtendimentoJuridicoEntity entity){\n\t\tAtendimentoJuridicoDTO dto = new AtendimentoJuridicoDTO();\n\t\tBeanUtils.copyProperties(entity, dto); \n\t\treturn dto ;\n\t}", "@Override\r\n\tpublic PersonneDTO getOnePersonne(Long idPersonne) {\n\t\treturn daoPersonne.getOnePersonne(idPersonne);\r\n\t}", "private static PlayerDto getPlayerDto(Player player) {\n return player != null ? PlayerDto.builder()._id(player.get_id()).build() : null;\n }", "@Transactional(readOnly = true)\n public DeviceDTO findOne(Long id) {\n log.debug(\"Request to get Device : {}\", id);\n Device device = deviceRepository.findOne(id);\n DeviceDTO deviceDTO = deviceMapper.deviceToDeviceDTO(device);\n return deviceDTO;\n }", "@Override\n public Optional<DuLieuBaoCaoDTO> findOne(String id) {\n log.debug(\"Request to get DuLieuBaoCao : {}\", id);\n return duLieuBaoCaoRepository.findById(id)\n .map(duLieuBaoCaoMapper::toDto);\n }", "public Optional<PortDTO> findOne(Long id) {\n log.debug(\"Request to get Port : {}\", id);\n return Port.findByIdOptional(id)\n .map(port -> portMapper.toDto((Port) port)); \n }", "public static LandDetailsDto getLandDetailsDto() {\n\t\treturn new LandDetailsDto();\n\t}", "RunDTO toDto(Run run) {\n RunDTO result = new RunDTO();\n result.setId(0L);\n if (null != run) {\n this.fillDto(result, run);\n }\n return result;\n }", "public static ProductDetailsDto getProductDetailsDto() {\n\t\treturn new ProductDetailsDto();\n\t}", "public EntityType getCreateEntity(DtoType dto) throws ClassNotFoundException, InstantiationException, IllegalAccessException;", "public ch.ivyteam.ivy.scripting.objects.List<ch.ivyteam.ivy.admin.tool.security.UserDTO> getUserDTO()\n {\n return userDTO;\n }", "ClientDTO findOne(final Long id);", "@Override\n @Transactional(readOnly = true)\n public CostoDTO findOne(Long id) {\n log.debug(\"Request to get Costo : {}\", id);\n Costo costo = costoRepository.findOne(id);\n return costoMapper.toDto(costo);\n }", "@Transactional(readOnly = true)\n public Optional<DisabilityTypeDTO> findOne(Long id) {\n log.debug(\"Request to get DisabilityType : {}\", id);\n return disabilityTypeRepository.findById(id)\n .map(disabilityTypeMapper::toDto);\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<DqStandardDetailsEntityTimeDTO> findOne(Long id) {\n log.debug(\"Request to get DqStandardDetailsEntityTime : {}\", id);\n return dqStandardDetailsEntityTimeRepository.findById(id)\n .map(dqStandardDetailsEntityTimeMapper::toDto);\n }", "public MemberDto copyEntityToDto(Member entity, MemberDto dto) {\r\n reflectMemberIdToDto(entity, dto);\r\n reflectMemberNameToDto(entity, dto);\r\n reflectFormalizedDatetimeToDto(entity, dto);\r\n reflectUpdateDatetimeToDto(entity, dto);\r\n\r\n return dto;\r\n }", "public IBaseDTO getDepartment(String id) {\n\t\tIBaseDTO dto=new DynaBeanDTO();\n\t\tSysDepartment sd=(SysDepartment)dao.loadEntity(SysDepartment.class,id);\n\t\t\n\t\tdto.set(\"id\",sd.getId());\n\t\tdto.set(\"name\",sd.getName());\n\t\tdto.set(\"parentId\",sd.getParentId());\n\t\tdto.set(\"remark\",sd.getRemarks());\n\t\tdto.set(\"tagShow\",sd.getTagShow());\n\t\tdto.set(\"admin\",sd.getAdmin());\n\t\treturn dto;\n\t}", "@Override\n\tpublic MstCustomerDto getOne(String kdCustomer) {\n\t\tMstCustomerDto mstCustomerDto=new MstCustomerDto();\n\t\tMstCustomer mstCustomer = new MstCustomer();\n\t\tmstCustomer=mstCustomerDao.getOne(kdCustomer);\n\t\tmstCustomerDto = mapperFacade.map(mstCustomer, MstCustomerDto.class);\n\t\t\n\t\treturn mstCustomerDto;\n\t}", "public ConfigSimpleValueDTO getSimpleValueProperty(final String name) {\n \t\treturn simpleProperties.get(name);\n \t}", "private CategoryDTO getCategoryDto(){\n\t\tCategoryDTO category = new CategoryDTO(Long.valueOf(1L), \"categoryName\", \"categoryDesc\");\n\t\treturn category;\n\t}", "protected abstract void processDTO();", "default ShopDTO entityToDto(Shop entity) {\n ShopDTO dto = ShopDTO.builder()\n .productID(entity.getProductID())\n .product(entity.getProduct())\n .image(entity.getImage())\n .content(entity.getContent())\n .price(entity.getPrice())\n .count(entity.getCount())\n .regDate(entity.getRegDate())\n .modDate(entity.getModDate())\n .build();\n return dto;\n }", "StudentDTO toStudentDTO(Student student);", "public static RoomDTO newDTO() {\n\n RoomDTO roomDTO = new RoomDTO();\n return roomDTO;\n }", "public Member copyDtoToEntity(MemberDto dto, Member entity) {\r\n reflectFormalizedDatetimeToEntity(dto, entity);\r\n reflectMemberIdToEntity(dto, entity);\r\n reflectMemberNameToEntity(dto, entity);\r\n reflectUpdateDatetimeToEntity(dto, entity);\r\n\r\n return entity;\r\n }", "public static SystemDTO entityToDTO(final System entity){\n\t\tfinal SystemDTO result = new SystemDTO();\n\t\t\n\t\tresult.setCode(entity.getCode());\n\t\tresult.setName(entity.getName());\n\t\tresult.setId(entity.getId());\n\t\t\n\t\treturn result;\n\t}", "@Override\n protected E dtoToEntity( final D dto )\n {\n Objects.requireNonNull( dto, \"dto argument cannot be null\" );\n final E entity = super.dtoToEntity( dto );\n /*\n * Convert the notes source ID to UUID\n */\n if ( dto instanceof NotesSourceIdContainer &&\n entity instanceof NotesSourceUuidContainer )\n {\n final NotesSourceIdContainer notesSourceIdContainer = (NotesSourceIdContainer) dto;\n /*\n * Check for new sources\n */\n this.stockNoteSourceService.checkForNewSource( notesSourceIdContainer );\n final NotesSourceUuidContainer notesSourceUuidContainer = (NotesSourceUuidContainer)entity;\n /*\n * Convert the String UUID to a real uuid if present\n */\n if ( notesSourceIdContainer.getNotesSourceId() != null &&\n !notesSourceIdContainer.getNotesSourceId().isEmpty() )\n {\n final StockNoteSourceEntity stockNoteSourceEntity = this.stockNoteSourceService\n .getStockNoteSource( ((CustomerUuidContainer)entity).getCustomerUuid(),\n notesSourceIdContainer.getNotesSourceId() );\n notesSourceUuidContainer.setNotesSourceEntity( stockNoteSourceEntity );\n }\n }\n //logMethodEnd( methodName, entity );\n return entity;\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<DepositoryInfoDTO> findOne(Long id) {\n log.debug(\"Request to get DepositoryInfo : {}\", id);\n return depositoryInfoRepository.findById(id)\n .map(depositoryInfoMapper::toDto);\n }", "public static UserDTOEx getUserDTO(String username, Integer entityId)\r\n \t\t\tthrows NamingException, SessionInternalError {\r\n \r\n \t\tLOG.debug(\"getting the user \" + username);\r\n \r\n \t\tUserDTO user = new UserDAS().findByUserName(username, entityId);\r\n \t\tif (user == null)\r\n \t\t\treturn null;\r\n \t\treturn getUserDTOEx(user);\r\n \t}", "@Override\n public RecipeEntity getRecipeDto(long id)\n {\n return this.load(RecipeEntity.class, id);\n }", "@Override\n\tpublic List<PermissionDto> getPermission() {\n\t\tList<PermissionDto> dto = permissionRepository.findAll().stream().map(permission -> {\n\t\t\tPermissionDto permissionDto = new PermissionDto();\n\t\t\tBeanUtils.copyProperties(permission, permissionDto);\n\t\t\treturn permissionDto;\n\t\t}).collect(Collectors.toList());\n\t\treturn dto;\n\t}", "public Value makeGetter() {\n Value r = new Value(this);\n r.getters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "@Override\n @Transactional(readOnly = true)\n public JeuDTO findOne(Long id) {\n log.debug(\"Request to get Jeu : {}\", id);\n Jeu jeu = jeuRepository.findOne(id);\n return jeuMapper.toDto(jeu);\n }", "public static ReadingDTO mapToDTO(Reading reading) {\n if (Objects.isNull(reading)) {\n return null;\n }\n ReadingDTO dto = newReadingDTO();\n dto.setDateTime(reading.getDateTime());\n dto.setValue(reading.getValue());\n return dto;\n }", "Optional<VitalDTO> findOne(Long id);", "@Override\n @Transactional(readOnly = true)\n public Optional<FonctionsDTO> findOne(Long id) {\n log.debug(\"Request to get Fonctions : {}\", id);\n return fonctionsRepository.findById(id)\n .map(fonctionsMapper::toDto);\n }", "public PersonDto findById(String id) {\n Optional<Person> model = Optional.empty();\n return model\n .map(personMapper::toDto)\n .orElse(null);\n }", "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "PeopleDTO findOne(Long id);", "public synchronized StateDTO getStateDTOByStateID(int stateID)\n\t{\n\t\treturn StateDTOByStateID.get(stateID);\n\t}", "Optional<ChatDTO> findOne(Long id);", "public BUserDto convertEntityToDto(BUser entity){\n\t\tBUserDto dto = new BUserDto();\n\t\tif(entity!=null){\n\t\t\tdto.setId(entity.getId());\n\t\t\tdto.setUsername(entity.getUsername());\n\t\t}\n\t\treturn dto;\n\t}", "@Override\n public CategoryDTO get(Long id) {\n Category category = categoryRepository.findById(id).get();\n CategoryDTO result = categoryConverter.toDTO(category);\n return result;\n }", "@Override\n @Transactional\n public List<D> getDtoList(D dto, E entity, String... args) throws MedragServiceException {\n List<E> entityList;\n try {\n entityList = entityDao.getEntityList(entity, args);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n List<D> dtoList = new ArrayList<>();\n entityList.forEach(e -> dtoList.add((D) new ModelMapper().map(e, dto.getClass())));\n return dtoList;\n }", "@Override\n @Transactional(readOnly = true)\n public SintomaDTO findOne(Long id) {\n log.debug(\"Request to get Sintoma : {}\", id);\n Sintoma sintoma = sintomaRepository.findOne(id);\n return sintomaMapper.toDto(sintoma);\n }", "Optional<TypeBonDTO> findOne(Long id);", "PersonaDTO PersonaToPersonaDTO(Persona persona);", "@Override\n\tpublic ExamDTO toDto(Exam exam) {\n\t\treturn null;\n\t}", "@Deprecated\n CreatePdvDto(){}", "@Transactional(readOnly = true)\n public Optional<KohnegiDTO> findOne(Long id) {\n log.debug(\"Request to get Kohnegi : {}\", id);\n return kohnegiRepository.findById(id)\n .map(kohnegiMapper::toDto);\n }", "public PersonaDTO(){}", "Optional<ConsultationInfoDTO> findOne(Long id);", "@Override\n @Transactional(readOnly = true)\n public Optional<OrdreDTO> findOne(Long id) {\n log.debug(\"Request to get Ordre : {}\", id);\n return ordreRepository.findById(id)\n .map(ordreMapper::toDto);\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<StudenteDTO> findOne(Long id) {\n log.debug(\"Request to get Studente : {}\", id);\n return studenteRepository.findOneWithEagerRelationships(id)\n .map(studenteMapper::toDto);\n }", "public UserDto get(String username) {\n\t\tUser delcheck = userRepository.findByUname(username);\n\t\tif(delcheck.isDeleted() == true){\n\t\t\treturn null;\n\t\t} else {\n\t\treturn userMapper.toUserDto(userRepository.findByUname(username));\n\t\t}\n\t}", "@Override\n public MemberDTO findOne(@PathVariable(\"id\") Long id) {\n return MemberDTO.builder().build();\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<LinhvucDTO> findOne(Long id) {\n log.debug(\"Request to get Linhvuc : {}\", id);\n return linhvucRepository.findById(id)\n .map(linhvucMapper::toDto);\n }", "public static UserDTO getUserDTO(UserEntity userEntity) {\n\t\tUserDTO dto = null;\n\t\tif (userEntity != null) {\n\t\t\tdto = new UserDTO();\n\n\t\t\tdto.setUserId(userEntity.getUserId());\n\t\t\tdto.setInsertDate(userEntity.getInsertDate());\n\t\t\tdto.setUpdateDate(userEntity.getUpdateDate());\n\t\t\tdto.setName(userEntity.getUserName());\n\t\t\tdto.setEmail(userEntity.getUserEmail());\n\t\t\tdto.setPassword(userEntity.getUserPassword());\n\t\t\tdto.setIsActive(userEntity.getIsActive());\n\t\t\tdto.setLastLogin(userEntity.getLastLogin());\n\t\t}\n\t\treturn dto;\n\t}", "public ClientPropertyDto mapToDto(ClientProperty property)\r\n\t{\r\n\t\tClientPropertyDto dto = new ClientPropertyDto();\r\n\t\tdto.setKey(property.getKey());\r\n\t\tdto.setValue(property.getValue());\r\n\t\tdto.setId(property.getId());\r\n\t\tdto.setDelete(false);\r\n\t\tdto.setClient(clientMapper.mapToDto(property.getClient()));\r\n\r\n\t\treturn dto;\r\n\t}" ]
[ "0.750052", "0.6922713", "0.6722928", "0.6692394", "0.6610001", "0.6593924", "0.6535411", "0.64553237", "0.6443894", "0.64043105", "0.63509184", "0.63398", "0.630666", "0.62680525", "0.6221788", "0.6196468", "0.6168907", "0.61005807", "0.60247016", "0.6019676", "0.6016837", "0.59987855", "0.59814554", "0.59800965", "0.5976745", "0.59513575", "0.59479815", "0.5905277", "0.59033567", "0.5853992", "0.5812538", "0.58116066", "0.5805847", "0.5799475", "0.57918125", "0.57715493", "0.57642066", "0.576363", "0.5756595", "0.574824", "0.57472914", "0.57382715", "0.5730702", "0.5727574", "0.5724504", "0.5713369", "0.5707039", "0.5686385", "0.5686144", "0.5676745", "0.56740135", "0.5670403", "0.5670103", "0.5635526", "0.5632137", "0.56230634", "0.5621788", "0.561638", "0.56161183", "0.56120265", "0.56098706", "0.56070954", "0.56069803", "0.56022966", "0.55926025", "0.5590903", "0.55866116", "0.55840033", "0.5578609", "0.5577382", "0.55741215", "0.5569932", "0.5569236", "0.5568142", "0.5559612", "0.55547214", "0.55535096", "0.55525273", "0.5543926", "0.55357355", "0.55286044", "0.55230534", "0.552022", "0.55201566", "0.5517611", "0.55156547", "0.5502559", "0.55007815", "0.54981995", "0.549467", "0.5494148", "0.5493477", "0.54920584", "0.548396", "0.54831487", "0.54823476", "0.5482163", "0.5469235", "0.5465598", "0.54647005", "0.54638755" ]
0.0
-1
simple setter for dto.
public void setAantalVerwerkt(int aantalVerwerkt) { this.aantalVerwerkt = aantalVerwerkt; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDto(PropertyDefDto dto);", "D update(D dto);", "public void setDto(GrupoDTO dto) {\n\t\tthis.dto = dto;\n\t}", "public DTO(DTO other) {\n if (other.isSetDatas()) {\n Map<String,String> __this__datas = new HashMap<String,String>(other.datas);\n this.datas = __this__datas;\n }\n }", "@Override\n protected void set(org.tair.db.locusdetail.ILocusDetail dto) {\n locusLocus = dto;\n }", "public Object decorate(Object dtoValue) {\r\n return dtoValue;\r\n }", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public NameDTO() {\r\n this.firstName = \"\";\r\n this.lastName = \"\";\r\n }", "public PropertyDefDto getDto();", "public Value makeSetter() {\n Value r = new Value(this);\n r.setters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "public T set(T obj);", "protected void reflectFormalizedDatetimeToDto(Member entity, MemberDto dto) {\r\n dto.setFormalizedDatetime(extractFormalizedDatetimeFromEntity(entity));\r\n }", "public Dto() {\n \t\n }", "public AbstractEstProxy(Est dto) {\n super(dto);\n\n // Setter arrays\n readObjectSetters = new java.util.concurrent.CopyOnWriteArrayList<com.poesys.db.dto.ISet>();\n }", "public <T> void setProperty(String field, T value) {\n try {\n Field f = this.getClass().getDeclaredField(field); \n f.set(this, value);\n } catch (NoSuchFieldException ex) {\n System.out.println(\"Field no found...\");\n System.out.println(ex.getMessage());\n\n } catch (IllegalAccessException ex) {\n System.out.println(ex.getMessage());\n }\n }", "public abstract DTO toDTO(M model);", "void setDatty(Datty newDatty);", "public void setSelectedContactDTO(ContactDTO dto) {\n/*Generated! Do not modify!*/ replyDTO.getDTOsToSet().add(\"selectedContact\");\n/*Generated! Do not modify!*/ if (dto == null){\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().remove(\"selectedContact\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().put(\"selectedContact\", dto);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_DTO, \"setSelectedContactDTO(\", gson.toJson(dto), getClassName(dto));\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public void createValue() {\r\n value = new com.timeinc.tcs.epay2.EPay2DTO();\r\n }", "public static EmployeeDTO valueOf(Employee employee){\n EmployeeDTO employeeDTO = new EmployeeDTO();\n BeanUtils.copyProperties(employee, employeeDTO);\n// employeeDto.setId( employee.getId() );\n// employeeDto.setFirstName( employee.getFirstName() );\n\n return employeeDTO;\n\n }", "private CustomersDTO getDataFromInputToDTO(CustomersInputDTO inputCustomer, CustomersDTO dtoCustomer) {\n // set value for fields of DTO if input not null\n Arrays.asList(CustomersInputDTO.class.getDeclaredFields()).stream().forEach(field -> {\n if (field.getName().equals(ConstantsCustomers.FIELD_CUSTOMER_DATA)) {\n return;\n }\n String methodGet = METHOD_GET_PREFFIX\n .concat(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, field.getName()));\n String methodSet = METHOD_SET_PREFFIX\n .concat(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, field.getName()));\n try {\n Method inputMethod = CustomersInputDTO.class.getMethod(methodGet);\n if (inputMethod.invoke(inputCustomer) != null) {\n Method outMethod = CustomersDTO.class.getMethod(methodSet, inputMethod.getReturnType());\n outMethod.invoke(dtoCustomer, inputMethod.getReturnType().cast(inputMethod.invoke(inputCustomer)));\n }\n } catch (Exception e) {\n return;\n }\n });\n dtoCustomer.setUpdatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n return dtoCustomer;\n }", "public PersonaDTO(){}", "protected void reflectMemberIdToDto(Member entity, MemberDto dto) {\r\n dto.setMemberId(extractMemberIdFromEntity(entity));\r\n }", "private void copyDtoToEntity(UserDTO dto, User entity) {\n\t\tentity.setFullName(dto.getFullName());\n\t\tentity.setEmail(dto.getEmail());\n\t\tentity.setCpf(dto.getCpf());\n\t\tentity.setBirthDate(dto.getBirthDate());\n\t}", "public abstract T convertToEntity(D dto);", "@Test\n void fromDto() {\n\n final SomeDto dto = SomeDto.builder()\n .text(\"test\")\n .value(123)\n .build();\n\n final SomeMapper mapper = SomeMapper.INSTANCE;\n final SomeModel model = mapper.mapFrom(dto);\n final SomeModel bazModel = mapper.update(dto.withText(\"baz\"), model);\n\n assertThat(bazModel.getText()).isEqualTo(\"baz\");\n }", "public PasswordChangeDTO() {}", "public DomicilioDTO(DomicilioEntity domicilioEntity) {\r\n if (domicilioEntity != null) {\r\n this.id = domicilioEntity.getId();\r\n this.precio = domicilioEntity.getPrecio();\r\n this.idZona = domicilioEntity.getIdZona();\r\n \r\n }\r\n }", "protected void reflectUpdateDatetimeToDto(Member entity, MemberDto dto) {\r\n dto.setUpdateDatetime(extractUpdateDatetimeFromEntity(entity));\r\n }", "StudentDTO toStudentDTO(Student student);", "public ProdutoDTO()\n {\n super();\n }", "public Member copyDtoToEntity(MemberDto dto, Member entity) {\r\n reflectFormalizedDatetimeToEntity(dto, entity);\r\n reflectMemberIdToEntity(dto, entity);\r\n reflectMemberNameToEntity(dto, entity);\r\n reflectUpdateDatetimeToEntity(dto, entity);\r\n\r\n return entity;\r\n }", "public void set(T t, Object obj) {\n try {\n this.field.set(t, obj);\n } catch (IllegalAccessException e) {\n throw new AssertionError(e);\n }\n }", "@Override\n\tpublic void update(Object dto) throws Exception {\n\t\tpropertyConfigMapper.updateByPrimaryKeySelective(dto);\n\t}", "public void setValue(Object value) { this.value = value; }", "public abstract M toModel(DTO dto);", "@Test\n public void testGettersSettersConstructors() {\n LevelReportDto body = new LevelReportDto(\"product-name\", \"key-obs\",\n ProductFamily.L0_REPORT);\n GenericMessageDto<LevelReportDto> dto =\n new GenericMessageDto<LevelReportDto>(123, \"input-key\", body);\n assertEquals(123, dto.getId());\n assertEquals(body, dto.getBody());\n assertEquals(\"input-key\", dto.getInputKey());\n\n dto = new GenericMessageDto<LevelReportDto>();\n dto.setId(321);\n dto.setBody(body);\n dto.setInputKey(\"othey-input\");\n assertEquals(321, dto.getId());\n assertEquals(body, dto.getBody());\n assertEquals(\"othey-input\", dto.getInputKey());\n }", "public void setPropertyWithAutoTypeCast(Object obj, Object value) {\n if(value==null) {\n setProperty(obj, value);\n return;\n }\n Class<?> propType = getPropertyType();\n if(propType.isAssignableFrom(value.getClass())) {\n setProperty(obj, value);\n return;\n }\n if(value instanceof Long && propType.equals(Integer.class)) {\n setProperty(obj, Integer.valueOf(value.toString()));\n return;\n }\n if(value instanceof Double || value instanceof Float || value instanceof BigDecimal) {\n if(propType.isAssignableFrom(Double.class)) {\n setProperty(obj, Double.valueOf(value.toString()));\n return;\n } else if(propType.isAssignableFrom(Float.class)) {\n setProperty(obj, Float.valueOf(value.toString()));\n return;\n } else if(propType.isAssignableFrom(BigDecimal.class)) {\n setProperty(obj, BigDecimal.valueOf(Double.valueOf(value.toString())));\n return;\n } else {\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }\n }\n if(value instanceof java.util.Date) {\n if(propType.isAssignableFrom(java.sql.Timestamp.class)) {\n setProperty(obj, new java.sql.Timestamp(((java.util.Date) value).getTime()));\n return;\n } else if(propType.isAssignableFrom(java.sql.Date.class)) {\n setProperty(obj, new java.sql.Date(((java.util.Date) value).getTime()));\n return;\n } else {\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }\n }\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }", "public abstract D convertToDto(T entity);", "<T> Setter<R> set(Projection<T> projection, T value);", "<T> Setter<R> set(Projection<T> projection, T value);", "@Override\n\tpublic BaseFWDTOImpl toDTO() {\n\t\treturn null;\n\t}", "protected abstract void processDTO();", "public LocusOtherNameProxy(LocusOtherName dto) {\n super(dto); \n }", "public void set(String name, Object value) {\n }", "private <T> void setField(Field field, Object object, T fieldInstance) {\n try {\n field.setAccessible(true);\n field.set(object, fieldInstance);\n } catch (IllegalArgumentException ex) {\n Logger.getLogger(CDIC.class.getName()).log(Level.SEVERE, \"Feld \" + field.getName() + \" ist kein Objekt!\", ex);\n } catch (IllegalAccessException ex) {\n Logger.getLogger(CDIC.class.getName()).log(Level.SEVERE, \"Feld \" + field.getName() + \" ist nicht zugreifbar!\", ex);\n } finally {\n field.setAccessible(false);\n }\n }", "public void setValue(String fieldName, Object value) {\n try {\n Field field = FieldUtils.getField(object.getClass(), fieldName, true);\n if (field != null) {\n FieldUtils.writeField(field, object, value, true);\n } else {\n logger.error(\"Unable to set value on field because the field does not exits on class: \" + object.getClass());\n }\n } catch (IllegalAccessException e) {\n logger.error(e);\n }\n }", "protected void reflectFormalizedDatetimeToEntity(MemberDto dto, Member entity) {\r\n entity.setFormalizedDatetime(extractFormalizedDatetimeFromDto(dto));\r\n }", "E toEntity(V dto);", "@Deprecated\n CreatePdvDto(){}", "public MemberDto copyEntityToDto(Member entity, MemberDto dto) {\r\n reflectMemberIdToDto(entity, dto);\r\n reflectMemberNameToDto(entity, dto);\r\n reflectFormalizedDatetimeToDto(entity, dto);\r\n reflectUpdateDatetimeToDto(entity, dto);\r\n\r\n return dto;\r\n }", "public UserDto() {\n }", "@Test\n public void testSetCharterFileName() {\n System.out.println(\"setCharterFileName\");\n String charterFileName = \"\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setCharterFileName(charterFileName);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }", "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "@CheckReturnValue\n T setField(String field, @Nullable Object value);", "public Value restrictToGetterSetter() {\n checkNotPolymorphicOrUnknown();\n if (!isMaybePrimitive() && !isMaybeObjectOrSymbol())\n return this;\n Value r = new Value(this);\n r.flags &= ~PRIMITIVE;\n r.num = null;\n r.str = null;\n r.object_labels = null;\n r.excluded_strings = r.included_strings = null;\n return canonicalize(r);\n }", "public Userdto(User user) {\n\t\tthis.fname = user.getFirstname();\n\t\tthis.lname = user.getLastname();\n\t\tthis.email = user.getEmail();\n\t}", "@Override\n public void set(Object bean, Object value) throws IOException {\n _propertyMutator.longSetter(bean, ((Number) value).longValue());\n }", "@Test\n public void testSetId() {\n System.out.println(\"setId\");\n long id = 0L;\n DTO_Ride instance = dtoRide;\n instance.setId(id);\n long result = instance.getId();\n assertEquals(id, result);\n }", "protected void reset(Utente dto)\n\t{\n\t}", "@Deprecated\n MerchandiseDTO() {\n }", "E mapToEntity(D dto);", "public void set(Object requestor, String field);", "@CheckReturnValue\n default T setFieldIfPresent(String field, @Nullable Object value) {\n if (value != null) {\n //noinspection ResultOfMethodCallIgnored\n setField(field, value);\n }\n //noinspection unchecked\n return (T)this;\n }", "public ProductoDTO(){\r\n\t\t\r\n\t}", "private CustomersDTO buildDTOToCreate(CustomersDTO customerDto) {\n if (customerDto.getBusinessMainId() < 0) {\n customerDto.setBusinessMainId(0);\n }\n if (customerDto.getBusinessSubId() < 0) {\n customerDto.setBusinessSubId(0);\n }\n if (customerDto.getEmployeeId() == null) {\n customerDto.setEmployeeId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getDepartmentId() == null) {\n customerDto.setDepartmentId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getGroupId() == null) {\n customerDto.setGroupId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getScenarioId() == null) {\n customerDto.setScenarioId(ConstantsCustomers.LONG_VALUE_0L);\n }\n customerDto.setCreatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n customerDto.setUpdatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n return customerDto;\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 }", "@Override\n public void set(T value) throws Exception {\n _curator.setData().forPath(_zkPath, toZkBytes(value));\n }", "protected void setValue(T value) {\r\n this.value = value;\r\n }", "public void setValue(Object o){\n \tthis.value = o;\n }", "public void setData(D s){\n\t\tdata = s;\n\t}", "public void set(Coord dest) {\n x = dest.x;\n y = dest.y;\n }", "public void setHojaDeVida(HojaDeVidaDTO hojaDeVida) {\r\n this.hojaDeVida = hojaDeVida;\r\n }", "public void setContactsDTO(ContactListDTO dto) {\n/*Generated! Do not modify!*/ replyDTO.getDTOsToSet().add(\"contacts\");\n/*Generated! Do not modify!*/ if (dto == null){\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().remove(\"contacts\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().put(\"contacts\", dto);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_DTO, \"setContactsDTO(\", gson.toJson(dto), getClassName(dto));\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public PropertySellerDetailDTO() {\n\n\t}", "@Test\n public void testSetNotesTaken() {\n System.out.println(\"setNotesTaken\");\n ArrayList<Note> notesTaken = new ArrayList<>();\n notesTaken.add(new Note());\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setNotesTaken(notesTaken);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }", "@JsonSetter(\"department\")\n public void setDepartment (String value) { \n this.department = value;\n notifyObservers(this.department);\n }", "private SetProperty(Builder builder) {\n super(builder);\n }", "public void setValue(Object value);", "@Test\r\n public void testSetNewPassword() {\r\n System.out.println(\"setNewPassword\");\r\n String newPassword = \"\";\r\n ForgotPasswordDTO instance = new ForgotPasswordDTO();\r\n instance.setNewPassword(newPassword);\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 assertTrue(true);\r\n }", "@Override\n\tpublic void setValue(Object object) {\n\n\t}", "public static Object convertToDataTransferObject(Object dto, String prefix, Map<String, Object> record,\n Class<?> dtoType, String[] filter) {\n if (null != record && null != dtoType) {\n if (null == dto) {\n dto = newDataTransferObjectInstance(dtoType);\n }\n List<Field> dtoFields = ObjectUtils.getFields(dtoType, true);\n for (Field dtoField : dtoFields) {\n try {\n Object value = null;\n if (hasData(record, prefix, getEntityMappingFieldPath(dtoField))) {\n value = convertToFieldOfDataTransferObject(dto, prefix, record, dtoField, filter);\n }\n ObjectUtils.setValueForField(dto, dtoField.getName(), value, true);\n } catch (IllegalAccessException e) {\n throw new FieldInaccessibleException(\"Cannot set value for field \"\n + dtoType.getSimpleName() + \".\" + dtoField.getName(), e);\n }\n }\n }\n return dto;\n }", "@Test\n public void testConvertComputerToComputerDTO() {\n ComputerDTO computerDTO = new ComputerDTO();\n computerDTO.setId(1);\n computerDTO.setName(\"test\");\n ComputerDTO computerResult = DTOMapper.fromComputer(new Computer.Builder(\"test\").id(1L).build());\n assertEquals(computerDTO, computerResult);\n }", "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "@Override\n public void setField (String fieldToModify, String value, Double duration) {\n\n }", "public void setValue(T value) {\n/* 134 */ this.value = value;\n/* */ }", "@Test(expected=AssertionError.class)\n\tpublic void testPassInvalidToSettersAddress() {\n\t\tbeanTester.testSetterForField(\"invalid\");\n\t}", "void setObjectValue(Object dataObject);", "@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}", "@Test\n public void testSetTotalTime() {\n System.out.println(\"setTotalTime\");\n String totalTime = \"1234658878787\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setTotalTime(totalTime);\n\n String expResult = totalTime;\n String result = instance.getTotalTime();\n assertEquals(expResult, result);\n }", "public NullableResponse(T value) {\n\t\tthis.value = value;\n\t}", "@Test\n public void testSetPathHtml() {\n System.out.println(\"setPathHtml\");\n String pathHtml = \"www.google.com\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setPathHtml(pathHtml);\n String expResult = pathHtml;\n String result = instance.getPathHtml();\n assertEquals(expResult, result);\n }", "public void setValue(T value) {\n/* 89 */ this.value = value;\n/* */ }", "@Test\n public void testWebClientRegServerAccessParamsDtoSetterAndGetter()\n {\n RegServerAccessParamsDto regServerAccessParamsDto = new RegServerAccessParamsDto();\n regServerAccessParamsDto.setRegServerHost(WEB_SERVICE_HOSTNAME);\n regServerAccessParamsDto.setRegServerPort(WEB_SERVICE_HTTPS_PORT);\n regServerAccessParamsDto.setUseSsl(true);\n regServerAccessParamsDto.setUsername(WEB_SERVICE_HTTPS_USERNAME);\n regServerAccessParamsDto.setPassword(WEB_SERVICE_HTTPS_PASSWORD);\n\n // Set the DTO.\n downloaderWebClient.setRegServerAccessParamsDto(regServerAccessParamsDto);\n\n // Retrieve the DTO and validate the results.\n RegServerAccessParamsDto resultRegServerAccessParamsDto = downloaderWebClient.getRegServerAccessParamsDto();\n\n // validate the results.\n assertEquals(WEB_SERVICE_HOSTNAME, resultRegServerAccessParamsDto.getRegServerHost());\n assertEquals(WEB_SERVICE_HTTPS_PORT, resultRegServerAccessParamsDto.getRegServerPort());\n assertTrue(resultRegServerAccessParamsDto.getUseSsl());\n assertEquals(WEB_SERVICE_HTTPS_USERNAME, resultRegServerAccessParamsDto.getUsername());\n assertEquals(WEB_SERVICE_HTTPS_PASSWORD, resultRegServerAccessParamsDto.getPassword());\n }", "public void setValue(final Object value) { _value = value; }", "public void setPageDto(PageDto pageDto) {\n this.pageDto=pageDto;\n }", "public void setValue(T value) {\n this.value = value;\n }", "public void setValue(Object val);", "@Override\n\tpublic void setValue(Object object) {\n\t\t\n\t}", "void setValue(Object value);", "public Customer CopyDtoToEntity(CustomerInput userDto){\n Customer user = new Customer();\n user.setId(userDto.getId());\n user.setFirst_name(userDto.getFirst_name());\n user.setLast_name(userDto.getLast_name());\n user.setEmail(userDto.getEmail());\n user.setAddress_id(userDto.getAddress_id());\n user.setActive(userDto.getActive());\n user.setCreate_date(getCurrentDateTime());\n // user.setCreate_date(getCurrentDateTime());\n return user;\n }" ]
[ "0.76119417", "0.6410523", "0.6352329", "0.629028", "0.62071323", "0.61054677", "0.59315574", "0.5893746", "0.58781576", "0.5864869", "0.581781", "0.57737356", "0.575143", "0.5743864", "0.5732492", "0.5697433", "0.56856525", "0.565059", "0.5640107", "0.56378615", "0.5635913", "0.5607468", "0.560492", "0.56011105", "0.55651563", "0.5542655", "0.5531494", "0.55180573", "0.5507673", "0.5483516", "0.5482589", "0.54820436", "0.54817146", "0.5478189", "0.54760534", "0.5469793", "0.5468797", "0.5468721", "0.54621047", "0.54545695", "0.54545695", "0.5450647", "0.5450043", "0.5436933", "0.5431025", "0.5429107", "0.5412269", "0.5406071", "0.53924716", "0.53911424", "0.53834724", "0.53714645", "0.5364471", "0.5362364", "0.5360671", "0.53428006", "0.534253", "0.5335209", "0.53283393", "0.5326538", "0.5326372", "0.5305984", "0.53049344", "0.5304135", "0.5303342", "0.52849597", "0.5282564", "0.5281421", "0.5278851", "0.52765197", "0.5270475", "0.5265848", "0.52633905", "0.5246037", "0.524544", "0.5236387", "0.5235542", "0.5234721", "0.52280945", "0.5226567", "0.52242607", "0.52231866", "0.5223131", "0.52224356", "0.522169", "0.5217731", "0.5212784", "0.52104145", "0.52101886", "0.52057344", "0.5204444", "0.52038366", "0.5202655", "0.5200326", "0.5199515", "0.5198959", "0.51978165", "0.518835", "0.5187175", "0.51814926", "0.5181125" ]
0.0
-1
simple getter for dto.
public int getAantalFouten() { return aantalFouten; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PropertyDefDto getDto();", "private static String getStringValueFromGetter(Object dto, PropertyDescriptor propertyDescriptor) {\n Method method = propertyDescriptor.getReadMethod();\n String value = \"\";\n\n try {\n value = (String) method.invoke(dto, new Object[]{});\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n } catch (InvocationTargetException e) {\n e.printStackTrace();\n }\n return value;\n }", "public default D toDto(E entity) {\n\t\tif (entity == null) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\treturn DtoUtilService.staticDtoFromEntity(getDtoClass(), entity);\n\t\t}\n\t}", "public ModelDto getModelDto() {\r\n\t\tlog.debug(\" getter modelDto=\"+modelDto);\r\n\t\treturn modelDto;\r\n\t}", "public ConnectionDTO getDto() {\n return dto;\n }", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public abstract D convertToDto(T entity);", "V toDto(E entity);", "public MyNoteDto getCurrentMyNoteDto();", "public GrupoDTO getDto() {\n\t\treturn this.dto;\n\t}", "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "public DTOType getDTOType() {\n return DTO_TYPE;\n }", "public abstract T convertToEntity(D dto);", "@Override\n @Transactional\n public D getDtoById(D dto, E entity, Integer id) throws MedragServiceException {\n E entityById = null;\n try {\n entityById = entityDao.getEntityById(entity, id);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n return (D) new ModelMapper().map(entityById, dto.getClass());\n }", "D mapToDTO(E entity);", "public GetUsuarioDTO convierteDTO(Integer id){\n Optional<Usuario> usuario = usuarioRepository.findById(id);\n return usuario.map(usuarioDTOConverter::convertToDTO).orElseThrow(()->new UsuarioNotFoundException(id));\n }", "@Override\r\n\tpublic TableDTO getDTO(Table entity) {\n\t\treturn null;\r\n\t}", "public abstract DTO toDTO(M model);", "@Override\n\tpublic BaseFWDTOImpl toDTO() {\n\t\treturn null;\n\t}", "E mapToEntity(D dto);", "@Override\n @Transactional(readOnly = true)\n public Optional<DomainValueDTO> findOne(Long id) {\n log.debug(\"Request to get DomainValue : {}\", id);\n return domainValueRepository.findById(id)\n .map(domainValueMapper::toDto);\n }", "public Object decorate(Object dtoValue) {\r\n return dtoValue;\r\n }", "public PersonaDTO obtenerPersona(Long idPersona) throws CustomErrorException {\n\t\tPersonaDTO personaDTO = new PersonaDTO();\n\t\ttry {\n\t\t\tpersonaDTO = Converter.toDto((Persona) gPersona.getById(idPersona)); \n\t\t} catch (CustomErrorException cer) {\n\t\t\tthrow cer;\n\t\t} catch (Exception e) {\n\t\t\tthrow new CustomErrorException(CustomErrorException.ERROR_SERVICIO,this.getClass().getSimpleName(),e.getStackTrace());\n\t\t}\n\n\t\treturn personaDTO;\n\t}", "public abstract M toModel(DTO dto);", "public static EmployeeDTO valueOf(Employee employee){\n EmployeeDTO employeeDTO = new EmployeeDTO();\n BeanUtils.copyProperties(employee, employeeDTO);\n// employeeDto.setId( employee.getId() );\n// employeeDto.setFirstName( employee.getFirstName() );\n\n return employeeDTO;\n\n }", "@Override\n @Transactional\n public D getDtoByNaturalId(D dto, E entity, String id) throws MedragServiceException {\n E result = null;\n try {\n result = entityDao.getEntityByNaturalId(entity, id);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n if (result == null) {\n return null;\n } else {\n return (D) new ModelMapper().map(result, dto.getClass());\n }\n }", "public HojaDeVidaDTO getHojaDeVida() {return hojaDeVida;}", "public static CustomerDetailsDto getCustomerDetailsDto() {\n\t\treturn new CustomerDetailsDto();\n\t}", "public PageDto getPageDto() {\n return pageDto;\n }", "@Override\n\tpublic MemberDTO getMember(MemberDTO mdto) {\n\t\treturn mdao.getMember(mdto);\n\t}", "public DtoType getDto(EntityType entity, Class<DtoType> myClass) throws ClassNotFoundException, InstantiationException, IllegalAccessException;", "public DTO getInstanceDTO(M model, Class<DTO> dtoClass) {\n\n DTO modelDTO = null;\n\n EntityUtil entityUtil = new EntityUtil();\n\n try {\n\n modelDTO = entityUtil.copyEntity(model, dtoClass.getConstructor().newInstance());\n\n } catch (InstantiationException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (IllegalAccessException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (InvocationTargetException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (NoSuchMethodException e) {\n LogManager.getLog(this.getClass()).warn(e);\n }\n\n return modelDTO;\n }", "public final UnitDTO getDTO(Player player) {\n if (player == Player.SYSTEM || this.isDetected(player)) {\n return new UnitDTO(this.getId(),\n this.details.getId(),\n this.owner.getDTO(),\n this.currentHitPoints,\n this.details.getMaxHitPoints(),\n this.currentMovementAllowance,\n this.details.getMaxMovementAllowance(),\n this.isCloaked(),\n this.getUnitType());\n }\n return null;\n }", "E toEntity(V dto);", "@Override\n\tpublic UsersDto getData(String id) {\n\t\tUsersDto dto=session.selectOne(\"users.getData\",id);\n\t\treturn dto;\n\t}", "public void setDto(PropertyDefDto dto);", "@Transactional(readOnly = true)\n public Optional<DRkDTO> findOne(Long id) {\n log.debug(\"Request to get DRk : {}\", id);\n return dRkRepository.findById(id).map(dRkMapper::toDto);\n }", "public Dto() {\n \t\n }", "@Override\n public AlunoDTO findOne(String id) {\n log.debug(\"Request to get Aluno : {}\", id);\n Aluno aluno = alunoRepository.findOne(id);\n return alunoMapper.toDto(aluno);\n }", "@Transactional(readOnly = true)\n public Optional<GeoTypeCommuneDTO> findOne(Long id) {\n log.debug(\"Request to get GeoTypeCommune : {}\", id);\n return geoTypeCommuneRepository.findById(id)\n .map(geoTypeCommuneMapper::toDto);\n }", "public static UserDto getUserDtoById(Integer id) {\n\t\t// create a new UserDaoImpl\n\t\tud = new UserDaoImpl();\n\t\tlogger.info(\"UserDaoImpl created\");\n\n\t\t// get the record that with id as the primary key as a User Object\n\t\tUser user = ud.selectUserById(id);\n\t\tlogger.info(\"User selected from database\");\n\t\tlogger.debug(\"User: \" + user);\n\t\t// create the UserDto\n\t\tUserDto usr = new UserDto(user.getId(), user.getUsername(), user.getfName(), user.getlName(), user.getPriv(),\n\t\t\t\tuser.getActivation());\n\t\tlogger.info(\"UserDto created\");\n\t\tlogger.debug(\"UserDto: \" + usr);\n\t\tlogger.info(\"Returning UserDto\");\n\t\t// return the UserDto\n\t\treturn usr;\n\n\t}", "public static EtudiantDto toDto(Etudiant stud) {\n\t\tUserDto uDto = UserDto.toUserDto(stud.getUser());\n\t\tEtudiantDto studDto = new EtudiantDto(stud.getId(), stud.getNom(), stud.getPrenom(), stud.getEmail(), stud.getTel(), uDto);\n\t\treturn studDto;\n\t}", "public AtendimentoJuridicoDTO toDTO(AtendimentoJuridicoEntity entity){\n\t\tAtendimentoJuridicoDTO dto = new AtendimentoJuridicoDTO();\n\t\tBeanUtils.copyProperties(entity, dto); \n\t\treturn dto ;\n\t}", "@Override\r\n\tpublic PersonneDTO getOnePersonne(Long idPersonne) {\n\t\treturn daoPersonne.getOnePersonne(idPersonne);\r\n\t}", "private static PlayerDto getPlayerDto(Player player) {\n return player != null ? PlayerDto.builder()._id(player.get_id()).build() : null;\n }", "@Transactional(readOnly = true)\n public DeviceDTO findOne(Long id) {\n log.debug(\"Request to get Device : {}\", id);\n Device device = deviceRepository.findOne(id);\n DeviceDTO deviceDTO = deviceMapper.deviceToDeviceDTO(device);\n return deviceDTO;\n }", "@Override\n public Optional<DuLieuBaoCaoDTO> findOne(String id) {\n log.debug(\"Request to get DuLieuBaoCao : {}\", id);\n return duLieuBaoCaoRepository.findById(id)\n .map(duLieuBaoCaoMapper::toDto);\n }", "public Optional<PortDTO> findOne(Long id) {\n log.debug(\"Request to get Port : {}\", id);\n return Port.findByIdOptional(id)\n .map(port -> portMapper.toDto((Port) port)); \n }", "public static LandDetailsDto getLandDetailsDto() {\n\t\treturn new LandDetailsDto();\n\t}", "RunDTO toDto(Run run) {\n RunDTO result = new RunDTO();\n result.setId(0L);\n if (null != run) {\n this.fillDto(result, run);\n }\n return result;\n }", "public static ProductDetailsDto getProductDetailsDto() {\n\t\treturn new ProductDetailsDto();\n\t}", "public EntityType getCreateEntity(DtoType dto) throws ClassNotFoundException, InstantiationException, IllegalAccessException;", "public ch.ivyteam.ivy.scripting.objects.List<ch.ivyteam.ivy.admin.tool.security.UserDTO> getUserDTO()\n {\n return userDTO;\n }", "ClientDTO findOne(final Long id);", "@Override\n @Transactional(readOnly = true)\n public CostoDTO findOne(Long id) {\n log.debug(\"Request to get Costo : {}\", id);\n Costo costo = costoRepository.findOne(id);\n return costoMapper.toDto(costo);\n }", "@Transactional(readOnly = true)\n public Optional<DisabilityTypeDTO> findOne(Long id) {\n log.debug(\"Request to get DisabilityType : {}\", id);\n return disabilityTypeRepository.findById(id)\n .map(disabilityTypeMapper::toDto);\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<DqStandardDetailsEntityTimeDTO> findOne(Long id) {\n log.debug(\"Request to get DqStandardDetailsEntityTime : {}\", id);\n return dqStandardDetailsEntityTimeRepository.findById(id)\n .map(dqStandardDetailsEntityTimeMapper::toDto);\n }", "public MemberDto copyEntityToDto(Member entity, MemberDto dto) {\r\n reflectMemberIdToDto(entity, dto);\r\n reflectMemberNameToDto(entity, dto);\r\n reflectFormalizedDatetimeToDto(entity, dto);\r\n reflectUpdateDatetimeToDto(entity, dto);\r\n\r\n return dto;\r\n }", "public IBaseDTO getDepartment(String id) {\n\t\tIBaseDTO dto=new DynaBeanDTO();\n\t\tSysDepartment sd=(SysDepartment)dao.loadEntity(SysDepartment.class,id);\n\t\t\n\t\tdto.set(\"id\",sd.getId());\n\t\tdto.set(\"name\",sd.getName());\n\t\tdto.set(\"parentId\",sd.getParentId());\n\t\tdto.set(\"remark\",sd.getRemarks());\n\t\tdto.set(\"tagShow\",sd.getTagShow());\n\t\tdto.set(\"admin\",sd.getAdmin());\n\t\treturn dto;\n\t}", "@Override\n\tpublic MstCustomerDto getOne(String kdCustomer) {\n\t\tMstCustomerDto mstCustomerDto=new MstCustomerDto();\n\t\tMstCustomer mstCustomer = new MstCustomer();\n\t\tmstCustomer=mstCustomerDao.getOne(kdCustomer);\n\t\tmstCustomerDto = mapperFacade.map(mstCustomer, MstCustomerDto.class);\n\t\t\n\t\treturn mstCustomerDto;\n\t}", "public ConfigSimpleValueDTO getSimpleValueProperty(final String name) {\n \t\treturn simpleProperties.get(name);\n \t}", "private CategoryDTO getCategoryDto(){\n\t\tCategoryDTO category = new CategoryDTO(Long.valueOf(1L), \"categoryName\", \"categoryDesc\");\n\t\treturn category;\n\t}", "protected abstract void processDTO();", "default ShopDTO entityToDto(Shop entity) {\n ShopDTO dto = ShopDTO.builder()\n .productID(entity.getProductID())\n .product(entity.getProduct())\n .image(entity.getImage())\n .content(entity.getContent())\n .price(entity.getPrice())\n .count(entity.getCount())\n .regDate(entity.getRegDate())\n .modDate(entity.getModDate())\n .build();\n return dto;\n }", "StudentDTO toStudentDTO(Student student);", "public static RoomDTO newDTO() {\n\n RoomDTO roomDTO = new RoomDTO();\n return roomDTO;\n }", "public Member copyDtoToEntity(MemberDto dto, Member entity) {\r\n reflectFormalizedDatetimeToEntity(dto, entity);\r\n reflectMemberIdToEntity(dto, entity);\r\n reflectMemberNameToEntity(dto, entity);\r\n reflectUpdateDatetimeToEntity(dto, entity);\r\n\r\n return entity;\r\n }", "public static SystemDTO entityToDTO(final System entity){\n\t\tfinal SystemDTO result = new SystemDTO();\n\t\t\n\t\tresult.setCode(entity.getCode());\n\t\tresult.setName(entity.getName());\n\t\tresult.setId(entity.getId());\n\t\t\n\t\treturn result;\n\t}", "@Override\n protected E dtoToEntity( final D dto )\n {\n Objects.requireNonNull( dto, \"dto argument cannot be null\" );\n final E entity = super.dtoToEntity( dto );\n /*\n * Convert the notes source ID to UUID\n */\n if ( dto instanceof NotesSourceIdContainer &&\n entity instanceof NotesSourceUuidContainer )\n {\n final NotesSourceIdContainer notesSourceIdContainer = (NotesSourceIdContainer) dto;\n /*\n * Check for new sources\n */\n this.stockNoteSourceService.checkForNewSource( notesSourceIdContainer );\n final NotesSourceUuidContainer notesSourceUuidContainer = (NotesSourceUuidContainer)entity;\n /*\n * Convert the String UUID to a real uuid if present\n */\n if ( notesSourceIdContainer.getNotesSourceId() != null &&\n !notesSourceIdContainer.getNotesSourceId().isEmpty() )\n {\n final StockNoteSourceEntity stockNoteSourceEntity = this.stockNoteSourceService\n .getStockNoteSource( ((CustomerUuidContainer)entity).getCustomerUuid(),\n notesSourceIdContainer.getNotesSourceId() );\n notesSourceUuidContainer.setNotesSourceEntity( stockNoteSourceEntity );\n }\n }\n //logMethodEnd( methodName, entity );\n return entity;\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<DepositoryInfoDTO> findOne(Long id) {\n log.debug(\"Request to get DepositoryInfo : {}\", id);\n return depositoryInfoRepository.findById(id)\n .map(depositoryInfoMapper::toDto);\n }", "public static UserDTOEx getUserDTO(String username, Integer entityId)\r\n \t\t\tthrows NamingException, SessionInternalError {\r\n \r\n \t\tLOG.debug(\"getting the user \" + username);\r\n \r\n \t\tUserDTO user = new UserDAS().findByUserName(username, entityId);\r\n \t\tif (user == null)\r\n \t\t\treturn null;\r\n \t\treturn getUserDTOEx(user);\r\n \t}", "@Override\n public RecipeEntity getRecipeDto(long id)\n {\n return this.load(RecipeEntity.class, id);\n }", "@Override\n\tpublic List<PermissionDto> getPermission() {\n\t\tList<PermissionDto> dto = permissionRepository.findAll().stream().map(permission -> {\n\t\t\tPermissionDto permissionDto = new PermissionDto();\n\t\t\tBeanUtils.copyProperties(permission, permissionDto);\n\t\t\treturn permissionDto;\n\t\t}).collect(Collectors.toList());\n\t\treturn dto;\n\t}", "public Value makeGetter() {\n Value r = new Value(this);\n r.getters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "@Override\n @Transactional(readOnly = true)\n public JeuDTO findOne(Long id) {\n log.debug(\"Request to get Jeu : {}\", id);\n Jeu jeu = jeuRepository.findOne(id);\n return jeuMapper.toDto(jeu);\n }", "public static ReadingDTO mapToDTO(Reading reading) {\n if (Objects.isNull(reading)) {\n return null;\n }\n ReadingDTO dto = newReadingDTO();\n dto.setDateTime(reading.getDateTime());\n dto.setValue(reading.getValue());\n return dto;\n }", "Optional<VitalDTO> findOne(Long id);", "@Override\n @Transactional(readOnly = true)\n public Optional<FonctionsDTO> findOne(Long id) {\n log.debug(\"Request to get Fonctions : {}\", id);\n return fonctionsRepository.findById(id)\n .map(fonctionsMapper::toDto);\n }", "public PersonDto findById(String id) {\n Optional<Person> model = Optional.empty();\n return model\n .map(personMapper::toDto)\n .orElse(null);\n }", "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "PeopleDTO findOne(Long id);", "public synchronized StateDTO getStateDTOByStateID(int stateID)\n\t{\n\t\treturn StateDTOByStateID.get(stateID);\n\t}", "Optional<ChatDTO> findOne(Long id);", "public BUserDto convertEntityToDto(BUser entity){\n\t\tBUserDto dto = new BUserDto();\n\t\tif(entity!=null){\n\t\t\tdto.setId(entity.getId());\n\t\t\tdto.setUsername(entity.getUsername());\n\t\t}\n\t\treturn dto;\n\t}", "@Override\n public CategoryDTO get(Long id) {\n Category category = categoryRepository.findById(id).get();\n CategoryDTO result = categoryConverter.toDTO(category);\n return result;\n }", "@Override\n @Transactional\n public List<D> getDtoList(D dto, E entity, String... args) throws MedragServiceException {\n List<E> entityList;\n try {\n entityList = entityDao.getEntityList(entity, args);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n List<D> dtoList = new ArrayList<>();\n entityList.forEach(e -> dtoList.add((D) new ModelMapper().map(e, dto.getClass())));\n return dtoList;\n }", "@Override\n @Transactional(readOnly = true)\n public SintomaDTO findOne(Long id) {\n log.debug(\"Request to get Sintoma : {}\", id);\n Sintoma sintoma = sintomaRepository.findOne(id);\n return sintomaMapper.toDto(sintoma);\n }", "Optional<TypeBonDTO> findOne(Long id);", "PersonaDTO PersonaToPersonaDTO(Persona persona);", "@Override\n\tpublic ExamDTO toDto(Exam exam) {\n\t\treturn null;\n\t}", "@Deprecated\n CreatePdvDto(){}", "@Transactional(readOnly = true)\n public Optional<KohnegiDTO> findOne(Long id) {\n log.debug(\"Request to get Kohnegi : {}\", id);\n return kohnegiRepository.findById(id)\n .map(kohnegiMapper::toDto);\n }", "public PersonaDTO(){}", "Optional<ConsultationInfoDTO> findOne(Long id);", "@Override\n @Transactional(readOnly = true)\n public Optional<OrdreDTO> findOne(Long id) {\n log.debug(\"Request to get Ordre : {}\", id);\n return ordreRepository.findById(id)\n .map(ordreMapper::toDto);\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<StudenteDTO> findOne(Long id) {\n log.debug(\"Request to get Studente : {}\", id);\n return studenteRepository.findOneWithEagerRelationships(id)\n .map(studenteMapper::toDto);\n }", "public UserDto get(String username) {\n\t\tUser delcheck = userRepository.findByUname(username);\n\t\tif(delcheck.isDeleted() == true){\n\t\t\treturn null;\n\t\t} else {\n\t\treturn userMapper.toUserDto(userRepository.findByUname(username));\n\t\t}\n\t}", "@Override\n public MemberDTO findOne(@PathVariable(\"id\") Long id) {\n return MemberDTO.builder().build();\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<LinhvucDTO> findOne(Long id) {\n log.debug(\"Request to get Linhvuc : {}\", id);\n return linhvucRepository.findById(id)\n .map(linhvucMapper::toDto);\n }", "public static UserDTO getUserDTO(UserEntity userEntity) {\n\t\tUserDTO dto = null;\n\t\tif (userEntity != null) {\n\t\t\tdto = new UserDTO();\n\n\t\t\tdto.setUserId(userEntity.getUserId());\n\t\t\tdto.setInsertDate(userEntity.getInsertDate());\n\t\t\tdto.setUpdateDate(userEntity.getUpdateDate());\n\t\t\tdto.setName(userEntity.getUserName());\n\t\t\tdto.setEmail(userEntity.getUserEmail());\n\t\t\tdto.setPassword(userEntity.getUserPassword());\n\t\t\tdto.setIsActive(userEntity.getIsActive());\n\t\t\tdto.setLastLogin(userEntity.getLastLogin());\n\t\t}\n\t\treturn dto;\n\t}", "public ClientPropertyDto mapToDto(ClientProperty property)\r\n\t{\r\n\t\tClientPropertyDto dto = new ClientPropertyDto();\r\n\t\tdto.setKey(property.getKey());\r\n\t\tdto.setValue(property.getValue());\r\n\t\tdto.setId(property.getId());\r\n\t\tdto.setDelete(false);\r\n\t\tdto.setClient(clientMapper.mapToDto(property.getClient()));\r\n\r\n\t\treturn dto;\r\n\t}" ]
[ "0.750052", "0.6922713", "0.6722928", "0.6692394", "0.6610001", "0.6593924", "0.6535411", "0.64553237", "0.6443894", "0.64043105", "0.63509184", "0.63398", "0.630666", "0.62680525", "0.6221788", "0.6196468", "0.6168907", "0.61005807", "0.60247016", "0.6019676", "0.6016837", "0.59987855", "0.59814554", "0.59800965", "0.5976745", "0.59513575", "0.59479815", "0.5905277", "0.59033567", "0.5853992", "0.5812538", "0.58116066", "0.5805847", "0.5799475", "0.57918125", "0.57715493", "0.57642066", "0.576363", "0.5756595", "0.574824", "0.57472914", "0.57382715", "0.5730702", "0.5727574", "0.5724504", "0.5713369", "0.5707039", "0.5686385", "0.5686144", "0.5676745", "0.56740135", "0.5670403", "0.5670103", "0.5635526", "0.5632137", "0.56230634", "0.5621788", "0.561638", "0.56161183", "0.56120265", "0.56098706", "0.56070954", "0.56069803", "0.56022966", "0.55926025", "0.5590903", "0.55866116", "0.55840033", "0.5578609", "0.5577382", "0.55741215", "0.5569932", "0.5569236", "0.5568142", "0.5559612", "0.55547214", "0.55535096", "0.55525273", "0.5543926", "0.55357355", "0.55286044", "0.55230534", "0.552022", "0.55201566", "0.5517611", "0.55156547", "0.5502559", "0.55007815", "0.54981995", "0.549467", "0.5494148", "0.5493477", "0.54920584", "0.548396", "0.54831487", "0.54823476", "0.5482163", "0.5469235", "0.5465598", "0.54647005", "0.54638755" ]
0.0
-1
simple setter for dto.
public void setAantalFouten(int aantalFouten) { this.aantalFouten = aantalFouten; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDto(PropertyDefDto dto);", "D update(D dto);", "public void setDto(GrupoDTO dto) {\n\t\tthis.dto = dto;\n\t}", "public DTO(DTO other) {\n if (other.isSetDatas()) {\n Map<String,String> __this__datas = new HashMap<String,String>(other.datas);\n this.datas = __this__datas;\n }\n }", "@Override\n protected void set(org.tair.db.locusdetail.ILocusDetail dto) {\n locusLocus = dto;\n }", "public Object decorate(Object dtoValue) {\r\n return dtoValue;\r\n }", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public NameDTO() {\r\n this.firstName = \"\";\r\n this.lastName = \"\";\r\n }", "public PropertyDefDto getDto();", "public Value makeSetter() {\n Value r = new Value(this);\n r.setters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "public T set(T obj);", "protected void reflectFormalizedDatetimeToDto(Member entity, MemberDto dto) {\r\n dto.setFormalizedDatetime(extractFormalizedDatetimeFromEntity(entity));\r\n }", "public Dto() {\n \t\n }", "public AbstractEstProxy(Est dto) {\n super(dto);\n\n // Setter arrays\n readObjectSetters = new java.util.concurrent.CopyOnWriteArrayList<com.poesys.db.dto.ISet>();\n }", "public <T> void setProperty(String field, T value) {\n try {\n Field f = this.getClass().getDeclaredField(field); \n f.set(this, value);\n } catch (NoSuchFieldException ex) {\n System.out.println(\"Field no found...\");\n System.out.println(ex.getMessage());\n\n } catch (IllegalAccessException ex) {\n System.out.println(ex.getMessage());\n }\n }", "public abstract DTO toDTO(M model);", "void setDatty(Datty newDatty);", "public void setSelectedContactDTO(ContactDTO dto) {\n/*Generated! Do not modify!*/ replyDTO.getDTOsToSet().add(\"selectedContact\");\n/*Generated! Do not modify!*/ if (dto == null){\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().remove(\"selectedContact\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().put(\"selectedContact\", dto);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_DTO, \"setSelectedContactDTO(\", gson.toJson(dto), getClassName(dto));\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public void createValue() {\r\n value = new com.timeinc.tcs.epay2.EPay2DTO();\r\n }", "public static EmployeeDTO valueOf(Employee employee){\n EmployeeDTO employeeDTO = new EmployeeDTO();\n BeanUtils.copyProperties(employee, employeeDTO);\n// employeeDto.setId( employee.getId() );\n// employeeDto.setFirstName( employee.getFirstName() );\n\n return employeeDTO;\n\n }", "private CustomersDTO getDataFromInputToDTO(CustomersInputDTO inputCustomer, CustomersDTO dtoCustomer) {\n // set value for fields of DTO if input not null\n Arrays.asList(CustomersInputDTO.class.getDeclaredFields()).stream().forEach(field -> {\n if (field.getName().equals(ConstantsCustomers.FIELD_CUSTOMER_DATA)) {\n return;\n }\n String methodGet = METHOD_GET_PREFFIX\n .concat(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, field.getName()));\n String methodSet = METHOD_SET_PREFFIX\n .concat(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, field.getName()));\n try {\n Method inputMethod = CustomersInputDTO.class.getMethod(methodGet);\n if (inputMethod.invoke(inputCustomer) != null) {\n Method outMethod = CustomersDTO.class.getMethod(methodSet, inputMethod.getReturnType());\n outMethod.invoke(dtoCustomer, inputMethod.getReturnType().cast(inputMethod.invoke(inputCustomer)));\n }\n } catch (Exception e) {\n return;\n }\n });\n dtoCustomer.setUpdatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n return dtoCustomer;\n }", "public PersonaDTO(){}", "protected void reflectMemberIdToDto(Member entity, MemberDto dto) {\r\n dto.setMemberId(extractMemberIdFromEntity(entity));\r\n }", "private void copyDtoToEntity(UserDTO dto, User entity) {\n\t\tentity.setFullName(dto.getFullName());\n\t\tentity.setEmail(dto.getEmail());\n\t\tentity.setCpf(dto.getCpf());\n\t\tentity.setBirthDate(dto.getBirthDate());\n\t}", "public abstract T convertToEntity(D dto);", "@Test\n void fromDto() {\n\n final SomeDto dto = SomeDto.builder()\n .text(\"test\")\n .value(123)\n .build();\n\n final SomeMapper mapper = SomeMapper.INSTANCE;\n final SomeModel model = mapper.mapFrom(dto);\n final SomeModel bazModel = mapper.update(dto.withText(\"baz\"), model);\n\n assertThat(bazModel.getText()).isEqualTo(\"baz\");\n }", "public PasswordChangeDTO() {}", "public DomicilioDTO(DomicilioEntity domicilioEntity) {\r\n if (domicilioEntity != null) {\r\n this.id = domicilioEntity.getId();\r\n this.precio = domicilioEntity.getPrecio();\r\n this.idZona = domicilioEntity.getIdZona();\r\n \r\n }\r\n }", "protected void reflectUpdateDatetimeToDto(Member entity, MemberDto dto) {\r\n dto.setUpdateDatetime(extractUpdateDatetimeFromEntity(entity));\r\n }", "public void set(T t, Object obj) {\n try {\n this.field.set(t, obj);\n } catch (IllegalAccessException e) {\n throw new AssertionError(e);\n }\n }", "public ProdutoDTO()\n {\n super();\n }", "StudentDTO toStudentDTO(Student student);", "public Member copyDtoToEntity(MemberDto dto, Member entity) {\r\n reflectFormalizedDatetimeToEntity(dto, entity);\r\n reflectMemberIdToEntity(dto, entity);\r\n reflectMemberNameToEntity(dto, entity);\r\n reflectUpdateDatetimeToEntity(dto, entity);\r\n\r\n return entity;\r\n }", "public void setValue(Object value) { this.value = value; }", "@Override\n\tpublic void update(Object dto) throws Exception {\n\t\tpropertyConfigMapper.updateByPrimaryKeySelective(dto);\n\t}", "public void setPropertyWithAutoTypeCast(Object obj, Object value) {\n if(value==null) {\n setProperty(obj, value);\n return;\n }\n Class<?> propType = getPropertyType();\n if(propType.isAssignableFrom(value.getClass())) {\n setProperty(obj, value);\n return;\n }\n if(value instanceof Long && propType.equals(Integer.class)) {\n setProperty(obj, Integer.valueOf(value.toString()));\n return;\n }\n if(value instanceof Double || value instanceof Float || value instanceof BigDecimal) {\n if(propType.isAssignableFrom(Double.class)) {\n setProperty(obj, Double.valueOf(value.toString()));\n return;\n } else if(propType.isAssignableFrom(Float.class)) {\n setProperty(obj, Float.valueOf(value.toString()));\n return;\n } else if(propType.isAssignableFrom(BigDecimal.class)) {\n setProperty(obj, BigDecimal.valueOf(Double.valueOf(value.toString())));\n return;\n } else {\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }\n }\n if(value instanceof java.util.Date) {\n if(propType.isAssignableFrom(java.sql.Timestamp.class)) {\n setProperty(obj, new java.sql.Timestamp(((java.util.Date) value).getTime()));\n return;\n } else if(propType.isAssignableFrom(java.sql.Date.class)) {\n setProperty(obj, new java.sql.Date(((java.util.Date) value).getTime()));\n return;\n } else {\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }\n }\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }", "@Test\n public void testGettersSettersConstructors() {\n LevelReportDto body = new LevelReportDto(\"product-name\", \"key-obs\",\n ProductFamily.L0_REPORT);\n GenericMessageDto<LevelReportDto> dto =\n new GenericMessageDto<LevelReportDto>(123, \"input-key\", body);\n assertEquals(123, dto.getId());\n assertEquals(body, dto.getBody());\n assertEquals(\"input-key\", dto.getInputKey());\n\n dto = new GenericMessageDto<LevelReportDto>();\n dto.setId(321);\n dto.setBody(body);\n dto.setInputKey(\"othey-input\");\n assertEquals(321, dto.getId());\n assertEquals(body, dto.getBody());\n assertEquals(\"othey-input\", dto.getInputKey());\n }", "public abstract M toModel(DTO dto);", "public abstract D convertToDto(T entity);", "<T> Setter<R> set(Projection<T> projection, T value);", "<T> Setter<R> set(Projection<T> projection, T value);", "@Override\n\tpublic BaseFWDTOImpl toDTO() {\n\t\treturn null;\n\t}", "protected abstract void processDTO();", "public void set(String name, Object value) {\n }", "public LocusOtherNameProxy(LocusOtherName dto) {\n super(dto); \n }", "private <T> void setField(Field field, Object object, T fieldInstance) {\n try {\n field.setAccessible(true);\n field.set(object, fieldInstance);\n } catch (IllegalArgumentException ex) {\n Logger.getLogger(CDIC.class.getName()).log(Level.SEVERE, \"Feld \" + field.getName() + \" ist kein Objekt!\", ex);\n } catch (IllegalAccessException ex) {\n Logger.getLogger(CDIC.class.getName()).log(Level.SEVERE, \"Feld \" + field.getName() + \" ist nicht zugreifbar!\", ex);\n } finally {\n field.setAccessible(false);\n }\n }", "public void setValue(String fieldName, Object value) {\n try {\n Field field = FieldUtils.getField(object.getClass(), fieldName, true);\n if (field != null) {\n FieldUtils.writeField(field, object, value, true);\n } else {\n logger.error(\"Unable to set value on field because the field does not exits on class: \" + object.getClass());\n }\n } catch (IllegalAccessException e) {\n logger.error(e);\n }\n }", "protected void reflectFormalizedDatetimeToEntity(MemberDto dto, Member entity) {\r\n entity.setFormalizedDatetime(extractFormalizedDatetimeFromDto(dto));\r\n }", "E toEntity(V dto);", "@Deprecated\n CreatePdvDto(){}", "public MemberDto copyEntityToDto(Member entity, MemberDto dto) {\r\n reflectMemberIdToDto(entity, dto);\r\n reflectMemberNameToDto(entity, dto);\r\n reflectFormalizedDatetimeToDto(entity, dto);\r\n reflectUpdateDatetimeToDto(entity, dto);\r\n\r\n return dto;\r\n }", "public UserDto() {\n }", "@Test\n public void testSetCharterFileName() {\n System.out.println(\"setCharterFileName\");\n String charterFileName = \"\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setCharterFileName(charterFileName);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }", "@CheckReturnValue\n T setField(String field, @Nullable Object value);", "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "public Value restrictToGetterSetter() {\n checkNotPolymorphicOrUnknown();\n if (!isMaybePrimitive() && !isMaybeObjectOrSymbol())\n return this;\n Value r = new Value(this);\n r.flags &= ~PRIMITIVE;\n r.num = null;\n r.str = null;\n r.object_labels = null;\n r.excluded_strings = r.included_strings = null;\n return canonicalize(r);\n }", "public Userdto(User user) {\n\t\tthis.fname = user.getFirstname();\n\t\tthis.lname = user.getLastname();\n\t\tthis.email = user.getEmail();\n\t}", "@Override\n public void set(Object bean, Object value) throws IOException {\n _propertyMutator.longSetter(bean, ((Number) value).longValue());\n }", "@Test\n public void testSetId() {\n System.out.println(\"setId\");\n long id = 0L;\n DTO_Ride instance = dtoRide;\n instance.setId(id);\n long result = instance.getId();\n assertEquals(id, result);\n }", "@Deprecated\n MerchandiseDTO() {\n }", "protected void reset(Utente dto)\n\t{\n\t}", "public void set(Object requestor, String field);", "@CheckReturnValue\n default T setFieldIfPresent(String field, @Nullable Object value) {\n if (value != null) {\n //noinspection ResultOfMethodCallIgnored\n setField(field, value);\n }\n //noinspection unchecked\n return (T)this;\n }", "E mapToEntity(D dto);", "public ProductoDTO(){\r\n\t\t\r\n\t}", "@Override\n public void set(T value) throws Exception {\n _curator.setData().forPath(_zkPath, toZkBytes(value));\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 }", "private CustomersDTO buildDTOToCreate(CustomersDTO customerDto) {\n if (customerDto.getBusinessMainId() < 0) {\n customerDto.setBusinessMainId(0);\n }\n if (customerDto.getBusinessSubId() < 0) {\n customerDto.setBusinessSubId(0);\n }\n if (customerDto.getEmployeeId() == null) {\n customerDto.setEmployeeId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getDepartmentId() == null) {\n customerDto.setDepartmentId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getGroupId() == null) {\n customerDto.setGroupId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getScenarioId() == null) {\n customerDto.setScenarioId(ConstantsCustomers.LONG_VALUE_0L);\n }\n customerDto.setCreatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n customerDto.setUpdatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n return customerDto;\n }", "protected void setValue(T value) {\r\n this.value = value;\r\n }", "public void setValue(Object o){\n \tthis.value = o;\n }", "public void setData(D s){\n\t\tdata = s;\n\t}", "public void set(Coord dest) {\n x = dest.x;\n y = dest.y;\n }", "public void setHojaDeVida(HojaDeVidaDTO hojaDeVida) {\r\n this.hojaDeVida = hojaDeVida;\r\n }", "public void setContactsDTO(ContactListDTO dto) {\n/*Generated! Do not modify!*/ replyDTO.getDTOsToSet().add(\"contacts\");\n/*Generated! Do not modify!*/ if (dto == null){\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().remove(\"contacts\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().put(\"contacts\", dto);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_DTO, \"setContactsDTO(\", gson.toJson(dto), getClassName(dto));\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public PropertySellerDetailDTO() {\n\n\t}", "@JsonSetter(\"department\")\n public void setDepartment (String value) { \n this.department = value;\n notifyObservers(this.department);\n }", "@Test\n public void testSetNotesTaken() {\n System.out.println(\"setNotesTaken\");\n ArrayList<Note> notesTaken = new ArrayList<>();\n notesTaken.add(new Note());\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setNotesTaken(notesTaken);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }", "private SetProperty(Builder builder) {\n super(builder);\n }", "public void setValue(Object value);", "@Test\r\n public void testSetNewPassword() {\r\n System.out.println(\"setNewPassword\");\r\n String newPassword = \"\";\r\n ForgotPasswordDTO instance = new ForgotPasswordDTO();\r\n instance.setNewPassword(newPassword);\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 assertTrue(true);\r\n }", "@Override\n\tpublic void setValue(Object object) {\n\n\t}", "@Override\n public void setField (String fieldToModify, String value, Double duration) {\n\n }", "@Test\n public void testConvertComputerToComputerDTO() {\n ComputerDTO computerDTO = new ComputerDTO();\n computerDTO.setId(1);\n computerDTO.setName(\"test\");\n ComputerDTO computerResult = DTOMapper.fromComputer(new Computer.Builder(\"test\").id(1L).build());\n assertEquals(computerDTO, computerResult);\n }", "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "public void setValue(T value) {\n/* 134 */ this.value = value;\n/* */ }", "public static Object convertToDataTransferObject(Object dto, String prefix, Map<String, Object> record,\n Class<?> dtoType, String[] filter) {\n if (null != record && null != dtoType) {\n if (null == dto) {\n dto = newDataTransferObjectInstance(dtoType);\n }\n List<Field> dtoFields = ObjectUtils.getFields(dtoType, true);\n for (Field dtoField : dtoFields) {\n try {\n Object value = null;\n if (hasData(record, prefix, getEntityMappingFieldPath(dtoField))) {\n value = convertToFieldOfDataTransferObject(dto, prefix, record, dtoField, filter);\n }\n ObjectUtils.setValueForField(dto, dtoField.getName(), value, true);\n } catch (IllegalAccessException e) {\n throw new FieldInaccessibleException(\"Cannot set value for field \"\n + dtoType.getSimpleName() + \".\" + dtoField.getName(), e);\n }\n }\n }\n return dto;\n }", "@Test(expected=AssertionError.class)\n\tpublic void testPassInvalidToSettersAddress() {\n\t\tbeanTester.testSetterForField(\"invalid\");\n\t}", "@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}", "void setObjectValue(Object dataObject);", "@Test\n public void testSetTotalTime() {\n System.out.println(\"setTotalTime\");\n String totalTime = \"1234658878787\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setTotalTime(totalTime);\n\n String expResult = totalTime;\n String result = instance.getTotalTime();\n assertEquals(expResult, result);\n }", "public NullableResponse(T value) {\n\t\tthis.value = value;\n\t}", "@Test\n public void testSetPathHtml() {\n System.out.println(\"setPathHtml\");\n String pathHtml = \"www.google.com\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setPathHtml(pathHtml);\n String expResult = pathHtml;\n String result = instance.getPathHtml();\n assertEquals(expResult, result);\n }", "public void setValue(T value) {\n/* 89 */ this.value = value;\n/* */ }", "public void setValue(final Object value) { _value = value; }", "@Test\n public void testWebClientRegServerAccessParamsDtoSetterAndGetter()\n {\n RegServerAccessParamsDto regServerAccessParamsDto = new RegServerAccessParamsDto();\n regServerAccessParamsDto.setRegServerHost(WEB_SERVICE_HOSTNAME);\n regServerAccessParamsDto.setRegServerPort(WEB_SERVICE_HTTPS_PORT);\n regServerAccessParamsDto.setUseSsl(true);\n regServerAccessParamsDto.setUsername(WEB_SERVICE_HTTPS_USERNAME);\n regServerAccessParamsDto.setPassword(WEB_SERVICE_HTTPS_PASSWORD);\n\n // Set the DTO.\n downloaderWebClient.setRegServerAccessParamsDto(regServerAccessParamsDto);\n\n // Retrieve the DTO and validate the results.\n RegServerAccessParamsDto resultRegServerAccessParamsDto = downloaderWebClient.getRegServerAccessParamsDto();\n\n // validate the results.\n assertEquals(WEB_SERVICE_HOSTNAME, resultRegServerAccessParamsDto.getRegServerHost());\n assertEquals(WEB_SERVICE_HTTPS_PORT, resultRegServerAccessParamsDto.getRegServerPort());\n assertTrue(resultRegServerAccessParamsDto.getUseSsl());\n assertEquals(WEB_SERVICE_HTTPS_USERNAME, resultRegServerAccessParamsDto.getUsername());\n assertEquals(WEB_SERVICE_HTTPS_PASSWORD, resultRegServerAccessParamsDto.getPassword());\n }", "public void setValue(T value) {\n this.value = value;\n }", "public void setPageDto(PageDto pageDto) {\n this.pageDto=pageDto;\n }", "public void setValue(Object val);", "@Override\n\tpublic void setValue(Object object) {\n\t\t\n\t}", "void setValue(Object value);", "public Customer CopyDtoToEntity(CustomerInput userDto){\n Customer user = new Customer();\n user.setId(userDto.getId());\n user.setFirst_name(userDto.getFirst_name());\n user.setLast_name(userDto.getLast_name());\n user.setEmail(userDto.getEmail());\n user.setAddress_id(userDto.getAddress_id());\n user.setActive(userDto.getActive());\n user.setCreate_date(getCurrentDateTime());\n // user.setCreate_date(getCurrentDateTime());\n return user;\n }" ]
[ "0.76097155", "0.6409665", "0.6349789", "0.6288937", "0.62061846", "0.61044866", "0.59307814", "0.5894473", "0.5876073", "0.586646", "0.5820376", "0.5771962", "0.5750958", "0.5743785", "0.5733695", "0.5695782", "0.5687327", "0.564823", "0.56414926", "0.5637008", "0.5634989", "0.5606476", "0.56019545", "0.5599003", "0.5563539", "0.5540853", "0.5530488", "0.55179924", "0.55058", "0.5483048", "0.54818493", "0.54811716", "0.547967", "0.54793864", "0.54755473", "0.5469261", "0.5467988", "0.546757", "0.5460106", "0.54567236", "0.54567236", "0.5449294", "0.5448695", "0.5435095", "0.54350734", "0.54293376", "0.541372", "0.5404912", "0.5391896", "0.5390374", "0.5380379", "0.53704906", "0.5365583", "0.5363313", "0.53597784", "0.5344854", "0.53416336", "0.5336558", "0.5329327", "0.53266156", "0.5324959", "0.53066164", "0.5305869", "0.5304092", "0.5303049", "0.52852637", "0.5284331", "0.5283152", "0.52821666", "0.5278862", "0.52726316", "0.52659833", "0.5263813", "0.5244765", "0.52444303", "0.52377385", "0.52368546", "0.52359396", "0.52313673", "0.522693", "0.5226417", "0.52238697", "0.5221093", "0.52206826", "0.52206445", "0.52202016", "0.5213629", "0.52134234", "0.521211", "0.52072483", "0.5207097", "0.52059484", "0.5205658", "0.5202471", "0.5201445", "0.5201183", "0.51981664", "0.5191239", "0.5189275", "0.51845425", "0.51797605" ]
0.0
-1
simple setter for dto.
public void setPartner(String partner) { this.partner = partner; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDto(PropertyDefDto dto);", "D update(D dto);", "public void setDto(GrupoDTO dto) {\n\t\tthis.dto = dto;\n\t}", "public DTO(DTO other) {\n if (other.isSetDatas()) {\n Map<String,String> __this__datas = new HashMap<String,String>(other.datas);\n this.datas = __this__datas;\n }\n }", "@Override\n protected void set(org.tair.db.locusdetail.ILocusDetail dto) {\n locusLocus = dto;\n }", "public Object decorate(Object dtoValue) {\r\n return dtoValue;\r\n }", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public NameDTO() {\r\n this.firstName = \"\";\r\n this.lastName = \"\";\r\n }", "public PropertyDefDto getDto();", "public Value makeSetter() {\n Value r = new Value(this);\n r.setters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "public T set(T obj);", "protected void reflectFormalizedDatetimeToDto(Member entity, MemberDto dto) {\r\n dto.setFormalizedDatetime(extractFormalizedDatetimeFromEntity(entity));\r\n }", "public Dto() {\n \t\n }", "public AbstractEstProxy(Est dto) {\n super(dto);\n\n // Setter arrays\n readObjectSetters = new java.util.concurrent.CopyOnWriteArrayList<com.poesys.db.dto.ISet>();\n }", "public <T> void setProperty(String field, T value) {\n try {\n Field f = this.getClass().getDeclaredField(field); \n f.set(this, value);\n } catch (NoSuchFieldException ex) {\n System.out.println(\"Field no found...\");\n System.out.println(ex.getMessage());\n\n } catch (IllegalAccessException ex) {\n System.out.println(ex.getMessage());\n }\n }", "public abstract DTO toDTO(M model);", "void setDatty(Datty newDatty);", "public void setSelectedContactDTO(ContactDTO dto) {\n/*Generated! Do not modify!*/ replyDTO.getDTOsToSet().add(\"selectedContact\");\n/*Generated! Do not modify!*/ if (dto == null){\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().remove(\"selectedContact\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().put(\"selectedContact\", dto);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_DTO, \"setSelectedContactDTO(\", gson.toJson(dto), getClassName(dto));\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public void createValue() {\r\n value = new com.timeinc.tcs.epay2.EPay2DTO();\r\n }", "public static EmployeeDTO valueOf(Employee employee){\n EmployeeDTO employeeDTO = new EmployeeDTO();\n BeanUtils.copyProperties(employee, employeeDTO);\n// employeeDto.setId( employee.getId() );\n// employeeDto.setFirstName( employee.getFirstName() );\n\n return employeeDTO;\n\n }", "private CustomersDTO getDataFromInputToDTO(CustomersInputDTO inputCustomer, CustomersDTO dtoCustomer) {\n // set value for fields of DTO if input not null\n Arrays.asList(CustomersInputDTO.class.getDeclaredFields()).stream().forEach(field -> {\n if (field.getName().equals(ConstantsCustomers.FIELD_CUSTOMER_DATA)) {\n return;\n }\n String methodGet = METHOD_GET_PREFFIX\n .concat(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, field.getName()));\n String methodSet = METHOD_SET_PREFFIX\n .concat(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, field.getName()));\n try {\n Method inputMethod = CustomersInputDTO.class.getMethod(methodGet);\n if (inputMethod.invoke(inputCustomer) != null) {\n Method outMethod = CustomersDTO.class.getMethod(methodSet, inputMethod.getReturnType());\n outMethod.invoke(dtoCustomer, inputMethod.getReturnType().cast(inputMethod.invoke(inputCustomer)));\n }\n } catch (Exception e) {\n return;\n }\n });\n dtoCustomer.setUpdatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n return dtoCustomer;\n }", "public PersonaDTO(){}", "protected void reflectMemberIdToDto(Member entity, MemberDto dto) {\r\n dto.setMemberId(extractMemberIdFromEntity(entity));\r\n }", "private void copyDtoToEntity(UserDTO dto, User entity) {\n\t\tentity.setFullName(dto.getFullName());\n\t\tentity.setEmail(dto.getEmail());\n\t\tentity.setCpf(dto.getCpf());\n\t\tentity.setBirthDate(dto.getBirthDate());\n\t}", "public abstract T convertToEntity(D dto);", "@Test\n void fromDto() {\n\n final SomeDto dto = SomeDto.builder()\n .text(\"test\")\n .value(123)\n .build();\n\n final SomeMapper mapper = SomeMapper.INSTANCE;\n final SomeModel model = mapper.mapFrom(dto);\n final SomeModel bazModel = mapper.update(dto.withText(\"baz\"), model);\n\n assertThat(bazModel.getText()).isEqualTo(\"baz\");\n }", "public PasswordChangeDTO() {}", "public DomicilioDTO(DomicilioEntity domicilioEntity) {\r\n if (domicilioEntity != null) {\r\n this.id = domicilioEntity.getId();\r\n this.precio = domicilioEntity.getPrecio();\r\n this.idZona = domicilioEntity.getIdZona();\r\n \r\n }\r\n }", "protected void reflectUpdateDatetimeToDto(Member entity, MemberDto dto) {\r\n dto.setUpdateDatetime(extractUpdateDatetimeFromEntity(entity));\r\n }", "public void set(T t, Object obj) {\n try {\n this.field.set(t, obj);\n } catch (IllegalAccessException e) {\n throw new AssertionError(e);\n }\n }", "public ProdutoDTO()\n {\n super();\n }", "StudentDTO toStudentDTO(Student student);", "public Member copyDtoToEntity(MemberDto dto, Member entity) {\r\n reflectFormalizedDatetimeToEntity(dto, entity);\r\n reflectMemberIdToEntity(dto, entity);\r\n reflectMemberNameToEntity(dto, entity);\r\n reflectUpdateDatetimeToEntity(dto, entity);\r\n\r\n return entity;\r\n }", "public void setValue(Object value) { this.value = value; }", "@Override\n\tpublic void update(Object dto) throws Exception {\n\t\tpropertyConfigMapper.updateByPrimaryKeySelective(dto);\n\t}", "public void setPropertyWithAutoTypeCast(Object obj, Object value) {\n if(value==null) {\n setProperty(obj, value);\n return;\n }\n Class<?> propType = getPropertyType();\n if(propType.isAssignableFrom(value.getClass())) {\n setProperty(obj, value);\n return;\n }\n if(value instanceof Long && propType.equals(Integer.class)) {\n setProperty(obj, Integer.valueOf(value.toString()));\n return;\n }\n if(value instanceof Double || value instanceof Float || value instanceof BigDecimal) {\n if(propType.isAssignableFrom(Double.class)) {\n setProperty(obj, Double.valueOf(value.toString()));\n return;\n } else if(propType.isAssignableFrom(Float.class)) {\n setProperty(obj, Float.valueOf(value.toString()));\n return;\n } else if(propType.isAssignableFrom(BigDecimal.class)) {\n setProperty(obj, BigDecimal.valueOf(Double.valueOf(value.toString())));\n return;\n } else {\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }\n }\n if(value instanceof java.util.Date) {\n if(propType.isAssignableFrom(java.sql.Timestamp.class)) {\n setProperty(obj, new java.sql.Timestamp(((java.util.Date) value).getTime()));\n return;\n } else if(propType.isAssignableFrom(java.sql.Date.class)) {\n setProperty(obj, new java.sql.Date(((java.util.Date) value).getTime()));\n return;\n } else {\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }\n }\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }", "@Test\n public void testGettersSettersConstructors() {\n LevelReportDto body = new LevelReportDto(\"product-name\", \"key-obs\",\n ProductFamily.L0_REPORT);\n GenericMessageDto<LevelReportDto> dto =\n new GenericMessageDto<LevelReportDto>(123, \"input-key\", body);\n assertEquals(123, dto.getId());\n assertEquals(body, dto.getBody());\n assertEquals(\"input-key\", dto.getInputKey());\n\n dto = new GenericMessageDto<LevelReportDto>();\n dto.setId(321);\n dto.setBody(body);\n dto.setInputKey(\"othey-input\");\n assertEquals(321, dto.getId());\n assertEquals(body, dto.getBody());\n assertEquals(\"othey-input\", dto.getInputKey());\n }", "public abstract M toModel(DTO dto);", "public abstract D convertToDto(T entity);", "<T> Setter<R> set(Projection<T> projection, T value);", "<T> Setter<R> set(Projection<T> projection, T value);", "@Override\n\tpublic BaseFWDTOImpl toDTO() {\n\t\treturn null;\n\t}", "protected abstract void processDTO();", "public void set(String name, Object value) {\n }", "public LocusOtherNameProxy(LocusOtherName dto) {\n super(dto); \n }", "private <T> void setField(Field field, Object object, T fieldInstance) {\n try {\n field.setAccessible(true);\n field.set(object, fieldInstance);\n } catch (IllegalArgumentException ex) {\n Logger.getLogger(CDIC.class.getName()).log(Level.SEVERE, \"Feld \" + field.getName() + \" ist kein Objekt!\", ex);\n } catch (IllegalAccessException ex) {\n Logger.getLogger(CDIC.class.getName()).log(Level.SEVERE, \"Feld \" + field.getName() + \" ist nicht zugreifbar!\", ex);\n } finally {\n field.setAccessible(false);\n }\n }", "public void setValue(String fieldName, Object value) {\n try {\n Field field = FieldUtils.getField(object.getClass(), fieldName, true);\n if (field != null) {\n FieldUtils.writeField(field, object, value, true);\n } else {\n logger.error(\"Unable to set value on field because the field does not exits on class: \" + object.getClass());\n }\n } catch (IllegalAccessException e) {\n logger.error(e);\n }\n }", "protected void reflectFormalizedDatetimeToEntity(MemberDto dto, Member entity) {\r\n entity.setFormalizedDatetime(extractFormalizedDatetimeFromDto(dto));\r\n }", "E toEntity(V dto);", "@Deprecated\n CreatePdvDto(){}", "public MemberDto copyEntityToDto(Member entity, MemberDto dto) {\r\n reflectMemberIdToDto(entity, dto);\r\n reflectMemberNameToDto(entity, dto);\r\n reflectFormalizedDatetimeToDto(entity, dto);\r\n reflectUpdateDatetimeToDto(entity, dto);\r\n\r\n return dto;\r\n }", "public UserDto() {\n }", "@Test\n public void testSetCharterFileName() {\n System.out.println(\"setCharterFileName\");\n String charterFileName = \"\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setCharterFileName(charterFileName);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }", "@CheckReturnValue\n T setField(String field, @Nullable Object value);", "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "public Value restrictToGetterSetter() {\n checkNotPolymorphicOrUnknown();\n if (!isMaybePrimitive() && !isMaybeObjectOrSymbol())\n return this;\n Value r = new Value(this);\n r.flags &= ~PRIMITIVE;\n r.num = null;\n r.str = null;\n r.object_labels = null;\n r.excluded_strings = r.included_strings = null;\n return canonicalize(r);\n }", "public Userdto(User user) {\n\t\tthis.fname = user.getFirstname();\n\t\tthis.lname = user.getLastname();\n\t\tthis.email = user.getEmail();\n\t}", "@Override\n public void set(Object bean, Object value) throws IOException {\n _propertyMutator.longSetter(bean, ((Number) value).longValue());\n }", "@Test\n public void testSetId() {\n System.out.println(\"setId\");\n long id = 0L;\n DTO_Ride instance = dtoRide;\n instance.setId(id);\n long result = instance.getId();\n assertEquals(id, result);\n }", "@Deprecated\n MerchandiseDTO() {\n }", "protected void reset(Utente dto)\n\t{\n\t}", "public void set(Object requestor, String field);", "@CheckReturnValue\n default T setFieldIfPresent(String field, @Nullable Object value) {\n if (value != null) {\n //noinspection ResultOfMethodCallIgnored\n setField(field, value);\n }\n //noinspection unchecked\n return (T)this;\n }", "E mapToEntity(D dto);", "public ProductoDTO(){\r\n\t\t\r\n\t}", "@Override\n public void set(T value) throws Exception {\n _curator.setData().forPath(_zkPath, toZkBytes(value));\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 }", "private CustomersDTO buildDTOToCreate(CustomersDTO customerDto) {\n if (customerDto.getBusinessMainId() < 0) {\n customerDto.setBusinessMainId(0);\n }\n if (customerDto.getBusinessSubId() < 0) {\n customerDto.setBusinessSubId(0);\n }\n if (customerDto.getEmployeeId() == null) {\n customerDto.setEmployeeId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getDepartmentId() == null) {\n customerDto.setDepartmentId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getGroupId() == null) {\n customerDto.setGroupId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getScenarioId() == null) {\n customerDto.setScenarioId(ConstantsCustomers.LONG_VALUE_0L);\n }\n customerDto.setCreatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n customerDto.setUpdatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n return customerDto;\n }", "protected void setValue(T value) {\r\n this.value = value;\r\n }", "public void setValue(Object o){\n \tthis.value = o;\n }", "public void setData(D s){\n\t\tdata = s;\n\t}", "public void set(Coord dest) {\n x = dest.x;\n y = dest.y;\n }", "public void setHojaDeVida(HojaDeVidaDTO hojaDeVida) {\r\n this.hojaDeVida = hojaDeVida;\r\n }", "public void setContactsDTO(ContactListDTO dto) {\n/*Generated! Do not modify!*/ replyDTO.getDTOsToSet().add(\"contacts\");\n/*Generated! Do not modify!*/ if (dto == null){\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().remove(\"contacts\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().put(\"contacts\", dto);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_DTO, \"setContactsDTO(\", gson.toJson(dto), getClassName(dto));\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public PropertySellerDetailDTO() {\n\n\t}", "@JsonSetter(\"department\")\n public void setDepartment (String value) { \n this.department = value;\n notifyObservers(this.department);\n }", "@Test\n public void testSetNotesTaken() {\n System.out.println(\"setNotesTaken\");\n ArrayList<Note> notesTaken = new ArrayList<>();\n notesTaken.add(new Note());\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setNotesTaken(notesTaken);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }", "private SetProperty(Builder builder) {\n super(builder);\n }", "public void setValue(Object value);", "@Test\r\n public void testSetNewPassword() {\r\n System.out.println(\"setNewPassword\");\r\n String newPassword = \"\";\r\n ForgotPasswordDTO instance = new ForgotPasswordDTO();\r\n instance.setNewPassword(newPassword);\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 assertTrue(true);\r\n }", "@Override\n\tpublic void setValue(Object object) {\n\n\t}", "@Override\n public void setField (String fieldToModify, String value, Double duration) {\n\n }", "@Test\n public void testConvertComputerToComputerDTO() {\n ComputerDTO computerDTO = new ComputerDTO();\n computerDTO.setId(1);\n computerDTO.setName(\"test\");\n ComputerDTO computerResult = DTOMapper.fromComputer(new Computer.Builder(\"test\").id(1L).build());\n assertEquals(computerDTO, computerResult);\n }", "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "public void setValue(T value) {\n/* 134 */ this.value = value;\n/* */ }", "public static Object convertToDataTransferObject(Object dto, String prefix, Map<String, Object> record,\n Class<?> dtoType, String[] filter) {\n if (null != record && null != dtoType) {\n if (null == dto) {\n dto = newDataTransferObjectInstance(dtoType);\n }\n List<Field> dtoFields = ObjectUtils.getFields(dtoType, true);\n for (Field dtoField : dtoFields) {\n try {\n Object value = null;\n if (hasData(record, prefix, getEntityMappingFieldPath(dtoField))) {\n value = convertToFieldOfDataTransferObject(dto, prefix, record, dtoField, filter);\n }\n ObjectUtils.setValueForField(dto, dtoField.getName(), value, true);\n } catch (IllegalAccessException e) {\n throw new FieldInaccessibleException(\"Cannot set value for field \"\n + dtoType.getSimpleName() + \".\" + dtoField.getName(), e);\n }\n }\n }\n return dto;\n }", "@Test(expected=AssertionError.class)\n\tpublic void testPassInvalidToSettersAddress() {\n\t\tbeanTester.testSetterForField(\"invalid\");\n\t}", "@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}", "void setObjectValue(Object dataObject);", "@Test\n public void testSetTotalTime() {\n System.out.println(\"setTotalTime\");\n String totalTime = \"1234658878787\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setTotalTime(totalTime);\n\n String expResult = totalTime;\n String result = instance.getTotalTime();\n assertEquals(expResult, result);\n }", "public NullableResponse(T value) {\n\t\tthis.value = value;\n\t}", "@Test\n public void testSetPathHtml() {\n System.out.println(\"setPathHtml\");\n String pathHtml = \"www.google.com\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setPathHtml(pathHtml);\n String expResult = pathHtml;\n String result = instance.getPathHtml();\n assertEquals(expResult, result);\n }", "public void setValue(T value) {\n/* 89 */ this.value = value;\n/* */ }", "public void setValue(final Object value) { _value = value; }", "@Test\n public void testWebClientRegServerAccessParamsDtoSetterAndGetter()\n {\n RegServerAccessParamsDto regServerAccessParamsDto = new RegServerAccessParamsDto();\n regServerAccessParamsDto.setRegServerHost(WEB_SERVICE_HOSTNAME);\n regServerAccessParamsDto.setRegServerPort(WEB_SERVICE_HTTPS_PORT);\n regServerAccessParamsDto.setUseSsl(true);\n regServerAccessParamsDto.setUsername(WEB_SERVICE_HTTPS_USERNAME);\n regServerAccessParamsDto.setPassword(WEB_SERVICE_HTTPS_PASSWORD);\n\n // Set the DTO.\n downloaderWebClient.setRegServerAccessParamsDto(regServerAccessParamsDto);\n\n // Retrieve the DTO and validate the results.\n RegServerAccessParamsDto resultRegServerAccessParamsDto = downloaderWebClient.getRegServerAccessParamsDto();\n\n // validate the results.\n assertEquals(WEB_SERVICE_HOSTNAME, resultRegServerAccessParamsDto.getRegServerHost());\n assertEquals(WEB_SERVICE_HTTPS_PORT, resultRegServerAccessParamsDto.getRegServerPort());\n assertTrue(resultRegServerAccessParamsDto.getUseSsl());\n assertEquals(WEB_SERVICE_HTTPS_USERNAME, resultRegServerAccessParamsDto.getUsername());\n assertEquals(WEB_SERVICE_HTTPS_PASSWORD, resultRegServerAccessParamsDto.getPassword());\n }", "public void setValue(T value) {\n this.value = value;\n }", "public void setPageDto(PageDto pageDto) {\n this.pageDto=pageDto;\n }", "public void setValue(Object val);", "@Override\n\tpublic void setValue(Object object) {\n\t\t\n\t}", "void setValue(Object value);", "public Customer CopyDtoToEntity(CustomerInput userDto){\n Customer user = new Customer();\n user.setId(userDto.getId());\n user.setFirst_name(userDto.getFirst_name());\n user.setLast_name(userDto.getLast_name());\n user.setEmail(userDto.getEmail());\n user.setAddress_id(userDto.getAddress_id());\n user.setActive(userDto.getActive());\n user.setCreate_date(getCurrentDateTime());\n // user.setCreate_date(getCurrentDateTime());\n return user;\n }" ]
[ "0.76097155", "0.6409665", "0.6349789", "0.6288937", "0.62061846", "0.61044866", "0.59307814", "0.5894473", "0.5876073", "0.586646", "0.5820376", "0.5771962", "0.5750958", "0.5743785", "0.5733695", "0.5695782", "0.5687327", "0.564823", "0.56414926", "0.5637008", "0.5634989", "0.5606476", "0.56019545", "0.5599003", "0.5563539", "0.5540853", "0.5530488", "0.55179924", "0.55058", "0.5483048", "0.54818493", "0.54811716", "0.547967", "0.54793864", "0.54755473", "0.5469261", "0.5467988", "0.546757", "0.5460106", "0.54567236", "0.54567236", "0.5449294", "0.5448695", "0.5435095", "0.54350734", "0.54293376", "0.541372", "0.5404912", "0.5391896", "0.5390374", "0.5380379", "0.53704906", "0.5365583", "0.5363313", "0.53597784", "0.5344854", "0.53416336", "0.5336558", "0.5329327", "0.53266156", "0.5324959", "0.53066164", "0.5305869", "0.5304092", "0.5303049", "0.52852637", "0.5284331", "0.5283152", "0.52821666", "0.5278862", "0.52726316", "0.52659833", "0.5263813", "0.5244765", "0.52444303", "0.52377385", "0.52368546", "0.52359396", "0.52313673", "0.522693", "0.5226417", "0.52238697", "0.5221093", "0.52206826", "0.52206445", "0.52202016", "0.5213629", "0.52134234", "0.521211", "0.52072483", "0.5207097", "0.52059484", "0.5205658", "0.5202471", "0.5201445", "0.5201183", "0.51981664", "0.5191239", "0.5189275", "0.51845425", "0.51797605" ]
0.0
-1
simple getter for dto.
public Set<UploadOption> getOptions() { return options; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PropertyDefDto getDto();", "private static String getStringValueFromGetter(Object dto, PropertyDescriptor propertyDescriptor) {\n Method method = propertyDescriptor.getReadMethod();\n String value = \"\";\n\n try {\n value = (String) method.invoke(dto, new Object[]{});\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n } catch (InvocationTargetException e) {\n e.printStackTrace();\n }\n return value;\n }", "public default D toDto(E entity) {\n\t\tif (entity == null) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\treturn DtoUtilService.staticDtoFromEntity(getDtoClass(), entity);\n\t\t}\n\t}", "public ModelDto getModelDto() {\r\n\t\tlog.debug(\" getter modelDto=\"+modelDto);\r\n\t\treturn modelDto;\r\n\t}", "public ConnectionDTO getDto() {\n return dto;\n }", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public abstract D convertToDto(T entity);", "V toDto(E entity);", "public MyNoteDto getCurrentMyNoteDto();", "public GrupoDTO getDto() {\n\t\treturn this.dto;\n\t}", "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "public DTOType getDTOType() {\n return DTO_TYPE;\n }", "public abstract T convertToEntity(D dto);", "@Override\n @Transactional\n public D getDtoById(D dto, E entity, Integer id) throws MedragServiceException {\n E entityById = null;\n try {\n entityById = entityDao.getEntityById(entity, id);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n return (D) new ModelMapper().map(entityById, dto.getClass());\n }", "D mapToDTO(E entity);", "public GetUsuarioDTO convierteDTO(Integer id){\n Optional<Usuario> usuario = usuarioRepository.findById(id);\n return usuario.map(usuarioDTOConverter::convertToDTO).orElseThrow(()->new UsuarioNotFoundException(id));\n }", "@Override\r\n\tpublic TableDTO getDTO(Table entity) {\n\t\treturn null;\r\n\t}", "public abstract DTO toDTO(M model);", "@Override\n\tpublic BaseFWDTOImpl toDTO() {\n\t\treturn null;\n\t}", "E mapToEntity(D dto);", "@Override\n @Transactional(readOnly = true)\n public Optional<DomainValueDTO> findOne(Long id) {\n log.debug(\"Request to get DomainValue : {}\", id);\n return domainValueRepository.findById(id)\n .map(domainValueMapper::toDto);\n }", "public Object decorate(Object dtoValue) {\r\n return dtoValue;\r\n }", "public PersonaDTO obtenerPersona(Long idPersona) throws CustomErrorException {\n\t\tPersonaDTO personaDTO = new PersonaDTO();\n\t\ttry {\n\t\t\tpersonaDTO = Converter.toDto((Persona) gPersona.getById(idPersona)); \n\t\t} catch (CustomErrorException cer) {\n\t\t\tthrow cer;\n\t\t} catch (Exception e) {\n\t\t\tthrow new CustomErrorException(CustomErrorException.ERROR_SERVICIO,this.getClass().getSimpleName(),e.getStackTrace());\n\t\t}\n\n\t\treturn personaDTO;\n\t}", "public abstract M toModel(DTO dto);", "public static EmployeeDTO valueOf(Employee employee){\n EmployeeDTO employeeDTO = new EmployeeDTO();\n BeanUtils.copyProperties(employee, employeeDTO);\n// employeeDto.setId( employee.getId() );\n// employeeDto.setFirstName( employee.getFirstName() );\n\n return employeeDTO;\n\n }", "@Override\n @Transactional\n public D getDtoByNaturalId(D dto, E entity, String id) throws MedragServiceException {\n E result = null;\n try {\n result = entityDao.getEntityByNaturalId(entity, id);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n if (result == null) {\n return null;\n } else {\n return (D) new ModelMapper().map(result, dto.getClass());\n }\n }", "public HojaDeVidaDTO getHojaDeVida() {return hojaDeVida;}", "public static CustomerDetailsDto getCustomerDetailsDto() {\n\t\treturn new CustomerDetailsDto();\n\t}", "public PageDto getPageDto() {\n return pageDto;\n }", "@Override\n\tpublic MemberDTO getMember(MemberDTO mdto) {\n\t\treturn mdao.getMember(mdto);\n\t}", "public DtoType getDto(EntityType entity, Class<DtoType> myClass) throws ClassNotFoundException, InstantiationException, IllegalAccessException;", "public DTO getInstanceDTO(M model, Class<DTO> dtoClass) {\n\n DTO modelDTO = null;\n\n EntityUtil entityUtil = new EntityUtil();\n\n try {\n\n modelDTO = entityUtil.copyEntity(model, dtoClass.getConstructor().newInstance());\n\n } catch (InstantiationException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (IllegalAccessException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (InvocationTargetException e) {\n LogManager.getLog(this.getClass()).warn(e);\n } catch (NoSuchMethodException e) {\n LogManager.getLog(this.getClass()).warn(e);\n }\n\n return modelDTO;\n }", "public final UnitDTO getDTO(Player player) {\n if (player == Player.SYSTEM || this.isDetected(player)) {\n return new UnitDTO(this.getId(),\n this.details.getId(),\n this.owner.getDTO(),\n this.currentHitPoints,\n this.details.getMaxHitPoints(),\n this.currentMovementAllowance,\n this.details.getMaxMovementAllowance(),\n this.isCloaked(),\n this.getUnitType());\n }\n return null;\n }", "E toEntity(V dto);", "@Override\n\tpublic UsersDto getData(String id) {\n\t\tUsersDto dto=session.selectOne(\"users.getData\",id);\n\t\treturn dto;\n\t}", "public void setDto(PropertyDefDto dto);", "@Transactional(readOnly = true)\n public Optional<DRkDTO> findOne(Long id) {\n log.debug(\"Request to get DRk : {}\", id);\n return dRkRepository.findById(id).map(dRkMapper::toDto);\n }", "public Dto() {\n \t\n }", "@Override\n public AlunoDTO findOne(String id) {\n log.debug(\"Request to get Aluno : {}\", id);\n Aluno aluno = alunoRepository.findOne(id);\n return alunoMapper.toDto(aluno);\n }", "@Transactional(readOnly = true)\n public Optional<GeoTypeCommuneDTO> findOne(Long id) {\n log.debug(\"Request to get GeoTypeCommune : {}\", id);\n return geoTypeCommuneRepository.findById(id)\n .map(geoTypeCommuneMapper::toDto);\n }", "public static UserDto getUserDtoById(Integer id) {\n\t\t// create a new UserDaoImpl\n\t\tud = new UserDaoImpl();\n\t\tlogger.info(\"UserDaoImpl created\");\n\n\t\t// get the record that with id as the primary key as a User Object\n\t\tUser user = ud.selectUserById(id);\n\t\tlogger.info(\"User selected from database\");\n\t\tlogger.debug(\"User: \" + user);\n\t\t// create the UserDto\n\t\tUserDto usr = new UserDto(user.getId(), user.getUsername(), user.getfName(), user.getlName(), user.getPriv(),\n\t\t\t\tuser.getActivation());\n\t\tlogger.info(\"UserDto created\");\n\t\tlogger.debug(\"UserDto: \" + usr);\n\t\tlogger.info(\"Returning UserDto\");\n\t\t// return the UserDto\n\t\treturn usr;\n\n\t}", "public static EtudiantDto toDto(Etudiant stud) {\n\t\tUserDto uDto = UserDto.toUserDto(stud.getUser());\n\t\tEtudiantDto studDto = new EtudiantDto(stud.getId(), stud.getNom(), stud.getPrenom(), stud.getEmail(), stud.getTel(), uDto);\n\t\treturn studDto;\n\t}", "public AtendimentoJuridicoDTO toDTO(AtendimentoJuridicoEntity entity){\n\t\tAtendimentoJuridicoDTO dto = new AtendimentoJuridicoDTO();\n\t\tBeanUtils.copyProperties(entity, dto); \n\t\treturn dto ;\n\t}", "@Override\r\n\tpublic PersonneDTO getOnePersonne(Long idPersonne) {\n\t\treturn daoPersonne.getOnePersonne(idPersonne);\r\n\t}", "private static PlayerDto getPlayerDto(Player player) {\n return player != null ? PlayerDto.builder()._id(player.get_id()).build() : null;\n }", "@Transactional(readOnly = true)\n public DeviceDTO findOne(Long id) {\n log.debug(\"Request to get Device : {}\", id);\n Device device = deviceRepository.findOne(id);\n DeviceDTO deviceDTO = deviceMapper.deviceToDeviceDTO(device);\n return deviceDTO;\n }", "@Override\n public Optional<DuLieuBaoCaoDTO> findOne(String id) {\n log.debug(\"Request to get DuLieuBaoCao : {}\", id);\n return duLieuBaoCaoRepository.findById(id)\n .map(duLieuBaoCaoMapper::toDto);\n }", "public Optional<PortDTO> findOne(Long id) {\n log.debug(\"Request to get Port : {}\", id);\n return Port.findByIdOptional(id)\n .map(port -> portMapper.toDto((Port) port)); \n }", "public static LandDetailsDto getLandDetailsDto() {\n\t\treturn new LandDetailsDto();\n\t}", "RunDTO toDto(Run run) {\n RunDTO result = new RunDTO();\n result.setId(0L);\n if (null != run) {\n this.fillDto(result, run);\n }\n return result;\n }", "public static ProductDetailsDto getProductDetailsDto() {\n\t\treturn new ProductDetailsDto();\n\t}", "public EntityType getCreateEntity(DtoType dto) throws ClassNotFoundException, InstantiationException, IllegalAccessException;", "public ch.ivyteam.ivy.scripting.objects.List<ch.ivyteam.ivy.admin.tool.security.UserDTO> getUserDTO()\n {\n return userDTO;\n }", "ClientDTO findOne(final Long id);", "@Override\n @Transactional(readOnly = true)\n public CostoDTO findOne(Long id) {\n log.debug(\"Request to get Costo : {}\", id);\n Costo costo = costoRepository.findOne(id);\n return costoMapper.toDto(costo);\n }", "@Transactional(readOnly = true)\n public Optional<DisabilityTypeDTO> findOne(Long id) {\n log.debug(\"Request to get DisabilityType : {}\", id);\n return disabilityTypeRepository.findById(id)\n .map(disabilityTypeMapper::toDto);\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<DqStandardDetailsEntityTimeDTO> findOne(Long id) {\n log.debug(\"Request to get DqStandardDetailsEntityTime : {}\", id);\n return dqStandardDetailsEntityTimeRepository.findById(id)\n .map(dqStandardDetailsEntityTimeMapper::toDto);\n }", "public MemberDto copyEntityToDto(Member entity, MemberDto dto) {\r\n reflectMemberIdToDto(entity, dto);\r\n reflectMemberNameToDto(entity, dto);\r\n reflectFormalizedDatetimeToDto(entity, dto);\r\n reflectUpdateDatetimeToDto(entity, dto);\r\n\r\n return dto;\r\n }", "public IBaseDTO getDepartment(String id) {\n\t\tIBaseDTO dto=new DynaBeanDTO();\n\t\tSysDepartment sd=(SysDepartment)dao.loadEntity(SysDepartment.class,id);\n\t\t\n\t\tdto.set(\"id\",sd.getId());\n\t\tdto.set(\"name\",sd.getName());\n\t\tdto.set(\"parentId\",sd.getParentId());\n\t\tdto.set(\"remark\",sd.getRemarks());\n\t\tdto.set(\"tagShow\",sd.getTagShow());\n\t\tdto.set(\"admin\",sd.getAdmin());\n\t\treturn dto;\n\t}", "@Override\n\tpublic MstCustomerDto getOne(String kdCustomer) {\n\t\tMstCustomerDto mstCustomerDto=new MstCustomerDto();\n\t\tMstCustomer mstCustomer = new MstCustomer();\n\t\tmstCustomer=mstCustomerDao.getOne(kdCustomer);\n\t\tmstCustomerDto = mapperFacade.map(mstCustomer, MstCustomerDto.class);\n\t\t\n\t\treturn mstCustomerDto;\n\t}", "public ConfigSimpleValueDTO getSimpleValueProperty(final String name) {\n \t\treturn simpleProperties.get(name);\n \t}", "private CategoryDTO getCategoryDto(){\n\t\tCategoryDTO category = new CategoryDTO(Long.valueOf(1L), \"categoryName\", \"categoryDesc\");\n\t\treturn category;\n\t}", "protected abstract void processDTO();", "default ShopDTO entityToDto(Shop entity) {\n ShopDTO dto = ShopDTO.builder()\n .productID(entity.getProductID())\n .product(entity.getProduct())\n .image(entity.getImage())\n .content(entity.getContent())\n .price(entity.getPrice())\n .count(entity.getCount())\n .regDate(entity.getRegDate())\n .modDate(entity.getModDate())\n .build();\n return dto;\n }", "StudentDTO toStudentDTO(Student student);", "public static RoomDTO newDTO() {\n\n RoomDTO roomDTO = new RoomDTO();\n return roomDTO;\n }", "public Member copyDtoToEntity(MemberDto dto, Member entity) {\r\n reflectFormalizedDatetimeToEntity(dto, entity);\r\n reflectMemberIdToEntity(dto, entity);\r\n reflectMemberNameToEntity(dto, entity);\r\n reflectUpdateDatetimeToEntity(dto, entity);\r\n\r\n return entity;\r\n }", "public static SystemDTO entityToDTO(final System entity){\n\t\tfinal SystemDTO result = new SystemDTO();\n\t\t\n\t\tresult.setCode(entity.getCode());\n\t\tresult.setName(entity.getName());\n\t\tresult.setId(entity.getId());\n\t\t\n\t\treturn result;\n\t}", "@Override\n protected E dtoToEntity( final D dto )\n {\n Objects.requireNonNull( dto, \"dto argument cannot be null\" );\n final E entity = super.dtoToEntity( dto );\n /*\n * Convert the notes source ID to UUID\n */\n if ( dto instanceof NotesSourceIdContainer &&\n entity instanceof NotesSourceUuidContainer )\n {\n final NotesSourceIdContainer notesSourceIdContainer = (NotesSourceIdContainer) dto;\n /*\n * Check for new sources\n */\n this.stockNoteSourceService.checkForNewSource( notesSourceIdContainer );\n final NotesSourceUuidContainer notesSourceUuidContainer = (NotesSourceUuidContainer)entity;\n /*\n * Convert the String UUID to a real uuid if present\n */\n if ( notesSourceIdContainer.getNotesSourceId() != null &&\n !notesSourceIdContainer.getNotesSourceId().isEmpty() )\n {\n final StockNoteSourceEntity stockNoteSourceEntity = this.stockNoteSourceService\n .getStockNoteSource( ((CustomerUuidContainer)entity).getCustomerUuid(),\n notesSourceIdContainer.getNotesSourceId() );\n notesSourceUuidContainer.setNotesSourceEntity( stockNoteSourceEntity );\n }\n }\n //logMethodEnd( methodName, entity );\n return entity;\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<DepositoryInfoDTO> findOne(Long id) {\n log.debug(\"Request to get DepositoryInfo : {}\", id);\n return depositoryInfoRepository.findById(id)\n .map(depositoryInfoMapper::toDto);\n }", "public static UserDTOEx getUserDTO(String username, Integer entityId)\r\n \t\t\tthrows NamingException, SessionInternalError {\r\n \r\n \t\tLOG.debug(\"getting the user \" + username);\r\n \r\n \t\tUserDTO user = new UserDAS().findByUserName(username, entityId);\r\n \t\tif (user == null)\r\n \t\t\treturn null;\r\n \t\treturn getUserDTOEx(user);\r\n \t}", "@Override\n public RecipeEntity getRecipeDto(long id)\n {\n return this.load(RecipeEntity.class, id);\n }", "@Override\n\tpublic List<PermissionDto> getPermission() {\n\t\tList<PermissionDto> dto = permissionRepository.findAll().stream().map(permission -> {\n\t\t\tPermissionDto permissionDto = new PermissionDto();\n\t\t\tBeanUtils.copyProperties(permission, permissionDto);\n\t\t\treturn permissionDto;\n\t\t}).collect(Collectors.toList());\n\t\treturn dto;\n\t}", "public Value makeGetter() {\n Value r = new Value(this);\n r.getters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "@Override\n @Transactional(readOnly = true)\n public JeuDTO findOne(Long id) {\n log.debug(\"Request to get Jeu : {}\", id);\n Jeu jeu = jeuRepository.findOne(id);\n return jeuMapper.toDto(jeu);\n }", "public static ReadingDTO mapToDTO(Reading reading) {\n if (Objects.isNull(reading)) {\n return null;\n }\n ReadingDTO dto = newReadingDTO();\n dto.setDateTime(reading.getDateTime());\n dto.setValue(reading.getValue());\n return dto;\n }", "Optional<VitalDTO> findOne(Long id);", "@Override\n @Transactional(readOnly = true)\n public Optional<FonctionsDTO> findOne(Long id) {\n log.debug(\"Request to get Fonctions : {}\", id);\n return fonctionsRepository.findById(id)\n .map(fonctionsMapper::toDto);\n }", "public PersonDto findById(String id) {\n Optional<Person> model = Optional.empty();\n return model\n .map(personMapper::toDto)\n .orElse(null);\n }", "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "PeopleDTO findOne(Long id);", "public synchronized StateDTO getStateDTOByStateID(int stateID)\n\t{\n\t\treturn StateDTOByStateID.get(stateID);\n\t}", "Optional<ChatDTO> findOne(Long id);", "public BUserDto convertEntityToDto(BUser entity){\n\t\tBUserDto dto = new BUserDto();\n\t\tif(entity!=null){\n\t\t\tdto.setId(entity.getId());\n\t\t\tdto.setUsername(entity.getUsername());\n\t\t}\n\t\treturn dto;\n\t}", "@Override\n public CategoryDTO get(Long id) {\n Category category = categoryRepository.findById(id).get();\n CategoryDTO result = categoryConverter.toDTO(category);\n return result;\n }", "@Override\n @Transactional\n public List<D> getDtoList(D dto, E entity, String... args) throws MedragServiceException {\n List<E> entityList;\n try {\n entityList = entityDao.getEntityList(entity, args);\n } catch (MedragRepositoryException e) {\n throw new MedragServiceException(e);\n }\n List<D> dtoList = new ArrayList<>();\n entityList.forEach(e -> dtoList.add((D) new ModelMapper().map(e, dto.getClass())));\n return dtoList;\n }", "@Override\n @Transactional(readOnly = true)\n public SintomaDTO findOne(Long id) {\n log.debug(\"Request to get Sintoma : {}\", id);\n Sintoma sintoma = sintomaRepository.findOne(id);\n return sintomaMapper.toDto(sintoma);\n }", "Optional<TypeBonDTO> findOne(Long id);", "PersonaDTO PersonaToPersonaDTO(Persona persona);", "@Override\n\tpublic ExamDTO toDto(Exam exam) {\n\t\treturn null;\n\t}", "@Deprecated\n CreatePdvDto(){}", "@Transactional(readOnly = true)\n public Optional<KohnegiDTO> findOne(Long id) {\n log.debug(\"Request to get Kohnegi : {}\", id);\n return kohnegiRepository.findById(id)\n .map(kohnegiMapper::toDto);\n }", "public PersonaDTO(){}", "Optional<ConsultationInfoDTO> findOne(Long id);", "@Override\n @Transactional(readOnly = true)\n public Optional<OrdreDTO> findOne(Long id) {\n log.debug(\"Request to get Ordre : {}\", id);\n return ordreRepository.findById(id)\n .map(ordreMapper::toDto);\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<StudenteDTO> findOne(Long id) {\n log.debug(\"Request to get Studente : {}\", id);\n return studenteRepository.findOneWithEagerRelationships(id)\n .map(studenteMapper::toDto);\n }", "public UserDto get(String username) {\n\t\tUser delcheck = userRepository.findByUname(username);\n\t\tif(delcheck.isDeleted() == true){\n\t\t\treturn null;\n\t\t} else {\n\t\treturn userMapper.toUserDto(userRepository.findByUname(username));\n\t\t}\n\t}", "@Override\n public MemberDTO findOne(@PathVariable(\"id\") Long id) {\n return MemberDTO.builder().build();\n }", "@Override\n @Transactional(readOnly = true)\n public Optional<LinhvucDTO> findOne(Long id) {\n log.debug(\"Request to get Linhvuc : {}\", id);\n return linhvucRepository.findById(id)\n .map(linhvucMapper::toDto);\n }", "public static UserDTO getUserDTO(UserEntity userEntity) {\n\t\tUserDTO dto = null;\n\t\tif (userEntity != null) {\n\t\t\tdto = new UserDTO();\n\n\t\t\tdto.setUserId(userEntity.getUserId());\n\t\t\tdto.setInsertDate(userEntity.getInsertDate());\n\t\t\tdto.setUpdateDate(userEntity.getUpdateDate());\n\t\t\tdto.setName(userEntity.getUserName());\n\t\t\tdto.setEmail(userEntity.getUserEmail());\n\t\t\tdto.setPassword(userEntity.getUserPassword());\n\t\t\tdto.setIsActive(userEntity.getIsActive());\n\t\t\tdto.setLastLogin(userEntity.getLastLogin());\n\t\t}\n\t\treturn dto;\n\t}", "public ClientPropertyDto mapToDto(ClientProperty property)\r\n\t{\r\n\t\tClientPropertyDto dto = new ClientPropertyDto();\r\n\t\tdto.setKey(property.getKey());\r\n\t\tdto.setValue(property.getValue());\r\n\t\tdto.setId(property.getId());\r\n\t\tdto.setDelete(false);\r\n\t\tdto.setClient(clientMapper.mapToDto(property.getClient()));\r\n\r\n\t\treturn dto;\r\n\t}" ]
[ "0.750052", "0.6922713", "0.6722928", "0.6692394", "0.6610001", "0.6593924", "0.6535411", "0.64553237", "0.6443894", "0.64043105", "0.63509184", "0.63398", "0.630666", "0.62680525", "0.6221788", "0.6196468", "0.6168907", "0.61005807", "0.60247016", "0.6019676", "0.6016837", "0.59987855", "0.59814554", "0.59800965", "0.5976745", "0.59513575", "0.59479815", "0.5905277", "0.59033567", "0.5853992", "0.5812538", "0.58116066", "0.5805847", "0.5799475", "0.57918125", "0.57715493", "0.57642066", "0.576363", "0.5756595", "0.574824", "0.57472914", "0.57382715", "0.5730702", "0.5727574", "0.5724504", "0.5713369", "0.5707039", "0.5686385", "0.5686144", "0.5676745", "0.56740135", "0.5670403", "0.5670103", "0.5635526", "0.5632137", "0.56230634", "0.5621788", "0.561638", "0.56161183", "0.56120265", "0.56098706", "0.56070954", "0.56069803", "0.56022966", "0.55926025", "0.5590903", "0.55866116", "0.55840033", "0.5578609", "0.5577382", "0.55741215", "0.5569932", "0.5569236", "0.5568142", "0.5559612", "0.55547214", "0.55535096", "0.55525273", "0.5543926", "0.55357355", "0.55286044", "0.55230534", "0.552022", "0.55201566", "0.5517611", "0.55156547", "0.5502559", "0.55007815", "0.54981995", "0.549467", "0.5494148", "0.5493477", "0.54920584", "0.548396", "0.54831487", "0.54823476", "0.5482163", "0.5469235", "0.5465598", "0.54647005", "0.54638755" ]
0.0
-1
simple setter for dto.
public void setOptions(Set<UploadOption> options) { this.options = options; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDto(PropertyDefDto dto);", "D update(D dto);", "public void setDto(GrupoDTO dto) {\n\t\tthis.dto = dto;\n\t}", "public DTO(DTO other) {\n if (other.isSetDatas()) {\n Map<String,String> __this__datas = new HashMap<String,String>(other.datas);\n this.datas = __this__datas;\n }\n }", "@Override\n protected void set(org.tair.db.locusdetail.ILocusDetail dto) {\n locusLocus = dto;\n }", "public Object decorate(Object dtoValue) {\r\n return dtoValue;\r\n }", "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "public NameDTO() {\r\n this.firstName = \"\";\r\n this.lastName = \"\";\r\n }", "public PropertyDefDto getDto();", "public Value makeSetter() {\n Value r = new Value(this);\n r.setters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "public T set(T obj);", "protected void reflectFormalizedDatetimeToDto(Member entity, MemberDto dto) {\r\n dto.setFormalizedDatetime(extractFormalizedDatetimeFromEntity(entity));\r\n }", "public Dto() {\n \t\n }", "public AbstractEstProxy(Est dto) {\n super(dto);\n\n // Setter arrays\n readObjectSetters = new java.util.concurrent.CopyOnWriteArrayList<com.poesys.db.dto.ISet>();\n }", "public <T> void setProperty(String field, T value) {\n try {\n Field f = this.getClass().getDeclaredField(field); \n f.set(this, value);\n } catch (NoSuchFieldException ex) {\n System.out.println(\"Field no found...\");\n System.out.println(ex.getMessage());\n\n } catch (IllegalAccessException ex) {\n System.out.println(ex.getMessage());\n }\n }", "public abstract DTO toDTO(M model);", "void setDatty(Datty newDatty);", "public void setSelectedContactDTO(ContactDTO dto) {\n/*Generated! Do not modify!*/ replyDTO.getDTOsToSet().add(\"selectedContact\");\n/*Generated! Do not modify!*/ if (dto == null){\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().remove(\"selectedContact\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().put(\"selectedContact\", dto);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_DTO, \"setSelectedContactDTO(\", gson.toJson(dto), getClassName(dto));\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public void createValue() {\r\n value = new com.timeinc.tcs.epay2.EPay2DTO();\r\n }", "public static EmployeeDTO valueOf(Employee employee){\n EmployeeDTO employeeDTO = new EmployeeDTO();\n BeanUtils.copyProperties(employee, employeeDTO);\n// employeeDto.setId( employee.getId() );\n// employeeDto.setFirstName( employee.getFirstName() );\n\n return employeeDTO;\n\n }", "private CustomersDTO getDataFromInputToDTO(CustomersInputDTO inputCustomer, CustomersDTO dtoCustomer) {\n // set value for fields of DTO if input not null\n Arrays.asList(CustomersInputDTO.class.getDeclaredFields()).stream().forEach(field -> {\n if (field.getName().equals(ConstantsCustomers.FIELD_CUSTOMER_DATA)) {\n return;\n }\n String methodGet = METHOD_GET_PREFFIX\n .concat(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, field.getName()));\n String methodSet = METHOD_SET_PREFFIX\n .concat(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, field.getName()));\n try {\n Method inputMethod = CustomersInputDTO.class.getMethod(methodGet);\n if (inputMethod.invoke(inputCustomer) != null) {\n Method outMethod = CustomersDTO.class.getMethod(methodSet, inputMethod.getReturnType());\n outMethod.invoke(dtoCustomer, inputMethod.getReturnType().cast(inputMethod.invoke(inputCustomer)));\n }\n } catch (Exception e) {\n return;\n }\n });\n dtoCustomer.setUpdatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n return dtoCustomer;\n }", "public PersonaDTO(){}", "protected void reflectMemberIdToDto(Member entity, MemberDto dto) {\r\n dto.setMemberId(extractMemberIdFromEntity(entity));\r\n }", "private void copyDtoToEntity(UserDTO dto, User entity) {\n\t\tentity.setFullName(dto.getFullName());\n\t\tentity.setEmail(dto.getEmail());\n\t\tentity.setCpf(dto.getCpf());\n\t\tentity.setBirthDate(dto.getBirthDate());\n\t}", "public abstract T convertToEntity(D dto);", "@Test\n void fromDto() {\n\n final SomeDto dto = SomeDto.builder()\n .text(\"test\")\n .value(123)\n .build();\n\n final SomeMapper mapper = SomeMapper.INSTANCE;\n final SomeModel model = mapper.mapFrom(dto);\n final SomeModel bazModel = mapper.update(dto.withText(\"baz\"), model);\n\n assertThat(bazModel.getText()).isEqualTo(\"baz\");\n }", "public PasswordChangeDTO() {}", "public DomicilioDTO(DomicilioEntity domicilioEntity) {\r\n if (domicilioEntity != null) {\r\n this.id = domicilioEntity.getId();\r\n this.precio = domicilioEntity.getPrecio();\r\n this.idZona = domicilioEntity.getIdZona();\r\n \r\n }\r\n }", "protected void reflectUpdateDatetimeToDto(Member entity, MemberDto dto) {\r\n dto.setUpdateDatetime(extractUpdateDatetimeFromEntity(entity));\r\n }", "public void set(T t, Object obj) {\n try {\n this.field.set(t, obj);\n } catch (IllegalAccessException e) {\n throw new AssertionError(e);\n }\n }", "public ProdutoDTO()\n {\n super();\n }", "StudentDTO toStudentDTO(Student student);", "public Member copyDtoToEntity(MemberDto dto, Member entity) {\r\n reflectFormalizedDatetimeToEntity(dto, entity);\r\n reflectMemberIdToEntity(dto, entity);\r\n reflectMemberNameToEntity(dto, entity);\r\n reflectUpdateDatetimeToEntity(dto, entity);\r\n\r\n return entity;\r\n }", "public void setValue(Object value) { this.value = value; }", "@Override\n\tpublic void update(Object dto) throws Exception {\n\t\tpropertyConfigMapper.updateByPrimaryKeySelective(dto);\n\t}", "public void setPropertyWithAutoTypeCast(Object obj, Object value) {\n if(value==null) {\n setProperty(obj, value);\n return;\n }\n Class<?> propType = getPropertyType();\n if(propType.isAssignableFrom(value.getClass())) {\n setProperty(obj, value);\n return;\n }\n if(value instanceof Long && propType.equals(Integer.class)) {\n setProperty(obj, Integer.valueOf(value.toString()));\n return;\n }\n if(value instanceof Double || value instanceof Float || value instanceof BigDecimal) {\n if(propType.isAssignableFrom(Double.class)) {\n setProperty(obj, Double.valueOf(value.toString()));\n return;\n } else if(propType.isAssignableFrom(Float.class)) {\n setProperty(obj, Float.valueOf(value.toString()));\n return;\n } else if(propType.isAssignableFrom(BigDecimal.class)) {\n setProperty(obj, BigDecimal.valueOf(Double.valueOf(value.toString())));\n return;\n } else {\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }\n }\n if(value instanceof java.util.Date) {\n if(propType.isAssignableFrom(java.sql.Timestamp.class)) {\n setProperty(obj, new java.sql.Timestamp(((java.util.Date) value).getTime()));\n return;\n } else if(propType.isAssignableFrom(java.sql.Date.class)) {\n setProperty(obj, new java.sql.Date(((java.util.Date) value).getTime()));\n return;\n } else {\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }\n }\n throw new RuntimeException(\"Illegal field value type to set \" + name);\n }", "@Test\n public void testGettersSettersConstructors() {\n LevelReportDto body = new LevelReportDto(\"product-name\", \"key-obs\",\n ProductFamily.L0_REPORT);\n GenericMessageDto<LevelReportDto> dto =\n new GenericMessageDto<LevelReportDto>(123, \"input-key\", body);\n assertEquals(123, dto.getId());\n assertEquals(body, dto.getBody());\n assertEquals(\"input-key\", dto.getInputKey());\n\n dto = new GenericMessageDto<LevelReportDto>();\n dto.setId(321);\n dto.setBody(body);\n dto.setInputKey(\"othey-input\");\n assertEquals(321, dto.getId());\n assertEquals(body, dto.getBody());\n assertEquals(\"othey-input\", dto.getInputKey());\n }", "public abstract M toModel(DTO dto);", "public abstract D convertToDto(T entity);", "<T> Setter<R> set(Projection<T> projection, T value);", "<T> Setter<R> set(Projection<T> projection, T value);", "@Override\n\tpublic BaseFWDTOImpl toDTO() {\n\t\treturn null;\n\t}", "protected abstract void processDTO();", "public void set(String name, Object value) {\n }", "public LocusOtherNameProxy(LocusOtherName dto) {\n super(dto); \n }", "private <T> void setField(Field field, Object object, T fieldInstance) {\n try {\n field.setAccessible(true);\n field.set(object, fieldInstance);\n } catch (IllegalArgumentException ex) {\n Logger.getLogger(CDIC.class.getName()).log(Level.SEVERE, \"Feld \" + field.getName() + \" ist kein Objekt!\", ex);\n } catch (IllegalAccessException ex) {\n Logger.getLogger(CDIC.class.getName()).log(Level.SEVERE, \"Feld \" + field.getName() + \" ist nicht zugreifbar!\", ex);\n } finally {\n field.setAccessible(false);\n }\n }", "public void setValue(String fieldName, Object value) {\n try {\n Field field = FieldUtils.getField(object.getClass(), fieldName, true);\n if (field != null) {\n FieldUtils.writeField(field, object, value, true);\n } else {\n logger.error(\"Unable to set value on field because the field does not exits on class: \" + object.getClass());\n }\n } catch (IllegalAccessException e) {\n logger.error(e);\n }\n }", "protected void reflectFormalizedDatetimeToEntity(MemberDto dto, Member entity) {\r\n entity.setFormalizedDatetime(extractFormalizedDatetimeFromDto(dto));\r\n }", "E toEntity(V dto);", "@Deprecated\n CreatePdvDto(){}", "public MemberDto copyEntityToDto(Member entity, MemberDto dto) {\r\n reflectMemberIdToDto(entity, dto);\r\n reflectMemberNameToDto(entity, dto);\r\n reflectFormalizedDatetimeToDto(entity, dto);\r\n reflectUpdateDatetimeToDto(entity, dto);\r\n\r\n return dto;\r\n }", "public UserDto() {\n }", "@Test\n public void testSetCharterFileName() {\n System.out.println(\"setCharterFileName\");\n String charterFileName = \"\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setCharterFileName(charterFileName);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }", "@CheckReturnValue\n T setField(String field, @Nullable Object value);", "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "public Value restrictToGetterSetter() {\n checkNotPolymorphicOrUnknown();\n if (!isMaybePrimitive() && !isMaybeObjectOrSymbol())\n return this;\n Value r = new Value(this);\n r.flags &= ~PRIMITIVE;\n r.num = null;\n r.str = null;\n r.object_labels = null;\n r.excluded_strings = r.included_strings = null;\n return canonicalize(r);\n }", "public Userdto(User user) {\n\t\tthis.fname = user.getFirstname();\n\t\tthis.lname = user.getLastname();\n\t\tthis.email = user.getEmail();\n\t}", "@Override\n public void set(Object bean, Object value) throws IOException {\n _propertyMutator.longSetter(bean, ((Number) value).longValue());\n }", "@Test\n public void testSetId() {\n System.out.println(\"setId\");\n long id = 0L;\n DTO_Ride instance = dtoRide;\n instance.setId(id);\n long result = instance.getId();\n assertEquals(id, result);\n }", "@Deprecated\n MerchandiseDTO() {\n }", "protected void reset(Utente dto)\n\t{\n\t}", "public void set(Object requestor, String field);", "@CheckReturnValue\n default T setFieldIfPresent(String field, @Nullable Object value) {\n if (value != null) {\n //noinspection ResultOfMethodCallIgnored\n setField(field, value);\n }\n //noinspection unchecked\n return (T)this;\n }", "E mapToEntity(D dto);", "public ProductoDTO(){\r\n\t\t\r\n\t}", "@Override\n public void set(T value) throws Exception {\n _curator.setData().forPath(_zkPath, toZkBytes(value));\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 }", "private CustomersDTO buildDTOToCreate(CustomersDTO customerDto) {\n if (customerDto.getBusinessMainId() < 0) {\n customerDto.setBusinessMainId(0);\n }\n if (customerDto.getBusinessSubId() < 0) {\n customerDto.setBusinessSubId(0);\n }\n if (customerDto.getEmployeeId() == null) {\n customerDto.setEmployeeId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getDepartmentId() == null) {\n customerDto.setDepartmentId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getGroupId() == null) {\n customerDto.setGroupId(ConstantsCustomers.LONG_VALUE_0L);\n }\n if (customerDto.getScenarioId() == null) {\n customerDto.setScenarioId(ConstantsCustomers.LONG_VALUE_0L);\n }\n customerDto.setCreatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n customerDto.setUpdatedUser(jwtTokenUtil.getEmployeeIdFromToken());\n return customerDto;\n }", "protected void setValue(T value) {\r\n this.value = value;\r\n }", "public void setValue(Object o){\n \tthis.value = o;\n }", "public void setData(D s){\n\t\tdata = s;\n\t}", "public void set(Coord dest) {\n x = dest.x;\n y = dest.y;\n }", "public void setHojaDeVida(HojaDeVidaDTO hojaDeVida) {\r\n this.hojaDeVida = hojaDeVida;\r\n }", "public void setContactsDTO(ContactListDTO dto) {\n/*Generated! Do not modify!*/ replyDTO.getDTOsToSet().add(\"contacts\");\n/*Generated! Do not modify!*/ if (dto == null){\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().remove(\"contacts\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getDTOValues().put(\"contacts\", dto);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(ReplyActionType.SET_DTO, \"setContactsDTO(\", gson.toJson(dto), getClassName(dto));\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public PropertySellerDetailDTO() {\n\n\t}", "@JsonSetter(\"department\")\n public void setDepartment (String value) { \n this.department = value;\n notifyObservers(this.department);\n }", "@Test\n public void testSetNotesTaken() {\n System.out.println(\"setNotesTaken\");\n ArrayList<Note> notesTaken = new ArrayList<>();\n notesTaken.add(new Note());\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setNotesTaken(notesTaken);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }", "private SetProperty(Builder builder) {\n super(builder);\n }", "public void setValue(Object value);", "@Test\r\n public void testSetNewPassword() {\r\n System.out.println(\"setNewPassword\");\r\n String newPassword = \"\";\r\n ForgotPasswordDTO instance = new ForgotPasswordDTO();\r\n instance.setNewPassword(newPassword);\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 assertTrue(true);\r\n }", "@Override\n\tpublic void setValue(Object object) {\n\n\t}", "@Override\n public void setField (String fieldToModify, String value, Double duration) {\n\n }", "@Test\n public void testConvertComputerToComputerDTO() {\n ComputerDTO computerDTO = new ComputerDTO();\n computerDTO.setId(1);\n computerDTO.setName(\"test\");\n ComputerDTO computerResult = DTOMapper.fromComputer(new Computer.Builder(\"test\").id(1L).build());\n assertEquals(computerDTO, computerResult);\n }", "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "public void setValue(T value) {\n/* 134 */ this.value = value;\n/* */ }", "public static Object convertToDataTransferObject(Object dto, String prefix, Map<String, Object> record,\n Class<?> dtoType, String[] filter) {\n if (null != record && null != dtoType) {\n if (null == dto) {\n dto = newDataTransferObjectInstance(dtoType);\n }\n List<Field> dtoFields = ObjectUtils.getFields(dtoType, true);\n for (Field dtoField : dtoFields) {\n try {\n Object value = null;\n if (hasData(record, prefix, getEntityMappingFieldPath(dtoField))) {\n value = convertToFieldOfDataTransferObject(dto, prefix, record, dtoField, filter);\n }\n ObjectUtils.setValueForField(dto, dtoField.getName(), value, true);\n } catch (IllegalAccessException e) {\n throw new FieldInaccessibleException(\"Cannot set value for field \"\n + dtoType.getSimpleName() + \".\" + dtoField.getName(), e);\n }\n }\n }\n return dto;\n }", "@Test(expected=AssertionError.class)\n\tpublic void testPassInvalidToSettersAddress() {\n\t\tbeanTester.testSetterForField(\"invalid\");\n\t}", "@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}", "void setObjectValue(Object dataObject);", "@Test\n public void testSetTotalTime() {\n System.out.println(\"setTotalTime\");\n String totalTime = \"1234658878787\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setTotalTime(totalTime);\n\n String expResult = totalTime;\n String result = instance.getTotalTime();\n assertEquals(expResult, result);\n }", "public NullableResponse(T value) {\n\t\tthis.value = value;\n\t}", "@Test\n public void testSetPathHtml() {\n System.out.println(\"setPathHtml\");\n String pathHtml = \"www.google.com\";\n CharterDto instance = new CharterDto(\"Test name\");\n instance.setPathHtml(pathHtml);\n String expResult = pathHtml;\n String result = instance.getPathHtml();\n assertEquals(expResult, result);\n }", "public void setValue(T value) {\n/* 89 */ this.value = value;\n/* */ }", "public void setValue(final Object value) { _value = value; }", "@Test\n public void testWebClientRegServerAccessParamsDtoSetterAndGetter()\n {\n RegServerAccessParamsDto regServerAccessParamsDto = new RegServerAccessParamsDto();\n regServerAccessParamsDto.setRegServerHost(WEB_SERVICE_HOSTNAME);\n regServerAccessParamsDto.setRegServerPort(WEB_SERVICE_HTTPS_PORT);\n regServerAccessParamsDto.setUseSsl(true);\n regServerAccessParamsDto.setUsername(WEB_SERVICE_HTTPS_USERNAME);\n regServerAccessParamsDto.setPassword(WEB_SERVICE_HTTPS_PASSWORD);\n\n // Set the DTO.\n downloaderWebClient.setRegServerAccessParamsDto(regServerAccessParamsDto);\n\n // Retrieve the DTO and validate the results.\n RegServerAccessParamsDto resultRegServerAccessParamsDto = downloaderWebClient.getRegServerAccessParamsDto();\n\n // validate the results.\n assertEquals(WEB_SERVICE_HOSTNAME, resultRegServerAccessParamsDto.getRegServerHost());\n assertEquals(WEB_SERVICE_HTTPS_PORT, resultRegServerAccessParamsDto.getRegServerPort());\n assertTrue(resultRegServerAccessParamsDto.getUseSsl());\n assertEquals(WEB_SERVICE_HTTPS_USERNAME, resultRegServerAccessParamsDto.getUsername());\n assertEquals(WEB_SERVICE_HTTPS_PASSWORD, resultRegServerAccessParamsDto.getPassword());\n }", "public void setValue(T value) {\n this.value = value;\n }", "public void setPageDto(PageDto pageDto) {\n this.pageDto=pageDto;\n }", "public void setValue(Object val);", "@Override\n\tpublic void setValue(Object object) {\n\t\t\n\t}", "void setValue(Object value);", "public Customer CopyDtoToEntity(CustomerInput userDto){\n Customer user = new Customer();\n user.setId(userDto.getId());\n user.setFirst_name(userDto.getFirst_name());\n user.setLast_name(userDto.getLast_name());\n user.setEmail(userDto.getEmail());\n user.setAddress_id(userDto.getAddress_id());\n user.setActive(userDto.getActive());\n user.setCreate_date(getCurrentDateTime());\n // user.setCreate_date(getCurrentDateTime());\n return user;\n }" ]
[ "0.76097155", "0.6409665", "0.6349789", "0.6288937", "0.62061846", "0.61044866", "0.59307814", "0.5894473", "0.5876073", "0.586646", "0.5820376", "0.5771962", "0.5750958", "0.5743785", "0.5733695", "0.5695782", "0.5687327", "0.564823", "0.56414926", "0.5637008", "0.5634989", "0.5606476", "0.56019545", "0.5599003", "0.5563539", "0.5540853", "0.5530488", "0.55179924", "0.55058", "0.5483048", "0.54818493", "0.54811716", "0.547967", "0.54793864", "0.54755473", "0.5469261", "0.5467988", "0.546757", "0.5460106", "0.54567236", "0.54567236", "0.5449294", "0.5448695", "0.5435095", "0.54350734", "0.54293376", "0.541372", "0.5404912", "0.5391896", "0.5390374", "0.5380379", "0.53704906", "0.5365583", "0.5363313", "0.53597784", "0.5344854", "0.53416336", "0.5336558", "0.5329327", "0.53266156", "0.5324959", "0.53066164", "0.5305869", "0.5304092", "0.5303049", "0.52852637", "0.5284331", "0.5283152", "0.52821666", "0.5278862", "0.52726316", "0.52659833", "0.5263813", "0.5244765", "0.52444303", "0.52377385", "0.52368546", "0.52359396", "0.52313673", "0.522693", "0.5226417", "0.52238697", "0.5221093", "0.52206826", "0.52206445", "0.52202016", "0.5213629", "0.52134234", "0.521211", "0.52072483", "0.5207097", "0.52059484", "0.5205658", "0.5202471", "0.5201445", "0.5201183", "0.51981664", "0.5191239", "0.5189275", "0.51845425", "0.51797605" ]
0.0
-1
Interface of a logger.
public interface FsmLogger { /** * Get name of the logger. * * @return the name */ public String getName(); /** * Log a fatal message. * * @param message * the message */ public void fatal(String message); /** * Log a fatal message. * * @param message * the message * @param throwable * a throwable object */ public void fatal(String message, Throwable throwable); /** * Log an error message. * * @param message * the message */ public void error(String message); /** * Log an error message. * * @param message * the message * @param throwable * a throwable object */ public void error(String message, Throwable throwable); /** * Log a warning message. * * @param message * the message */ public void warn(String message); /** * Log a warning message. * * @param message * the message * @param throwable * a throwable object */ public void warn(String message, Throwable throwable); /** * Log an info message. * * @param message * the message */ public void info(String message); /** * Log an info message. * * @param message * the message * @param throwable * a throwable object */ public void info(String message, Throwable throwable); /** * Log a debug message. * * @param message * the message */ public void debug(String message); /** * Log a debug message. * * @param message * the message * @param throwable * a throwable object */ public void debug(String message, Throwable throwable); /** * Log a trace message. * * @param message * the message */ public void trace(String message); /** * Log a trace message. * * @param message * the message * @param throwable * a throwable object */ public void trace(String message, Throwable throwable); /** * Get status of info messages logging in this logger. * * @return true if logging of info messages is enabled otherwise false */ public boolean isInfoEnabled(); /** * Get status of debug messages logging in this logger. * * @return true if logging of debug messages is enabled otherwise false */ public boolean isDebugEnabled(); /** * Get status of trace messages logging in this logger. * * @return true if logging of trace messages is enabled otherwise false */ public boolean isTraceEnabled(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Logger {\n\tpublic void log(String msg);\n}", "public interface Logger {\n void enable(boolean enabled);\n\n void d(String s, Object... args);\n\n void i(String s, Object... args);\n\n void w(String s, Object... args);\n\n void e(Throwable e, String s, Object... args);\n}", "public interface Logger {\n public void writeLog();\n}", "public interface Logger {\n void verbose(String message, Object... args);\n void debug(Object msg);\n void debug(String message, Object... args);\n void info(String message, Object... args);\n void warning(String message, Object... args);\n void error(String message, Object... args);\n void error(Throwable throwable, String message, Object... args);\n}", "protected abstract ILogger getLogger();", "public interface Logger\n{\n /**\n * Returns the name of the object.\n *\n * @return name of the Logger class\n */\n public String getName();\n\n /**\n * Rerturns the time of the object.\n *\n * @return time of the Logger object\n */\n public double getTime();\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}", "public interface LoggerUtil {\n\t/**\n\t * Set the logger for the controller\n\t * \n\t * @param logName\n\t * @param filePath\n\t * @param logLevel\n\t * @return\n\t */\n\tLogger loggerArrangement(String logName, String filePath, LogeLevel logLevel);\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}", "protected abstract Logger getLogger();", "public interface JLogger extends Logger {\n boolean isLoggable(@NotNull LogLevel level);\n\n boolean isLoggable(@NotNull LogLevel level, @NotNull Marker marker);\n\n boolean isLoggable(@NotNull LogLevel level, @NotNull Throwable throwable);\n\n /**\n * If isLoggable, log at the {@code msg} at {@code level}\n *\n * @param level log level to use\n * @param msg log msg which is unaltered\n */\n void log(@NotNull LogLevel level, @NotNull String msg);\n\n /**\n * If isLoggable, log at the {@code msg} at {@code level} using the {@code marker}\n *\n * @param level log level to use\n * @param marker marker to include\n * @param msg log msg which is unaltered\n */\n void log(@NotNull LogLevel level, @NotNull Marker marker, @NotNull String msg);\n\n /**\n * If isLoggable, log at the {@code msg} at {@code level} with the given {@code throwable}\n *\n * @param level log level to use\n * @param throwable throwable to include\n * @param msg log msg which is unaltered\n */\n void log(@NotNull LogLevel level, @NotNull Throwable throwable, @NotNull String msg);\n\n /**\n * If isLoggable, log at the {@code msg} at {@code level} using the {@code marker} and\n * {@code throwable}\n *\n * @param level log level to use\n * @param marker marker to include\n * @param throwable throwable to include\n * @param msg log msg which is unaltered\n */\n void log(@NotNull LogLevel level,\n @NotNull Marker marker,\n @NotNull Throwable throwable,\n @NotNull String msg);\n\n /**\n * If isLoggable, log at the {@code msg} at {@code level} using the {@code marker}\n *\n * @param level log level to use\n * @param marker marker to include\n * @param format a format string in the form required by {@link Formatter}\n * @param formatArgs arguments passed to {@link Formatter#format(String, Object...)}\n */\n void log(@NotNull LogLevel level,\n @NotNull Marker marker,\n @NotNull String format,\n @NotNull Object... formatArgs);\n\n /**\n * If isLoggable, log at the {@code msg} at {@code level} using the {@code throwable}\n *\n * @param level log level to use\n * @param throwable throwable to include\n * @param format a format string in the form required by {@link Formatter}\n * @param formatArgs arguments passed to {@link Formatter#format(String, Object...)}\n */\n void log(@NotNull LogLevel level,\n @NotNull Throwable throwable,\n @NotNull String format,\n @NotNull Object... formatArgs);\n\n /**\n * If isLoggable, log at the {@code msg} at {@code level} using the {@code marker} and\n * {@code throwable}\n *\n * @param level log level to use\n * @param marker marker to include\n * @param throwable throwable to include\n * @param format a format string in the form required by {@link Formatter}\n * @param formatArgs arguments passed to {@link Formatter#format(String, Object...)}\n */\n void log(@NotNull LogLevel level,\n @NotNull Marker marker,\n @NotNull Throwable throwable,\n @NotNull String format,\n @NotNull Object... formatArgs);\n\n void log(@NotNull LogLevel level, @NotNull String format, @NotNull Object arg1);\n\n void log(@NotNull LogLevel level,\n @NotNull String format,\n @NotNull Object arg1,\n @NotNull Object arg2);\n\n void log(@NotNull LogLevel level,\n @NotNull String format,\n @NotNull Object arg1,\n @NotNull Object arg2,\n @NotNull Object arg3);\n\n void log(@NotNull LogLevel level,\n @NotNull String format,\n @NotNull Object arg1,\n @NotNull Object arg2,\n @NotNull Object arg3,\n @NotNull Object arg4);\n\n void log(@NotNull LogLevel level,\n @NotNull String format,\n @NotNull Object arg1,\n @NotNull Object arg2,\n @NotNull Object arg3,\n @NotNull Object arg4,\n @NotNull Object... remaining);\n\n /**\n * Log the result of the supplier, ie supplier.get().toString()\n * @param level level at which to log\n * @param supplier supplies the object whose toString() method will be invoked and logged\n */\n void log(@NotNull LogLevel level, @NotNull Supplier<?> supplier);\n\n /**\n * Log the result of the supplier and use the Marker to see if it is loggable\n *\n * @param level level at which to log\n * @param marker used to test if loggable\n * @param supplier supplies the object whose toString() method will be invoked and logged\n */\n void log(@NotNull LogLevel level, @NotNull Marker marker, @NotNull Supplier<?> supplier);\n\n /**\n * Log the result of the supplier and use the Throwable to see if it is loggable\n *\n * @param level level at which to log\n * @param throwable used to test if loggable\n * @param supplier supplies the object whose toString() method will be invoked and logged\n */\n void log(@NotNull LogLevel level,\n @NotNull Throwable throwable,\n @NotNull Supplier<?> supplier);\n\n /**\n * Log the result of the supplier and use the Marker and Throwable to see if it is loggable\n *\n * @param level level at which to log\n * @param marker used to test if loggable\n * @param throwable used to test if loggable\n * @param supplier supplies the object whose toString() method will be invoked and logged\n */\n void log(@NotNull LogLevel level,\n @NotNull Marker marker,\n @NotNull Throwable throwable,\n @NotNull Supplier<?> supplier);\n\n /**\n * Used to log an exception being caught where no message is needed. Logs:\n * \"Caught: [throwable.getClass().toString()]\"\n *\n * @param level log level to use\n * @param throwable the throwable that was caught\n */\n void caught(@NotNull LogLevel level, @NotNull Throwable throwable);\n\n /**\n * Log a throwable being thrown at the log site. Logs:\n * \"Throwing: [throwable.getClass().toString()]\n * <p><p>\n * <p>\n * {@code\n * throw LOG.throwing(LogLevel.ERROR, new MyException(\"Important Info\"));\n * }\n *\n * @param level level at which to log\n * @param throwable the Throwable to log\n *\n * @return returns the throwable for convenience\n */\n @NotNull\n <T extends Throwable> T throwing(@NotNull LogLevel level, @NotNull T throwable);\n\n}", "interface Logger {\n\n void d(String tag, String message);\n\n void e(String tag, String message, Throwable t);\n\n void e(String tag, String message);\n}", "public interface IMesaLogger {\n\n\t/**\n\t * Writes a text string to the MESA log\n\t * \n\t * @param message The text string to display\n\t */\n\tpublic void writeString(String message);\n\n\t/**\n\t * Writes a SOAP message to the MESA log\n\t * \n\t * @param message The SOAP message to display\n\t */\n\tpublic void writeSoapMessage(SOAPMessage message);\n\n\t/**\n\t * Writes out an Axiom OMElement message to the logger.\n\t * \n\t * @param message the element to display\n\t */\n\tpublic void writeAxiomElementMessage(OMElement message);\n\n\t/**\n\t * Writes an HL7 message to the MESA log\n\t * \n\t * @param message the HL7 message to display\n\t */\n\tpublic void writeHL7Message(Message message);\n}", "IFileLogger log();", "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 ILog {\n void print(LogLevel logLevel, String tag, String msg, long tid);\n}", "public RevisorLogger getLogger();", "public interface LogFormatter {\n\n /**\n * Creates a log message.\n *\n * @param className The class name that the logger targets at.\n * @param message The original message that is specified with a log method of {@link Log}.\n * @return A log message.\n */\n String format(String className, String message);\n\n /**\n * Creates a log message.\n *\n * @param className The class name that the logger targets at.\n * @param format The format that is specified with a log method of {@link Log}.\n * @param args The additional arguments that are specified with a log method of {@link Log}.\n * @return A log message.\n */\n String format(String className, String format, Object... args);\n}", "Object createLogger(String name);", "public Logger (){}", "public interface LogFactory {\n\n /**\n * Check if logger class is compatible with the log factory.\n *\n * @param loggerClass logger class\n * @return true if compatible and false - otherwise\n */\n boolean isCompatible(Class<?> loggerClass);\n\n /**\n * Create logger with the given name (as configuration parameter).\n *\n * @param name logger name\n * @return logger instance\n */\n Object createLogger(String name);\n\n /**\n * Create logger with the given class (as configuration parameter).\n *\n * @param clazz class\n * @return logger instance\n */\n Object createLogger(Class<?> clazz);\n\n}", "public interface Loggable {\n void writeToLog(String message);\n void closeLog();\n}", "@Override\n public MagicLogger getLogger() {\n return logger;\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}", "public Log(Logger logger) {\n this.logger = logger;\n }", "Appendable getLog();", "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}", "protected abstract Logger newInstance(String name);", "@Override\n protected Logger getLogger() {\n return LOGGER;\n }", "public MyLoggingFacade(Logger logger) {\n this.logger = logger;\n }", "public interface LogManager {\n\n void setInfo(boolean isInfo);\n\n void setError(boolean isError);\n\n void setWarning(boolean isWarning);\n\n void setDebug(boolean isDebug);\n\n\n void info(String text);\n\n void error(String text);\n\n void debug(String text);\n\n void warning(String text);\n\n}", "public Logger getLogger() {\t\t\n\t\treturn logger = LoggerFactory.getLogger(getClazz());\n\t}", "public Logger getLogger()\n/* */ {\n/* 77 */ if (this.logger == null) {\n/* 78 */ this.logger = Hierarchy.getDefaultHierarchy().getLoggerFor(this.name);\n/* */ }\n/* 80 */ return this.logger;\n/* */ }", "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}", "@Override\n\tprotected Logger getLogger() {\n\t\treturn HMetis.logger;\n\t}", "public Logger getLogger(){\n\t\treturn logger;\n\t}", "public Logger logger()\n\t{\n\t\tif (logger == null)\n\t\t{\n\t\t\tlogger = new Logger(PluginRegionBlacklist.this.getClass().getCanonicalName(), null)\n\t\t\t{\n\t\t\t\tpublic void log(LogRecord logRecord)\n\t\t\t\t{\n\n\t\t\t\t\tlogRecord.setMessage(loggerPrefix + logRecord.getMessage());\n\t\t\t\t\tsuper.log(logRecord);\n\t\t\t\t}\n\t\t\t};\n\t\t\tlogger.setParent(getLogger());\n\t\t}\n\t\treturn logger;\n\t}", "public interface LogConfig {\n\tLogCfg getLogCfg();\n}", "private ExtentLogger() {}", "public interface NSAutoLogger {\n\n void info(String msg);\n \n void info(String msg, Color color);\n\n void error(String msg);\n\n void debug(String msg);\n}", "Logger getLogger(final String loggerName);", "public BaseLogger getLogger() {\r\n\t\treturn logger;\r\n\t}", "abstract public LoggingService getLoggingService();", "public interface LoggingManager {\n \n /**\n * Method configure is called at Shark start up, to configure\n * implementation of LoggingManager.\n *\n * @param cus an instance of CallbackUtilities used to get\n * properties for configuring logging in Shark.\n *\n * @exception RootException Thrown if configuring doesn't succeed.\n */\n void configure (CallbackUtilities cus) throws RootException;\n \n /**\n * Log a message object with the <i>ERROR</i> Level.\n *\n * @param msg the message to log.\n *\n * @exception RootException If something unexpected happens.\n *\n */\n void error (String msg) throws RootException;\n \n /**\n * Log a message object with the <i>ERROR</i> Level.\n *\n * @param msg the message to log.\n * @param ex the exception to log, including its stack trace. \n *\n * @exception RootException If something unexpected happens.\n *\n */\n void error (String msg, RootException ex) throws RootException;\n \n /**\n * Log a message object with the <i>ERROR</i> Level.\n *\n * @param channel the log channel to be used for logging. \n * @param msg the message to log.\n *\n * @exception RootException If something unexpected happens.\n *\n */\n void error (String channel, String msg) throws RootException;\n \n /**\n * Log a message object with the <i>ERROR</i> Level.\n *\n * @param channel the log channel to be used for logging. \n * @param msg the message to log.\n * @param ex the exception to log, including its stack trace. \n *\n * @exception RootException If something unexpected happens.\n *\n */\n void error (String channel, String msg, RootException ex) throws RootException;\n\n /**\n * Log a message object with the <i>WARN</i> Level.\n *\n * @param msg the message to log.\n *\n * @exception RootException If something unexpected happens.\n *\n */\n void warn (String msg) throws RootException;\n\n /**\n * Log a message object with the <i>WARN</i> Level.\n *\n * @param msg the message to log.\n * @param ex the exception to log, including its stack trace. \n *\n * @exception RootException If something unexpected happens.\n *\n */\n void warn (String msg, RootException ex) throws RootException;\n\n /**\n * Log a message object with the <i>WARN</i> Level.\n *\n * @param channel the log channel to be used for logging. \n * @param msg the message to log.\n *\n * @exception RootException If something unexpected happens.\n *\n */\n void warn (String channel,String msg) throws RootException;\n\n /**\n * Log a message object with the <i>WARN</i> Level.\n *\n * @param channel the log channel to be used for logging. \n * @param msg the message to log.\n * @param ex the exception to log, including its stack trace. \n *\n * @exception RootException If something unexpected happens.\n *\n */\n void warn (String channel, String msg, RootException ex) throws RootException;\n\n /**\n * Log a message object with the <i>INFO</i> Level.\n *\n * @param msg the message to log.\n *\n * @exception RootException If something unexpected happens.\n *\n */\n void info (String msg) throws RootException;\n\n /**\n * Log a message object with the <i>INFO</i> Level.\n *\n * @param msg the message to log.\n * @param ex the exception to log, including its stack trace. \n *\n * @exception RootException If something unexpected happens.\n *\n */\n void info (String msg, RootException ex) throws RootException;\n\n /**\n * Log a message object with the <i>INFO</i> Level.\n *\n * @param channel the log channel to be used for logging. \n * @param msg the message to log.\n *\n * @exception RootException If something unexpected happens.\n *\n */\n void info (String channel, String msg) throws RootException;\n\n /**\n * Log a message object with the <i>INFO</i> Level.\n *\n * @param channel the log channel to be used for logging. \n * @param msg the message to log.\n * @param ex the exception to log, including its stack trace. \n *\n * @exception RootException If something unexpected happens.\n *\n */\n void info (String channel, String msg, RootException ex) throws RootException;\n\n /**\n * Log a message object with the <i>DEBUG</i> level.\n *\n * @param msg the message to log.\n *\n * @exception RootException If something unexpected happens.\n *\n */\n void debug (String msg) throws RootException;\n\n /**\n * Log a message object with the <i>DEBUG</i> level.\n *\n * @param msg the message to log.\n * @param ex the exception to log, including its stack trace. \n *\n * @exception RootException If something unexpected happens.\n *\n */\n void debug (String msg, RootException ex) throws RootException;\n\n /**\n * Log a message object with the <i>DEBUG</i> level.\n *\n * @param channel the log channel to be used for logging. \n * @param msg the message to log.\n *\n * @exception RootException If something unexpected happens.\n *\n */\n void debug (String channel, String msg) throws RootException;\n\n /**\n * Log a message object with the <i>DEBUG</i> level.\n *\n * @param channel the log channel to be used for logging. \n * @param msg the message to log.\n * @param ex the exception to log, including its stack trace. \n *\n * @exception RootException If something unexpected happens.\n *\n */\n void debug (String channel, String msg, RootException ex) throws RootException;\n\n\n}", "@Override\r\n\tpublic Logger getLogger() {\r\n\t\t\r\n\t\treturn LogFileGenerator.getLogger();\r\n\t\t\r\n\t}", "public Logger getLogger() {\n\treturn _logger;\n }", "private Logger(){ }", "public Logger getLogger() {\n return logger;\n }", "public interface ILocalizedLogger {\n /**\n * Gets logger configuration.\n * @return logger configuration.\n */\n ILoggerConfiguration getConfiguration();\n\n /**\n * Logs localized message for action with INFO level which is applied for element, for example, click, send keys etc.\n * @param elementType Type of the element.\n * @param elementName Name of the element.\n * @param messageKey Key in resource file.\n * @param args Arguments, which will be provided to template of localized message.\n */\n void infoElementAction(String elementType, String elementName, String messageKey, Object... args);\n\n /**\n * Logs localized message with INFO level.\n * @param messageKey Key in resource file.\n * @param args Arguments, which will be provided to template of localized message.\n */\n void info(String messageKey, Object... args);\n\n /**\n * Logs localized message with DEBUG level.\n * @param messageKey Key in resource file.\n * @param args Arguments, which will be provided to template of localized message.\n */\n void debug(String messageKey, Object... args);\n\n /**\n * Logs localized message with DEBUG level.\n * @param messageKey Key in resource file.\n * @param throwable Throwable to log.\n * @param args Arguments, which will be provided to template of localized message.\n */\n void debug(String messageKey, Throwable throwable, Object... args);\n\n /**\n * Logs localized message with WARN level.\n * @param messageKey Key in resource file.\n * @param args Arguments, which will be provided to template of localized message.\n */\n void warn(String messageKey, Object... args);\n\n /**\n * Logs localized message with ERROR level.\n * @param messageKey Key in resource file.\n * @param args Arguments, which will be provided to template of localized message.\n */\n void error(String messageKey, Object... args);\n\n /**\n * Logs localized message with FATAL level.\n * @param messageKey Key in resource file.\n * @param throwable Throwable to log.\n * @param args Arguments, which will be provided to template of localized message.\n */\n void fatal(String messageKey, Throwable throwable, Object... args);\n}", "public interface Loggable\n{\n\n /**\n * Logs the message(s) with the given importance. Message will be\n * prefixed with [TerrainControl], so don't do that yourself.\n * <p/>\n * @param level The severity of the message\n * @param message The messages to log\n */\n public void log(Marker level, String... message);\n\n /**\n * Logs a format string message with the given importance. Message will\n * be prefixed with [TerrainControl], so don't do that yourself.\n * <p/>\n * @param level The severity of the message\n * @param message The messages to log formatted similar to Logger.log()\n * with the same args.\n * @param params The parameters belonging to {0...} in the message\n * string\n */\n public void log(Marker level, String message, Object... params);\n\n /**\n * Logs the message(s) with the given importance <b>ONLY IF</b> logger\n * level matches the level provided. Message will be prefixed with\n * [TerrainControl], so don't do that yourself.\n * <p/>\n * @param ifLevel the Log level to test for\n * @param messages The messages to log.\n */\n public void logIfLevel(Marker ifLevel, String... messages);\n\n /**\n * Logs the message(s) with the given importance <b>ONLY IF</b> logger\n * level matches the level provided. Message will be prefixed with\n * [TerrainControl], so don't do that yourself.\n * <p/>\n * @param ifLevel the Log level to test for\n * @param message The messages to log formatted similar to\n * Logger.log() with the same args.\n * @param params The parameters belonging to {0...} in the message\n * string\n */\n public void logIfLevel(Marker ifLevel, String message, Object... params);\n\n /**\n * Logs the message(s) with the given importance <b>ONLY IF</b> logger\n * level is between the min/max provided. Message will be prefixed with\n * [TerrainControl], so don't do that yourself.\n * <p/>\n * @param min The minimum Log level to test for\n * @param max The maximum Log level to test for\n * @param messages The messages to log.\n */\n public void logIfLevel(Marker min, Marker max, String... messages);\n\n /**\n * Logs the message(s) with the given importance <b>ONLY IF</b> logger\n * level is between the min/max provided. Message will be prefixed with\n * [TerrainControl], so don't do that yourself.\n * <p/>\n * @param min The minimum Log level to test for\n * @param max The maximum Log level to test for\n * @param message The messages to log formatted similar to\n * Logger.log() with the same args.\n * @param params The parameters belonging to {0...} in the message\n * string\n */\n public void logIfLevel(Marker min, Marker max, String message, Object... params);\n\n}", "public MCBLogger getLogger() {\n return logger;\n }", "public interface ILogClassFormatter<T>\n{\n String log(T item, boolean logInList);\n}", "Logger getLog(Class clazz);", "public Logger getLogger() {\n return logger;\n }", "public Logger getLogger()\n\t{\n\t\treturn logger;\n\t}", "protected Log getLogger() {\n return LOGGER;\n }", "public static Logger get() {\n\t\treturn LoggerFactory.getLogger(WALKER.getCallerClass());\n\t}", "Object createLogger(Class<?> clazz);", "public interface ILogger {\r\n //name of columns for measuring multiple values together\r\n public void init(String... names) throws IOException;\r\n //datapoints per column for measuring multiple values together\r\n public void log(Object... vals) throws IOException;\r\n //all datapoints where submitted so clean up\r\n public void finish() throws IOException;\r\n}", "public StatusLogger getStatusLogger();", "public MyLogger () {}", "private static final Logger getLog4JLogger(final Log l) {\r\n return ((org.apache.commons.logging.impl.Log4JLogger) l).getLogger();\r\n }", "public void customLogger() {\n KOOM.getInstance().setLogger(new KLog.KLogger() {\n @Override\n public void i(String TAG, String msg) {\n //get the log of info level\n }\n\n @Override\n public void d(String TAG, String msg) {\n //get the log of debug level\n }\n\n @Override\n public void e(String TAG, String msg) {\n //get the log of error level\n }\n });\n }", "public LogKitLogger(String name)\n/* */ {\n/* 64 */ this.name = name;\n/* 65 */ this.logger = getLogger();\n/* */ }", "public static Logger logger() {\n return logger;\n }", "public Logger getLogger() {\n //depending on the subclass, we'll get a particular logger.\n Logger logger = createLogger();\n\n //could do other operations on the logger here\n return logger;\n }", "@Produces\n public Logger logger(InjectionPoint injectionPoint) {\n return Logger.getLogger(\n injectionPoint.getMember().getDeclaringClass().getName());\n }", "protected Logger getLogger() {\n return (logger);\n }", "@Override\n\tprotected PublicationControlLogger getLogger() {\n\t\treturn logger;\n\t}", "public LoggerProxy(org.jboss.logging.Logger logger)\n/* */ {\n/* 23 */ this.logger = logger;\n/* */ }", "private Logger getLogger() {\n return LoggingUtils.getLogger();\n }", "protected AbstractLogger() {\n \n }", "@Override\n public Logger getLogger(String type) throws IllegalArgumentException {\n if (!type.equals(\"CONSOLE\")) {\n throw new IllegalArgumentException(type);\n } else {\n return new ConsoleLogger();\n }\n }", "public abstract void logd(String str);", "public Logger getLogger()\n {\n return this.logger;\n }", "protected Logger getLogger() {\n return LoggerFactory.getLogger(getClass());\n }", "@Nonnull\n ScriptLogger getLogger();", "protected TechnicalLoggerService getLoggerService() {\n\n return new TechnicalLoggerService() {\n\n @Override\n public void log(Class<?> callerClass, TechnicalLogSeverity severity, String message, Throwable t) {\n // TODO Auto-generated method stub\n\n }\n\n @Override\n public void log(Class<?> callerClass, TechnicalLogSeverity severity, String message) {\n // TODO Auto-generated method stub\n\n }\n\n @Override\n public void log(Class<?> callerClass, TechnicalLogSeverity severity, Throwable t) {\n // TODO Auto-generated method stub\n\n }\n\n @Override\n public boolean isLoggable(Class<?> callerClass, TechnicalLogSeverity severity) {\n // TODO Auto-generated method stub\n return false;\n }\n };\n\n\n }", "private synchronized ILogger getLogger()\n {\n if( _logger == null )\n _logger = ClearLogFactory.getLogger( ClearLogFactory.PERSIST_LOG,\n this.getClass() );\n return _logger;\n }", "public interface LoggingApi<API extends LoggingApi<API>> {\n API withCause(Throwable cause);\n\n API every(int n);\n\n API atMostEvery(int n, TimeUnit unit);\n\n API per(Enum<?> key);\n\n API withInjectedLogSite(String internalClassName, String methodName, int encodedLineNumber,\n String sourceFileName);\n\n boolean isEnabled();\n\n void logVarargs(String message, Object[] varargs);\n\n void log();\n\n void log(String msg);\n\n void log(String msg, Object p1);\n\n void log(String msg, Object p1, Object p2);\n\n void log(String msg, Object p1, Object p2, Object p3);\n\n void log(String msg, Object p1, Object p2, Object p3, Object p4);\n\n void log(String msg, Object p1, Object p2, Object p3, Object p4, Object p5);\n\n void log(String msg, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6);\n\n void log(String msg, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7);\n\n void log(String msg, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7,\n Object p8);\n\n void log(String msg, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7,\n Object p8, Object p9);\n\n void log(String msg, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7,\n Object p8, Object p9, Object p10);\n\n void log(String msg, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7,\n Object p8, Object p9, Object p10, Object... rest);\n\n void log(String msg, char p1);\n\n void log(String msg, byte p1);\n\n void log(String msg, short p1);\n\n void log(String msg, int p1);\n\n void log(String msg, long p1);\n\n void log(String msg, Object p1, boolean p2);\n\n void log(String msg, Object p1, char p2);\n\n void log(String msg, Object p1, byte p2);\n\n void log(String msg, Object p1, short p2);\n\n void log(String msg, Object p1, int p2);\n\n void log(String msg, Object p1, long p2);\n\n void log(String msg, Object p1, float p2);\n\n void log(String msg, Object p1, double p2);\n\n void log(String msg, boolean p1, Object p2);\n\n void log(String msg, char p1, Object p2);\n\n void log(String msg, byte p1, Object p2);\n\n void log(String msg, short p1, Object p2);\n\n void log(String msg, int p1, Object p2);\n\n void log(String msg, long p1, Object p2);\n\n void log(String msg, float p1, Object p2);\n\n void log(String msg, double p1, Object p2);\n\n void log(String msg, boolean p1, boolean p2);\n\n void log(String msg, char p1, boolean p2);\n\n void log(String msg, byte p1, boolean p2);\n\n void log(String msg, short p1, boolean p2);\n\n void log(String msg, int p1, boolean p2);\n\n void log(String msg, long p1, boolean p2);\n\n void log(String msg, float p1, boolean p2);\n\n void log(String msg, double p1, boolean p2);\n\n void log(String msg, boolean p1, char p2);\n\n void log(String msg, char p1, char p2);\n\n void log(String msg, byte p1, char p2);\n\n void log(String msg, short p1, char p2);\n\n void log(String msg, int p1, char p2);\n\n void log(String msg, long p1, char p2);\n\n void log(String msg, float p1, char p2);\n\n void log(String msg, double p1, char p2);\n\n void log(String msg, boolean p1, byte p2);\n\n void log(String msg, char p1, byte p2);\n\n void log(String msg, byte p1, byte p2);\n\n void log(String msg, short p1, byte p2);\n\n void log(String msg, int p1, byte p2);\n\n void log(String msg, long p1, byte p2);\n\n void log(String msg, float p1, byte p2);\n\n void log(String msg, double p1, byte p2);\n\n void log(String msg, boolean p1, short p2);\n\n void log(String msg, char p1, short p2);\n\n void log(String msg, byte p1, short p2);\n\n void log(String msg, short p1, short p2);\n\n void log(String msg, int p1, short p2);\n\n void log(String msg, long p1, short p2);\n\n void log(String msg, float p1, short p2);\n\n void log(String msg, double p1, short p2);\n\n void log(String msg, boolean p1, int p2);\n\n void log(String msg, char p1, int p2);\n\n void log(String msg, byte p1, int p2);\n\n void log(String msg, short p1, int p2);\n\n void log(String msg, int p1, int p2);\n\n void log(String msg, long p1, int p2);\n\n void log(String msg, float p1, int p2);\n\n void log(String msg, double p1, int p2);\n\n void log(String msg, boolean p1, long p2);\n\n void log(String msg, char p1, long p2);\n\n void log(String msg, byte p1, long p2);\n\n void log(String msg, short p1, long p2);\n\n void log(String msg, int p1, long p2);\n\n void log(String msg, long p1, long p2);\n\n void log(String msg, float p1, long p2);\n\n void log(String msg, double p1, long p2);\n\n void log(String msg, boolean p1, float p2);\n\n void log(String msg, char p1, float p2);\n\n void log(String msg, byte p1, float p2);\n\n void log(String msg, short p1, float p2);\n\n void log(String msg, int p1, float p2);\n\n void log(String msg, long p1, float p2);\n\n void log(String msg, float p1, float p2);\n\n void log(String msg, double p1, float p2);\n\n void log(String msg, boolean p1, double p2);\n\n void log(String msg, char p1, double p2);\n\n void log(String msg, byte p1, double p2);\n\n void log(String msg, short p1, double p2);\n\n void log(String msg, int p1, double p2);\n\n void log(String msg, long p1, double p2);\n\n void log(String msg, float p1, double p2);\n\n void log(String msg, double p1, double p2);\n\n public static class NoOp<API extends LoggingApi<API>> implements LoggingApi<API> {\n\n @Override\n public API withInjectedLogSite(String internalClassName, String methodName,\n int encodedLineNumber, String sourceFileName) {\n return null;\n }\n\n @Override\n public final boolean isEnabled() {\n return false;\n }\n\n @Override\n public API per(Enum<?> key) {\n return null;\n }\n\n @Override\n public final API withCause(Throwable cause) {\n return null;\n }\n\n @Override\n public final API every(int n) {\n return null;\n }\n\n @Override\n public final API atMostEvery(int n, TimeUnit unit) {\n return null;\n }\n\n @Override\n public final void logVarargs(String msg, Object[] params) {}\n\n @Override\n public final void log() {}\n\n @Override\n public final void log(String msg) {}\n\n @Override\n public final void log(String msg, Object p1) {}\n\n @Override\n public final void log(String msg, Object p1, Object p2) {}\n\n @Override\n public final void log(String msg, Object p1, Object p2, Object p3) {}\n\n @Override\n public final void log(String msg, Object p1, Object p2, Object p3, Object p4) {}\n\n @Override\n public final void log(String msg, Object p1, Object p2, Object p3, Object p4, Object p5) {}\n\n @Override\n public final void log(String msg, Object p1, Object p2, Object p3, Object p4, Object p5,\n Object p6) {}\n\n @Override\n public final void log(String msg, Object p1, Object p2, Object p3, Object p4, Object p5,\n Object p6, Object p7) {}\n\n @Override\n public final void log(String msg, Object p1, Object p2, Object p3, Object p4, Object p5,\n Object p6, Object p7, Object p8) {}\n\n @Override\n public final void log(String msg, Object p1, Object p2, Object p3, Object p4, Object p5,\n Object p6, Object p7, Object p8, Object p9) {}\n\n @Override\n public final void log(String msg, Object p1, Object p2, Object p3, Object p4, Object p5,\n Object p6, Object p7, Object p8, Object p9, Object p10) {}\n\n @Override\n public final void log(String msg, Object p1, Object p2, Object p3, Object p4, Object p5,\n Object p6, Object p7, Object p8, Object p9, Object p10, Object... rest) {}\n\n @Override\n public final void log(String msg, char p1) {}\n\n @Override\n public final void log(String msg, byte p1) {}\n\n @Override\n public final void log(String msg, short p1) {}\n\n @Override\n public final void log(String msg, int p1) {}\n\n @Override\n public final void log(String msg, long p1) {}\n\n @Override\n public final void log(String msg, Object p1, boolean p2) {}\n\n @Override\n public final void log(String msg, Object p1, char p2) {}\n\n @Override\n public final void log(String msg, Object p1, byte p2) {}\n\n @Override\n public final void log(String msg, Object p1, short p2) {}\n\n @Override\n public final void log(String msg, Object p1, int p2) {}\n\n @Override\n public final void log(String msg, Object p1, long p2) {}\n\n @Override\n public final void log(String msg, Object p1, float p2) {}\n\n @Override\n public final void log(String msg, Object p1, double p2) {}\n\n @Override\n public final void log(String msg, boolean p1, Object p2) {}\n\n @Override\n public final void log(String msg, char p1, Object p2) {}\n\n @Override\n public final void log(String msg, byte p1, Object p2) {}\n\n @Override\n public final void log(String msg, short p1, Object p2) {}\n\n @Override\n public final void log(String msg, int p1, Object p2) {}\n\n @Override\n public final void log(String msg, long p1, Object p2) {}\n\n @Override\n public final void log(String msg, float p1, Object p2) {}\n\n @Override\n public final void log(String msg, double p1, Object p2) {}\n\n @Override\n public final void log(String msg, boolean p1, boolean p2) {}\n\n @Override\n public final void log(String msg, char p1, boolean p2) {}\n\n @Override\n public final void log(String msg, byte p1, boolean p2) {}\n\n @Override\n public final void log(String msg, short p1, boolean p2) {}\n\n @Override\n public final void log(String msg, int p1, boolean p2) {}\n\n @Override\n public final void log(String msg, long p1, boolean p2) {}\n\n @Override\n public final void log(String msg, float p1, boolean p2) {}\n\n @Override\n public final void log(String msg, double p1, boolean p2) {}\n\n @Override\n public final void log(String msg, boolean p1, char p2) {}\n\n @Override\n public final void log(String msg, char p1, char p2) {}\n\n @Override\n public final void log(String msg, byte p1, char p2) {}\n\n @Override\n public final void log(String msg, short p1, char p2) {}\n\n @Override\n public final void log(String msg, int p1, char p2) {}\n\n @Override\n public final void log(String msg, long p1, char p2) {}\n\n @Override\n public final void log(String msg, float p1, char p2) {}\n\n @Override\n public final void log(String msg, double p1, char p2) {}\n\n @Override\n public final void log(String msg, boolean p1, byte p2) {}\n\n @Override\n public final void log(String msg, char p1, byte p2) {}\n\n @Override\n public final void log(String msg, byte p1, byte p2) {}\n\n @Override\n public final void log(String msg, short p1, byte p2) {}\n\n @Override\n public final void log(String msg, int p1, byte p2) {}\n\n @Override\n public final void log(String msg, long p1, byte p2) {}\n\n @Override\n public final void log(String msg, float p1, byte p2) {}\n\n @Override\n public final void log(String msg, double p1, byte p2) {}\n\n @Override\n public final void log(String msg, boolean p1, short p2) {}\n\n @Override\n public final void log(String msg, char p1, short p2) {}\n\n @Override\n public final void log(String msg, byte p1, short p2) {}\n\n @Override\n public final void log(String msg, short p1, short p2) {}\n\n @Override\n public final void log(String msg, int p1, short p2) {}\n\n @Override\n public final void log(String msg, long p1, short p2) {}\n\n @Override\n public final void log(String msg, float p1, short p2) {}\n\n @Override\n public final void log(String msg, double p1, short p2) {}\n\n @Override\n public final void log(String msg, boolean p1, int p2) {}\n\n @Override\n public final void log(String msg, char p1, int p2) {}\n\n @Override\n public final void log(String msg, byte p1, int p2) {}\n\n @Override\n public final void log(String msg, short p1, int p2) {}\n\n @Override\n public final void log(String msg, int p1, int p2) {}\n\n @Override\n public final void log(String msg, long p1, int p2) {}\n\n @Override\n public final void log(String msg, float p1, int p2) {}\n\n @Override\n public final void log(String msg, double p1, int p2) {}\n\n @Override\n public final void log(String msg, boolean p1, long p2) {}\n\n @Override\n public final void log(String msg, char p1, long p2) {}\n\n @Override\n public final void log(String msg, byte p1, long p2) {}\n\n @Override\n public final void log(String msg, short p1, long p2) {}\n\n @Override\n public final void log(String msg, int p1, long p2) {}\n\n @Override\n public final void log(String msg, long p1, long p2) {}\n\n @Override\n public final void log(String msg, float p1, long p2) {}\n\n @Override\n public final void log(String msg, double p1, long p2) {}\n\n @Override\n public final void log(String msg, boolean p1, float p2) {}\n\n @Override\n public final void log(String msg, char p1, float p2) {}\n\n @Override\n public final void log(String msg, byte p1, float p2) {}\n\n @Override\n public final void log(String msg, short p1, float p2) {}\n\n @Override\n public final void log(String msg, int p1, float p2) {}\n\n @Override\n public final void log(String msg, long p1, float p2) {}\n\n @Override\n public final void log(String msg, float p1, float p2) {}\n\n @Override\n public final void log(String msg, double p1, float p2) {}\n\n @Override\n public final void log(String msg, boolean p1, double p2) {}\n\n @Override\n public final void log(String msg, char p1, double p2) {}\n\n @Override\n public final void log(String msg, byte p1, double p2) {}\n\n @Override\n public final void log(String msg, short p1, double p2) {}\n\n @Override\n public final void log(String msg, int p1, double p2) {}\n\n @Override\n public final void log(String msg, long p1, double p2) {}\n\n @Override\n public final void log(String msg, float p1, double p2) {}\n\n @Override\n public final void log(String msg, double p1, double p2) {}\n\n }\n}", "@Override\n public Logger getLog(Class clazz) {\n return new Slf4jLogger(LoggerFactory.getLogger(clazz));\n }", "public interface ErrorLog {\n\n /**\n * Logs an error along with the exception that caused it. This method can be\n * called from any thread.\n *\n * @param message\n * Message, represents the context of the exception (don't repeat\n * {@link Throwable#getMessage()}).\n * @param cause\n * The exception that caused this error.\n */\n void log(String message, Throwable cause);\n\n /**\n * Logs an error. This method can be called from any thread.\n *\n * @param string\n * The error message.\n */\n void log(String string);\n}", "private Logger() {\n\n }", "private JavaUtilLogHandlers() { }", "private static Logger getLogger() {\n return LogDomains.getLogger(ClassLoaderUtil.class, LogDomains.UTIL_LOGGER);\n }", "private final AbstractC33303b getLogger() {\n AbstractC32572g gVar = this.logger$delegate;\n AbstractC32607k kVar = $$delegatedProperties[2];\n return (AbstractC33303b) gVar.mo102348b();\n }", "protected static Logger log() {\n return LogSingleton.INSTANCE.value;\n }", "private static void defineLogger() {\n HTMLLayout layout = new HTMLLayout();\n DailyRollingFileAppender appender = null;\n try {\n appender = new DailyRollingFileAppender(layout, \"/Server_Log/log\", \"yyyy-MM-dd\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n logger.addAppender(appender);\n logger.setLevel(Level.DEBUG);\n }", "protected Logger getLogger(final Class<?> klaz) {\n\t\treturn MavenLoggerFactory.getLogger(klaz, getLog());\n\t}", "@FunctionalInterface\n public interface FormattedLogger {\n /**\n * Logs the specified message.\n *\n * @param format\n * A <a href=\"../util/Formatter.html#syntax\">format string</a>\n * @param args\n * Arguments referenced by the format specifiers in the format string. If there are more arguments than\n * format specifiers, the extra arguments are ignored. The number of arguments is variable and may be\n * zero.\n */\n @FormatMethod\n void print(String format, Object... args);\n }", "private native void initialiseLoggerReference(Logger logger);", "private native void initialiseLoggerReference(Logger logger);", "public AstractLogger getDefaultLogger()\n {\n return new DefaultLogger();\n }", "private Logger(){\n\n }", "@Override\n\tpublic void initLogger() {\n\t\t\n\t}", "public BuildLogger getLogger ( ) {\n @SuppressWarnings ( \"unchecked\" ) final List<? extends BuildListener> listeners = getProject ( ).getBuildListeners ( ) ;\n assert listeners.size ( ) > 0 ;\n return (BuildLogger) listeners.get ( 0 ) ;\n }", "public StandardPirolPlugIn(PersonalLogger logger) {\r\n super();\r\n this.logger = logger;\r\n }", "public interface InstrumenterLogger {\n\n void important(String msg, Object... args);\n\n void lessImportant(String msg, Object... args);\n}", "public final Logger getLogger() {\r\n return this.logger;\r\n }", "public interface LogService {\r\n\r\n\t/** \r\n\t * saveLog:保存错误日志. <br/> \r\n\t * \r\n\t * @author wqy \r\n\t * @param info \r\n\t * @since JDK 1.7 \r\n\t */\r\n\tvoid saveExceptionLog(ExceptionLog info);\r\n\t\r\n\t/** \r\n\t * listLogInfo:根据条件获取错误日志信息. <br/> \r\n\t * \r\n\t * @author wqy \r\n\t * @param param\r\n\t * @return \r\n\t * @since JDK 1.7 \r\n\t */\r\n\tList<ExceptionLog> listLogInfo(Map<String,Object> param);\r\n\t\r\n\t\r\n\t/** \r\n\t * removeLogInfo:根据时间删除之前日志信息. <br/> \r\n\t * \r\n\t * @author wqy \r\n\t * @param endTime \r\n\t * @since JDK 1.7 \r\n\t */\r\n\tvoid removeLogInfo(String endTime);\r\n\r\n\t/** \r\n\t * saveOpenInfoLog:保存开放接口日志. <br/> \r\n\t * \r\n\t * @author wqy \r\n\t * @param log \r\n\t * @since JDK 1.7 \r\n\t */\r\n\tvoid saveOpenInfoLog(OpenInfLog log);\r\n\r\n\t/** \r\n\t * saveLogInfo:保存自定义接口日志. <br/> \r\n\t * \r\n\t * @author wqy \r\n\t * @param log \r\n\t * @since JDK 1.7 \r\n\t */\r\n\tvoid saveLogInfo(LogInfo logInfo);\r\n}" ]
[ "0.79877454", "0.7763398", "0.76721615", "0.7584038", "0.7533612", "0.7478999", "0.7375903", "0.7363596", "0.73580813", "0.73320675", "0.72168684", "0.7154477", "0.713506", "0.70857525", "0.70414376", "0.703421", "0.69909984", "0.69588804", "0.6933954", "0.6875652", "0.68211514", "0.6776383", "0.67656696", "0.67425114", "0.6737072", "0.6724263", "0.66830117", "0.6651941", "0.66444606", "0.6632345", "0.6630385", "0.65771353", "0.65767777", "0.6569906", "0.6566176", "0.6516021", "0.6515646", "0.64949113", "0.6489336", "0.64844096", "0.6471668", "0.6467672", "0.6441311", "0.63933176", "0.63922113", "0.63895696", "0.6371747", "0.6367482", "0.63651305", "0.63648933", "0.6362266", "0.635285", "0.63481694", "0.63442725", "0.6343722", "0.63419884", "0.63399094", "0.6298009", "0.6293473", "0.627758", "0.6277445", "0.6263414", "0.62590826", "0.62578535", "0.625701", "0.62515396", "0.625136", "0.62373996", "0.6217503", "0.6208537", "0.6200775", "0.6179342", "0.6178611", "0.61677635", "0.6165046", "0.61646324", "0.6162535", "0.61551636", "0.6142047", "0.61388355", "0.61302507", "0.6120988", "0.6120189", "0.6118178", "0.6116579", "0.6098357", "0.60934037", "0.608609", "0.60860384", "0.6078601", "0.6075254", "0.6075254", "0.6064709", "0.6064619", "0.6059838", "0.6059299", "0.60561407", "0.6036531", "0.60336095", "0.6026209" ]
0.7311788
10
Get name of the logger.
public String getName();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getName() {\n return _loggerName;\n }", "public String getLoggerName()\n\t{\n\t\treturn this.loggerName;\n\t}", "public String getLogName() {\n return logName;\n }", "public String getLoggerName() {\n return \"test\";\n }", "private String getLoggerName(LoggingEvent event) {\n int index = event.getLoggerName().lastIndexOf('.');\n\n return (index > -1) ?\n event.getLoggerName().substring(index + 1) :\n event.getLoggerName();\n }", "public String getLogGroupName() {\n return this.logGroupName;\n }", "public String getLogClassName() {\n if (this.logClassName == null) {\n discoverLogImplementation(getClass().getName());\n }\n return this.logClassName;\n }", "public String getLocalizedName()\n {\n return StatCollector.translateToLocal(this.getUnlocalizedName() + \".\" + TreeOresLogs2.EnumType.DIAMOND.getUnlocalizedName() + \".name\");\n }", "public static String getName()\n {\n read_if_needed_();\n \n return _get_name;\n }", "@Override\n\tpublic String getLogFileName() {\n\t\treturn model.getLogFileName();\n\t}", "Logger getLogger(final String loggerName);", "public final String getName() {\n if (name == null) {\n name = this.getClass().getSimpleName().substring(3);\n }\n return name;\n }", "public static Logger get() {\n\t\treturn LoggerFactory.getLogger(WALKER.getCallerClass());\n\t}", "public static String getName() {\n return name;\n }", "public String getName ()\n {\n if (__name == null)\n {\n __name = getName (getClass ());\n }\n return __name;\n }", "private String formatLoggerName(LogRecord record)\n\t{\n\t\tString loggerName = record.getLoggerName();\n\t\tif(loggerName.startsWith(LOG_SOURCE_PREFIX))\n\t\t{\n\t\t\tloggerName = loggerName.substring(LOG_SOURCE_PREFIX.length());\n\t\t}\n\t\treturn loggerName;\n\t}", "public Logger getLogger()\n/* */ {\n/* 77 */ if (this.logger == null) {\n/* 78 */ this.logger = Hierarchy.getDefaultHierarchy().getLoggerFor(this.name);\n/* */ }\n/* 80 */ return this.logger;\n/* */ }", "public String getName() {\n // defaults to class name\n String className = getClass().getName();\n return className.substring(className.lastIndexOf(\".\")+1);\n }", "protected String logInstanceName() {\n\t\treturn getClass().getName();\n\t}", "public Logger getLogger() {\n return logger;\n }", "public Logger getLogger() {\n return logger;\n }", "public BaseLogger getLogger() {\r\n\t\treturn logger;\r\n\t}", "public Logger getLogger(){\n\t\treturn logger;\n\t}", "public String getName() {\n\t\tSharedPreferences settings = parentContext.getSharedPreferences(PREFERENCE_FILE,\n\t\t\t\tContext.MODE_PRIVATE);\n\t\treturn settings.getString(USERNAME_KEY, null);\n\t}", "public String getName() {\n\t\treturn name != null ? name : getDirectory().getName();\n\t}", "public String getName() {\n int index = getSplitIndex();\n return path.substring(index + 1);\n }", "public String getName() {\n return Utility.getInstance().getPackageName();\n }", "public Logger getLogger()\n\t{\n\t\treturn logger;\n\t}", "public Logger getLogger() {\n\treturn _logger;\n }", "public Logger getLogger(String name) {\n\t\treturn this.hierarchy.getLogger(name);\n\t}", "@Override\r\n\tpublic Logger getLogger() {\r\n\t\t\r\n\t\treturn LogFileGenerator.getLogger();\r\n\t\t\r\n\t}", "public Logger getLogger()\n {\n return this.logger;\n }", "public String getName() {\r\n assert name != null;\r\n return name;\r\n }", "public List<String> getLoggerNames();", "public static Logger logger() {\n return logger;\n }", "public RevisorLogger getLogger();", "public String getName() {\r\n\t\treturn name.get();\r\n\t}", "@Override\n\tpublic String getName() {\n\t\tfinal String name = super.getName();\n\t\ttry {\n\t\t\treturn name.substring(namespace.length()+1);\n\t\t} catch (Exception e) {\n\t\t\treturn name;\n\t\t}\n\t}", "public final String getName() {\n\treturn name.getName();\n }", "public final Logger getLogger() {\r\n return this.logger;\r\n }", "public String name() {\n this.use();\n\n return name;\n }", "public String getName() {\n\t\treturn JWLC.nativeHandler().wlc_output_get_name(this.to());\n\t}", "public String getName() {\n\t\treturn this.toString();\n\t}", "public String getName() {\n return (NAME_PREFIX + _applicationId + DELIM + _endpointId);\n }", "public String getName() {\n return name.get();\n }", "public java.lang.String getName();", "public static String getLoggerFileName(Logger aInLogger) {\n\n org.apache.logging.log4j.core.Logger loggerImpl = (org.apache.logging.log4j.core.Logger) aInLogger;\n Appender appender = loggerImpl.getAppenders().get(\"fileLogger\");\n // Unfortunately, File is no longer an option to return, here.\n return new File(((RollingFileAppender) appender).getFileName()).getAbsolutePath();\n\n }", "@Override\n public String getLName() {\n\n if(this.lName == null){\n\n this.lName = TestDatabase.getInstance().getClientField(token, id, \"lName\");\n }\n\n return lName;\n }", "protected Logger getLogger() {\n return LoggerFactory.getLogger(getClass());\n }", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();" ]
[ "0.85540026", "0.8115927", "0.7860853", "0.6878371", "0.6838655", "0.66326004", "0.6630427", "0.6306265", "0.6295197", "0.6255923", "0.62264335", "0.62224686", "0.6184863", "0.6099853", "0.6094876", "0.6090193", "0.6067248", "0.6064006", "0.60502154", "0.6004553", "0.5970482", "0.5954763", "0.59535336", "0.5952744", "0.59484076", "0.59324855", "0.59290785", "0.59288645", "0.5914513", "0.5911165", "0.5874448", "0.58572227", "0.58425736", "0.5828241", "0.5811629", "0.5791959", "0.5790136", "0.5788647", "0.57823896", "0.5779949", "0.57791495", "0.5771551", "0.5771394", "0.5766193", "0.5758447", "0.5743341", "0.57388", "0.5733389", "0.57103145", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921", "0.5707921" ]
0.0
-1
Log a fatal message.
public void fatal(String message);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void fatal(Object message)\n/* */ {\n/* 226 */ if (message != null) {\n/* 227 */ getLogger().fatalError(String.valueOf(message));\n/* */ }\n/* */ }", "public void fatal(Object message) {\n this.logger.fatal(message);\n }", "public void fatal(String msg) {\n LOGGER_BASE.fatal(msg);\n }", "public void fatal(Object message, Throwable t)\n/* */ {\n/* 240 */ if (message != null) {\n/* 241 */ getLogger().fatalError(String.valueOf(message), t);\n/* */ }\n/* */ }", "public void fatal(String message, Throwable throwable);", "@Override\n public void fatal(String message) {\n if (Level.FATAL.getPriority() <= level.getPriority()) {\n print(\"FATAL: \" + message);\n }\n }", "@Override\n\tpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "@Override\n\tpublic void fatal(Message msg) {\n\t}", "public void fatalError(String msg) {\n\t\tLog.e(\"FATAL ERROR\", msg);\n\t\tSystem.exit(0);\n\t}", "@Override\n\tpublic void fatal(String message, Object p0, Object p1, Object p2) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object p0, Object p1) {\n\n\t}", "public static void fatal( String message ) {\n\twarn( message );\n\tSystem.exit( 1 );\n }", "@Override\n\tpublic void fatal(Object message) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4) {\n\n\t}", "void fatal(String messageKey, Throwable throwable, Object... args);", "public void fatal(Object message, Throwable t) {\n this.logger.fatal(message, t);\n }", "@Override\n\tpublic void fatal(Object message, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, Message msg) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object... params) {\n\n\t}", "@Override\n\tpublic void fatal(Message msg, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object p0) {\n\n\t}", "@Override\n\tpublic void fatal(CharSequence message, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7, Object p8) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, Object message) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, Message msg, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6) {\n\n\t}", "@Override\n\tpublic void fatal(CharSequence message) {\n\n\t}", "public void fatal(String loggerFqcn, Object message, Throwable t)\n/* */ {\n/* 95 */ this.logger.fatal(loggerFqcn, message, t);\n/* */ }", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7) {\n\n\t}", "@SuppressWarnings(\"unused\")\n protected void fatal(String msg) {\n if (this.getContainer() != null && this.getContainer().getLogger().isFatalEnabled()) {\n this.getContainer().getLogger().fatal(msg);\n }\n }", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, Object message, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, MessageSupplier msgSupplier) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object... params) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, CharSequence message, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, MessageSupplier msgSupplier, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8) {\n\n\t}", "@SuppressWarnings(\"unused\")\n public static void fatal(String message) {\n FacesContext.getCurrentInstance()\n .addMessage(null,\n new FacesMessage(FacesMessage.SEVERITY_FATAL,\n FacesUtils.getlocalizedString(ResourceBundles.GENERAL, \"fatal\") + \"!\",\n message));\n }", "@Override\n\tpublic void fatal(Marker marker, CharSequence message) {\n\n\t}", "public void logFatal(final String message, final Throwable excp) {\n\n\t\t\tMSULogger.internalLogger.log(\n\t\t\t\tMSULogger.WRAPPER_FQN,\n\t\t\t\tLevel.FATAL,\n\t\t\t\tmessage,\n\t\t\t\texcp);\n\t\t}", "@Override\n\tpublic void fatal(Marker marker, Supplier<?> msgSupplier) {\n\n\t}", "@Override\n\tpublic void fatal(MessageSupplier msgSupplier) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, Supplier<?> msgSupplier, Throwable t) {\n\n\t}", "public void fatal(Exception ex) {\n\t\t\n\t}", "@Override\n\tpublic void fatal(MessageSupplier msgSupplier, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(Supplier<?> msgSupplier) {\n\n\t}", "void onFatal();", "@Override\n\tpublic void fatal(Supplier<?> msgSupplier, Throwable t) {\n\n\t}", "public void fatal( String methodName, String message )\n {\n fatal( methodName, message, null );\n }", "public void report_fatal_error(String message, Object info) {\n report_error(message, info);\n System.out.println(\"ENTRO\");\n //System.exit(1);\n }", "@Override\n\tpublic void fatal(Marker marker, String message, Supplier<?>... paramSuppliers) {\n\n\t}", "public void report_fatal_error(String message, Object info) {\r\n report_error(message, info);\r\n System.exit(1);\r\n }", "@Override\n\tpublic void fatal(String message, Supplier<?>... paramSuppliers) {\n\n\t}", "public void fatal( String methodName, String message, Throwable t )\n {\n getLogger().fatal( methodName + \"():\" + message, t );\n }", "@JRubyMethod(name = \"fatal\")\n public IRubyObject fatal(final ThreadContext context,\n final IRubyObject msg, final Block block) {\n return context.runtime.newBoolean( add(FATAL, context, msg, block) );\n }", "public static void fatal(String stepName, String description) \n\t{\n\t\ttry{\n\t\t\ttest.log(LogStatus.FATAL, stepName, description);\n\t\t\tReporter.blnStatus=false;\n\t\t}catch(Exception e){fnPrintException(e);}\t\n\t}", "public static LogType FATAL()\n {\n if (g_oFatal == null)\n {\n try\n {\n g_oFatal = new LogType(\"FATAL\", 0);\n }\n catch (Goliath.Exceptions.InvalidParameterException ex)\n {}\n }\n return g_oFatal;\n }", "public DukeFatalException(String msg) {\n super(msg + \" Exiting Duke now...\");\n }", "public final void fatal(Component reporter, String message)\n\t{\n\t\tadd(new FeedbackMessage(reporter, message, FeedbackMessage.FATAL));\n\t}", "public void report_fatal_error(String message, Object info) throws java.lang.Exception {\r\n done_parsing();\r\n report_error(message, info);\r\n }", "public void fatalError(String s)\r\n\t{\n\t\tForm form = new Form(\"Fatal Error\");\r\n\t\tform.append(new StringItem(null, s));\r\n\t\tform.addCommand(exitCommand);\r\n\t\tform.setCommandListener(this);\r\n\t\tDisplay.getDisplay(this).setCurrent(form);\r\n\t}", "public void fatalError(final String log_file) {\n File file = new File(log_file);\n\n Uri path = FileProvider.getUriForFile(context, context.getApplicationContext().getPackageName() + \".provider\", file);\n\n Intent intent = new Intent(Intent.ACTION_VIEW);\n intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n\n Intent.createChooser(intent, context.getResources().getString(R.string.open_file_with));\n intent.setDataAndType(path, context.getContentResolver().getType(path));\n intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);\n\n PendingIntent pi = PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_IMMUTABLE);\n\n NotificationCompat.Builder builder = new NotificationCompat.Builder(this, Notifications.CHANNEL_ID)\n .setSmallIcon(R.drawable.icon)\n .setContentTitle(\"Vulkan Samples Error\")\n .setContentText(\"Fatal Error: click to view\")\n .setStyle(new NotificationCompat.BigTextStyle().bigText(\"Log: \" + log_file))\n .setAutoCancel(true)\n .setContentIntent(pi)\n .setPriority(NotificationCompat.PRIORITY_HIGH);\n\n NotificationManagerCompat nm = NotificationManagerCompat.from(context);\n nm.notify(Notifications.getNotificationId(this), builder.build());\n }", "private static void fatalError(Exception e) {\n\t\tif (SwingUtilities.isEventDispatchThread()) {\n\t\t\tfinal StringWriter stacktraceW = new StringWriter();\n\t\t\te.printStackTrace(new PrintWriter(stacktraceW, true));\n\n\t\t\tjavax.swing.JOptionPane\n\t\t\t\t\t.showMessageDialog(null,\n\t\t\t\t\t\t\te.getClass() + \"\\n\" + e.getLocalizedMessage() + \"\\n\\nStacktrace:\\n\"\n\t\t\t\t\t\t\t\t\t+ stacktraceW.getBuffer().toString(),\n\t\t\t\t\t\t\t\"Fatal Error\", javax.swing.JOptionPane.ERROR_MESSAGE);\n\t\t\te.printStackTrace();\n\t\t} else {\n\t\t\t// If not on EDT, then schedule for execution on EDT\n\t\t\ttry {\n\t\t\t\tSwingUtilities.invokeAndWait(new Runnable() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tfatalError(e);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} catch (InvocationTargetException | InterruptedException e1) {\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t}\n\t}", "public boolean isFatalEnabled()\n/* */ {\n/* 266 */ return getLogger().isFatalErrorEnabled();\n/* */ }", "@Override\n public void fatalError(SAXParseException exception) {\n logger.log(TreeLogger.ERROR, exception.getMessage());\n logger.log(TreeLogger.DEBUG, \"SAXParseException\", exception);\n }", "private void fatal(String message) throws SAXException {\n SAXParseException spe = new SAXParseException(message, this);\n if (errorHandler != null) {\n errorHandler.fatalError(spe);\n }\n throw spe;\n }", "public void fatal(EcompLoggerErrorCode errorCodeEnum,\n String serviceName,\n String targetEntity,\n String errorDescription, Object... params) {\n if (isErrorEnabled()) {\n error.log(LogLevel.FATAL, errorCodeEnum, serviceName, targetEntity, errorDescription, params);\n }\n }", "public void appendFatalErr(String err) {\n fatalMessages.append(err);\n }", "public static void severe(String msg) {\n\t\tlogger.log(Level.SEVERE, msg);\n\t}", "public ExceptionHit exceptionFatal(Boolean value) {\n setBoolean(EXCEPTION_FATAL, value);\n return this;\n }", "public void logErr(String msg) {\r\n if (this.logger != null) {\r\n logger.severe(msg);\r\n }\r\n }", "public void error(String msg) {\n boolean doit = level == Level.NONE || level == Level.INFO;\n if (log != System.err || !doit) {\n System.err.println(msg);\n }\n if (!doit) return;\n write(\"ERROR\", msg); \n }", "public ProcessManagerException getFatalException() {\r\n return fatalException;\r\n }", "static void fail(String message) {\n Log.error(message);\n System.exit(1);\n }", "private static void error(String msg) {\r\n\t\tlogger.severe(msg);\r\n\t\tSystem.exit(0);\r\n\t}", "@Override\n\tpublic boolean isFatalEnabled() {\n\t\treturn false;\n\t}", "public abstract boolean isFatal();", "public void fatalError(SAXParseException exception) throws SAXException\n {\n\n // Increment counter, save the exception, and log what we got\n counters[TYPE_FATALERROR]++;\n\n String exInfo = getParseExceptionInfo(exception);\n\n setLastItem(exInfo);\n\n // Log or validate the exception\n logOrCheck(TYPE_FATALERROR, \"fatalError\", exInfo);\n\n // Also re-throw the exception if asked to\n if ((throwWhen & THROW_ON_FATAL) == THROW_ON_FATAL)\n {\n throw new SAXException(exception);\n }\n }", "@Override\n\tpublic boolean isFatalEnabled(Marker marker) {\n\t\treturn false;\n\t}", "public void severe(String msg) {\n log(SEVERE, msg);\n }", "public void fatalError(SAXParseException e) throws SAXException {\r\n\t\tERROR_CODE = -1;\r\n\t\tstack.clear();\r\n\t\tstack.push(new EFGString(\"Fatal error on line \"\r\n\t\t\t\t+ _locator.getLineNumber() + \", column \"\r\n\t\t\t\t+ _locator.getColumnNumber() + \":\\n\\t\" + e.getMessage()));\r\n\t\tSystem.err.println(\"Fatal error on line \" + _locator.getLineNumber()\r\n\t\t\t\t+ \", column \" + _locator.getColumnNumber() + \":\\n\\t\"\r\n\t\t\t\t+ e.getMessage());\r\n\t\tthrow e;\r\n\t}", "void outputError(String message) {\n\n fatalCount++;\n/*\n if (fatalCount == 1) {\n //fatalErrorsTable.addRow(ec.cr1ColRow(\n // \"Fatal errors\", true, \"red\", IHAlign.CENTER));\n TableRow row = new TableRow();\n row.addCell(new TableDataCell(\n \"<font color=red><b>Fatal errors</b></font>\").setHAlign(IHAlign.CENTER));\n fatalErrorsTable.addRow(row);\n } // if (fatalCount == 1)\n //fatalErrorsTable.addRow(ec.cr1ColRow(message));\n TableRow row = new TableRow();\n row.addCell(new TableDataCell(message));\n fatalErrorsTable.addRow(row);\n*/\n ec.writeFileLine(reportFile, message);\n if (dbg) System.out.println(\"<br>outputError: message = \" + message);\n }", "public static void severe(String msg) {\n\t\tlog.severe(\"[iCart] \" + msg);\n\t}", "@Override\n public void logError(String message) {\n Log.e(_projectName, message);\n }", "public static void panic(String message, Object...args) {\n\n\t\tlog(LogLevel.PANIC, null, message, args);\n\t}", "private void logInvalidMessage(String msg){\n \tif (null != utilLog){\n \t\tutilLog.error(msg);\n \t}\n \telse{\n \t\tSystem.out.println(msg);\n \t}\n }", "public static void main(String[] args) {\n\t\t\n\t\tlog.debug(\"Debugging\");\n\t\tlog.info(\"Just FYI\");\n\t\tlog.error(\"Error message\");\n\n\t\tlog.fatal(\"Fatal Error\");\n\t}", "protected void error(String msg) {\n log.log(Level.SEVERE, msg);\n }" ]
[ "0.7926948", "0.7853887", "0.77242464", "0.7682788", "0.749842", "0.7474795", "0.7472548", "0.744769", "0.74000794", "0.7398591", "0.73871577", "0.736794", "0.73433214", "0.7325589", "0.7275268", "0.7263381", "0.72470564", "0.72328466", "0.7218676", "0.72092605", "0.7195811", "0.7183619", "0.71688145", "0.7129963", "0.7127631", "0.7126096", "0.7097635", "0.7094389", "0.708369", "0.70836407", "0.7062109", "0.70618665", "0.70560706", "0.7034392", "0.70339406", "0.70334685", "0.70169085", "0.70138276", "0.7006624", "0.6998188", "0.6991007", "0.6971891", "0.6959682", "0.69570667", "0.6948371", "0.69403994", "0.69111353", "0.69066054", "0.6894427", "0.6811949", "0.67959654", "0.6735507", "0.67073584", "0.6698005", "0.6693545", "0.6661383", "0.6513445", "0.64720756", "0.6423602", "0.6362887", "0.6285979", "0.6224109", "0.6213174", "0.6207392", "0.6179473", "0.6124502", "0.61136365", "0.6109948", "0.6103709", "0.59949195", "0.59800273", "0.59284765", "0.5883896", "0.5812655", "0.5807123", "0.57963073", "0.574158", "0.56421083", "0.5618212", "0.55426216", "0.54910666", "0.54762644", "0.541612", "0.54028684", "0.54023844", "0.5395338", "0.5369133", "0.5361202", "0.5325898", "0.5315278", "0.52644795", "0.5248196", "0.52218413", "0.5206774", "0.5184149", "0.5179815", "0.51539755", "0.512421", "0.5123132", "0.51193434" ]
0.79528576
0
Log a fatal message.
public void fatal(String message, Throwable throwable);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void fatal(String message);", "public void fatal(Object message)\n/* */ {\n/* 226 */ if (message != null) {\n/* 227 */ getLogger().fatalError(String.valueOf(message));\n/* */ }\n/* */ }", "public void fatal(Object message) {\n this.logger.fatal(message);\n }", "public void fatal(String msg) {\n LOGGER_BASE.fatal(msg);\n }", "public void fatal(Object message, Throwable t)\n/* */ {\n/* 240 */ if (message != null) {\n/* 241 */ getLogger().fatalError(String.valueOf(message), t);\n/* */ }\n/* */ }", "@Override\n public void fatal(String message) {\n if (Level.FATAL.getPriority() <= level.getPriority()) {\n print(\"FATAL: \" + message);\n }\n }", "@Override\n\tpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "@Override\n\tpublic void fatal(Message msg) {\n\t}", "public void fatalError(String msg) {\n\t\tLog.e(\"FATAL ERROR\", msg);\n\t\tSystem.exit(0);\n\t}", "@Override\n\tpublic void fatal(String message, Object p0, Object p1, Object p2) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object p0, Object p1) {\n\n\t}", "public static void fatal( String message ) {\n\twarn( message );\n\tSystem.exit( 1 );\n }", "@Override\n\tpublic void fatal(Object message) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4) {\n\n\t}", "void fatal(String messageKey, Throwable throwable, Object... args);", "public void fatal(Object message, Throwable t) {\n this.logger.fatal(message, t);\n }", "@Override\n\tpublic void fatal(Object message, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, Message msg) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object... params) {\n\n\t}", "@Override\n\tpublic void fatal(Message msg, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object p0) {\n\n\t}", "@Override\n\tpublic void fatal(CharSequence message, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5) {\n\n\t}", "@Override\n\tpublic void fatal(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7, Object p8) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, Object message) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, Message msg, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "@Override\n\tpublic void fatal(CharSequence message) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6) {\n\n\t}", "public void fatal(String loggerFqcn, Object message, Throwable t)\n/* */ {\n/* 95 */ this.logger.fatal(loggerFqcn, message, t);\n/* */ }", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7) {\n\n\t}", "@SuppressWarnings(\"unused\")\n protected void fatal(String msg) {\n if (this.getContainer() != null && this.getContainer().getLogger().isFatalEnabled()) {\n this.getContainer().getLogger().fatal(msg);\n }\n }", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, Object message, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, MessageSupplier msgSupplier) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object... params) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, CharSequence message, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, MessageSupplier msgSupplier, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8) {\n\n\t}", "@SuppressWarnings(\"unused\")\n public static void fatal(String message) {\n FacesContext.getCurrentInstance()\n .addMessage(null,\n new FacesMessage(FacesMessage.SEVERITY_FATAL,\n FacesUtils.getlocalizedString(ResourceBundles.GENERAL, \"fatal\") + \"!\",\n message));\n }", "@Override\n\tpublic void fatal(Marker marker, CharSequence message) {\n\n\t}", "public void logFatal(final String message, final Throwable excp) {\n\n\t\t\tMSULogger.internalLogger.log(\n\t\t\t\tMSULogger.WRAPPER_FQN,\n\t\t\t\tLevel.FATAL,\n\t\t\t\tmessage,\n\t\t\t\texcp);\n\t\t}", "@Override\n\tpublic void fatal(Marker marker, Supplier<?> msgSupplier) {\n\n\t}", "@Override\n\tpublic void fatal(MessageSupplier msgSupplier) {\n\n\t}", "@Override\n\tpublic void fatal(Marker marker, Supplier<?> msgSupplier, Throwable t) {\n\n\t}", "public void fatal(Exception ex) {\n\t\t\n\t}", "@Override\n\tpublic void fatal(MessageSupplier msgSupplier, Throwable t) {\n\n\t}", "@Override\n\tpublic void fatal(Supplier<?> msgSupplier) {\n\n\t}", "void onFatal();", "@Override\n\tpublic void fatal(Supplier<?> msgSupplier, Throwable t) {\n\n\t}", "public void fatal( String methodName, String message )\n {\n fatal( methodName, message, null );\n }", "public void report_fatal_error(String message, Object info) {\n report_error(message, info);\n System.out.println(\"ENTRO\");\n //System.exit(1);\n }", "@Override\n\tpublic void fatal(Marker marker, String message, Supplier<?>... paramSuppliers) {\n\n\t}", "public void report_fatal_error(String message, Object info) {\r\n report_error(message, info);\r\n System.exit(1);\r\n }", "@Override\n\tpublic void fatal(String message, Supplier<?>... paramSuppliers) {\n\n\t}", "public void fatal( String methodName, String message, Throwable t )\n {\n getLogger().fatal( methodName + \"():\" + message, t );\n }", "@JRubyMethod(name = \"fatal\")\n public IRubyObject fatal(final ThreadContext context,\n final IRubyObject msg, final Block block) {\n return context.runtime.newBoolean( add(FATAL, context, msg, block) );\n }", "public static void fatal(String stepName, String description) \n\t{\n\t\ttry{\n\t\t\ttest.log(LogStatus.FATAL, stepName, description);\n\t\t\tReporter.blnStatus=false;\n\t\t}catch(Exception e){fnPrintException(e);}\t\n\t}", "public static LogType FATAL()\n {\n if (g_oFatal == null)\n {\n try\n {\n g_oFatal = new LogType(\"FATAL\", 0);\n }\n catch (Goliath.Exceptions.InvalidParameterException ex)\n {}\n }\n return g_oFatal;\n }", "public DukeFatalException(String msg) {\n super(msg + \" Exiting Duke now...\");\n }", "public final void fatal(Component reporter, String message)\n\t{\n\t\tadd(new FeedbackMessage(reporter, message, FeedbackMessage.FATAL));\n\t}", "public void report_fatal_error(String message, Object info) throws java.lang.Exception {\r\n done_parsing();\r\n report_error(message, info);\r\n }", "public void fatalError(String s)\r\n\t{\n\t\tForm form = new Form(\"Fatal Error\");\r\n\t\tform.append(new StringItem(null, s));\r\n\t\tform.addCommand(exitCommand);\r\n\t\tform.setCommandListener(this);\r\n\t\tDisplay.getDisplay(this).setCurrent(form);\r\n\t}", "public void fatalError(final String log_file) {\n File file = new File(log_file);\n\n Uri path = FileProvider.getUriForFile(context, context.getApplicationContext().getPackageName() + \".provider\", file);\n\n Intent intent = new Intent(Intent.ACTION_VIEW);\n intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n\n Intent.createChooser(intent, context.getResources().getString(R.string.open_file_with));\n intent.setDataAndType(path, context.getContentResolver().getType(path));\n intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);\n\n PendingIntent pi = PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_IMMUTABLE);\n\n NotificationCompat.Builder builder = new NotificationCompat.Builder(this, Notifications.CHANNEL_ID)\n .setSmallIcon(R.drawable.icon)\n .setContentTitle(\"Vulkan Samples Error\")\n .setContentText(\"Fatal Error: click to view\")\n .setStyle(new NotificationCompat.BigTextStyle().bigText(\"Log: \" + log_file))\n .setAutoCancel(true)\n .setContentIntent(pi)\n .setPriority(NotificationCompat.PRIORITY_HIGH);\n\n NotificationManagerCompat nm = NotificationManagerCompat.from(context);\n nm.notify(Notifications.getNotificationId(this), builder.build());\n }", "private static void fatalError(Exception e) {\n\t\tif (SwingUtilities.isEventDispatchThread()) {\n\t\t\tfinal StringWriter stacktraceW = new StringWriter();\n\t\t\te.printStackTrace(new PrintWriter(stacktraceW, true));\n\n\t\t\tjavax.swing.JOptionPane\n\t\t\t\t\t.showMessageDialog(null,\n\t\t\t\t\t\t\te.getClass() + \"\\n\" + e.getLocalizedMessage() + \"\\n\\nStacktrace:\\n\"\n\t\t\t\t\t\t\t\t\t+ stacktraceW.getBuffer().toString(),\n\t\t\t\t\t\t\t\"Fatal Error\", javax.swing.JOptionPane.ERROR_MESSAGE);\n\t\t\te.printStackTrace();\n\t\t} else {\n\t\t\t// If not on EDT, then schedule for execution on EDT\n\t\t\ttry {\n\t\t\t\tSwingUtilities.invokeAndWait(new Runnable() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tfatalError(e);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} catch (InvocationTargetException | InterruptedException e1) {\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t}\n\t}", "public boolean isFatalEnabled()\n/* */ {\n/* 266 */ return getLogger().isFatalErrorEnabled();\n/* */ }", "@Override\n public void fatalError(SAXParseException exception) {\n logger.log(TreeLogger.ERROR, exception.getMessage());\n logger.log(TreeLogger.DEBUG, \"SAXParseException\", exception);\n }", "private void fatal(String message) throws SAXException {\n SAXParseException spe = new SAXParseException(message, this);\n if (errorHandler != null) {\n errorHandler.fatalError(spe);\n }\n throw spe;\n }", "public void fatal(EcompLoggerErrorCode errorCodeEnum,\n String serviceName,\n String targetEntity,\n String errorDescription, Object... params) {\n if (isErrorEnabled()) {\n error.log(LogLevel.FATAL, errorCodeEnum, serviceName, targetEntity, errorDescription, params);\n }\n }", "public void appendFatalErr(String err) {\n fatalMessages.append(err);\n }", "public static void severe(String msg) {\n\t\tlogger.log(Level.SEVERE, msg);\n\t}", "public ExceptionHit exceptionFatal(Boolean value) {\n setBoolean(EXCEPTION_FATAL, value);\n return this;\n }", "public void logErr(String msg) {\r\n if (this.logger != null) {\r\n logger.severe(msg);\r\n }\r\n }", "public void error(String msg) {\n boolean doit = level == Level.NONE || level == Level.INFO;\n if (log != System.err || !doit) {\n System.err.println(msg);\n }\n if (!doit) return;\n write(\"ERROR\", msg); \n }", "public ProcessManagerException getFatalException() {\r\n return fatalException;\r\n }", "static void fail(String message) {\n Log.error(message);\n System.exit(1);\n }", "private static void error(String msg) {\r\n\t\tlogger.severe(msg);\r\n\t\tSystem.exit(0);\r\n\t}", "@Override\n\tpublic boolean isFatalEnabled() {\n\t\treturn false;\n\t}", "public abstract boolean isFatal();", "public void fatalError(SAXParseException exception) throws SAXException\n {\n\n // Increment counter, save the exception, and log what we got\n counters[TYPE_FATALERROR]++;\n\n String exInfo = getParseExceptionInfo(exception);\n\n setLastItem(exInfo);\n\n // Log or validate the exception\n logOrCheck(TYPE_FATALERROR, \"fatalError\", exInfo);\n\n // Also re-throw the exception if asked to\n if ((throwWhen & THROW_ON_FATAL) == THROW_ON_FATAL)\n {\n throw new SAXException(exception);\n }\n }", "@Override\n\tpublic boolean isFatalEnabled(Marker marker) {\n\t\treturn false;\n\t}", "public void severe(String msg) {\n log(SEVERE, msg);\n }", "public void fatalError(SAXParseException e) throws SAXException {\r\n\t\tERROR_CODE = -1;\r\n\t\tstack.clear();\r\n\t\tstack.push(new EFGString(\"Fatal error on line \"\r\n\t\t\t\t+ _locator.getLineNumber() + \", column \"\r\n\t\t\t\t+ _locator.getColumnNumber() + \":\\n\\t\" + e.getMessage()));\r\n\t\tSystem.err.println(\"Fatal error on line \" + _locator.getLineNumber()\r\n\t\t\t\t+ \", column \" + _locator.getColumnNumber() + \":\\n\\t\"\r\n\t\t\t\t+ e.getMessage());\r\n\t\tthrow e;\r\n\t}", "void outputError(String message) {\n\n fatalCount++;\n/*\n if (fatalCount == 1) {\n //fatalErrorsTable.addRow(ec.cr1ColRow(\n // \"Fatal errors\", true, \"red\", IHAlign.CENTER));\n TableRow row = new TableRow();\n row.addCell(new TableDataCell(\n \"<font color=red><b>Fatal errors</b></font>\").setHAlign(IHAlign.CENTER));\n fatalErrorsTable.addRow(row);\n } // if (fatalCount == 1)\n //fatalErrorsTable.addRow(ec.cr1ColRow(message));\n TableRow row = new TableRow();\n row.addCell(new TableDataCell(message));\n fatalErrorsTable.addRow(row);\n*/\n ec.writeFileLine(reportFile, message);\n if (dbg) System.out.println(\"<br>outputError: message = \" + message);\n }", "public static void severe(String msg) {\n\t\tlog.severe(\"[iCart] \" + msg);\n\t}", "@Override\n public void logError(String message) {\n Log.e(_projectName, message);\n }", "public static void panic(String message, Object...args) {\n\n\t\tlog(LogLevel.PANIC, null, message, args);\n\t}", "private void logInvalidMessage(String msg){\n \tif (null != utilLog){\n \t\tutilLog.error(msg);\n \t}\n \telse{\n \t\tSystem.out.println(msg);\n \t}\n }", "public static void main(String[] args) {\n\t\t\n\t\tlog.debug(\"Debugging\");\n\t\tlog.info(\"Just FYI\");\n\t\tlog.error(\"Error message\");\n\n\t\tlog.fatal(\"Fatal Error\");\n\t}", "protected void error(String msg) {\n log.log(Level.SEVERE, msg);\n }" ]
[ "0.7954724", "0.79288745", "0.7854892", "0.7725741", "0.76847464", "0.74768996", "0.7474354", "0.74495023", "0.7401742", "0.7400655", "0.7389108", "0.7370739", "0.73455834", "0.73270583", "0.72770905", "0.7264529", "0.7248417", "0.7235027", "0.72205544", "0.7211149", "0.71977395", "0.7185455", "0.7170708", "0.7131846", "0.7130081", "0.7127967", "0.7099167", "0.709655", "0.7085556", "0.7085398", "0.7063997", "0.7063989", "0.70577973", "0.70366186", "0.7035905", "0.70344156", "0.7018811", "0.7015563", "0.70076615", "0.6999773", "0.69929624", "0.69736403", "0.6961379", "0.6958752", "0.6950237", "0.6942331", "0.691337", "0.69082004", "0.68959653", "0.6814143", "0.67984384", "0.67369294", "0.6709249", "0.66999435", "0.66953105", "0.66623276", "0.65153855", "0.647437", "0.6426261", "0.6365015", "0.6288746", "0.6226889", "0.62149215", "0.62097263", "0.61816555", "0.6127059", "0.61131775", "0.61114204", "0.6103737", "0.5997113", "0.5981925", "0.5930927", "0.5886046", "0.5815612", "0.58088595", "0.5797576", "0.5743268", "0.5644938", "0.56186986", "0.5545539", "0.54933393", "0.547614", "0.54194", "0.5406612", "0.540177", "0.5399274", "0.5372443", "0.53624785", "0.53276896", "0.5316348", "0.52657765", "0.5250667", "0.5223926", "0.5209905", "0.51870215", "0.5183375", "0.5156685", "0.5127641", "0.5124896", "0.51225907" ]
0.7499565
5
Log an error message.
public void error(String message);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void logError(String message)\n {\n log(IStatus.ERROR, message);\n }", "public static void error(String message) {\n LOGGER.error(message);\n }", "public void logError(String message) {\n logger.logError(\"[\" + game.getName() + \"] \" + message);\n }", "public void error(Object message)\n/* */ {\n/* 199 */ if (message != null) {\n/* 200 */ getLogger().error(String.valueOf(message));\n/* */ }\n/* */ }", "private void logError(String msg)\n {\n GlobeRedirector.errorLog.write(msg);\n }", "public void error(String message) {\n if (mLoggable) {\n try {\n Log.e(mClassName, message);\n } catch (Exception e) {\n Log.e(TAG, e.getMessage());\n }\n }\n }", "public static void error(Object message) {\n\t\tif (logger != null) {\n\t\t\tlogger.log(Level.ERROR, message);\n\t\t}\n\t}", "public void error(Object message, Throwable t)\n/* */ {\n/* 213 */ if (message != null) {\n/* 214 */ getLogger().error(String.valueOf(message), t);\n/* */ }\n/* */ }", "abstract void logError(String error);", "@Override\n\tpublic void error(final Object message) {\n\t\tif (message != null && message instanceof Throwable) {\n\t\t\tlogger.error(\"\", (Throwable) message);\n\t\t} else {\n\t\t\tlogger.error(message);\n\t\t}\t\t\t\t\n\t}", "abstract void errorLogMessage(String message);", "public void error(String msg) {\n LOGGER_BASE.error(msg);\n }", "protected abstract void logError(Exception e);", "public void error(String msg) {\n boolean doit = level == Level.NONE || level == Level.INFO;\n if (log != System.err || !doit) {\n System.err.println(msg);\n }\n if (!doit) return;\n write(\"ERROR\", msg); \n }", "@Override\n public void logError(String message) {\n Log.e(_projectName, message);\n }", "public static void errorln(Object message) {\n\t\tSystem.out.println(\"! ERROR: \" + message);\n\t}", "public static void logError(String message, Throwable e)\n {\n log(IStatus.ERROR, message, e);\n }", "@Override\r\n\tprotected void logError(String message, Throwable throwable) {\n\t\t\r\n\t}", "@Override\n public void error(final Object message) {\n this.logger.error(this.prepareDefaultMessage(message));\n }", "protected void Error(String message) {\n logger.logError(message);\n }", "public void logErrorMessage(String message) {\n\t\tgetILog().log(new Status(IStatus.ERROR, PLUGIN_ID, message, null));\n\t}", "private void logError(String msgText) {\n System.out.println (\"[ERROR] \" + msgText);\n \n }", "public static void error(Object message) {\n\t\tSystem.out.print(\"! ERROR: \" + message);\n\t}", "public void error(String message, Throwable throwable);", "public void error(String message) {\n\tSystem.err.println(\"Error: \" + message);\n\tthrow new Error(message);\n }", "public void log(ErrorLevel el, String message, Throwable t);", "protected void error(String msg) {\n log.log(Level.SEVERE, msg);\n }", "abstract void errorLogError(String error);", "public static void error(String message, Throwable t) {\n LOGGER.error(message, t);\n }", "public void error(String message) {\n ui.say(\"ERROR: \" + message);\n }", "private void errorMessage( String message )\n {\n logger.errorMessage( \"MidiChannel\", message, 0 );\n }", "private void logInvalidMessage(String msg){\n \tif (null != utilLog){\n \t\tutilLog.error(msg);\n \t}\n \telse{\n \t\tSystem.out.println(msg);\n \t}\n }", "public void logErr(String msg) {\r\n if (this.logger != null) {\r\n logger.severe(msg);\r\n }\r\n }", "public void logError(String logMsg, Exception e) {\n logger.error(logMsg, e);\n }", "public static void logErrorMessages(ADFLogger logObject, String logMsg) {\r\n if (logObject.isSevere()) {\r\n logObject.severe(logMsg);\r\n }\r\n }", "private void logErrorMessage(String found, String expected)throws LexemeException {\n\t\tSystem.out.println(\"Error: (L\" + lexAnalyser.getLineCount()\n\t\t\t\t+ \") Error on token \\\"\" + found + \"\\\" Expected \" + expected);\n\n\t\tlogMessage(\"Error on token \\\"\" + found + \"\\\" Expected \" + expected);\n\t\tlog.closeLog();\n\t\tthrow new LexemeException(\"Error on token \\\"\" + found + \"\\\" Expected \"\n\t\t\t\t+ expected);\n\n\t}", "public void logError(final String format, final Object... args) {\n errorMessages.add(String.format(format, args));\n }", "@Override\n public void error(String message) {\n if (Level.ERROR.getPriority() <= level.getPriority()) {\n print(\"ERROR: \" + message);\n }\n }", "public void addError(String message);", "public void log(String message)\n {\n try \n {\n BufferedWriter errorLogWriter = new BufferedWriter(new FileWriter(this.errorLog));\n errorLogWriter.write(Logger.dateFormat.format(Calendar.getInstance().getTime()));\n errorLogWriter.write(message);\n errorLogWriter.close();\n }\n catch (IOException ex)\n {\n System.err.println(\"Cannot write into log : \" + ex.getMessage());\n }\n }", "abstract void errorLogCustom(String tag, String message);", "public static void printError(String message) {\n\t\tprintMessage(\"ERROR: \" + message);\r\n\t}", "@Override\n\tpublic void error(Message msg, Throwable t) {\n\n\t}", "public void logError(String message, Throwable throwable) {\n\t\tlogger.log(Level.SEVERE, message, throwable);\n\t\tif (myNode != null) {\n\t\t\tmyNode.observerNotice(MonitoringEvent.CONNECTOR_ERROR, myNode.getNodeId(), WEB_CONNECTOR + message);\n\t\t}\n\t\tif (logHandler != null) { // StreamHandler don't auto flush\n\t\t\tlogHandler.flush();\n\t\t}\n\t}", "public void error(final String message, final Object... args) {\n log.severe(supplier(message, args));\n }", "public static void error(String tag, String text) {\n if (BuildConfig.DEBUG) {\n Log.e(tag, text);\n }\n }", "static void logError(Throwable t) {\n }", "public static void error(String message, Object... arguments) {\n if (!errorLogger.isErrorEnabled()) {\n return;\n }\n if (arguments.length == 1 && !OnapLoggingUtils.isThrowable(arguments[0])) {\n MDC.put(classNameProp, message);\n setErrorCode(MessageCodes.GENERAL_ERROR);\n errorLogger.error(MessageCodes.GENERAL_ERROR,\n arguments[0] == null ? \"\" : arguments[0].toString());\n return;\n }\n if (arguments.length == 1 && OnapLoggingUtils.isThrowable(arguments[0])) {\n String arguments2 = getNormalizedStackTrace((Throwable) arguments[0], \"\");\n errorLogger.error(MessageCodes.GENERAL_ERROR, message + arguments2);\n return;\n }\n MDC.put(classNameProp, \"\");\n setErrorCode(MessageCodes.GENERAL_ERROR);\n errorLogger.error(message, arguments);\n }", "public static void error(String arg0) {\n MDC.put(classNameProp, \"\");\n setErrorCode(MessageCodes.GENERAL_ERROR);\n errorLogger.error(MessageCodes.GENERAL_ERROR, arg0);\n }", "public void error(String loggerFqcn, Object message, Throwable t)\n/* */ {\n/* 71 */ this.logger.error(loggerFqcn, message, t);\n/* */ }", "public static synchronized void logError(Exception e) {\n\t\te.printStackTrace();\r\n\t}", "@Override\n\tpublic void error(Object message, Throwable t) {\n\n\t}", "public void errorOccured(String errorMessage, Exception e);", "private static void error(@NotNull final org.slf4j.Logger logger, @NotNull @NotBlank @NotEmpty final String key,\r\n\t\t\tfinal Throwable exp, final Object... args) {\r\n\t\tif (logger.isErrorEnabled()) {\r\n\t\t\tfinal String message = format(key, args);\r\n\t\t\tif (null == exp) {\r\n\t\t\t\tlogger.error(message);\r\n\t\t\t} else {\r\n\t\t\t\t// Distinguish from JVM error and Defined error\r\n\t\t\t\tif (exp instanceof AbstractException) {\r\n\t\t\t\t\tfinal AbstractException error = (AbstractException) exp;\r\n\t\t\t\t\tlogger.error(\"[ *** ERROR\" + error.getErrorCode() + \" *** ] \" + message);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tlogger.error(\"[ *** JVM ERROR *** ]: \" + message);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private void logError(String message, Throwable error, boolean alertUser){\n // always log the error\n log.e(TAG, message, error);\n // alert the user to avoid silent errors\n if (alertUser){\n Toast.makeText(getApplicationContext(), message, Toast.LENGTH_LONG).show();\n\n }\n\n }", "private void error(String message) {\n errors++;\n System.err.println(\"Line \" + token.line + \",\"\n + \" Col \" + token.col + \": \"\n + message);\n }", "@Override\n\tpublic void error(Object message) {\n\n\t}", "public static void printError(String message) {\n\t\t// if not in production, then print log on console\n\t\tif (!isProductionMode) Log.e(\"AppDebug : \", \" Error Debug:\" + message);\n\t}", "default String error(String... args) {\n String message = create(args);\n Reporter.log(message);\n getLogger().error(message);\n return message;\n }", "public static void error(String tag, String msg, Throwable ex) {\n if (BuildConfig.DEBUG) {\n Log.e(tag, msg, ex);\n }\n }", "public void error(String message, String sysid, int line, int column)\n\t\t\t\tthrows Exception {\n\t\t\tif (sysid != null) {\n\t\t\t\tlogError(\"[\" + sysid + \"] \" + message);\n\t\t\t} else {\n\t\t\t\tlogError(message);\n\t\t\t}\n\t\t}", "@Override\n\tpublic void error(Message msg) {\n\n\t}", "public void writeError(final String message){\n switch (PreferencesHelper.getConsolePopupLevel()) {\n case ALL:\n popConsoleView();\n break;\n default:\n break;\n }\n\n final String output = getTimeString() + \" ERROR: \" + message + ENTER;\n UIBundlingThread.getInstance().addRunnable(new Runnable() {\n\n public void run() {\n if(errorStream == null){\n errorStream = console.newOutputStream();\n errorStream.setColor(CustomMediaFactory.getInstance().getColor(\n CustomMediaFactory.COLOR_RED));\n }\n writeToConsole(errorStream, output);\n }\n });\n\n\n }", "public static void logError(Context context, Exception e, String message){\n if(logging){\n String tag = context.getClass().getName();\n if(e == null) android.util.Log.e(tag, message);\n else if(message == null) android.util.Log.e(tag, e.getMessage(), e.getCause());\n else android.util.Log.e(tag, message, e.getCause());\n }\n }", "protected void error(String msg, Throwable ex) {\n log.log(Level.SEVERE, msg, ex);\n }", "public synchronized void log(String msg) {\n\t\tSystem.err.println(msg);\n\t}", "void showError(String message);", "void showError(String message);", "public void error(String format, Object... arguments) {\n if (mLoggable) {\n try {\n Log.e(mClassName, String.format(format, arguments));\n } catch (Exception e) {\n Log.e(TAG, e.getMessage());\n }\n }\n }", "@Override\n\tpublic void error(CharSequence message, Throwable t) {\n\n\t}", "private static void error(final ILogger aLogger, final String aMethod,\r\n final String aMessage, final Exception aException) {\r\n ExceptionUtil.error(aLogger, pCLASS_NAME, aMethod, aMessage, aException);\r\n }", "protected void logError(IConfigurationElement element, String text)\r\n {\r\n IExtension extension = element.getDeclaringExtension();\r\n StringBuffer buf = new StringBuffer();\r\n buf.append(\"Plugin \");\r\n buf.append(extension.getNamespaceIdentifier());\r\n buf.append(\", extension \");\r\n buf.append(extension.getExtensionPointUniqueIdentifier());\r\n buf.append(\"\\n\");\r\n buf.append(text);\r\n System.err.println(buf);\r\n }", "public void putError(String message) {\n errorData.postValue(message);\n }", "abstract public void log(int level, String msg, Throwable thrown);", "public void Error(String Tag, String Message) {\n Log.e(Tag, Message);\n saveLog(Tag,Message);\n }", "public static void e(String message, Object... args) {\n log(ERROR, null, null, message, args);\n }", "protected static void errorLog(float error){\n\n\t\tString logString = error + \"\\n\";\n\t\ttry {\n\t\t\tFiles.write(Paths.get(\"errorLog.txt\"), logString.getBytes(), StandardOpenOption.APPEND);\n\t\t}catch (IOException e) {\n\t\t\t//exception handling left as an exercise for the reader\n\t\t}\n\t}", "public static void logError(Class clz, Exception e, String message){\n if(logging){\n String tag = clz.getName();\n if(e == null) android.util.Log.e(tag, message);\n else if(message == null) android.util.Log.e(tag, e.getMessage(), e.getCause());\n else android.util.Log.e(tag, message, e.getCause());\n }\n }", "public void message(String message, Throwable t);", "public static void error(String message, Object...args) {\n\n\t\tlog(LogLevel.ERROR, null, message, args);\n\t}", "public interface ErrorLog {\n\n /**\n * Logs an error along with the exception that caused it. This method can be\n * called from any thread.\n *\n * @param message\n * Message, represents the context of the exception (don't repeat\n * {@link Throwable#getMessage()}).\n * @param cause\n * The exception that caused this error.\n */\n void log(String message, Throwable cause);\n\n /**\n * Logs an error. This method can be called from any thread.\n *\n * @param string\n * The error message.\n */\n void log(String string);\n}", "public static void logError(Logger logger, ServerWebExchange exchange, String msg, Object... args) {\n\n if (!logger.isErrorEnabled())\n return;\n\n if (exchange == null) {\n logger.error(msg, args);\n } else {\n String context = exchange.getAttribute(TRACE_ID_CONTEXT_KEY);\n try (MDC.MDCCloseable cMdc = MDC.putCloseable(TRACE_ID_CONTEXT_KEY, context)) {\n logger.error(msg, args);\n }\n }\n }", "public void error( String methodName, String message, Throwable t )\n {\n getLogger().error( methodName + \"():\" + message, t );\n }", "public void showErrorMessage(String message){\n System.out.println(LocalTime.now() + \": Error: \" + message);\n }", "public static void addErrorToReport(String message) {\n String messageWithStepNumber = addMessageToReport(message);\n ExtentTestManager.getTest().log(Status.FAIL, messageWithStepNumber);\n }", "public static void error(MessageCodes msg, String... arguments) {\n MDC.put(classNameProp, \"\");\n setErrorCode(msg);\n errorLogger.error(msg, arguments);\n }", "void error (String msg) throws RootException;", "private static void LogError(final String method,\n final ResponseResult result)\n {\n if (result != null && !StringHelper.isNullOrEmpty(result.errorMessage))\n {\n// Crashlytics.log(\"SharecareClient() FAILURE: \"\n// + String.format(ERROR_MESSAGE, method, result.responseCode,\n// result.errorMessage));\n }\n }", "static void fail(String message) {\n Log.error(message);\n System.exit(1);\n }", "public void error(Exception e);", "public void error(Throwable e);", "public static void error(Object arg0) {\n MDC.put(classNameProp, \"\");\n setErrorCode(MessageCodes.GENERAL_ERROR);\n errorLogger.error(MessageCodes.GENERAL_ERROR, \"\" + arg0);\n }", "public void log(String message) {\n\t}", "private void sendNotificationError(Exception e) {\n logger.error(e.getMessage());\n \n }", "void log(Message message);", "@FormatMethod\n private void reportError(\n SourcePosition position, @FormatString String message, Object... arguments) {\n errorReporter.reportError(position, message, arguments);\n }", "void error(String messageKey, Object... args);", "public static void error(MessageCodes msg, Throwable arg0, String... arguments) {\n MDC.put(classNameProp, \"\");\n setErrorCode(msg);\n String arguments2 = getNormalizedStackTrace(arg0, arguments);\n errorLogger.error(msg, arguments2);\n }", "public static void logErr(final String msg, final Object... fmtArgs)\r\n\t{\r\n\t\tSystem.err.printf(msg + \"\\n\", fmtArgs);\r\n\t}", "public void error(Throwable error) {\n\n }" ]
[ "0.78905684", "0.7639495", "0.76330507", "0.75811774", "0.75328207", "0.7524984", "0.7520672", "0.7459643", "0.73893225", "0.7343585", "0.7299026", "0.72383183", "0.71921194", "0.71620923", "0.7133454", "0.7107638", "0.70884156", "0.7066316", "0.7055182", "0.70504934", "0.70440257", "0.7040648", "0.7013545", "0.701221", "0.6995375", "0.6910876", "0.6887443", "0.6862836", "0.68482363", "0.6782961", "0.6777398", "0.6686938", "0.6651942", "0.66291916", "0.6624231", "0.66235316", "0.66222906", "0.6620576", "0.66190046", "0.6547148", "0.65195024", "0.6494664", "0.6471043", "0.6467025", "0.64240843", "0.6416589", "0.64160615", "0.63979566", "0.6396471", "0.63934183", "0.6379572", "0.63779145", "0.63568467", "0.63551444", "0.63520974", "0.6349627", "0.6346445", "0.6345764", "0.63125086", "0.6307705", "0.63028127", "0.6294772", "0.62807584", "0.6277298", "0.62714773", "0.6266811", "0.6262439", "0.6262439", "0.6255572", "0.6252779", "0.623774", "0.6217124", "0.61951554", "0.61920524", "0.61919796", "0.6189984", "0.6189595", "0.6172868", "0.6167134", "0.6165058", "0.6160041", "0.6159166", "0.61518115", "0.6149468", "0.6136362", "0.6127244", "0.6119045", "0.61111116", "0.6108476", "0.6107547", "0.61029303", "0.61019695", "0.60984695", "0.60898685", "0.6077223", "0.6070652", "0.60615975", "0.6060463", "0.6044998", "0.6038245" ]
0.72407347
11
Log an error message.
public void error(String message, Throwable throwable);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void logError(String message)\n {\n log(IStatus.ERROR, message);\n }", "public static void error(String message) {\n LOGGER.error(message);\n }", "public void logError(String message) {\n logger.logError(\"[\" + game.getName() + \"] \" + message);\n }", "public void error(Object message)\n/* */ {\n/* 199 */ if (message != null) {\n/* 200 */ getLogger().error(String.valueOf(message));\n/* */ }\n/* */ }", "private void logError(String msg)\n {\n GlobeRedirector.errorLog.write(msg);\n }", "public void error(String message) {\n if (mLoggable) {\n try {\n Log.e(mClassName, message);\n } catch (Exception e) {\n Log.e(TAG, e.getMessage());\n }\n }\n }", "public static void error(Object message) {\n\t\tif (logger != null) {\n\t\t\tlogger.log(Level.ERROR, message);\n\t\t}\n\t}", "public void error(Object message, Throwable t)\n/* */ {\n/* 213 */ if (message != null) {\n/* 214 */ getLogger().error(String.valueOf(message), t);\n/* */ }\n/* */ }", "abstract void logError(String error);", "@Override\n\tpublic void error(final Object message) {\n\t\tif (message != null && message instanceof Throwable) {\n\t\t\tlogger.error(\"\", (Throwable) message);\n\t\t} else {\n\t\t\tlogger.error(message);\n\t\t}\t\t\t\t\n\t}", "abstract void errorLogMessage(String message);", "public void error(String message);", "public void error(String msg) {\n LOGGER_BASE.error(msg);\n }", "protected abstract void logError(Exception e);", "public void error(String msg) {\n boolean doit = level == Level.NONE || level == Level.INFO;\n if (log != System.err || !doit) {\n System.err.println(msg);\n }\n if (!doit) return;\n write(\"ERROR\", msg); \n }", "@Override\n public void logError(String message) {\n Log.e(_projectName, message);\n }", "public static void errorln(Object message) {\n\t\tSystem.out.println(\"! ERROR: \" + message);\n\t}", "public static void logError(String message, Throwable e)\n {\n log(IStatus.ERROR, message, e);\n }", "@Override\r\n\tprotected void logError(String message, Throwable throwable) {\n\t\t\r\n\t}", "@Override\n public void error(final Object message) {\n this.logger.error(this.prepareDefaultMessage(message));\n }", "protected void Error(String message) {\n logger.logError(message);\n }", "public void logErrorMessage(String message) {\n\t\tgetILog().log(new Status(IStatus.ERROR, PLUGIN_ID, message, null));\n\t}", "private void logError(String msgText) {\n System.out.println (\"[ERROR] \" + msgText);\n \n }", "public static void error(Object message) {\n\t\tSystem.out.print(\"! ERROR: \" + message);\n\t}", "public void error(String message) {\n\tSystem.err.println(\"Error: \" + message);\n\tthrow new Error(message);\n }", "public void log(ErrorLevel el, String message, Throwable t);", "protected void error(String msg) {\n log.log(Level.SEVERE, msg);\n }", "abstract void errorLogError(String error);", "public static void error(String message, Throwable t) {\n LOGGER.error(message, t);\n }", "public void error(String message) {\n ui.say(\"ERROR: \" + message);\n }", "private void errorMessage( String message )\n {\n logger.errorMessage( \"MidiChannel\", message, 0 );\n }", "private void logInvalidMessage(String msg){\n \tif (null != utilLog){\n \t\tutilLog.error(msg);\n \t}\n \telse{\n \t\tSystem.out.println(msg);\n \t}\n }", "public void logErr(String msg) {\r\n if (this.logger != null) {\r\n logger.severe(msg);\r\n }\r\n }", "public void logError(String logMsg, Exception e) {\n logger.error(logMsg, e);\n }", "public static void logErrorMessages(ADFLogger logObject, String logMsg) {\r\n if (logObject.isSevere()) {\r\n logObject.severe(logMsg);\r\n }\r\n }", "private void logErrorMessage(String found, String expected)throws LexemeException {\n\t\tSystem.out.println(\"Error: (L\" + lexAnalyser.getLineCount()\n\t\t\t\t+ \") Error on token \\\"\" + found + \"\\\" Expected \" + expected);\n\n\t\tlogMessage(\"Error on token \\\"\" + found + \"\\\" Expected \" + expected);\n\t\tlog.closeLog();\n\t\tthrow new LexemeException(\"Error on token \\\"\" + found + \"\\\" Expected \"\n\t\t\t\t+ expected);\n\n\t}", "public void logError(final String format, final Object... args) {\n errorMessages.add(String.format(format, args));\n }", "@Override\n public void error(String message) {\n if (Level.ERROR.getPriority() <= level.getPriority()) {\n print(\"ERROR: \" + message);\n }\n }", "public void addError(String message);", "public void log(String message)\n {\n try \n {\n BufferedWriter errorLogWriter = new BufferedWriter(new FileWriter(this.errorLog));\n errorLogWriter.write(Logger.dateFormat.format(Calendar.getInstance().getTime()));\n errorLogWriter.write(message);\n errorLogWriter.close();\n }\n catch (IOException ex)\n {\n System.err.println(\"Cannot write into log : \" + ex.getMessage());\n }\n }", "abstract void errorLogCustom(String tag, String message);", "public static void printError(String message) {\n\t\tprintMessage(\"ERROR: \" + message);\r\n\t}", "@Override\n\tpublic void error(Message msg, Throwable t) {\n\n\t}", "public void logError(String message, Throwable throwable) {\n\t\tlogger.log(Level.SEVERE, message, throwable);\n\t\tif (myNode != null) {\n\t\t\tmyNode.observerNotice(MonitoringEvent.CONNECTOR_ERROR, myNode.getNodeId(), WEB_CONNECTOR + message);\n\t\t}\n\t\tif (logHandler != null) { // StreamHandler don't auto flush\n\t\t\tlogHandler.flush();\n\t\t}\n\t}", "public void error(final String message, final Object... args) {\n log.severe(supplier(message, args));\n }", "public static void error(String tag, String text) {\n if (BuildConfig.DEBUG) {\n Log.e(tag, text);\n }\n }", "static void logError(Throwable t) {\n }", "public static void error(String message, Object... arguments) {\n if (!errorLogger.isErrorEnabled()) {\n return;\n }\n if (arguments.length == 1 && !OnapLoggingUtils.isThrowable(arguments[0])) {\n MDC.put(classNameProp, message);\n setErrorCode(MessageCodes.GENERAL_ERROR);\n errorLogger.error(MessageCodes.GENERAL_ERROR,\n arguments[0] == null ? \"\" : arguments[0].toString());\n return;\n }\n if (arguments.length == 1 && OnapLoggingUtils.isThrowable(arguments[0])) {\n String arguments2 = getNormalizedStackTrace((Throwable) arguments[0], \"\");\n errorLogger.error(MessageCodes.GENERAL_ERROR, message + arguments2);\n return;\n }\n MDC.put(classNameProp, \"\");\n setErrorCode(MessageCodes.GENERAL_ERROR);\n errorLogger.error(message, arguments);\n }", "public static void error(String arg0) {\n MDC.put(classNameProp, \"\");\n setErrorCode(MessageCodes.GENERAL_ERROR);\n errorLogger.error(MessageCodes.GENERAL_ERROR, arg0);\n }", "public void error(String loggerFqcn, Object message, Throwable t)\n/* */ {\n/* 71 */ this.logger.error(loggerFqcn, message, t);\n/* */ }", "public static synchronized void logError(Exception e) {\n\t\te.printStackTrace();\r\n\t}", "@Override\n\tpublic void error(Object message, Throwable t) {\n\n\t}", "public void errorOccured(String errorMessage, Exception e);", "private static void error(@NotNull final org.slf4j.Logger logger, @NotNull @NotBlank @NotEmpty final String key,\r\n\t\t\tfinal Throwable exp, final Object... args) {\r\n\t\tif (logger.isErrorEnabled()) {\r\n\t\t\tfinal String message = format(key, args);\r\n\t\t\tif (null == exp) {\r\n\t\t\t\tlogger.error(message);\r\n\t\t\t} else {\r\n\t\t\t\t// Distinguish from JVM error and Defined error\r\n\t\t\t\tif (exp instanceof AbstractException) {\r\n\t\t\t\t\tfinal AbstractException error = (AbstractException) exp;\r\n\t\t\t\t\tlogger.error(\"[ *** ERROR\" + error.getErrorCode() + \" *** ] \" + message);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tlogger.error(\"[ *** JVM ERROR *** ]: \" + message);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private void logError(String message, Throwable error, boolean alertUser){\n // always log the error\n log.e(TAG, message, error);\n // alert the user to avoid silent errors\n if (alertUser){\n Toast.makeText(getApplicationContext(), message, Toast.LENGTH_LONG).show();\n\n }\n\n }", "private void error(String message) {\n errors++;\n System.err.println(\"Line \" + token.line + \",\"\n + \" Col \" + token.col + \": \"\n + message);\n }", "@Override\n\tpublic void error(Object message) {\n\n\t}", "public static void printError(String message) {\n\t\t// if not in production, then print log on console\n\t\tif (!isProductionMode) Log.e(\"AppDebug : \", \" Error Debug:\" + message);\n\t}", "default String error(String... args) {\n String message = create(args);\n Reporter.log(message);\n getLogger().error(message);\n return message;\n }", "public static void error(String tag, String msg, Throwable ex) {\n if (BuildConfig.DEBUG) {\n Log.e(tag, msg, ex);\n }\n }", "public void error(String message, String sysid, int line, int column)\n\t\t\t\tthrows Exception {\n\t\t\tif (sysid != null) {\n\t\t\t\tlogError(\"[\" + sysid + \"] \" + message);\n\t\t\t} else {\n\t\t\t\tlogError(message);\n\t\t\t}\n\t\t}", "@Override\n\tpublic void error(Message msg) {\n\n\t}", "public void writeError(final String message){\n switch (PreferencesHelper.getConsolePopupLevel()) {\n case ALL:\n popConsoleView();\n break;\n default:\n break;\n }\n\n final String output = getTimeString() + \" ERROR: \" + message + ENTER;\n UIBundlingThread.getInstance().addRunnable(new Runnable() {\n\n public void run() {\n if(errorStream == null){\n errorStream = console.newOutputStream();\n errorStream.setColor(CustomMediaFactory.getInstance().getColor(\n CustomMediaFactory.COLOR_RED));\n }\n writeToConsole(errorStream, output);\n }\n });\n\n\n }", "public static void logError(Context context, Exception e, String message){\n if(logging){\n String tag = context.getClass().getName();\n if(e == null) android.util.Log.e(tag, message);\n else if(message == null) android.util.Log.e(tag, e.getMessage(), e.getCause());\n else android.util.Log.e(tag, message, e.getCause());\n }\n }", "protected void error(String msg, Throwable ex) {\n log.log(Level.SEVERE, msg, ex);\n }", "public synchronized void log(String msg) {\n\t\tSystem.err.println(msg);\n\t}", "void showError(String message);", "void showError(String message);", "public void error(String format, Object... arguments) {\n if (mLoggable) {\n try {\n Log.e(mClassName, String.format(format, arguments));\n } catch (Exception e) {\n Log.e(TAG, e.getMessage());\n }\n }\n }", "@Override\n\tpublic void error(CharSequence message, Throwable t) {\n\n\t}", "private static void error(final ILogger aLogger, final String aMethod,\r\n final String aMessage, final Exception aException) {\r\n ExceptionUtil.error(aLogger, pCLASS_NAME, aMethod, aMessage, aException);\r\n }", "protected void logError(IConfigurationElement element, String text)\r\n {\r\n IExtension extension = element.getDeclaringExtension();\r\n StringBuffer buf = new StringBuffer();\r\n buf.append(\"Plugin \");\r\n buf.append(extension.getNamespaceIdentifier());\r\n buf.append(\", extension \");\r\n buf.append(extension.getExtensionPointUniqueIdentifier());\r\n buf.append(\"\\n\");\r\n buf.append(text);\r\n System.err.println(buf);\r\n }", "public void putError(String message) {\n errorData.postValue(message);\n }", "abstract public void log(int level, String msg, Throwable thrown);", "public void Error(String Tag, String Message) {\n Log.e(Tag, Message);\n saveLog(Tag,Message);\n }", "public static void e(String message, Object... args) {\n log(ERROR, null, null, message, args);\n }", "protected static void errorLog(float error){\n\n\t\tString logString = error + \"\\n\";\n\t\ttry {\n\t\t\tFiles.write(Paths.get(\"errorLog.txt\"), logString.getBytes(), StandardOpenOption.APPEND);\n\t\t}catch (IOException e) {\n\t\t\t//exception handling left as an exercise for the reader\n\t\t}\n\t}", "public static void logError(Class clz, Exception e, String message){\n if(logging){\n String tag = clz.getName();\n if(e == null) android.util.Log.e(tag, message);\n else if(message == null) android.util.Log.e(tag, e.getMessage(), e.getCause());\n else android.util.Log.e(tag, message, e.getCause());\n }\n }", "public void message(String message, Throwable t);", "public static void error(String message, Object...args) {\n\n\t\tlog(LogLevel.ERROR, null, message, args);\n\t}", "public interface ErrorLog {\n\n /**\n * Logs an error along with the exception that caused it. This method can be\n * called from any thread.\n *\n * @param message\n * Message, represents the context of the exception (don't repeat\n * {@link Throwable#getMessage()}).\n * @param cause\n * The exception that caused this error.\n */\n void log(String message, Throwable cause);\n\n /**\n * Logs an error. This method can be called from any thread.\n *\n * @param string\n * The error message.\n */\n void log(String string);\n}", "public static void logError(Logger logger, ServerWebExchange exchange, String msg, Object... args) {\n\n if (!logger.isErrorEnabled())\n return;\n\n if (exchange == null) {\n logger.error(msg, args);\n } else {\n String context = exchange.getAttribute(TRACE_ID_CONTEXT_KEY);\n try (MDC.MDCCloseable cMdc = MDC.putCloseable(TRACE_ID_CONTEXT_KEY, context)) {\n logger.error(msg, args);\n }\n }\n }", "public void error( String methodName, String message, Throwable t )\n {\n getLogger().error( methodName + \"():\" + message, t );\n }", "public void showErrorMessage(String message){\n System.out.println(LocalTime.now() + \": Error: \" + message);\n }", "public static void addErrorToReport(String message) {\n String messageWithStepNumber = addMessageToReport(message);\n ExtentTestManager.getTest().log(Status.FAIL, messageWithStepNumber);\n }", "public static void error(MessageCodes msg, String... arguments) {\n MDC.put(classNameProp, \"\");\n setErrorCode(msg);\n errorLogger.error(msg, arguments);\n }", "void error (String msg) throws RootException;", "private static void LogError(final String method,\n final ResponseResult result)\n {\n if (result != null && !StringHelper.isNullOrEmpty(result.errorMessage))\n {\n// Crashlytics.log(\"SharecareClient() FAILURE: \"\n// + String.format(ERROR_MESSAGE, method, result.responseCode,\n// result.errorMessage));\n }\n }", "static void fail(String message) {\n Log.error(message);\n System.exit(1);\n }", "public void error(Exception e);", "public void error(Throwable e);", "public static void error(Object arg0) {\n MDC.put(classNameProp, \"\");\n setErrorCode(MessageCodes.GENERAL_ERROR);\n errorLogger.error(MessageCodes.GENERAL_ERROR, \"\" + arg0);\n }", "public void log(String message) {\n\t}", "private void sendNotificationError(Exception e) {\n logger.error(e.getMessage());\n \n }", "void log(Message message);", "@FormatMethod\n private void reportError(\n SourcePosition position, @FormatString String message, Object... arguments) {\n errorReporter.reportError(position, message, arguments);\n }", "void error(String messageKey, Object... args);", "public static void error(MessageCodes msg, Throwable arg0, String... arguments) {\n MDC.put(classNameProp, \"\");\n setErrorCode(msg);\n String arguments2 = getNormalizedStackTrace(arg0, arguments);\n errorLogger.error(msg, arguments2);\n }", "public static void logErr(final String msg, final Object... fmtArgs)\r\n\t{\r\n\t\tSystem.err.printf(msg + \"\\n\", fmtArgs);\r\n\t}", "public void error(Throwable error) {\n\n }" ]
[ "0.78905684", "0.7639495", "0.76330507", "0.75811774", "0.75328207", "0.7524984", "0.7520672", "0.7459643", "0.73893225", "0.7343585", "0.7299026", "0.72407347", "0.72383183", "0.71921194", "0.71620923", "0.7133454", "0.7107638", "0.70884156", "0.7066316", "0.7055182", "0.70504934", "0.70440257", "0.7040648", "0.7013545", "0.6995375", "0.6910876", "0.6887443", "0.6862836", "0.68482363", "0.6782961", "0.6777398", "0.6686938", "0.6651942", "0.66291916", "0.6624231", "0.66235316", "0.66222906", "0.6620576", "0.66190046", "0.6547148", "0.65195024", "0.6494664", "0.6471043", "0.6467025", "0.64240843", "0.6416589", "0.64160615", "0.63979566", "0.6396471", "0.63934183", "0.6379572", "0.63779145", "0.63568467", "0.63551444", "0.63520974", "0.6349627", "0.6346445", "0.6345764", "0.63125086", "0.6307705", "0.63028127", "0.6294772", "0.62807584", "0.6277298", "0.62714773", "0.6266811", "0.6262439", "0.6262439", "0.6255572", "0.6252779", "0.623774", "0.6217124", "0.61951554", "0.61920524", "0.61919796", "0.6189984", "0.6189595", "0.6172868", "0.6167134", "0.6165058", "0.6160041", "0.6159166", "0.61518115", "0.6149468", "0.6136362", "0.6127244", "0.6119045", "0.61111116", "0.6108476", "0.6107547", "0.61029303", "0.61019695", "0.60984695", "0.60898685", "0.6077223", "0.6070652", "0.60615975", "0.6060463", "0.6044998", "0.6038245" ]
0.701221
24
Log a warning message.
public void warn(String message);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void logWarning(String message)\n {\n log(IStatus.WARNING, message);\n }", "public void warning(String msg) {\n log(WARNING, msg);\n }", "public void warning(String msg) {\n log(Level.WARNING, msg, null);\n }", "abstract void logWarn(String warning);", "public final static void warning(String message)\n\t{\n\t\tif (logger != null)\n\t\t\tlogger.warning(message);\n\t}", "private void logWarning(String msgText) {\n System.out.println (\"[WARNING] \" + msgText);\n \n }", "public static void warningln(Object message) {\n\t\tSystem.out.println(\"WARNING: \" + message);\n\t}", "protected final void warning(String warning) {\r\n //System.err.format(\"[\" + name + \"] @%4.9f: WARNING: %s\", Harness.getTime().getFracSeconds(), warning);\r\n //System.err.println();\r\n Harness.log(name, \"WARNING: \" + warning);\r\n warningCount++;\r\n }", "public synchronized void warning(String message) {\n if (shouldWarn()) {\n putMessage(message);\n }\n }", "public void warn(String message) {\n\tSystem.err.println(\"Warning: \" + message);\n }", "public static void warning(Object message) {\n\t\tSystem.out.print(\"WARNING: \" + message);\n\t}", "void warn(String tag, String msg);", "public static void warning(String msg) {\n\t\tlog.warning(\"[iCart] \" + msg);\n\t}", "public void warn(Object message)\n/* */ {\n/* 172 */ if (message != null) {\n/* 173 */ getLogger().warn(String.valueOf(message));\n/* */ }\n/* */ }", "public void warning(String message) {\r\n\t\treport(WARNING, message, null);\r\n\t}", "abstract void errorLogWarn(String warning);", "@Override\n\tpublic void warn(Object message) {\n\n\t}", "@Override\n\tpublic void warn(Message msg) {\n\n\t}", "public final void mWARNING() throws RecognitionException {\r\n try {\r\n int _type = WARNING;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // Satmc.g:24:9: ( '% WARNING:' )\r\n // Satmc.g:24:11: '% WARNING:'\r\n {\r\n match(\"% WARNING:\"); \r\n\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n }", "public synchronized void warning(String category, String message) {\n if (shouldWarn(category)) {\n putMessage(message);\n }\n }", "abstract void warn(String warning);", "public void addWarning(String warning);", "void warn (String msg) throws RootException;", "protected void warn(String msg) {\n log.log(Level.WARNING, msg);\n }", "public void warn(String msg) {\n LOGGER_BASE.warn(msg);\n }", "public static void warn(String message) {\n LOGGER.warn(message);\n }", "@Override\n\tpublic void warn(Marker marker, Object message) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, String message) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, Message msg) {\n\n\t}", "public synchronized void warning(int warningNumber, String message) {\n if (shouldWarn()) {\n putMessage(warningNumber, message);\n }\n }", "void warn(String messageKey, Object... args);", "public void warn(Object message, Throwable t)\n/* */ {\n/* 186 */ if (message != null) {\n/* 187 */ getLogger().warn(String.valueOf(message), t);\n/* */ }\n/* */ }", "static void logWarning(Throwable t) {\n }", "public void warning(String msg, Throwable t) {\n log(Level.WARNING, msg, t);\n }", "public void warn(final String message, final Object... args) {\n log.warning(supplier(message, args));\n }", "public static void warn( String message ) {\n\tSystem.err.println( \"Logic: \" + message );\n\terrorCount = errorCount + 1;\n }", "@Override\n\tpublic void warn(String message, Object... params) {\n\n\t}", "@SuppressWarnings(\"unused\")\n public static void warn(String message) {\n FacesContext.getCurrentInstance()\n .addMessage(null,\n new FacesMessage(FacesMessage.SEVERITY_WARN,\n FacesUtils.getlocalizedString(ResourceBundles.GENERAL, \"warning\") + \"!\",\n message));\n }", "public static void warn(final String msg) {\n logger.warn(msg);\n }", "public static void warning(String message, Object...args) {\n\n\t\tlog(LogLevel.WARNING, null, message, args);\n\t}", "@Override\n\tpublic void warn(String message, Object p0, Object p1, Object p2) {\n\n\t}", "public void writeWarning(String message){\n final String output = getTimeString() + \" WARNING: \" + message+ ENTER;\n switch (PreferencesHelper.getConsolePopupLevel()) {\n case ALL:\n popConsoleView();\n break;\n default:\n break;\n }\n UIBundlingThread.getInstance().addRunnable(new Runnable() {\n\n public void run() {\n if(warningStream == null){\n warningStream = console.newOutputStream();\n warningStream.setColor(CustomMediaFactory.getInstance().getColor(\n CustomMediaFactory.COLOR_ORANGE));\n }\n writeToConsole(warningStream, output);\n }\n });\n\n }", "public void warn(String message) {\n if (mLoggable) {\n try {\n Log.w(mClassName, message);\n } catch (Exception e) {\n Log.e(TAG, e.getMessage());\n }\n }\n }", "@Override\n\tpublic void warn(Marker marker, CharSequence message) {\n\n\t}", "public synchronized void warning(int warningNumber,\n\t\t\t\t String category, String message) {\n if (shouldWarn(category)) {\n putMessage(warningNumber, message);\n }\n }", "public final void setWarn() {\r\n setLevel(org.apache.log4j.Level.WARN);\r\n }", "public void warn(String message, Throwable throwable);", "@Override\n public void onWarning(String debugMessage) {\n }", "@Override\n\tpublic void warn(Marker marker, String message, Object p0) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, String message, Object... params) {\n\n\t}", "@Override\n public void warn(String message) {\n if (Level.WARN.getPriority() <= level.getPriority()) {\n print(\"WARNING: \" + message);\n }\n }", "@Override\n\tpublic void warn(String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2) {\n\n\t}", "public void warn(String msg) {\n\t\tif (this.logLevel <= BackupLogger.WARN) {\n\t\t\twrite(\"WARN \" + msg);\n\t\t\tSystem.out.println(\"WARN \" + msg);\n\t\t}\n\t}", "public static void warn(Object message) {\n\t\tif (logger != null) {\n\t\t\tlogger.log(Level.WARN, message);\n\t\t}\n\t}", "@Override\n\tpublic void warn(CharSequence message) {\n\n\t}", "public static void warning(String... messages) {\n\t\tString finalmessage = \"\";\n\t\tfor (String message : messages) {\n\t\t\tfinalmessage += message;\n\t\t}\n\t\tSystem.out.println(\"[WARNING] \" + finalmessage);\n\t}", "@Override\n\tpublic void warn(String message, Object p0, Object p1) {\n\n\t}", "public static void printWarning(final String pTag, final String pMessage)\n\t{\n\t\tif(LogConstant.DEBUG)\n\t\t{\n\t\t\tLog.w(pTag, pMessage);\n\t\t}\n\t}", "@Override\n\tpublic void warn(Message msg, Throwable t) {\n\n\t}", "@Override\n\tpublic void warn(Object message, Throwable t) {\n\n\t}", "public void sendWarning(String message) {\n sendMessage(Prefix.WARNING, message);\n }", "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1) {\n\n\t}", "public void logWarn(final String message) {\n\n\t\t\tMSULogger.internalLogger.log(\n\t\t\t\tMSULogger.WRAPPER_FQN,\n\t\t\t\tLevel.WARN,\n\t\t\t\tmessage,\n\t\t\t\tnull);\n\t\t}", "abstract void consoleWarn(String warning);", "public static void warn(String arg0) {\n MDC.put(classNameProp, \"\");\n debugLogger.warn(MessageCodes.GENERAL_WARNING, arg0);\n }", "@Override\n\tpublic void warn(Marker marker, MessageSupplier msgSupplier) {\n\n\t}", "public static void logWarnMessages(ADFLogger logObject, String logMsg) {\r\n if (logObject.isWarning()) {\r\n logObject.warning(logMsg);\r\n }\r\n }", "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "public void warningPermit();", "@Override\n\tpublic void displayWarning(LinphoneCore lc, String message) {\n\t\t\n\t}", "public static void printWarning(String message) {\n\t\t// if not in production, then print log on console\n\t\tif (!isProductionMode) Log.w(\"AppDebug : \", \" Warning Debug:\" + message);\n\n\t}", "public void Warning(String Tag, String Message) {\n Log.w(Tag, Message);\n saveLog(Tag,Message);\n }", "public void warn( String methodName, String message )\n {\n getLogger().warn( methodName + \"():\" + message );\n }", "@Override\n\tpublic void warn(Marker marker, Object message, Throwable t) {\n\n\t}", "public void onStallWarning(StallWarning arg0) { }", "public static void logWarning(final String aMessage,\n\t\t\tfinal Throwable aThrowable) {\n\n\t\tsPlugin.getLog().log(\n\t\t\t\tnew Status(IStatus.WARNING, PLUGIN_ID, aMessage, aThrowable));\n\t}", "@Override\n\tpublic void warn(String message, Object p0) {\n\n\t}", "@Override\n\tpublic void warn(MessageSupplier msgSupplier) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, Message msg, Throwable t) {\n\n\t}", "@Override\n\tpublic void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, String message, Throwable t) {\n\n\t}", "@Override\n\tpublic void warn(CharSequence message, Throwable t) {\n\n\t}", "public static LogType WARNING()\n {\n if (g_oWarning == null)\n {\n try\n {\n g_oWarning = new LogType(\"WARNING\", 20);\n }\n catch (Goliath.Exceptions.InvalidParameterException ex)\n {}\n }\n return g_oWarning;\n }", "@Override\n\t\t\t\tpublic void displayWarning(LinphoneCore lc, String message) {\n\t\t\t\t\t\n\t\t\t\t}", "public void printWarning(String arg0) {\n\n }", "protected void addWarnDiagnostic(String message) {\n addDiagnostic(Diagnostic.warn(message));\n }", "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, CharSequence message, Throwable t) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "void notifyWarn(MessageSnapshot snapshot);", "public void appendWarning(String err) {\n warnMessages.append(err);\n }", "@Override\n\tpublic void warn(Marker marker, Supplier<?> msgSupplier) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4) {\n\n\t}", "abstract void warn(String warning, Exception[] exceptions);", "@Override\n\tpublic void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6) {\n\n\t}", "public static void warning(String stepName, String description) \n\t{\n\t\ttry{\n\t\t\ttest.log(LogStatus.WARNING, stepName, description);\n\t\t}catch(Exception e){fnPrintException(e);}\t\n\t}", "public static void warn(Object arg0) {\n MDC.put(classNameProp, \"\");\n debugLogger.warn(MessageCodes.GENERAL_WARNING, \"\" + arg0);\n }" ]
[ "0.81072766", "0.8049061", "0.7985493", "0.789403", "0.78059804", "0.7790736", "0.7777809", "0.77707595", "0.7666365", "0.76551396", "0.752203", "0.7498524", "0.74940217", "0.7476736", "0.73636776", "0.7359198", "0.7328419", "0.73241854", "0.73032326", "0.72547597", "0.7253339", "0.72115797", "0.7208157", "0.7195045", "0.7194542", "0.7185506", "0.7173778", "0.7156072", "0.71438456", "0.71412873", "0.70560837", "0.7051842", "0.70353407", "0.7022101", "0.7007623", "0.6995804", "0.6993325", "0.69908303", "0.6965283", "0.6961307", "0.6937525", "0.6932223", "0.69286513", "0.69183815", "0.689343", "0.68930924", "0.6892027", "0.68863845", "0.68769485", "0.6874701", "0.6867999", "0.6867236", "0.6857642", "0.68464875", "0.68269575", "0.68135667", "0.681132", "0.6799979", "0.6795839", "0.67946047", "0.67945564", "0.67889476", "0.6788894", "0.678391", "0.6778855", "0.67651355", "0.67454743", "0.6729162", "0.67098", "0.6699838", "0.6696931", "0.6678399", "0.6677982", "0.66670597", "0.66624385", "0.6662316", "0.6661911", "0.6654596", "0.6645299", "0.66440797", "0.6600477", "0.6599389", "0.6588478", "0.65843827", "0.65610296", "0.65565324", "0.6554447", "0.65498036", "0.6544705", "0.65379596", "0.6535456", "0.6534006", "0.65219295", "0.6520535", "0.6520521", "0.65086573", "0.65067524", "0.65013826", "0.6498058" ]
0.80708724
2
Log a warning message.
public void warn(String message, Throwable throwable);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void logWarning(String message)\n {\n log(IStatus.WARNING, message);\n }", "public void warn(String message);", "public void warn(String message);", "public void warning(String msg) {\n log(WARNING, msg);\n }", "public void warning(String msg) {\n log(Level.WARNING, msg, null);\n }", "abstract void logWarn(String warning);", "public final static void warning(String message)\n\t{\n\t\tif (logger != null)\n\t\t\tlogger.warning(message);\n\t}", "private void logWarning(String msgText) {\n System.out.println (\"[WARNING] \" + msgText);\n \n }", "public static void warningln(Object message) {\n\t\tSystem.out.println(\"WARNING: \" + message);\n\t}", "protected final void warning(String warning) {\r\n //System.err.format(\"[\" + name + \"] @%4.9f: WARNING: %s\", Harness.getTime().getFracSeconds(), warning);\r\n //System.err.println();\r\n Harness.log(name, \"WARNING: \" + warning);\r\n warningCount++;\r\n }", "public synchronized void warning(String message) {\n if (shouldWarn()) {\n putMessage(message);\n }\n }", "public void warn(String message) {\n\tSystem.err.println(\"Warning: \" + message);\n }", "public static void warning(Object message) {\n\t\tSystem.out.print(\"WARNING: \" + message);\n\t}", "void warn(String tag, String msg);", "public static void warning(String msg) {\n\t\tlog.warning(\"[iCart] \" + msg);\n\t}", "public void warn(Object message)\n/* */ {\n/* 172 */ if (message != null) {\n/* 173 */ getLogger().warn(String.valueOf(message));\n/* */ }\n/* */ }", "public void warning(String message) {\r\n\t\treport(WARNING, message, null);\r\n\t}", "abstract void errorLogWarn(String warning);", "@Override\n\tpublic void warn(Object message) {\n\n\t}", "@Override\n\tpublic void warn(Message msg) {\n\n\t}", "public final void mWARNING() throws RecognitionException {\r\n try {\r\n int _type = WARNING;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // Satmc.g:24:9: ( '% WARNING:' )\r\n // Satmc.g:24:11: '% WARNING:'\r\n {\r\n match(\"% WARNING:\"); \r\n\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n }", "public synchronized void warning(String category, String message) {\n if (shouldWarn(category)) {\n putMessage(message);\n }\n }", "abstract void warn(String warning);", "public void addWarning(String warning);", "void warn (String msg) throws RootException;", "protected void warn(String msg) {\n log.log(Level.WARNING, msg);\n }", "public void warn(String msg) {\n LOGGER_BASE.warn(msg);\n }", "public static void warn(String message) {\n LOGGER.warn(message);\n }", "@Override\n\tpublic void warn(Marker marker, Object message) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, String message) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, Message msg) {\n\n\t}", "public synchronized void warning(int warningNumber, String message) {\n if (shouldWarn()) {\n putMessage(warningNumber, message);\n }\n }", "void warn(String messageKey, Object... args);", "public void warn(Object message, Throwable t)\n/* */ {\n/* 186 */ if (message != null) {\n/* 187 */ getLogger().warn(String.valueOf(message), t);\n/* */ }\n/* */ }", "static void logWarning(Throwable t) {\n }", "public void warning(String msg, Throwable t) {\n log(Level.WARNING, msg, t);\n }", "public void warn(final String message, final Object... args) {\n log.warning(supplier(message, args));\n }", "public static void warn( String message ) {\n\tSystem.err.println( \"Logic: \" + message );\n\terrorCount = errorCount + 1;\n }", "@Override\n\tpublic void warn(String message, Object... params) {\n\n\t}", "@SuppressWarnings(\"unused\")\n public static void warn(String message) {\n FacesContext.getCurrentInstance()\n .addMessage(null,\n new FacesMessage(FacesMessage.SEVERITY_WARN,\n FacesUtils.getlocalizedString(ResourceBundles.GENERAL, \"warning\") + \"!\",\n message));\n }", "public static void warn(final String msg) {\n logger.warn(msg);\n }", "public static void warning(String message, Object...args) {\n\n\t\tlog(LogLevel.WARNING, null, message, args);\n\t}", "@Override\n\tpublic void warn(String message, Object p0, Object p1, Object p2) {\n\n\t}", "public void writeWarning(String message){\n final String output = getTimeString() + \" WARNING: \" + message+ ENTER;\n switch (PreferencesHelper.getConsolePopupLevel()) {\n case ALL:\n popConsoleView();\n break;\n default:\n break;\n }\n UIBundlingThread.getInstance().addRunnable(new Runnable() {\n\n public void run() {\n if(warningStream == null){\n warningStream = console.newOutputStream();\n warningStream.setColor(CustomMediaFactory.getInstance().getColor(\n CustomMediaFactory.COLOR_ORANGE));\n }\n writeToConsole(warningStream, output);\n }\n });\n\n }", "public void warn(String message) {\n if (mLoggable) {\n try {\n Log.w(mClassName, message);\n } catch (Exception e) {\n Log.e(TAG, e.getMessage());\n }\n }\n }", "@Override\n\tpublic void warn(Marker marker, CharSequence message) {\n\n\t}", "public final void setWarn() {\r\n setLevel(org.apache.log4j.Level.WARN);\r\n }", "public synchronized void warning(int warningNumber,\n\t\t\t\t String category, String message) {\n if (shouldWarn(category)) {\n putMessage(warningNumber, message);\n }\n }", "@Override\n public void onWarning(String debugMessage) {\n }", "@Override\n\tpublic void warn(Marker marker, String message, Object p0) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, String message, Object... params) {\n\n\t}", "@Override\n public void warn(String message) {\n if (Level.WARN.getPriority() <= level.getPriority()) {\n print(\"WARNING: \" + message);\n }\n }", "@Override\n\tpublic void warn(String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2) {\n\n\t}", "public void warn(String msg) {\n\t\tif (this.logLevel <= BackupLogger.WARN) {\n\t\t\twrite(\"WARN \" + msg);\n\t\t\tSystem.out.println(\"WARN \" + msg);\n\t\t}\n\t}", "public static void warn(Object message) {\n\t\tif (logger != null) {\n\t\t\tlogger.log(Level.WARN, message);\n\t\t}\n\t}", "@Override\n\tpublic void warn(CharSequence message) {\n\n\t}", "public static void warning(String... messages) {\n\t\tString finalmessage = \"\";\n\t\tfor (String message : messages) {\n\t\t\tfinalmessage += message;\n\t\t}\n\t\tSystem.out.println(\"[WARNING] \" + finalmessage);\n\t}", "@Override\n\tpublic void warn(String message, Object p0, Object p1) {\n\n\t}", "public static void printWarning(final String pTag, final String pMessage)\n\t{\n\t\tif(LogConstant.DEBUG)\n\t\t{\n\t\t\tLog.w(pTag, pMessage);\n\t\t}\n\t}", "@Override\n\tpublic void warn(Message msg, Throwable t) {\n\n\t}", "@Override\n\tpublic void warn(Object message, Throwable t) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1) {\n\n\t}", "public void sendWarning(String message) {\n sendMessage(Prefix.WARNING, message);\n }", "public void logWarn(final String message) {\n\n\t\t\tMSULogger.internalLogger.log(\n\t\t\t\tMSULogger.WRAPPER_FQN,\n\t\t\t\tLevel.WARN,\n\t\t\t\tmessage,\n\t\t\t\tnull);\n\t\t}", "abstract void consoleWarn(String warning);", "public static void warn(String arg0) {\n MDC.put(classNameProp, \"\");\n debugLogger.warn(MessageCodes.GENERAL_WARNING, arg0);\n }", "@Override\n\tpublic void warn(Marker marker, MessageSupplier msgSupplier) {\n\n\t}", "public static void logWarnMessages(ADFLogger logObject, String logMsg) {\r\n if (logObject.isWarning()) {\r\n logObject.warning(logMsg);\r\n }\r\n }", "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "public void warningPermit();", "@Override\n\tpublic void displayWarning(LinphoneCore lc, String message) {\n\t\t\n\t}", "public void Warning(String Tag, String Message) {\n Log.w(Tag, Message);\n saveLog(Tag,Message);\n }", "public static void printWarning(String message) {\n\t\t// if not in production, then print log on console\n\t\tif (!isProductionMode) Log.w(\"AppDebug : \", \" Warning Debug:\" + message);\n\n\t}", "public void warn( String methodName, String message )\n {\n getLogger().warn( methodName + \"():\" + message );\n }", "@Override\n\tpublic void warn(Marker marker, Object message, Throwable t) {\n\n\t}", "public static void logWarning(final String aMessage,\n\t\t\tfinal Throwable aThrowable) {\n\n\t\tsPlugin.getLog().log(\n\t\t\t\tnew Status(IStatus.WARNING, PLUGIN_ID, aMessage, aThrowable));\n\t}", "public void onStallWarning(StallWarning arg0) { }", "@Override\n\tpublic void warn(String message, Object p0) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, Message msg, Throwable t) {\n\n\t}", "@Override\n\tpublic void warn(MessageSupplier msgSupplier) {\n\n\t}", "@Override\n\tpublic void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, String message, Throwable t) {\n\n\t}", "@Override\n\tpublic void warn(CharSequence message, Throwable t) {\n\n\t}", "public static LogType WARNING()\n {\n if (g_oWarning == null)\n {\n try\n {\n g_oWarning = new LogType(\"WARNING\", 20);\n }\n catch (Goliath.Exceptions.InvalidParameterException ex)\n {}\n }\n return g_oWarning;\n }", "@Override\n\t\t\t\tpublic void displayWarning(LinphoneCore lc, String message) {\n\t\t\t\t\t\n\t\t\t\t}", "public void printWarning(String arg0) {\n\n }", "protected void addWarnDiagnostic(String message) {\n addDiagnostic(Diagnostic.warn(message));\n }", "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, CharSequence message, Throwable t) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "public void appendWarning(String err) {\n warnMessages.append(err);\n }", "void notifyWarn(MessageSnapshot snapshot);", "@Override\n\tpublic void warn(Marker marker, Supplier<?> msgSupplier) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4) {\n\n\t}", "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6) {\n\n\t}", "abstract void warn(String warning, Exception[] exceptions);", "@Override\n\tpublic void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6) {\n\n\t}", "public static void warning(String stepName, String description) \n\t{\n\t\ttry{\n\t\t\ttest.log(LogStatus.WARNING, stepName, description);\n\t\t}catch(Exception e){fnPrintException(e);}\t\n\t}", "public static void warn(Object arg0) {\n MDC.put(classNameProp, \"\");\n debugLogger.warn(MessageCodes.GENERAL_WARNING, \"\" + arg0);\n }" ]
[ "0.81059027", "0.8069007", "0.8069007", "0.8047658", "0.79839283", "0.7893339", "0.7804682", "0.7790578", "0.77773434", "0.7769322", "0.7663716", "0.76537234", "0.75200456", "0.7496759", "0.74934614", "0.74753267", "0.7361271", "0.73592836", "0.7326528", "0.73227125", "0.7300666", "0.7252691", "0.7250955", "0.72093445", "0.7207376", "0.71940684", "0.71939456", "0.7184498", "0.7172761", "0.7155068", "0.7142883", "0.7138581", "0.7053852", "0.70516217", "0.7035413", "0.70213705", "0.70053494", "0.69949985", "0.6991686", "0.6988732", "0.6964685", "0.69588846", "0.6935381", "0.6930182", "0.6928422", "0.69174105", "0.6892513", "0.68913764", "0.6884138", "0.6875601", "0.6873787", "0.68668646", "0.6865763", "0.685631", "0.6846145", "0.6825693", "0.68117315", "0.68100005", "0.6798117", "0.67954296", "0.67939836", "0.67935467", "0.6787745", "0.6786966", "0.6781966", "0.677668", "0.67638856", "0.6743923", "0.6729129", "0.670893", "0.6697305", "0.6695897", "0.6678196", "0.6677647", "0.66668355", "0.6662003", "0.66607034", "0.66603005", "0.66525453", "0.66437227", "0.66431975", "0.6599041", "0.65990037", "0.6587445", "0.65826666", "0.65602165", "0.65544766", "0.65514314", "0.6548546", "0.6544287", "0.6536911", "0.65339315", "0.653308", "0.6520365", "0.6519716", "0.6519393", "0.6506309", "0.65048516", "0.6500236", "0.6496947" ]
0.6891143
48
Log an info message.
public void info(String message);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void logInfo(String message)\n {\n log(IStatus.INFO, message);\n }", "public static void info(String message) {\n\n\t\tlog(message);\n\t}", "void info(String message);", "public void info(String msg) {\n log(INFO, msg);\n }", "public void info(String msg) {\n log(Level.INFO, msg, null);\n }", "public void info(Object message)\n/* */ {\n/* 145 */ if (message != null) {\n/* 146 */ getLogger().info(String.valueOf(message));\n/* */ }\n/* */ }", "public void info(String message) {\r\n\t\treport(INFO, message, null);\r\n\t}", "public static void info(String msg) {\n\t\tlog.info(\"[iCart] \" + msg);\n\t}", "public static void info(String message) {\n\t\tlogger.info(message);\n\t}", "@Override\n\tpublic void info(Object message) {\n\n\t}", "@Override\n\tpublic void info(String message, Object... params) {\n\n\t}", "protected void info(String msg) {\n log.log(Level.INFO, msg);\n }", "public void info(String msg) {\n LOGGER_BASE.info(msg);\n }", "public static void info(String message) {\n\t\tif (logger != null) {\n\t\t\tlogger.log(Level.INFO, message);\n\t\t}\n\t}", "public void info(String message) {\n if (mLoggable) {\n try {\n Log.i(mClassName, message);\n } catch (Exception e) {\n Log.e(TAG, e.getMessage());\n }\n }\n }", "public static void info(String message) {\n LOGGER.info(message);\n }", "public void logInfo( String msg ) {\r\n\t\tlogger.log( Level.INFO, logPrefix + \" \" + msg );\r\n\t}", "public static void info(String msg) {\n logger.info(msg);\n }", "@Override\n\tpublic void info(String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "@Override\n\tpublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6) {\n\n\t}", "public static void info(String msg) {\n\t\tlogger.log(Level.INFO, msg);\n\t}", "void info(String tag, String msg);", "public final static void info(String message)\n\t{\n\t\tif (logger != null)\n\t\t\tlogger.info(message);\n\t}", "@Override\n public void info(String message) {\n if (Level.INFO.getPriority() <= level.getPriority()) {\n print(\"INFO: \" + message);\n }\n }", "@Override\n\tpublic void info(Message msg) {\n\n\t}", "public static void info(Object message) {\n\t\tSystem.out.print(message);\n\t}", "private void logInfo(String msgText) {\n System.out.println (\"[INFO] \" + msgText);\n \n }", "@Override\n\tpublic void info(String message, Object p0, Object p1, Object p2) {\n\n\t}", "@Override\n\tpublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4) {\n\n\t}", "@Override\n\tpublic void info(String message, Object p0, Object p1) {\n\n\t}", "public static void info(String msg){\n\t\tconsole(msg);\n\t\tlogger.info(msg);\n\t}", "@Override\n public void info(final Object message) {\n this.logger.info(this.prepareDefaultMessage(message));\n }", "@Override\n\tpublic\n\tvoid info(final Object message) {\n\t\tif (message != null && message instanceof Throwable) {\n\t\t\tlogger.info(\"\", (Throwable) message);\n\t\t} else {\n\t\t\tlogger.info(message);\n\t\t}\n\t}", "public void info(final String message, final Object... args) {\n log.info(supplier(message, args));\n }", "@Override\n\tpublic void info(Marker marker, Message msg) {\n\n\t}", "@Override\n\tpublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "@Override\n\tpublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7) {\n\n\t}", "protected void Info(String message) {\n logger.logMessage(message);\n }", "@Override\n\tpublic void info(Marker marker, String message, Object... params) {\n\n\t}", "void info(String messageKey, Object... args);", "protected abstract void info(String msg);", "@Override\n\tpublic void info(Marker marker, Object message) {\n\n\t}", "@Override\n\tpublic void info(Marker marker, String message) {\n\n\t}", "@Override\n\tpublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5) {\n\n\t}", "public void info(Object message, Throwable t)\n/* */ {\n/* 159 */ if (message != null) {\n/* 160 */ getLogger().info(String.valueOf(message), t);\n/* */ }\n/* */ }", "@Override\n\tpublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7, Object p8) {\n\n\t}", "public static void info(Object arg0) {\n MDC.put(classNameProp, \"\");\n debugLogger.info(MessageCodes.GENERAL_INFO, String.valueOf(arg0));\n }", "private void infoLog(String msg) {\n Log.i(\"ActivityTransitions\", TAG + \" --> \" + msg);\n }", "public void info(String msg) {\n\t\tif (this.logLevel <= BackupLogger.INFO) {\n\t\t\twrite(\"INFO \" + msg);\n\t\t\tSystem.out.println(\"INFO \" + msg);\n\t\t}\n\t}", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6) {\n\n\t}", "@Override\n\tpublic void info(String message, Object p0) {\n\n\t}", "public static void logInfo(String info, int level) {\n\t\tif (!m_bDebug && level < 1) return;\n\t\tm_Logger.info(\"[OrbitalStrike] \" + info);\n\t}", "public void logInfo(boolean logInfo)\r\n {\r\n if (logInfo != infoLevelHandler.getBoolean())\r\n {\r\n infoLevelHandler.setBoolean(logInfo);\r\n fireConfigUpdated();\r\n }\r\n }", "public void logInfo(final String message) {\n\n\t\t\tMSULogger.internalLogger.log(\n\t\t\t\tMSULogger.WRAPPER_FQN,\n\t\t\t\tLevel.INFO,\n\t\t\t\tmessage,\n\t\t\t\tnull);\n\t\t}", "public static void logInfo(Class clz,String message){\n if(logging){\n String tag = clz.getName();\n android.util.Log.i(tag, message);\n }\n }", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1, Object p2) {\n\n\t}", "default String info(String... args) {\n String message = create(args);\n getLogger().info(message);\n return message;\n }", "public void info( String methodName, String message )\n {\n getLogger().info( methodName + \"():\" + message );\n }", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4) {\n\n\t}", "public void logInfo(final String format, final Object... args) {\n infoMessages.add(String.format(format, args));\n }", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7) {\n\n\t}", "@SuppressWarnings(\"unused\")\n public static void info(String message) {\n FacesContext.getCurrentInstance()\n .addMessage(null,\n new FacesMessage(FacesMessage.SEVERITY_INFO,\n FacesUtils.getlocalizedString(ResourceBundles.GENERAL, \"info\"),\n message));\n }", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1) {\n\n\t}", "public void infoMsg(String msg) {\n mensagens.add(new MensagemSistema(ConstantsControl.MSG_INFO, msg));\n }", "@SuppressWarnings(\"unused\")\n protected void info(String msg) {\n if (this.getContainer() != null && this.getContainer().getLogger().isInfoEnabled()) {\n this.getContainer().getLogger().info(msg);\n }\n }", "public void info(String message, BufferedImage image) {\r\n\t\treport(INFO, message, image);\r\n\t}", "@Override\n\tpublic void info(Marker marker, MessageSupplier msgSupplier) {\n\n\t}", "@Override\n\tpublic void info(Marker marker, String message, Object p0) {\n\n\t}", "public static void logInfo(Context context,String message){\n if(logging){\n String tag = context.getClass().getName();\n android.util.Log.i(tag, message);\n }\n }", "public static void info(String message, Object...args) {\n\n\t\tlog(LogLevel.INFO, null, message, args);\n\t}", "public void writeInfo(String message){\n final String output = getTimeString() + \" INFO: \" + message+ ENTER;\n switch (PreferencesHelper.getConsolePopupLevel()) {\n case ALL:\n case ONLY_INFO:\n popConsoleView();\n break;\n default:\n break;\n }\n UIBundlingThread.getInstance().addRunnable(new Runnable(){\n public void run() {\n if(infoStream == null){\n infoStream = console.newOutputStream();\n infoStream.setColor(CustomMediaFactory.getInstance().getColor(\n CustomMediaFactory.COLOR_BLACK));\n }\n writeToConsole(infoStream, output);\n }\n });\n\n }", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5) {\n\n\t}", "public final void mT62() throws RecognitionException {\n try {\n int _type = T62;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:60:5: ( 'info' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:60:7: 'info'\n {\n match(\"info\"); \n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8) {\n\n\t}", "public void setInfo(String info) {\n this.info = info;\n }", "public void info(String msg, Throwable t) {\n log(Level.INFO, msg, t);\n }", "@Override\n\tpublic void info(Marker marker, Supplier<?> msgSupplier) {\n\n\t}", "@Override\n\tpublic void info(CharSequence message) {\n\n\t}", "@Override\n\tpublic void info(Marker marker, CharSequence message) {\n\n\t}", "public void log(String message) {\n log(message, MSG_INFO);\n }", "public static void info(String message, Object... arguments) {\n if (!debugLogger.isInfoEnabled()) {\n return;\n }\n if (arguments.length == 1 && !OnapLoggingUtils.isThrowable(arguments[0])) {\n MDC.put(classNameProp, message);\n debugLogger.info(MessageCodes.GENERAL_INFO,\n arguments[0] == null ? \"\" : arguments[0].toString());\n return;\n }\n if (arguments.length == 1 && OnapLoggingUtils.isThrowable(arguments[0])) {\n String arguments2 = getNormalizedStackTrace((Throwable) arguments[0], \"\");\n debugLogger.info(MessageCodes.GENERAL_INFO, message + arguments2);\n return;\n }\n\n MDC.put(classNameProp, \"\");\n debugLogger.info(message, arguments);\n }", "private void showInfo(String message)\r\n {\r\n infoLabel.setText(message);\r\n }", "private static void logInfo(final Logger logger, final String message) {\n System.out.println(message);\n logger.info(message);\n }", "@Override\n\tpublic void info(String message, Throwable t) {\n\n\t}", "public void Information(String Tag, String Message) {\n Log.i(Tag, Message);\n saveLog(Tag,Message);\n }", "private static void addInfo(String info){\n\tif (started) {\n\t try{\n\t\tif (verbose) {\n\t\t System.out.println(info);\n\t\t System.out.println(newLine);\n\t\t}\n\t\tfStream.writeBytes(info);\n\t\tfStream.writeBytes(newLine);\n\t }catch(IOException e){\n\t }\n\t}\n }", "private void traceInfo(String info) {\n if (trace) {\n worker.trace(\"-- \" + info + \"\\n\", \"out\", device_id);\n }\n }", "public static void writeMessage(String message) {\n writeMessage(Level.INFO, message);\n }", "void info (String msg) throws RootException;", "public final void info(Component reporter, String message)\n\t{\n\t\tadd(new FeedbackMessage(reporter, message, FeedbackMessage.INFO));\n\t}", "public static void info(MessageCodes msg, String className, String... arguments) {\n MDC.put(classNameProp, className);\n debugLogger.info(msg, arguments);\n }", "public boolean logInfo()\r\n {\r\n return infoLevelHandler.getBoolean();\r\n }", "public void setInfo(String i)\n {\n info = i;\n }", "public void info()\n {\n System.out.println(toString());\n }", "public void setInfoId(java.lang.String infoId) {\n this.infoId = infoId;\n }", "public static void i(String message, Object... args) {\n log(INFO, null, null, message, args);\n }", "@Override\n\tpublic void info(Object message, Throwable t) {\n\n\t}" ]
[ "0.79360044", "0.78609395", "0.77637", "0.77475", "0.77326", "0.76444757", "0.7619475", "0.75693303", "0.75193083", "0.75120866", "0.7497078", "0.7483485", "0.7461141", "0.74582756", "0.74524796", "0.7431944", "0.74077666", "0.7388424", "0.73623824", "0.7358267", "0.73510146", "0.73388064", "0.7330689", "0.7316535", "0.7312758", "0.73119503", "0.7297331", "0.72934216", "0.7261196", "0.7223214", "0.7218509", "0.7216307", "0.71982956", "0.71857464", "0.7166983", "0.71404624", "0.7123575", "0.7104387", "0.71010584", "0.70929784", "0.7075711", "0.70726264", "0.7069172", "0.704745", "0.70427966", "0.7040156", "0.7039604", "0.70235646", "0.70092505", "0.7008211", "0.6995493", "0.6992253", "0.69912505", "0.697611", "0.69683003", "0.6962023", "0.6944396", "0.69440204", "0.69402236", "0.6938595", "0.69378036", "0.69111943", "0.6886426", "0.68766123", "0.6870213", "0.68588144", "0.68452334", "0.6833303", "0.6829261", "0.6829089", "0.67927325", "0.6786589", "0.6778674", "0.67764735", "0.677489", "0.67615426", "0.6734791", "0.6726635", "0.67157155", "0.6714187", "0.67075014", "0.66758907", "0.6643044", "0.6620147", "0.66002965", "0.65918237", "0.6540799", "0.6526576", "0.6507483", "0.6506333", "0.65019387", "0.6501152", "0.64917594", "0.648793", "0.64780086", "0.6465708", "0.64571464", "0.64540637", "0.6449531" ]
0.7885352
2
Log an info message.
public void info(String message, Throwable throwable);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void logInfo(String message)\n {\n log(IStatus.INFO, message);\n }", "public void info(String message);", "public void info(String message);", "public static void info(String message) {\n\n\t\tlog(message);\n\t}", "void info(String message);", "public void info(String msg) {\n log(INFO, msg);\n }", "public void info(String msg) {\n log(Level.INFO, msg, null);\n }", "public void info(Object message)\n/* */ {\n/* 145 */ if (message != null) {\n/* 146 */ getLogger().info(String.valueOf(message));\n/* */ }\n/* */ }", "public void info(String message) {\r\n\t\treport(INFO, message, null);\r\n\t}", "public static void info(String msg) {\n\t\tlog.info(\"[iCart] \" + msg);\n\t}", "public static void info(String message) {\n\t\tlogger.info(message);\n\t}", "@Override\n\tpublic void info(Object message) {\n\n\t}", "@Override\n\tpublic void info(String message, Object... params) {\n\n\t}", "protected void info(String msg) {\n log.log(Level.INFO, msg);\n }", "public void info(String msg) {\n LOGGER_BASE.info(msg);\n }", "public static void info(String message) {\n\t\tif (logger != null) {\n\t\t\tlogger.log(Level.INFO, message);\n\t\t}\n\t}", "public void info(String message) {\n if (mLoggable) {\n try {\n Log.i(mClassName, message);\n } catch (Exception e) {\n Log.e(TAG, e.getMessage());\n }\n }\n }", "public static void info(String message) {\n LOGGER.info(message);\n }", "public void logInfo( String msg ) {\r\n\t\tlogger.log( Level.INFO, logPrefix + \" \" + msg );\r\n\t}", "public static void info(String msg) {\n logger.info(msg);\n }", "@Override\n\tpublic void info(String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "@Override\n\tpublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6) {\n\n\t}", "public static void info(String msg) {\n\t\tlogger.log(Level.INFO, msg);\n\t}", "void info(String tag, String msg);", "public final static void info(String message)\n\t{\n\t\tif (logger != null)\n\t\t\tlogger.info(message);\n\t}", "@Override\n public void info(String message) {\n if (Level.INFO.getPriority() <= level.getPriority()) {\n print(\"INFO: \" + message);\n }\n }", "@Override\n\tpublic void info(Message msg) {\n\n\t}", "public static void info(Object message) {\n\t\tSystem.out.print(message);\n\t}", "private void logInfo(String msgText) {\n System.out.println (\"[INFO] \" + msgText);\n \n }", "@Override\n\tpublic void info(String message, Object p0, Object p1, Object p2) {\n\n\t}", "@Override\n\tpublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4) {\n\n\t}", "@Override\n\tpublic void info(String message, Object p0, Object p1) {\n\n\t}", "public static void info(String msg){\n\t\tconsole(msg);\n\t\tlogger.info(msg);\n\t}", "@Override\n public void info(final Object message) {\n this.logger.info(this.prepareDefaultMessage(message));\n }", "@Override\n\tpublic\n\tvoid info(final Object message) {\n\t\tif (message != null && message instanceof Throwable) {\n\t\t\tlogger.info(\"\", (Throwable) message);\n\t\t} else {\n\t\t\tlogger.info(message);\n\t\t}\n\t}", "public void info(final String message, final Object... args) {\n log.info(supplier(message, args));\n }", "@Override\n\tpublic void info(Marker marker, Message msg) {\n\n\t}", "@Override\n\tpublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "@Override\n\tpublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7) {\n\n\t}", "protected void Info(String message) {\n logger.logMessage(message);\n }", "@Override\n\tpublic void info(Marker marker, String message, Object... params) {\n\n\t}", "void info(String messageKey, Object... args);", "protected abstract void info(String msg);", "@Override\n\tpublic void info(Marker marker, Object message) {\n\n\t}", "@Override\n\tpublic void info(Marker marker, String message) {\n\n\t}", "@Override\n\tpublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5) {\n\n\t}", "public void info(Object message, Throwable t)\n/* */ {\n/* 159 */ if (message != null) {\n/* 160 */ getLogger().info(String.valueOf(message), t);\n/* */ }\n/* */ }", "@Override\n\tpublic void info(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7, Object p8) {\n\n\t}", "public static void info(Object arg0) {\n MDC.put(classNameProp, \"\");\n debugLogger.info(MessageCodes.GENERAL_INFO, String.valueOf(arg0));\n }", "private void infoLog(String msg) {\n Log.i(\"ActivityTransitions\", TAG + \" --> \" + msg);\n }", "public void info(String msg) {\n\t\tif (this.logLevel <= BackupLogger.INFO) {\n\t\t\twrite(\"INFO \" + msg);\n\t\t\tSystem.out.println(\"INFO \" + msg);\n\t\t}\n\t}", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6) {\n\n\t}", "@Override\n\tpublic void info(String message, Object p0) {\n\n\t}", "public static void logInfo(String info, int level) {\n\t\tif (!m_bDebug && level < 1) return;\n\t\tm_Logger.info(\"[OrbitalStrike] \" + info);\n\t}", "public void logInfo(boolean logInfo)\r\n {\r\n if (logInfo != infoLevelHandler.getBoolean())\r\n {\r\n infoLevelHandler.setBoolean(logInfo);\r\n fireConfigUpdated();\r\n }\r\n }", "public void logInfo(final String message) {\n\n\t\t\tMSULogger.internalLogger.log(\n\t\t\t\tMSULogger.WRAPPER_FQN,\n\t\t\t\tLevel.INFO,\n\t\t\t\tmessage,\n\t\t\t\tnull);\n\t\t}", "public static void logInfo(Class clz,String message){\n if(logging){\n String tag = clz.getName();\n android.util.Log.i(tag, message);\n }\n }", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1, Object p2) {\n\n\t}", "default String info(String... args) {\n String message = create(args);\n getLogger().info(message);\n return message;\n }", "public void info( String methodName, String message )\n {\n getLogger().info( methodName + \"():\" + message );\n }", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4) {\n\n\t}", "public void logInfo(final String format, final Object... args) {\n infoMessages.add(String.format(format, args));\n }", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7) {\n\n\t}", "@SuppressWarnings(\"unused\")\n public static void info(String message) {\n FacesContext.getCurrentInstance()\n .addMessage(null,\n new FacesMessage(FacesMessage.SEVERITY_INFO,\n FacesUtils.getlocalizedString(ResourceBundles.GENERAL, \"info\"),\n message));\n }", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1) {\n\n\t}", "public void infoMsg(String msg) {\n mensagens.add(new MensagemSistema(ConstantsControl.MSG_INFO, msg));\n }", "@SuppressWarnings(\"unused\")\n protected void info(String msg) {\n if (this.getContainer() != null && this.getContainer().getLogger().isInfoEnabled()) {\n this.getContainer().getLogger().info(msg);\n }\n }", "public void info(String message, BufferedImage image) {\r\n\t\treport(INFO, message, image);\r\n\t}", "@Override\n\tpublic void info(Marker marker, MessageSupplier msgSupplier) {\n\n\t}", "@Override\n\tpublic void info(Marker marker, String message, Object p0) {\n\n\t}", "public static void logInfo(Context context,String message){\n if(logging){\n String tag = context.getClass().getName();\n android.util.Log.i(tag, message);\n }\n }", "public static void info(String message, Object...args) {\n\n\t\tlog(LogLevel.INFO, null, message, args);\n\t}", "public void writeInfo(String message){\n final String output = getTimeString() + \" INFO: \" + message+ ENTER;\n switch (PreferencesHelper.getConsolePopupLevel()) {\n case ALL:\n case ONLY_INFO:\n popConsoleView();\n break;\n default:\n break;\n }\n UIBundlingThread.getInstance().addRunnable(new Runnable(){\n public void run() {\n if(infoStream == null){\n infoStream = console.newOutputStream();\n infoStream.setColor(CustomMediaFactory.getInstance().getColor(\n CustomMediaFactory.COLOR_BLACK));\n }\n writeToConsole(infoStream, output);\n }\n });\n\n }", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5) {\n\n\t}", "public final void mT62() throws RecognitionException {\n try {\n int _type = T62;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:60:5: ( 'info' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:60:7: 'info'\n {\n match(\"info\"); \n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "@Override\n\tpublic void info(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8) {\n\n\t}", "public void setInfo(String info) {\n this.info = info;\n }", "public void info(String msg, Throwable t) {\n log(Level.INFO, msg, t);\n }", "@Override\n\tpublic void info(Marker marker, Supplier<?> msgSupplier) {\n\n\t}", "@Override\n\tpublic void info(CharSequence message) {\n\n\t}", "@Override\n\tpublic void info(Marker marker, CharSequence message) {\n\n\t}", "public void log(String message) {\n log(message, MSG_INFO);\n }", "public static void info(String message, Object... arguments) {\n if (!debugLogger.isInfoEnabled()) {\n return;\n }\n if (arguments.length == 1 && !OnapLoggingUtils.isThrowable(arguments[0])) {\n MDC.put(classNameProp, message);\n debugLogger.info(MessageCodes.GENERAL_INFO,\n arguments[0] == null ? \"\" : arguments[0].toString());\n return;\n }\n if (arguments.length == 1 && OnapLoggingUtils.isThrowable(arguments[0])) {\n String arguments2 = getNormalizedStackTrace((Throwable) arguments[0], \"\");\n debugLogger.info(MessageCodes.GENERAL_INFO, message + arguments2);\n return;\n }\n\n MDC.put(classNameProp, \"\");\n debugLogger.info(message, arguments);\n }", "private void showInfo(String message)\r\n {\r\n infoLabel.setText(message);\r\n }", "private static void logInfo(final Logger logger, final String message) {\n System.out.println(message);\n logger.info(message);\n }", "@Override\n\tpublic void info(String message, Throwable t) {\n\n\t}", "public void Information(String Tag, String Message) {\n Log.i(Tag, Message);\n saveLog(Tag,Message);\n }", "private static void addInfo(String info){\n\tif (started) {\n\t try{\n\t\tif (verbose) {\n\t\t System.out.println(info);\n\t\t System.out.println(newLine);\n\t\t}\n\t\tfStream.writeBytes(info);\n\t\tfStream.writeBytes(newLine);\n\t }catch(IOException e){\n\t }\n\t}\n }", "private void traceInfo(String info) {\n if (trace) {\n worker.trace(\"-- \" + info + \"\\n\", \"out\", device_id);\n }\n }", "public static void writeMessage(String message) {\n writeMessage(Level.INFO, message);\n }", "void info (String msg) throws RootException;", "public final void info(Component reporter, String message)\n\t{\n\t\tadd(new FeedbackMessage(reporter, message, FeedbackMessage.INFO));\n\t}", "public static void info(MessageCodes msg, String className, String... arguments) {\n MDC.put(classNameProp, className);\n debugLogger.info(msg, arguments);\n }", "public boolean logInfo()\r\n {\r\n return infoLevelHandler.getBoolean();\r\n }", "public void setInfo(String i)\n {\n info = i;\n }", "public void info()\n {\n System.out.println(toString());\n }", "public void setInfoId(java.lang.String infoId) {\n this.infoId = infoId;\n }", "public static void i(String message, Object... args) {\n log(INFO, null, null, message, args);\n }", "@Override\n\tpublic void info(Object message, Throwable t) {\n\n\t}" ]
[ "0.79360044", "0.7885352", "0.7885352", "0.78609395", "0.77637", "0.77475", "0.77326", "0.76444757", "0.7619475", "0.75693303", "0.75193083", "0.75120866", "0.7497078", "0.7483485", "0.7461141", "0.74582756", "0.74524796", "0.7431944", "0.74077666", "0.7388424", "0.73623824", "0.7358267", "0.73510146", "0.73388064", "0.7330689", "0.7316535", "0.7312758", "0.73119503", "0.7297331", "0.72934216", "0.7261196", "0.7223214", "0.7218509", "0.7216307", "0.71982956", "0.71857464", "0.7166983", "0.71404624", "0.7123575", "0.7104387", "0.71010584", "0.70929784", "0.7075711", "0.70726264", "0.7069172", "0.704745", "0.70427966", "0.7040156", "0.7039604", "0.70235646", "0.70092505", "0.7008211", "0.6995493", "0.6992253", "0.69912505", "0.697611", "0.69683003", "0.6962023", "0.6944396", "0.69440204", "0.69402236", "0.6938595", "0.69378036", "0.69111943", "0.6886426", "0.68766123", "0.6870213", "0.68588144", "0.68452334", "0.6833303", "0.6829261", "0.6829089", "0.67927325", "0.6786589", "0.6778674", "0.67764735", "0.677489", "0.67615426", "0.6734791", "0.6726635", "0.67157155", "0.6714187", "0.67075014", "0.66758907", "0.6643044", "0.6620147", "0.66002965", "0.65918237", "0.6540799", "0.6526576", "0.6507483", "0.6506333", "0.65019387", "0.6501152", "0.64917594", "0.648793", "0.64780086", "0.6465708", "0.64571464", "0.64540637", "0.6449531" ]
0.0
-1
Log a debug message.
public void debug(String message);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void debug(String msg);", "public void debug(Object message)\n/* */ {\n/* 118 */ if (message != null) {\n/* 119 */ getLogger().debug(String.valueOf(message));\n/* */ }\n/* */ }", "public static void debug(String message) {\n if (mDebug)\n print(message);\n }", "public void debug(String message) {\n if (mLoggable) {\n try {\n Log.d(mClassName, message);\n } catch (Exception e) {\n Log.e(TAG, e.getMessage());\n }\n }\n }", "public static void debug(String message) {\n if (_debugMode) {\n System.out.println(\"[DEBUG] \" + message);\n }\n }", "@Override\n\tpublic void debug(Object message) {\n\n\t}", "@Override\n public void debug(String message) {\n if (Level.DEBUG.getPriority() <= level.getPriority()) {\n print(\"DEBUG: \" + message);\n }\n\n }", "@SuppressWarnings(\"static-method\")\n\tpublic void logDebugMessage(String message) {\n\t\tDebug.println(message);\n\t}", "public final static void debug(String message)\n\t{\n\t\t// TODO: Finish this method so that debugging can be disabled\n\t\tif (logger != null)\n\t\t\tlogger.info(message);\n\t}", "public static void debug(boolean d, String message) {\n \tif(d) {\n \t\tSystem.out.println(message);\n \t}\n }", "public static void debug( String msg ) {\n\t\tif( DEBUG_SHOW == 1 )\n\t\t{\n\t\t\tLog.i( DEBUG, DEBUG + \" : \" + msg );\n\t\t}\n\t}", "protected abstract void debug(String msg);", "@Override\n public void debug(final Object message) {\n this.logger.debug(this.prepareDefaultMessage(message));\n }", "public static void debug(String msg) {\n\t\tif(DEBUG_ENABLED) {\n\t\t\tinfo(\"[DEBUG] \" + msg);\n\t\t}\n\t}", "@Override\n\tpublic void debug(Message msg) {\n\n\t}", "public void debug(String msg) {\n LOGGER_BASE.debug(msg);\n }", "private void debug(String msg) {\r\n if (LOG.isDebugEnabled()) {\r\n LOG.debug(msg);\r\n }\r\n }", "@Override\n\tpublic void debug(String message, Object... params) {\n\n\t}", "public static void printDebug(String message) {\n\t\tif (debugMode) {\r\n\t\t\tprintMessage(\"DEBUG: \" + message);\r\n\t\t}\r\n\t}", "public static void debug(String message) {\n LOGGER.debug(message);\n }", "private void debug(final String msg) {\n \t\tif (debug) System.out.println(msg);\n \t}", "private static void debug(String message, Object... args)\n {\n StatusLogger.getLogger().debug(String.format(message, args));\n }", "@Override\n\tpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4) {\n\n\t}", "@Override\n\tpublic void debug(CharSequence message) {\n\n\t}", "@Override\n\tpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6) {\n\n\t}", "void debug(String messageKey, Object... args);", "public void debug(Object message, Throwable t)\n/* */ {\n/* 132 */ if (message != null) {\n/* 133 */ getLogger().debug(String.valueOf(message), t);\n/* */ }\n/* */ }", "public void debug(String message, Throwable throwable);", "@Override\n\tpublic void debug(String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "@Override\n\tpublic void debug(String message, Object p0, Object p1, Object p2) {\n\n\t}", "@Override\n\tpublic void debug(String message, Object p0, Object p1) {\n\n\t}", "public static void debug(String tag, String message) {\n if (mDebug == true && tag.equals(mFilter)) {\n System.out.println(\"\\nDBG \" + tag + \" => \" + message);\n }\n }", "public static void debug(String msg) {\n\t\tif (Config.Debug)\n\t\t\tUtil.debug(DebugLevel.LOW, msg);\n\t}", "public void traceDebug(String tag, String message) {\n\t\tmakeTraceCallback(Status.OK, tag + \" \" + message, -1, \"debug\");\n\t}", "@Override\n\tpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "public void debug(final String message, final Object... args) {\n log.fine(supplier(message, args));\n }", "@Override\n\tpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5) {\n\n\t}", "@Override\n\tpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7) {\n\n\t}", "public static void debug(String log) {\n if (debug) {\n System.out.println(\"[DEBUG] \" + log);\n }\n }", "@Override\n\tpublic void debug(Marker marker, Object message) {\n\n\t}", "public void logDebug(final String message) {\n\t\t\tif (isDebugEnabled) {\n\t\t\t\tMSULogger.internalLogger.log(\n\t\t\t\t\tMSULogger.WRAPPER_FQN,\n\t\t\t\t\tLevel.DEBUG,\n\t\t\t\t\tmessage,\n\t\t\t\t\tnull);\n\t\t\t}\n\t\t}", "private void debugPrint(String msg) {\n if (debug) {\n System.out.println(toString() + \": \" + msg);\n }\n }", "public final void debugStatement() throws RecognitionException {\n\t\ttry {\n\t\t\t// PrePro.g:71:15: ( DEBUG )\n\t\t\t// PrePro.g:71:17: DEBUG\n\t\t\t{\n\t\t\tmatch(input,DEBUG,FOLLOW_DEBUG_in_debugStatement270); if (state.failed) return;\n\t\t\t}\n\n\t\t}\n\t\tcatch (RecognitionException re) {\n\t\t\treportError(re);\n\t\t\trecover(input,re);\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public static void debug(String label, String message) {\n if (_debugMode) {\n debug(String.format(\"%s: [%s]\", label, message));\n }\n }", "private static void logDebug(String message, Object... arguments) {\n\t\tif (LOGGER.isDebugEnabled()) {\n\t\t\tLOGGER.debug(message, arguments);\n\t\t}\n\t}", "@Override\n\tpublic void debug(Marker marker, Message msg) {\n\n\t}", "@Override\n\tpublic void debug(String message, Throwable t) {\n\n\t}", "@Override\n\tpublic void debug(Marker marker, String message) {\n\n\t}", "public static void printDebug(final String pTag, final String pMessage)\n\t{\n\t\tif(LogConstant.DEBUG)\n\t\t{\n\t\t\tLog.d(pTag, pMessage);\n\t\t}\n\t}", "public static void d(String message, Object... args) {\n log(DEBUG, null, null, message, args);\n }", "public void logDebug(String str) {\n }", "private void debugLog(String msg)\n {\n m_log.log(\"[\" + m_appName + \"] :\" + msg);\n }", "@Override\n\tpublic void debug(Object message, Throwable t) {\n\n\t}", "void debug (String msg) throws RootException;", "public static void debug(Object s) {\n\t\tif (logger != null) {\n\t\t\tlogger.log(Level.DEBUG, s);\n\t\t}\n\t}", "public static void debug(String... messages) {\n\t\tString finalmessage = \"\";\n\t\tfor (String message : messages) {\n\t\t\tfinalmessage += message;\n\t\t}\n\t\tSystem.out.println(\"[DEBUG] \" + finalmessage);\n\t}", "@Override\n\tpublic void debug(Marker marker, CharSequence message) {\n\n\t}", "@Override\n\tpublic void debug(CharSequence message, Throwable t) {\n\n\t}", "@Override\n\tpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7, Object p8) {\n\n\t}", "@Override\n\tpublic void debug(String message, Object p0) {\n\n\t}", "public static void d(String msg) {\n\t\tLog.d(LOGGER_TAG, msg);\n\t}", "void debug(String messageKey, Throwable throwable, Object... args);", "public static void d(String tag, String msg) {\n\t\tif (mDebugLog && msg != null) {\n\t\t\tLog.d(tag, msg);\n\t\t}\n\t}", "@Override\n\tpublic void debug(Marker marker, String message, Object... params) {\n\n\t}", "public void debug(String comment);", "public static void debug(String tag, String text) {\n if (BuildConfig.DEBUG) {\n Log.d(tag, text);\n }\n }", "@SuppressWarnings(\"unused\")\n protected void debug(String msg) {\n if (this.getContainer() != null && this.getContainer().getLogger().isDebugEnabled()) {\n this.getContainer().getLogger().debug(msg);\n }\n }", "public void debug( String methodName, String message )\n {\n getLogger().debug( methodName + \"():\" + message );\n }", "@Override\n\tpublic void debug(MessageSupplier msgSupplier) {\n\n\t}", "@Override\n\tpublic void debug(Message msg, Throwable t) {\n\n\t}", "private void debug(String post) {\n if (GameLauncher.isDebugging()) {\n System.out.println(post);\n }\n }", "@Override\n\tpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4) {\n\n\t}", "public static void print(String message) {\n\t\t// if not in production, then print log on console\n\t\tif (!isProductionMode) Log.d(\"AppDebug : \", \" Debug :\" + message);\n\n\n\t\t// log in file for testing mode debug\n\t\tif (isFileLogMode) { }\n\t}", "@Override\n\tpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6) {\n\n\t}", "public void debug(final String s) {\n if (!configManager.isDebug()) { return; }\n this.getLogger().info(ChatColor.YELLOW + \"[Debug] \" + s);\n }", "void debug(String msg)\n {\n if (yydebug)\n System.out.println(msg);\n }", "protected static void debug(String istrMessage) {\n\t\tif (isDebugEnabled()) {\n\t\t\tSystem.out.println(Thread.currentThread().getName() + \": \"\n\t\t\t\t\t+ istrMessage);\n\t\t}\n\t}", "public final void debug(Component reporter, String message)\n\t{\n\t\tadd(new FeedbackMessage(reporter, message, FeedbackMessage.DEBUG));\n\t}", "@Override\n\tpublic void debug(Marker marker, MessageSupplier msgSupplier) {\n\n\t}", "public static void d(String msg) {\n\t\td(TAG_D, msg);\n\t}", "@Override\n\tpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7) {\n\n\t}", "@Override\n\tpublic void debug(Marker marker, String message, Object p0, Object p1) {\n\n\t}", "public static void Log(String message){\r\n if(isDebugBuild == false){\r\n return;\r\n }\r\n System.out.println(message);\r\n }", "public void debug(String loggerFqcn, Object message, Throwable t)\n/* */ {\n/* 47 */ this.logger.debug(loggerFqcn, message, t);\n/* */ }", "public void Debug(String Tag, String Message) {\n Log.d(Tag, Message);\n saveLog(Tag,Message);\n }", "void displayDebug(String message) {\n if (this.server.isVerboseDebugEnabled())\n System.out.printf(\"**\\t[%s]\\t\" + name + \":\\t\" + message + \"\\n\", dateFormat.format(new Date()));\n }", "private void debug(String s) {\r\n\t\tif (debug)\r\n\t\t\tSystem.out.println(s);\r\n\t}", "@Override\n\tpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2) {\n\n\t}", "@Override\n\tpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5) {\n\n\t}", "@Override\n\tpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "@Override\r\n\t\t\tpublic void debug(String arg) {\n\t\t\t\t\r\n\t\t\t}", "@Override\n\tpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "public void debug(String message) {\n Bukkit.broadcast(ChatColor.YELLOW + \"[EasyRider] \" + message, \"easyrider.debug\");\n }", "@Override\n\tpublic void debug(Marker marker, String message, Object p0) {\n\n\t}", "public void debug(String x) {\n if (isDebugOn()) {\n String out = getClassName() + \"(\" + (new Date()) + \"): \" + x;\n getLogger().info(out);\n }\n }", "public static void debug(MessageCodes msg, String... arguments) {\n MDC.put(classNameProp, \"\");\n debugLogger.debug(msg, arguments);\n }", "public static void debug(String arg0) {\n MDC.put(classNameProp, \"\");\n debugLogger.debug(arg0);\n }", "private static void LOG(String msg) {\n if ( DEBUG ) {\n Log.d(TAG, msg);\n }\n }", "public final void setDebug() {\r\n setLevel(org.apache.log4j.Level.DEBUG);\r\n }", "@Override\n\tpublic void debug(Marker marker, Supplier<?> msgSupplier) {\n\n\t}" ]
[ "0.81372494", "0.7851507", "0.77660936", "0.7752024", "0.77496475", "0.77193063", "0.7664952", "0.76617193", "0.76330006", "0.7631736", "0.7547774", "0.75389946", "0.7533819", "0.7495498", "0.74675703", "0.7442567", "0.7424068", "0.7402492", "0.73933077", "0.73923737", "0.7391574", "0.733291", "0.73040205", "0.73035604", "0.72893196", "0.72821444", "0.7277137", "0.7258643", "0.72383255", "0.72228307", "0.7190374", "0.71697825", "0.714797", "0.7140682", "0.71352065", "0.71298265", "0.7106944", "0.70905226", "0.7056531", "0.70302224", "0.70037216", "0.70032257", "0.69932103", "0.69844556", "0.6964077", "0.6961516", "0.69431776", "0.6941558", "0.69403183", "0.6935791", "0.6934742", "0.6923772", "0.6919141", "0.68861943", "0.687855", "0.6876943", "0.68738866", "0.6865908", "0.6862482", "0.6859056", "0.6841693", "0.68331593", "0.6831981", "0.6831277", "0.68211615", "0.68211114", "0.681856", "0.68124235", "0.6810297", "0.6798333", "0.6775713", "0.6763066", "0.6755817", "0.6730559", "0.67279273", "0.6724248", "0.6721932", "0.6713734", "0.6702203", "0.6694331", "0.66916245", "0.6690089", "0.668872", "0.66688645", "0.6667168", "0.6659316", "0.66567653", "0.6647879", "0.66296464", "0.662055", "0.66203916", "0.66081476", "0.66051304", "0.65981364", "0.65823454", "0.6572667", "0.6571755", "0.6570938", "0.65628505", "0.6558787" ]
0.8372781
0
Log a debug message.
public void debug(String message, Throwable throwable);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void debug(String message);", "public void debug(String msg);", "public void debug(Object message)\n/* */ {\n/* 118 */ if (message != null) {\n/* 119 */ getLogger().debug(String.valueOf(message));\n/* */ }\n/* */ }", "public static void debug(String message) {\n if (mDebug)\n print(message);\n }", "public void debug(String message) {\n if (mLoggable) {\n try {\n Log.d(mClassName, message);\n } catch (Exception e) {\n Log.e(TAG, e.getMessage());\n }\n }\n }", "public static void debug(String message) {\n if (_debugMode) {\n System.out.println(\"[DEBUG] \" + message);\n }\n }", "@Override\n\tpublic void debug(Object message) {\n\n\t}", "@Override\n public void debug(String message) {\n if (Level.DEBUG.getPriority() <= level.getPriority()) {\n print(\"DEBUG: \" + message);\n }\n\n }", "@SuppressWarnings(\"static-method\")\n\tpublic void logDebugMessage(String message) {\n\t\tDebug.println(message);\n\t}", "public final static void debug(String message)\n\t{\n\t\t// TODO: Finish this method so that debugging can be disabled\n\t\tif (logger != null)\n\t\t\tlogger.info(message);\n\t}", "public static void debug(boolean d, String message) {\n \tif(d) {\n \t\tSystem.out.println(message);\n \t}\n }", "public static void debug( String msg ) {\n\t\tif( DEBUG_SHOW == 1 )\n\t\t{\n\t\t\tLog.i( DEBUG, DEBUG + \" : \" + msg );\n\t\t}\n\t}", "protected abstract void debug(String msg);", "@Override\n public void debug(final Object message) {\n this.logger.debug(this.prepareDefaultMessage(message));\n }", "public static void debug(String msg) {\n\t\tif(DEBUG_ENABLED) {\n\t\t\tinfo(\"[DEBUG] \" + msg);\n\t\t}\n\t}", "@Override\n\tpublic void debug(Message msg) {\n\n\t}", "public void debug(String msg) {\n LOGGER_BASE.debug(msg);\n }", "private void debug(String msg) {\r\n if (LOG.isDebugEnabled()) {\r\n LOG.debug(msg);\r\n }\r\n }", "@Override\n\tpublic void debug(String message, Object... params) {\n\n\t}", "public static void printDebug(String message) {\n\t\tif (debugMode) {\r\n\t\t\tprintMessage(\"DEBUG: \" + message);\r\n\t\t}\r\n\t}", "public static void debug(String message) {\n LOGGER.debug(message);\n }", "private void debug(final String msg) {\n \t\tif (debug) System.out.println(msg);\n \t}", "private static void debug(String message, Object... args)\n {\n StatusLogger.getLogger().debug(String.format(message, args));\n }", "@Override\n\tpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4) {\n\n\t}", "@Override\n\tpublic void debug(CharSequence message) {\n\n\t}", "@Override\n\tpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6) {\n\n\t}", "void debug(String messageKey, Object... args);", "public void debug(Object message, Throwable t)\n/* */ {\n/* 132 */ if (message != null) {\n/* 133 */ getLogger().debug(String.valueOf(message), t);\n/* */ }\n/* */ }", "@Override\n\tpublic void debug(String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "@Override\n\tpublic void debug(String message, Object p0, Object p1, Object p2) {\n\n\t}", "@Override\n\tpublic void debug(String message, Object p0, Object p1) {\n\n\t}", "public static void debug(String tag, String message) {\n if (mDebug == true && tag.equals(mFilter)) {\n System.out.println(\"\\nDBG \" + tag + \" => \" + message);\n }\n }", "public static void debug(String msg) {\n\t\tif (Config.Debug)\n\t\t\tUtil.debug(DebugLevel.LOW, msg);\n\t}", "public void traceDebug(String tag, String message) {\n\t\tmakeTraceCallback(Status.OK, tag + \" \" + message, -1, \"debug\");\n\t}", "@Override\n\tpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "public void debug(final String message, final Object... args) {\n log.fine(supplier(message, args));\n }", "@Override\n\tpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5) {\n\n\t}", "@Override\n\tpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7) {\n\n\t}", "public static void debug(String log) {\n if (debug) {\n System.out.println(\"[DEBUG] \" + log);\n }\n }", "@Override\n\tpublic void debug(Marker marker, Object message) {\n\n\t}", "public void logDebug(final String message) {\n\t\t\tif (isDebugEnabled) {\n\t\t\t\tMSULogger.internalLogger.log(\n\t\t\t\t\tMSULogger.WRAPPER_FQN,\n\t\t\t\t\tLevel.DEBUG,\n\t\t\t\t\tmessage,\n\t\t\t\t\tnull);\n\t\t\t}\n\t\t}", "private void debugPrint(String msg) {\n if (debug) {\n System.out.println(toString() + \": \" + msg);\n }\n }", "public final void debugStatement() throws RecognitionException {\n\t\ttry {\n\t\t\t// PrePro.g:71:15: ( DEBUG )\n\t\t\t// PrePro.g:71:17: DEBUG\n\t\t\t{\n\t\t\tmatch(input,DEBUG,FOLLOW_DEBUG_in_debugStatement270); if (state.failed) return;\n\t\t\t}\n\n\t\t}\n\t\tcatch (RecognitionException re) {\n\t\t\treportError(re);\n\t\t\trecover(input,re);\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public static void debug(String label, String message) {\n if (_debugMode) {\n debug(String.format(\"%s: [%s]\", label, message));\n }\n }", "private static void logDebug(String message, Object... arguments) {\n\t\tif (LOGGER.isDebugEnabled()) {\n\t\t\tLOGGER.debug(message, arguments);\n\t\t}\n\t}", "@Override\n\tpublic void debug(Marker marker, Message msg) {\n\n\t}", "@Override\n\tpublic void debug(String message, Throwable t) {\n\n\t}", "@Override\n\tpublic void debug(Marker marker, String message) {\n\n\t}", "public static void printDebug(final String pTag, final String pMessage)\n\t{\n\t\tif(LogConstant.DEBUG)\n\t\t{\n\t\t\tLog.d(pTag, pMessage);\n\t\t}\n\t}", "public static void d(String message, Object... args) {\n log(DEBUG, null, null, message, args);\n }", "public void logDebug(String str) {\n }", "private void debugLog(String msg)\n {\n m_log.log(\"[\" + m_appName + \"] :\" + msg);\n }", "@Override\n\tpublic void debug(Object message, Throwable t) {\n\n\t}", "void debug (String msg) throws RootException;", "public static void debug(Object s) {\n\t\tif (logger != null) {\n\t\t\tlogger.log(Level.DEBUG, s);\n\t\t}\n\t}", "public static void debug(String... messages) {\n\t\tString finalmessage = \"\";\n\t\tfor (String message : messages) {\n\t\t\tfinalmessage += message;\n\t\t}\n\t\tSystem.out.println(\"[DEBUG] \" + finalmessage);\n\t}", "@Override\n\tpublic void debug(Marker marker, CharSequence message) {\n\n\t}", "@Override\n\tpublic void debug(CharSequence message, Throwable t) {\n\n\t}", "@Override\n\tpublic void debug(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7, Object p8) {\n\n\t}", "@Override\n\tpublic void debug(String message, Object p0) {\n\n\t}", "public static void d(String msg) {\n\t\tLog.d(LOGGER_TAG, msg);\n\t}", "void debug(String messageKey, Throwable throwable, Object... args);", "public static void d(String tag, String msg) {\n\t\tif (mDebugLog && msg != null) {\n\t\t\tLog.d(tag, msg);\n\t\t}\n\t}", "@Override\n\tpublic void debug(Marker marker, String message, Object... params) {\n\n\t}", "public static void debug(String tag, String text) {\n if (BuildConfig.DEBUG) {\n Log.d(tag, text);\n }\n }", "public void debug(String comment);", "@SuppressWarnings(\"unused\")\n protected void debug(String msg) {\n if (this.getContainer() != null && this.getContainer().getLogger().isDebugEnabled()) {\n this.getContainer().getLogger().debug(msg);\n }\n }", "public void debug( String methodName, String message )\n {\n getLogger().debug( methodName + \"():\" + message );\n }", "@Override\n\tpublic void debug(MessageSupplier msgSupplier) {\n\n\t}", "@Override\n\tpublic void debug(Message msg, Throwable t) {\n\n\t}", "private void debug(String post) {\n if (GameLauncher.isDebugging()) {\n System.out.println(post);\n }\n }", "@Override\n\tpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4) {\n\n\t}", "public static void print(String message) {\n\t\t// if not in production, then print log on console\n\t\tif (!isProductionMode) Log.d(\"AppDebug : \", \" Debug :\" + message);\n\n\n\t\t// log in file for testing mode debug\n\t\tif (isFileLogMode) { }\n\t}", "@Override\n\tpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6) {\n\n\t}", "public void debug(final String s) {\n if (!configManager.isDebug()) { return; }\n this.getLogger().info(ChatColor.YELLOW + \"[Debug] \" + s);\n }", "void debug(String msg)\n {\n if (yydebug)\n System.out.println(msg);\n }", "protected static void debug(String istrMessage) {\n\t\tif (isDebugEnabled()) {\n\t\t\tSystem.out.println(Thread.currentThread().getName() + \": \"\n\t\t\t\t\t+ istrMessage);\n\t\t}\n\t}", "public final void debug(Component reporter, String message)\n\t{\n\t\tadd(new FeedbackMessage(reporter, message, FeedbackMessage.DEBUG));\n\t}", "@Override\n\tpublic void debug(Marker marker, MessageSupplier msgSupplier) {\n\n\t}", "public static void d(String msg) {\n\t\td(TAG_D, msg);\n\t}", "public static void Log(String message){\r\n if(isDebugBuild == false){\r\n return;\r\n }\r\n System.out.println(message);\r\n }", "@Override\n\tpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7) {\n\n\t}", "@Override\n\tpublic void debug(Marker marker, String message, Object p0, Object p1) {\n\n\t}", "public void debug(String loggerFqcn, Object message, Throwable t)\n/* */ {\n/* 47 */ this.logger.debug(loggerFqcn, message, t);\n/* */ }", "public void Debug(String Tag, String Message) {\n Log.d(Tag, Message);\n saveLog(Tag,Message);\n }", "void displayDebug(String message) {\n if (this.server.isVerboseDebugEnabled())\n System.out.printf(\"**\\t[%s]\\t\" + name + \":\\t\" + message + \"\\n\", dateFormat.format(new Date()));\n }", "private void debug(String s) {\r\n\t\tif (debug)\r\n\t\t\tSystem.out.println(s);\r\n\t}", "@Override\n\tpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2) {\n\n\t}", "@Override\n\tpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5) {\n\n\t}", "@Override\r\n\t\t\tpublic void debug(String arg) {\n\t\t\t\t\r\n\t\t\t}", "@Override\n\tpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "@Override\n\tpublic void debug(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "public void debug(String message) {\n Bukkit.broadcast(ChatColor.YELLOW + \"[EasyRider] \" + message, \"easyrider.debug\");\n }", "@Override\n\tpublic void debug(Marker marker, String message, Object p0) {\n\n\t}", "public void debug(String x) {\n if (isDebugOn()) {\n String out = getClassName() + \"(\" + (new Date()) + \"): \" + x;\n getLogger().info(out);\n }\n }", "public static void debug(String arg0) {\n MDC.put(classNameProp, \"\");\n debugLogger.debug(arg0);\n }", "public static void debug(MessageCodes msg, String... arguments) {\n MDC.put(classNameProp, \"\");\n debugLogger.debug(msg, arguments);\n }", "private static void LOG(String msg) {\n if ( DEBUG ) {\n Log.d(TAG, msg);\n }\n }", "public final void setDebug() {\r\n setLevel(org.apache.log4j.Level.DEBUG);\r\n }", "@Override\n\tpublic void debug(Marker marker, Supplier<?> msgSupplier) {\n\n\t}" ]
[ "0.8371931", "0.81362504", "0.78516614", "0.7766306", "0.775326", "0.77497405", "0.7718122", "0.7664878", "0.7662333", "0.7633824", "0.7631141", "0.75472933", "0.75380856", "0.75335866", "0.74951196", "0.74658763", "0.7442552", "0.74241316", "0.74016553", "0.7393541", "0.73930895", "0.7391064", "0.73334795", "0.730321", "0.7302493", "0.7288262", "0.7281278", "0.72779274", "0.723794", "0.72222096", "0.7189837", "0.7170193", "0.7147411", "0.7140647", "0.7134299", "0.71299654", "0.710628", "0.70894265", "0.70578456", "0.7029621", "0.70038", "0.70027435", "0.6993272", "0.69839096", "0.69656336", "0.69606704", "0.69431543", "0.6941321", "0.6940747", "0.69361454", "0.6935708", "0.692515", "0.69188476", "0.6884909", "0.68785226", "0.6876285", "0.6873539", "0.6865623", "0.6861579", "0.6858472", "0.6841024", "0.6832724", "0.68313843", "0.6830901", "0.6822309", "0.68207794", "0.6818142", "0.6813082", "0.6808735", "0.6797602", "0.6775384", "0.67626923", "0.67576844", "0.67300236", "0.67279637", "0.6722829", "0.6721562", "0.67127794", "0.6701308", "0.66925627", "0.6691106", "0.66910917", "0.66898763", "0.66689306", "0.66681427", "0.6659608", "0.6656935", "0.6647628", "0.6629427", "0.6620333", "0.6620154", "0.66080534", "0.6604197", "0.65978664", "0.6583137", "0.6573014", "0.65729266", "0.65723425", "0.6563585", "0.65578127" ]
0.7258374
28
Log a trace message.
public void trace(String message);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void trace(Object message)\n/* */ {\n/* 141 */ this.logger.trace(message);\n/* */ }", "public void trace(Object message, Throwable t)\n/* */ {\n/* 130 */ this.logger.trace(message, t);\n/* */ }", "public static void trace(String message) {\n\t\tif (logger != null) {\n\t\t\tlogger.log(Level.TRACE, message);\n\t\t}\n\t}", "public void trace(String msg) {\n LOGGER_BASE.trace(msg);\n }", "@Override\n\tpublic void trace(String message, Object... params) {\n\n\t}", "public void trace(String msg) {\n\t\tif (this.logLevel <= BackupLogger.TRACE) {\n\t\t\twrite(\"TRCE \" + msg);\n\t\t\tSystem.out.println(\"TRCE \" + msg);\n\t\t}\n\t}", "@Override\n\tpublic void trace(Object message) {\n\n\t}", "public static void trace(String message) {\n LOGGER.trace(message);\n }", "public void trace(Object message, Throwable t)\n/* */ {\n/* 107 */ debug(message, t);\n/* */ }", "@Override\n\tpublic void trace(final Object message) {\t\t\n\t\tif (message != null && message instanceof Throwable) {\n\t\t\tlogger.trace(\"\", (Throwable) message);\n\t\t} else {\n\t\t\tlogger.trace(message);\n\t\t}\n\t}", "@Override\n\tpublic void trace(String message, Throwable t) {\n\n\t}", "public void trace(Object message)\n/* */ {\n/* 95 */ debug(message);\n/* */ }", "@Override\n\tpublic void trace(Message msg) {\n\n\t}", "@Override\n\tpublic void trace(CharSequence message) {\n\n\t}", "protected void trace(String msg)\r\n\t{\r\n\t\tm_stream.println(msg);\r\n\t}", "@Override\n\tpublic void trace(CharSequence message, Throwable t) {\n\n\t}", "public void trace(String message, Throwable throwable);", "@Override\n\tpublic void trace(Object message, Throwable t) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message) {\n\n\t}", "void trace( Throwable msg );", "@Override\n\tpublic void trace(String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, Object message) {\n\n\t}", "@Override\n\tpublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4) {\n\n\t}", "@Override\n\tpublic void trace(Message msg, Throwable t) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object... params) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, CharSequence message) {\n\n\t}", "static public void trace(String msg) {\n if (isVerbose()) {\n System.out.println(msg);\n }\n }", "@Override\n\tpublic void trace(String message, Object p0, Object p1) {\n\n\t}", "@Override\n\tpublic void trace(String message, Object p0, Object p1, Object p2) {\n\n\t}", "@Override\n\tpublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, CharSequence message, Throwable t) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, Message msg) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, Object message, Throwable t) {\n\n\t}", "@Override\n\tpublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Throwable t) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, Message msg, Throwable t) {\n\n\t}", "public void trace(String loggerFqcn, Object message, Throwable t)\n/* */ {\n/* 153 */ this.logger.trace(loggerFqcn, message, t);\n/* */ }", "@Override\n\t\t\t\t\t\t\tpublic void log(String msg, int level, Date date, StackTraceElement trace) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}", "@Override\n\tpublic void trace(String message, Object p0) {\n\n\t}", "public void trace (String msg) \n\t{\n\t\tLog.d(\"Reminder\", msg);\n\t\t//toast (msg);\n\t}", "@Override\n\tpublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7) {\n\n\t}", "@Override\n\tpublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1) {\n\n\t}", "private void dbgTrace(String trace) {\n GenUtils.logCat(tag, trace);\n GenUtils.logMessageToFile(\"SessionV2.log\", trace);\n }", "@Override\n\tpublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7, Object p8) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, MessageSupplier msgSupplier, Throwable t) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, MessageSupplier msgSupplier) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5) {\n\n\t}", "void trace(String a, String b) {\n\t\t}", "public void testTrace() {\n\t\tLogAndTraceBroker broker = LogAndTraceBroker.getBroker();\n\t\tbroker.clearLogListeners();\n\t\tbroker.clearTraceListeners();\n\n\t\tbroker.addLogListener(new LogListener() {\n\n\t\t\t/**\n\t\t\t * @param pLevel\n\t\t\t * @param pMessageKey\n\t\t\t * @param pMessage\n\t\t\t * @param pParameters\n\t\t\t */\n\t\t\tpublic void log(Level pLevel, String pMessageKey, String pMessage, Object[] pParameters) {\n\t\t\t\tsetLogMessages(getLogMessages() + 1);\n\t\t\t}\n\t\t});\n\n\t\tbroker.addTraceListener(new TraceListener() {\n\n\t\t\tpublic void trace(Level pLevel, StackTraceElement pOrigin, String pMessage,\n\t\t\t\t\tThrowable pThrown) {\n\t\t\t\tsetTraceMessages(getTraceMessages() + 1);\n\t\t\t\tif (pMessage.startsWith(TEST)) {\n\t\t\t\t\tverify(\"Message level\", EQUAL, pLevel, Level.FINE);\n\t\t\t\t\tverify(\"Message text\", EQUAL, pMessage, TEST);\n\t\t\t\t\tverify(\"Message param\", EQUAL, pThrown.getMessage(), TEST);\n\t\t\t\t\tverify(\"Origin\", EQUAL, pOrigin.getMethodName(), \"testTrace\");\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tpublic void trace(Level pLevel, StackTraceElement pOrigin, String pMessage) {\n\t\t\t\tsetTraceMessages(getTraceMessages() + 1);\n\t\t\t\tif (pMessage.startsWith(TEST)) {\n\t\t\t\t\tverify(\"Message level\", EQUAL, pLevel, Level.FINEST);\n\t\t\t\t\tverify(\"Message text\", EQUAL, pMessage, TEST);\n\t\t\t\t\tverify(\"Origin\", EQUAL, pOrigin.getMethodName(), \"testTrace\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tsetLogMessages(0);\n\t\tsetTraceMessages(0);\n\t\tbroker.trace(Level.FINEST, TEST);\n\t\tbroker.trace(Level.FINE, TEST, new RuntimeException(TEST));\n\t\tverify(\"Message count logged\", EQUAL, new Integer(getLogMessages()), new Integer(0));\n\t\tverify(\"Message count traced\", EQUAL, new Integer(getTraceMessages()), new Integer(2));\n\n\t\tbroker.clearLogListeners();\n\t\tbroker.clearTraceListeners();\n\t}", "@Override\n\tpublic void trace(MessageSupplier msgSupplier) {\n\n\t}", "@SuppressWarnings(\"unused\")\n protected void trace(String msg) {\n if (this.getContainer() != null && this.getContainer().getLogger().isTraceEnabled()) {\n this.getContainer().getLogger().trace(msg);\n }\n }", "protected void logTrace( HttpServletRequest req, String str ) {\r\n\tif (!isDebugMode()) return;\r\n\ttry {\r\n\t StringBuffer sb = new StringBuffer();\r\n\t sb.append(\"\\n---------- Gateway trace message:\\n\");\r\n\t sb.append(\"Trace message: \" + str + \"\\n\");\r\n\t sb.append(\"Request method: \" + req.getMethod() + \"\\n\");\r\n\t sb.append(\"Query string: \" + req.getQueryString() + \"\\n\");\r\n\t sb.append(\"Content length: \" + req.getContentLength() + \"\\n\");\r\n\t sb.append(\"Cookies: ( session info )\\n\");\r\n\t Cookie[] cookies = req.getCookies();\r\n\t if (cookies == null || cookies.length == 0)\r\n\t\tsb.append(\"No cookies in the HTTP request\\n\");\r\n\t else {\r\n\t\tfor (int i = 0; i < cookies.length; i++) {\r\n\t\t sb.append(\"\\tName: \" + cookies[i].getName() + \"\\t\" + \"Value: \" + cookies[i].getValue() + \"\\n\");\r\n\t\t}\r\n\t }\r\n\t sb.append(\"\\n\");\r\n\t m_ctx.log( sb.toString() );\r\n\t} catch (Exception e) {\r\n\t System.err.println(\"Error logging a message\");\r\n\t}\r\n }", "void logTiMessages(final String msg);", "@Override\n\tpublic void trace(Marker marker, Supplier<?> msgSupplier, Throwable t) {\n\n\t}", "public static void trace(AndesMessage message, String content) {\n trace(message.getMetadata().getMessageID(), message.getMetadata().getDestination(), content);\n }", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8) {\n\n\t}", "synchronized void trace(String msg) {\n articleTextArea.append(msg);\n articleTextArea.append(\"\\n\");\n }", "@Override\n\tpublic void trace(MessageSupplier msgSupplier, Throwable t) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, Supplier<?> msgSupplier) {\n\n\t}", "public final void mTRACE() throws RecognitionException {\r\n try {\r\n int _type = TRACE;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // Satmc.g:22:7: ( 'TRACE:' )\r\n // Satmc.g:22:9: 'TRACE:'\r\n {\r\n match(\"TRACE:\"); \r\n\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n }", "public static void trace(String className, String arg0) {\n MDC.put(classNameProp, className);\n debugLogger.trace(MessageCodes.GENERAL_INFO, arg0);\n }", "public static void trace(long messageId, String destination, String content) {\n if (log.isTraceEnabled()) {\n\t StringBuilder messageContent = new StringBuilder();\n\t messageContent.append(\"Message { Destination: \");\n\t messageContent.append(destination);\n if (messageId > 0) { // Check if andes message id is assigned, else ignore\n messageContent.append(\" , Id: \");\n\t messageContent.append(messageId);\n }\n messageContent.append(\" } \");\n\t messageContent.append(content);\n log.trace(messageContent.toString());\n }\n }", "void dumpTraceLine(String s)\n\t{\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(\"[trace] \"); //$NON-NLS-1$\n\t\tsb.append(s);\n\t\tout(sb.toString());\n\t}", "public void traceDebug(String tag, String message) {\n\t\tmakeTraceCallback(Status.OK, tag + \" \" + message, -1, \"debug\");\n\t}", "void log(Message message);", "public static void trace(Object arg0) {\n\n MDC.put(classNameProp, \"\");\n debugLogger.trace(\"{}\", arg0);\n }", "public abstract void logTraceTime(File file, String description);", "public void log(String message) {\n\t}", "public static void logTrace(Logger logger, ServerWebExchange exchange, String msg, Object... args) {\n\n if (!logger.isTraceEnabled())\n return;\n\n if (exchange == null) {\n logger.trace(msg, args);\n } else {\n\n String context = exchange.getAttribute(TRACE_ID_CONTEXT_KEY);\n try (MDC.MDCCloseable cMdc = MDC.putCloseable(TRACE_ID_CONTEXT_KEY, context)) {\n logger.trace(msg, args);\n }\n }\n }", "public void trace(int node) {\n\t\tsendMessage(\"/n_trace\", new Object[] { node });\n\t}", "@Override\n\tpublic void trace(String message, Supplier<?>... paramSuppliers) {\n\n\t}", "public abstract void logTraceTime();", "@Test\n\tpublic final void testWriteTrace() {\n\t\tLog.trace(\"This is a call to Log.Trace with no arguments\");\n\t\tLog.trace(\"This is a call to Log.Trace with two arguments #1:%s, #2:%s\", 1, 2);\n\n\t\tLog.write(LogMessageSeverity.INFORMATION, \"Unit Tests\", null, \"This is a call to Log.Write with no arguments\");\n\t\tLog.write(LogMessageSeverity.INFORMATION, \"Unit Tests\", null,\n\t\t\t\t\"This is a call to Log.Write with two arguments #1:%s, #2:%s\", 1, 2);\n\n\t\tRuntimeException exception = new GibraltarException(\"This is a dummy exception to test API calls.\");\n\n\t\tLog.trace(exception, \"This is a call to Log.Trace with an exception and no arguments\");\n\t\tLog.trace(exception, \"This is a call to Log.Trace with an exception and two arguments #1:%s, #2:%s\", 1, 2);\n\n\t\tLog.write(LogMessageSeverity.WARNING, LogWriteMode.QUEUED, exception, \"Unit Tests\", null,\n\t\t\t\t\"This is a call to Log.Write with an exception and no arguments\");\n\t\tLog.write(LogMessageSeverity.WARNING, LogWriteMode.QUEUED, exception, \"Unit Tests\", null,\n\t\t\t\t\"This is a call to Log.Write with an exception and two arguments #1:%s, #2:%s\", 1, 2);\n\n\t\tLog.write(LogMessageSeverity.VERBOSE, \"Unit Tests\",\n\t\t\t\t\"This is a call to Log.Write with a caption and null description\", null);\n\t\tLog.write(LogMessageSeverity.VERBOSE, \"Unit Tests\",\n\t\t\t\t\"This is a call to Log.Write with a caption and description\", \"with no formatting arguments\");\n\t\tLog.write(LogMessageSeverity.VERBOSE, \"Unit Tests\",\n\t\t\t\t\"This is a call to Log.Write with a caption and description\",\n\t\t\t\t\"formatted with two arguments #1:%s, #2:%s\", 1, 2);\n\n\t\tLog.write(LogMessageSeverity.INFORMATION, LogWriteMode.WAIT_FOR_COMMIT, null, \"Unit Tests\",\n\t\t\t\t\"This is a call to Log.Write with WaitForCommit and null exception and with a caption and null description\",\n\t\t\t\tnull);\n\t}", "private static void printTrace(Integer runId, String traceString ) throws java.io.FileNotFoundException,UnsupportedEncodingException{\n\n\t\t// writing the trace report\n\t\t// <inputFilename>_<method>_<cutoff>_<runID>*.sol\n\t\tString fileName = String.format(\"%s_%s_%.0f\",Project.name,Project.method,Project.cutoffTimeSeconds);\n\n\t\tif ( runId != -1 ){\n\t\t\tfileName = fileName +\"_\"+runId+\".trace\";\n\t\t} else {\n\t\t\tfileName = fileName +\".trace\";\n\t\t}\n\n\t\tPrintWriter repWriter = new PrintWriter(fileName, \"UTF-8\");\n\n\t\trepWriter.printf(\"%s\\n\",traceString);\n\n\t repWriter.close();\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Supplier<?>... paramSuppliers) {\n\n\t}", "@Override\n\tpublic void trace(Supplier<?> msgSupplier, Throwable t) {\n\n\t}", "public void log (Object msg) {\n getLogEvent().addMessage (msg);\n }", "@Override\n\tpublic void trace(Supplier<?> msgSupplier) {\n\n\t}", "public abstract int trace();", "void log(String source, String line);", "public void log(String text) {\n }", "public static LogType TRACE()\n {\n if (g_oTrace == null)\n {\n try\n {\n g_oTrace = new LogType(\"TRACE\", 40);\n }\n catch (Goliath.Exceptions.InvalidParameterException ex)\n {}\n }\n return g_oTrace;\n }", "void notifyTrace(RecorderTraceEvent event);", "public void log(String txt);", "public void log(String msg) {\n\n\t}", "public void log(Marker level, String... message);", "public void setTraceId(String traceId) {\n\n this.traceId = traceId;\n\n }", "public static void main(String []args) {\n\t\tlog.trace(\"111---\");\n\t\tlog.debug(\"2222\");\n\t\tlog.info(\"333\");\n\t\tlog.warn(\"444\");\n\t\tlog.error(\"555\");\n\t}", "public void audit( String message )\n {\n _getAuditLogger().info( ILogger.EVENT_CODE.TRANSACTION, message );\n }", "@Override\n public void log(String message) {\n }", "public void log(String message) {\n log(message, MSG_INFO);\n }" ]
[ "0.7668938", "0.7466041", "0.72826564", "0.72448176", "0.7210092", "0.7199515", "0.717623", "0.7117515", "0.7077223", "0.7065174", "0.70197904", "0.6987777", "0.69804937", "0.69574696", "0.6924459", "0.6919893", "0.6876459", "0.68427795", "0.6832238", "0.68019456", "0.67822504", "0.67556196", "0.6743288", "0.6737066", "0.67285544", "0.67270565", "0.67182", "0.66714567", "0.66669065", "0.66644275", "0.6636276", "0.66152906", "0.65665394", "0.6564477", "0.6556952", "0.6548156", "0.65445274", "0.6536949", "0.6514804", "0.6503468", "0.6478454", "0.64442575", "0.64284205", "0.6350008", "0.6333991", "0.6332336", "0.6330954", "0.62976736", "0.6267108", "0.62491107", "0.62478817", "0.6205181", "0.6172526", "0.61296535", "0.61223346", "0.60871917", "0.60820895", "0.6076945", "0.60653794", "0.6027855", "0.60167235", "0.5987084", "0.5981695", "0.5964303", "0.5928509", "0.59171593", "0.5908939", "0.5893024", "0.5891567", "0.5876406", "0.5847955", "0.58419967", "0.58183664", "0.5803033", "0.579621", "0.57586443", "0.57210886", "0.5702645", "0.57014793", "0.5681817", "0.56734765", "0.5628229", "0.56207335", "0.56015325", "0.5589222", "0.5573498", "0.5553057", "0.5529921", "0.5528062", "0.5522935", "0.5499567", "0.5494035", "0.5489194", "0.5484863", "0.54766506", "0.5433898", "0.54223645", "0.5399796", "0.5392955" ]
0.7979523
1
Log a trace message.
public void trace(String message, Throwable throwable);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void trace(String message);", "public void trace(String message);", "public void trace(Object message)\n/* */ {\n/* 141 */ this.logger.trace(message);\n/* */ }", "public void trace(Object message, Throwable t)\n/* */ {\n/* 130 */ this.logger.trace(message, t);\n/* */ }", "public static void trace(String message) {\n\t\tif (logger != null) {\n\t\t\tlogger.log(Level.TRACE, message);\n\t\t}\n\t}", "public void trace(String msg) {\n LOGGER_BASE.trace(msg);\n }", "@Override\n\tpublic void trace(String message, Object... params) {\n\n\t}", "public void trace(String msg) {\n\t\tif (this.logLevel <= BackupLogger.TRACE) {\n\t\t\twrite(\"TRCE \" + msg);\n\t\t\tSystem.out.println(\"TRCE \" + msg);\n\t\t}\n\t}", "@Override\n\tpublic void trace(Object message) {\n\n\t}", "public static void trace(String message) {\n LOGGER.trace(message);\n }", "public void trace(Object message, Throwable t)\n/* */ {\n/* 107 */ debug(message, t);\n/* */ }", "@Override\n\tpublic void trace(final Object message) {\t\t\n\t\tif (message != null && message instanceof Throwable) {\n\t\t\tlogger.trace(\"\", (Throwable) message);\n\t\t} else {\n\t\t\tlogger.trace(message);\n\t\t}\n\t}", "@Override\n\tpublic void trace(String message, Throwable t) {\n\n\t}", "public void trace(Object message)\n/* */ {\n/* 95 */ debug(message);\n/* */ }", "@Override\n\tpublic void trace(Message msg) {\n\n\t}", "@Override\n\tpublic void trace(CharSequence message) {\n\n\t}", "protected void trace(String msg)\r\n\t{\r\n\t\tm_stream.println(msg);\r\n\t}", "@Override\n\tpublic void trace(CharSequence message, Throwable t) {\n\n\t}", "@Override\n\tpublic void trace(Object message, Throwable t) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message) {\n\n\t}", "void trace( Throwable msg );", "@Override\n\tpublic void trace(String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, Object message) {\n\n\t}", "@Override\n\tpublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4) {\n\n\t}", "@Override\n\tpublic void trace(Message msg, Throwable t) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object... params) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, CharSequence message) {\n\n\t}", "static public void trace(String msg) {\n if (isVerbose()) {\n System.out.println(msg);\n }\n }", "@Override\n\tpublic void trace(String message, Object p0, Object p1) {\n\n\t}", "@Override\n\tpublic void trace(String message, Object p0, Object p1, Object p2) {\n\n\t}", "@Override\n\tpublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, CharSequence message, Throwable t) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, Message msg) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, Object message, Throwable t) {\n\n\t}", "@Override\n\tpublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Throwable t) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, Message msg, Throwable t) {\n\n\t}", "public void trace(String loggerFqcn, Object message, Throwable t)\n/* */ {\n/* 153 */ this.logger.trace(loggerFqcn, message, t);\n/* */ }", "@Override\n\t\t\t\t\t\t\tpublic void log(String msg, int level, Date date, StackTraceElement trace) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}", "@Override\n\tpublic void trace(String message, Object p0) {\n\n\t}", "public void trace (String msg) \n\t{\n\t\tLog.d(\"Reminder\", msg);\n\t\t//toast (msg);\n\t}", "@Override\n\tpublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7) {\n\n\t}", "@Override\n\tpublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1) {\n\n\t}", "private void dbgTrace(String trace) {\n GenUtils.logCat(tag, trace);\n GenUtils.logMessageToFile(\"SessionV2.log\", trace);\n }", "@Override\n\tpublic void trace(String message, Object p0, Object p1, Object p2, Object p3, Object p4,\n\t\t\tObject p5, Object p6, Object p7, Object p8) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, MessageSupplier msgSupplier, Throwable t) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, MessageSupplier msgSupplier) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5) {\n\n\t}", "void trace(String a, String b) {\n\t\t}", "public void testTrace() {\n\t\tLogAndTraceBroker broker = LogAndTraceBroker.getBroker();\n\t\tbroker.clearLogListeners();\n\t\tbroker.clearTraceListeners();\n\n\t\tbroker.addLogListener(new LogListener() {\n\n\t\t\t/**\n\t\t\t * @param pLevel\n\t\t\t * @param pMessageKey\n\t\t\t * @param pMessage\n\t\t\t * @param pParameters\n\t\t\t */\n\t\t\tpublic void log(Level pLevel, String pMessageKey, String pMessage, Object[] pParameters) {\n\t\t\t\tsetLogMessages(getLogMessages() + 1);\n\t\t\t}\n\t\t});\n\n\t\tbroker.addTraceListener(new TraceListener() {\n\n\t\t\tpublic void trace(Level pLevel, StackTraceElement pOrigin, String pMessage,\n\t\t\t\t\tThrowable pThrown) {\n\t\t\t\tsetTraceMessages(getTraceMessages() + 1);\n\t\t\t\tif (pMessage.startsWith(TEST)) {\n\t\t\t\t\tverify(\"Message level\", EQUAL, pLevel, Level.FINE);\n\t\t\t\t\tverify(\"Message text\", EQUAL, pMessage, TEST);\n\t\t\t\t\tverify(\"Message param\", EQUAL, pThrown.getMessage(), TEST);\n\t\t\t\t\tverify(\"Origin\", EQUAL, pOrigin.getMethodName(), \"testTrace\");\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tpublic void trace(Level pLevel, StackTraceElement pOrigin, String pMessage) {\n\t\t\t\tsetTraceMessages(getTraceMessages() + 1);\n\t\t\t\tif (pMessage.startsWith(TEST)) {\n\t\t\t\t\tverify(\"Message level\", EQUAL, pLevel, Level.FINEST);\n\t\t\t\t\tverify(\"Message text\", EQUAL, pMessage, TEST);\n\t\t\t\t\tverify(\"Origin\", EQUAL, pOrigin.getMethodName(), \"testTrace\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tsetLogMessages(0);\n\t\tsetTraceMessages(0);\n\t\tbroker.trace(Level.FINEST, TEST);\n\t\tbroker.trace(Level.FINE, TEST, new RuntimeException(TEST));\n\t\tverify(\"Message count logged\", EQUAL, new Integer(getLogMessages()), new Integer(0));\n\t\tverify(\"Message count traced\", EQUAL, new Integer(getTraceMessages()), new Integer(2));\n\n\t\tbroker.clearLogListeners();\n\t\tbroker.clearTraceListeners();\n\t}", "@Override\n\tpublic void trace(MessageSupplier msgSupplier) {\n\n\t}", "@SuppressWarnings(\"unused\")\n protected void trace(String msg) {\n if (this.getContainer() != null && this.getContainer().getLogger().isTraceEnabled()) {\n this.getContainer().getLogger().trace(msg);\n }\n }", "protected void logTrace( HttpServletRequest req, String str ) {\r\n\tif (!isDebugMode()) return;\r\n\ttry {\r\n\t StringBuffer sb = new StringBuffer();\r\n\t sb.append(\"\\n---------- Gateway trace message:\\n\");\r\n\t sb.append(\"Trace message: \" + str + \"\\n\");\r\n\t sb.append(\"Request method: \" + req.getMethod() + \"\\n\");\r\n\t sb.append(\"Query string: \" + req.getQueryString() + \"\\n\");\r\n\t sb.append(\"Content length: \" + req.getContentLength() + \"\\n\");\r\n\t sb.append(\"Cookies: ( session info )\\n\");\r\n\t Cookie[] cookies = req.getCookies();\r\n\t if (cookies == null || cookies.length == 0)\r\n\t\tsb.append(\"No cookies in the HTTP request\\n\");\r\n\t else {\r\n\t\tfor (int i = 0; i < cookies.length; i++) {\r\n\t\t sb.append(\"\\tName: \" + cookies[i].getName() + \"\\t\" + \"Value: \" + cookies[i].getValue() + \"\\n\");\r\n\t\t}\r\n\t }\r\n\t sb.append(\"\\n\");\r\n\t m_ctx.log( sb.toString() );\r\n\t} catch (Exception e) {\r\n\t System.err.println(\"Error logging a message\");\r\n\t}\r\n }", "void logTiMessages(final String msg);", "@Override\n\tpublic void trace(Marker marker, Supplier<?> msgSupplier, Throwable t) {\n\n\t}", "public static void trace(AndesMessage message, String content) {\n trace(message.getMetadata().getMessageID(), message.getMetadata().getDestination(), content);\n }", "@Override\n\tpublic void trace(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8) {\n\n\t}", "synchronized void trace(String msg) {\n articleTextArea.append(msg);\n articleTextArea.append(\"\\n\");\n }", "@Override\n\tpublic void trace(MessageSupplier msgSupplier, Throwable t) {\n\n\t}", "@Override\n\tpublic void trace(Marker marker, Supplier<?> msgSupplier) {\n\n\t}", "public final void mTRACE() throws RecognitionException {\r\n try {\r\n int _type = TRACE;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // Satmc.g:22:7: ( 'TRACE:' )\r\n // Satmc.g:22:9: 'TRACE:'\r\n {\r\n match(\"TRACE:\"); \r\n\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n }", "public static void trace(String className, String arg0) {\n MDC.put(classNameProp, className);\n debugLogger.trace(MessageCodes.GENERAL_INFO, arg0);\n }", "public static void trace(long messageId, String destination, String content) {\n if (log.isTraceEnabled()) {\n\t StringBuilder messageContent = new StringBuilder();\n\t messageContent.append(\"Message { Destination: \");\n\t messageContent.append(destination);\n if (messageId > 0) { // Check if andes message id is assigned, else ignore\n messageContent.append(\" , Id: \");\n\t messageContent.append(messageId);\n }\n messageContent.append(\" } \");\n\t messageContent.append(content);\n log.trace(messageContent.toString());\n }\n }", "void dumpTraceLine(String s)\n\t{\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(\"[trace] \"); //$NON-NLS-1$\n\t\tsb.append(s);\n\t\tout(sb.toString());\n\t}", "public void traceDebug(String tag, String message) {\n\t\tmakeTraceCallback(Status.OK, tag + \" \" + message, -1, \"debug\");\n\t}", "void log(Message message);", "public static void trace(Object arg0) {\n\n MDC.put(classNameProp, \"\");\n debugLogger.trace(\"{}\", arg0);\n }", "public abstract void logTraceTime(File file, String description);", "public void log(String message) {\n\t}", "public static void logTrace(Logger logger, ServerWebExchange exchange, String msg, Object... args) {\n\n if (!logger.isTraceEnabled())\n return;\n\n if (exchange == null) {\n logger.trace(msg, args);\n } else {\n\n String context = exchange.getAttribute(TRACE_ID_CONTEXT_KEY);\n try (MDC.MDCCloseable cMdc = MDC.putCloseable(TRACE_ID_CONTEXT_KEY, context)) {\n logger.trace(msg, args);\n }\n }\n }", "public void trace(int node) {\n\t\tsendMessage(\"/n_trace\", new Object[] { node });\n\t}", "@Override\n\tpublic void trace(String message, Supplier<?>... paramSuppliers) {\n\n\t}", "public abstract void logTraceTime();", "@Test\n\tpublic final void testWriteTrace() {\n\t\tLog.trace(\"This is a call to Log.Trace with no arguments\");\n\t\tLog.trace(\"This is a call to Log.Trace with two arguments #1:%s, #2:%s\", 1, 2);\n\n\t\tLog.write(LogMessageSeverity.INFORMATION, \"Unit Tests\", null, \"This is a call to Log.Write with no arguments\");\n\t\tLog.write(LogMessageSeverity.INFORMATION, \"Unit Tests\", null,\n\t\t\t\t\"This is a call to Log.Write with two arguments #1:%s, #2:%s\", 1, 2);\n\n\t\tRuntimeException exception = new GibraltarException(\"This is a dummy exception to test API calls.\");\n\n\t\tLog.trace(exception, \"This is a call to Log.Trace with an exception and no arguments\");\n\t\tLog.trace(exception, \"This is a call to Log.Trace with an exception and two arguments #1:%s, #2:%s\", 1, 2);\n\n\t\tLog.write(LogMessageSeverity.WARNING, LogWriteMode.QUEUED, exception, \"Unit Tests\", null,\n\t\t\t\t\"This is a call to Log.Write with an exception and no arguments\");\n\t\tLog.write(LogMessageSeverity.WARNING, LogWriteMode.QUEUED, exception, \"Unit Tests\", null,\n\t\t\t\t\"This is a call to Log.Write with an exception and two arguments #1:%s, #2:%s\", 1, 2);\n\n\t\tLog.write(LogMessageSeverity.VERBOSE, \"Unit Tests\",\n\t\t\t\t\"This is a call to Log.Write with a caption and null description\", null);\n\t\tLog.write(LogMessageSeverity.VERBOSE, \"Unit Tests\",\n\t\t\t\t\"This is a call to Log.Write with a caption and description\", \"with no formatting arguments\");\n\t\tLog.write(LogMessageSeverity.VERBOSE, \"Unit Tests\",\n\t\t\t\t\"This is a call to Log.Write with a caption and description\",\n\t\t\t\t\"formatted with two arguments #1:%s, #2:%s\", 1, 2);\n\n\t\tLog.write(LogMessageSeverity.INFORMATION, LogWriteMode.WAIT_FOR_COMMIT, null, \"Unit Tests\",\n\t\t\t\t\"This is a call to Log.Write with WaitForCommit and null exception and with a caption and null description\",\n\t\t\t\tnull);\n\t}", "private static void printTrace(Integer runId, String traceString ) throws java.io.FileNotFoundException,UnsupportedEncodingException{\n\n\t\t// writing the trace report\n\t\t// <inputFilename>_<method>_<cutoff>_<runID>*.sol\n\t\tString fileName = String.format(\"%s_%s_%.0f\",Project.name,Project.method,Project.cutoffTimeSeconds);\n\n\t\tif ( runId != -1 ){\n\t\t\tfileName = fileName +\"_\"+runId+\".trace\";\n\t\t} else {\n\t\t\tfileName = fileName +\".trace\";\n\t\t}\n\n\t\tPrintWriter repWriter = new PrintWriter(fileName, \"UTF-8\");\n\n\t\trepWriter.printf(\"%s\\n\",traceString);\n\n\t repWriter.close();\n\n\t}", "@Override\n\tpublic void trace(Marker marker, String message, Supplier<?>... paramSuppliers) {\n\n\t}", "@Override\n\tpublic void trace(Supplier<?> msgSupplier, Throwable t) {\n\n\t}", "public void log (Object msg) {\n getLogEvent().addMessage (msg);\n }", "@Override\n\tpublic void trace(Supplier<?> msgSupplier) {\n\n\t}", "public abstract int trace();", "void log(String source, String line);", "public void log(String text) {\n }", "public static LogType TRACE()\n {\n if (g_oTrace == null)\n {\n try\n {\n g_oTrace = new LogType(\"TRACE\", 40);\n }\n catch (Goliath.Exceptions.InvalidParameterException ex)\n {}\n }\n return g_oTrace;\n }", "void notifyTrace(RecorderTraceEvent event);", "public void log(String txt);", "public void log(String msg) {\n\n\t}", "public void log(Marker level, String... message);", "public void setTraceId(String traceId) {\n\n this.traceId = traceId;\n\n }", "public static void main(String []args) {\n\t\tlog.trace(\"111---\");\n\t\tlog.debug(\"2222\");\n\t\tlog.info(\"333\");\n\t\tlog.warn(\"444\");\n\t\tlog.error(\"555\");\n\t}", "public void audit( String message )\n {\n _getAuditLogger().info( ILogger.EVENT_CODE.TRANSACTION, message );\n }", "@Override\n public void log(String message) {\n }", "public void log(String message) {\n log(message, MSG_INFO);\n }" ]
[ "0.7979523", "0.7979523", "0.7668938", "0.7466041", "0.72826564", "0.72448176", "0.7210092", "0.7199515", "0.717623", "0.7117515", "0.7077223", "0.7065174", "0.70197904", "0.6987777", "0.69804937", "0.69574696", "0.6924459", "0.6919893", "0.68427795", "0.6832238", "0.68019456", "0.67822504", "0.67556196", "0.6743288", "0.6737066", "0.67285544", "0.67270565", "0.67182", "0.66714567", "0.66669065", "0.66644275", "0.6636276", "0.66152906", "0.65665394", "0.6564477", "0.6556952", "0.6548156", "0.65445274", "0.6536949", "0.6514804", "0.6503468", "0.6478454", "0.64442575", "0.64284205", "0.6350008", "0.6333991", "0.6332336", "0.6330954", "0.62976736", "0.6267108", "0.62491107", "0.62478817", "0.6205181", "0.6172526", "0.61296535", "0.61223346", "0.60871917", "0.60820895", "0.6076945", "0.60653794", "0.6027855", "0.60167235", "0.5987084", "0.5981695", "0.5964303", "0.5928509", "0.59171593", "0.5908939", "0.5893024", "0.5891567", "0.5876406", "0.5847955", "0.58419967", "0.58183664", "0.5803033", "0.579621", "0.57586443", "0.57210886", "0.5702645", "0.57014793", "0.5681817", "0.56734765", "0.5628229", "0.56207335", "0.56015325", "0.5589222", "0.5573498", "0.5553057", "0.5529921", "0.5528062", "0.5522935", "0.5499567", "0.5494035", "0.5489194", "0.5484863", "0.54766506", "0.5433898", "0.54223645", "0.5399796", "0.5392955" ]
0.6876459
18
Get status of info messages logging in this logger.
public boolean isInfoEnabled();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean logInfo()\r\n {\r\n return infoLevelHandler.getBoolean();\r\n }", "public String getStatusInfoDetails() {\r\n return statusInfoDetails;\r\n }", "public StatusLogger getStatusLogger();", "public boolean isInfoLoggable() {\n return logger.isLoggable(Level.INFO);\n }", "public void printMessagesAsInfo() {\n logger.info(Thread.currentThread().getStackTrace()[1].getMethodName());\n if(messages != null) {\n for (String message : messages) {\n logger.debug(message);\n }\n }\n }", "@Override\n public UserMessage getInfo() {\n IndexationJob job = currentIndexationJob.get();\n if (job != null) {\n Localizable message = new LocalizableMessage(\n \"subversion.indexation.message\",\n job.isRunning() ? new LocalizableMessage(\"subversion.indexation.running\") : new LocalizableMessage(\"subversion.indexation.pending\"),\n job.getMin(), job.getMax(),\n job.getCurrent(),\n job.getProgress());\n return UserMessage.info(message);\n } else {\n return null;\n }\n }", "public static boolean isInfoEnabled() {\n\n return debugLogger.isInfoEnabled();\n }", "public boolean isInfoLoggingOn() {\n return verbose || !quiet;\n }", "public String getInfo() {\n return this.info;\n }", "public static void logStatus(){\r\n\t\tLogger log = Logger.getLogger(LOGGER_NAME);\r\n\t\tStringBuilder logString = new StringBuilder(\"\\n*** PlugIn Status ***\\n\");\r\n\t\t\r\n\t\tList<String> storagePlugins = getPluginsByType(PluginType.STORAGE);\r\n\t\tlogString.append(\"Storage PlugIns: \"+storagePlugins.size()+\"\\n\");\r\n\t\t\r\n\t\tlog.info(logString.toString());\r\n\t\treturn;\r\n\t}", "public final boolean isInformationOn()\n {\n return this.getPropertyValue(GUILoggerSeverityProperty.INFORMATION);\n }", "public String getInfo() {\n return info;\n }", "public boolean isInfoEnabled()\n/* */ {\n/* 274 */ return getLogger().isInfoEnabled();\n/* */ }", "public int getInfo()\r\n\t{\r\n\t\treturn info;\r\n\t}", "public String getInfo()\n {\n return info;\n }", "public static boolean isInfoEnabled1() {\n\n return debugLogger.isInfoEnabled();\n }", "public int getInfo ()\n\t\t{\n\t\t\treturn info;\n\t\t}", "public com.google.protobuf.ByteString getStatus() {\n return instance.getStatus();\n }", "String getStatusMessage();", "public ImmutableList<String> getInfoMessages() {\n return Lists.immutable.ofAll(infoMessages);\n }", "@Override\n public String toString() {\n return String.format(CoreLogger.getLocale(), FORMAT_INFO, getId(), mLogDescription);\n }", "com.polytech.spik.protocol.SpikMessages.Status getStatus();", "com.polytech.spik.protocol.SpikMessages.Status getStatus();", "public String getStatus () {\r\n return status;\r\n }", "default String info(String... args) {\n String message = create(args);\n getLogger().info(message);\n return message;\n }", "String status();", "String status();", "@Override\n public String getInfo() {\n return this.info;\n }", "public String getStatus() {\n return status.toString();\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 abstract String getStatusMessage();", "private Integer getStatus(Map<String, Object> info) {\n return 200;\n }", "public synchronized String getStatus(){\n\t\treturn status;\n\t}", "public String getStatusMessage() {\n\t\treturn statusMessage.getText();\n\t}", "public String getStatus() {\r\n return status;\r\n }", "public String getStatus() {\r\n return status;\r\n }", "public messages.Statusmessage.StatusMessage getStatus() {\n return status_;\n }", "public String getStatus() { return status; }", "String getStatusMessage( );", "public Map<String, Serializable> 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() {\n return status;\n }", "public static LoggingInfo.LogsStatus GetClientLoggingInfo(LoggingInfo.LoggingType type) {\n synchronized (_clientLogginInfo) {\n return _clientLogginInfo.GetStatus(type);\n }\n }", "public String getStatus() {\n return status;\n }", "public String getStatus(){\r\n\t\treturn status;\r\n\t}", "public Integer getMessageStatus() {\n return messageStatus;\n }", "public String getStatus() {\n return mBundle.getString(KEY_STATUS);\n }", "private String getTstatStatusMessage() {\n\n String thStatusMsg = null;\n WebElement modeDialog = getElement(getDriver(), By.cssSelector(MODEL_DIALOG), TINY_TIMEOUT);\n if (modeDialog.isDisplayed()) {\n WebElement modeMessage = getElementBySubElement(getDriver(), modeDialog,\n By.className(ERROR_MODEBOX), TINY_TIMEOUT);\n thStatusMsg = getElementBySubElement(getDriver(), modeMessage,\n By.className(MODEL_LABEL), TINY_TIMEOUT).getText();\n setLogString(\"Location status message:\" + thStatusMsg, true, CustomLogLevel.HIGH);\n }\n return thStatusMsg;\n }", "public String getStatus() {\n\t\tString result = getName() + \"\\n-----------------------------\\n\\n\";\n\t\tfor(int i = 0; i < lines.size(); i++) {\n\t\t\tresult = result + lines.get(i).getStatus() + \"\\n\";\n\t\t}\n\t\t\n\t\treturn result;\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() {\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 {\n\n return status;\n }", "public java.lang.String getStatus() {\r\n return status;\r\n }", "public Integer getStatus() {\r\n return status;\r\n }", "public Integer getStatus() {\r\n return status;\r\n }", "public java.lang.String getStatus() {\n return status;\n }", "public java.lang.String getStatus() {\n return status;\n }", "public Integer getStatus() {\n return status;\n }", "public Integer getStatus() {\n return status;\n }", "public Integer getStatus() {\n return status;\n }", "public Integer getStatus() {\n return status;\n }", "public Integer getStatus() {\n return status;\n }", "public Integer getStatus() {\n return status;\n }", "public Integer getStatus() {\n return status;\n }" ]
[ "0.6931155", "0.64609116", "0.6435914", "0.6404514", "0.62208426", "0.6210232", "0.6089287", "0.6044886", "0.6018952", "0.6017917", "0.59893703", "0.5908121", "0.58891463", "0.58755666", "0.58486706", "0.5838971", "0.5826278", "0.58221084", "0.5806671", "0.58037794", "0.5793845", "0.578666", "0.578666", "0.577754", "0.57705474", "0.57531637", "0.57531637", "0.5745756", "0.5736801", "0.57251877", "0.57251877", "0.57251877", "0.57251877", "0.57251877", "0.5717893", "0.5716008", "0.5704161", "0.5703448", "0.5701914", "0.5701914", "0.5701247", "0.5683421", "0.5681661", "0.56796974", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.5673742", "0.56726056", "0.5672124", "0.5671029", "0.56614333", "0.5656751", "0.56553", "0.56454027", "0.56333834", "0.56333834", "0.56333834", "0.56262296", "0.56262296", "0.56262296", "0.56262296", "0.56262296", "0.56249434", "0.5619758", "0.56182134", "0.56182134", "0.5608239", "0.5608239", "0.5595002", "0.5595002", "0.5595002", "0.5595002", "0.5595002", "0.5595002", "0.5595002" ]
0.0
-1
Get status of debug messages logging in this logger.
public boolean isDebugEnabled();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean getDebugStatus() {\r\n return DEBUG;\r\n }", "public final DebugLogger Debug() {\n return system.Debug();\n }", "public final boolean isDebugOn()\n {\n return this.getPropertyValue(GUILoggerSeverityProperty.DEBUG);\n }", "public boolean getDebug() {\n return debug;\n }", "public boolean getDebug() {\n return debug;\n }", "public StatusLogger getStatusLogger();", "public boolean getDebug() {\n return this.debug;\n }", "public boolean getDebug() {\n return this.debug;\n }", "public static boolean isDebugEnabled() {\n\n return debugLogger.isDebugEnabled();\n }", "public static LogType DEBUG()\n {\n if (g_oDebug == null)\n {\n try\n {\n g_oDebug = new LogType(\"DEBUG\", 50);\n }\n catch (Goliath.Exceptions.InvalidParameterException ex)\n {}\n }\n return g_oDebug;\n }", "public String getDeliverLogsStatus() {\n return this.deliverLogsStatus;\n }", "public boolean isDebugged() {\r\n\t\treturn debugged;\r\n\t}", "public boolean isDebugEnabled() {\n return debugEnabled;\n }", "public boolean isDebug() {\n\t\treturn debug;\n\t}", "public boolean isDebug() {\n\t\treturn debug;\n\t}", "@Override\n public boolean isDebugEnabled() {\n return innerLog.isDebugEnabled();\n }", "public boolean isDebug() {\n\t\treturn _debug;\n\t}", "public boolean isDebugEnabled() {\n return getFormat().getConverterService().isDebugEnabled();\n }", "public void logDebug()\n\t{\n\t\tLogHandler handlerList[];\n\t\tLogHandler handler = null;\n\n\t\tSystem.out.println(\"Logger = \"+logger);\n\t\tSystem.out.println(\"Logger log level is: \"+logger.getLogLevel());\n\t\tSystem.out.println(\"Logger log filter is: \"+logger.getFilter());\n\t\thandlerList = logger.getHandlers();\n\t\tfor(int i = 0; i < handlerList.length; i++)\n\t\t{\n\t\t\thandler = handlerList[i];\n\t\t\tSystem.out.println(\"Logger handler \"+i+\" is:\"+handler+\" and called \"+handler.getName());\n\t\t\tSystem.out.println(\"Logger handler \"+i+\" has filter:\"+handler.getFilter());\n\t\t\tSystem.out.println(\"Logger handler \"+i+\" has log level:\"+handler.getLogLevel());\n\t\t}\n\t}", "public String debugInformation()\n\t\t{\n\t\t\treturn debugInformation;\n\t\t}", "public boolean isDebugEnabled()\n/* */ {\n/* 250 */ return getLogger().isDebugEnabled();\n/* */ }", "public int getDebugValue() {\n return debugVal;\n }", "public boolean isDebug()\n\t{\n\t\treturn this.debug;\n\t}", "boolean isDebugEnabled();", "private final Log getLogDev() {\r\n return this.logDev;\r\n }", "public boolean getDebugMode() { return debugMode; }", "public final void setDebug() {\r\n setLevel(org.apache.log4j.Level.DEBUG);\r\n }", "public String getFlowLogStatus() {\n return this.flowLogStatus;\n }", "public boolean isDebug( ) {\n\t\treturn debug;\n\t}", "@Override\n\tpublic boolean isDebugEnabled() {\n\t\treturn debugEnabled;\n\t}", "public static boolean debugging()\n {\n return info;\n }", "public static boolean isLogEnabled() {\n return mLogEnabled;\n }", "public boolean isDebug();", "public boolean getDebugMode()\n {\n return debugMode;\n }", "public boolean isDebugMode() {\n return debugMode;\n }", "static public Logger.LEVEL getLogLevel() {\n final Future<Logger.LEVEL> task = ThreadPoolWorkQueue.submit(new Callable<Logger.LEVEL>() {\n @Override public Logger.LEVEL call() {\n return getLevelSync();\n }\n });\n\n try {\n return task.get();\n }\n catch (Exception e) {\n return getLevelSync();\n }\n }", "public String getDebugInfo() {\n\t\treturn concourseClient.getDebugInfo() + \"\\n\\n\" + \"Monitored builds: \" + StringUtils.join(monitoredBuilds, \", \");\n\t}", "public static Log getLoggerDev() {\r\n Log l = null;\r\n if (isRunning()) {\r\n l = getInstance().getLogDev();\r\n }\r\n return l;\r\n }", "public boolean isLogging();", "boolean isDebug();", "boolean isDebug();", "@Override\n public boolean isLoggable(int priority, String tag) {\n return BuildConfig.DEBUG;\n }", "public boolean logErrors()\r\n {\r\n return errorLevelHandler.getBoolean();\r\n }", "public String getLogLvlCd() {\n if (null == logLvlCd) {\n logLvlCd = \"ERROR\" ;\n } \n return logLvlCd;\n }", "public int get_log_level() {\r\n return logLevel;\r\n }", "protected final boolean hasDebug() {\n return m_debug;\n }", "public IRubyObject getDebug() {\n return debug ? trueObject : falseObject;\n }", "public IRubyObject getDebug() {\n return debug ? trueObject : falseObject;\n }", "public void debug(String msg);", "public static boolean debugOn()\r\n {\r\n on = true;\r\n System.out.println(\"Debug Mode On\");\r\n return on;\r\n }", "public void debug(String message);", "public Boolean getLogged() {\n\t\treturn logged.get();\n\t}", "public static boolean canShowDebugMessage() {\r\n\t\treturn showDebugMessage;\r\n\t}", "public Integer getMessageStatus() {\n return messageStatus;\n }", "public int getLogLevel() {\n return logLevel;\n }", "public String getLogDetails() {\r\n return logDetails;\r\n }", "public boolean logging() {\n\treturn logging;\n }", "@Override\n\tpublic void debug(Message msg) {\n\n\t}", "public String getStatus() throws LRException\n\t{\n\t\tgetBackground();\n\t\treturn background.getStatus();\n\t}", "static public boolean isLogging()\n {\n return GetInstance().m_bLog;\n }", "public static void logStatus(){\r\n\t\tLogger log = Logger.getLogger(LOGGER_NAME);\r\n\t\tStringBuilder logString = new StringBuilder(\"\\n*** PlugIn Status ***\\n\");\r\n\t\t\r\n\t\tList<String> storagePlugins = getPluginsByType(PluginType.STORAGE);\r\n\t\tlogString.append(\"Storage PlugIns: \"+storagePlugins.size()+\"\\n\");\r\n\t\t\r\n\t\tlog.info(logString.toString());\r\n\t\treturn;\r\n\t}", "public boolean isShowLogging() {\n return showLogging;\n }", "public boolean getStatus() {\n return status_;\n }", "public boolean getStatus() {\n return status_;\n }", "public boolean getStatus() {\n return status_;\n }", "public String getLog();", "static boolean debug(Configuration conf) {\n return conf.getBoolean(DEBUG_FLAG, false);\n }", "public String getLogDetails() {\n return logDetails;\n }", "public boolean getStatus() {\n return status_;\n }", "public boolean getStatus() {\n return status_;\n }", "public boolean getStatus() {\n return status_;\n }", "public void print_DEBUG() {\n\t\tSystem.out.println(\"Direction\");\n\t\tSystem.out.println(\"ID: \" + ID);\n\t\tSystem.out.println(\"FROM: \" + from.name() );\n\t\tSystem.out.println(\"TO: \" + to.name() );\n\t\tSystem.out.println(\"dir: \" + dir);\n\t\tSystem.out.println(\"Locked: \" + locked);\n\t\tSystem.out.println(\"LockPattern: \" + lockPattern);\n\t}", "public String getStatus () {\r\n return status;\r\n }", "public void logDebugData() {\n SmartDashboard.putNumber(\"Ele Pos\", getPosition());\n SmartDashboard.putBoolean(\"Ele Switch\", bottomSwitchValue());\n SmartDashboard.putNumber(\"Ele Current\", getCurrent());\n SmartDashboard.putNumber(\"Ele Out %\", elevatorSpark.getAppliedOutput());\n }", "@Override\n public Level getLevel() {\n return privateConfig.loggerConfigLevel;\n }", "public static int getLevel(){\n\treturn logLevel;\n }", "public boolean logInfo()\r\n {\r\n return infoLevelHandler.getBoolean();\r\n }", "protected boolean isDebugging() {\n\t\treturn debugging;\n\t}", "public static LogLevel getLevel(){\n return EZLoggerManager.lvl;\n }", "public String getStatus() {\n return status;\n }", "public String getDssStatus() {\r\n return (String) getAttributeInternal(DSSSTATUS);\r\n }", "public static boolean isAuditEnabled() {\n\n return debugLogger.isInfoEnabled();\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 }", "private void getloggersStatus() { \n\t\tAppClientFactory.getInjector().getSearchService().isClientSideLoggersEnabled(new SimpleAsyncCallback<String>() {\n\n\t\t\t@Override\n\t\t\tpublic void onSuccess(String result) {\n\t\t\t\tAppClientFactory.setClientLoggersEnabled(result);\n\t\t\t}\n\t\t\t\n\t\t});\n\t}", "public String getStatus() {\r\n return status;\r\n }", "public String getStatus() {\r\n return status;\r\n }", "@Input\n public boolean isDebuggable() {\n return debug;\n }", "public java.lang.String getStatusMessage() {\r\n return statusMessage;\r\n }", "protected String getDebugParameter() {\n return debug ? \"/debug\" : null;\n }", "public String getStatus() {\n return status;\n }", "public String getStatus() {\n return status;\n }", "public String getStatus() {\n return status;\n }", "public boolean isDisplayDebug() {\n return displayDebug;\n }", "public String getStatus() {\n return status;\n }", "public String getStatus() {\n return status;\n }", "public String getStatus() {\n return status;\n }" ]
[ "0.7213785", "0.6957903", "0.6670937", "0.6255996", "0.6255996", "0.6223465", "0.61763316", "0.61763316", "0.61257803", "0.60268366", "0.5981848", "0.59633", "0.59004146", "0.5891663", "0.5891663", "0.58771753", "0.5846837", "0.5840157", "0.58297044", "0.58093965", "0.5784765", "0.57782906", "0.5767453", "0.57630074", "0.5740386", "0.57266855", "0.5721368", "0.5720213", "0.5718964", "0.57021827", "0.568755", "0.568269", "0.56823856", "0.5640789", "0.5640164", "0.56061846", "0.5587513", "0.5527934", "0.55262375", "0.55081385", "0.55081385", "0.5490849", "0.54867995", "0.5483371", "0.5480399", "0.5435945", "0.5435102", "0.5435102", "0.54324025", "0.5420797", "0.53869027", "0.53428584", "0.5326419", "0.5313564", "0.53045785", "0.53027135", "0.5276761", "0.5254618", "0.5250233", "0.52485144", "0.5245235", "0.5235857", "0.52355796", "0.52355796", "0.52355796", "0.5234223", "0.52295834", "0.5228284", "0.52098644", "0.52098644", "0.52098644", "0.5197532", "0.519698", "0.51867336", "0.5182089", "0.5182069", "0.5180541", "0.517491", "0.5165166", "0.5159034", "0.5158606", "0.51574564", "0.5154478", "0.5154478", "0.5154478", "0.5154478", "0.5154478", "0.5154306", "0.51511514", "0.51511514", "0.51465404", "0.5141535", "0.5137615", "0.513619", "0.513619", "0.513619", "0.5133116", "0.5122605", "0.5122605", "0.5122605" ]
0.5766103
23
Get status of trace messages logging in this logger.
public boolean isTraceEnabled();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getStatusOfTrace(String traceId) {\n //First, check if the trace exist in the trace_status index\n QueryBuilder qb = QueryBuilders.termQuery(\"traceId\", traceId);\n SearchResponse response = client.prepareSearch(Const.TRACE_STATUS_INDEX)\n .setTypes(Const.TRACE_STATUS_TYPE)\n .setQuery(qb)\n .get();\n\n SearchHit[] hits = response.getHits().getHits();\n Map<String, Object> map;\n\n if (hits.length > 0) {\n map = hits[0].getSourceAsMap();\n if (map.get(\"status\") != null)\n return map.get(\"status\").toString();\n }\n\n //If not exists, then check the log to determine the status\n qb = QueryBuilders.termQuery(\"TraceId\", traceId);\n\n SearchResponse scrollResp = client.prepareSearch(Const.LOGSTASH_LOG_INDEX).setTypes(Const.LOGSTASH_LOG_TYPE)\n .setScroll(new TimeValue(60000))\n .setQuery(qb)\n .setSize(100).get(); //max of 100 hits will be returned for each scroll\n\n while (scrollResp.getHits().getHits().length != 0) { // Zero hits mark the end of the scroll and the while loop\n hits = scrollResp.getHits().getHits();\n for (SearchHit hit : hits) {\n //Handle the hit\n map = hit.getSourceAsMap();\n if (map.get(\"log\") != null) {\n String log = map.get(\"log\").toString();\n if (log.contains(\"ExceptionMessage\"))\n return \"false\";\n }\n }\n scrollResp = client.prepareSearchScroll(scrollResp.getScrollId()).setScroll(new TimeValue(60000)).execute().actionGet();\n }\n return \"true\";\n }", "public String getTrace() {\n return trace;\n }", "public void traceStatus() {\n logger.trace(\"jvmThread: {}, jvmMethod: {}\", jvmThread, jvmMethod);\n logger.trace(\"localVariables: {}\", localVariables);\n logger.trace(\"operandStacks: {}\", operandStacks);\n }", "public int getTracing() {\n if (Trace.getMask() == Trace.MASK_NONE)\n return 0;\n else\n return 1;\n }", "public static int getTraceLevel() {\n return outLevel;\n }", "public abstract long getTrace();", "@Override\n public String getTrace() {\n return trace;\n }", "public String getTrace() throws RemoteException;", "public List<TraceStatus> getExistedTraceStatus() {\n List<TraceStatus> res = new ArrayList<>();\n\n QueryBuilder qb = QueryBuilders.matchAllQuery();\n\n SearchResponse scrollResp = client.prepareSearch(Const.TRACE_STATUS_INDEX).setTypes(Const.TRACE_STATUS_TYPE)\n .setScroll(new TimeValue(60000))\n .setQuery(qb)\n .setSize(100).get(); //max of 100 hits will be returned for each scroll\n //Scroll until no hits are returned\n SearchHit[] hits;\n Map<String, Object> map;\n\n while (scrollResp.getHits().getHits().length != 0) { // Zero hits mark the end of the scroll and the while loop\n hits = scrollResp.getHits().getHits();\n for (SearchHit hit : hits) {\n map = hit.getSourceAsMap();\n if (map.get(\"traceId\") != null && map.get(\"status\") != null) {\n TraceStatus traceStatus = new TraceStatus();\n traceStatus.setTraceId(map.get(\"traceId\").toString());\n traceStatus.setStatus(map.get(\"status\").toString());\n }\n }\n }\n\n return res;\n }", "public StatusLogger getStatusLogger();", "Object getTrace();", "public long getTraceTag() {\n return traceTag_;\n }", "public long getTraceTag() {\n return traceTag_;\n }", "public static boolean isTrace() {\n return getInstance().trace;\n }", "public TraceFormatting getTraceFormatting() {\n return traces;\n }", "public int getTraceID(){\r\n\t\treturn this.traceID;\r\n\t}", "public String getFlowLogStatus() {\n return this.flowLogStatus;\n }", "public String getStatus() throws LRException\n\t{\n\t\tgetBackground();\n\t\treturn background.getStatus();\n\t}", "public String getTraceId() {\n return traceId;\n }", "public static LogType TRACE()\n {\n if (g_oTrace == null)\n {\n try\n {\n g_oTrace = new LogType(\"TRACE\", 40);\n }\n catch (Goliath.Exceptions.InvalidParameterException ex)\n {}\n }\n return g_oTrace;\n }", "public String getTraceInformation() {\n\t\treturn (traceInformation);\n\t}", "String getCurrentTrace(Channel channel);", "public TraceInformation getTraceInformation() {\n\t\treturn this.traceInformation;\n\t}", "long getTraceTag();", "com.polytech.spik.protocol.SpikMessages.Status getStatus();", "com.polytech.spik.protocol.SpikMessages.Status getStatus();", "public static boolean isEnabled() {\n return log.isTraceEnabled();\n }", "public long getTraceId() {\n\t\treturn this.traceInformation.getTraceId();\n\t}", "public String getStatusLine() {\r\n\t\t\r\n\t\treturn statusLine;\r\n\t\r\n\t}", "public Map<String, String> getTraceContext() {\n if (this.tracing == null) {\n DDLogger.getLoggerImpl().debug(\"No tracing context; unable to get Trace ID\");\n return null;\n }\n return this.tracing.getLogCorrelationTraceAndSpanIDsMap();\n }", "public com.polytech.spik.protocol.SpikMessages.Status getStatus() {\n return status_;\n }", "public com.polytech.spik.protocol.SpikMessages.Status getStatus() {\n return status_;\n }", "public com.polytech.spik.protocol.SpikMessages.Status getStatus() {\n return status_;\n }", "public com.polytech.spik.protocol.SpikMessages.Status getStatus() {\n return status_;\n }", "public List<Trace> getTraces() {\n if (!isLoaded()) {\n throw new IllegalStateException(\"Error: The module is not loaded\");\n }\n\n return new ArrayList<Trace>(m_traces);\n }", "public Integer getMessageStatus() {\n return messageStatus;\n }", "StatusLine getStatusLine();", "private String getTstatStatusMessage() {\n\n String thStatusMsg = null;\n WebElement modeDialog = getElement(getDriver(), By.cssSelector(MODEL_DIALOG), TINY_TIMEOUT);\n if (modeDialog.isDisplayed()) {\n WebElement modeMessage = getElementBySubElement(getDriver(), modeDialog,\n By.className(ERROR_MODEBOX), TINY_TIMEOUT);\n thStatusMsg = getElementBySubElement(getDriver(), modeMessage,\n By.className(MODEL_LABEL), TINY_TIMEOUT).getText();\n setLogString(\"Location status message:\" + thStatusMsg, true, CustomLogLevel.HIGH);\n }\n return thStatusMsg;\n }", "@Override\n\tpublic ITrace getCurrentTrace() {\n\t\treturn tracePerThread.get();\n\t}", "String getTransactionStatus();", "public boolean isTracing();", "static public Logger.LEVEL getLogLevel() {\n final Future<Logger.LEVEL> task = ThreadPoolWorkQueue.submit(new Callable<Logger.LEVEL>() {\n @Override public Logger.LEVEL call() {\n return getLevelSync();\n }\n });\n\n try {\n return task.get();\n }\n catch (Exception e) {\n return getLevelSync();\n }\n }", "public String getStatusLine() {\n\n StringBuilder builder = new StringBuilder(SL_11_START.length() + 4 + message.length());\n builder.append(SL_11_START).append(code).append(' ').append(message);\n return builder.toString();\n }", "java.lang.String getStatus();", "java.lang.String getStatus();", "java.lang.String getStatus();", "java.lang.String getStatus();", "public TradeStatus getStatus() {\n return status;\n }", "public String getStatus() {\n\t\tString result = getName() + \"\\n-----------------------------\\n\\n\";\n\t\tfor(int i = 0; i < lines.size(); i++) {\n\t\t\tresult = result + lines.get(i).getStatus() + \"\\n\";\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "public long getStatus() {\r\n return status;\r\n }", "public String getStatusText() {\n return statusLine.getReasonPhrase();\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 boolean isTraceEnabled()\n/* */ {\n/* 282 */ return getLogger().isDebugEnabled();\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 Recording.Status getStatus() {\n\t\treturn status;\n\t}", "String getSeverity();", "public int getStatus ()\n {\n return status;\n }", "public int getStatus ()\n {\n return status;\n }", "@NotNull\n GenerationTrace getTrace();", "String status();", "String status();", "public abstract int trace();", "String getStatusMessage();", "public String getLogLevel() {\n return agentConfig.getLogLevel();\n }", "public Integer getRecordStatus() {\n return recordStatus;\n }", "public Integer getRecordStatus() {\n return recordStatus;\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 String getDeliverLogsStatus() {\n return this.deliverLogsStatus;\n }", "public int getStatus()\n {\n return status;\n }", "public messages.Statusmessage.StatusMessage getStatus() {\n return status_;\n }", "protected String status() {\n if (!hasStarted() && !hasRun()) {\n return \" not run yet\";\n } else if (hasStarted() && !hasRun()) {\n return \" failed to run\";\n } else if (!hasStarted() && hasRun()) {\n return \" ILLEGAL STATE\";\n } else if (exceptionThrown == null) {\n return \" returned: \" + StringsPlume.toStringAndClass(retval);\n } else {\n return \" threw: \" + exceptionThrown;\n }\n }", "public String getStatus() {\n return status.toString();\n }", "public StatusLine getStatusLine() {\n return statusLine;\n }", "public Integer getTradeStatus() {\r\n return tradeStatus;\r\n }", "public com.google.protobuf.ByteString getStatus() {\n return instance.getStatus();\n }", "String getStatusMessage( );", "public String getStatusDetails() { return statusDetails; }", "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 }" ]
[ "0.659209", "0.64424455", "0.6322273", "0.6218757", "0.61957383", "0.6133402", "0.6117456", "0.607296", "0.59906113", "0.5925965", "0.5879257", "0.58205426", "0.57998544", "0.5788233", "0.57785803", "0.57777536", "0.5774808", "0.5773299", "0.5768732", "0.5738256", "0.57367384", "0.56733847", "0.5643697", "0.5618797", "0.56026345", "0.56026345", "0.55880225", "0.5557159", "0.55143964", "0.550941", "0.5506958", "0.5506958", "0.5496956", "0.5496956", "0.5467063", "0.54349357", "0.54114586", "0.5406939", "0.53979284", "0.5366357", "0.53641796", "0.5363078", "0.5352451", "0.5315003", "0.5315003", "0.5315003", "0.5315003", "0.53021437", "0.52850664", "0.52679384", "0.5266028", "0.52630174", "0.52630174", "0.52630174", "0.52630174", "0.52630174", "0.52630174", "0.52630174", "0.52630174", "0.52630174", "0.5256325", "0.5254595", "0.5254595", "0.5254595", "0.5254595", "0.5254595", "0.5254595", "0.5254595", "0.5254595", "0.5254595", "0.5236432", "0.52352923", "0.523337", "0.523337", "0.52259713", "0.52049184", "0.52049184", "0.51998216", "0.51983917", "0.5197341", "0.51966393", "0.51966393", "0.5196538", "0.5196538", "0.5196538", "0.5196538", "0.5196538", "0.5182684", "0.5174153", "0.5173583", "0.5167479", "0.51674664", "0.5155517", "0.515551", "0.5151075", "0.51499337", "0.514709", "0.51445633", "0.51439065", "0.51439065" ]
0.59476805
9
TODO Autogenerated method stub
@Override public String toString() { return staffType; }
{ "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